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

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

189.swf

This is the info page for
Flash #11398

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


Text
[LOADING]

[PLAY]

[PLAY]

[PLAY]

MADE FOR THE ARMOR
GAMES COMPETITION.

Since it's creation, Armor Games has funded
hundreds of Flash Artists for their hard
work, making it possible to create high
quality games for the pleasure of
Newgrounds users free of charge.

Note: Decompiling this Flash for reason of self
profit in anyway or with malicious intent is unlawful
and a really mean thing to do. So don't. This Flash is
copyright(c) Antony LAvelle of THE_EXP.

DEFENCE SHOT:

DEFENCE SHOT:

Press [SPACE] to continue!

Fighting! Universe

X

Press [SPACE] to continue!

X

the_EXP presents

[

UPGRADE

[

UPGRADE

<p align="center"><font face="Sydnie" size="14" color="#ffffff" letterSpacing="0.000000" kerning="1"><a href="http://www.armorgames.com">To View Scoreboard click here:</a></font></p>

<p align="center"><font face="Sydnie" size="14" color="#ffffff" letterSpacing="0.000000" kerning="1"><a href="http://www.armorgames.com">FOR MORE FUN GAMES VISIT ARMOR GAMES BY CLICKING <sbr />HERE.</a></font></p>

IN THE YEAR 40,000 AD WE
ARE ATTACKED FROM SPACE!
ONLY YOU CAN HELP US,
DEFENCE SHOT! SAVE US FROM
THIS FIGHTING UNIVERSE!

[INCOMING TRANSMISSION]

[INCOMING TRANSMISSION]

Press [SPACE] to skip this
complex background storyline!

Press [SPACE] to skip this
complex background storyline!

[AIM]

Defence Shot is a Top Down
Vertical Scrolling Space
Shooter. Your Mission is to
survive against the enemy
and upgrade your ship. Your
objective is to earn a
place on the score board.

Press [SPACE] to continue.

[AIM]

Press [SPACE] to continue.

You only have 1 life. You
can be hit by enemy
bullets 5 times before
death, but you will die
instantly if you crash
into another ship.
After each 'wave' of enemy
ships, you can UPGRADE and
REPAIR your ship with the
money you have earned

[RULES]

[RULES]

Press [SPACE] to continue.

SHIP MOVE UP..................[W]/[UP]
SHIP MOVE DOWN............[S]/[DOWN]
SHIP MOVE LEFT............[A]/[LEFT]
SHIP MOVE RIGHT..........[D]/[RIGHT]
FIRE LASER.........................[M]/[Z]
SMARTBOMB............................[N]/[X]
PAUSE GAME.........................[SPACE]

[CONTROLS]

[CONTROLS]

[ARE YOU READY!?]

Press [SPACE] to BEGIN!

[ARE YOU READY!?]

Press [SPACE] to BEGIN!

[SHIELD]

50000000

$

50000000

SCORE:

S

[BOMBS]

WEAPON

[ENEMY WAVE]

5

500000

UPGRADE TIME!

2

2

/

FIREPOWER + 0.1

5

15

/

SHIP SPEED + 1

Increase the rate at which your ship fires.

COST: $80,000

Increase the rate at which your ship  can move.

SIDESHOT

COST: $300,000

Fire from sets of beam cannons sideways.

BACKSHOT

COST: $250,000

Fire from an extra beam cannon backwards.

Try for that Online High Score Board.

5

/

HEALTH + 1

Recover one unit of lost health.

SCORE:

MONEY: $

FIREPOWER + 0.1

SHIP SPEED + 1

SIDESHOT

BACKSHOT

HEALTH + 1

UPGRADE TIME!

3

/

SMARTBOMB + 1

Recover one Smartbomb.

COST: $100,000

SMARTBOMB + 1

3

CONVERT REMAINING MONEY INTO POINTS.

CONVERT REMAINING MONEY INTO POINTS.

GAME PAUSED

Press [SPACE] to resume

GAME
OVER

GAME
COMPLETE!

<p align="left"><font face="Beware" size="32" color="#ff0000" letterSpacing="0.000000" kerning="1">100000000</font></p>

SCORE:

You have not got a high
enough score to submit
to the scoreboard.
TO SUBMIT YOU NEED A
MINIMUM OF 1,000,000
points.

If you want to submit your score
to the-exp type your name here.

<p align="left"></p>

[CREDITS]

[DESIGN]

[PROGRAMMING]

[ART]

[SOUND]

[MUSIC]

[WEB]

[LOCALISATION]

ANTONY LAVELLE

JOEL ATKINSON

ADAM BELL

S. MIYAHON

SUBMITTING SCORE

CONTACTING SITE...

AWAITING RESPONSE

PERFORMING HANDSHAKE

IDLE CHIT CHAT

TELLING THE-EXP YOUR SCORE

TALK ABOUT THE WEATHER

MAKING EXCUSE TO LEAVE

DISCONNECTING FROM SERVER

SCORE SUBMITTED! To view the
scoreboard and see if you made
it, click here.

[VOICE]

CIYFOX

ActionScript [AS1/AS2]

Frame 1
Instance of Symbol 11 MovieClip in Frame 1
onClipEvent (load) { var newMenu = new ContextMenu(); newMenu.hideBuiltInItems(); _root.menu = newMenu; }
Frame 220
stop();
Instance of Symbol 41 MovieClip in Frame 220
on (keyPress "<Space>") { _root.nextFrame(); }
Instance of Symbol 49 MovieClip in Frame 220
onClipEvent (load) { text = "Link"; } on (release) { getURL ("http://www.the-exp.com/scoreboard.php", "blank"); }
Instance of Symbol 52 MovieClip in Frame 220
on (release) { getURL ("http://www.armorgames.com", "blank"); }
Instance of Symbol 60 MovieClip in Frame 221
onClipEvent (load) { keyactive = false; } onClipEvent (enterFrame) { if (Key.isDown(32) == false) { keyactive = true; } } on (keyPress "<Space>") { if (keyactive == true) { _root.nextFrame(); } }
Instance of Symbol 66 MovieClip in Frame 222
onClipEvent (load) { keyactive = false; } onClipEvent (enterFrame) { if (Key.isDown(32) == false) { keyactive = true; } } on (keyPress "<Space>") { if (keyactive == true) { _root.nextFrame(); } }
Instance of Symbol 71 MovieClip in Frame 223
onClipEvent (load) { keyactive = false; } onClipEvent (enterFrame) { if (Key.isDown(32) == false) { keyactive = true; } } on (keyPress "<Space>") { if (keyactive == true) { _root.nextFrame(); } }
Instance of Symbol 75 MovieClip in Frame 224
onClipEvent (load) { keyactive = false; } onClipEvent (enterFrame) { if (Key.isDown(32) == false) { keyactive = true; } } on (keyPress "<Space>") { if (keyactive == true) { _root.nextFrame(); } }
Instance of Symbol 80 MovieClip "titleready" in Frame 225
onClipEvent (load) { keyactive = false; } onClipEvent (enterFrame) { if ((Key.isDown(32) == false) and (keyactive == "active")) { stopAllSounds(); _root.play(); } if (Key.isDown(32) == false) { keyactive = true; } if (Key.isDown(32) and (keyactive == true)) { keyactive = "active"; } }
Frame 226
_root.gamewon = false; _root.health = 5; _root.speed = 8; _root.chargetime = 0.4; _root.sideshot = false; _root.backshot = false; _root.smartbomb = 3; _root.firespeed = 20; _root.money = 0; _root.invincible = true; _root.invtime = 60; _root.score = 0; _root.hiqual = false; _root.destroy = false; _root.gameover = false; _root.wave = 1; _root.sound.gotoAndStop("goodluck"); _root.sound.gotoAndStop("blank"); _root.description = "null,EARTH: Defend your planet!,MARS: God of War.,SATURN: God of Time.,JUPITER: God of Justice.,URANUS: Progenitor of Gods.,NEPTUNE: God of the Sea.,PLUTO: Lord of the Underworld."; _root.description = _root.description.split(","); _root.wavedescription = _root.description[_root.wave];
Frame 227
_quality = "low"; stop();
Instance of Symbol 107 MovieClip in Frame 227
onClipEvent (load) { this.gotoAndStop(_root.wave); } onClipEvent (enterFrame) { if (_root.gamepaused == false) { this._y = this._y + 0.5; if (_root.nextlevel == true) { this._y = this._y + 10; } } }
Instance of Symbol 109 MovieClip "stage" in Frame 227
onClipEvent (load) { this._visible = false; } onClipEvent (enterFrame) { if (_root.gameover == true) { this._visible = true; if (this._alpha < 100) { _root.ii++; this.swapDepths(_root.ii + 5000); this._alpha++; } else { _root.pausesign.removeMovieClip(); _root.ship.removeMovieClip(); _root.hud.removeMovieClip(); _root.level.removeMovieClip(); this._visible = false; _root.gotoAndPlay("gameover"); } } }
Instance of Symbol 111 MovieClip "star1" in Frame 227
onClipEvent (load) { _root.starspeed = 10; }
Instance of Symbol 111 MovieClip "star2" in Frame 227
onClipEvent (load) { _root.starspeed = 10; }
Instance of Symbol 111 MovieClip "star3" in Frame 227
onClipEvent (load) { _root.starspeed = 10; }
Instance of Symbol 111 MovieClip "star4" in Frame 227
onClipEvent (load) { _root.starspeed = 10; }
Instance of Symbol 127 MovieClip "ship" in Frame 227
onClipEvent (load) { shield._visible = false; health = _root.health; speed = _root.speed; rotatespeed = 5; shootswitch = true; charge = 0; maxcharge = 10; _root.nextlevel = false; keydown = false; invtime = 0; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (currentmoney < _root.money) { _root.money = _root.money + ((_root.money - currentmoney) * 50); } if (light._visible == true) { light._visible = false; } if ((_root.health == 1) and (currenthealth == 2)) { _root.sound.gotoAndStop("lowhealth"); _root.sound.gotoAndStop("blank"); } if (_root.level.hitTest(_x, _y - 20, true)) { _root.health = 0; } if (_root.nextlevel == false) { if (_root.invincible == true) { if (invtime < _root.invtime) { invtime++; if (shield._visible == true) { shield._visible = false; shield._alpha = shield._alpha - 3; } else { shield._visible = true; } } else { invtime = 0; shield._alpha = 100; _root.invincible = false; shield._visible = false; } } _root.stage._visible = false; _root.destroy = false; if ((Key.isDown(88) == false) and (Key.isDown(78) == false)) { keydown = false; } if (((Key.isDown(88) or Key.isDown(78)) and (_root.smartbomb > 0)) and (keydown == false)) { _root.destroy = true; _root.stage._visible = true; keydown = true; _root.smartbomb--; } _root.ii++; this.swapDepths(_root.ii + 1000); if (_root.health < 1) { _root.sound.gotoAndStop("respond"); _root.sound.gotoAndStop("blank"); _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = this._x; _root["shot" + _root.ii]._y = this._y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.ii++; this.swapDepths(_root.ii); _root.stage._alpha = 0; _root.gameover = true; this.removeMovieClip(); } if (charge < maxcharge) { charge = charge + _root.chargetime; } if ((Key.isDown(40) or Key.isDown(83)) and (this._y < 425)) { this._y = this._y + speed; } else if ((Key.isDown(38) or Key.isDown(87)) and (this._y > 15)) { this._y = this._y - speed; } if ((Key.isDown(39) or Key.isDown(68)) and (this._x < 385)) { this._x = this._x + speed; if (body._rotation < (rotatespeed * 10)) { body._rotation = body._rotation + rotatespeed; body.gun1._rotation = body.gun1._rotation - rotatespeed; body.gun2._rotation = body.gun2._rotation - rotatespeed; } } else if ((Key.isDown(37) or Key.isDown(65)) and (this._x > 15)) { this._x = this._x - speed; if (body._rotation > (-(rotatespeed * 10))) { body._rotation = body._rotation - rotatespeed; body.gun1._rotation = body.gun1._rotation + rotatespeed; body.gun2._rotation = body.gun2._rotation + rotatespeed; } } else if (body._rotation > 0) { body._rotation = body._rotation - rotatespeed; body.gun1._rotation = body.gun1._rotation + rotatespeed; body.gun2._rotation = body.gun2._rotation + rotatespeed; } else if (body._rotation < 0) { body._rotation = body._rotation + rotatespeed; body.gun1._rotation = body.gun1._rotation - rotatespeed; body.gun2._rotation = body.gun2._rotation - rotatespeed; } if ((Key.isDown(90) or Key.isDown(77)) and (charge > 1)) { _root.ii++; _root.playershot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (shootswitch == true) { _root["shot" + _root.ii]._x = this._x - 20; body.gun2.gotoAndPlay("fire"); shootswitch = false; } else { _root["shot" + _root.ii]._x = this._x + 20; body.gun1.gotoAndPlay("fire"); shootswitch = true; } _root["shot" + _root.ii]._y = this._y - 30; _root["shot" + _root.ii].angle = -1.575; charge = charge - 2; if (_root.sideshot == true) { _root.ii++; if (shootswitch == true) { _root.playershot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = this._x - 20; _root["shot" + _root.ii]._y = this._y; _root["shot" + _root.ii]._rotation = -90; _root["shot" + _root.ii].angle = 3.15; _root.ii++; _root.playershot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = this._x + 20; _root["shot" + _root.ii]._y = this._y; _root["shot" + _root.ii]._rotation = 90; _root["shot" + _root.ii].angle = 0; } } if ((_root.backshot == true) and (shootswitch == false)) { _root.ii++; _root.playershot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = this._x; _root["shot" + _root.ii]._y = this._y + 20; _root["shot" + _root.ii]._rotation = 180; _root["shot" + _root.ii].angle = 1.575; } light._visible = true; _root.sound.gotoAndStop("playershot"); _root.sound.gotoAndStop("blank"); } } else if (body._rotation > 0) { body._rotation = body._rotation - rotatespeed; body.gun1._rotation = body.gun1._rotation + rotatespeed; body.gun2._rotation = body.gun2._rotation + rotatespeed; } else if (body._rotation < 0) { body._rotation = body._rotation + rotatespeed; body.gun1._rotation = body.gun1._rotation - rotatespeed; body.gun2._rotation = body.gun2._rotation - rotatespeed; } } currenthealth = _root.health; currentmoney = _root.money; }
Instance of Symbol 111 MovieClip "control" in Frame 227
onClipEvent (load) { keydown = false; _root.gamepaused = false; speed = 20; scale = random(90) + 10; _root.star1._xscale = scale; _root.star1._yscale = scale; _root.star1._x = random(400); _root.star1._y = random(500); scale = random(90) + 10; _root.star2._xscale = scale; _root.star2._yscale = scale; _root.star2._x = random(400); _root.star2._y = random(500); scale = random(90) + 10; _root.star3._xscale = scale; _root.star3._yscale = scale; _root.star3._x = random(400); _root.star3._y = random(500); scale = random(90) + 10; _root.star4._xscale = scale; _root.star4._yscale = scale; _root.star4._x = random(400); _root.star4._y = random(500); } onClipEvent (enterFrame) { if (_root.smartbomb >= 1) { _root.hud.sb1._visible = true; } else { _root.hud.sb1._visible = false; } if (_root.smartbomb >= 2) { _root.hud.sb2._visible = true; } else { _root.hud.sb2._visible = false; } if (_root.smartbomb >= 3) { _root.hud.sb3._visible = true; } else { _root.hud.sb3._visible = false; } if (Key.isDown(32) == false) { keydown = false; } if ((((Key.isDown(32) and (_root.gamepaused == false)) and (keydown == false)) and (_root.nextlevel == false)) and (_root.gameover == false)) { _root.gamepaused = true; _root.ii++; _root.pausesign.swapDepths(_root.ii + 6000); _root.pausesign._visible = true; keydown = true; } else if ((((Key.isDown(32) and (_root.gamepaused == true)) and (keydown == false)) and (_root.nextlevel == false)) and (_root.gameover == false)) { _root.gamepaused = false; _root.pausesign._visible = false; keydown = true; } if (_root.gamepaused == false) { if (_root.star1._y < 500) { _root.star1._y = _root.star1._y + (speed * (_root.star1._xscale / 100)); } else { scale = random(90) + 10; _root.star1._xscale = scale; _root.star1._yscale = scale; _root.star1._x = random(400); _root.star1._y = -20; } if (_root.star3._y < 500) { _root.star3._y = _root.star3._y + (speed * (_root.star3._xscale / 100)); } else { scale = random(90) + 10; _root.star3._xscale = scale; _root.star3._yscale = scale; _root.star3._x = random(400); _root.star3._y = -20; } if (_root.star2._y < 500) { _root.star2._y = _root.star2._y + (speed * (_root.star2._xscale / 100)); } else { scale = random(90) + 10; _root.star2._xscale = scale; _root.star2._yscale = scale; _root.star2._x = random(400); _root.star2._y = -20; } if (_root.star4._y < 500) { _root.star4._y = _root.star4._y + (speed * (_root.star4._xscale / 100)); } else { scale = random(90) + 10; _root.star4._xscale = scale; _root.star4._yscale = scale; _root.star4._x = random(400); _root.star4._y = -20; } } }
Instance of Symbol 152 MovieClip "hud" in Frame 227
onClipEvent (enterFrame) { _root.ii++; this.swapDepths(_root.ii + 2000); }
Instance of Symbol 109 MovieClip "hitbox" in Frame 227
onClipEvent (load) { this._visible = false; }
Instance of Symbol 165 MovieClip "explosion" in Frame 227
onClipEvent (enterFrame) { if (_name == "explosion") { stop(); } else { this._alpha = this._alpha - 10; } }
Instance of Symbol 213 MovieClip in Frame 227
onClipEvent (enterFrame) { if ((_root.nextlevel == true) and (this._y > 0)) { this._y = this._y - 20; _root.ship._y = _root.ship._y - 20; this.gotoAndStop(2); if (_root.ship._y < 10) { _root.ship.removeMovieClip(); } _root.hud.removeMovieClip(); _root.level.removeMovieClip(); } }
Instance of Symbol 217 MovieClip "shot" in Frame 227
onClipEvent (load) { active = true; } onClipEvent (enterFrame) { if ((_root.gameover == true) or (_root.nextlevel == true)) { if (this._alpha > 0) { this._alpha = this._alpha - 3; } else { this.removeMovieClip(); } } if (_root.gamepaused == false) { if ((((_name != "shot") and this.hitTest(_root.stage)) and (active == true)) and (_root.nextstage != true)) { dir = Math.cos(angle); _x = (_x + (dir * speed)); dir = Math.sin(angle); _y = (_y + (dir * speed)); if (this.hit.hitTest(_root.ship.hit) and (_root.nextlevel == false)) { if (_root.invincible == false) { _root.invincible = true; _root.health--; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii + 3000, _root.ii); _root["shot" + _root.ii]._x = this._x; _root["shot" + _root.ii]._y = this._y; _root.hitbox._x = this._x - 6; _root.hitbox._y = this._y - 6; this.removeMovieClip(); } } } else { this.removeMovieClip(); } } }
Instance of Symbol 223 MovieClip "playerexplosion" in Frame 227
onClipEvent (enterFrame) { if (_name == "playerexplosion") { stop(); } else { this._alpha = this._alpha - 10; } }
Instance of Symbol 225 MovieClip "playershot" in Frame 227
onClipEvent (enterFrame) { if (_root.gamepaused == false) { if ((_name != "playershot") and this.hitTest(_root.stage)) { dir = Math.cos(angle); _x = (_x + (dir * _root.firespeed)); dir = Math.sin(angle); _y = (_y + (dir * _root.firespeed)); if ((_root.level.hitTest(_x - 4, _y, true) or _root.level.hitTest(_x + 4, _y, true)) or _root.level.hitTest(_x, _y, true)) { _root.ii++; _root.playerexplosion.duplicateMovieClip("shot" + _root.ii, _root.ii + 1000, _root.ii); _root["shot" + _root.ii]._x = this._x; _root["shot" + _root.ii]._y = this._y; _root.hitbox._x = this._x - 6; _root.hitbox._y = this._y - 6; this.removeMovieClip(); } } else { this.removeMovieClip(); } } }
Instance of Symbol 228 MovieClip "pausesign" in Frame 227
onClipEvent (load) { this._visible = false; }
Instance of Symbol 233 MovieClip "level" in Frame 227
onClipEvent (enterFrame) { if (_root.gamepaused == false) { this._y = this._y + 2; _root.ii++; this.swapDepths(_root.ii + 1000); } }
Instance of Symbol 243 MovieClip "level" in Frame 228
onClipEvent (enterFrame) { if (_root.gamepaused == false) { this._y = this._y + 2; _root.ii++; this.swapDepths(_root.ii + 1000); } }
Instance of Symbol 246 MovieClip "level" in Frame 229
onClipEvent (enterFrame) { if (_root.gamepaused == false) { this._y = this._y + 2; _root.ii++; this.swapDepths(_root.ii + 1000); } }
Instance of Symbol 249 MovieClip "level" in Frame 230
onClipEvent (enterFrame) { if (_root.gamepaused == false) { this._y = this._y + 2; _root.ii++; this.swapDepths(_root.ii + 1000); } }
Instance of Symbol 250 MovieClip "level" in Frame 231
onClipEvent (enterFrame) { if (_root.gamepaused == false) { this._y = this._y + 2; _root.ii++; this.swapDepths(_root.ii + 1000); } }
Instance of Symbol 253 MovieClip "level" in Frame 232
onClipEvent (enterFrame) { if (_root.gamepaused == false) { this._y = this._y + 2; _root.ii++; this.swapDepths(_root.ii + 1000); } }
Instance of Symbol 257 MovieClip "level" in Frame 233
onClipEvent (enterFrame) { if (_root.gamepaused == false) { this._y = this._y + 2; _root.ii++; this.swapDepths(_root.ii + 1000); } }
Frame 234
_root.wave++; _root.wavedescription = _root.description[_root.wave]; _root.hud.removeMovieClip(); _root.level.removeMovieClip(); levels = "null,earth,mars,saturn,jupiter,uranus,neptune,pluto"; levels = levels.split(","); _root.gotoAndStop(levels[_root.wave]);
Frame 235
_root.stage.removeMovieClip(); _root.gotoAndPlay("endgame");
Instance of Symbol 260 MovieClip in Frame 236
onClipEvent (load) { if (_root.gamewon == true) { _root.score = _root.score + _root.money; _root.money = 0; this.gotoAndStop(2); } }
Frame 281
stopAllSounds();
Instance of Symbol 260 MovieClip in Frame 281
onClipEvent (load) { if (_root.gamewon == true) { this.gotoAndStop(2); } }
Frame 282
stop();
Instance of Symbol 267 MovieClip in Frame 282
onClipEvent (load) { _root.stage.removeMovieClip(); if (_root.score > 1000000) { this.gotoAndStop("input"); } }
Instance of Symbol 49 MovieClip in Frame 282
onClipEvent (load) { text = "REPLAY"; } on (release) { stopAllSounds(); _root.gotoAndStop("title"); }
Instance of Symbol 49 MovieClip in Frame 283
onClipEvent (load) { text = "Link"; } on (release) { getURL ("http://www.the-exp.com", "blank"); }
Instance of Symbol 49 MovieClip in Frame 283
onClipEvent (load) { text = "Link"; } on (release) { getURL ("http://www.the-exp.com", "blank"); }
Instance of Symbol 49 MovieClip in Frame 283
onClipEvent (load) { text = "Link"; } on (release) { getURL ("http://www.myspace.com/ciyfox", "blank"); }
Instance of Symbol 49 MovieClip in Frame 283
onClipEvent (load) { text = "Link"; } on (release) { getURL ("http://lol.bz", "blank"); }
Instance of Symbol 49 MovieClip in Frame 283
onClipEvent (load) { text = "Link"; } on (release) { getURL ("http://www.nintendo.com", "blank"); }
Symbol 10 Button
on (release) { _root.play(); }
Symbol 11 MovieClip Frame 1
_root.stop(); PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100; if (PercentLoaded != 100) { bar._xscale = PercentLoaded; } else { gotoAndStop ("loaded"); }
Symbol 11 MovieClip Frame 2
gotoAndPlay (1);
Symbol 49 MovieClip Frame 1
stop();
Symbol 91 MovieClip Frame 1
stop();
Instance of Symbol 111 MovieClip in Symbol 114 MovieClip Frame 1
onClipEvent (enterFrame) { if (_root.gamepaused == true) { _parent.stop(); } else { _parent.play(); } }
Symbol 118 MovieClip Frame 1
stop();
Instance of Symbol 124 MovieClip "light" in Symbol 127 MovieClip Frame 1
onClipEvent (load) { this._visible = false; }
Instance of Symbol 130 MovieClip in Symbol 152 MovieClip Frame 1
onClipEvent (load) { bar._width = _root.ship.charge * 35; } onClipEvent (enterFrame) { bar._width = _root.ship.charge * 35; }
Instance of Symbol 132 MovieClip in Symbol 152 MovieClip Frame 1
onClipEvent (load) { bar._width = _root.health * 35; } onClipEvent (enterFrame) { bar._width = _root.health * 70; }
Instance of Symbol 145 MovieClip "sb1" in Symbol 152 MovieClip Frame 1
onClipEvent (enterFrame) { if (_root.gamepaused == false) { spin._rotation = spin._rotation + 5; } }
Instance of Symbol 145 MovieClip "sb2" in Symbol 152 MovieClip Frame 1
onClipEvent (enterFrame) { if (_root.gamepaused == false) { spin._rotation = spin._rotation + 5; } }
Instance of Symbol 145 MovieClip "sb3" in Symbol 152 MovieClip Frame 1
onClipEvent (enterFrame) { if (_root.gamepaused == false) { spin._rotation = spin._rotation + 5; } }
Symbol 165 MovieClip Frame 18
this.removeMovieClip();
Symbol 213 MovieClip Frame 1
stop();
Instance of Symbol 49 MovieClip in Symbol 213 MovieClip Frame 2
onClipEvent (load) { text = "DONE"; } on (press) { this.play(); } on (release) { _root.sound.gotoAndStop("goodluck"); _root.sound.gotoAndStop("blank"); _root.gotoAndStop("blank"); }
Instance of Symbol 49 MovieClip "fpbutton" in Symbol 213 MovieClip Frame 2
onClipEvent (load) { text = "UPGRADE"; cost = 80000 /* 0x013880 */; max = 2; if ((_root.chargetime >= max) or (cost > _root.money)) { this._alpha = 50; } } on (press) { this.play(); } on (release) { if ((_root.money > cost) and (_root.chargetime < max)) { _root.sound.gotoAndStop("upgrade"); _root.sound.gotoAndStop("blank"); _root.chargetime = _root.chargetime + 0.1; _root.money = _root.money - cost; if (_root.chargetime >= max) { this._alpha = 50; } } }
Instance of Symbol 49 MovieClip "ssbutton" in Symbol 213 MovieClip Frame 2
onClipEvent (load) { text = "UPGRADE"; cost = 80000 /* 0x013880 */; max = 15; if ((_root.speed >= max) or (cost > _root.money)) { this._alpha = 50; } } on (press) { this.play(); } on (release) { if ((_root.money > cost) and (_root.speed < max)) { _root.sound.gotoAndStop("upgrade"); _root.sound.gotoAndStop("blank"); _root.speed++; _root.money = _root.money - cost; if (_root.speed >= max) { this._alpha = 50; } } }
Instance of Symbol 49 MovieClip "sshotbutton" in Symbol 213 MovieClip Frame 2
onClipEvent (load) { text = "UPGRADE"; cost = 300000 /* 0x0493E0 */; if ((_root.sideshot == true) or (cost > _root.money)) { this._alpha = 50; } } on (press) { this.play(); } on (release) { if ((_root.sideshot == false) and (_root.money >= cost)) { _root.sound.gotoAndStop("construction"); _root.sound.gotoAndStop("blank"); _root.sideshot = true; _root.money = _root.money - cost; this._alpha = 50; } }
Instance of Symbol 49 MovieClip "bsbutton" in Symbol 213 MovieClip Frame 2
onClipEvent (load) { text = "UPGRADE"; cost = 250000 /* 0x03D090 */; if ((_root.backshot == true) or (cost > _root.money)) { this._alpha = 50; } } on (press) { this.play(); } on (release) { if ((_root.backshot == false) and (_root.money >= cost)) { _root.sound.gotoAndStop("construction"); _root.sound.gotoAndStop("blank"); _root.backshot = true; _root.money = _root.money - cost; this._alpha = 50; } }
Instance of Symbol 49 MovieClip in Symbol 213 MovieClip Frame 2
onClipEvent (load) { text = "DEPOSIT"; } on (press) { this.play(); } on (release) { _root.score = _root.score + _root.money; _root.money = 0; this._alpha = 50; _parent.fpbutton._alpha = 50; _parent.ssbutton._alpha = 50; _parent.sshotbutton._alpha = 50; _parent.sbbutton._alpha = 50; _parent.bsbutton._alpha = 50; _parent.hpbutton._alpha = 50; }
Instance of Symbol 49 MovieClip "hpbutton" in Symbol 213 MovieClip Frame 2
onClipEvent (load) { text = "RECOVER"; cost = 80000 /* 0x013880 */; max = 5; if ((_root.health >= max) or (cost > _root.money)) { this._alpha = 50; } } on (press) { this.play(); } on (release) { if ((_root.money >= cost) and (_root.health < max)) { _root.sound.gotoAndStop("health"); _root.sound.gotoAndStop("blank"); _root.health++; _root.money = _root.money - cost; if (_root.health >= max) { this._alpha = 50; } } }
Instance of Symbol 49 MovieClip "sbbutton" in Symbol 213 MovieClip Frame 2
onClipEvent (load) { text = "RECOVER"; cost = 100000 /* 0x0186A0 */; max = 3; if ((_root.smartbomb >= max) or (cost > _root.money)) { this._alpha = 50; } } on (press) { this.play(); } on (release) { if ((_root.money >= cost) and (_root.smartbomb < max)) { _root.sound.gotoAndStop("upgrade"); _root.sound.gotoAndStop("blank"); _root.smartbomb++; _root.money = _root.money - cost; if (_root.smartbomb == max) { this._alpha = 50; } } }
Symbol 217 MovieClip Frame 1
stop();
Symbol 223 MovieClip Frame 20
this.removeMovieClip(); stop();
Symbol 230 MovieClip Frame 1
stop();
Symbol 232 MovieClip Frame 1
stop();
Instance of Symbol 230 MovieClip in Symbol 233 MovieClip Frame 1
onClipEvent (load) { sidespeed = 0; health = 2; active = false; _root.ii = 0; patternratestore = 10; fireratestore = 0; shotpattern = "1.570"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; this._x = this._x + sidespeed; sidespeed = sidespeed - 0.1; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 230 MovieClip in Symbol 233 MovieClip Frame 1
onClipEvent (load) { sidespeed = 0; health = 2; active = false; _root.ii = 0; patternratestore = 10; fireratestore = 0; shotpattern = "1.570"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; this._x = this._x + sidespeed; sidespeed = sidespeed - 0.1; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 230 MovieClip in Symbol 233 MovieClip Frame 1
onClipEvent (load) { sidespeed = 0; health = 2; active = false; _root.ii = 0; patternratestore = 10; fireratestore = 0; shotpattern = "1.570"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; this._x = this._x + sidespeed; sidespeed = sidespeed + 0.1; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 232 MovieClip in Symbol 233 MovieClip Frame 1
onClipEvent (load) { health = 5; active = false; _root.ii = 0; patternratestore = 30; fireratestore = 0; shotpattern = "0|3.15"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 232 MovieClip in Symbol 233 MovieClip Frame 1
onClipEvent (load) { health = 5; active = false; _root.ii = 0; patternratestore = 30; fireratestore = 0; shotpattern = "0|3.15"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 232 MovieClip in Symbol 233 MovieClip Frame 1
onClipEvent (load) { health = 5; active = false; _root.ii = 0; patternratestore = 30; fireratestore = 0; shotpattern = "0|3.15"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { _root.nextlevel = true; this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } _root.nextlevel = true; this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 230 MovieClip in Symbol 233 MovieClip Frame 1
onClipEvent (load) { sidespeed = 0; health = 2; active = false; _root.ii = 0; patternratestore = 10; fireratestore = 0; shotpattern = "1.570"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; this._x = this._x + sidespeed; sidespeed = sidespeed + 0.1; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 230 MovieClip in Symbol 233 MovieClip Frame 1
onClipEvent (load) { sidespeed = 0; health = 2; active = false; _root.ii = 0; patternratestore = 10; fireratestore = 0; shotpattern = "1.570"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; this._x = this._x + sidespeed; sidespeed = sidespeed - 0.1; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 232 MovieClip in Symbol 233 MovieClip Frame 1
onClipEvent (load) { health = 5; active = false; _root.ii = 0; patternratestore = 30; fireratestore = 0; shotpattern = "0|3.15"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 232 MovieClip in Symbol 233 MovieClip Frame 1
onClipEvent (load) { health = 5; active = false; _root.ii = 0; patternratestore = 30; fireratestore = 0; shotpattern = "0|3.15"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 232 MovieClip in Symbol 233 MovieClip Frame 1
onClipEvent (load) { health = 5; active = false; _root.ii = 0; patternratestore = 30; fireratestore = 0; shotpattern = "0|3.15"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 230 MovieClip in Symbol 233 MovieClip Frame 1
onClipEvent (load) { sidespeed = 0; health = 2; active = false; _root.ii = 0; patternratestore = 10; fireratestore = 0; shotpattern = "1.570"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; this._x = this._x + sidespeed; sidespeed = sidespeed + 0.1; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Symbol 236 MovieClip Frame 1
stop();
Instance of Symbol 236 MovieClip in Symbol 243 MovieClip Frame 1
onClipEvent (load) { shield._visible = false; health = 10; shieldtransparency = health; active = false; _root.ii = 0; patternratestore = 2; fireratestore = 0; firerate = fireratestore; patternrate = patternratestore; shotno = 0; fireangle = 0; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { _root.nextlevel = true; this.removeMovieClip(); } if (active == true) { if (shield._visible == true) { shield._visible = false; } fireangle = fireangle - 0.1; if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparency); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; _root.money = _root.money + (1000 + random(100)); _root.nextlevel = true; this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii].angle = fireangle; _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 5; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 239 MovieClip in Symbol 243 MovieClip Frame 1
onClipEvent (load) { health = 40; shieldtransparency = health; distance = 400; strength = 4; active = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { _root.ii++; point = {x:_x, y:_y}; _parent.localToGlobal(point); this.swapDepths(_root.ii); if ((((_root.ship._x > point.x) and (_root.ship._x < (point.x + distance))) and (_root.ship._y < point.y)) and (_root.ship._y > (point.y - this._height))) { _root.ship._x = _root.ship._x - strength; } if (shield._visible == true) { shield._visible = false; } if (hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y - (this._height / 2); _root["shot" + _root.ii]._width = this._height; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } } if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparency); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y - (this._height / 2); _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._width; _root.hitbox._y = 900; _root.money = _root.money + (1000 + random(100)); this.removeMovieClip(); } _root.hitbox._y = 900; } } }
Instance of Symbol 242 MovieClip in Symbol 243 MovieClip Frame 1
onClipEvent (load) { health = 40; shieldtransparency = health; distance = 300; strength = 4; active = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { _root.ii++; point = {x:_x, y:_y}; _parent.localToGlobal(point); this.swapDepths(_root.ii); if ((((_root.ship._x < point.x) and (_root.ship._x > (point.x - distance))) and (_root.ship._y < point.y)) and (_root.ship._y > (point.y - this._height))) { _root.ship._x = _root.ship._x - strength; } if (shield._visible == true) { shield._visible = false; } if (hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y - (this._height / 2); _root["shot" + _root.ii]._width = this._height; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } } if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparency); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y - (this._height / 2); _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._width; _root.hitbox._y = 900; _root.money = _root.money + (1000 + random(100)); this.removeMovieClip(); } _root.hitbox._y = 900; } } }
Instance of Symbol 232 MovieClip in Symbol 243 MovieClip Frame 1
onClipEvent (load) { health = 5; active = false; _root.ii = 0; patternratestore = 30; fireratestore = 0; shotpattern = "0|3.15"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 232 MovieClip in Symbol 243 MovieClip Frame 1
onClipEvent (load) { health = 5; active = false; _root.ii = 0; patternratestore = 30; fireratestore = 0; shotpattern = "0|3.15"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 232 MovieClip in Symbol 243 MovieClip Frame 1
onClipEvent (load) { health = 5; active = false; _root.ii = 0; patternratestore = 30; fireratestore = 0; shotpattern = "0|3.15"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 232 MovieClip in Symbol 243 MovieClip Frame 1
onClipEvent (load) { health = 5; active = false; _root.ii = 0; patternratestore = 30; fireratestore = 0; shotpattern = "0|3.15"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 232 MovieClip in Symbol 243 MovieClip Frame 1
onClipEvent (load) { health = 5; active = false; _root.ii = 0; patternratestore = 30; fireratestore = 0; shotpattern = "0|3.15"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 230 MovieClip in Symbol 243 MovieClip Frame 1
onClipEvent (load) { sidespeed = 0; health = 2; active = false; _root.ii = 0; patternratestore = 10; fireratestore = 0; shotpattern = "1.570"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 230 MovieClip in Symbol 243 MovieClip Frame 1
onClipEvent (load) { sidespeed = 0; health = 2; active = false; _root.ii = 0; patternratestore = 10; fireratestore = 0; shotpattern = "1.570"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 230 MovieClip in Symbol 243 MovieClip Frame 1
onClipEvent (load) { sidespeed = 0; health = 2; active = false; _root.ii = 0; patternratestore = 10; fireratestore = 0; shotpattern = "1.570"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 232 MovieClip in Symbol 243 MovieClip Frame 1
onClipEvent (load) { health = 5; active = false; _root.ii = 0; patternratestore = 30; fireratestore = 0; shotpattern = "0|3.15"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 239 MovieClip in Symbol 246 MovieClip Frame 1
onClipEvent (load) { health = 40; shieldtransparency = health; distance = 400; strength = 4; active = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { _root.ii++; point = {x:_x, y:_y}; _parent.localToGlobal(point); this.swapDepths(_root.ii); if ((((_root.ship._x > point.x) and (_root.ship._x < (point.x + distance))) and (_root.ship._y < point.y)) and (_root.ship._y > (point.y - this._height))) { _root.ship._x = _root.ship._x - strength; } if (shield._visible == true) { shield._visible = false; } if (hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y - (this._height / 2); _root["shot" + _root.ii]._width = this._height; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } } if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparency); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y - (this._height / 2); _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._width; _root.hitbox._y = 900; _root.money = _root.money + (1000 + random(100)); this.removeMovieClip(); } _root.hitbox._y = 900; } } }
Instance of Symbol 242 MovieClip in Symbol 246 MovieClip Frame 1
onClipEvent (load) { health = 40; shieldtransparency = health; distance = 300; strength = 4; active = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { _root.ii++; point = {x:_x, y:_y}; _parent.localToGlobal(point); this.swapDepths(_root.ii); if ((((_root.ship._x < point.x) and (_root.ship._x > (point.x - distance))) and (_root.ship._y < point.y)) and (_root.ship._y > (point.y - this._height))) { _root.ship._x = _root.ship._x - strength; } if (shield._visible == true) { shield._visible = false; } if (hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y - (this._height / 2); _root["shot" + _root.ii]._width = this._height; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } } if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparency); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y - (this._height / 2); _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._width; _root.hitbox._y = 900; _root.money = _root.money + (1000 + random(100)); this.removeMovieClip(); } _root.hitbox._y = 900; } } }
Instance of Symbol 232 MovieClip in Symbol 246 MovieClip Frame 1
onClipEvent (load) { health = 5; active = false; _root.ii = 0; patternratestore = 30; fireratestore = 0; shotpattern = "0|3.15"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { _root.nextlevel = true; this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } _root.nextlevel = true; this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 230 MovieClip in Symbol 246 MovieClip Frame 1
onClipEvent (load) { sidespeed = 0; health = 2; active = false; _root.ii = 0; patternratestore = 10; fireratestore = 0; shotpattern = "1.570"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 230 MovieClip in Symbol 246 MovieClip Frame 1
onClipEvent (load) { sidespeed = 0; health = 2; active = false; _root.ii = 0; patternratestore = 10; fireratestore = 0; shotpattern = "1.570"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 232 MovieClip in Symbol 246 MovieClip Frame 1
onClipEvent (load) { health = 5; active = false; _root.ii = 0; patternratestore = 30; fireratestore = 0; shotpattern = "0|3.15"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 232 MovieClip in Symbol 246 MovieClip Frame 1
onClipEvent (load) { health = 5; active = false; _root.ii = 0; patternratestore = 30; fireratestore = 0; shotpattern = "0|3.15"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 230 MovieClip in Symbol 246 MovieClip Frame 1
onClipEvent (load) { sidespeed = 0; health = 2; active = false; _root.ii = 0; patternratestore = 10; fireratestore = 0; shotpattern = "1.570"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 230 MovieClip in Symbol 246 MovieClip Frame 1
onClipEvent (load) { sidespeed = 0; health = 2; active = false; _root.ii = 0; patternratestore = 10; fireratestore = 0; shotpattern = "1.570"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 245 MovieClip in Symbol 246 MovieClip Frame 1
onClipEvent (load) { health = 5; active = false; spin = random(10) - 5; if (spin == 0) { spin = 1; } } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if ((this.hitTest(_root.stage) == false) and (active == true)) { this.removeMovieClip(); } if (this.hitTest(_root.stage)) { active = true; this._rotation = this._rotation + spin; if (this.hitTest(_root.hitbox)) { if (health > 0) { health--; } else { point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; _root.ii++; this.swapDepths(_root.ii + 1345); _root.money = _root.money + 10; this.removeMovieClip(); _root.hitbox._x = 2000; } } } } }
Instance of Symbol 245 MovieClip in Symbol 246 MovieClip Frame 1
onClipEvent (load) { health = 5; active = false; spin = random(10) - 5; if (spin == 0) { spin = 1; } } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if ((this.hitTest(_root.stage) == false) and (active == true)) { this.removeMovieClip(); } if (this.hitTest(_root.stage)) { active = true; this._rotation = this._rotation + spin; if (this.hitTest(_root.hitbox)) { if (health > 0) { health--; } else { point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; _root.ii++; this.swapDepths(_root.ii + 1345); _root.money = _root.money + 10; this.removeMovieClip(); _root.hitbox._x = 2000; } } } } }
Instance of Symbol 245 MovieClip in Symbol 246 MovieClip Frame 1
onClipEvent (load) { health = 5; active = false; spin = random(10) - 5; if (spin == 0) { spin = 1; } } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if ((this.hitTest(_root.stage) == false) and (active == true)) { this.removeMovieClip(); } if (this.hitTest(_root.stage)) { active = true; this._rotation = this._rotation + spin; if (this.hitTest(_root.hitbox)) { if (health > 0) { health--; } else { point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; _root.ii++; this.swapDepths(_root.ii + 1345); _root.money = _root.money + 10; this.removeMovieClip(); _root.hitbox._x = 2000; } } } } }
Instance of Symbol 245 MovieClip in Symbol 246 MovieClip Frame 1
onClipEvent (load) { health = 5; active = false; spin = random(10) - 5; if (spin == 0) { spin = 1; } } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if ((this.hitTest(_root.stage) == false) and (active == true)) { this.removeMovieClip(); } if (this.hitTest(_root.stage)) { active = true; this._rotation = this._rotation + spin; if (this.hitTest(_root.hitbox)) { if (health > 0) { health--; } else { point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; _root.ii++; this.swapDepths(_root.ii + 1345); _root.money = _root.money + 10; this.removeMovieClip(); _root.hitbox._x = 2000; } } } } }
Instance of Symbol 245 MovieClip in Symbol 246 MovieClip Frame 1
onClipEvent (load) { health = 5; active = false; spin = random(10) - 5; if (spin == 0) { spin = 1; } } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if ((this.hitTest(_root.stage) == false) and (active == true)) { this.removeMovieClip(); } if (this.hitTest(_root.stage)) { active = true; this._rotation = this._rotation + spin; if (this.hitTest(_root.hitbox)) { if (health > 0) { health--; } else { point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; _root.ii++; this.swapDepths(_root.ii + 1345); _root.money = _root.money + 10; this.removeMovieClip(); _root.hitbox._x = 2000; } } } } }
Instance of Symbol 245 MovieClip in Symbol 246 MovieClip Frame 1
onClipEvent (load) { health = 5; active = false; spin = random(10) - 5; if (spin == 0) { spin = 1; } } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if ((this.hitTest(_root.stage) == false) and (active == true)) { this.removeMovieClip(); } if (this.hitTest(_root.stage)) { active = true; this._rotation = this._rotation + spin; if (this.hitTest(_root.hitbox)) { if (health > 0) { health--; } else { point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; _root.ii++; this.swapDepths(_root.ii + 1345); _root.money = _root.money + 10; this.removeMovieClip(); _root.hitbox._x = 2000; } } } } }
Instance of Symbol 245 MovieClip in Symbol 246 MovieClip Frame 1
onClipEvent (load) { health = 5; active = false; spin = random(10) - 5; if (spin == 0) { spin = 1; } } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if ((this.hitTest(_root.stage) == false) and (active == true)) { this.removeMovieClip(); } if (this.hitTest(_root.stage)) { active = true; this._rotation = this._rotation + spin; if (this.hitTest(_root.hitbox)) { if (health > 0) { health--; } else { point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; _root.ii++; this.swapDepths(_root.ii + 1345); _root.money = _root.money + 10; this.removeMovieClip(); _root.hitbox._x = 2000; } } } } }
Instance of Symbol 245 MovieClip in Symbol 246 MovieClip Frame 1
onClipEvent (load) { health = 5; active = false; spin = random(10) - 5; if (spin == 0) { spin = 1; } } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if ((this.hitTest(_root.stage) == false) and (active == true)) { this.removeMovieClip(); } if (this.hitTest(_root.stage)) { active = true; this._rotation = this._rotation + spin; if (this.hitTest(_root.hitbox)) { if (health > 0) { health--; } else { point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; _root.ii++; this.swapDepths(_root.ii + 1345); _root.money = _root.money + 10; this.removeMovieClip(); _root.hitbox._x = 2000; } } } } }
Instance of Symbol 245 MovieClip in Symbol 246 MovieClip Frame 1
onClipEvent (load) { health = 5; active = false; spin = random(10) - 5; if (spin == 0) { spin = 1; } } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if ((this.hitTest(_root.stage) == false) and (active == true)) { this.removeMovieClip(); } if (this.hitTest(_root.stage)) { active = true; this._rotation = this._rotation + spin; if (this.hitTest(_root.hitbox)) { if (health > 0) { health--; } else { point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; _root.ii++; this.swapDepths(_root.ii + 1345); _root.money = _root.money + 10; this.removeMovieClip(); _root.hitbox._x = 2000; } } } } }
Instance of Symbol 245 MovieClip in Symbol 246 MovieClip Frame 1
onClipEvent (load) { health = 5; active = false; spin = random(10) - 5; if (spin == 0) { spin = 1; } } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if ((this.hitTest(_root.stage) == false) and (active == true)) { this.removeMovieClip(); } if (this.hitTest(_root.stage)) { active = true; this._rotation = this._rotation + spin; if (this.hitTest(_root.hitbox)) { if (health > 0) { health--; } else { point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; _root.ii++; this.swapDepths(_root.ii + 1345); _root.money = _root.money + 10; this.removeMovieClip(); _root.hitbox._x = 2000; } } } } }
Instance of Symbol 245 MovieClip in Symbol 246 MovieClip Frame 1
onClipEvent (load) { health = 5; active = false; spin = random(10) - 5; if (spin == 0) { spin = 1; } } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if ((this.hitTest(_root.stage) == false) and (active == true)) { this.removeMovieClip(); } if (this.hitTest(_root.stage)) { active = true; this._rotation = this._rotation + spin; if (this.hitTest(_root.hitbox)) { if (health > 0) { health--; } else { point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; _root.ii++; this.swapDepths(_root.ii + 1345); _root.money = _root.money + 10; this.removeMovieClip(); _root.hitbox._x = 2000; } } } } }
Instance of Symbol 245 MovieClip in Symbol 246 MovieClip Frame 1
onClipEvent (load) { health = 5; active = false; spin = random(10) - 5; if (spin == 0) { spin = 1; } } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if ((this.hitTest(_root.stage) == false) and (active == true)) { this.removeMovieClip(); } if (this.hitTest(_root.stage)) { active = true; this._rotation = this._rotation + spin; if (this.hitTest(_root.hitbox)) { if (health > 0) { health--; } else { point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; _root.ii++; this.swapDepths(_root.ii + 1345); _root.money = _root.money + 10; this.removeMovieClip(); _root.hitbox._x = 2000; } } } } }
Instance of Symbol 245 MovieClip in Symbol 246 MovieClip Frame 1
onClipEvent (load) { health = 5; active = false; spin = random(10) - 5; if (spin == 0) { spin = 1; } } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if ((this.hitTest(_root.stage) == false) and (active == true)) { this.removeMovieClip(); } if (this.hitTest(_root.stage)) { active = true; this._rotation = this._rotation + spin; if (this.hitTest(_root.hitbox)) { if (health > 0) { health--; } else { point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; _root.ii++; this.swapDepths(_root.ii + 1345); _root.money = _root.money + 10; this.removeMovieClip(); _root.hitbox._x = 2000; } } } } }
Instance of Symbol 245 MovieClip in Symbol 246 MovieClip Frame 1
onClipEvent (load) { health = 5; active = false; spin = random(10) - 5; if (spin == 0) { spin = 1; } } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if ((this.hitTest(_root.stage) == false) and (active == true)) { this.removeMovieClip(); } if (this.hitTest(_root.stage)) { active = true; this._rotation = this._rotation + spin; if (this.hitTest(_root.hitbox)) { if (health > 0) { health--; } else { point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; _root.ii++; this.swapDepths(_root.ii + 1345); _root.money = _root.money + 10; this.removeMovieClip(); _root.hitbox._x = 2000; } } } } }
Instance of Symbol 245 MovieClip in Symbol 246 MovieClip Frame 1
onClipEvent (load) { health = 5; active = false; spin = random(10) - 5; if (spin == 0) { spin = 1; } } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if ((this.hitTest(_root.stage) == false) and (active == true)) { this.removeMovieClip(); } if (this.hitTest(_root.stage)) { active = true; this._rotation = this._rotation + spin; if (this.hitTest(_root.hitbox)) { if (health > 0) { health--; } else { point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; _root.ii++; this.swapDepths(_root.ii + 1345); _root.money = _root.money + 10; this.removeMovieClip(); _root.hitbox._x = 2000; } } } } }
Instance of Symbol 245 MovieClip in Symbol 246 MovieClip Frame 1
onClipEvent (load) { health = 5; active = false; spin = random(10) - 5; if (spin == 0) { spin = 1; } } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if ((this.hitTest(_root.stage) == false) and (active == true)) { this.removeMovieClip(); } if (this.hitTest(_root.stage)) { active = true; this._rotation = this._rotation + spin; if (this.hitTest(_root.hitbox)) { if (health > 0) { health--; } else { point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; _root.ii++; this.swapDepths(_root.ii + 1345); _root.money = _root.money + 10; this.removeMovieClip(); _root.hitbox._x = 2000; } } } } }
Instance of Symbol 245 MovieClip in Symbol 246 MovieClip Frame 1
onClipEvent (load) { health = 5; active = false; spin = random(10) - 5; if (spin == 0) { spin = 1; } } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if ((this.hitTest(_root.stage) == false) and (active == true)) { this.removeMovieClip(); } if (this.hitTest(_root.stage)) { active = true; this._rotation = this._rotation + spin; if (this.hitTest(_root.hitbox)) { if (health > 0) { health--; } else { point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; _root.ii++; this.swapDepths(_root.ii + 1345); _root.money = _root.money + 10; this.removeMovieClip(); _root.hitbox._x = 2000; } } } } }
Instance of Symbol 245 MovieClip in Symbol 246 MovieClip Frame 1
onClipEvent (load) { health = 5; active = false; spin = random(10) - 5; if (spin == 0) { spin = 1; } } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if ((this.hitTest(_root.stage) == false) and (active == true)) { this.removeMovieClip(); } if (this.hitTest(_root.stage)) { active = true; this._rotation = this._rotation + spin; if (this.hitTest(_root.hitbox)) { if (health > 0) { health--; } else { point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; _root.ii++; this.swapDepths(_root.ii + 1345); _root.money = _root.money + 10; this.removeMovieClip(); _root.hitbox._x = 2000; } } } } }
Instance of Symbol 245 MovieClip in Symbol 246 MovieClip Frame 1
onClipEvent (load) { health = 5; active = false; spin = random(10) - 5; if (spin == 0) { spin = 1; } } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if ((this.hitTest(_root.stage) == false) and (active == true)) { this.removeMovieClip(); } if (this.hitTest(_root.stage)) { active = true; this._rotation = this._rotation + spin; if (this.hitTest(_root.hitbox)) { if (health > 0) { health--; } else { point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; _root.ii++; this.swapDepths(_root.ii + 1345); _root.money = _root.money + 10; this.removeMovieClip(); _root.hitbox._x = 2000; } } } } }
Instance of Symbol 245 MovieClip in Symbol 246 MovieClip Frame 1
onClipEvent (load) { health = 5; active = false; spin = random(10) - 5; if (spin == 0) { spin = 1; } } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if ((this.hitTest(_root.stage) == false) and (active == true)) { this.removeMovieClip(); } if (this.hitTest(_root.stage)) { active = true; this._rotation = this._rotation + spin; if (this.hitTest(_root.hitbox)) { if (health > 0) { health--; } else { point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; _root.ii++; this.swapDepths(_root.ii + 1345); _root.money = _root.money + 10; this.removeMovieClip(); _root.hitbox._x = 2000; } } } } }
Instance of Symbol 230 MovieClip in Symbol 246 MovieClip Frame 1
onClipEvent (load) { sidespeed = 0; health = 2; active = false; _root.ii = 0; patternratestore = 10; fireratestore = 0; shotpattern = "1.570"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 230 MovieClip in Symbol 246 MovieClip Frame 1
onClipEvent (load) { sidespeed = 0; health = 2; active = false; _root.ii = 0; patternratestore = 10; fireratestore = 0; shotpattern = "1.570"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 230 MovieClip in Symbol 246 MovieClip Frame 1
onClipEvent (load) { sidespeed = 0; health = 2; active = false; _root.ii = 0; patternratestore = 10; fireratestore = 0; shotpattern = "1.570"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 230 MovieClip in Symbol 246 MovieClip Frame 1
onClipEvent (load) { sidespeed = 0; health = 2; active = false; _root.ii = 0; patternratestore = 10; fireratestore = 0; shotpattern = "1.570"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 230 MovieClip in Symbol 246 MovieClip Frame 1
onClipEvent (load) { sidespeed = 0; health = 2; active = false; _root.ii = 0; patternratestore = 10; fireratestore = 0; shotpattern = "1.570"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Symbol 248 MovieClip Frame 1
stop();
Instance of Symbol 236 MovieClip in Symbol 249 MovieClip Frame 1
onClipEvent (load) { shield._visible = false; health = 10; shieldtransparency = health; active = false; _root.ii = 0; patternratestore = 2; fireratestore = 0; firerate = fireratestore; patternrate = patternratestore; shotno = 0; fireangle = 0; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { _root.nextlevel = true; this.removeMovieClip(); } if (active == true) { if (shield._visible == true) { shield._visible = false; } fireangle = fireangle - 0.1; if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparency); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; _root.money = _root.money + (1000 + random(100)); _root.nextlevel = true; this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii].angle = fireangle; _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 5; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 248 MovieClip in Symbol 249 MovieClip Frame 1
onClipEvent (load) { health = 5; active = false; _root.ii = 0; patternratestore = 30; fireratestore = 0; shotpattern = "1.770|1.370"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 232 MovieClip in Symbol 249 MovieClip Frame 1
onClipEvent (load) { health = 5; active = false; _root.ii = 0; patternratestore = 30; fireratestore = 0; shotpattern = "0|3.15"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 230 MovieClip in Symbol 249 MovieClip Frame 1
onClipEvent (load) { sidespeed = 0; health = 2; active = false; _root.ii = 0; patternratestore = 10; fireratestore = 0; shotpattern = "1.570"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 230 MovieClip in Symbol 249 MovieClip Frame 1
onClipEvent (load) { sidespeed = 0; health = 2; active = false; _root.ii = 0; patternratestore = 10; fireratestore = 0; shotpattern = "1.570"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 248 MovieClip in Symbol 249 MovieClip Frame 1
onClipEvent (load) { health = 5; active = false; _root.ii = 0; patternratestore = 30; fireratestore = 0; shotpattern = "1.770|1.370"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 248 MovieClip in Symbol 249 MovieClip Frame 1
onClipEvent (load) { health = 5; active = false; _root.ii = 0; patternratestore = 30; fireratestore = 0; shotpattern = "1.770|1.370"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 230 MovieClip in Symbol 249 MovieClip Frame 1
onClipEvent (load) { sidespeed = 0; health = 2; active = false; _root.ii = 0; patternratestore = 10; fireratestore = 0; shotpattern = "1.570"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 232 MovieClip in Symbol 249 MovieClip Frame 1
onClipEvent (load) { health = 5; active = false; _root.ii = 0; patternratestore = 30; fireratestore = 0; shotpattern = "0|3.15"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 232 MovieClip in Symbol 249 MovieClip Frame 1
onClipEvent (load) { health = 5; active = false; _root.ii = 0; patternratestore = 30; fireratestore = 0; shotpattern = "0|3.15"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 248 MovieClip in Symbol 249 MovieClip Frame 1
onClipEvent (load) { health = 5; active = false; _root.ii = 0; patternratestore = 30; fireratestore = 0; shotpattern = "1.770|1.370"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 230 MovieClip in Symbol 249 MovieClip Frame 1
onClipEvent (load) { sidespeed = 0; health = 2; active = false; _root.ii = 0; patternratestore = 10; fireratestore = 0; shotpattern = "1.570"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 230 MovieClip in Symbol 249 MovieClip Frame 1
onClipEvent (load) { sidespeed = 0; health = 2; active = false; _root.ii = 0; patternratestore = 10; fireratestore = 0; shotpattern = "1.570"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 230 MovieClip in Symbol 249 MovieClip Frame 1
onClipEvent (load) { sidespeed = 0; health = 2; active = false; _root.ii = 0; patternratestore = 10; fireratestore = 0; shotpattern = "1.570"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 230 MovieClip in Symbol 249 MovieClip Frame 1
onClipEvent (load) { sidespeed = 0; health = 2; active = false; _root.ii = 0; patternratestore = 10; fireratestore = 0; shotpattern = "1.570"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 230 MovieClip in Symbol 249 MovieClip Frame 1
onClipEvent (load) { sidespeed = 0; health = 2; active = false; _root.ii = 0; patternratestore = 10; fireratestore = 0; shotpattern = "1.570"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 230 MovieClip in Symbol 249 MovieClip Frame 1
onClipEvent (load) { sidespeed = 0; health = 2; active = false; _root.ii = 0; patternratestore = 10; fireratestore = 0; shotpattern = "1.570"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 230 MovieClip in Symbol 249 MovieClip Frame 1
onClipEvent (load) { sidespeed = 0; health = 2; active = false; _root.ii = 0; patternratestore = 10; fireratestore = 0; shotpattern = "1.570"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 230 MovieClip in Symbol 249 MovieClip Frame 1
onClipEvent (load) { sidespeed = 0; health = 2; active = false; _root.ii = 0; patternratestore = 10; fireratestore = 0; shotpattern = "1.570"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 230 MovieClip in Symbol 249 MovieClip Frame 1
onClipEvent (load) { sidespeed = 0; health = 2; active = false; _root.ii = 0; patternratestore = 10; fireratestore = 0; shotpattern = "1.570"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 230 MovieClip in Symbol 249 MovieClip Frame 1
onClipEvent (load) { sidespeed = 0; health = 2; active = false; _root.ii = 0; patternratestore = 10; fireratestore = 0; shotpattern = "1.570"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 236 MovieClip in Symbol 250 MovieClip Frame 1
onClipEvent (load) { shield._visible = false; health = 10; shieldtransparency = health; active = false; _root.ii = 0; patternratestore = 3; fireratestore = 0; firerate = fireratestore; patternrate = patternratestore; shotno = 0; fireangle = 0; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { if (shield._visible == true) { shield._visible = false; } fireangle = fireangle - 0.1; if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparency); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; _root.money = _root.money + (1000 + random(100)); this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii].angle = fireangle; _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 5; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 239 MovieClip in Symbol 250 MovieClip Frame 1
onClipEvent (load) { health = 40; shieldtransparency = health; distance = 400; strength = -4; active = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { _root.ii++; point = {x:_x, y:_y}; _parent.localToGlobal(point); this.swapDepths(_root.ii); if ((((_root.ship._x < point.x) and (_root.ship._x > (point.x - distance))) and (_root.ship._y < point.y)) and (_root.ship._y > (point.y - this._height))) { _root.ship._x = _root.ship._x - strength; } if (shield._visible == true) { shield._visible = false; } if (hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y - (this._height / 2); _root["shot" + _root.ii]._width = this._height; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } } if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparency); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y - (this._height / 2); _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._width; _root.hitbox._y = 900; _root.money = _root.money + (1000 + random(100)); this.removeMovieClip(); } _root.hitbox._y = 900; } } }
Instance of Symbol 232 MovieClip in Symbol 250 MovieClip Frame 1
onClipEvent (load) { health = 5; active = false; _root.ii = 0; patternratestore = 30; fireratestore = 0; shotpattern = "0|3.15"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 232 MovieClip in Symbol 250 MovieClip Frame 1
onClipEvent (load) { health = 5; active = false; _root.ii = 0; patternratestore = 30; fireratestore = 0; shotpattern = "0|3.15"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 232 MovieClip in Symbol 250 MovieClip Frame 1
onClipEvent (load) { health = 5; active = false; _root.ii = 0; patternratestore = 30; fireratestore = 0; shotpattern = "0|3.15"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 248 MovieClip in Symbol 250 MovieClip Frame 1
onClipEvent (load) { health = 5; active = false; _root.ii = 0; patternratestore = 30; fireratestore = 0; shotpattern = "1.770|1.370"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 230 MovieClip in Symbol 250 MovieClip Frame 1
onClipEvent (load) { sidespeed = 0; health = 2; active = false; _root.ii = 0; patternratestore = 10; fireratestore = 0; shotpattern = "1.570"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 230 MovieClip in Symbol 250 MovieClip Frame 1
onClipEvent (load) { sidespeed = 0; health = 2; active = false; _root.ii = 0; patternratestore = 10; fireratestore = 0; shotpattern = "1.570"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 230 MovieClip in Symbol 250 MovieClip Frame 1
onClipEvent (load) { sidespeed = 0; health = 2; active = false; _root.ii = 0; patternratestore = 10; fireratestore = 0; shotpattern = "1.570"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 230 MovieClip in Symbol 250 MovieClip Frame 1
onClipEvent (load) { sidespeed = 0; health = 2; active = false; _root.ii = 0; patternratestore = 10; fireratestore = 0; shotpattern = "1.570"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 230 MovieClip in Symbol 250 MovieClip Frame 1
onClipEvent (load) { sidespeed = 0; health = 2; active = false; _root.ii = 0; patternratestore = 10; fireratestore = 0; shotpattern = "1.570"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 230 MovieClip in Symbol 250 MovieClip Frame 1
onClipEvent (load) { sidespeed = 0; health = 2; active = false; _root.ii = 0; patternratestore = 10; fireratestore = 0; shotpattern = "1.570"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 230 MovieClip in Symbol 250 MovieClip Frame 1
onClipEvent (load) { sidespeed = 0; health = 2; active = false; _root.ii = 0; patternratestore = 10; fireratestore = 0; shotpattern = "1.570"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 230 MovieClip in Symbol 250 MovieClip Frame 1
onClipEvent (load) { sidespeed = 0; health = 2; active = false; _root.ii = 0; patternratestore = 10; fireratestore = 0; shotpattern = "1.570"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 230 MovieClip in Symbol 250 MovieClip Frame 1
onClipEvent (load) { sidespeed = 0; health = 2; active = false; _root.ii = 0; patternratestore = 10; fireratestore = 0; shotpattern = "1.570"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 230 MovieClip in Symbol 250 MovieClip Frame 1
onClipEvent (load) { sidespeed = 0; health = 2; active = false; _root.ii = 0; patternratestore = 10; fireratestore = 0; shotpattern = "1.570"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 230 MovieClip in Symbol 250 MovieClip Frame 1
onClipEvent (load) { sidespeed = 0; health = 2; active = false; _root.ii = 0; patternratestore = 10; fireratestore = 0; shotpattern = "1.570"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 236 MovieClip in Symbol 250 MovieClip Frame 1
onClipEvent (load) { shield._visible = false; health = 10; shieldtransparency = health; active = false; _root.ii = 0; patternratestore = 3; fireratestore = 0; firerate = fireratestore; patternrate = patternratestore; shotno = 0; fireangle = 0; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { if (shield._visible == true) { shield._visible = false; } fireangle = fireangle - 0.1; if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparency); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; _root.money = _root.money + (1000 + random(100)); this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii].angle = fireangle; _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 5; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 239 MovieClip in Symbol 250 MovieClip Frame 1
onClipEvent (load) { health = 40; shieldtransparency = health; distance = 400; strength = -4; active = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { _root.ii++; point = {x:_x, y:_y}; _parent.localToGlobal(point); this.swapDepths(_root.ii); if ((((_root.ship._x < point.x) and (_root.ship._x > (point.x - distance))) and (_root.ship._y < point.y)) and (_root.ship._y > (point.y - this._height))) { _root.ship._x = _root.ship._x - strength; } if (shield._visible == true) { shield._visible = false; } if (hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y - (this._height / 2); _root["shot" + _root.ii]._width = this._height; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } } if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparency); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y - (this._height / 2); _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._width; _root.hitbox._y = 900; _root.money = _root.money + (1000 + random(100)); this.removeMovieClip(); } _root.hitbox._y = 900; } } }
Instance of Symbol 230 MovieClip in Symbol 250 MovieClip Frame 1
onClipEvent (load) { sidespeed = 0; health = 2; active = false; _root.ii = 0; patternratestore = 10; fireratestore = 0; shotpattern = "1.570"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 236 MovieClip in Symbol 250 MovieClip Frame 1
onClipEvent (load) { shield._visible = false; health = 10; shieldtransparency = health; active = false; _root.ii = 0; patternratestore = 2; fireratestore = 0; firerate = fireratestore; patternrate = patternratestore; shotno = 0; fireangle = 0; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { _root.nextlevel = true; this.removeMovieClip(); } if (active == true) { if (shield._visible == true) { shield._visible = false; } fireangle = fireangle - 0.1; if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparency); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; _root.money = _root.money + (1000 + random(100)); _root.nextlevel = true; this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii].angle = fireangle; _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 5; } else { firerate++; } } else { patternrate++; } } } }
Symbol 252 MovieClip Frame 1
stop();
Instance of Symbol 232 MovieClip in Symbol 253 MovieClip Frame 1
onClipEvent (load) { health = 5; active = false; _root.ii = 0; patternratestore = 30; fireratestore = 0; shotpattern = "0|3.15"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 230 MovieClip in Symbol 253 MovieClip Frame 1
onClipEvent (load) { sidespeed = 0; health = 2; active = false; _root.ii = 0; patternratestore = 10; fireratestore = 0; shotpattern = "1.570"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 236 MovieClip in Symbol 253 MovieClip Frame 1
onClipEvent (load) { shield._visible = false; health = 10; shieldtransparency = health; active = false; _root.ii = 0; patternratestore = 2; fireratestore = 0; firerate = fireratestore; patternrate = patternratestore; shotno = 0; fireangle = 0; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { _root.nextlevel = true; this.removeMovieClip(); } if (active == true) { if (shield._visible == true) { shield._visible = false; } fireangle = fireangle - 0.1; if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparency); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; _root.money = _root.money + (1000 + random(100)); _root.nextlevel = true; this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii].angle = fireangle; _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 5; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 252 MovieClip in Symbol 253 MovieClip Frame 1
onClipEvent (load) { health = 5; active = false; _root.ii = 0; patternratestore = 0; fireratestore = 5; shotpattern = "1.570|1.670|1.770|1.870|1.770|1.670|1.570|1.470|1.370|1.270|1.370|1.470"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 252 MovieClip in Symbol 253 MovieClip Frame 1
onClipEvent (load) { health = 5; active = false; _root.ii = 0; patternratestore = 0; fireratestore = 5; shotpattern = "1.570|1.670|1.770|1.870|1.770|1.670|1.570|1.470|1.370|1.270|1.370|1.470"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 252 MovieClip in Symbol 253 MovieClip Frame 1
onClipEvent (load) { health = 5; active = false; _root.ii = 0; patternratestore = 0; fireratestore = 5; shotpattern = "1.570|1.670|1.770|1.870|1.770|1.670|1.570|1.470|1.370|1.270|1.370|1.470"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 232 MovieClip in Symbol 253 MovieClip Frame 1
onClipEvent (load) { health = 5; active = false; _root.ii = 0; patternratestore = 30; fireratestore = 0; shotpattern = "0|3.15"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 230 MovieClip in Symbol 253 MovieClip Frame 1
onClipEvent (load) { sidespeed = 0; health = 2; active = false; _root.ii = 0; patternratestore = 10; fireratestore = 0; shotpattern = "1.570"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 230 MovieClip in Symbol 253 MovieClip Frame 1
onClipEvent (load) { sidespeed = 0; health = 2; active = false; _root.ii = 0; patternratestore = 10; fireratestore = 0; shotpattern = "1.570"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 230 MovieClip in Symbol 253 MovieClip Frame 1
onClipEvent (load) { sidespeed = 0; health = 2; active = false; _root.ii = 0; patternratestore = 10; fireratestore = 0; shotpattern = "1.570"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 230 MovieClip in Symbol 253 MovieClip Frame 1
onClipEvent (load) { sidespeed = 0; health = 2; active = false; _root.ii = 0; patternratestore = 10; fireratestore = 0; shotpattern = "1.570"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 230 MovieClip in Symbol 253 MovieClip Frame 1
onClipEvent (load) { sidespeed = 0; health = 2; active = false; _root.ii = 0; patternratestore = 10; fireratestore = 0; shotpattern = "1.570"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 230 MovieClip in Symbol 253 MovieClip Frame 1
onClipEvent (load) { sidespeed = 0; health = 2; active = false; _root.ii = 0; patternratestore = 10; fireratestore = 0; shotpattern = "1.570"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 236 MovieClip in Symbol 253 MovieClip Frame 1
onClipEvent (load) { shield._visible = false; health = 10; shieldtransparency = health; active = false; _root.ii = 0; patternratestore = 2; fireratestore = 0; firerate = fireratestore; patternrate = patternratestore; shotno = 0; fireangle = 0; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { if (shield._visible == true) { shield._visible = false; } fireangle = fireangle - 0.1; if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparency); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; _root.money = _root.money + (1000 + random(100)); this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii].angle = fireangle; _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 5; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 236 MovieClip in Symbol 253 MovieClip Frame 1
onClipEvent (load) { shield._visible = false; health = 10; shieldtransparency = health; active = false; _root.ii = 0; patternratestore = 2; fireratestore = 0; firerate = fireratestore; patternrate = patternratestore; shotno = 0; fireangle = 0; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { if (shield._visible == true) { shield._visible = false; } fireangle = fireangle - 0.1; if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparency); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; _root.money = _root.money + (1000 + random(100)); this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii].angle = fireangle; _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 5; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 252 MovieClip in Symbol 253 MovieClip Frame 1
onClipEvent (load) { health = 5; active = false; _root.ii = 0; patternratestore = 0; fireratestore = 5; shotpattern = "1.570|1.670|1.770|1.870|1.770|1.670|1.570|1.470|1.370|1.270|1.370|1.470"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 252 MovieClip in Symbol 253 MovieClip Frame 1
onClipEvent (load) { health = 5; active = false; _root.ii = 0; patternratestore = 0; fireratestore = 5; shotpattern = "1.570|1.670|1.770|1.870|1.770|1.670|1.570|1.470|1.370|1.270|1.370|1.470"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 252 MovieClip in Symbol 253 MovieClip Frame 1
onClipEvent (load) { health = 5; active = false; _root.ii = 0; patternratestore = 0; fireratestore = 5; shotpattern = "1.570|1.670|1.770|1.870|1.770|1.670|1.570|1.470|1.370|1.270|1.370|1.470"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 252 MovieClip in Symbol 253 MovieClip Frame 1
onClipEvent (load) { health = 5; active = false; _root.ii = 0; patternratestore = 0; fireratestore = 5; shotpattern = "1.570|1.670|1.770|1.870|1.770|1.670|1.570|1.470|1.370|1.270|1.370|1.470"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 232 MovieClip in Symbol 253 MovieClip Frame 1
onClipEvent (load) { health = 5; active = false; _root.ii = 0; patternratestore = 30; fireratestore = 0; shotpattern = "0|3.15"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 232 MovieClip in Symbol 253 MovieClip Frame 1
onClipEvent (load) { health = 5; active = false; _root.ii = 0; patternratestore = 30; fireratestore = 0; shotpattern = "0|3.15"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 232 MovieClip in Symbol 253 MovieClip Frame 1
onClipEvent (load) { health = 5; active = false; _root.ii = 0; patternratestore = 30; fireratestore = 0; shotpattern = "0|3.15"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 232 MovieClip in Symbol 253 MovieClip Frame 1
onClipEvent (load) { health = 5; active = false; _root.ii = 0; patternratestore = 30; fireratestore = 0; shotpattern = "0|3.15"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 232 MovieClip in Symbol 253 MovieClip Frame 1
onClipEvent (load) { health = 5; active = false; _root.ii = 0; patternratestore = 30; fireratestore = 0; shotpattern = "0|3.15"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 232 MovieClip in Symbol 253 MovieClip Frame 1
onClipEvent (load) { health = 5; active = false; _root.ii = 0; patternratestore = 30; fireratestore = 0; shotpattern = "0|3.15"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 236 MovieClip in Symbol 253 MovieClip Frame 1
onClipEvent (load) { shield._visible = false; health = 10; shieldtransparency = health; active = false; _root.ii = 0; patternratestore = 2; fireratestore = 0; firerate = fireratestore; patternrate = patternratestore; shotno = 0; fireangle = 0; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { if (shield._visible == true) { shield._visible = false; } fireangle = fireangle - 0.1; if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparency); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; _root.money = _root.money + (1000 + random(100)); this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii].angle = fireangle; _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 5; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 230 MovieClip in Symbol 253 MovieClip Frame 1
onClipEvent (load) { sidespeed = 0; health = 2; active = false; _root.ii = 0; patternratestore = 10; fireratestore = 0; shotpattern = "1.570"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 230 MovieClip in Symbol 253 MovieClip Frame 1
onClipEvent (load) { sidespeed = 0; health = 2; active = false; _root.ii = 0; patternratestore = 10; fireratestore = 0; shotpattern = "1.570"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 230 MovieClip in Symbol 253 MovieClip Frame 1
onClipEvent (load) { sidespeed = 0; health = 2; active = false; _root.ii = 0; patternratestore = 10; fireratestore = 0; shotpattern = "1.570"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 230 MovieClip in Symbol 253 MovieClip Frame 1
onClipEvent (load) { sidespeed = 0; health = 2; active = false; _root.ii = 0; patternratestore = 10; fireratestore = 0; shotpattern = "1.570"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 230 MovieClip in Symbol 253 MovieClip Frame 1
onClipEvent (load) { sidespeed = 0; health = 2; active = false; _root.ii = 0; patternratestore = 10; fireratestore = 0; shotpattern = "1.570"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 248 MovieClip in Symbol 253 MovieClip Frame 1
onClipEvent (load) { health = 5; active = false; _root.ii = 0; patternratestore = 30; fireratestore = 0; shotpattern = "1.770|1.370"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 248 MovieClip in Symbol 253 MovieClip Frame 1
onClipEvent (load) { health = 5; active = false; _root.ii = 0; patternratestore = 30; fireratestore = 0; shotpattern = "1.770|1.370"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Symbol 256 MovieClip Frame 1
stop();
Instance of Symbol 236 MovieClip in Symbol 257 MovieClip Frame 1
onClipEvent (load) { shield._visible = false; health = 10; shieldtransparency = health; active = false; _root.ii = 0; patternratestore = 2; fireratestore = 0; firerate = fireratestore; patternrate = patternratestore; shotno = 0; fireangle = 0; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { if (shield._visible == true) { shield._visible = false; } fireangle = fireangle - 0.1; if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparency); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; _root.money = _root.money + (1000 + random(100)); this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii].angle = fireangle; _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 5; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 236 MovieClip in Symbol 257 MovieClip Frame 1
onClipEvent (load) { shield._visible = false; health = 10; shieldtransparency = health; active = false; _root.ii = 0; patternratestore = 2; fireratestore = 0; firerate = fireratestore; patternrate = patternratestore; shotno = 0; fireangle = 0; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { if (shield._visible == true) { shield._visible = false; } fireangle = fireangle - 0.1; if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparency); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; _root.money = _root.money + (1000 + random(100)); this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii].angle = fireangle; _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 5; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 252 MovieClip in Symbol 257 MovieClip Frame 1
onClipEvent (load) { health = 5; active = false; _root.ii = 0; patternratestore = 0; fireratestore = 5; shotpattern = "1.570|1.670|1.770|1.870|1.770|1.670|1.570|1.470|1.370|1.270|1.370|1.470"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 232 MovieClip in Symbol 257 MovieClip Frame 1
onClipEvent (load) { health = 5; active = false; _root.ii = 0; patternratestore = 30; fireratestore = 0; shotpattern = "0|3.15"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 232 MovieClip in Symbol 257 MovieClip Frame 1
onClipEvent (load) { health = 5; active = false; _root.ii = 0; patternratestore = 30; fireratestore = 0; shotpattern = "0|3.15"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 232 MovieClip in Symbol 257 MovieClip Frame 1
onClipEvent (load) { health = 5; active = false; _root.ii = 0; patternratestore = 30; fireratestore = 0; shotpattern = "0|3.15"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 232 MovieClip in Symbol 257 MovieClip Frame 1
onClipEvent (load) { health = 5; active = false; _root.ii = 0; patternratestore = 30; fireratestore = 0; shotpattern = "0|3.15"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 232 MovieClip in Symbol 257 MovieClip Frame 1
onClipEvent (load) { health = 5; active = false; _root.ii = 0; patternratestore = 30; fireratestore = 0; shotpattern = "0|3.15"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 232 MovieClip in Symbol 257 MovieClip Frame 1
onClipEvent (load) { health = 5; active = false; _root.ii = 0; patternratestore = 30; fireratestore = 0; shotpattern = "0|3.15"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 230 MovieClip in Symbol 257 MovieClip Frame 1
onClipEvent (load) { sidespeed = 0; health = 2; active = false; _root.ii = 0; patternratestore = 10; fireratestore = 0; shotpattern = "1.570"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 230 MovieClip in Symbol 257 MovieClip Frame 1
onClipEvent (load) { sidespeed = 0; health = 2; active = false; _root.ii = 0; patternratestore = 10; fireratestore = 0; shotpattern = "1.570"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 230 MovieClip in Symbol 257 MovieClip Frame 1
onClipEvent (load) { sidespeed = 0; health = 2; active = false; _root.ii = 0; patternratestore = 10; fireratestore = 0; shotpattern = "1.570"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 230 MovieClip in Symbol 257 MovieClip Frame 1
onClipEvent (load) { sidespeed = 0; health = 2; active = false; _root.ii = 0; patternratestore = 10; fireratestore = 0; shotpattern = "1.570"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 230 MovieClip in Symbol 257 MovieClip Frame 1
onClipEvent (load) { sidespeed = 0; health = 2; active = false; _root.ii = 0; patternratestore = 10; fireratestore = 0; shotpattern = "1.570"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 236 MovieClip in Symbol 257 MovieClip Frame 1
onClipEvent (load) { shield._visible = false; health = 10; shieldtransparency = health; active = false; _root.ii = 0; patternratestore = 2; fireratestore = 0; firerate = fireratestore; patternrate = patternratestore; shotno = 0; fireangle = 0; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { if (shield._visible == true) { shield._visible = false; } fireangle = fireangle - 0.1; if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparency); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; _root.money = _root.money + (1000 + random(100)); this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii].angle = fireangle; _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 5; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 252 MovieClip in Symbol 257 MovieClip Frame 1
onClipEvent (load) { health = 5; active = false; _root.ii = 0; patternratestore = 0; fireratestore = 5; shotpattern = "1.570|1.670|1.770|1.870|1.770|1.670|1.570|1.470|1.370|1.270|1.370|1.470"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 252 MovieClip in Symbol 257 MovieClip Frame 1
onClipEvent (load) { health = 5; active = false; _root.ii = 0; patternratestore = 0; fireratestore = 5; shotpattern = "1.570|1.670|1.770|1.870|1.770|1.670|1.570|1.470|1.370|1.270|1.370|1.470"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 232 MovieClip in Symbol 257 MovieClip Frame 1
onClipEvent (load) { health = 5; active = false; _root.ii = 0; patternratestore = 30; fireratestore = 0; shotpattern = "0|3.15"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 232 MovieClip in Symbol 257 MovieClip Frame 1
onClipEvent (load) { health = 5; active = false; _root.ii = 0; patternratestore = 30; fireratestore = 0; shotpattern = "0|3.15"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 232 MovieClip in Symbol 257 MovieClip Frame 1
onClipEvent (load) { health = 5; active = false; _root.ii = 0; patternratestore = 30; fireratestore = 0; shotpattern = "0|3.15"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 245 MovieClip in Symbol 257 MovieClip Frame 1
onClipEvent (load) { health = 5; active = false; spin = random(10) - 5; if (spin == 0) { spin = 1; } } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if ((this.hitTest(_root.stage) == false) and (active == true)) { this.removeMovieClip(); } if (this.hitTest(_root.stage)) { active = true; this._rotation = this._rotation + spin; if (this.hitTest(_root.hitbox)) { if (health > 0) { health--; } else { point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; _root.ii++; this.swapDepths(_root.ii + 1345); _root.money = _root.money + 10; this.removeMovieClip(); _root.hitbox._x = 2000; } } } } }
Instance of Symbol 245 MovieClip in Symbol 257 MovieClip Frame 1
onClipEvent (load) { health = 5; active = false; spin = random(10) - 5; if (spin == 0) { spin = 1; } } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if ((this.hitTest(_root.stage) == false) and (active == true)) { this.removeMovieClip(); } if (this.hitTest(_root.stage)) { active = true; this._rotation = this._rotation + spin; if (this.hitTest(_root.hitbox)) { if (health > 0) { health--; } else { point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; _root.ii++; this.swapDepths(_root.ii + 1345); _root.money = _root.money + 10; this.removeMovieClip(); _root.hitbox._x = 2000; } } } } }
Instance of Symbol 245 MovieClip in Symbol 257 MovieClip Frame 1
onClipEvent (load) { health = 5; active = false; spin = random(10) - 5; if (spin == 0) { spin = 1; } } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if ((this.hitTest(_root.stage) == false) and (active == true)) { this.removeMovieClip(); } if (this.hitTest(_root.stage)) { active = true; this._rotation = this._rotation + spin; if (this.hitTest(_root.hitbox)) { if (health > 0) { health--; } else { point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; _root.ii++; this.swapDepths(_root.ii + 1345); _root.money = _root.money + 10; this.removeMovieClip(); _root.hitbox._x = 2000; } } } } }
Instance of Symbol 245 MovieClip in Symbol 257 MovieClip Frame 1
onClipEvent (load) { health = 5; active = false; spin = random(10) - 5; if (spin == 0) { spin = 1; } } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if ((this.hitTest(_root.stage) == false) and (active == true)) { this.removeMovieClip(); } if (this.hitTest(_root.stage)) { active = true; this._rotation = this._rotation + spin; if (this.hitTest(_root.hitbox)) { if (health > 0) { health--; } else { point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; _root.ii++; this.swapDepths(_root.ii + 1345); _root.money = _root.money + 10; this.removeMovieClip(); _root.hitbox._x = 2000; } } } } }
Instance of Symbol 245 MovieClip in Symbol 257 MovieClip Frame 1
onClipEvent (load) { health = 5; active = false; spin = random(10) - 5; if (spin == 0) { spin = 1; } } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if ((this.hitTest(_root.stage) == false) and (active == true)) { this.removeMovieClip(); } if (this.hitTest(_root.stage)) { active = true; this._rotation = this._rotation + spin; if (this.hitTest(_root.hitbox)) { if (health > 0) { health--; } else { point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; _root.ii++; this.swapDepths(_root.ii + 1345); _root.money = _root.money + 10; this.removeMovieClip(); _root.hitbox._x = 2000; } } } } }
Instance of Symbol 245 MovieClip in Symbol 257 MovieClip Frame 1
onClipEvent (load) { health = 5; active = false; spin = random(10) - 5; if (spin == 0) { spin = 1; } } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if ((this.hitTest(_root.stage) == false) and (active == true)) { this.removeMovieClip(); } if (this.hitTest(_root.stage)) { active = true; this._rotation = this._rotation + spin; if (this.hitTest(_root.hitbox)) { if (health > 0) { health--; } else { point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; _root.ii++; this.swapDepths(_root.ii + 1345); _root.money = _root.money + 10; this.removeMovieClip(); _root.hitbox._x = 2000; } } } } }
Instance of Symbol 245 MovieClip in Symbol 257 MovieClip Frame 1
onClipEvent (load) { health = 5; active = false; spin = random(10) - 5; if (spin == 0) { spin = 1; } } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if ((this.hitTest(_root.stage) == false) and (active == true)) { this.removeMovieClip(); } if (this.hitTest(_root.stage)) { active = true; this._rotation = this._rotation + spin; if (this.hitTest(_root.hitbox)) { if (health > 0) { health--; } else { point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; _root.ii++; this.swapDepths(_root.ii + 1345); _root.money = _root.money + 10; this.removeMovieClip(); _root.hitbox._x = 2000; } } } } }
Instance of Symbol 245 MovieClip in Symbol 257 MovieClip Frame 1
onClipEvent (load) { health = 5; active = false; spin = random(10) - 5; if (spin == 0) { spin = 1; } } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if ((this.hitTest(_root.stage) == false) and (active == true)) { this.removeMovieClip(); } if (this.hitTest(_root.stage)) { active = true; this._rotation = this._rotation + spin; if (this.hitTest(_root.hitbox)) { if (health > 0) { health--; } else { point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; _root.ii++; this.swapDepths(_root.ii + 1345); _root.money = _root.money + 10; this.removeMovieClip(); _root.hitbox._x = 2000; } } } } }
Instance of Symbol 245 MovieClip in Symbol 257 MovieClip Frame 1
onClipEvent (load) { health = 5; active = false; spin = random(10) - 5; if (spin == 0) { spin = 1; } } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if ((this.hitTest(_root.stage) == false) and (active == true)) { this.removeMovieClip(); } if (this.hitTest(_root.stage)) { active = true; this._rotation = this._rotation + spin; if (this.hitTest(_root.hitbox)) { if (health > 0) { health--; } else { point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; _root.ii++; this.swapDepths(_root.ii + 1345); _root.money = _root.money + 10; this.removeMovieClip(); _root.hitbox._x = 2000; } } } } }
Instance of Symbol 245 MovieClip in Symbol 257 MovieClip Frame 1
onClipEvent (load) { health = 5; active = false; spin = random(10) - 5; if (spin == 0) { spin = 1; } } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if ((this.hitTest(_root.stage) == false) and (active == true)) { this.removeMovieClip(); } if (this.hitTest(_root.stage)) { active = true; this._rotation = this._rotation + spin; if (this.hitTest(_root.hitbox)) { if (health > 0) { health--; } else { point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; _root.ii++; this.swapDepths(_root.ii + 1345); _root.money = _root.money + 10; this.removeMovieClip(); _root.hitbox._x = 2000; } } } } }
Instance of Symbol 245 MovieClip in Symbol 257 MovieClip Frame 1
onClipEvent (load) { health = 5; active = false; spin = random(10) - 5; if (spin == 0) { spin = 1; } } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if ((this.hitTest(_root.stage) == false) and (active == true)) { this.removeMovieClip(); } if (this.hitTest(_root.stage)) { active = true; this._rotation = this._rotation + spin; if (this.hitTest(_root.hitbox)) { if (health > 0) { health--; } else { point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; _root.ii++; this.swapDepths(_root.ii + 1345); _root.money = _root.money + 10; this.removeMovieClip(); _root.hitbox._x = 2000; } } } } }
Instance of Symbol 245 MovieClip in Symbol 257 MovieClip Frame 1
onClipEvent (load) { health = 5; active = false; spin = random(10) - 5; if (spin == 0) { spin = 1; } } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if ((this.hitTest(_root.stage) == false) and (active == true)) { this.removeMovieClip(); } if (this.hitTest(_root.stage)) { active = true; this._rotation = this._rotation + spin; if (this.hitTest(_root.hitbox)) { if (health > 0) { health--; } else { point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; _root.ii++; this.swapDepths(_root.ii + 1345); _root.money = _root.money + 10; this.removeMovieClip(); _root.hitbox._x = 2000; } } } } }
Instance of Symbol 245 MovieClip in Symbol 257 MovieClip Frame 1
onClipEvent (load) { health = 5; active = false; spin = random(10) - 5; if (spin == 0) { spin = 1; } } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if ((this.hitTest(_root.stage) == false) and (active == true)) { this.removeMovieClip(); } if (this.hitTest(_root.stage)) { active = true; this._rotation = this._rotation + spin; if (this.hitTest(_root.hitbox)) { if (health > 0) { health--; } else { point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; _root.ii++; this.swapDepths(_root.ii + 1345); _root.money = _root.money + 10; this.removeMovieClip(); _root.hitbox._x = 2000; } } } } }
Instance of Symbol 245 MovieClip in Symbol 257 MovieClip Frame 1
onClipEvent (load) { health = 5; active = false; spin = random(10) - 5; if (spin == 0) { spin = 1; } } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if ((this.hitTest(_root.stage) == false) and (active == true)) { this.removeMovieClip(); } if (this.hitTest(_root.stage)) { active = true; this._rotation = this._rotation + spin; if (this.hitTest(_root.hitbox)) { if (health > 0) { health--; } else { point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; _root.ii++; this.swapDepths(_root.ii + 1345); _root.money = _root.money + 10; this.removeMovieClip(); _root.hitbox._x = 2000; } } } } }
Instance of Symbol 245 MovieClip in Symbol 257 MovieClip Frame 1
onClipEvent (load) { health = 5; active = false; spin = random(10) - 5; if (spin == 0) { spin = 1; } } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if ((this.hitTest(_root.stage) == false) and (active == true)) { this.removeMovieClip(); } if (this.hitTest(_root.stage)) { active = true; this._rotation = this._rotation + spin; if (this.hitTest(_root.hitbox)) { if (health > 0) { health--; } else { point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; _root.ii++; this.swapDepths(_root.ii + 1345); _root.money = _root.money + 10; this.removeMovieClip(); _root.hitbox._x = 2000; } } } } }
Instance of Symbol 230 MovieClip in Symbol 257 MovieClip Frame 1
onClipEvent (load) { sidespeed = 0; health = 2; active = false; _root.ii = 0; patternratestore = 10; fireratestore = 0; shotpattern = "1.570"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 230 MovieClip in Symbol 257 MovieClip Frame 1
onClipEvent (load) { sidespeed = 0; health = 2; active = false; _root.ii = 0; patternratestore = 10; fireratestore = 0; shotpattern = "1.570"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 230 MovieClip in Symbol 257 MovieClip Frame 1
onClipEvent (load) { sidespeed = 0; health = 2; active = false; _root.ii = 0; patternratestore = 10; fireratestore = 0; shotpattern = "1.570"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 230 MovieClip in Symbol 257 MovieClip Frame 1
onClipEvent (load) { sidespeed = 0; health = 2; active = false; _root.ii = 0; patternratestore = 10; fireratestore = 0; shotpattern = "1.570"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 230 MovieClip in Symbol 257 MovieClip Frame 1
onClipEvent (load) { sidespeed = 0; health = 2; active = false; _root.ii = 0; patternratestore = 10; fireratestore = 0; shotpattern = "1.570"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 232 MovieClip in Symbol 257 MovieClip Frame 1
onClipEvent (load) { health = 5; active = false; _root.ii = 0; patternratestore = 30; fireratestore = 0; shotpattern = "0|3.15"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 232 MovieClip in Symbol 257 MovieClip Frame 1
onClipEvent (load) { health = 5; active = false; _root.ii = 0; patternratestore = 30; fireratestore = 0; shotpattern = "0|3.15"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 232 MovieClip in Symbol 257 MovieClip Frame 1
onClipEvent (load) { health = 5; active = false; _root.ii = 0; patternratestore = 30; fireratestore = 0; shotpattern = "0|3.15"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 232 MovieClip in Symbol 257 MovieClip Frame 1
onClipEvent (load) { health = 5; active = false; _root.ii = 0; patternratestore = 30; fireratestore = 0; shotpattern = "0|3.15"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 239 MovieClip in Symbol 257 MovieClip Frame 1
onClipEvent (load) { health = 40; shieldtransparency = health; distance = 400; strength = 4; active = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { _root.ii++; point = {x:_x, y:_y}; _parent.localToGlobal(point); this.swapDepths(_root.ii); if ((((_root.ship._x > point.x) and (_root.ship._x < (point.x + distance))) and (_root.ship._y < point.y)) and (_root.ship._y > (point.y - this._height))) { _root.ship._x = _root.ship._x - strength; } if (shield._visible == true) { shield._visible = false; } if (hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y - (this._height / 2); _root["shot" + _root.ii]._width = this._height; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } } if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparency); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y - (this._height / 2); _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._width; _root.hitbox._y = 900; _root.money = _root.money + (1000 + random(100)); this.removeMovieClip(); } _root.hitbox._y = 900; } } }
Instance of Symbol 239 MovieClip in Symbol 257 MovieClip Frame 1
onClipEvent (load) { health = 40; shieldtransparency = health; distance = 400; strength = 4; active = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { _root.ii++; point = {x:_x, y:_y}; _parent.localToGlobal(point); this.swapDepths(_root.ii); if ((((_root.ship._x > point.x) and (_root.ship._x < (point.x + distance))) and (_root.ship._y < point.y)) and (_root.ship._y > (point.y - this._height))) { _root.ship._x = _root.ship._x - strength; } if (shield._visible == true) { shield._visible = false; } if (hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y - (this._height / 2); _root["shot" + _root.ii]._width = this._height; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } } if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparency); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y - (this._height / 2); _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._width; _root.hitbox._y = 900; _root.money = _root.money + (1000 + random(100)); this.removeMovieClip(); } _root.hitbox._y = 900; } } }
Instance of Symbol 239 MovieClip in Symbol 257 MovieClip Frame 1
onClipEvent (load) { health = 40; shieldtransparency = health; distance = 400; strength = 4; active = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { _root.ii++; point = {x:_x, y:_y}; _parent.localToGlobal(point); this.swapDepths(_root.ii); if ((((_root.ship._x > point.x) and (_root.ship._x < (point.x + distance))) and (_root.ship._y < point.y)) and (_root.ship._y > (point.y - this._height))) { _root.ship._x = _root.ship._x - strength; } if (shield._visible == true) { shield._visible = false; } if (hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y - (this._height / 2); _root["shot" + _root.ii]._width = this._height; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } } if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparency); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y - (this._height / 2); _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._width; _root.hitbox._y = 900; _root.money = _root.money + (1000 + random(100)); this.removeMovieClip(); } _root.hitbox._y = 900; } } }
Instance of Symbol 252 MovieClip in Symbol 257 MovieClip Frame 1
onClipEvent (load) { health = 5; active = false; _root.ii = 0; patternratestore = 0; fireratestore = 5; shotpattern = "1.570|1.670|1.770|1.870|1.770|1.670|1.570|1.470|1.370|1.270|1.370|1.470"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 252 MovieClip in Symbol 257 MovieClip Frame 1
onClipEvent (load) { health = 5; active = false; _root.ii = 0; patternratestore = 0; fireratestore = 5; shotpattern = "1.570|1.670|1.770|1.870|1.770|1.670|1.570|1.470|1.370|1.270|1.370|1.470"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 252 MovieClip in Symbol 257 MovieClip Frame 1
onClipEvent (load) { health = 5; active = false; _root.ii = 0; patternratestore = 0; fireratestore = 5; shotpattern = "1.570|1.670|1.770|1.870|1.770|1.670|1.570|1.470|1.370|1.270|1.370|1.470"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 252 MovieClip in Symbol 257 MovieClip Frame 1
onClipEvent (load) { health = 5; active = false; _root.ii = 0; patternratestore = 0; fireratestore = 5; shotpattern = "1.570|1.670|1.770|1.870|1.770|1.670|1.570|1.470|1.370|1.270|1.370|1.470"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 256 MovieClip in Symbol 257 MovieClip Frame 1
onClipEvent (load) { shield._visible = false; health = 150; shieldtransparency = health; active = false; _root.ii = 0; patternratestore = 1; fireratestore = 0; firerate = fireratestore; patternrate = patternratestore; shotno = 0; fireangle = 0; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { if (point.y < 100) { this._y = this._y - 1; } else { this._y = this._y - 2; } if (shield._visible == true) { shield._visible = false; } fireangle = fireangle - 0.1; if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparency); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; _root.money = _root.money + (1000 + random(100)); _root.sound.gotoAndStop("showedhim"); _root.sound.gotoAndStop("blank"); _root.stage._alpha = 0; _root.gamewon = true; _root.gameover = true; this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii].angle = fireangle; _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 5; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 230 MovieClip in Symbol 257 MovieClip Frame 1
onClipEvent (load) { sidespeed = 0; health = 2; active = false; _root.ii = 0; patternratestore = 10; fireratestore = 0; shotpattern = "1.570"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 230 MovieClip in Symbol 257 MovieClip Frame 1
onClipEvent (load) { sidespeed = 0; health = 2; active = false; _root.ii = 0; patternratestore = 10; fireratestore = 0; shotpattern = "1.570"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 230 MovieClip in Symbol 257 MovieClip Frame 1
onClipEvent (load) { sidespeed = 0; health = 2; active = false; _root.ii = 0; patternratestore = 10; fireratestore = 0; shotpattern = "1.570"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 230 MovieClip in Symbol 257 MovieClip Frame 1
onClipEvent (load) { sidespeed = 0; health = 2; active = false; _root.ii = 0; patternratestore = 10; fireratestore = 0; shotpattern = "1.570"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 230 MovieClip in Symbol 257 MovieClip Frame 1
onClipEvent (load) { sidespeed = 0; health = 2; active = false; _root.ii = 0; patternratestore = 10; fireratestore = 0; shotpattern = "1.570"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 232 MovieClip in Symbol 257 MovieClip Frame 1
onClipEvent (load) { health = 5; active = false; _root.ii = 0; patternratestore = 30; fireratestore = 0; shotpattern = "0|3.15"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 232 MovieClip in Symbol 257 MovieClip Frame 1
onClipEvent (load) { health = 5; active = false; _root.ii = 0; patternratestore = 30; fireratestore = 0; shotpattern = "0|3.15"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 232 MovieClip in Symbol 257 MovieClip Frame 1
onClipEvent (load) { health = 5; active = false; _root.ii = 0; patternratestore = 30; fireratestore = 0; shotpattern = "0|3.15"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 232 MovieClip in Symbol 257 MovieClip Frame 1
onClipEvent (load) { health = 5; active = false; _root.ii = 0; patternratestore = 30; fireratestore = 0; shotpattern = "0|3.15"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 232 MovieClip in Symbol 257 MovieClip Frame 1
onClipEvent (load) { health = 5; active = false; _root.ii = 0; patternratestore = 30; fireratestore = 0; shotpattern = "0|3.15"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 232 MovieClip in Symbol 257 MovieClip Frame 1
onClipEvent (load) { health = 5; active = false; _root.ii = 0; patternratestore = 30; fireratestore = 0; shotpattern = "0|3.15"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 236 MovieClip in Symbol 257 MovieClip Frame 1
onClipEvent (load) { shield._visible = false; health = 10; shieldtransparency = health; active = false; _root.ii = 0; patternratestore = 2; fireratestore = 0; firerate = fireratestore; patternrate = patternratestore; shotno = 0; fireangle = 0; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { if (shield._visible == true) { shield._visible = false; } fireangle = fireangle - 0.1; if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparency); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; _root.money = _root.money + (1000 + random(100)); this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii].angle = fireangle; _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 5; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 230 MovieClip in Symbol 257 MovieClip Frame 1
onClipEvent (load) { sidespeed = 0; health = 2; active = false; _root.ii = 0; patternratestore = 10; fireratestore = 0; shotpattern = "1.570"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 232 MovieClip in Symbol 257 MovieClip Frame 1
onClipEvent (load) { health = 5; active = false; _root.ii = 0; patternratestore = 30; fireratestore = 0; shotpattern = "0|3.15"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 232 MovieClip in Symbol 257 MovieClip Frame 1
onClipEvent (load) { health = 5; active = false; _root.ii = 0; patternratestore = 30; fireratestore = 0; shotpattern = "0|3.15"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 232 MovieClip in Symbol 257 MovieClip Frame 1
onClipEvent (load) { health = 5; active = false; _root.ii = 0; patternratestore = 30; fireratestore = 0; shotpattern = "0|3.15"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Instance of Symbol 232 MovieClip in Symbol 257 MovieClip Frame 1
onClipEvent (load) { health = 5; active = false; _root.ii = 0; patternratestore = 30; fireratestore = 0; shotpattern = "0|3.15"; shotpattern = shotpattern.split("|"); firerate = fireratestore; patternrate = patternratestore; shotno = 0; shieldtransparancy = health; shield._visible = false; } onClipEvent (enterFrame) { if (_root.gamepaused == false) { if (_root.nextlevel == true) { this.removeMovieClip(); } else if (this.hitTest(_root.stage)) { active = true; } else if (active == true) { this.removeMovieClip(); } if (active == true) { this._y++; if (shield._visible == true) { shield._visible = false; } if (this.hitTest(_root.ship.hit)) { _root.health = 0; _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; this.removeMovieClip(); } point = {x:_x, y:_y}; _parent.localToGlobal(point); _root.ii++; this.swapDepths(_root.ii + 100); if (this.hitTest(_root.hitbox) or (_root.destroy == true)) { if (_root.destroy == true) { health = 0; } if (health > 0) { health--; shield._alpha = shield._alpha - (100 / shieldtransparancy); shield._visible = true; } else { _root.ii++; _root.explosion.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii]._width = this._width; _root["shot" + _root.ii]._height = this._height; _root.hitbox._y = 900; if (_root.destroy != true) { _root.money = _root.money + (300 + random(100)); } this.removeMovieClip(); } _root.hitbox._y = 900; } if (patternrate == patternratestore) { if (firerate == fireratestore) { fireangle = shotpattern[shotno]; if (shotno < (shotpattern.length - 1)) { shotno++; } else { patternrate = 0; shotno = 0; } firerate = 0; _root.ii++; _root.shot.duplicateMovieClip("shot" + _root.ii, _root.ii, _root.ii); if (_root.ship._y > point.y) { _root["shot" + _root.ii].angle = fireangle; } else { _root["shot" + _root.ii].angle = -fireangle; } _root["shot" + _root.ii]._x = point.x; _root["shot" + _root.ii]._y = point.y; _root["shot" + _root.ii].speed = 10; } else { firerate++; } } else { patternrate++; } } } }
Symbol 260 MovieClip Frame 1
stop();
Symbol 267 MovieClip Frame 1
stop();
Instance of Symbol 49 MovieClip in Symbol 267 MovieClip Frame 2
onClipEvent (load) { text = "SUBMIT"; } on (press) { username = _parent.inputbox.text; points = _root.score; loadVariablesNum ("http://www.the-exp.com/scoreboard.php", 1, "POST"); _root.gotoAndStop("credits"); }
Symbol 290 MovieClip Frame 322
stop();
Instance of Symbol 49 MovieClip in Symbol 290 MovieClip Frame 322
onClipEvent (load) { text = "CHECK"; } on (release) { getURL ("http://www.the-exp.com/scoreboard.php", "blank"); }

Library Items

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

Instance Names

"titleready"Frame 225Symbol 80 MovieClip
"sound"Frame 226Symbol 91 MovieClip
"stage"Frame 227Symbol 109 MovieClip
"star1"Frame 227Symbol 111 MovieClip
"star2"Frame 227Symbol 111 MovieClip
"star3"Frame 227Symbol 111 MovieClip
"star4"Frame 227Symbol 111 MovieClip
"ship"Frame 227Symbol 127 MovieClip
"control"Frame 227Symbol 111 MovieClip
"hud"Frame 227Symbol 152 MovieClip
"hitbox"Frame 227Symbol 109 MovieClip
"explosion"Frame 227Symbol 165 MovieClip
"shot"Frame 227Symbol 217 MovieClip
"playerexplosion"Frame 227Symbol 223 MovieClip
"playershot"Frame 227Symbol 225 MovieClip
"pausesign"Frame 227Symbol 228 MovieClip
"level"Frame 227Symbol 233 MovieClip
"level"Frame 228Symbol 243 MovieClip
"level"Frame 229Symbol 246 MovieClip
"level"Frame 230Symbol 249 MovieClip
"level"Frame 231Symbol 250 MovieClip
"level"Frame 232Symbol 253 MovieClip
"level"Frame 233Symbol 257 MovieClip
"bar"Symbol 11 MovieClip Frame 1Symbol 3 MovieClip
"gun1"Symbol 120 MovieClip Frame 1Symbol 118 MovieClip
"gun2"Symbol 120 MovieClip Frame 1Symbol 118 MovieClip
"body"Symbol 127 MovieClip Frame 1Symbol 120 MovieClip
"hit"Symbol 127 MovieClip Frame 1Symbol 122 MovieClip
"light"Symbol 127 MovieClip Frame 1Symbol 124 MovieClip
"shield"Symbol 127 MovieClip Frame 1Symbol 126 MovieClip
"bar"Symbol 130 MovieClip Frame 1Symbol 109 MovieClip
"bar"Symbol 132 MovieClip Frame 1Symbol 109 MovieClip
"spin"Symbol 145 MovieClip Frame 1Symbol 141 MovieClip
"sb1"Symbol 152 MovieClip Frame 1Symbol 145 MovieClip
"sb2"Symbol 152 MovieClip Frame 1Symbol 145 MovieClip
"sb3"Symbol 152 MovieClip Frame 1Symbol 145 MovieClip
"fpbutton"Symbol 213 MovieClip Frame 2Symbol 49 MovieClip
"ssbutton"Symbol 213 MovieClip Frame 2Symbol 49 MovieClip
"sshotbutton"Symbol 213 MovieClip Frame 2Symbol 49 MovieClip
"bsbutton"Symbol 213 MovieClip Frame 2Symbol 49 MovieClip
"hpbutton"Symbol 213 MovieClip Frame 2Symbol 49 MovieClip
"sbbutton"Symbol 213 MovieClip Frame 2Symbol 49 MovieClip
"hit"Symbol 217 MovieClip Frame 1Symbol 216 MovieClip
"shield"Symbol 230 MovieClip Frame 1Symbol 126 MovieClip
"shield"Symbol 232 MovieClip Frame 1Symbol 126 MovieClip
"shield"Symbol 236 MovieClip Frame 1Symbol 126 MovieClip
"shield"Symbol 239 MovieClip Frame 1Symbol 126 MovieClip
"shield"Symbol 242 MovieClip Frame 1Symbol 126 MovieClip
"shield"Symbol 248 MovieClip Frame 1Symbol 126 MovieClip
"shield"Symbol 252 MovieClip Frame 1Symbol 126 MovieClip
"shield"Symbol 256 MovieClip Frame 1Symbol 126 MovieClip
"inputbox"Symbol 267 MovieClip Frame 2Symbol 266 EditableText

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS1/AS2.
Protect (24)Timeline Frame 131 bytes "..$1$qH$5ivalg8gVwFq8c.DV9SLv.."

Labels

"Title"Frame 220
"earth"Frame 227
"mars"Frame 228
"saturn"Frame 229
"jupiter"Frame 230
"uranus"Frame 231
"neptune"Frame 232
"pluto"Frame 233
"blank"Frame 234
"gameover"Frame 235
"endgame"Frame 236
"credits"Frame 283
"loaded"Symbol 11 MovieClip Frame 3
"up"Symbol 49 MovieClip Frame 1
"blank"Symbol 91 MovieClip Frame 1
"playershot"Symbol 91 MovieClip Frame 2
"welldone"Symbol 91 MovieClip Frame 6
"upgrade"Symbol 91 MovieClip Frame 10
"construction"Symbol 91 MovieClip Frame 15
"lowhealth"Symbol 91 MovieClip Frame 20
"health"Symbol 91 MovieClip Frame 25
"respond"Symbol 91 MovieClip Frame 30
"goodluck"Symbol 91 MovieClip Frame 36
"showedhim"Symbol 91 MovieClip Frame 40
"notfire"Symbol 118 MovieClip Frame 1
"fire"Symbol 118 MovieClip Frame 2
"input"Symbol 267 MovieClip Frame 2

Dynamic Text Variables

textSymbol 46 EditableText"UPGRADE"
textSymbol 48 EditableText"UPGRADE"
_root.moneySymbol 136 EditableText"50000000"
_root.scoreSymbol 138 EditableText"50000000"
_root.waveSymbol 149 EditableText"5"
_root.wavedescriptionSymbol 150 EditableText"500000"
_root.chargetimeSymbol 170 EditableText"2"
_root.speedSymbol 174 EditableText"5"
_root.moneySymbol 187 EditableText""
_root.scoreSymbol 188 EditableText""
_root.healthSymbol 190 EditableText""
_root.smartbombSymbol 210 EditableText"3"
_root.scoreSymbol 262 EditableText"<p align="left"><font face="Beware" size="32" color="#ff0000" letterSpacing="0.000000" kerning="1">100000000</font></p>"




http://swfchan.com/3/11398/info.shtml
Created: 7/6 -2019 08:45:48 Last modified: 7/6 -2019 08:45:48 Server time: 05/11 -2024 21:04:28