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

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

HoverBot.swf

This is the info page for
Flash #3817

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


Text
Directions:

Movement: AWSD or Arrows

Aim / Shoot: Mouse

Pause: P

Objective Mode

Objective Mode

Objective Mode

Survival Mode

Survival Mode

Survival Mode

View Scores

View Scores

View Scores

Play More Games

Play More Games

Play More Games

Hover Bot Arena

Select Starting Objective:

X

X

X

Objective 01

Objective 01

Objective 01

Objective 02

Objective 02

Objective 02

Objective 03

Objective 03

Objective 03

Objective 04

Objective 04

Objective 04

Objective 05

Objective 05

Objective 05

Objective 06

Objective 06

Objective 06

Objective 07

Objective 07

Objective 07

Objective 08

Objective 08

Objective 08

Objective 09

Objective 09

Objective 09

Objective 10

Objective 10

Objective 10

Objective 11

Objective 11

Objective 11

Objective 12

Objective 12

Objective 12

Select Survival Course:

Slate

Slate

Slate

Fire

Fire

Fire

Tech

Tech

Tech

Complete Objective Mode
to unlock Survival Mode.

Return to Game

Return to Game

Return to Game

Quality

Quality

Quality

Quit

Quit

Quit

Game Over

Kills:99999999999

Name:

Submit Score

Submit Score

Submit Score

Enter Name Here

Menu

Menu

Menu




100

0

Weapon Lv: 99

100

0

100

0

Weapon Lv: 99

100

0

Weapon Lv: 99

100

0

Weapon Lv: 99

ActionScript [AS1/AS2]

Frame 1
Stage.showMenu = false; Stage.scaleMode = "noScale";
Instance of Symbol 53 MovieClip in Frame 1
onClipEvent (load) { _root.stop(); }
Instance of Symbol 77 MovieClip in Frame 2
on (release) { getURL ("http://www.diseasedproductions.net", _blank); } onClipEvent (load) { stX = _x; stY = _y; _alpha = 0; timer = 150; } onClipEvent (enterFrame) { timer = timer - 1; if (timer < 21) { if (_alpha > 0) { _alpha = (_alpha - 5); } } else if (_alpha < 100) { _alpha = (_alpha + 5); } if (timer < 1) { _root.gotoAndStop(3); } _x = ((stX + random(10)) - 5); _y = ((stY + random(10)) - 5); }
Frame 3
function submitOurScore2(playerName, playerScore) { _root.pausescreen.hsOutput.text = "Sending..."; Tosend = new LoadVars(); Tosend.name = _root.pausescreen.name; mySharedObject = SharedObject.getLocal("userData"); mySharedObject.data.playerName = playerNameSave; mySharedObject.flush(); _root.playerNameSave = _root.pausescreen.name; Tosend.score = _root.kill; Tosend.gameId = "120"; Tosend.gameVersion = gameVer; Tosend.key = ((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((random(6).toString() + random(7).toString()) + random(2).toString()) + random(2).toString()) + random(4).toString()) + random(8).toString()) + random(3).toString()) + random(9).toString()) + random(3).toString()) + random(3).toString()) + random(8).toString()) + random(8).toString()) + random(3).toString()) + random(6).toString()) + random(3).toString()) + random(9).toString()) + random(1).toString()) + random(7).toString()) + random(0).toString()) + random(5).toString()) + random(7).toString()) + random(6).toString()) + random(0).toString()) + random(5).toString()) + random(0).toString()) + random(1).toString()) + random(5).toString()) + random(0).toString()) + random(5).toString()) + random(4).toString()) + random(8).toString()) + random(2).toString()) + random(1).toString()) + random(0).toString()) + random(4).toString()) + random(5).toString()) + random(9).toString()) + random(8).toString()) + random(4).toString()) + random(3).toString()) + random(1).toString()) + random(3).toString()) + random(2).toString()) + random(4).toString()) + random(0).toString()) + random(5).toString()) + random(3).toString()) + random(1).toString()) + random(2).toString()) + random(3).toString()) + random(6).toString()) + random(0).toString()) + random(0).toString()) + random(7).toString()) + random(5).toString()) + random(0).toString()) + random(8).toString()) + random(1).toString()) + random(1).toString()) + random(4).toString()) + random(5).toString()) + random(9).toString()) + random(7).toString()) + random(7).toString()) + random(0).toString()) + random(1).toString()) + random(2).toString()) + random(0).toString()) + random(9).toString()) + random(7).toString()) + random(3).toString()) + random(1).toString()) + random(1).toString()) + random(5).toString()) + random(5).toString()) + random(1).toString()) + random(0).toString()) + random(9).toString()) + random(3).toString()) + random(3).toString()) + random(3).toString()) + random(0).toString()) + random(4).toString()) + random(3).toString()) + random(7).toString()) + random(9).toString()) + random(4).toString()) + random(6).toString()) + random(0).toString()) + random(5).toString()) + random(1).toString()) + random(6).toString()) + random(5).toString()) + random(8).toString()) + random(3).toString()) + random(6).toString()) + random(9).toString()) + random(6).toString()) + random(6).toString()) + random(9).toString()) + random(4).toString()) + random(9).toString()) + random(0).toString()) + random(6).toString()) + random(5).toString()) + random(6).toString()) + random(7).toString()) + random(6).toString()) + random(6).toString()) + random(1).toString()) + random(0).toString()) + random(9).toString()) + random(1).toString()) + random(4).toString()) + random(3).toString()) + random(9).toString()) + random(3).toString()) + random(7).toString()) + random(6).toString()) + random(4).toString()) + random(3).toString()) + random(7).toString()) + random(1).toString()) + random(8).toString()) + random(5).toString()) + random(5).toString()) + random(4).toString()) + random(5).toString(); Tosend.sendAndLoad("http://scores.crazymonkeygames.com/hs/regscores.php", Tosend, "POST"); Tosend.onLoad = function (ok) { if (ok) { if (this.ok == 1) { _root.pausescreen.hsOutput.text = "Sent!"; getURL ("http://scores.crazymonkeygames.com/hs/listscores.php?id=120", "_BLANK"); } else if (this.ok == 0) { _root.pausescreen.hsOutput.text = "Error Submitting Score."; } else if (this.ok == 2) { _root.pausescreen.hsOutput.text = "Invalid Game Version."; getURL ("http://scores.crazymonkeygames.com/hs/pleaseupdate.php ", "_blank"); } } }; } function submitOurScore3(playerName, playerScore) { _root.pausescreen.hsOutput.text = "Sending..."; Tosend = new LoadVars(); Tosend.name = _root.pausescreen.playerName; _root.playerNameSave = _root.pausescreen.playerName; Tosend.score = _root.counter.kill; Tosend.gameId = "99"; Tosend.gameVersion = gameVer; Tosend.key = ((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((random(3).toString() + random(2).toString()) + random(5).toString()) + random(9).toString()) + random(8).toString()) + random(1).toString()) + random(7).toString()) + random(7).toString()) + random(5).toString()) + random(7).toString()) + random(7).toString()) + random(3).toString()) + random(2).toString()) + random(6).toString()) + random(3).toString()) + random(9).toString()) + random(3).toString()) + random(8).toString()) + random(4).toString()) + random(0).toString()) + random(7).toString()) + random(6).toString()) + random(7).toString()) + random(4).toString()) + random(0).toString()) + random(6).toString()) + random(4).toString()) + random(6).toString()) + random(6).toString()) + random(2).toString()) + random(8).toString()) + random(0).toString()) + random(5).toString()) + random(3).toString()) + random(9).toString()) + random(4).toString()) + random(5).toString()) + random(6).toString()) + random(1).toString()) + random(0).toString()) + random(4).toString()) + random(9).toString()) + random(3).toString()) + random(6).toString()) + random(5).toString()) + random(7).toString()) + random(5).toString()) + random(9).toString()) + random(5).toString()) + random(0).toString()) + random(0).toString()) + random(3).toString()) + random(7).toString()) + random(7).toString()) + random(8).toString()) + random(7).toString()) + random(4).toString()) + random(2).toString()) + random(4).toString()) + random(0).toString()) + random(5).toString()) + random(2).toString()) + random(1).toString()) + random(1).toString()) + random(6).toString()) + random(0).toString()) + random(6).toString()) + random(1).toString()) + random(7).toString()) + random(7).toString()) + random(1).toString()) + random(1).toString()) + random(6).toString()) + random(5).toString()) + random(8).toString()) + random(2).toString()) + random(2).toString()) + random(4).toString()) + random(2).toString()) + random(8).toString()) + random(4).toString()) + random(2).toString()) + random(1).toString()) + random(1).toString()) + random(0).toString()) + random(9).toString()) + random(9).toString()) + random(4).toString()) + random(2).toString()) + random(3).toString()) + random(5).toString()) + random(8).toString()) + random(5).toString()) + random(6).toString()) + random(9).toString()) + random(1).toString()) + random(7).toString()) + random(6).toString()) + random(2).toString()) + random(5).toString()) + random(4).toString()) + random(4).toString()) + random(6).toString()) + random(1).toString()) + random(0).toString()) + random(5).toString()) + random(3).toString()) + random(2).toString()) + random(9).toString()) + random(5).toString()) + random(0).toString()) + random(4).toString()) + random(8).toString()) + random(2).toString()) + random(6).toString()) + random(8).toString()) + random(1).toString()) + random(5).toString()) + random(2).toString()) + random(3).toString()) + random(8).toString()) + random(7).toString()) + random(2).toString()) + random(4).toString()) + random(3).toString()) + random(1).toString()) + random(6).toString()) + random(1).toString(); Tosend.sendAndLoad("http://scores.crazymonkeygames.com/hs/regscores.php", Tosend, "POST"); Tosend.onLoad = function (ok) { if (ok) { if (this.ok == 1) { _root.pausescreen.hsOutput.text = "Sent!"; getURL ("http://scores.crazymonkeygames.com/hs/listscores.php?id=99", "_BLANK"); } else if (this.ok == 0) { _root.pausescreen.hsOutput.text = "Error Submitting Score."; } else if (this.ok == 2) { _root.pausescreen.hsOutput.text = "Invalid Game Version."; getURL ("http://scores.crazymonkeygames.com/hs/pleaseupdate.php ", "_blank"); } } }; } function submitOurScore4(playerName, playerScore) { _root.pausescreen.hsOutput.text = "Sending..."; Tosend = new LoadVars(); Tosend.name = _root.pausescreen.playerName; _root.playerNameSave = _root.pausescreen.playerName; Tosend.score = _root.counter.kill; Tosend.gameId = "100"; Tosend.gameVersion = gameVer; Tosend.key = ((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((random(0).toString() + random(0).toString()) + random(8).toString()) + random(9).toString()) + random(9).toString()) + random(7).toString()) + random(0).toString()) + random(2).toString()) + random(2).toString()) + random(5).toString()) + random(8).toString()) + random(8).toString()) + random(9).toString()) + random(9).toString()) + random(9).toString()) + random(0).toString()) + random(7).toString()) + random(5).toString()) + random(9).toString()) + random(2).toString()) + random(8).toString()) + random(8).toString()) + random(8).toString()) + random(2).toString()) + random(4).toString()) + random(6).toString()) + random(1).toString()) + random(8).toString()) + random(9).toString()) + random(3).toString()) + random(9).toString()) + random(9).toString()) + random(3).toString()) + random(8).toString()) + random(9).toString()) + random(2).toString()) + random(5).toString()) + random(0).toString()) + random(5).toString()) + random(8).toString()) + random(5).toString()) + random(3).toString()) + random(6).toString()) + random(5).toString()) + random(3).toString()) + random(6).toString()) + random(5).toString()) + random(0).toString()) + random(1).toString()) + random(4).toString()) + random(3).toString()) + random(0).toString()) + random(2).toString()) + random(2).toString()) + random(2).toString()) + random(7).toString()) + random(8).toString()) + random(3).toString()) + random(5).toString()) + random(8).toString()) + random(7).toString()) + random(4).toString()) + random(7).toString()) + random(1).toString()) + random(3).toString()) + random(7).toString()) + random(4).toString()) + random(9).toString()) + random(7).toString()) + random(9).toString()) + random(7).toString()) + random(3).toString()) + random(3).toString()) + random(3).toString()) + random(8).toString()) + random(6).toString()) + random(0).toString()) + random(4).toString()) + random(7).toString()) + random(2).toString()) + random(9).toString()) + random(1).toString()) + random(2).toString()) + random(2).toString()) + random(3).toString()) + random(5).toString()) + random(9).toString()) + random(1).toString()) + random(8).toString()) + random(4).toString()) + random(0).toString()) + random(6).toString()) + random(9).toString()) + random(7).toString()) + random(7).toString()) + random(3).toString()) + random(5).toString()) + random(2).toString()) + random(2).toString()) + random(3).toString()) + random(1).toString()) + random(9).toString()) + random(6).toString()) + random(5).toString()) + random(3).toString()) + random(5).toString()) + random(2).toString()) + random(3).toString()) + random(9).toString()) + random(0).toString()) + random(5).toString()) + random(8).toString()) + random(1).toString()) + random(8).toString()) + random(1).toString()) + random(5).toString()) + random(3).toString()) + random(0).toString()) + random(7).toString()) + random(2).toString()) + random(5).toString()) + random(7).toString()) + random(8).toString()) + random(5).toString()) + random(5).toString()) + random(6).toString()) + random(8).toString()) + random(0).toString(); Tosend.sendAndLoad("http://scores.crazymonkeygames.com/hs/regscores.php", Tosend, "POST"); Tosend.onLoad = function (ok) { if (ok) { if (this.ok == 1) { _root.pausescreen.hsOutput.text = "Sent!"; getURL ("http://scores.crazymonkeygames.com/hs/listscores.php?id=100", "_BLANK"); } else if (this.ok == 0) { _root.pausescreen.hsOutput.text = "Error Submitting Score."; } else if (this.ok == 2) { _root.pausescreen.hsOutput.text = "Invalid Game Version."; getURL ("http://scores.crazymonkeygames.com/hs/pleaseupdate.php ", "_blank"); } } }; } function submitOurScore5(playerName, playerScore) { _root.pausescreen.hsOutput.text = "Sending..."; Tosend = new LoadVars(); Tosend.name = _root.pausescreen.name; mySharedObject = SharedObject.getLocal("userData"); mySharedObject.data.playerName = playerNameSave; mySharedObject.flush(); _root.playerNameSave = _root.pausescreen.name; Tosend.score = _root.kill; Tosend.gameId = "169"; Tosend.gameVersion = gameVer; Tosend.key = ((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((random(6).toString() + random(7).toString()) + random(2).toString()) + random(2).toString()) + random(4).toString()) + random(8).toString()) + random(3).toString()) + random(9).toString()) + random(3).toString()) + random(3).toString()) + random(8).toString()) + random(8).toString()) + random(3).toString()) + random(6).toString()) + random(3).toString()) + random(9).toString()) + random(1).toString()) + random(7).toString()) + random(0).toString()) + random(5).toString()) + random(7).toString()) + random(6).toString()) + random(0).toString()) + random(5).toString()) + random(0).toString()) + random(1).toString()) + random(5).toString()) + random(0).toString()) + random(5).toString()) + random(4).toString()) + random(8).toString()) + random(2).toString()) + random(1).toString()) + random(0).toString()) + random(4).toString()) + random(5).toString()) + random(9).toString()) + random(8).toString()) + random(4).toString()) + random(3).toString()) + random(1).toString()) + random(3).toString()) + random(2).toString()) + random(4).toString()) + random(0).toString()) + random(5).toString()) + random(3).toString()) + random(1).toString()) + random(2).toString()) + random(3).toString()) + random(6).toString()) + random(0).toString()) + random(0).toString()) + random(7).toString()) + random(5).toString()) + random(0).toString()) + random(8).toString()) + random(1).toString()) + random(1).toString()) + random(4).toString()) + random(5).toString()) + random(9).toString()) + random(7).toString()) + random(7).toString()) + random(0).toString()) + random(1).toString()) + random(2).toString()) + random(0).toString()) + random(9).toString()) + random(7).toString()) + random(3).toString()) + random(1).toString()) + random(1).toString()) + random(5).toString()) + random(5).toString()) + random(1).toString()) + random(0).toString()) + random(9).toString()) + random(3).toString()) + random(3).toString()) + random(3).toString()) + random(0).toString()) + random(4).toString()) + random(3).toString()) + random(7).toString()) + random(9).toString()) + random(4).toString()) + random(6).toString()) + random(0).toString()) + random(5).toString()) + random(1).toString()) + random(6).toString()) + random(5).toString()) + random(8).toString()) + random(3).toString()) + random(6).toString()) + random(9).toString()) + random(6).toString()) + random(6).toString()) + random(9).toString()) + random(4).toString()) + random(9).toString()) + random(0).toString()) + random(6).toString()) + random(5).toString()) + random(6).toString()) + random(7).toString()) + random(6).toString()) + random(6).toString()) + random(1).toString()) + random(0).toString()) + random(9).toString()) + random(1).toString()) + random(4).toString()) + random(3).toString()) + random(9).toString()) + random(3).toString()) + random(7).toString()) + random(6).toString()) + random(4).toString()) + random(3).toString()) + random(7).toString()) + random(1).toString()) + random(8).toString()) + random(5).toString()) + random(5).toString()) + random(4).toString()) + random(5).toString(); Tosend.sendAndLoad("http://scores.crazymonkeygames.com/hs/regscores.php", Tosend, "POST"); Tosend.onLoad = function (ok) { if (ok) { if (this.ok == 1) { _root.pausescreen.hsOutput.text = "Sent!"; getURL ("http://scores.crazymonkeygames.com/hs/listscores.php?id=169", "_BLANK"); } else if (this.ok == 0) { _root.pausescreen.hsOutput.text = "Error Submitting Score."; } else if (this.ok == 2) { _root.pausescreen.hsOutput.text = "Invalid Game Version."; getURL ("http://scores.crazymonkeygames.com/hs/pleaseupdate.php ", "_blank"); } } }; } function submitOurScore6(playerName, playerScore) { _root.pausescreen.hsOutput.text = "Sending..."; Tosend = new LoadVars(); Tosend.name = _root.pausescreen.playerName; _root.playerNameSave = _root.pausescreen.playerName; Tosend.score = _root.counter.kill; Tosend.gameId = "101"; Tosend.gameVersion = gameVer; Tosend.key = ((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((random(8).toString() + random(5).toString()) + random(3).toString()) + random(2).toString()) + random(4).toString()) + random(4).toString()) + random(9).toString()) + random(2).toString()) + random(0).toString()) + random(7).toString()) + random(4).toString()) + random(3).toString()) + random(8).toString()) + random(9).toString()) + random(1).toString()) + random(1).toString()) + random(6).toString()) + random(1).toString()) + random(6).toString()) + random(6).toString()) + random(3).toString()) + random(9).toString()) + random(7).toString()) + random(7).toString()) + random(9).toString()) + random(1).toString()) + random(2).toString()) + random(6).toString()) + random(1).toString()) + random(0).toString()) + random(0).toString()) + random(9).toString()) + random(5).toString()) + random(4).toString()) + random(1).toString()) + random(0).toString()) + random(8).toString()) + random(0).toString()) + random(2).toString()) + random(8).toString()) + random(8).toString()) + random(7).toString()) + random(2).toString()) + random(6).toString()) + random(7).toString()) + random(4).toString()) + random(8).toString()) + random(3).toString()) + random(5).toString()) + random(4).toString()) + random(9).toString()) + random(9).toString()) + random(4).toString()) + random(6).toString()) + random(7).toString()) + random(4).toString()) + random(8).toString()) + random(0).toString()) + random(0).toString()) + random(9).toString()) + random(0).toString()) + random(1).toString()) + random(8).toString()) + random(5).toString()) + random(5).toString()) + random(9).toString()) + random(5).toString()) + random(3).toString()) + random(0).toString()) + random(8).toString()) + random(2).toString()) + random(8).toString()) + random(6).toString()) + random(5).toString()) + random(5).toString()) + random(3).toString()) + random(9).toString()) + random(3).toString()) + random(6).toString()) + random(5).toString()) + random(7).toString()) + random(5).toString()) + random(5).toString()) + random(2).toString()) + random(2).toString()) + random(3).toString()) + random(6).toString()) + random(0).toString()) + random(4).toString()) + random(6).toString()) + random(9).toString()) + random(4).toString()) + random(8).toString()) + random(7).toString()) + random(0).toString()) + random(3).toString()) + random(7).toString()) + random(6).toString()) + random(7).toString()) + random(8).toString()) + random(4).toString()) + random(0).toString()) + random(6).toString()) + random(0).toString()) + random(5).toString()) + random(1).toString()) + random(4).toString()) + random(5).toString()) + random(5).toString()) + random(0).toString()) + random(1).toString()) + random(3).toString()) + random(6).toString()) + random(6).toString()) + random(5).toString()) + random(8).toString()) + random(0).toString()) + random(2).toString()) + random(8).toString()) + random(4).toString()) + random(9).toString()) + random(7).toString()) + random(9).toString()) + random(7).toString()) + random(5).toString()) + random(9).toString()) + random(1).toString()) + random(3).toString(); Tosend.sendAndLoad("http://scores.crazymonkeygames.com/hs/regscores.php", Tosend, "POST"); Tosend.onLoad = function (ok) { if (ok) { if (this.ok == 1) { _root.pausescreen.hsOutput.text = "Sent!"; getURL ("http://scores.crazymonkeygames.com/hs/listscores.php?id=101", "_BLANK"); } else if (this.ok == 0) { _root.pausescreen.hsOutput.text = "Error Submitting Score."; } else if (this.ok == 2) { _root.pausescreen.hsOutput.text = "Invalid Game Version."; getURL ("http://scores.crazymonkeygames.com/hs/pleaseupdate.php ", "_blank"); } } }; } function submitOurScore7(playerName, playerScore) { _root.pausescreen.hsOutput.text = "Sending..."; Tosend = new LoadVars(); Tosend.name = _root.pausescreen.playerName; _root.playerNameSave = _root.pausescreen.playerName; Tosend.score = _root.counter.kill; Tosend.gameId = "102"; Tosend.gameVersion = gameVer; Tosend.key = ((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((random(5).toString() + random(0).toString()) + random(4).toString()) + random(2).toString()) + random(2).toString()) + random(7).toString()) + random(1).toString()) + random(5).toString()) + random(3).toString()) + random(7).toString()) + random(3).toString()) + random(5).toString()) + random(9).toString()) + random(5).toString()) + random(9).toString()) + random(3).toString()) + random(6).toString()) + random(8).toString()) + random(1).toString()) + random(3).toString()) + random(9).toString()) + random(0).toString()) + random(2).toString()) + random(5).toString()) + random(5).toString()) + random(1).toString()) + random(8).toString()) + random(2).toString()) + random(0).toString()) + random(7).toString()) + random(6).toString()) + random(5).toString()) + random(7).toString()) + random(1).toString()) + random(8).toString()) + random(0).toString()) + random(8).toString()) + random(0).toString()) + random(5).toString()) + random(2).toString()) + random(7).toString()) + random(9).toString()) + random(7).toString()) + random(7).toString()) + random(4).toString()) + random(7).toString()) + random(0).toString()) + random(1).toString()) + random(5).toString()) + random(1).toString()) + random(5).toString()) + random(5).toString()) + random(1).toString()) + random(8).toString()) + random(0).toString()) + random(7).toString()) + random(0).toString()) + random(8).toString()) + random(0).toString()) + random(0).toString()) + random(5).toString()) + random(7).toString()) + random(6).toString()) + random(3).toString()) + random(8).toString()) + random(4).toString()) + random(3).toString()) + random(7).toString()) + random(5).toString()) + random(9).toString()) + random(9).toString()) + random(2).toString()) + random(8).toString()) + random(7).toString()) + random(0).toString()) + random(3).toString()) + random(4).toString()) + random(0).toString()) + random(4).toString()) + random(0).toString()) + random(2).toString()) + random(0).toString()) + random(5).toString()) + random(4).toString()) + random(8).toString()) + random(5).toString()) + random(2).toString()) + random(8).toString()) + random(4).toString()) + random(2).toString()) + random(9).toString()) + random(9).toString()) + random(9).toString()) + random(5).toString()) + random(3).toString()) + random(7).toString()) + random(0).toString()) + random(7).toString()) + random(4).toString()) + random(5).toString()) + random(6).toString()) + random(4).toString()) + random(8).toString()) + random(4).toString()) + random(1).toString()) + random(9).toString()) + random(8).toString()) + random(5).toString()) + random(0).toString()) + random(3).toString()) + random(6).toString()) + random(2).toString()) + random(3).toString()) + random(1).toString()) + random(7).toString()) + random(2).toString()) + random(7).toString()) + random(9).toString()) + random(1).toString()) + random(1).toString()) + random(2).toString()) + random(0).toString()) + random(0).toString()) + random(1).toString()) + random(5).toString()) + random(4).toString()) + random(9).toString()) + random(6).toString(); Tosend.sendAndLoad("http://scores.crazymonkeygames.com/hs/regscores.php", Tosend, "POST"); Tosend.onLoad = function (ok) { if (ok) { if (this.ok == 1) { _root.pausescreen.hsOutput.text = "Sent!"; getURL ("http://scores.crazymonkeygames.com/hs/listscores.php?id=102", "_BLANK"); } else if (this.ok == 0) { _root.pausescreen.hsOutput.text = "Error Submitting Score."; } else if (this.ok == 2) { _root.pausescreen.hsOutput.text = "Invalid Game Version."; getURL ("http://scores.crazymonkeygames.com/hs/pleaseupdate.php ", "_blank"); } } }; } function submitOurScore8(playerName, playerScore) { _root.pausescreen.hsOutput.text = "Sending..."; Tosend = new LoadVars(); Tosend.name = _root.pausescreen.playerName; _root.playerNameSave = _root.pausescreen.playerName; Tosend.score = _root.counter.kill; Tosend.gameId = "103"; Tosend.gameVersion = gameVer; Tosend.key = ((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((random(2).toString() + random(7).toString()) + random(8).toString()) + random(0).toString()) + random(4).toString()) + random(2).toString()) + random(8).toString()) + random(3).toString()) + random(1).toString()) + random(8).toString()) + random(5).toString()) + random(3).toString()) + random(3).toString()) + random(6).toString()) + random(5).toString()) + random(5).toString()) + random(0).toString()) + random(0).toString()) + random(0).toString()) + random(0).toString()) + random(0).toString()) + random(4).toString()) + random(6).toString()) + random(5).toString()) + random(7).toString()) + random(3).toString()) + random(7).toString()) + random(3).toString()) + random(2).toString()) + random(9).toString()) + random(8).toString()) + random(5).toString()) + random(6).toString()) + random(7).toString()) + random(6).toString()) + random(0).toString()) + random(0).toString()) + random(4).toString()) + random(3).toString()) + random(1).toString()) + random(3).toString()) + random(9).toString()) + random(5).toString()) + random(6).toString()) + random(6).toString()) + random(0).toString()) + random(1).toString()) + random(6).toString()) + random(0).toString()) + random(2).toString()) + random(7).toString()) + random(0).toString()) + random(6).toString()) + random(3).toString()) + random(5).toString()) + random(4).toString()) + random(6).toString()) + random(3).toString()) + random(7).toString()) + random(9).toString()) + random(3).toString()) + random(6).toString()) + random(5).toString()) + random(9).toString()) + random(3).toString()) + random(2).toString()) + random(0).toString()) + random(3).toString()) + random(7).toString()) + random(4).toString()) + random(5).toString()) + random(0).toString()) + random(3).toString()) + random(0).toString()) + random(6).toString()) + random(9).toString()) + random(0).toString()) + random(8).toString()) + random(6).toString()) + random(1).toString()) + random(1).toString()) + random(3).toString()) + random(2).toString()) + random(8).toString()) + random(6).toString()) + random(7).toString()) + random(2).toString()) + random(3).toString()) + random(1).toString()) + random(0).toString()) + random(3).toString()) + random(5).toString()) + random(6).toString()) + random(8).toString()) + random(4).toString()) + random(0).toString()) + random(0).toString()) + random(4).toString()) + random(3).toString()) + random(8).toString()) + random(8).toString()) + random(9).toString()) + random(8).toString()) + random(2).toString()) + random(0).toString()) + random(5).toString()) + random(1).toString()) + random(0).toString()) + random(4).toString()) + random(8).toString()) + random(2).toString()) + random(5).toString()) + random(1).toString()) + random(4).toString()) + random(3).toString()) + random(8).toString()) + random(2).toString()) + random(5).toString()) + random(2).toString()) + random(4).toString()) + random(6).toString()) + random(5).toString()) + random(9).toString()) + random(2).toString()) + random(4).toString()) + random(3).toString()) + random(3).toString()) + random(4).toString(); Tosend.sendAndLoad("http://scores.crazymonkeygames.com/hs/regscores.php", Tosend, "POST"); Tosend.onLoad = function (ok) { if (ok) { if (this.ok == 1) { _root.pausescreen.hsOutput.text = "Sent!"; getURL ("http://scores.crazymonkeygames.com/hs/listscores.php?id=103", "_BLANK"); } else if (this.ok == 0) { _root.pausescreen.hsOutput.text = "Error Submitting Score."; } else if (this.ok == 2) { _root.pausescreen.hsOutput.text = "Invalid Game Version."; getURL ("http://scores.crazymonkeygames.com/hs/pleaseupdate.php ", "_blank"); } } }; } mySharedObject = SharedObject.getLocal("userData"); file = mySharedObject.data.file; if (_root.file == true) { beaten = mySharedObject.data.beaten; playerNameSave = mySharedObject.data.playerName; } else { _root.beaten = 0; playerNameSave = "Enter Name Here"; file = true; mySharedObject = SharedObject.getLocal("userData"); mySharedObject.data.beaten = beaten; mySharedObject.data.playerName = playerNameSave; mySharedObject.data.file = file; mySharedObject.flush(); } lvSt = 0; Mouse.show(); multiplier = random(200) + 1; gameVer = 1;
Instance of Symbol 83 MovieClip in Frame 3
on (release) { getURL ("http://www.diseasedproductions.net", _blank); }
Instance of Symbol 113 MovieClip in Frame 3
onClipEvent (enterFrame) { _rotation = (_rotation + 0.5); }
Instance of Symbol 121 MovieClip in Frame 3
on (release) { getURL ("http://www.crazymonkeygames.com", _blank); }
Frame 5
kill = 0; health = 100; m = random(50) + 1; stop(); time = ""; k = 0;
Instance of Symbol 366 MovieClip "ground" in Frame 5
onClipEvent (load) { modifier = 0; yModifier = 0; } onClipEvent (enterFrame) { while (((character._x + _x) > (275 + modifier)) && (_x > (384 + modifier))) { _x = (_x - 1); } while (((character._x + _x) < (275 + modifier)) && (_x < (996 + modifier))) { _x = (_x + 1); } while (((character._y + _y) > (200 + yModifier)) && (_y > (240 + yModifier))) { _y = (_y - 1); } while (((character._y + _y) < (200 + yModifier)) && (_y < (1001 + yModifier))) { _y = (_y + 1); } if (_x < 384) { _x = 384; } if (_x > 996) { _x = 996; } if (_y < 240) { _y = 240; } if (_y > 1001) { _y = 1001; } _x = (_x + modifier); _y = (_y + yModifier); if (math.abs(modifier) >= 1) { modifier = modifier * -0.5; } else { modifier = 0; } if (math.abs(yModifier) >= 1) { yModifier = yModifier * -0.5; } else { yModifier = 0; } _root.health = character.health; }
Instance of Symbol 402 MovieClip in Frame 5
onClipEvent (load) { _root.pause = false; pReady = true; } onClipEvent (enterFrame) { if (((Key.isDown(80) && (pReady == true)) && (_root.countDown.alTimer == 120)) && (_root.countDown.inBetweenTimer == 0)) { if (_root.pause == false) { _root.pause = true; gotoAndStop (2); } else { _root.pause = false; gotoAndStop (1); } pReady = false; } if (!Key.isDown(80)) { pReady = true; } if ((_root.ground.character.health < 1) && (_currentframe < 3)) { _root.sfx.gotoAndPlay(16); gotoAndStop (4); _root.pause = true; _root.ground.character.i++; duplicateMovieClip (_root.ground.explosion, "spark" + _root.ground.character.i, _root.ground.character.i); _root.ground["spark" + _root.ground.character.i]._x = _root.ground.character._x; _root.ground["spark" + _root.ground.character.i]._y = _root.ground.character._y; _root.ground["spark" + _root.ground.character.i]._xscale = 300; _root.ground["spark" + _root.ground.character.i]._yscale = 300; _root.ground["spark" + _root.ground.character.i]._rotation = random(360); _root.ground.character.removeMovieClip(""); } }
Instance of Symbol 405 MovieClip "countDown" in Frame 5
onClipEvent (load) { _root.time = ""; kTal = 0; level = _root.lvSt; lvlComplete = new Array("L", "e", "v", "e", "l", " ", "C", "o", "m", "p", "l", "e", "t", "e", newline, "K", "i", "l", "l", "s", ":", " ", kTal); obj0 = new Array("O", "b", "j", "e", "c", "t", "i", "v", "e", " ", "0", "1", newline, "I", "n", "d", "u", "c", "t", "i", "o", "n", " ", "o", "f", " ", "E", "v", "i", "l", ":", " ", "K", "i", "l", "l", " ", "1", "0", "0", " ", "O", "p", "p", "o", "n", "e", "n", "t", "s"); obj1 = new Array("O", "b", "j", "e", "c", "t", "i", "v", "e", " ", "0", "2", newline, "R", "e", "d", " ", "S", "c", "a", "r", "e", ":", " ", "K", "i", "l", "l", " ", "5", "0", " ", "R", "e", "d", " ", "O", "p", "p", "o", "n", "e", "n", "t", "s"); obj2 = new Array("O", "b", "j", "e", "c", "t", "i", "v", "e", " ", "0", "3", newline, "R", "e", "d", " ", "O", "v", "e", "r", "l", "o", "r", "d", ":", " ", "K", "i", "l", "l", " ", "R", "e", "d", " ", "B", "o", "s", "s"); obj3 = new Array("O", "b", "j", "e", "c", "t", "i", "v", "e", " ", "0", "4", newline, "E", "x", "p", "l", "o", "s", "i", "v", "e", " ", "R", "e", "s", "u", "l", "t", "s", ":", " ", "K", "i", "l", "l", " ", "2", "0", "0", " ", "O", "p", "p", "o", "n", "e", "n", "t", "s"); obj4 = new Array("O", "b", "j", "e", "c", "t", "i", "v", "e", " ", "0", "5", newline, "W", "a", "l", "l", "s", " ", "E", "l", "e", "c", "t", "r", "i", "f", "i", "e", "d", ":", " ", "K", "i", "l", "l", " ", "1", "0", "0", " ", "O", "p", "p", "o", "n", "e", "n", "t", "s"); obj5 = new Array("O", "b", "j", "e", "c", "t", "i", "v", "e", " ", "0", "6", newline, "B", "o", "m", "b", "s", " ", "A", "w", "a", "y", ":", " ", "K", "i", "l", "l", " ", "1", "5", "0", " ", "O", "p", "p", "o", "n", "e", "n", "t", "s"); obj6 = new Array("O", "b", "j", "e", "c", "t", "i", "v", "e", " ", "0", "7", newline, "B", "o", "m", "b", " ", "B", "o", "s", "s", ":", " ", "K", "i", "l", "l", " ", "T", "h", "e", " ", "E", "x", "p", "l", "o", "s", "i", "v", "e", " ", "O", "v", "e", "r", "l", "o", "r", "d"); obj7 = new Array("O", "b", "j", "e", "c", "t", "i", "v", "e", " ", "0", "8", newline, "F", "i", "n", "a", "l", " ", "T", "h", "r", "o", "w", "s", ":", " ", "S", "u", "r", "v", "i", "v", "e", " ", "5", " ", "M", "i", "n", "u", "t", "e", "s"); letter = 0; inBetweenTimer = 0; name = ""; time = 0; _alpha = 0; scaleMode = 3; alTimer = 0; totalKill = 0; if (level == 0) { maxKillCount = 100; } else if (level == 1) { maxKillCount = 50; } else if (level == 2) { maxKillCount = 0; } else if (level == 3) { maxKillCount = 200; } else if (level == 4) { maxKillCount = 100; } else if (level == 5) { maxKillCount = 150; } else if (level == 6) { maxKillCount = 1; } else if (level == 7) { maxKillCount = 1; } rKill = 0; bKill = 0; sevenTimer = 0; } onClipEvent (enterFrame) { _root.kill = _root.k / _root.multiplier; if (level == 0) { if (_root.kill >= maxKillCount) { totalKill = totalKill + _root.kill; inBetweenTimer = 150; letter = 0; kTal = _root.kill; lvlComplete = new Array("L", "e", "v", "e", "l", " ", "C", "o", "m", "p", "l", "e", "t", "e", newline, "K", "i", "l", "l", "s", ":", " ", kTal); _root.k = 0; _root.kill = 0; mySharedObject = SharedObject.getLocal("userData"); beaten = mySharedObject.data.beaten; if (beaten < 2) { mySharedObject.data.beaten = 1; mySharedObject.flush(); } level = 1; maxKillCount = 50; } } else if (level == 1) { if (rKill >= maxKillCount) { totalKill = totalKill + _root.kill; inBetweenTimer = 150; letter = 0; rKill = 0; kTal = _root.kill; lvlComplete = new Array("L", "e", "v", "e", "l", " ", "C", "o", "m", "p", "l", "e", "t", "e", newline, "K", "i", "l", "l", "s", ":", " ", kTal); _root.k = 0; _root.kill = 0; mySharedObject = SharedObject.getLocal("userData"); beaten = mySharedObject.data.beaten; if (beaten < 3) { mySharedObject = SharedObject.getLocal("userData"); mySharedObject.data.beaten = 2; mySharedObject.flush(); } level = 2; maxKillCount = 0; } } else if (level == 2) { if ((bKill == 1) && (_root.ground.dup.enemyCount == 0)) { totalKill = totalKill + _root.kill; inBetweenTimer = 150; letter = 0; bKill = 0; rKill = 0; kTal = _root.kill; lvlComplete = new Array("L", "e", "v", "e", "l", " ", "C", "o", "m", "p", "l", "e", "t", "e", newline, "K", "i", "l", "l", "s", ":", " ", kTal); _root.k = 0; _root.kill = 0; mySharedObject = SharedObject.getLocal("userData"); beaten = mySharedObject.data.beaten; if (beaten < 4) { mySharedObject = SharedObject.getLocal("userData"); mySharedObject.data.beaten = 3; mySharedObject.flush(); } level = 3; maxKillCount = 200; } } else if (level == 3) { if (_root.kill >= maxKillCount) { totalKill = totalKill + _root.kill; inBetweenTimer = 150; letter = 0; bKill = 0; kTal = _root.kill; lvlComplete = new Array("L", "e", "v", "e", "l", " ", "C", "o", "m", "p", "l", "e", "t", "e", newline, "K", "i", "l", "l", "s", ":", " ", kTal); _root.k = 0; _root.kill = 0; mySharedObject = SharedObject.getLocal("userData"); beaten = mySharedObject.data.beaten; if (beaten < 5) { mySharedObject = SharedObject.getLocal("userData"); mySharedObject.data.beaten = 4; mySharedObject.flush(); } level = 4; maxKillCount = 100; } } else if (level == 4) { if (_root.kill >= maxKillCount) { totalKill = totalKill + _root.kill; inBetweenTimer = 150; letter = 0; bKill = 0; kTal = _root.kill; lvlComplete = new Array("L", "e", "v", "e", "l", " ", "C", "o", "m", "p", "l", "e", "t", "e", newline, "K", "i", "l", "l", "s", ":", " ", kTal); _root.k = 0; _root.kill = 0; mySharedObject = SharedObject.getLocal("userData"); beaten = mySharedObject.data.beaten; if (beaten < 6) { mySharedObject = SharedObject.getLocal("userData"); mySharedObject.data.beaten = 5; mySharedObject.flush(); } level = 5; maxKillCount = 150; } } else if (level == 5) { if (_root.kill >= maxKillCount) { totalKill = totalKill + _root.kill; inBetweenTimer = 150; letter = 0; bKill = 0; kTal = _root.kill; lvlComplete = new Array("L", "e", "v", "e", "l", " ", "C", "o", "m", "p", "l", "e", "t", "e", newline, "K", "i", "l", "l", "s", ":", " ", kTal); _root.k = 0; _root.kill = 0; mySharedObject = SharedObject.getLocal("userData"); beaten = mySharedObject.data.beaten; if (beaten < 7) { mySharedObject = SharedObject.getLocal("userData"); mySharedObject.data.beaten = 6; mySharedObject.flush(); } level = 6; maxKillCount = 1; } } else if (level == 6) { if ((_root.ground.dup.enemyCount < 1) && (bKill == 1)) { totalKill = totalKill + _root.kill; inBetweenTimer = 150; letter = 0; bKill = 0; kTal = _root.kill; lvlComplete = new Array("L", "e", "v", "e", "l", " ", "C", "o", "m", "p", "l", "e", "t", "e", newline, "K", "i", "l", "l", "s", ":", " ", kTal); _root.k = 0; _root.kill = 0; mySharedObject = SharedObject.getLocal("userData"); beaten = mySharedObject.data.beaten; if (beaten < 8) { mySharedObject = SharedObject.getLocal("userData"); mySharedObject.data.beaten = 7; mySharedObject.flush(); } level = 7; maxKillCount = 1; } } else if (level == 7) { if (_root.pause == false) { sevenTimer = sevenTimer + 1; remainingTime = 9000 - sevenTimer; minute = 0; second = 0; while (remainingTime > 1800) { remainingTime = remainingTime - 1800; minute = minute + 1; } while (remainingTime > 30) { remainingTime = remainingTime - 30; second = second + 1; } _root.time = (minute + ":") + second; } if (sevenTimer > 9000) { totalKill = totalKill + _root.kill; inBetweenTimer = 150; letter = 0; bKill = 0; kTal = _root.kill; lvlComplete = new Array("L", "e", "v", "e", "l", " ", "C", "o", "m", "p", "l", "e", "t", "e", newline, "K", "i", "l", "l", "s", ":", " ", kTal, newline, "T", "o", "t", "a", "l", " ", "K", "i", "l", "l", "s", ":", totalKill); _root.k = 0; _root.kill = 0; mySharedObject = SharedObject.getLocal("userData"); beaten = mySharedObject.data.beaten; if (beaten < 9) { mySharedObject = SharedObject.getLocal("userData"); mySharedObject.data.beaten = 8; mySharedObject.flush(); } level = 8; _root.pause = true; maxKillCount = 1; } } if (inBetweenTimer > 1) { _alpha = 100; inBetweenTimer = inBetweenTimer - 1; tArray = lvlComplete; time = time + 1; if (time > 1) { time = 0; } if ((letter < tArray.length) && (time == 1)) { name = name + tArray[letter]; letter = letter + 1; } } else if (inBetweenTimer == 1) { if (_alpha > 0) { _alpha = (_alpha - 5); } else { name = ""; time = 0; _alpha = 0; alTimer = 0; letter = 0; inBetweenTimer = 0; if (level == 8) { _root.lvSt = 8; stopAllSounds(); _root.gotoAndStop(6); } } } if (alTimer < 120) { if (_alpha < 100) { _alpha = (_alpha + 5); } time = time + 1; if (time > 1) { time = 0; } tArray = eval ("obj" + level); if ((letter < tArray.length) && (time == 1)) { name = name + tArray[letter]; letter = letter + 1; } else { alTimer = alTimer + 1; } } else if (_alpha > 0) { _alpha = (_alpha - 5); } else { name = ""; } }
Instance of Symbol 407 MovieClip "bar" in Frame 5
onClipEvent (enterFrame) { _xscale = _root.health; _root.hud2.gotoAndStop(_root.meh.length); }
Instance of Symbol 432 MovieClip "sfx" in Frame 5
onClipEvent (load) { gotoAndPlay (50); }
Instance of Symbol 436 MovieClip in Frame 5
onClipEvent (enterFrame) { _x = _root._xmouse; _y = _root._ymouse; Mouse.hide(); }
Frame 6
stop(); time = ""; k = 0;
Instance of Symbol 454 MovieClip "ground" in Frame 6
onClipEvent (load) { modifier = 0; yModifier = 0; } onClipEvent (enterFrame) { while (((character._x + _x) > (275 + modifier)) && (_x > (384 + modifier))) { _x = (_x - 1); } while (((character._x + _x) < (275 + modifier)) && (_x < (996 + modifier))) { _x = (_x + 1); } while (((character._y + _y) > (200 + yModifier)) && (_y > (240 + yModifier))) { _y = (_y - 1); } while (((character._y + _y) < (200 + yModifier)) && (_y < (1001 + yModifier))) { _y = (_y + 1); } if (_x < 384) { _x = 384; } if (_x > 996) { _x = 996; } if (_y < 240) { _y = 240; } if (_y > 1001) { _y = 1001; } _x = (_x + modifier); _y = (_y + yModifier); if (math.abs(modifier) >= 1) { modifier = modifier * -0.5; } else { modifier = 0; } if (math.abs(yModifier) >= 1) { yModifier = yModifier * -0.5; } else { yModifier = 0; } _root.health = character.health; }
Instance of Symbol 402 MovieClip in Frame 6
onClipEvent (load) { _root.pause = false; pReady = true; } onClipEvent (enterFrame) { if (((Key.isDown(80) && (pReady == true)) && (_root.countDown.alTimer == 120)) && (_root.countDown.inBetweenTimer == 0)) { if (_root.pause == false) { _root.pause = true; gotoAndStop (2); } else { _root.pause = false; gotoAndStop (1); } pReady = false; } if (!Key.isDown(80)) { pReady = true; } if ((_root.ground.character.health < 1) && (_currentframe < 3)) { gotoAndStop (4); _root.sfx.gotoAndPlay(16); _root.pause = true; _root.ground.character.i++; duplicateMovieClip (_root.ground.explosion, "spark" + _root.ground.character.i, _root.ground.character.i); _root.ground["spark" + _root.ground.character.i]._x = _root.ground.character._x; _root.ground["spark" + _root.ground.character.i]._y = _root.ground.character._y; _root.ground["spark" + _root.ground.character.i]._xscale = 300; _root.ground["spark" + _root.ground.character.i]._yscale = 300; _root.ground["spark" + _root.ground.character.i]._rotation = random(360); _root.ground.character.removeMovieClip(""); } }
Instance of Symbol 405 MovieClip "countDown" in Frame 6
onClipEvent (load) { kTal = 0; _root.kill = 0; level = _root.lvSt; lvlComplete = new Array("L", "e", "v", "e", "l", " ", "C", "o", "m", "p", "l", "e", "t", "e", newline, "K", "i", "l", "l", "s", ":", " ", kTal); obj8 = new Array("O", "b", "j", "e", "c", "t", "i", "v", "e", " ", "0", "9", newline, "I", "n", "f", "e", "r", "n", "a", "l", " ", "A", "f", "f", "a", "i", "r", "s", ":", " ", "K", "i", "l", "l", " ", "2", "0", "0", " ", "O", "p", "p", "o", "n", "e", "n", "t", "s"); obj9 = new Array("O", "b", "j", "e", "c", "t", "i", "v", "e", " ", "1", "0", newline, "A", "n", " ", "E", "n", "e", "m", "y", " ", "D", "i", "v", "i", "d", "e", "d", ":", "K", "i", "l", "l", " ", "A", "l", "l", " ", "O", "p", "p", "o", "n", "e", "n", "t", "s"); obj10 = new Array("O", "b", "j", "e", "c", "t", "i", "v", "e", " ", "1", "1", newline, "R", "e", "d", " ", "R", "e", "t", "u", "r", "n", ":", " ", "K", "i", "l", "l", " ", "R", "e", "d", " ", "O", "p", "p", "o", "n", "e", "n", "t", "s"); obj11 = new Array("O", "b", "j", "e", "c", "t", "i", "v", "e", " ", "1", "2", newline, "S", "u", "r", "v", "i", "v", "a", "l", " ", "2", ":", " ", "S", "u", "r", "v", "i", "v", "e", " ", "10", " ", "M", "i", "n", "u", "t", "e", "s"); letter = 0; inBetweenTimer = 0; name = ""; time = 0; _alpha = 0; scaleMode = 3; alTimer = 0; totalKill = 0; if (level == 8) { maxKillCount = 200; } else if (level == 9) { maxKillCount = 64; } else if (level == 10) { maxKillCount = 100; } else if (level == 11) { maxKillCount = 1; } rKill = 0; bKill = 0; sevenTimer = 0; } onClipEvent (enterFrame) { if (level == 8) { if (_root.kill >= maxKillCount) { totalKill = totalKill + _root.kill; inBetweenTimer = 150; letter = 0; kTal = _root.kill; lvlComplete = new Array("L", "e", "v", "e", "l", " ", "C", "o", "m", "p", "l", "e", "t", "e", newline, "K", "i", "l", "l", "s", ":", " ", kTal); _root.kill = 0; _root.k = 0; rKill = 0; mySharedObject = SharedObject.getLocal("userData"); beaten = mySharedObject.data.beaten; if (beaten < 10) { mySharedObject = SharedObject.getLocal("userData"); mySharedObject.data.beaten = 9; mySharedObject.flush(); } level = 9; maxKillCount = 64; } } else if (level == 9) { if (_root.kill >= maxKillCount) { totalKill = totalKill + _root.kill; inBetweenTimer = 150; letter = 0; bKill = 0; kTal = _root.kill; lvlComplete = new Array("L", "e", "v", "e", "l", " ", "C", "o", "m", "p", "l", "e", "t", "e", newline, "K", "i", "l", "l", "s", ":", " ", kTal); _root.kill = 0; _root.k = 0; rKill = 0; mySharedObject = SharedObject.getLocal("userData"); beaten = mySharedObject.data.beaten; if (beaten < 11) { mySharedObject = SharedObject.getLocal("userData"); mySharedObject.data.beaten = 10; mySharedObject.flush(); } level = 10; maxKillCount = 100; } } else if (level == 10) { if (_root.kill >= maxKillCount) { totalKill = totalKill + _root.kill; inBetweenTimer = 150; letter = 0; bKill = 0; kTal = _root.kill; lvlComplete = new Array("L", "e", "v", "e", "l", " ", "C", "o", "m", "p", "l", "e", "t", "e", newline, "K", "i", "l", "l", "s", ":", " ", kTal); _root.kill = 0; _root.k = 0; mySharedObject = SharedObject.getLocal("userData"); beaten = mySharedObject.data.beaten; if (beaten < 12) { mySharedObject = SharedObject.getLocal("userData"); mySharedObject.data.beaten = 11; mySharedObject.flush(); } level = 11; maxKillCount = 1; } } else if (level == 11) { if (_root.pause == false) { sevenTimer = sevenTimer + 1; remainingTime = 18000 - sevenTimer; minute = 0; second = 0; while (remainingTime > 1800) { remainingTime = remainingTime - 1800; minute = minute + 1; } while (remainingTime > 30) { remainingTime = remainingTime - 30; second = second + 1; } _root.time = (minute + ":") + second; } if (sevenTimer > 18000) { totalKill = totalKill + _root.kill; inBetweenTimer = 180; letter = 0; bKill = 0; kTal = _root.kill; lvlComplete = new Array("L", "e", "v", "e", "l", " ", "C", "o", "m", "p", "l", "e", "t", "e", newline, "K", "i", "l", "l", "s", ":", " ", kTal, newline, "T", "o", "t", "a", "l", " ", "K", "i", "l", "l", "s", ":", totalKill, newline, "O", "b", "j", "e", "c", "t", "i", "v", "e", " ", "M", "o", "d", "e", " ", "C", "o", "m", "p", "l", "e", "t", "e"); _root.kill = 0; _root.k = 0; mySharedObject = SharedObject.getLocal("userData"); mySharedObject.data.beaten = 13; mySharedObject.flush(); level = 12; maxKillCount = 1; _root.pause = true; } } if (inBetweenTimer > 1) { _alpha = 100; inBetweenTimer = inBetweenTimer - 1; tArray = lvlComplete; time = time + 1; if (time > 1) { time = 0; } if ((letter < tArray.length) && (time == 1)) { name = name + tArray[letter]; letter = letter + 1; } } else if (inBetweenTimer == 1) { if (_alpha > 0) { _alpha = (_alpha - 5); } else { name = ""; time = 0; _alpha = 0; alTimer = 0; letter = 0; inBetweenTimer = 0; if (level == 12) { stopAllSounds(); _root.gotoAndStop(7); } } } if (alTimer < 120) { if (_alpha < 100) { _alpha = (_alpha + 5); } time = time + 1; if (time > 1) { time = 0; } tArray = eval ("obj" + level); if ((letter < tArray.length) && (time == 1)) { name = name + tArray[letter]; letter = letter + 1; } else { alTimer = alTimer + 1; } } else if (_alpha > 0) { _alpha = (_alpha - 5); } else { name = ""; } }
Instance of Symbol 432 MovieClip "sfx" in Frame 6
onClipEvent (load) { gotoAndPlay (54); }
Frame 7
k = 0;
Instance of Symbol 466 MovieClip "ground" in Frame 7
onClipEvent (load) { modifier = 0; yModifier = 0; } onClipEvent (enterFrame) { while (((character._x + _x) > (275 + modifier)) && (_x > (384 + modifier))) { _x = (_x - 1); } while (((character._x + _x) < (275 + modifier)) && (_x < (996 + modifier))) { _x = (_x + 1); } while (((character._y + _y) > (200 + yModifier)) && (_y > (240 + yModifier))) { _y = (_y - 1); } while (((character._y + _y) < (200 + yModifier)) && (_y < (1001 + yModifier))) { _y = (_y + 1); } if (_x < 384) { _x = 384; } if (_x > 996) { _x = 996; } if (_y < 240) { _y = 240; } if (_y > 1001) { _y = 1001; } _x = (_x + modifier); _y = (_y + yModifier); if (math.abs(modifier) >= 1) { modifier = modifier * -0.5; } else { modifier = 0; } if (math.abs(yModifier) >= 1) { yModifier = yModifier * -0.5; } else { yModifier = 0; } _root.health = character.health; }
Instance of Symbol 402 MovieClip "pausescreen" in Frame 7
onClipEvent (load) { _root.pause = false; pReady = true; } onClipEvent (enterFrame) { if ((((Key.isDown(80) && (pReady == true)) && (_root.countDown.alTimer == 120)) && (_root.countDown.inBetweenTimer == 0)) && (_currentframe < 3)) { if (_root.pause == false) { _root.pause = true; gotoAndStop (2); } else { _root.pause = false; gotoAndStop (1); } pReady = false; } if (!Key.isDown(80)) { pReady = true; } if ((_root.ground.character.health < 1) && (_currentframe < 3)) { gotoAndStop (3); _root.sfx.gotoAndPlay(16); _root.pause = true; _root.ground.character.i++; duplicateMovieClip (_root.ground.explosion, "spark" + _root.ground.character.i, _root.ground.character.i); _root.ground["spark" + _root.ground.character.i]._x = _root.ground.character._x; _root.ground["spark" + _root.ground.character.i]._y = _root.ground.character._y; _root.ground["spark" + _root.ground.character.i]._xscale = 300; _root.ground["spark" + _root.ground.character.i]._yscale = 300; _root.ground["spark" + _root.ground.character.i]._rotation = random(360); _root.ground.character.removeMovieClip(""); } }
Instance of Symbol 405 MovieClip "countDown" in Frame 7
onClipEvent (load) { kTal = 0; _root.kill = 0; level = 13; lvlComplete = new Array("L", "e", "v", "e", "l", " ", "C", "o", "m", "p", "l", "e", "t", "e", newline, "K", "i", "l", "l", "s", ":", " ", kTal); obj13 = new Array("S", "u", "r", "v", "i", "v", "a", "l", " ", "M", "o", "d", "e"); letter = 0; inBetweenTimer = 0; name = ""; time = 0; _alpha = 0; scaleMode = 3; alTimer = 0; totalKill = 0; maxKillCount = 200; rKill = 0; bKill = 0; sevenTimer = 0; } onClipEvent (enterFrame) { if (inBetweenTimer > 1) { _alpha = 100; inBetweenTimer = inBetweenTimer - 1; tArray = lvlComplete; time = time + 1; if (time > 1) { time = 0; } if ((letter < tArray.length) && (time == 1)) { name = name + tArray[letter]; letter = letter + 1; } } else if (inBetweenTimer == 1) { if (_alpha > 0) { _alpha = (_alpha - 5); } else { name = ""; time = 0; _alpha = 0; alTimer = 0; letter = 0; inBetweenTimer = 0; } } if (alTimer < 120) { if (_alpha < 100) { _alpha = (_alpha + 5); } time = time + 1; if (time > 1) { time = 0; } tArray = eval ("obj" + level); if ((letter < tArray.length) && (time == 1)) { name = name + tArray[letter]; letter = letter + 1; } else { alTimer = alTimer + 1; } } else if (_alpha > 0) { _alpha = (_alpha - 5); } else { name = ""; } }
Instance of Symbol 432 MovieClip "sfx" in Frame 7
onClipEvent (load) { gotoAndPlay (52); }
Frame 8
k = 0;
Instance of Symbol 470 MovieClip "ground" in Frame 8
onClipEvent (load) { modifier = 0; yModifier = 0; } onClipEvent (enterFrame) { while (((character._x + _x) > (275 + modifier)) && (_x > (384 + modifier))) { _x = (_x - 1); } while (((character._x + _x) < (275 + modifier)) && (_x < (996 + modifier))) { _x = (_x + 1); } while (((character._y + _y) > (200 + yModifier)) && (_y > (240 + yModifier))) { _y = (_y - 1); } while (((character._y + _y) < (200 + yModifier)) && (_y < (1001 + yModifier))) { _y = (_y + 1); } if (_x < 384) { _x = 384; } if (_x > 996) { _x = 996; } if (_y < 240) { _y = 240; } if (_y > 1001) { _y = 1001; } _x = (_x + modifier); _y = (_y + yModifier); if (math.abs(modifier) >= 1) { modifier = modifier * -0.5; } else { modifier = 0; } if (math.abs(yModifier) >= 1) { yModifier = yModifier * -0.5; } else { yModifier = 0; } _root.health = character.health; }
Instance of Symbol 405 MovieClip "countDown" in Frame 8
onClipEvent (load) { kTal = 0; level = 13; _root.kill = 0; lvlComplete = new Array("L", "e", "v", "e", "l", " ", "C", "o", "m", "p", "l", "e", "t", "e", newline, "K", "i", "l", "l", "s", ":", " ", kTal); obj13 = new Array("S", "u", "r", "v", "i", "v", "a", "l", " ", "M", "o", "d", "e"); letter = 0; inBetweenTimer = 0; name = ""; time = 0; _alpha = 0; scaleMode = 3; alTimer = 0; totalKill = 0; maxKillCount = 200; rKill = 0; bKill = 0; sevenTimer = 0; } onClipEvent (enterFrame) { if (inBetweenTimer > 1) { _alpha = 100; inBetweenTimer = inBetweenTimer - 1; tArray = lvlComplete; time = time + 1; if (time > 1) { time = 0; } if ((letter < tArray.length) && (time == 1)) { name = name + tArray[letter]; letter = letter + 1; } } else if (inBetweenTimer == 1) { if (_alpha > 0) { _alpha = (_alpha - 5); } else { name = ""; time = 0; _alpha = 0; alTimer = 0; letter = 0; inBetweenTimer = 0; } } if (alTimer < 120) { if (_alpha < 100) { _alpha = (_alpha + 5); } time = time + 1; if (time > 1) { time = 0; } tArray = eval ("obj" + level); if ((letter < tArray.length) && (time == 1)) { name = name + tArray[letter]; letter = letter + 1; } else { alTimer = alTimer + 1; } } else if (_alpha > 0) { _alpha = (_alpha - 5); } else { name = ""; } }
Instance of Symbol 432 MovieClip "sfx" in Frame 8
onClipEvent (load) { gotoAndPlay (50); }
Frame 9
k = 0;
Instance of Symbol 474 MovieClip "ground" in Frame 9
onClipEvent (load) { modifier = 0; yModifier = 0; } onClipEvent (enterFrame) { while (((character._x + _x) > (275 + modifier)) && (_x > (384 + modifier))) { _x = (_x - 1); } while (((character._x + _x) < (275 + modifier)) && (_x < (996 + modifier))) { _x = (_x + 1); } while (((character._y + _y) > (200 + yModifier)) && (_y > (240 + yModifier))) { _y = (_y - 1); } while (((character._y + _y) < (200 + yModifier)) && (_y < (1001 + yModifier))) { _y = (_y + 1); } if (_x < 384) { _x = 384; } if (_x > 996) { _x = 996; } if (_y < 240) { _y = 240; } if (_y > 1001) { _y = 1001; } _x = (_x + modifier); _y = (_y + yModifier); if (math.abs(modifier) >= 1) { modifier = modifier * -0.5; } else { modifier = 0; } if (math.abs(yModifier) >= 1) { yModifier = yModifier * -0.5; } else { yModifier = 0; } _root.health = character.health; }
Instance of Symbol 432 MovieClip "sfx" in Frame 9
onClipEvent (load) { gotoAndPlay (54); }
Symbol 36 Button
on (release) { _root.nextFrame(); }
Symbol 37 MovieClip Frame 1
stop();
Instance of Symbol 25 MovieClip in Symbol 37 MovieClip Frame 1
onClipEvent (enterFrame) { bar._xscale = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100; if ((bar._xscale == 100) && (_parent._parent._currentframe == 81)) { _parent.nextFrame(); } }
Symbol 52 MovieClip Frame 1
stop();
Symbol 53 MovieClip Frame 1
gotoAndPlay (2);
Instance of Symbol 23 MovieClip in Symbol 53 MovieClip Frame 1
on (release) { getURL ("http://www.crazymonkeygames.com", "_blank"); }
Symbol 53 MovieClip Frame 81
stop();
Instance of Symbol 52 MovieClip in Symbol 53 MovieClip Frame 81
onClipEvent (enterFrame) { chance = random(90); if (chance == 1) { play(); } }
Instance of Symbol 61 MovieClip in Symbol 64 MovieClip Frame 1
onClipEvent (load) { _rotation = random(360); }
Instance of Symbol 63 MovieClip in Symbol 64 MovieClip Frame 1
onClipEvent (load) { _rotation = random(360); }
Symbol 68 MovieClip Frame 1
stop();
Symbol 68 MovieClip Frame 5
stop();
Symbol 73 MovieClip Frame 1
stop();
Symbol 73 MovieClip Frame 6
stop();
Instance of Symbol 73 MovieClip in Symbol 76 MovieClip Frame 1
onClipEvent (enterFrame) { chance = random(20) + 1; if (chance == 1) { play(); } }
Instance of Symbol 68 MovieClip in Symbol 76 MovieClip Frame 1
onClipEvent (enterFrame) { chance = random(20) + 1; if (chance == 1) { play(); } }
Instance of Symbol 73 MovieClip in Symbol 77 MovieClip Frame 1
onClipEvent (enterFrame) { chance = random(20) + 1; if (chance == 1) { play(); } }
Instance of Symbol 68 MovieClip in Symbol 77 MovieClip Frame 1
onClipEvent (enterFrame) { chance = random(20) + 1; if (chance == 1) { play(); } }
Instance of Symbol 76 MovieClip in Symbol 77 MovieClip Frame 1
onClipEvent (load) { stX = _x; stY = _y; } onClipEvent (enterFrame) { _alpha = random(50); _x = ((stX + random(20)) - 10); _y = ((stY + random(20)) - 10); _xscale = (random(75) + 75); _yscale = (random(75) + 75); }
Symbol 95 Button
on (release) { if (_root.beaten == 0) { _root.lvSt = 0; stopAllSounds(); _root.gotoAndStop(5); } else { _root.menu.gotoAndStop(_root.beaten + 2); if (_root.menu._currentframe > 13) { _root.menu.gotoAndStop(13); } } }
Symbol 100 Button
on (release) { if (_root.beaten >= 12) { _root.menu.gotoAndStop(14); } else { _root.menu.gotoAndStop(15); } }
Symbol 106 Button
on (release) { getURL ("http://scores.crazymonkeygames.com/hs/listscores.php?id=169", "_BLANK"); }
Symbol 111 Button
on (release) { getURL ("http://www.crazymonkeygames.com", _blank); }
Symbol 128 Button
on (release) { gotoAndStop (1); }
Symbol 133 Button
on (release) { _root.lvSt = 0; stopAllSounds(); _root.gotoAndStop(5); }
Symbol 137 Button
on (release) { _root.lvSt = 1; stopAllSounds(); _root.gotoAndStop(5); }
Symbol 141 Button
on (release) { _root.lvSt = 2; stopAllSounds(); _root.gotoAndStop(5); }
Symbol 146 Button
on (release) { _root.lvSt = 3; stopAllSounds(); _root.gotoAndStop(5); }
Symbol 151 Button
on (release) { _root.lvSt = 4; stopAllSounds(); _root.gotoAndStop(5); }
Symbol 156 Button
on (release) { _root.lvSt = 5; stopAllSounds(); _root.gotoAndStop(5); }
Symbol 161 Button
on (release) { _root.lvSt = 6; stopAllSounds(); _root.gotoAndStop(5); }
Symbol 166 Button
on (release) { _root.lvSt = 7; stopAllSounds(); _root.gotoAndStop(5); }
Symbol 171 Button
on (release) { _root.lvSt = 8; stopAllSounds(); _root.gotoAndStop(6); }
Symbol 176 Button
on (release) { _root.lvSt = 9; stopAllSounds(); _root.gotoAndStop(6); }
Symbol 181 Button
on (release) { _root.lvSt = 10; stopAllSounds(); _root.gotoAndStop(6); }
Symbol 186 Button
on (release) { _root.lvSt = 11; stopAllSounds(); _root.gotoAndStop(6); }
Symbol 193 Button
on (release) { stopAllSounds(); _root.gotoAndStop(8); }
Symbol 197 Button
on (release) { stopAllSounds(); _root.gotoAndStop(9); }
Symbol 201 Button
on (release) { stopAllSounds(); _root.gotoAndStop(7); }
Symbol 203 MovieClip Frame 1
stop();
Symbol 238 MovieClip Frame 1
stop();
Symbol 242 MovieClip Frame 1
stop();
Symbol 280 MovieClip Frame 1
stop();
Symbol 289 MovieClip Frame 9
stop();
Instance of Symbol 238 MovieClip in Symbol 289 MovieClip Frame 9
onClipEvent (load) { _visible = false; _root.character.i++; duplicateMovieClip (_root.ground.stuff.debris, "debris" + _root.character.i, _root.character.i); point = new Object(); point.x = _x; point.y = _y; _parent.localToGlobal(point); x = point.x; y = point.y; _root.ground.stuff["debris" + _root.character.i]._x = (x - _root.ground._x) - _root.ground.stuff._x; _root.ground.stuff["debris" + _root.character.i]._y = (y - _root.ground._y) - _root.ground.stuff._y; _root.ground.stuff["debris" + _root.character.i]._xscale = random(100) + 50; _root.ground.stuff["debris" + _root.character.i]._yscale = random(100) + 50; _root.ground.stuff["debris" + _root.character.i]._rotation = random(360); _root.ground.stuff["debris" + _root.character.i].gotoAndStop(random(35)); _root.ground.meh.myBitmap.draw(_root.ground.stuff); _root.ground.stuff["debris" + _root.character.i].removeMovieClip(""); _parent.removeMovieClip(""); }
Instance of Symbol 289 MovieClip in Symbol 290 MovieClip Frame 1
onClipEvent (load) { _xscale = (-random(150)); _rotation = (-90 + random(180)); if (_parent._name != "spark") { play(); } else { stop(); } }
Instance of Symbol 289 MovieClip in Symbol 290 MovieClip Frame 1
onClipEvent (load) { _xscale = (-random(150)); _rotation = (-90 + random(180)); if (_parent._name != "spark") { play(); } else { stop(); } }
Instance of Symbol 289 MovieClip in Symbol 290 MovieClip Frame 1
onClipEvent (load) { _xscale = (-random(150)); _rotation = (-90 + random(180)); if (_parent._name != "spark") { play(); } else { stop(); } }
Symbol 290 MovieClip Frame 11
removeMovieClip("");
Symbol 307 MovieClip Frame 1
stop();
Instance of Symbol 312 MovieClip in Symbol 329 MovieClip Frame 2
onClipEvent (enterFrame) { _xscale = (_xscale + 5); _yscale = _xscale; _alpha = (_alpha - 5); }
Instance of Symbol 312 MovieClip in Symbol 329 MovieClip Frame 2
onClipEvent (enterFrame) { _xscale = (_xscale + 5); _yscale = _xscale; _alpha = (_alpha - 5); }
Instance of Symbol 312 MovieClip in Symbol 329 MovieClip Frame 2
onClipEvent (enterFrame) { _xscale = (_xscale + 5); _yscale = _xscale; _alpha = (_alpha - 5); }
Instance of Symbol 312 MovieClip in Symbol 329 MovieClip Frame 2
onClipEvent (enterFrame) { _xscale = (_xscale + 5); _yscale = _xscale; _alpha = (_alpha - 5); }
Instance of Symbol 328 MovieClip in Symbol 329 MovieClip Frame 2
onClipEvent (enterFrame) { _xscale = (_xscale + 15); _yscale = _xscale; _alpha = (_alpha - 10); }
Symbol 329 MovieClip Frame 20
removeMovieClip("");
Symbol 333 MovieClip Frame 8
stop();
Symbol 342 MovieClip Frame 1
stop();
Symbol 342 MovieClip Frame 2
_root.ground.dup.enemyCount = _root.ground.dup.enemyCount - 1; _root.character.i++; duplicateMovieClip (_root.ground.stuff.burn, "spark" + _root.character.i, _root.character.i); _root.ground.stuff["spark" + _root.character.i]._x = _x - _root.ground.stuff._x; _root.ground.stuff["spark" + _root.character.i]._y = _y - _root.ground.stuff._y; _root.ground.stuff["spark" + _root.character.i]._rotation = random(360); _root.ground.stuff["spark" + _root.character.i].gotoAndStop(random(7) + 1); _root.ground.stuff["spark" + _root.character.i]._xscale = random(100) + 150; _root.ground.stuff["spark" + _root.character.i]._yscale = _root.ground.stuff["spark" + _root.character.i]._xscale; _root.ground.meh.myBitmap.draw(_root.ground.stuff); _root.ground.stuff["spark" + _root.character.i].removeMovieClip(""); _root.sfx.gotoAndPlay((random(4) + 2) * 2);
Instance of Symbol 312 MovieClip in Symbol 342 MovieClip Frame 3
onClipEvent (enterFrame) { _xscale = (_xscale + 5); _yscale = _xscale; _alpha = (_alpha - 5); }
Instance of Symbol 312 MovieClip in Symbol 342 MovieClip Frame 3
onClipEvent (enterFrame) { _xscale = (_xscale + 5); _yscale = _xscale; _alpha = (_alpha - 5); }
Instance of Symbol 312 MovieClip in Symbol 342 MovieClip Frame 3
onClipEvent (enterFrame) { _xscale = (_xscale + 5); _yscale = _xscale; _alpha = (_alpha - 5); }
Instance of Symbol 312 MovieClip in Symbol 342 MovieClip Frame 3
onClipEvent (enterFrame) { _xscale = (_xscale + 5); _yscale = _xscale; _alpha = (_alpha - 5); }
Symbol 342 MovieClip Frame 9
_root.character.i++; duplicateMovieClip (_root.ground.stuff.corpse1, "spark" + _root.character.i, _root.character.i); _root.ground.stuff["spark" + _root.character.i]._x = _x - _root.ground.stuff._x; _root.ground.stuff["spark" + _root.character.i]._y = _y - _root.ground.stuff._y; _root.ground.stuff["spark" + _root.character.i]._rotation = _rotation; _root.ground.meh.myBitmap.draw(_root.ground.stuff); _root.ground.stuff["spark" + _root.character.i].removeMovieClip("");
Symbol 342 MovieClip Frame 21
removeMovieClip("");
Symbol 342 MovieClip Frame 22
stop();
Symbol 342 MovieClip Frame 23
_root.ground.dup.enemyCount = _root.ground.dup.enemyCount - 1; _root.countDown.rKill = _root.countDown.rKill + 1; _root.character.i++; duplicateMovieClip (_root.ground.stuff.burn, "spark" + _root.character.i, _root.character.i); _root.ground.stuff["spark" + _root.character.i]._x = _x - _root.ground.stuff._x; _root.ground.stuff["spark" + _root.character.i]._y = _y - _root.ground.stuff._y; _root.ground.stuff["spark" + _root.character.i]._rotation = random(360); _root.ground.stuff["spark" + _root.character.i].gotoAndStop(random(7) + 1); _root.ground.stuff["spark" + _root.character.i]._xscale = random(100) + 150; _root.ground.stuff["spark" + _root.character.i]._yscale = _root.ground.stuff["spark" + _root.character.i]._xscale; _root.ground.meh.myBitmap.draw(_root.ground.stuff); _root.ground.stuff["spark" + _root.character.i].removeMovieClip(""); _root.sfx.gotoAndPlay((random(4) + 2) * 2);
Instance of Symbol 312 MovieClip in Symbol 342 MovieClip Frame 24
onClipEvent (enterFrame) { _xscale = (_xscale + 5); _yscale = _xscale; _alpha = (_alpha - 5); }
Instance of Symbol 312 MovieClip in Symbol 342 MovieClip Frame 24
onClipEvent (enterFrame) { _xscale = (_xscale + 5); _yscale = _xscale; _alpha = (_alpha - 5); }
Instance of Symbol 312 MovieClip in Symbol 342 MovieClip Frame 24
onClipEvent (enterFrame) { _xscale = (_xscale + 5); _yscale = _xscale; _alpha = (_alpha - 5); }
Instance of Symbol 312 MovieClip in Symbol 342 MovieClip Frame 24
onClipEvent (enterFrame) { _xscale = (_xscale + 5); _yscale = _xscale; _alpha = (_alpha - 5); }
Symbol 342 MovieClip Frame 30
_root.character.i++; duplicateMovieClip (_root.ground.stuff.corpse1, "spark" + _root.character.i, _root.character.i); _root.ground.stuff["spark" + _root.character.i]._x = _x - _root.ground.stuff._x; _root.ground.stuff["spark" + _root.character.i]._y = _y - _root.ground.stuff._y; _root.ground.stuff["spark" + _root.character.i]._rotation = _rotation; _root.ground.stuff["spark" + _root.character.i].gotoAndStop(2); _root.ground.meh.myBitmap.draw(_root.ground.stuff); _root.ground.stuff["spark" + _root.character.i].removeMovieClip("");
Symbol 342 MovieClip Frame 42
removeMovieClip("");
Symbol 342 MovieClip Frame 43
if (_root._currentframe == 5) { health = 150; } else { health = 20; } stop();
Symbol 342 MovieClip Frame 44
_root.ground.dup.enemyCount = _root.ground.dup.enemyCount - 1; _root.countDown.bKill = _root.countDown.bKill + 1; _root.character.i++; duplicateMovieClip (_root.ground.stuff.burn, "spark" + _root.character.i, _root.character.i); _root.ground.stuff["spark" + _root.character.i]._x = _x - _root.ground.stuff._x; _root.ground.stuff["spark" + _root.character.i]._y = _y - _root.ground.stuff._y; _root.ground.stuff["spark" + _root.character.i]._rotation = random(360); _root.ground.stuff["spark" + _root.character.i].gotoAndStop(random(7) + 1); _root.ground.stuff["spark" + _root.character.i]._xscale = random(100) + 150; _root.ground.stuff["spark" + _root.character.i]._yscale = _root.ground.stuff["spark" + _root.character.i]._xscale; _root.ground.meh.myBitmap.draw(_root.ground.stuff); _root.ground.stuff["spark" + _root.character.i].removeMovieClip(""); _root.sfx.gotoAndPlay((random(4) + 2) * 2);
Symbol 342 MovieClip Frame 51
_root.character.i++; duplicateMovieClip (_root.ground.stuff.corpse1, "spark" + _root.character.i, _root.character.i); _root.ground.stuff["spark" + _root.character.i]._x = _x - _root.ground.stuff._x; _root.ground.stuff["spark" + _root.character.i]._y = _y - _root.ground.stuff._y; _root.ground.stuff["spark" + _root.character.i]._rotation = _rotation; _root.ground.stuff["spark" + _root.character.i].gotoAndStop(3); _root.ground.meh.myBitmap.draw(_root.ground.stuff); _root.ground.stuff["spark" + _root.character.i].removeMovieClip("");
Symbol 342 MovieClip Frame 63
removeMovieClip("");
Symbol 342 MovieClip Frame 64
stop();
Symbol 342 MovieClip Frame 65
_root.ground.dup.enemyCount = _root.ground.dup.enemyCount - 1; _root.character.i++; duplicateMovieClip (_root.ground.stuff.burn, "spark" + _root.character.i, _root.character.i); _root.ground.stuff["spark" + _root.character.i]._x = _x - _root.ground.stuff._x; _root.ground.stuff["spark" + _root.character.i]._y = _y - _root.ground.stuff._y; _root.ground.stuff["spark" + _root.character.i]._rotation = random(360); _root.ground.stuff["spark" + _root.character.i].gotoAndStop(random(7) + 1); _root.ground.stuff["spark" + _root.character.i]._xscale = random(100) + 150; _root.ground.stuff["spark" + _root.character.i]._yscale = _root.ground.stuff["spark" + _root.character.i]._xscale; _root.ground.meh.myBitmap.draw(_root.ground.stuff); _root.ground.stuff["spark" + _root.character.i].removeMovieClip(""); _root.sfx.gotoAndPlay((random(4) + 2) * 2);
Instance of Symbol 312 MovieClip in Symbol 342 MovieClip Frame 65
onClipEvent (enterFrame) { _xscale = (_xscale + 5); _yscale = _xscale; _alpha = (_alpha - 5); }
Instance of Symbol 312 MovieClip in Symbol 342 MovieClip Frame 65
onClipEvent (enterFrame) { _xscale = (_xscale + 5); _yscale = _xscale; _alpha = (_alpha - 5); }
Instance of Symbol 312 MovieClip in Symbol 342 MovieClip Frame 65
onClipEvent (enterFrame) { _xscale = (_xscale + 5); _yscale = _xscale; _alpha = (_alpha - 5); }
Instance of Symbol 312 MovieClip in Symbol 342 MovieClip Frame 65
onClipEvent (enterFrame) { _xscale = (_xscale + 5); _yscale = _xscale; _alpha = (_alpha - 5); }
Symbol 342 MovieClip Frame 72
_root.character.i++; duplicateMovieClip (_root.ground.stuff.corpse1, "spark" + _root.character.i, _root.character.i); _root.ground.stuff["spark" + _root.character.i]._x = _x - _root.ground.stuff._x; _root.ground.stuff["spark" + _root.character.i]._y = _y - _root.ground.stuff._y; _root.ground.stuff["spark" + _root.character.i]._rotation = _rotation; _root.ground.stuff["spark" + _root.character.i].gotoAndStop(4); _root.ground.meh.myBitmap.draw(_root.ground.stuff); _root.ground.stuff["spark" + _root.character.i].removeMovieClip("");
Symbol 342 MovieClip Frame 84
removeMovieClip("");
Symbol 342 MovieClip Frame 85
stop();
Symbol 342 MovieClip Frame 86
_root.ground.dup.enemyCount = _root.ground.dup.enemyCount - 1; _root.character.i++; duplicateMovieClip (_root.ground.stuff.burn, "spark" + _root.character.i, _root.character.i); _root.ground.stuff["spark" + _root.character.i]._x = _x - _root.ground.stuff._x; _root.ground.stuff["spark" + _root.character.i]._y = _y - _root.ground.stuff._y; _root.ground.stuff["spark" + _root.character.i]._rotation = random(360); _root.ground.stuff["spark" + _root.character.i].gotoAndStop(random(7) + 1); _root.ground.stuff["spark" + _root.character.i]._xscale = random(100) + 150; _root.ground.stuff["spark" + _root.character.i]._yscale = _root.ground.stuff["spark" + _root.character.i]._xscale; _root.ground.meh.myBitmap.draw(_root.ground.stuff); _root.ground.stuff["spark" + _root.character.i].removeMovieClip(""); _root.sfx.gotoAndPlay((random(4) + 2) * 2);
Symbol 342 MovieClip Frame 93
_root.character.i++; duplicateMovieClip (_root.ground.stuff.corpse1, "spark" + _root.character.i, _root.character.i); _root.ground.stuff["spark" + _root.character.i]._x = _x - _root.ground.stuff._x; _root.ground.stuff["spark" + _root.character.i]._y = _y - _root.ground.stuff._y; _root.ground.stuff["spark" + _root.character.i]._rotation = _rotation; _root.ground.meh.myBitmap.draw(_root.ground.stuff); _root.ground.stuff["spark" + _root.character.i].removeMovieClip("");
Symbol 342 MovieClip Frame 105
removeMovieClip("");
Symbol 342 MovieClip Frame 106
stop(); health = 150;
Symbol 342 MovieClip Frame 107
_root.ground.dup.enemyCount = _root.ground.dup.enemyCount - 1; _root.countDown.bKill = 1; _root.character.i++; duplicateMovieClip (_root.ground.stuff.burn, "spark" + _root.character.i, _root.character.i); _root.ground.stuff["spark" + _root.character.i]._x = _x - _root.ground.stuff._x; _root.ground.stuff["spark" + _root.character.i]._y = _y - _root.ground.stuff._y; _root.ground.stuff["spark" + _root.character.i]._rotation = random(360); _root.ground.stuff["spark" + _root.character.i].gotoAndStop(random(7) + 1); _root.ground.stuff["spark" + _root.character.i]._xscale = random(100) + 150; _root.ground.stuff["spark" + _root.character.i]._yscale = _root.ground.stuff["spark" + _root.character.i]._xscale; _root.ground.meh.myBitmap.draw(_root.ground.stuff); _root.ground.stuff["spark" + _root.character.i].removeMovieClip(""); _root.sfx.gotoAndPlay((random(4) + 2) * 2);
Symbol 342 MovieClip Frame 114
_root.character.i++; duplicateMovieClip (_root.ground.stuff.corpse1, "spark" + _root.character.i, _root.character.i); _root.ground.stuff["spark" + _root.character.i]._x = _x - _root.ground.stuff._x; _root.ground.stuff["spark" + _root.character.i]._y = _y - _root.ground.stuff._y; _root.ground.stuff["spark" + _root.character.i]._rotation = _rotation; _root.ground.stuff["spark" + _root.character.i].gotoAndStop(5); _root.ground.meh.myBitmap.draw(_root.ground.stuff); _root.ground.stuff["spark" + _root.character.i].removeMovieClip("");
Symbol 342 MovieClip Frame 126
removeMovieClip("");
Symbol 342 MovieClip Frame 127
health = 150; stop();
Symbol 342 MovieClip Frame 128
_root.ground.dup.enemyCount = _root.ground.dup.enemyCount - 1; _root.character.i++; duplicateMovieClip (_root.ground.stuff.burn, "spark" + _root.character.i, _root.character.i); _root.ground.stuff["spark" + _root.character.i]._x = _x - _root.ground.stuff._x; _root.ground.stuff["spark" + _root.character.i]._y = _y - _root.ground.stuff._y; _root.ground.stuff["spark" + _root.character.i]._rotation = random(360); _root.ground.stuff["spark" + _root.character.i].gotoAndStop(random(7) + 1); _root.ground.stuff["spark" + _root.character.i]._xscale = random(100) + 150; _root.ground.stuff["spark" + _root.character.i]._yscale = _root.ground.stuff["spark" + _root.character.i]._xscale; _root.ground.meh.myBitmap.draw(_root.ground.stuff); _root.ground.stuff["spark" + _root.character.i].removeMovieClip(""); _root.sfx.gotoAndPlay((random(4) + 2) * 2);
Symbol 342 MovieClip Frame 135
_root.character.i++; duplicateMovieClip (_root.ground.stuff.corpse1, "spark" + _root.character.i, _root.character.i); _root.ground.stuff["spark" + _root.character.i]._x = _x - _root.ground.stuff._x; _root.ground.stuff["spark" + _root.character.i]._y = _y - _root.ground.stuff._y; _root.ground.stuff["spark" + _root.character.i]._rotation = _rotation; _root.ground.stuff["spark" + _root.character.i].gotoAndStop(3); _root.ground.meh.myBitmap.draw(_root.ground.stuff); _root.ground.stuff["spark" + _root.character.i].removeMovieClip("");
Symbol 342 MovieClip Frame 147
removeMovieClip("");
Symbol 342 MovieClip Frame 148
stop(); health = 100;
Symbol 342 MovieClip Frame 149
_root.ground.dup.enemyCount = _root.ground.dup.enemyCount - 1; n = 0; while (n < 3) { _root.ground.dup.z++; if (_root.ground.dup.z > 100) { _root.ground.dup.z = 2; } duplicateMovieClip (_parent.dup, "enemy" + _root.ground.dup.z, _root.ground.dup.z); _parent["enemy" + _root.ground.dup.z]._x = (_x + random(60)) - 30; _parent["enemy" + _root.ground.dup.z]._y = (_y + random(60)) - 30; _parent["enemy" + _root.ground.dup.z].gotoAndStop(158); _root.ground.character.targets.push("enemy" + _root.ground.dup.z); _parent["enemy" + _root.ground.dup.z].done = true; _root.ground.dup.enemyCount = _root.ground.dup.enemyCount + 1; _root.sfx.gotoAndPlay((random(4) + 2) * 2); n++; }
Symbol 342 MovieClip Frame 156
_root.character.i++; duplicateMovieClip (_root.ground.stuff.corpse1, "spark" + _root.character.i, _root.character.i); _root.ground.stuff["spark" + _root.character.i]._x = _x - _root.ground.stuff._x; _root.ground.stuff["spark" + _root.character.i]._y = _y - _root.ground.stuff._y; _root.ground.stuff["spark" + _root.character.i]._rotation = _rotation; _root.ground.stuff["spark" + _root.character.i].gotoAndStop(6); _root.ground.meh.myBitmap.draw(_root.ground.stuff); _root.ground.stuff["spark" + _root.character.i].removeMovieClip(""); removeMovieClip("");
Symbol 342 MovieClip Frame 157
removeMovieClip("");
Symbol 342 MovieClip Frame 158
health = 50;
Symbol 342 MovieClip Frame 159
_root.ground.dup.enemyCount = _root.ground.dup.enemyCount - 1; n = 0; while (n < 4) { _root.ground.dup.z++; if (_root.ground.dup.z > 100) { _root.ground.dup.z = 2; } duplicateMovieClip (_parent.dup, "enemy" + _root.ground.dup.z, _root.ground.dup.z); _parent["enemy" + _root.ground.dup.z]._x = (_x + random(60)) - 30; _parent["enemy" + _root.ground.dup.z]._y = (_y + random(60)) - 30; _parent["enemy" + _root.ground.dup.z].gotoAndStop(168); _root.ground.character.targets.push("enemy" + _root.ground.dup.z); _parent["enemy" + _root.ground.dup.z].done = true; _root.ground.dup.enemyCount = _root.ground.dup.enemyCount + 1; _root.sfx.gotoAndPlay((random(4) + 2) * 2); n++; }
Symbol 342 MovieClip Frame 166
_root.character.i++; duplicateMovieClip (_root.ground.stuff.corpse1, "spark" + _root.character.i, _root.character.i); _root.ground.stuff["spark" + _root.character.i]._x = _x - _root.ground.stuff._x; _root.ground.stuff["spark" + _root.character.i]._y = _y - _root.ground.stuff._y; _root.ground.stuff["spark" + _root.character.i]._rotation = _rotation; _root.ground.stuff["spark" + _root.character.i].gotoAndStop(7); _root.ground.meh.myBitmap.draw(_root.ground.stuff); _root.ground.stuff["spark" + _root.character.i].removeMovieClip("");
Symbol 342 MovieClip Frame 167
removeMovieClip("");
Symbol 342 MovieClip Frame 168
health = 25;
Symbol 342 MovieClip Frame 169
_root.ground.dup.enemyCount = _root.ground.dup.enemyCount - 1; n = 0; while (n < 4) { _root.ground.dup.z++; if (_root.ground.dup.z > 100) { _root.ground.dup.z = 2; } duplicateMovieClip (_parent.dup, "enemy" + _root.ground.dup.z, _root.ground.dup.z); _parent["enemy" + _root.ground.dup.z]._x = (_x + random(60)) - 30; _parent["enemy" + _root.ground.dup.z]._y = (_y + random(60)) - 30; _parent["enemy" + _root.ground.dup.z].gotoAndStop(1); _root.ground.character.targets.push("enemy" + _root.ground.dup.z); _parent["enemy" + _root.ground.dup.z].done = true; _root.ground.dup.enemyCount = _root.ground.dup.enemyCount + 1; _root.sfx.gotoAndPlay((random(4) + 2) * 2); n++; }
Symbol 342 MovieClip Frame 176
_root.character.i++; duplicateMovieClip (_root.ground.stuff.corpse1, "spark" + _root.character.i, _root.character.i); _root.ground.stuff["spark" + _root.character.i]._x = _x - _root.ground.stuff._x; _root.ground.stuff["spark" + _root.character.i]._y = _y - _root.ground.stuff._y; _root.ground.stuff["spark" + _root.character.i]._rotation = _rotation; _root.ground.stuff["spark" + _root.character.i].gotoAndStop(7); _root.ground.meh.myBitmap.draw(_root.ground.stuff); _root.ground.stuff["spark" + _root.character.i].removeMovieClip("");
Symbol 342 MovieClip Frame 177
removeMovieClip("");
Symbol 355 MovieClip Frame 1
stop();
Instance of Symbol 210 MovieClip "meh" in Symbol 366 MovieClip Frame 1
onClipEvent (load) { myBitmap = new flash.display.BitmapData(1162.8, 1161.8, true, 16777215); this.createEmptyMovieClip("bg", -1); bg.attachBitmap(myBitmap, -1); myBitmap.draw(_parent.flr); _parent.flr.swapDepths(1005); _parent.flr.removeMovieClip(""); }
Instance of Symbol 290 MovieClip "spark" in Symbol 366 MovieClip Frame 1
onClipEvent (load) { if (_name != "spark") { play(); } else { stop(); } }
Instance of Symbol 307 MovieClip "bullet" in Symbol 366 MovieClip Frame 1
onClipEvent (load) { if (_name != "bullet") { if (enemyBullet != true) { l = _root.ground.character.l; if ((((l == 3) || (l == 6)) || (l == 9)) || (l == 12)) { maxTime = 10; } else if ((((l == 2) || (l == 5)) || (l == 8)) || (l == 11)) { maxTime = 15; } else if ((((l == 1) || (l == 4)) || (l == 7)) || (l == 10)) { maxTime = 20; } } rot = _rotation + 180; speed = -20; time = 0; x = Math.sin(rot * (Math.PI/180)) * speed; y = (Math.cos(rot * (Math.PI/180)) * speed) * -1; _x = (_x + (x * 2)); _y = (_y + (y * 2)); _alpha = 100; h = 0; r = false; mH = 1; l = _root.ground.character.l; if ((l > 3) && (l < 7)) { mH = 2; } else if ((l > 6) && (l < 10)) { mH = 3; } else if ((l > 9) && (l < 13)) { mH = 1000; r = true; } } } onClipEvent (enterFrame) { if (_root.pause == false) { if (_name != "bullet") { time = time + 1; if (time > maxTime) { _alpha = (_alpha - 30); } if (_alpha < 1) { removeMovieClip(""); } if (enemyBullet == true) { if (_currentframe == 2) { _x = (_x + (x / 2)); _y = (_y + (y / 2)); tar = _root.ground.character; dist = Math.sqrt(((_x - tar._x) * (_x - tar._x)) + ((_y - tar._y) * (_y - tar._y))); if (dist < 30) { _root.ground.character.i++; duplicateMovieClip (_root.ground.spark, "spark" + _root.ground.character.i, _root.ground.character.i); _root.ground["spark" + _root.ground.character.i]._x = _x; _root.ground["spark" + _root.ground.character.i]._y = _y; _root.ground["spark" + _root.ground.character.i]._rotation = _rotation - 90; _root.ground.character.i++; duplicateMovieClip (_root.ground.stuff.burn, "spark" + _root.ground.character.i, _root.ground.character.i); _root.ground.stuff["spark" + _root.ground.character.i]._x = _x - _root.ground.stuff._x; _root.ground.stuff["spark" + _root.ground.character.i]._y = _y - _root.ground.stuff._y; _root.ground.stuff["spark" + _root.ground.character.i]._rotation = random(360); _root.ground.stuff["spark" + _root.ground.character.i].gotoAndStop(random(7) + 1); _root.ground.stuff["spark" + _root.ground.character.i]._xscale = random(100) + 100; _root.ground.stuff["spark" + _root.ground.character.i]._yscale = _root.ground.stuff["spark" + _root.ground.character.i]._xscale; _root.ground.meh.myBitmap.draw(_root.ground.stuff); _root.ground.stuff["spark" + _root.ground.character.i].removeMovieClip(""); tar.health = tar.health - 1; _root.sfx.gotoAndPlay((random(3) + 9) * 2); _root.ground.modifier = random(20) - 10; _root.ground.yModifier = random(20) - 10; removeMovieClip(""); } } else if (_currentframe == 3) { _x = (_x + x); _y = (_y + y); x = x * 0.9; y = y * 0.9; if ((x < 0.5) && (y < 0.5)) { dist = Math.sqrt(((_x - tar._x) * (_x - tar._x)) + ((_y - tar._y) * (_y - tar._y))); if (dist < 100) { _root.character.health = _root.character.health - 1; _root.sfx.gotoAndPlay((random(3) + 9) * 2); _root.ground.modifier = random(20) - 10; _root.ground.yModifier = random(20) - 10; } else if (dist < 30) { _root.ground.modifier = random(40) - 20; _root.ground.yModifier = random(40) - 20; _root.ground.character.i++; duplicateMovieClip (_root.ground.explosion, "spark" + _root.ground.character.i, _root.ground.character.i); _root.ground["spark" + _root.ground.character.i]._x = _x; _root.ground["spark" + _root.ground.character.i]._y = _y; _root.ground["spark" + _root.ground.character.i]._rotation = _rotation - 90; _root.ground.character.i++; duplicateMovieClip (_root.ground.stuff.burn, "spark" + _root.ground.character.i, _root.ground.character.i); _root.ground.stuff["spark" + _root.ground.character.i]._x = _x - _root.ground.stuff._x; _root.ground.stuff["spark" + _root.ground.character.i]._y = _y - _root.ground.stuff._y; _root.ground.stuff["spark" + _root.ground.character.i]._rotation = random(360); _root.ground.stuff["spark" + _root.ground.character.i].gotoAndStop(random(7) + 1); _root.ground.stuff["spark" + _root.ground.character.i]._xscale = random(100) + 100; _root.ground.stuff["spark" + _root.ground.character.i]._yscale = _root.ground.stuff["spark" + _root.ground.character.i]._xscale; _root.ground.meh.myBitmap.draw(_root.ground.stuff); _root.ground.stuff["spark" + _root.ground.character.i].removeMovieClip(""); tar.health = tar.health - 5; _root.sfx.gotoAndPlay((random(3) + 9) * 2); removeMovieClip(""); } _root.ground.character.i++; duplicateMovieClip (_root.ground.explosion, "spark" + _root.ground.character.i, _root.ground.character.i); _root.ground["spark" + _root.ground.character.i]._x = _x; _root.ground["spark" + _root.ground.character.i]._y = _y; _root.ground["spark" + _root.ground.character.i]._rotation = _rotation - 90; _root.ground.character.i++; duplicateMovieClip (_root.ground.stuff.burn, "spark" + _root.ground.character.i, _root.ground.character.i); _root.ground.stuff["spark" + _root.ground.character.i]._x = _x - _root.ground.stuff._x; _root.ground.stuff["spark" + _root.ground.character.i]._y = _y - _root.ground.stuff._y; _root.ground.stuff["spark" + _root.ground.character.i]._rotation = random(360); _root.ground.stuff["spark" + _root.ground.character.i].gotoAndStop(random(7) + 1); _root.ground.stuff["spark" + _root.ground.character.i]._xscale = random(100) + 100; _root.ground.stuff["spark" + _root.ground.character.i]._yscale = _root.ground.stuff["spark" + _root.ground.character.i]._xscale; _root.ground.meh.myBitmap.draw(_root.ground.stuff); _root.ground.stuff["spark" + _root.ground.character.i].removeMovieClip(""); removeMovieClip(""); } tar = _root.ground.character; dist = Math.sqrt(((_x - tar._x) * (_x - tar._x)) + ((_y - tar._y) * (_y - tar._y))); if (dist < 30) { _root.ground.modifier = random(40) - 20; _root.ground.yModifier = random(40) - 20; _root.ground.character.i++; duplicateMovieClip (_root.ground.explosion, "spark" + _root.ground.character.i, _root.ground.character.i); _root.ground["spark" + _root.ground.character.i]._x = _x; _root.ground["spark" + _root.ground.character.i]._y = _y; _root.ground["spark" + _root.ground.character.i]._rotation = _rotation - 90; _root.ground.character.i++; duplicateMovieClip (_root.ground.stuff.burn, "spark" + _root.ground.character.i, _root.ground.character.i); _root.ground.stuff["spark" + _root.ground.character.i]._x = _x - _root.ground.stuff._x; _root.ground.stuff["spark" + _root.ground.character.i]._y = _y - _root.ground.stuff._y; _root.ground.stuff["spark" + _root.ground.character.i]._rotation = random(360); _root.ground.stuff["spark" + _root.ground.character.i].gotoAndStop(random(7) + 1); _root.ground.stuff["spark" + _root.ground.character.i]._xscale = random(100) + 100; _root.ground.stuff["spark" + _root.ground.character.i]._yscale = _root.ground.stuff["spark" + _root.ground.character.i]._xscale; _root.ground.meh.myBitmap.draw(_root.ground.stuff); _root.ground.stuff["spark" + _root.ground.character.i].removeMovieClip(""); tar.health = tar.health - 5; removeMovieClip(""); } } } else { _x = (_x + x); _y = (_y + y); if (nf == true) { _root.ground.character.i++; duplicateMovieClip (_root.ground.explosion, "spark" + _root.ground.character.i, _root.ground.character.i); _root.ground["spark" + _root.ground.character.i]._x = _x; _root.ground["spark" + _root.ground.character.i]._y = _y; _root.ground["spark" + _root.ground.character.i]._rotation = _rotation - 90; m = 0; while (m < (_root.ground.character.targets.length + 1)) { tar = eval ("_root.ground." + _root.ground.character.targets[m]); dist = Math.sqrt(((_x - tar._x) * (_x - tar._x)) + ((_y - tar._y) * (_y - tar._y))); if (dist < 60) { tar.health = tar.health - 3; } m++; } removeMovieClip(""); } if (_root.countDown.level != 6) { m = 0; while (m < (_root.ground.character.targets.length + 1)) { tar = eval ("_root.ground." + _root.ground.character.targets[m]); dist = Math.sqrt(((_x - tar._x) * (_x - tar._x)) + ((_y - tar._y) * (_y - tar._y))); if (dist < 20) { _root.ground.character.targets.slice(m); _root.ground.character.i++; duplicateMovieClip (_root.ground.spark, "spark" + _root.ground.character.i, _root.ground.character.i); _root.ground["spark" + _root.ground.character.i]._x = _x; _root.ground["spark" + _root.ground.character.i]._y = _y; _root.ground["spark" + _root.ground.character.i]._rotation = _rotation - 90; _root.ground.character.i++; duplicateMovieClip (_root.ground.stuff.burn, "spark" + _root.ground.character.i, _root.ground.character.i); _root.ground.stuff["spark" + _root.ground.character.i]._x = _x - _root.ground.stuff._x; _root.ground.stuff["spark" + _root.ground.character.i]._y = _y - _root.ground.stuff._y; _root.ground.stuff["spark" + _root.ground.character.i]._rotation = random(360); _root.ground.stuff["spark" + _root.ground.character.i].gotoAndStop(random(7) + 1); _root.ground.stuff["spark" + _root.ground.character.i]._xscale = random(100) + 100; _root.ground.stuff["spark" + _root.ground.character.i]._yscale = _root.ground.stuff["spark" + _root.ground.character.i]._xscale; _root.ground.meh.myBitmap.draw(_root.ground.stuff); _root.ground.stuff["spark" + _root.ground.character.i].removeMovieClip(""); h = h + 1; tar.health = tar.health - 1; if (h > mH) { removeMovieClip(""); } } if ((r == true) && (h > 0)) { nf = true; } m++; } } else { m = 0; while (m < (_root.ground.character.targets.length + 1)) { tar = eval ("_root.ground." + _root.ground.character.targets[m]); if (tar._currentframe == 127) { dNum = 30; } else { dNum = 60; } dist = Math.sqrt(((_x - tar._x) * (_x - tar._x)) + ((_y - tar._y) * (_y - tar._y))); if (dist < dNum) { _root.ground.character.targets.slice(m); _root.ground.character.i++; duplicateMovieClip (_root.ground.spark, "spark" + _root.ground.character.i, _root.ground.character.i); _root.ground["spark" + _root.ground.character.i]._x = _x; _root.ground["spark" + _root.ground.character.i]._y = _y; _root.ground["spark" + _root.ground.character.i]._rotation = _rotation - 90; _root.ground.character.i++; duplicateMovieClip (_root.ground.stuff.burn, "spark" + _root.ground.character.i, _root.ground.character.i); _root.ground.stuff["spark" + _root.ground.character.i]._x = _x - _root.ground.stuff._x; _root.ground.stuff["spark" + _root.ground.character.i]._y = _y - _root.ground.stuff._y; _root.ground.stuff["spark" + _root.ground.character.i]._rotation = random(360); _root.ground.stuff["spark" + _root.ground.character.i].gotoAndStop(random(7) + 1); _root.ground.stuff["spark" + _root.ground.character.i]._xscale = random(100) + 100; _root.ground.stuff["spark" + _root.ground.character.i]._yscale = _root.ground.stuff["spark" + _root.ground.character.i]._xscale; _root.ground.meh.myBitmap.draw(_root.ground.stuff); _root.ground.stuff["spark" + _root.ground.character.i].removeMovieClip(""); tar.health = tar.health - 1; removeMovieClip(""); } m++; } } } if ((((_y < -950) || (_x < -950)) || (_x > 117)) || (_y > 112)) { _root.ground.character.i++; duplicateMovieClip (_root.ground.spark, "spark" + _root.ground.character.i, _root.ground.character.i); _root.ground["spark" + _root.ground.character.i]._x = _x; _root.ground["spark" + _root.ground.character.i]._y = _y; _root.ground["spark" + _root.ground.character.i]._rotation = _rotation - 90; _root.ground.character.i++; duplicateMovieClip (_root.ground.stuff.burn, "spark" + _root.ground.character.i, _root.ground.character.i); _root.ground.stuff["spark" + _root.ground.character.i]._x = _x - _root.ground.stuff._x; _root.ground.stuff["spark" + _root.ground.character.i]._y = _y - _root.ground.stuff._y; _root.ground.stuff["spark" + _root.ground.character.i]._rotation = random(360); _root.ground.stuff["spark" + _root.ground.character.i].gotoAndStop(random(7) + 1); _root.ground.stuff["spark" + _root.ground.character.i]._xscale = random(100) + 100; _root.ground.stuff["spark" + _root.ground.character.i]._yscale = _root.ground.stuff["spark" + _root.ground.character.i]._xscale; _root.ground.meh.myBitmap.draw(_root.ground.stuff); _root.ground.stuff["spark" + _root.ground.character.i].removeMovieClip(""); removeMovieClip(""); } } } }
Instance of Symbol 342 MovieClip "dup" in Symbol 366 MovieClip Frame 1
onClipEvent (load) { if (_name != "dup") { if (_root.countDown.level == 0) { gotoAndStop (1); } else if (_root.countDown.level == 1) { chance = random(2); if (chance == 1) { gotoAndStop (22); } else { gotoAndStop (1); } } else if (_root.countDown.level == 2) { if (_parent.dup.bDone != true) { gotoAndStop (43); _parent.dup.bDone = true; } else { chance = random(2); if (chance == 1) { gotoAndStop (22); } else { gotoAndStop (1); } } } else if ((_root.countDown.level == 3) || (_root.countDown.level == 4)) { chance = random(3); if (chance == 1) { gotoAndStop (22); } else if (chance == 2) { gotoAndStop (64); } else { gotoAndStop (1); } } else if (_root.countDown.level == 5) { chance = random(4); if (chance == 1) { gotoAndStop (22); } else if (chance == 2) { gotoAndStop (64); } else if (chance == 3) { gotoAndStop (85); } else { gotoAndStop (1); } } else if (_root.countDown.level == 7) { chance = random(4); if (chance == 1) { gotoAndStop (22); } else if (chance == 2) { gotoAndStop (64); } else if (chance == 3) { gotoAndStop (85); } else { gotoAndStop (1); } } stFra = _currentframe; cacheAsBitmap = true; health = 3; fraEvent = 29; rotChange = random(20); maxSpeed = random(3) + 2; if (_y < -950) { _y = -950; } if (_x < -950) { _x = -950; } if (_y > 117) { _y = 117; } if (_x > 117) { _x = 117; } } else { z = 90; enemyCount = 0; xSpawn = new Array(-655, -169, 137, 137, -172, -655, -977, -977); ySpawn = new Array(-970, -970, -636, -167, 144, 144, -164, -636); spNum = 0; } } onClipEvent (enterFrame) { if (_root.pause == false) { if (_name != "dup") { if (done != true) { if (_currentframe != 127) { _name = ("enemy" + _parent.dup.z); } _root.ground.character.targets.push(_name); done = true; } if (_currentframe == stFra) { fraEvent = fraEvent + 1; if (_currentframe == 1) { if (fraEvent == 30) { shootChance = random(5) + 1; myRadians = Math.atan2(_root.ground.character._y - this._y, _root.ground.character._x - this._x); myDegrees = Math.round((myRadians * 180) / Math.PI); _rotation = (myDegrees + 90); dist = Math.sqrt(((_x - _root.ground.character._x) * (_x - _root.ground.character._x)) + ((_y - _root.ground.character._y) * (_y - _root.ground.character._y))); if (Math.abs(dist) < 120) { speed = 0; } else if (dist > 300) { rot = ((_rotation - 90) * Math.PI) / 180; speed = maxSpeed; } else { speed = maxSpeed; rot = ((_rotation - rotChange) * Math.PI) / 180; } xV = Math.cos(rot) * speed; yV = Math.sin(rot) * speed; fraEvent = 0; if (shootChance == 1) { _root.ground.character.i++; duplicateMovieClip (_root.ground.bullet, "bullet" + _root.ground.character.i, _root.ground.character.i); _root.ground["bullet" + _root.ground.character.i]._x = _x; _root.ground["bullet" + _root.ground.character.i]._y = _y; _root.ground["bullet" + _root.ground.character.i]._rotation = _rotation; _root.ground["bullet" + _root.ground.character.i].enemyBullet = true; _root.ground["bullet" + _root.ground.character.i].gotoAndStop(2); } } } else if ((_currentframe == 22) || (_currentframe == 85)) { if (fraEvent == 30) { shootChance = 0; myRadians = Math.atan2(_root.ground.character._y - this._y, _root.ground.character._x - this._x); myDegrees = Math.round((myRadians * 180) / Math.PI); _rotation = (myDegrees + 90); dist = Math.sqrt(((_x - _root.ground.character._x) * (_x - _root.ground.character._x)) + ((_y - _root.ground.character._y) * (_y - _root.ground.character._y))); if (Math.abs(dist) < 60) { speed = 0; if (_currentframe == 22) { shootChance = random(2); } else { shootChance = 1; } } else { rot = ((_rotation - 90) * Math.PI) / 180; speed = maxSpeed; } xV = Math.cos(rot) * speed; yV = Math.sin(rot) * speed; fraEvent = 0; if (shootChance == 1) { if (_currentframe == 22) { _root.ground.character.i++; duplicateMovieClip (_root.ground.spark, "spark" + _root.ground.character.i, _root.ground.character.i); _root.ground["spark" + _root.ground.character.i]._x = _x; _root.ground["spark" + _root.ground.character.i]._y = _y; _root.ground["spark" + _root.ground.character.i]._rotation = _rotation - 90; _root.ground.character.i++; duplicateMovieClip (_root.ground.spark, "spark" + _root.ground.character.i, _root.ground.character.i); _root.ground["spark" + _root.ground.character.i]._x = _x; _root.ground["spark" + _root.ground.character.i]._y = _y; _root.ground["spark" + _root.ground.character.i]._rotation = _rotation - 90; _root.ground.modifier = random(20) - 10; _root.ground.yModifier = random(20) - 10; _root.sfx.gotoAndPlay((random(3) + 9) * 2); _root.ground.character.health = _root.ground.character.health - 1; } else { play(); _root.ground.character.health = _root.ground.character.health - 5; _root.ground.modifier = random(20) - 10; _root.ground.yModifier = random(20) - 10; } } } } else if (_currentframe == 43) { if (fraEvent == 30) { shootChance = random(5) + 1; myRadians = Math.atan2(_root.ground.character._y - this._y, _root.ground.character._x - this._x); myDegrees = Math.round((myRadians * 180) / Math.PI); _rotation = (myDegrees + 90); dist = Math.sqrt(((_x - _root.ground.character._x) * (_x - _root.ground.character._x)) + ((_y - _root.ground.character._y) * (_y - _root.ground.character._y))); if (Math.abs(dist) < 120) { speed = 0; } else if (dist > 300) { rot = ((_rotation - 90) * Math.PI) / 180; speed = maxSpeed; } else { speed = maxSpeed; rot = ((_rotation - rotChange) * Math.PI) / 180; } xV = Math.cos(rot) * speed; yV = Math.sin(rot) * speed; fraEvent = 0; if (shootChance == 1) { _root.ground.character.i++; duplicateMovieClip (_root.ground.bullet, "bullet" + _root.ground.character.i, _root.ground.character.i); _root.ground["bullet" + _root.ground.character.i]._x = _x; _root.ground["bullet" + _root.ground.character.i]._y = _y; _root.ground["bullet" + _root.ground.character.i]._rotation = _rotation; _root.ground["bullet" + _root.ground.character.i].enemyBullet = true; _root.ground["bullet" + _root.ground.character.i].gotoAndStop(2); } } } else if (_currentframe == 64) { if (fraEvent == 30) { shootChance = random(5) + 1; myRadians = Math.atan2(_root.ground.character._y - this._y, _root.ground.character._x - this._x); myDegrees = Math.round((myRadians * 180) / Math.PI); _rotation = (myDegrees + 90); dist = Math.sqrt(((_x - _root.ground.character._x) * (_x - _root.ground.character._x)) + ((_y - _root.ground.character._y) * (_y - _root.ground.character._y))); if (Math.abs(dist) < 120) { speed = 0; } else if (dist > 300) { rot = ((_rotation - 90) * Math.PI) / 180; speed = maxSpeed; } else { speed = maxSpeed; rot = ((_rotation - rotChange) * Math.PI) / 180; } xV = Math.cos(rot) * speed; yV = Math.sin(rot) * speed; fraEvent = 0; if (shootChance == 1) { _root.ground.character.i++; duplicateMovieClip (_root.ground.bullet, "bullet" + _root.ground.character.i, _root.ground.character.i); _root.ground["bullet" + _root.ground.character.i]._x = _x; _root.ground["bullet" + _root.ground.character.i]._y = _y; _root.ground["bullet" + _root.ground.character.i]._rotation = _rotation; _root.ground["bullet" + _root.ground.character.i].enemyBullet = true; _root.ground["bullet" + _root.ground.character.i].gotoAndStop(3); } } } else if (_currentframe == 106) { if (redDone != true) { redArr = new Array(); n = 0; while (n < 3) { _root.ground.dup.z++; if (_root.ground.dup.z > 100) { _root.ground.dup.z = 2; } duplicateMovieClip (_parent.dup, "enemy" + _root.ground.dup.z, _root.ground.dup.z); _parent["enemy" + _root.ground.dup.z]._x = _x; _parent["enemy" + _root.ground.dup.z]._y = _y; _parent["enemy" + _root.ground.dup.z].gotoAndStop(127); if (n == 0) { _parent["enemy" + _root.ground.dup.z].rot = 180; } else if (n == 1) { _parent["enemy" + _root.ground.dup.z].rot = -60; } else if (n == 2) { _parent["enemy" + _root.ground.dup.z].rot = 60; } _parent["enemy" + _root.ground.dup.z].t = eval ("_root.ground." + _name); redArr.push(eval (_root.ground["enemy" + _root.ground.dup.z])); _root.ground.dup.spNum = _root.ground.dup.spNum + 1; if (_root.ground.dup.spNum > 7) { _root.ground.dup.spNum = 0; } _root.ground.dup.enemyCount = _root.ground.dup.enemyCount + 1; n++; } fraEvent = 9; redDone = true; } v = 0; while (v < 3) { tgt = redArr[v]; if (tgt.health > 0) { health = 150; } v++; } shootChance = random(100) + 1; myRadians = Math.atan2(_root.ground.character._y - this._y, _root.ground.character._x - this._x); myDegrees = Math.round((myRadians * 180) / Math.PI); _rotation = (myDegrees + 90); dist = Math.sqrt(((_x - _root.ground.character._x) * (_x - _root.ground.character._x)) + ((_y - _root.ground.character._y) * (_y - _root.ground.character._y))); if (Math.abs(dist) < 120) { speed = 0; } else if (dist > 300) { rot = ((_rotation - 90) * Math.PI) / 180; speed = maxSpeed; } else { speed = maxSpeed; rot = ((_rotation - rotChange) * Math.PI) / 180; } xV = Math.cos(rot) * speed; yV = Math.sin(rot) * speed; fraEvent = 0; if (shootChance == 1) { _root.ground.character.i++; duplicateMovieClip (_root.ground.bullet, "bullet" + _root.ground.character.i, _root.ground.character.i); _root.ground["bullet" + _root.ground.character.i]._x = _x; _root.ground["bullet" + _root.ground.character.i]._y = _y; _root.ground["bullet" + _root.ground.character.i]._rotation = _rotation; _root.ground["bullet" + _root.ground.character.i].enemyBullet = true; _root.ground["bullet" + _root.ground.character.i].gotoAndStop(3); } else if (shootChance == 50) { if (_root.ground.dup.enemyCount < 5) { _root.ground.dup.z++; if (_root.ground.dup.z > 100) { _root.ground.dup.z = 2; } duplicateMovieClip (_parent.dup, "en", _root.ground.dup.z); sd = 60; xds = Math.sin(_rotation * (Math.PI/180)) * sd; yds = (Math.cos(_rotation * (Math.PI/180)) * sd) * -1; _parent.en._x = _x + xds; _parent.en._y = _y + yds; _parent.en.gotoAndStop(85); _root.ground.dup.enemyCount = _root.ground.dup.enemyCount + 1; } } } else if (_currentframe == 127) { shootChance = random(40) + 1; sd = 100; xds = Math.sin(rot * (Math.PI/180)) * sd; yds = (Math.cos(rot * (Math.PI/180)) * sd) * -1; _rotation = t._rotation; _x = (t._x + xds); _y = (t._y + yds); if (shootChance == 1) { _root.ground.character.i++; duplicateMovieClip (_root.ground.bullet, "bullet" + _root.ground.character.i, _root.ground.character.i); _root.ground["bullet" + _root.ground.character.i]._x = _x; _root.ground["bullet" + _root.ground.character.i]._y = _y; _root.ground["bullet" + _root.ground.character.i]._rotation = _rotation; _root.ground["bullet" + _root.ground.character.i].enemyBullet = true; _root.ground["bullet" + _root.ground.character.i].gotoAndStop(2); } } _x = (_x + xV); _y = (_y + yV); if (_currentframe == 106) { if ((_y < -840) || (_y > 5)) { _y = (_y - yV); } if ((_x < -840) || (_x > 5)) { _x = (_x - xV); } } else { if ((_y < -950) || (_y > 117)) { _y = (_y - yV); } if ((_x < -950) || (_x > 117)) { _x = (_x - xV); } } if (health < 1) { play(); } } else if (done2 != true) { a = 0; while (a < _root.ground.character.targets.length) { if (_root.ground.character.targets[a] == _name) { _root.ground.character.targets.splice(a, 1); itemChance = random(20) + 1; if (itemChance == 1) { _root.ground.character.i++; duplicateMovieClip (_root.ground.powerup, "powerup" + _root.ground.character.i, _root.ground.character.i); _root.ground["powerup" + _root.ground.character.i]._x = _x; _root.ground["powerup" + _root.ground.character.i]._y = _y; } a = 1000; _name = ""; _root.k = _root.k + _root.multiplier; } a++; } done2 = true; } } else if (_root.countDown.level == 0) { if ((_root.kill + enemyCount) < _root.countDown.maxKillCount) { if (((enemyCount < 10) && (_root.countDown.alTimer == 120)) && (_root.countDown.inBetweenTimer == 0)) { z++; if (z > 100) { z = 2; } duplicateMovieClip (_parent.dup, "en", z); _parent.en._x = xSpawn[spNum]; _parent.en._y = ySpawn[spNum]; spNum = spNum + 1; if (spNum > 7) { spNum = 0; } enemyCount = enemyCount + 1; } } } else if (_root.countDown.level == 1) { if ((_root.countDown.rKill + enemyCount) < _root.countDown.maxKillCount) { if (((enemyCount < 15) && (_root.countDown.alTimer == 120)) && (_root.countDown.inBetweenTimer == 0)) { z++; if (z > 100) { z = 2; } duplicateMovieClip (_parent.dup, "en", z); _parent.en._x = xSpawn[spNum]; _parent.en._y = ySpawn[spNum]; spNum = spNum + 1; if (spNum > 7) { spNum = 0; } enemyCount = enemyCount + 1; } } } else if (_root.countDown.level == 2) { if (_root.countDown.bKill != 1) { if (((enemyCount < 15) && (_root.countDown.alTimer == 120)) && (_root.countDown.inBetweenTimer == 0)) { z++; if (z > 100) { z = 2; } duplicateMovieClip (_parent.dup, "en", z); _parent.en._x = xSpawn[spNum]; _parent.en._y = ySpawn[spNum]; spNum = spNum + 1; if (spNum > 7) { spNum = 0; } enemyCount = enemyCount + 1; } } } else if (_root.countDown.level == 3) { if ((_root.kill + enemyCount) < _root.countDown.maxKillCount) { if (((enemyCount < 15) && (_root.countDown.alTimer == 120)) && (_root.countDown.inBetweenTimer == 0)) { z++; if (z > 100) { z = 2; } duplicateMovieClip (_parent.dup, "en", z); _parent.en._x = xSpawn[spNum]; _parent.en._y = ySpawn[spNum]; spNum = spNum + 1; if (spNum > 7) { spNum = 0; } enemyCount = enemyCount + 1; } } } else if (_root.countDown.level == 4) { if ((_root.kill + enemyCount) < _root.countDown.maxKillCount) { if (((enemyCount < 10) && (_root.countDown.alTimer == 120)) && (_root.countDown.inBetweenTimer == 0)) { z++; if (z > 100) { z = 2; } duplicateMovieClip (_parent.dup, "en", z); _parent.en._x = xSpawn[spNum]; _parent.en._y = ySpawn[spNum]; spNum = spNum + 1; if (spNum > 7) { spNum = 0; } enemyCount = enemyCount + 1; } } } else if (_root.countDown.level == 5) { if ((_root.kill + enemyCount) < _root.countDown.maxKillCount) { if (((enemyCount < 15) && (_root.countDown.alTimer == 120)) && (_root.countDown.inBetweenTimer == 0)) { z++; if (z > 100) { z = 2; } duplicateMovieClip (_parent.dup, "en", z); _parent.en._x = xSpawn[spNum]; _parent.en._y = ySpawn[spNum]; spNum = spNum + 1; if (spNum > 7) { spNum = 0; } enemyCount = enemyCount + 1; } } } else if (_root.countDown.level == 6) { if (boss2Done != true) { if ((_root.countDown.alTimer == 120) && (_root.countDown.inBetweenTimer == 0)) { z++; if (z > 100) { z = 2; } duplicateMovieClip (_parent.dup, "en", z); _parent.en._x = xSpawn[spNum]; _parent.en._y = ySpawn[spNum]; if (_parent.en._y < -840) { _parent.en._y = -840; } if (_parent.en._x < -840) { _parent.en._x = -840; } if (_parent.en._y > 5) { _parent.en._y = 5; } if (_parent.en._x > 5) { _parent.en._x = 5; } _parent.en.gotoAndStop(106); spNum = spNum + 1; if (spNum > 7) { spNum = 0; } enemyCount = enemyCount + 1; boss2Done = true; } } } else if (_root.countDown.level == 7) { if (((enemyCount < 20) && (_root.countDown.alTimer == 120)) && (_root.countDown.inBetweenTimer == 0)) { z++; if (z > 100) { z = 2; } duplicateMovieClip (_parent.dup, "en", z); _parent.en._x = xSpawn[spNum]; _parent.en._y = ySpawn[spNum]; spNum = spNum + 1; if (spNum > 7) { spNum = 0; } enemyCount = enemyCount + 1; } } } }
Instance of Symbol 329 MovieClip "explosion" in Symbol 366 MovieClip Frame 1
onClipEvent (load) { if (_name == "explosion") { stop(); } else { _root.sfx.gotoAndPlay((random(4) + 2) * 2); } }
Instance of Symbol 355 MovieClip in Symbol 366 MovieClip Frame 1
onClipEvent (load) { gotoAndStop (2); } onClipEvent (enterFrame) { if (_root.countDown.level == 4) { gotoAndStop (1); if (_root.ground.character._y < -419) { _y = -940; } else { _y = 100; } _x = _root.ground.character._x; if ((_x + (_width / 2)) > 117) { _x = (117 - (_width / 2)); } if ((_x - (_width / 2)) < -950) { _x = (-950 + (_width / 2)); } } else { gotoAndStop (2); } }
Instance of Symbol 355 MovieClip in Symbol 366 MovieClip Frame 1
onClipEvent (load) { gotoAndStop (2); } onClipEvent (enterFrame) { if (_root.countDown.level == 4) { gotoAndStop (1); if (_root.ground.character._x < -419) { _x = -940; } else { _x = 100; } _y = _root.ground.character._y; if ((_y + (_height / 2)) > 117) { _y = (117 - (_height / 2)); } if ((_y - (_height / 2)) < -950) { _y = (-950 + (_height / 2)); } } else { gotoAndStop (2); } }
Instance of Symbol 359 MovieClip "powerup" in Symbol 366 MovieClip Frame 1
onClipEvent (load) { if (_name != "powerup") { time = 0; gotoAndStop(random(3) + 1); if ((_currentframe == 2) && (_root.ground.character.l > (_root.countDown.level + 1))) { gotoAndStop (3); } } } onClipEvent (enterFrame) { tar = eval ("_root.ground." + _root.ground.character); dist = Math.sqrt(((_x - tar._x) * (_x - tar._x)) + ((_y - tar._y) * (_y - tar._y))); if (dist < 30) { if (_currentframe == 1) { _root.sfx.gotoAndPlay(12); _root.ground.character.health = _root.ground.character.health + 25; if (_root.ground.character.health > 100) { _root.ground.character.health = 100; } removeMovieClip(""); } else if (_currentframe == 2) { _root.sfx.gotoAndPlay(14); _root.ground.character.l = _root.ground.character.l + 1; removeMovieClip(""); } else if (_currentframe == 3) { _root.sfx.gotoAndPlay(16); _root.ground.character.i++; duplicateMovieClip (_root.ground.explosion, "spark" + _root.ground.character.i, _root.ground.character.i); _root.ground["spark" + _root.ground.character.i]._x = _x; _root.ground["spark" + _root.ground.character.i]._y = _y; _root.ground["spark" + _root.ground.character.i]._xscale = 300; _root.ground["spark" + _root.ground.character.i]._yscale = 300; _root.ground["spark" + _root.ground.character.i]._rotation = _rotation - 90; m = 0; while (m < (_root.ground.character.targets.length + 1)) { tar = eval ("_root.ground." + _root.ground.character.targets[m]); dist = Math.sqrt(((_x - tar._x) * (_x - tar._x)) + ((_y - tar._y) * (_y - tar._y))); if (dist < 200) { tar.health = tar.health - 3; } m++; } _root.ground.modifier = 60; _root.ground.yModifier = 60; removeMovieClip(""); } } }
Instance of Symbol 365 MovieClip "character" in Symbol 366 MovieClip Frame 1
onClipEvent (load) { function shoot() { del = 3; if (l <= 6) { if (l == 1) { i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = _rotation - 90; } else if (l == 2) { i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = (_rotation - 90) + 10; i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = (_rotation - 90) - 10; } else if (l == 3) { i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = _rotation - 90; i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = ((_rotation - 90) + random(40)) - 20; i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = ((_rotation - 90) + random(40)) - 20; } else if (l == 4) { i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = _rotation - 90; _root.ground["bullet" + i].gotoAndStop(4); } else if (l == 5) { i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = (_rotation - 90) - 10; _root.ground["bullet" + i].gotoAndStop(4); i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = (_rotation - 90) + 10; _root.ground["bullet" + i].gotoAndStop(4); } else if (l == 6) { i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = _rotation - 90; _root.ground["bullet" + i].gotoAndStop(4); i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = ((_rotation - 90) + random(40)) - 20; _root.ground["bullet" + i].gotoAndStop(4); i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = ((_rotation - 90) + random(40)) - 20; _root.ground["bullet" + i].gotoAndStop(4); } } else if (l == 7) { i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = _rotation - 90; _root.ground["bullet" + i].gotoAndStop(5); } else if (l == 8) { i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = (_rotation - 90) + 10; _root.ground["bullet" + i].gotoAndStop(5); i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = (_rotation - 90) - 10; _root.ground["bullet" + i].gotoAndStop(5); } else if (l == 9) { i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = _rotation - 90; _root.ground["bullet" + i].gotoAndStop(5); i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = ((_rotation - 90) + random(40)) - 20; _root.ground["bullet" + i].gotoAndStop(5); i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = ((_rotation - 90) + random(40)) - 20; _root.ground["bullet" + i].gotoAndStop(5); } else if (l == 10) { i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = _rotation - 90; _root.ground["bullet" + i].gotoAndStop(6); } else if (l == 11) { i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = (_rotation - 90) + 10; _root.ground["bullet" + i].gotoAndStop(6); i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = (_rotation - 90) - 10; _root.ground["bullet" + i].gotoAndStop(6); } else if (l == 12) { i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = _rotation - 90; _root.ground["bullet" + i].gotoAndStop(6); i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = ((_rotation - 90) + random(40)) - 20; _root.ground["bullet" + i].gotoAndStop(6); i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = ((_rotation - 90) + random(40)) - 20; _root.ground["bullet" + i].gotoAndStop(6); } _root.sfx.gotoAndPlay(2); } l = 1; del = 0; swapDepths(1000); x = 0; i = 125; maxSpeed = 30; decel = 0.2; y = 0; modifier = 0; yModifier = 0; targets = new Array(a); health = 100; } onClipEvent (enterFrame) { if (l > 12) { l = 12; } _root.wpn = "Weapon Lv: " + l; if (_root.pause == false) { if (i > 500) { i = 125; } myRadians = Math.atan2(_root._ymouse - (this._y + _root.ground._y), _root._xmouse - (this._x + _root.ground._x)); myDegrees = Math.round((myRadians * 180) / Math.PI); _rotation = (myDegrees + 180); rot = _rotation; if (Key.isDown(65) || (Key.isDown(37))) { if (x < maxSpeed) { x = x + 1; } } else if (Key.isDown(68) || (Key.isDown(39))) { if (x > (-maxSpeed)) { x = x - 1; } } else { if (x > 0) { x = x - decel; } if (x < 0) { x = x + decel; } if (Math.abs(x) < decel) { x = 0; } } if (Key.isDown(83) || (Key.isDown(40))) { if (y < maxSpeed) { y = y + 1; } } else if (Key.isDown(87) || (Key.isDown(38))) { if (y > (-maxSpeed)) { y = y - 1; } } else { if (y > 0) { y = y - decel; } if (y < 0) { y = y + decel; } if (Math.abs(y) < decel) { y = 0; } } _x = (_x - x); _y = (_y + y); if (_root.countDown.level == 4) { if (_x > 75) { _root.ground.modifier = random(40) - 20; _root.ground.yModifier = random(40) - 20; i++; duplicateMovieClip (_root.ground.explosion, "spark" + i, i); _root.ground["spark" + i]._x = _x; _root.ground["spark" + i]._y = _y; _root.ground["spark" + i]._rotation = _rotation - 90; i++; duplicateMovieClip (_root.ground.stuff.burn, "spark" + i, i); _root.ground.stuff["spark" + i]._x = _x - _root.ground.stuff._x; _root.ground.stuff["spark" + i]._y = _y - _root.ground.stuff._y; _root.ground.stuff["spark" + i]._rotation = random(360); _root.ground.stuff["spark" + i].gotoAndStop(random(7) + 1); _root.ground.stuff["spark" + i]._xscale = random(100) + 100; _root.ground.stuff["spark" + i]._yscale = _root.ground.stuff["spark" + i]._xscale; _root.ground.meh.myBitmap.draw(_root.ground.stuff); _root.ground.stuff["spark" + i].removeMovieClip(""); health = health - 2; _x = 75; x = x * -1.3; if (Math.abs(x) > maxSpeed) { if (x > 0) { x = maxSpeed; } else { x = -maxSpeed; } } } if (_y > 75) { _root.ground.modifier = random(40) - 20; _root.ground.yModifier = random(40) - 20; i++; duplicateMovieClip (_root.ground.explosion, "spark" + i, i); _root.ground["spark" + i]._x = _x; _root.ground["spark" + i]._y = _y; _root.ground["spark" + i]._rotation = _rotation - 90; i++; duplicateMovieClip (_root.ground.stuff.burn, "spark" + i, i); _root.ground.stuff["spark" + i]._x = _x - _root.ground.stuff._x; _root.ground.stuff["spark" + i]._y = _y - _root.ground.stuff._y; _root.ground.stuff["spark" + i]._rotation = random(360); _root.ground.stuff["spark" + i].gotoAndStop(random(7) + 1); _root.ground.stuff["spark" + i]._xscale = random(100) + 100; _root.ground.stuff["spark" + i]._yscale = _root.ground.stuff["spark" + i]._xscale; _root.ground.meh.myBitmap.draw(_root.ground.stuff); _root.ground.stuff["spark" + i].removeMovieClip(""); health = health - 2; _y = 75; y = y * -1.3; if (Math.abs(y) > maxSpeed) { if (y > 0) { y = maxSpeed; } else { y = -maxSpeed; } } } if (_x < -910) { _root.ground.modifier = random(40) - 20; _root.ground.yModifier = random(40) - 20; i++; duplicateMovieClip (_root.ground.explosion, "spark" + i, i); _root.ground["spark" + i]._x = _x; _root.ground["spark" + i]._y = _y; _root.ground["spark" + i]._rotation = _rotation - 90; i++; duplicateMovieClip (_root.ground.stuff.burn, "spark" + i, i); _root.ground.stuff["spark" + i]._x = _x - _root.ground.stuff._x; _root.ground.stuff["spark" + i]._y = _y - _root.ground.stuff._y; _root.ground.stuff["spark" + i]._rotation = random(360); _root.ground.stuff["spark" + i].gotoAndStop(random(7) + 1); _root.ground.stuff["spark" + i]._xscale = random(100) + 100; _root.ground.stuff["spark" + i]._yscale = _root.ground.stuff["spark" + i]._xscale; _root.ground.meh.myBitmap.draw(_root.ground.stuff); _root.ground.stuff["spark" + i].removeMovieClip(""); health = health - 2; _x = -910; x = x * -1.3; if (Math.abs(x) > maxSpeed) { if (x > 0) { x = maxSpeed; } else { x = -maxSpeed; } } } if (_y < -910) { _root.ground.modifier = random(40) - 20; _root.ground.yModifier = random(40) - 20; i++; duplicateMovieClip (_root.ground.explosion, "spark" + i, i); _root.ground["spark" + i]._x = _x; _root.ground["spark" + i]._y = _y; _root.ground["spark" + i]._rotation = _rotation - 90; i++; duplicateMovieClip (_root.ground.stuff.burn, "spark" + i, i); _root.ground.stuff["spark" + i]._x = _x - _root.ground.stuff._x; _root.ground.stuff["spark" + i]._y = _y - _root.ground.stuff._y; _root.ground.stuff["spark" + i]._rotation = random(360); _root.ground.stuff["spark" + i].gotoAndStop(random(7) + 1); _root.ground.stuff["spark" + i]._xscale = random(100) + 100; _root.ground.stuff["spark" + i]._yscale = _root.ground.stuff["spark" + i]._xscale; _root.ground.meh.myBitmap.draw(_root.ground.stuff); _root.ground.stuff["spark" + i].removeMovieClip(""); health = health - 2; _y = -910; y = y * -1.3; if (Math.abs(y) > maxSpeed) { if (y > 0) { y = maxSpeed; } else { y = -maxSpeed; } } } } else { if (_x > 95) { i++; duplicateMovieClip (_root.ground.spark, "spark" + i, i); _root.ground["spark" + i]._x = 117; _root.ground["spark" + i]._y = _y; _root.ground["spark" + i]._rotation = 0; _x = 95; x = x * -0.5; } if (_y > 95) { i++; duplicateMovieClip (_root.ground.spark, "spark" + i, i); _root.ground["spark" + i]._x = _x; _root.ground["spark" + i]._y = 117; _root.ground["spark" + i]._rotation = 90; _y = 95; y = y * -0.5; } if (_x < -930) { i++; duplicateMovieClip (_root.ground.spark, "spark" + i, i); _root.ground["spark" + i]._x = -950; _root.ground["spark" + i]._y = _y; _root.ground["spark" + i]._rotation = 180; _x = -930; x = x * -0.5; } if (_y < -930) { i++; duplicateMovieClip (_root.ground.spark, "spark" + i, i); _root.ground["spark" + i]._x = _x; _root.ground["spark" + i]._y = -950; _root.ground["spark" + i]._rotation = 270; _y = -930; y = y * -0.5; } } del = del - 1; if ((firing == true) && (del < 1)) { shoot(); } } } onClipEvent (mouseDown) { firing = true; } onClipEvent (mouseUp) { firing = false; }
Symbol 372 Button
on (release) { _root.pause = false; gotoAndStop (1); }
Symbol 377 Button
on (release) { if (_root._quality == "HIGH") { _root._quality = "MEDIUM"; } else if (_root._quality == "MEDIUM") { _root._quality = "LOW"; } else if (_root._quality == "LOW") { _root._quality = "HIGH"; } }
Symbol 382 Button
on (release) { _root.pause = false; stopAllSounds(); _root.gotoAndStop(3); }
Symbol 392 Button
on (release) { if (name == "Enter Name Here") { _root.sfx.gotoAndPlay(56); } else if (done != true) { _root.submitOurScore5(); done = true; } }
Symbol 398 Button
on (release) { _root.pause = false; stopAllSounds(); _root.gotoAndStop(3); }
Symbol 402 MovieClip Frame 1
stop();
Instance of Symbol 61 MovieClip in Symbol 402 MovieClip Frame 2
onClipEvent (load) { _rotation = random(360); }
Instance of Symbol 63 MovieClip in Symbol 402 MovieClip Frame 2
onClipEvent (load) { _rotation = random(360); }
Symbol 402 MovieClip Frame 3
kill = "Kills :" + _root.kill; name = _root.playerNameSave; done = false;
Symbol 417 MovieClip Frame 1
stop();
Symbol 432 MovieClip Frame 1
stop();
Symbol 432 MovieClip Frame 2
gotoAndStop (1);
Symbol 432 MovieClip Frame 3
gotoAndStop (1);
Symbol 432 MovieClip Frame 5
gotoAndStop (1);
Symbol 432 MovieClip Frame 7
gotoAndStop (1);
Symbol 432 MovieClip Frame 9
gotoAndStop (1);
Symbol 432 MovieClip Frame 11
gotoAndStop (1);
Symbol 432 MovieClip Frame 13
gotoAndStop (1);
Symbol 432 MovieClip Frame 15
gotoAndStop (1);
Symbol 432 MovieClip Frame 17
gotoAndStop (1);
Symbol 432 MovieClip Frame 19
gotoAndStop (1);
Symbol 432 MovieClip Frame 21
gotoAndStop (1);
Symbol 432 MovieClip Frame 23
gotoAndStop (1);
Symbol 432 MovieClip Frame 51
gotoAndStop (1);
Symbol 432 MovieClip Frame 53
gotoAndStop (1);
Symbol 432 MovieClip Frame 55
gotoAndStop (1);
Symbol 432 MovieClip Frame 57
gotoAndStop (1);
Instance of Symbol 210 MovieClip "meh" in Symbol 454 MovieClip Frame 1
onClipEvent (load) { myBitmap = new flash.display.BitmapData(1162.8, 1161.8, true, 16777215); this.createEmptyMovieClip("bg", -1); bg.attachBitmap(myBitmap, -1); myBitmap.draw(_parent.flr); _parent.flr.swapDepths(1005); _parent.flr.removeMovieClip(""); }
Instance of Symbol 290 MovieClip "spark" in Symbol 454 MovieClip Frame 1
onClipEvent (load) { if (_name != "spark") { play(); } else { stop(); } }
Instance of Symbol 307 MovieClip "bullet" in Symbol 454 MovieClip Frame 1
onClipEvent (load) { if (_name != "bullet") { if (enemyBullet != true) { l = _root.ground.character.l; if ((((l == 3) || (l == 6)) || (l == 9)) || (l == 12)) { maxTime = 10; } else if ((((l == 2) || (l == 5)) || (l == 8)) || (l == 11)) { maxTime = 15; } else if ((((l == 1) || (l == 4)) || (l == 7)) || (l == 10)) { maxTime = 20; } } rot = _rotation + 180; speed = -20; time = 0; x = Math.sin(rot * (Math.PI/180)) * speed; y = (Math.cos(rot * (Math.PI/180)) * speed) * -1; _x = (_x + (x * 2)); _y = (_y + (y * 2)); _alpha = 100; h = 0; r = false; mH = 1; l = _root.ground.character.l; if ((l > 3) && (l < 7)) { mH = 2; } else if ((l > 6) && (l < 10)) { mH = 3; } else if ((l > 9) && (l < 13)) { mH = 10000; r = true; } } } onClipEvent (enterFrame) { if (_root.pause == false) { if (_name != "bullet") { time = time + 1; if (time > maxTime) { _alpha = (_alpha - 30); } if (_alpha < 1) { removeMovieClip(""); } if (enemyBullet == true) { if (_currentframe == 2) { _x = (_x + (x / 2)); _y = (_y + (y / 2)); tar = _root.ground.character; dist = Math.sqrt(((_x - tar._x) * (_x - tar._x)) + ((_y - tar._y) * (_y - tar._y))); if (dist < 30) { _root.ground.character.i++; duplicateMovieClip (_root.ground.spark, "spark" + _root.ground.character.i, _root.ground.character.i); _root.ground["spark" + _root.ground.character.i]._x = _x; _root.ground["spark" + _root.ground.character.i]._y = _y; _root.ground["spark" + _root.ground.character.i]._rotation = _rotation - 90; _root.ground.character.i++; duplicateMovieClip (_root.ground.stuff.burn, "spark" + _root.ground.character.i, _root.ground.character.i); _root.ground.stuff["spark" + _root.ground.character.i]._x = _x - _root.ground.stuff._x; _root.ground.stuff["spark" + _root.ground.character.i]._y = _y - _root.ground.stuff._y; _root.ground.stuff["spark" + _root.ground.character.i]._rotation = random(360); _root.ground.stuff["spark" + _root.ground.character.i].gotoAndStop(random(7) + 1); _root.ground.stuff["spark" + _root.ground.character.i]._xscale = random(100) + 100; _root.ground.stuff["spark" + _root.ground.character.i]._yscale = _root.ground.stuff["spark" + _root.ground.character.i]._xscale; _root.ground.meh.myBitmap.draw(_root.ground.stuff); _root.ground.stuff["spark" + _root.ground.character.i].removeMovieClip(""); tar.health = tar.health - 1; _root.sfx.gotoAndPlay((random(3) + 9) * 2); _root.ground.modifier = random(20) - 10; _root.ground.yModifier = random(20) - 10; removeMovieClip(""); } } else if (_currentframe == 3) { _x = (_x + x); _y = (_y + y); x = x * 0.9; y = y * 0.9; if ((x < 0.5) && (y < 0.5)) { dist = Math.sqrt(((_x - tar._x) * (_x - tar._x)) + ((_y - tar._y) * (_y - tar._y))); if (dist < 100) { _root.character.health = _root.character.health - 1; _root.sfx.gotoAndPlay((random(3) + 9) * 2); _root.ground.modifier = random(20) - 10; _root.ground.yModifier = random(20) - 10; } else if (dist < 30) { _root.ground.modifier = random(40) - 20; _root.ground.yModifier = random(40) - 20; _root.ground.character.i++; duplicateMovieClip (_root.ground.explosion, "spark" + _root.ground.character.i, _root.ground.character.i); _root.ground["spark" + _root.ground.character.i]._x = _x; _root.ground["spark" + _root.ground.character.i]._y = _y; _root.ground["spark" + _root.ground.character.i]._rotation = _rotation - 90; _root.ground.character.i++; duplicateMovieClip (_root.ground.stuff.burn, "spark" + _root.ground.character.i, _root.ground.character.i); _root.ground.stuff["spark" + _root.ground.character.i]._x = _x - _root.ground.stuff._x; _root.ground.stuff["spark" + _root.ground.character.i]._y = _y - _root.ground.stuff._y; _root.ground.stuff["spark" + _root.ground.character.i]._rotation = random(360); _root.ground.stuff["spark" + _root.ground.character.i].gotoAndStop(random(7) + 1); _root.ground.stuff["spark" + _root.ground.character.i]._xscale = random(100) + 100; _root.ground.stuff["spark" + _root.ground.character.i]._yscale = _root.ground.stuff["spark" + _root.ground.character.i]._xscale; _root.ground.meh.myBitmap.draw(_root.ground.stuff); _root.ground.stuff["spark" + _root.ground.character.i].removeMovieClip(""); tar.health = tar.health - 5; _root.sfx.gotoAndPlay((random(3) + 9) * 2); removeMovieClip(""); } _root.ground.character.i++; duplicateMovieClip (_root.ground.explosion, "spark" + _root.ground.character.i, _root.ground.character.i); _root.ground["spark" + _root.ground.character.i]._x = _x; _root.ground["spark" + _root.ground.character.i]._y = _y; _root.ground["spark" + _root.ground.character.i]._rotation = _rotation - 90; _root.ground.character.i++; duplicateMovieClip (_root.ground.stuff.burn, "spark" + _root.ground.character.i, _root.ground.character.i); _root.ground.stuff["spark" + _root.ground.character.i]._x = _x - _root.ground.stuff._x; _root.ground.stuff["spark" + _root.ground.character.i]._y = _y - _root.ground.stuff._y; _root.ground.stuff["spark" + _root.ground.character.i]._rotation = random(360); _root.ground.stuff["spark" + _root.ground.character.i].gotoAndStop(random(7) + 1); _root.ground.stuff["spark" + _root.ground.character.i]._xscale = random(100) + 100; _root.ground.stuff["spark" + _root.ground.character.i]._yscale = _root.ground.stuff["spark" + _root.ground.character.i]._xscale; _root.ground.meh.myBitmap.draw(_root.ground.stuff); _root.ground.stuff["spark" + _root.ground.character.i].removeMovieClip(""); removeMovieClip(""); } tar = _root.ground.character; dist = Math.sqrt(((_x - tar._x) * (_x - tar._x)) + ((_y - tar._y) * (_y - tar._y))); if (dist < 30) { _root.ground.modifier = random(40) - 20; _root.ground.yModifier = random(40) - 20; _root.ground.character.i++; duplicateMovieClip (_root.ground.explosion, "spark" + _root.ground.character.i, _root.ground.character.i); _root.ground["spark" + _root.ground.character.i]._x = _x; _root.ground["spark" + _root.ground.character.i]._y = _y; _root.ground["spark" + _root.ground.character.i]._rotation = _rotation - 90; _root.ground.character.i++; duplicateMovieClip (_root.ground.stuff.burn, "spark" + _root.ground.character.i, _root.ground.character.i); _root.ground.stuff["spark" + _root.ground.character.i]._x = _x - _root.ground.stuff._x; _root.ground.stuff["spark" + _root.ground.character.i]._y = _y - _root.ground.stuff._y; _root.ground.stuff["spark" + _root.ground.character.i]._rotation = random(360); _root.ground.stuff["spark" + _root.ground.character.i].gotoAndStop(random(7) + 1); _root.ground.stuff["spark" + _root.ground.character.i]._xscale = random(100) + 100; _root.ground.stuff["spark" + _root.ground.character.i]._yscale = _root.ground.stuff["spark" + _root.ground.character.i]._xscale; _root.ground.meh.myBitmap.draw(_root.ground.stuff); _root.ground.stuff["spark" + _root.ground.character.i].removeMovieClip(""); tar.health = tar.health - 5; removeMovieClip(""); } } } else { _x = (_x + x); _y = (_y + y); if (nf == true) { _root.ground.character.i++; duplicateMovieClip (_root.ground.explosion, "spark" + _root.ground.character.i, _root.ground.character.i); _root.ground["spark" + _root.ground.character.i]._x = _x; _root.ground["spark" + _root.ground.character.i]._y = _y; _root.ground["spark" + _root.ground.character.i]._rotation = _rotation - 90; m = 0; while (m < (_root.ground.character.targets.length + 1)) { tar = eval ("_root.ground." + _root.ground.character.targets[m]); dist = Math.sqrt(((_x - tar._x) * (_x - tar._x)) + ((_y - tar._y) * (_y - tar._y))); if (dist < 60) { tar.health = tar.health - 3; } m++; } removeMovieClip(""); } m = 0; while (m < (_root.ground.character.targets.length + 1)) { tar = eval ("_root.ground." + _root.ground.character.targets[m]); dist = Math.sqrt(((_x - tar._x) * (_x - tar._x)) + ((_y - tar._y) * (_y - tar._y))); if (dist < 20) { _root.ground.character.targets.slice(m); _root.ground.character.i++; duplicateMovieClip (_root.ground.spark, "spark" + _root.ground.character.i, _root.ground.character.i); _root.ground["spark" + _root.ground.character.i]._x = _x; _root.ground["spark" + _root.ground.character.i]._y = _y; _root.ground["spark" + _root.ground.character.i]._rotation = _rotation - 90; _root.ground.character.i++; duplicateMovieClip (_root.ground.stuff.burn, "spark" + _root.ground.character.i, _root.ground.character.i); _root.ground.stuff["spark" + _root.ground.character.i]._x = _x - _root.ground.stuff._x; _root.ground.stuff["spark" + _root.ground.character.i]._y = _y - _root.ground.stuff._y; _root.ground.stuff["spark" + _root.ground.character.i]._rotation = random(360); _root.ground.stuff["spark" + _root.ground.character.i].gotoAndStop(random(7) + 1); _root.ground.stuff["spark" + _root.ground.character.i]._xscale = random(100) + 100; _root.ground.stuff["spark" + _root.ground.character.i]._yscale = _root.ground.stuff["spark" + _root.ground.character.i]._xscale; _root.ground.meh.myBitmap.draw(_root.ground.stuff); _root.ground.stuff["spark" + _root.ground.character.i].removeMovieClip(""); h = h + 1; tar.health = tar.health - 1; if (h > mH) { removeMovieClip(""); } } if ((r == true) && (h > 0)) { nf = true; } m++; } } if ((((_y < -950) || (_x < -950)) || (_x > 117)) || (_y > 112)) { _root.ground.character.i++; duplicateMovieClip (_root.ground.spark, "spark" + _root.ground.character.i, _root.ground.character.i); _root.ground["spark" + _root.ground.character.i]._x = _x; _root.ground["spark" + _root.ground.character.i]._y = _y; _root.ground["spark" + _root.ground.character.i]._rotation = _rotation - 90; _root.ground.character.i++; duplicateMovieClip (_root.ground.stuff.burn, "spark" + _root.ground.character.i, _root.ground.character.i); _root.ground.stuff["spark" + _root.ground.character.i]._x = _x - _root.ground.stuff._x; _root.ground.stuff["spark" + _root.ground.character.i]._y = _y - _root.ground.stuff._y; _root.ground.stuff["spark" + _root.ground.character.i]._rotation = random(360); _root.ground.stuff["spark" + _root.ground.character.i].gotoAndStop(random(7) + 1); _root.ground.stuff["spark" + _root.ground.character.i]._xscale = random(100) + 100; _root.ground.stuff["spark" + _root.ground.character.i]._yscale = _root.ground.stuff["spark" + _root.ground.character.i]._xscale; _root.ground.meh.myBitmap.draw(_root.ground.stuff); _root.ground.stuff["spark" + _root.ground.character.i].removeMovieClip(""); removeMovieClip(""); } } } }
Instance of Symbol 342 MovieClip "dup" in Symbol 454 MovieClip Frame 1
onClipEvent (load) { if (_name != "dup") { if (_root.countDown.level == 8) { chance = random(4); if (chance == 1) { gotoAndStop (22); } else if (chance == 2) { gotoAndStop (64); } else if (chance == 3) { gotoAndStop (85); } else { gotoAndStop (1); } } else if (_root.countDown.level == 9) { if ((_currentframe == 1) && (_root.ground.dup.enemyCount < 2)) { gotoAndStop (148); } } else if (_root.countDown.level == 10) { chance = random(2); if (chance == 1) { gotoAndStop (22); } else { gotoAndStop (43); } } else if (_root.countDown.level == 11) { chance = random(5); if (chance == 1) { gotoAndStop (22); } else if (chance == 2) { gotoAndStop (64); } else if (chance == 3) { gotoAndStop (85); } else if (chance == 4) { gotoAndStop (43); } else { gotoAndStop (1); } } stFra = _currentframe; cacheAsBitmap = true; health = 3; fraEvent = 29; rotChange = random(20); maxSpeed = random(3) + 2; if (_y < -950) { _y = -950; } if (_x < -950) { _x = -950; } if (_y > 117) { _y = 117; } if (_x > 117) { _x = 117; } } else { z = 90; enemyCount = 0; xSpawn = new Array(-655, -169, 137, 137, -172, -655, -977, -977); ySpawn = new Array(-970, -970, -636, -167, 144, 144, -164, -636); spNum = 0; } } onClipEvent (enterFrame) { if (_root.pause == false) { if (_name != "dup") { if (done != true) { _name = ("enemy" + _parent.dup.z); _root.ground.character.targets.push(_name); done = true; } if (_currentframe == stFra) { fraEvent = fraEvent + 1; if (_currentframe == 1) { if (fraEvent == 30) { shootChance = random(5) + 1; myRadians = Math.atan2(_root.ground.character._y - this._y, _root.ground.character._x - this._x); myDegrees = Math.round((myRadians * 180) / Math.PI); _rotation = (myDegrees + 90); dist = Math.sqrt(((_x - _root.ground.character._x) * (_x - _root.ground.character._x)) + ((_y - _root.ground.character._y) * (_y - _root.ground.character._y))); if (Math.abs(dist) < 120) { speed = 0; } else if (dist > 300) { rot = ((_rotation - 90) * Math.PI) / 180; speed = maxSpeed; } else { speed = maxSpeed; rot = ((_rotation - rotChange) * Math.PI) / 180; } xV = Math.cos(rot) * speed; yV = Math.sin(rot) * speed; fraEvent = 0; if (shootChance == 1) { _root.ground.character.i++; duplicateMovieClip (_root.ground.bullet, "bullet" + _root.ground.character.i, _root.ground.character.i); _root.ground["bullet" + _root.ground.character.i]._x = _x; _root.ground["bullet" + _root.ground.character.i]._y = _y; _root.ground["bullet" + _root.ground.character.i]._rotation = _rotation; _root.ground["bullet" + _root.ground.character.i].enemyBullet = true; _root.ground["bullet" + _root.ground.character.i].gotoAndStop(2); } } } else if ((_currentframe == 22) || (_currentframe == 85)) { if (fraEvent == 30) { shootChance = 0; myRadians = Math.atan2(_root.ground.character._y - this._y, _root.ground.character._x - this._x); myDegrees = Math.round((myRadians * 180) / Math.PI); _rotation = (myDegrees + 90); dist = Math.sqrt(((_x - _root.ground.character._x) * (_x - _root.ground.character._x)) + ((_y - _root.ground.character._y) * (_y - _root.ground.character._y))); if (Math.abs(dist) < 60) { speed = 0; if (_currentframe == 22) { shootChance = random(2); } else { shootChance = 1; } } else { rot = ((_rotation - 90) * Math.PI) / 180; speed = maxSpeed; } xV = Math.cos(rot) * speed; yV = Math.sin(rot) * speed; fraEvent = 0; if (shootChance == 1) { if (_currentframe == 22) { _root.ground.character.i++; duplicateMovieClip (_root.ground.spark, "spark" + _root.ground.character.i, _root.ground.character.i); _root.ground["spark" + _root.ground.character.i]._x = _x; _root.ground["spark" + _root.ground.character.i]._y = _y; _root.ground["spark" + _root.ground.character.i]._rotation = _rotation - 90; _root.ground.character.i++; duplicateMovieClip (_root.ground.spark, "spark" + _root.ground.character.i, _root.ground.character.i); _root.ground["spark" + _root.ground.character.i]._x = _x; _root.ground["spark" + _root.ground.character.i]._y = _y; _root.ground["spark" + _root.ground.character.i]._rotation = _rotation - 90; _root.ground.modifier = random(20) - 10; _root.ground.yModifier = random(20) - 10; _root.sfx.gotoAndPlay((random(3) + 9) * 2); _root.ground.character.health = _root.ground.character.health - 1; } else { play(); _root.ground.character.health = _root.ground.character.health - 5; _root.ground.modifier = random(20) - 10; _root.ground.yModifier = random(20) - 10; } } } } else if (_currentframe == 43) { if (fraEvent == 30) { shootChance = random(5) + 1; myRadians = Math.atan2(_root.ground.character._y - this._y, _root.ground.character._x - this._x); myDegrees = Math.round((myRadians * 180) / Math.PI); _rotation = (myDegrees + 90); dist = Math.sqrt(((_x - _root.ground.character._x) * (_x - _root.ground.character._x)) + ((_y - _root.ground.character._y) * (_y - _root.ground.character._y))); if (Math.abs(dist) < 120) { speed = 0; } else if (dist > 300) { rot = ((_rotation - 90) * Math.PI) / 180; speed = maxSpeed; } else { speed = maxSpeed; rot = ((_rotation - rotChange) * Math.PI) / 180; } xV = Math.cos(rot) * speed; yV = Math.sin(rot) * speed; fraEvent = 0; if (shootChance == 1) { _root.ground.character.i++; duplicateMovieClip (_root.ground.bullet, "bullet" + _root.ground.character.i, _root.ground.character.i); _root.ground["bullet" + _root.ground.character.i]._x = _x; _root.ground["bullet" + _root.ground.character.i]._y = _y; _root.ground["bullet" + _root.ground.character.i]._rotation = _rotation; _root.ground["bullet" + _root.ground.character.i].enemyBullet = true; _root.ground["bullet" + _root.ground.character.i].gotoAndStop(2); } } } else if (_currentframe == 64) { if (fraEvent == 30) { shootChance = random(5) + 1; myRadians = Math.atan2(_root.ground.character._y - this._y, _root.ground.character._x - this._x); myDegrees = Math.round((myRadians * 180) / Math.PI); _rotation = (myDegrees + 90); dist = Math.sqrt(((_x - _root.ground.character._x) * (_x - _root.ground.character._x)) + ((_y - _root.ground.character._y) * (_y - _root.ground.character._y))); if (Math.abs(dist) < 120) { speed = 0; } else if (dist > 300) { rot = ((_rotation - 90) * Math.PI) / 180; speed = maxSpeed; } else { speed = maxSpeed; rot = ((_rotation - rotChange) * Math.PI) / 180; } xV = Math.cos(rot) * speed; yV = Math.sin(rot) * speed; fraEvent = 0; if (shootChance == 1) { _root.ground.character.i++; duplicateMovieClip (_root.ground.bullet, "bullet" + _root.ground.character.i, _root.ground.character.i); _root.ground["bullet" + _root.ground.character.i]._x = _x; _root.ground["bullet" + _root.ground.character.i]._y = _y; _root.ground["bullet" + _root.ground.character.i]._rotation = _rotation; _root.ground["bullet" + _root.ground.character.i].enemyBullet = true; _root.ground["bullet" + _root.ground.character.i].gotoAndStop(3); } } } else if (_currentframe == 106) { if (redDone != true) { redArr = new Array(); n = 0; while (n < 3) { _root.ground.dup.z++; if (_root.ground.dup.z > 100) { _root.ground.dup.z = 2; } duplicateMovieClip (_parent.dup, "enemy" + _root.ground.dup.z, _root.ground.dup.z); _parent["enemy" + _root.ground.dup.z]._x = _x; _parent["enemy" + _root.ground.dup.z]._y = _y; _parent["enemy" + _root.ground.dup.z].gotoAndStop(127); if (n == 0) { _parent["enemy" + _root.ground.dup.z].rot = 180; } else if (n == 1) { _parent["enemy" + _root.ground.dup.z].rot = -60; } else if (n == 2) { _parent["enemy" + _root.ground.dup.z].rot = 60; } _parent["enemy" + _root.ground.dup.z].t = eval ("_root.ground." + _name); redArr.push(eval (_root.ground["enemy" + _root.ground.dup.z])); spNum = spNum + 1; if (spNum > 7) { spNum = 0; } enemyCount = enemyCount + 1; n++; } fraEvent = 9; redDone = true; } v = 0; while (v < 3) { tgt = redArr[v]; if (tgt.health > 0) { health = 150; } v++; } shootChance = random(100) + 1; myRadians = Math.atan2(_root.ground.character._y - this._y, _root.ground.character._x - this._x); myDegrees = Math.round((myRadians * 180) / Math.PI); _rotation = (myDegrees + 90); dist = Math.sqrt(((_x - _root.ground.character._x) * (_x - _root.ground.character._x)) + ((_y - _root.ground.character._y) * (_y - _root.ground.character._y))); if (Math.abs(dist) < 120) { speed = 0; } else if (dist > 300) { rot = ((_rotation - 90) * Math.PI) / 180; speed = maxSpeed; } else { speed = maxSpeed; rot = ((_rotation - rotChange) * Math.PI) / 180; } xV = Math.cos(rot) * speed; yV = Math.sin(rot) * speed; fraEvent = 0; if (shootChance == 1) { _root.ground.character.i++; duplicateMovieClip (_root.ground.bullet, "bullet" + _root.ground.character.i, _root.ground.character.i); _root.ground["bullet" + _root.ground.character.i]._x = _x; _root.ground["bullet" + _root.ground.character.i]._y = _y; _root.ground["bullet" + _root.ground.character.i]._rotation = _rotation; _root.ground["bullet" + _root.ground.character.i].enemyBullet = true; _root.ground["bullet" + _root.ground.character.i].gotoAndStop(3); } else if (shootChance == 50) { if (_root.ground.dup.enemyCount < 5) { _root.ground.dup.z++; if (_root.ground.dup.z > 100) { _root.ground.dup.z = 2; } duplicateMovieClip (_parent.dup, "en", _root.ground.dup.z); sd = 60; xds = Math.sin(_rotation * (Math.PI/180)) * sd; yds = (Math.cos(_rotation * (Math.PI/180)) * sd) * -1; _parent.en._x = _x + xds; _parent.en._y = _y + yds; _parent.en.gotoAndStop(85); _root.ground.dup.enemyCount = _root.ground.dup.enemyCount + 1; } } } else if (_currentframe == 127) { shootChance = random(40) + 1; sd = 100; xds = Math.sin(rot * (Math.PI/180)) * sd; yds = (Math.cos(rot * (Math.PI/180)) * sd) * -1; _rotation = t._rotation; _x = (t._x + xds); _y = (t._y + yds); if (shootChance == 1) { _root.ground.character.i++; duplicateMovieClip (_root.ground.bullet, "bullet" + _root.ground.character.i, _root.ground.character.i); _root.ground["bullet" + _root.ground.character.i]._x = _x; _root.ground["bullet" + _root.ground.character.i]._y = _y; _root.ground["bullet" + _root.ground.character.i]._rotation = _rotation; _root.ground["bullet" + _root.ground.character.i].enemyBullet = true; _root.ground["bullet" + _root.ground.character.i].gotoAndStop(2); } } else if (_currentframe == 148) { if (fraEvent == 30) { shootChance = random(5) + 1; myRadians = Math.atan2(_root.ground.character._y - this._y, _root.ground.character._x - this._x); myDegrees = Math.round((myRadians * 180) / Math.PI); tur._rotation = myDegrees + 90; dist = Math.sqrt(((_x - _root.ground.character._x) * (_x - _root.ground.character._x)) + ((_y - _root.ground.character._y) * (_y - _root.ground.character._y))); if (Math.abs(dist) < 120) { speed = 0; } else if (dist > 300) { rot = ((tur._rotation - 90) * Math.PI) / 180; speed = maxSpeed; } else { speed = maxSpeed; rot = ((tur._rotation - rotChange) * Math.PI) / 180; } xV = Math.cos(rot) * speed; yV = Math.sin(rot) * speed; fraEvent = 0; if (shootChance == 1) { _root.ground.character.i++; duplicateMovieClip (_root.ground.bullet, "bullet" + _root.ground.character.i, _root.ground.character.i); _root.ground["bullet" + _root.ground.character.i]._x = _x; _root.ground["bullet" + _root.ground.character.i]._y = _y; _root.ground["bullet" + _root.ground.character.i]._rotation = tur._rotation; _root.ground["bullet" + _root.ground.character.i].enemyBullet = true; _root.ground["bullet" + _root.ground.character.i].gotoAndStop(2); } } } else if (_currentframe == 158) { if (fraEvent == 30) { shootChance = random(5) + 1; myRadians = Math.atan2(_root.ground.character._y - this._y, _root.ground.character._x - this._x); myDegrees = Math.round((myRadians * 180) / Math.PI); tur._rotation = myDegrees + 90; dist = Math.sqrt(((_x - _root.ground.character._x) * (_x - _root.ground.character._x)) + ((_y - _root.ground.character._y) * (_y - _root.ground.character._y))); if (Math.abs(dist) < 120) { speed = 0; } else if (dist > 300) { rot = ((tur._rotation - 90) * Math.PI) / 180; speed = maxSpeed; } else { speed = maxSpeed; rot = ((tur._rotation - rotChange) * Math.PI) / 180; } xV = Math.cos(rot) * speed; yV = Math.sin(rot) * speed; fraEvent = 0; if (shootChance == 1) { _root.ground.character.i++; duplicateMovieClip (_root.ground.bullet, "bullet" + _root.ground.character.i, _root.ground.character.i); _root.ground["bullet" + _root.ground.character.i]._x = _x; _root.ground["bullet" + _root.ground.character.i]._y = _y; _root.ground["bullet" + _root.ground.character.i]._rotation = tur._rotation; _root.ground["bullet" + _root.ground.character.i].enemyBullet = true; _root.ground["bullet" + _root.ground.character.i].gotoAndStop(2); } } } else if (_currentframe == 168) { if (fraEvent == 30) { shootChance = random(5) + 1; myRadians = Math.atan2(_root.ground.character._y - this._y, _root.ground.character._x - this._x); myDegrees = Math.round((myRadians * 180) / Math.PI); tur._rotation = myDegrees + 90; dist = Math.sqrt(((_x - _root.ground.character._x) * (_x - _root.ground.character._x)) + ((_y - _root.ground.character._y) * (_y - _root.ground.character._y))); if (Math.abs(dist) < 120) { speed = 0; } else if (dist > 300) { rot = ((tur._rotation - 90) * Math.PI) / 180; speed = maxSpeed; } else { speed = maxSpeed; rot = ((tur._rotation - rotChange) * Math.PI) / 180; } xV = Math.cos(rot) * speed; yV = Math.sin(rot) * speed; fraEvent = 0; if (shootChance == 1) { _root.ground.character.i++; duplicateMovieClip (_root.ground.bullet, "bullet" + _root.ground.character.i, _root.ground.character.i); _root.ground["bullet" + _root.ground.character.i]._x = _x; _root.ground["bullet" + _root.ground.character.i]._y = _y; _root.ground["bullet" + _root.ground.character.i]._rotation = tur._rotation; _root.ground["bullet" + _root.ground.character.i].enemyBullet = true; _root.ground["bullet" + _root.ground.character.i].gotoAndStop(2); } } } _x = (_x + xV); _y = (_y + yV); if (_currentframe == 148) { if ((_y < -840) || (_y > 5)) { _y = (_y - yV); } if ((_x < -840) || (_x > 5)) { _x = (_x - xV); } } else { if ((_y < -950) || (_y > 117)) { _y = (_y - yV); } if ((_x < -950) || (_x > 117)) { _x = (_x - xV); } } if (health < 1) { play(); } } else if (done2 != true) { a = 0; while (a < _root.ground.character.targets.length) { if (_root.ground.character.targets[a] == _name) { _root.ground.character.targets.splice(a, 1); itemChance = random(20) + 1; if (itemChance == 1) { _root.ground.character.i++; duplicateMovieClip (_root.ground.powerup, "powerup" + _root.ground.character.i, _root.ground.character.i); _root.ground["powerup" + _root.ground.character.i]._x = _x; _root.ground["powerup" + _root.ground.character.i]._y = _y; } a = 1000; _name = ""; _root.k = _root.k + _root.multiplier; } a++; } done2 = true; } } else if (_root.countDown.level == 8) { if ((_root.kill + enemyCount) < _root.countDown.maxKillCount) { if (((enemyCount < 15) && (_root.countDown.alTimer == 120)) && (_root.countDown.inBetweenTimer == 0)) { z++; if (z > 100) { z = 2; } duplicateMovieClip (_parent.dup, "en", z); _parent.en._x = xSpawn[spNum]; _parent.en._y = ySpawn[spNum]; spNum = spNum + 1; if (spNum > 7) { spNum = 0; } enemyCount = enemyCount + 1; } } } else if (_root.countDown.level == 9) { if ((_root.kill + enemyCount) < _root.countDown.maxKillCount) { if (((enemyCount < 1) && (_root.countDown.alTimer == 120)) && (_root.countDown.inBetweenTimer == 0)) { z++; if (z > 100) { z = 2; } duplicateMovieClip (_parent.dup, "en", z); _parent.en._x = xSpawn[spNum]; _parent.en._y = ySpawn[spNum]; if (_parent.en._y < -840) { _parent.en._y = -840; } if (_parent.en._x < -840) { _parent.en._x = -840; } if (_parent.en._y > 5) { _parent.en._y = 5; } if (_parent.en._x > 5) { _parent.en._x = 5; } spNum = spNum + 1; if (spNum > 7) { spNum = 0; } enemyCount = enemyCount + 1; } } } else if (_root.countDown.level == 10) { if ((_root.kill + enemyCount) < _root.countDown.maxKillCount) { if (((enemyCount < 15) && (_root.countDown.alTimer == 120)) && (_root.countDown.inBetweenTimer == 0)) { z++; if (z > 100) { z = 2; } duplicateMovieClip (_parent.dup, "en", z); _parent.en._x = xSpawn[spNum]; _parent.en._y = ySpawn[spNum]; spNum = spNum + 1; if (spNum > 7) { spNum = 0; } enemyCount = enemyCount + 1; } } } else if (_root.countDown.level == 11) { if (((enemyCount < 25) && (_root.countDown.alTimer == 120)) && (_root.countDown.inBetweenTimer == 0)) { z++; if (z > 100) { z = 2; } duplicateMovieClip (_parent.dup, "en", z); _parent.en._x = xSpawn[spNum]; _parent.en._y = ySpawn[spNum]; spNum = spNum + 1; if (spNum > 7) { spNum = 0; } enemyCount = enemyCount + 1; } } } }
Instance of Symbol 329 MovieClip "explosion" in Symbol 454 MovieClip Frame 1
onClipEvent (load) { if (_name == "explosion") { stop(); } else { _root.sfx.gotoAndPlay((random(4) + 2) * 2); } }
Instance of Symbol 365 MovieClip "character" in Symbol 454 MovieClip Frame 1
onClipEvent (load) { function shoot() { del = 3; if (l <= 6) { if (l == 1) { i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = _rotation - 90; } else if (l == 2) { i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = (_rotation - 90) + 10; i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = (_rotation - 90) - 10; } else if (l == 3) { i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = _rotation - 90; i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = ((_rotation - 90) + random(40)) - 20; i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = ((_rotation - 90) + random(40)) - 20; } else if (l == 4) { i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = _rotation - 90; _root.ground["bullet" + i].gotoAndStop(4); } else if (l == 5) { i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = (_rotation - 90) - 10; _root.ground["bullet" + i].gotoAndStop(4); i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = (_rotation - 90) + 10; _root.ground["bullet" + i].gotoAndStop(4); } else if (l == 6) { i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = _rotation - 90; _root.ground["bullet" + i].gotoAndStop(4); i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = ((_rotation - 90) + random(40)) - 20; _root.ground["bullet" + i].gotoAndStop(4); i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = ((_rotation - 90) + random(40)) - 20; _root.ground["bullet" + i].gotoAndStop(4); } } else if (l == 7) { i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = _rotation - 90; _root.ground["bullet" + i].gotoAndStop(5); } else if (l == 8) { i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = (_rotation - 90) + 10; _root.ground["bullet" + i].gotoAndStop(5); i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = (_rotation - 90) - 10; _root.ground["bullet" + i].gotoAndStop(5); } else if (l == 9) { i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = _rotation - 90; _root.ground["bullet" + i].gotoAndStop(5); i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = ((_rotation - 90) + random(40)) - 20; _root.ground["bullet" + i].gotoAndStop(5); i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = ((_rotation - 90) + random(40)) - 20; _root.ground["bullet" + i].gotoAndStop(5); } else if (l == 10) { i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = _rotation - 90; _root.ground["bullet" + i].gotoAndStop(6); } else if (l == 11) { i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = (_rotation - 90) + 10; _root.ground["bullet" + i].gotoAndStop(6); i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = (_rotation - 90) - 10; _root.ground["bullet" + i].gotoAndStop(6); } else if (l == 12) { i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = _rotation - 90; _root.ground["bullet" + i].gotoAndStop(6); i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = ((_rotation - 90) + random(40)) - 20; _root.ground["bullet" + i].gotoAndStop(6); i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = ((_rotation - 90) + random(40)) - 20; _root.ground["bullet" + i].gotoAndStop(6); } _root.sfx.gotoAndPlay(2); } l = 1; del = 0; swapDepths(1000); x = 0; i = 125; maxSpeed = 30; decel = 0.2; y = 0; modifier = 0; yModifier = 0; targets = new Array(a); health = 100; } onClipEvent (enterFrame) { if (l > 12) { l = 12; } _root.kill = _root.k / _root.multiplier; _root.wpn = "Weapon Lv: " + l; if (_root.pause == false) { if (i > 500) { i = 125; } myRadians = Math.atan2(_root._ymouse - (this._y + _root.ground._y), _root._xmouse - (this._x + _root.ground._x)); myDegrees = Math.round((myRadians * 180) / Math.PI); _rotation = (myDegrees + 180); rot = _rotation; if (Key.isDown(65) || (Key.isDown(37))) { if (x < maxSpeed) { x = x + 1; } } else if (Key.isDown(68) || (Key.isDown(39))) { if (x > (-maxSpeed)) { x = x - 1; } } else { if (x > 0) { x = x - decel; } if (x < 0) { x = x + decel; } if (Math.abs(x) < decel) { x = 0; } } if (Key.isDown(83) || (Key.isDown(40))) { if (y < maxSpeed) { y = y + 1; } } else if (Key.isDown(87) || (Key.isDown(38))) { if (y > (-maxSpeed)) { y = y - 1; } } else { if (y > 0) { y = y - decel; } if (y < 0) { y = y + decel; } if (Math.abs(y) < decel) { y = 0; } } _x = (_x - x); _y = (_y + y); if (_root.countDown.level == 4) { if (_x > 75) { _root.ground.modifier = random(40) - 20; _root.ground.yModifier = random(40) - 20; i++; duplicateMovieClip (_root.ground.explosion, "spark" + i, i); _root.ground["spark" + i]._x = _x; _root.ground["spark" + i]._y = _y; _root.ground["spark" + i]._rotation = _rotation - 90; i++; duplicateMovieClip (_root.ground.stuff.burn, "spark" + i, i); _root.ground.stuff["spark" + i]._x = _x - _root.ground.stuff._x; _root.ground.stuff["spark" + i]._y = _y - _root.ground.stuff._y; _root.ground.stuff["spark" + i]._rotation = random(360); _root.ground.stuff["spark" + i].gotoAndStop(random(7) + 1); _root.ground.stuff["spark" + i]._xscale = random(100) + 100; _root.ground.stuff["spark" + i]._yscale = _root.ground.stuff["spark" + i]._xscale; _root.ground.meh.myBitmap.draw(_root.ground.stuff); _root.ground.stuff["spark" + i].removeMovieClip(""); health = health - 2; _x = 75; x = x * -1.3; if (Math.abs(x) > maxSpeed) { if (x > 0) { x = maxSpeed; } else { x = -maxSpeed; } } } if (_y > 75) { _root.ground.modifier = random(40) - 20; _root.ground.yModifier = random(40) - 20; i++; duplicateMovieClip (_root.ground.explosion, "spark" + i, i); _root.ground["spark" + i]._x = _x; _root.ground["spark" + i]._y = _y; _root.ground["spark" + i]._rotation = _rotation - 90; i++; duplicateMovieClip (_root.ground.stuff.burn, "spark" + i, i); _root.ground.stuff["spark" + i]._x = _x - _root.ground.stuff._x; _root.ground.stuff["spark" + i]._y = _y - _root.ground.stuff._y; _root.ground.stuff["spark" + i]._rotation = random(360); _root.ground.stuff["spark" + i].gotoAndStop(random(7) + 1); _root.ground.stuff["spark" + i]._xscale = random(100) + 100; _root.ground.stuff["spark" + i]._yscale = _root.ground.stuff["spark" + i]._xscale; _root.ground.meh.myBitmap.draw(_root.ground.stuff); _root.ground.stuff["spark" + i].removeMovieClip(""); health = health - 2; _y = 75; y = y * -1.3; if (Math.abs(y) > maxSpeed) { if (y > 0) { y = maxSpeed; } else { y = -maxSpeed; } } } if (_x < -910) { _root.ground.modifier = random(40) - 20; _root.ground.yModifier = random(40) - 20; i++; duplicateMovieClip (_root.ground.explosion, "spark" + i, i); _root.ground["spark" + i]._x = _x; _root.ground["spark" + i]._y = _y; _root.ground["spark" + i]._rotation = _rotation - 90; i++; duplicateMovieClip (_root.ground.stuff.burn, "spark" + i, i); _root.ground.stuff["spark" + i]._x = _x - _root.ground.stuff._x; _root.ground.stuff["spark" + i]._y = _y - _root.ground.stuff._y; _root.ground.stuff["spark" + i]._rotation = random(360); _root.ground.stuff["spark" + i].gotoAndStop(random(7) + 1); _root.ground.stuff["spark" + i]._xscale = random(100) + 100; _root.ground.stuff["spark" + i]._yscale = _root.ground.stuff["spark" + i]._xscale; _root.ground.meh.myBitmap.draw(_root.ground.stuff); _root.ground.stuff["spark" + i].removeMovieClip(""); health = health - 2; _x = -910; x = x * -1.3; if (Math.abs(x) > maxSpeed) { if (x > 0) { x = maxSpeed; } else { x = -maxSpeed; } } } if (_y < -910) { _root.ground.modifier = random(40) - 20; _root.ground.yModifier = random(40) - 20; i++; duplicateMovieClip (_root.ground.explosion, "spark" + i, i); _root.ground["spark" + i]._x = _x; _root.ground["spark" + i]._y = _y; _root.ground["spark" + i]._rotation = _rotation - 90; i++; duplicateMovieClip (_root.ground.stuff.burn, "spark" + i, i); _root.ground.stuff["spark" + i]._x = _x - _root.ground.stuff._x; _root.ground.stuff["spark" + i]._y = _y - _root.ground.stuff._y; _root.ground.stuff["spark" + i]._rotation = random(360); _root.ground.stuff["spark" + i].gotoAndStop(random(7) + 1); _root.ground.stuff["spark" + i]._xscale = random(100) + 100; _root.ground.stuff["spark" + i]._yscale = _root.ground.stuff["spark" + i]._xscale; _root.ground.meh.myBitmap.draw(_root.ground.stuff); _root.ground.stuff["spark" + i].removeMovieClip(""); health = health - 2; _y = -910; y = y * -1.3; if (Math.abs(y) > maxSpeed) { if (y > 0) { y = maxSpeed; } else { y = -maxSpeed; } } } } else { if (_x > 95) { i++; duplicateMovieClip (_root.ground.spark, "spark" + i, i); _root.ground["spark" + i]._x = 117; _root.ground["spark" + i]._y = _y; _root.ground["spark" + i]._rotation = 0; _x = 95; x = x * -0.5; } if (_y > 95) { i++; duplicateMovieClip (_root.ground.spark, "spark" + i, i); _root.ground["spark" + i]._x = _x; _root.ground["spark" + i]._y = 117; _root.ground["spark" + i]._rotation = 90; _y = 95; y = y * -0.5; } if (_x < -930) { i++; duplicateMovieClip (_root.ground.spark, "spark" + i, i); _root.ground["spark" + i]._x = -950; _root.ground["spark" + i]._y = _y; _root.ground["spark" + i]._rotation = 180; _x = -930; x = x * -0.5; } if (_y < -930) { i++; duplicateMovieClip (_root.ground.spark, "spark" + i, i); _root.ground["spark" + i]._x = _x; _root.ground["spark" + i]._y = -950; _root.ground["spark" + i]._rotation = 270; _y = -930; y = y * -0.5; } } del = del - 1; if ((firing == true) && (del < 1)) { shoot(); } } } onClipEvent (mouseDown) { firing = true; } onClipEvent (mouseUp) { firing = false; }
Instance of Symbol 359 MovieClip "powerup" in Symbol 454 MovieClip Frame 1
onClipEvent (load) { if (_name != "powerup") { time = 0; gotoAndStop(random(3) + 1); if ((_currentframe == 2) && (_root.ground.character.l > (_root.countDown.level + 1))) { gotoAndStop (3); } } } onClipEvent (enterFrame) { tar = eval ("_root.ground." + _root.ground.character); dist = Math.sqrt(((_x - tar._x) * (_x - tar._x)) + ((_y - tar._y) * (_y - tar._y))); if (dist < 30) { if (_currentframe == 1) { _root.sfx.gotoAndPlay(12); _root.ground.character.health = _root.ground.character.health + 25; if (_root.ground.character.health > 100) { _root.ground.character.health = 100; } removeMovieClip(""); } else if (_currentframe == 2) { _root.sfx.gotoAndPlay(14); _root.ground.character.l = _root.ground.character.l + 1; removeMovieClip(""); } else if (_currentframe == 3) { _root.sfx.gotoAndPlay(16); _root.ground.character.i++; duplicateMovieClip (_root.ground.explosion, "spark" + _root.ground.character.i, _root.ground.character.i); _root.ground["spark" + _root.ground.character.i]._x = _x; _root.ground["spark" + _root.ground.character.i]._y = _y; _root.ground["spark" + _root.ground.character.i]._xscale = 300; _root.ground["spark" + _root.ground.character.i]._yscale = 300; _root.ground["spark" + _root.ground.character.i]._rotation = _rotation - 90; m = 0; while (m < (_root.ground.character.targets.length + 1)) { tar = eval ("_root.ground." + _root.ground.character.targets[m]); dist = Math.sqrt(((_x - tar._x) * (_x - tar._x)) + ((_y - tar._y) * (_y - tar._y))); if (dist < 200) { tar.health = tar.health - 3; } m++; } _root.ground.modifier = 60; _root.ground.yModifier = 60; removeMovieClip(""); } } }
Instance of Symbol 210 MovieClip "meh" in Symbol 466 MovieClip Frame 1
onClipEvent (load) { myBitmap = new flash.display.BitmapData(1162.8, 1161.8, true, 16777215); this.createEmptyMovieClip("bg", -1); bg.attachBitmap(myBitmap, -1); myBitmap.draw(_parent.flr); _parent.flr.swapDepths(1005); _parent.flr.removeMovieClip(""); }
Instance of Symbol 290 MovieClip "spark" in Symbol 466 MovieClip Frame 1
onClipEvent (load) { if (_name != "spark") { play(); } else { stop(); } }
Instance of Symbol 307 MovieClip "bullet" in Symbol 466 MovieClip Frame 1
onClipEvent (load) { if (_name != "bullet") { if (enemyBullet != true) { l = _root.ground.character.l; if ((((l == 3) || (l == 6)) || (l == 9)) || (l == 12)) { maxTime = 10; } else if ((((l == 2) || (l == 5)) || (l == 8)) || (l == 11)) { maxTime = 15; } else if ((((l == 1) || (l == 4)) || (l == 7)) || (l == 10)) { maxTime = 20; } } rot = _rotation + 180; speed = -20; time = 0; x = Math.sin(rot * (Math.PI/180)) * speed; y = (Math.cos(rot * (Math.PI/180)) * speed) * -1; _x = (_x + (x * 2)); _y = (_y + (y * 2)); _alpha = 100; h = 0; r = false; mH = 1; l = _root.ground.character.l; if ((l > 3) && (l < 7)) { mH = 2; } else if ((l > 6) && (l < 10)) { mH = 3; } else if ((l > 9) && (l < 13)) { mH = 10000; r = true; } } } onClipEvent (enterFrame) { if (_root.pause == false) { if (_name != "bullet") { time = time + 1; if (time > maxTime) { _alpha = (_alpha - 30); } if (_alpha < 1) { removeMovieClip(""); } if (enemyBullet == true) { if (_currentframe == 2) { _x = (_x + (x / 2)); _y = (_y + (y / 2)); tar = _root.ground.character; dist = Math.sqrt(((_x - tar._x) * (_x - tar._x)) + ((_y - tar._y) * (_y - tar._y))); if (dist < 30) { _root.ground.character.i++; duplicateMovieClip (_root.ground.spark, "spark" + _root.ground.character.i, _root.ground.character.i); _root.ground["spark" + _root.ground.character.i]._x = _x; _root.ground["spark" + _root.ground.character.i]._y = _y; _root.ground["spark" + _root.ground.character.i]._rotation = _rotation - 90; _root.ground.character.i++; duplicateMovieClip (_root.ground.stuff.burn, "spark" + _root.ground.character.i, _root.ground.character.i); _root.ground.stuff["spark" + _root.ground.character.i]._x = _x - _root.ground.stuff._x; _root.ground.stuff["spark" + _root.ground.character.i]._y = _y - _root.ground.stuff._y; _root.ground.stuff["spark" + _root.ground.character.i]._rotation = random(360); _root.ground.stuff["spark" + _root.ground.character.i].gotoAndStop(random(7) + 1); _root.ground.stuff["spark" + _root.ground.character.i]._xscale = random(100) + 100; _root.ground.stuff["spark" + _root.ground.character.i]._yscale = _root.ground.stuff["spark" + _root.ground.character.i]._xscale; _root.ground.meh.myBitmap.draw(_root.ground.stuff); _root.ground.stuff["spark" + _root.ground.character.i].removeMovieClip(""); tar.health = tar.health - 1; _root.sfx.gotoAndPlay((random(3) + 9) * 2); _root.ground.modifier = random(20) - 10; _root.ground.yModifier = random(20) - 10; removeMovieClip(""); } } else if (_currentframe == 3) { _x = (_x + x); _y = (_y + y); x = x * 0.9; y = y * 0.9; if ((x < 0.5) && (y < 0.5)) { dist = Math.sqrt(((_x - tar._x) * (_x - tar._x)) + ((_y - tar._y) * (_y - tar._y))); if (dist < 100) { _root.character.health = _root.character.health - 1; _root.ground.modifier = random(20) - 10; _root.ground.yModifier = random(20) - 10; } else if (dist < 30) { _root.ground.modifier = random(40) - 20; _root.ground.yModifier = random(40) - 20; _root.ground.character.i++; duplicateMovieClip (_root.ground.explosion, "spark" + _root.ground.character.i, _root.ground.character.i); _root.ground["spark" + _root.ground.character.i]._x = _x; _root.ground["spark" + _root.ground.character.i]._y = _y; _root.ground["spark" + _root.ground.character.i]._rotation = _rotation - 90; _root.ground.character.i++; duplicateMovieClip (_root.ground.stuff.burn, "spark" + _root.ground.character.i, _root.ground.character.i); _root.ground.stuff["spark" + _root.ground.character.i]._x = _x - _root.ground.stuff._x; _root.ground.stuff["spark" + _root.ground.character.i]._y = _y - _root.ground.stuff._y; _root.ground.stuff["spark" + _root.ground.character.i]._rotation = random(360); _root.ground.stuff["spark" + _root.ground.character.i].gotoAndStop(random(7) + 1); _root.ground.stuff["spark" + _root.ground.character.i]._xscale = random(100) + 100; _root.ground.stuff["spark" + _root.ground.character.i]._yscale = _root.ground.stuff["spark" + _root.ground.character.i]._xscale; _root.ground.meh.myBitmap.draw(_root.ground.stuff); _root.ground.stuff["spark" + _root.ground.character.i].removeMovieClip(""); tar.health = tar.health - 5; removeMovieClip(""); } _root.ground.character.i++; duplicateMovieClip (_root.ground.explosion, "spark" + _root.ground.character.i, _root.ground.character.i); _root.ground["spark" + _root.ground.character.i]._x = _x; _root.ground["spark" + _root.ground.character.i]._y = _y; _root.ground["spark" + _root.ground.character.i]._rotation = _rotation - 90; _root.ground.character.i++; duplicateMovieClip (_root.ground.stuff.burn, "spark" + _root.ground.character.i, _root.ground.character.i); _root.ground.stuff["spark" + _root.ground.character.i]._x = _x - _root.ground.stuff._x; _root.ground.stuff["spark" + _root.ground.character.i]._y = _y - _root.ground.stuff._y; _root.ground.stuff["spark" + _root.ground.character.i]._rotation = random(360); _root.ground.stuff["spark" + _root.ground.character.i].gotoAndStop(random(7) + 1); _root.ground.stuff["spark" + _root.ground.character.i]._xscale = random(100) + 100; _root.ground.stuff["spark" + _root.ground.character.i]._yscale = _root.ground.stuff["spark" + _root.ground.character.i]._xscale; _root.ground.meh.myBitmap.draw(_root.ground.stuff); _root.ground.stuff["spark" + _root.ground.character.i].removeMovieClip(""); removeMovieClip(""); } tar = _root.ground.character; dist = Math.sqrt(((_x - tar._x) * (_x - tar._x)) + ((_y - tar._y) * (_y - tar._y))); if (dist < 30) { _root.ground.modifier = random(40) - 20; _root.ground.yModifier = random(40) - 20; _root.ground.character.i++; duplicateMovieClip (_root.ground.explosion, "spark" + _root.ground.character.i, _root.ground.character.i); _root.ground["spark" + _root.ground.character.i]._x = _x; _root.ground["spark" + _root.ground.character.i]._y = _y; _root.ground["spark" + _root.ground.character.i]._rotation = _rotation - 90; _root.ground.character.i++; duplicateMovieClip (_root.ground.stuff.burn, "spark" + _root.ground.character.i, _root.ground.character.i); _root.ground.stuff["spark" + _root.ground.character.i]._x = _x - _root.ground.stuff._x; _root.ground.stuff["spark" + _root.ground.character.i]._y = _y - _root.ground.stuff._y; _root.ground.stuff["spark" + _root.ground.character.i]._rotation = random(360); _root.ground.stuff["spark" + _root.ground.character.i].gotoAndStop(random(7) + 1); _root.ground.stuff["spark" + _root.ground.character.i]._xscale = random(100) + 100; _root.ground.stuff["spark" + _root.ground.character.i]._yscale = _root.ground.stuff["spark" + _root.ground.character.i]._xscale; _root.ground.meh.myBitmap.draw(_root.ground.stuff); _root.ground.stuff["spark" + _root.ground.character.i].removeMovieClip(""); tar.health = tar.health - 5; removeMovieClip(""); } } } else { _x = (_x + x); _y = (_y + y); if (nf == true) { _root.ground.character.i++; duplicateMovieClip (_root.ground.explosion, "spark" + _root.ground.character.i, _root.ground.character.i); _root.ground["spark" + _root.ground.character.i]._x = _x; _root.ground["spark" + _root.ground.character.i]._y = _y; _root.ground["spark" + _root.ground.character.i]._rotation = _rotation - 90; m = 0; while (m < (_root.ground.character.targets.length + 1)) { tar = eval ("_root.ground." + _root.ground.character.targets[m]); dist = Math.sqrt(((_x - tar._x) * (_x - tar._x)) + ((_y - tar._y) * (_y - tar._y))); if (dist < 60) { tar.health = tar.health - 3; } m++; } removeMovieClip(""); } m = 0; while (m < (_root.ground.character.targets.length + 1)) { tar = eval ("_root.ground." + _root.ground.character.targets[m]); dist = Math.sqrt(((_x - tar._x) * (_x - tar._x)) + ((_y - tar._y) * (_y - tar._y))); if (dist < 20) { _root.ground.character.targets.slice(m); _root.ground.character.i++; duplicateMovieClip (_root.ground.spark, "spark" + _root.ground.character.i, _root.ground.character.i); _root.ground["spark" + _root.ground.character.i]._x = _x; _root.ground["spark" + _root.ground.character.i]._y = _y; _root.ground["spark" + _root.ground.character.i]._rotation = _rotation - 90; _root.ground.character.i++; duplicateMovieClip (_root.ground.stuff.burn, "spark" + _root.ground.character.i, _root.ground.character.i); _root.ground.stuff["spark" + _root.ground.character.i]._x = _x - _root.ground.stuff._x; _root.ground.stuff["spark" + _root.ground.character.i]._y = _y - _root.ground.stuff._y; _root.ground.stuff["spark" + _root.ground.character.i]._rotation = random(360); _root.ground.stuff["spark" + _root.ground.character.i].gotoAndStop(random(7) + 1); _root.ground.stuff["spark" + _root.ground.character.i]._xscale = random(100) + 100; _root.ground.stuff["spark" + _root.ground.character.i]._yscale = _root.ground.stuff["spark" + _root.ground.character.i]._xscale; _root.ground.meh.myBitmap.draw(_root.ground.stuff); _root.ground.stuff["spark" + _root.ground.character.i].removeMovieClip(""); h = h + 1; tar.health = tar.health - 1; if (h > mH) { removeMovieClip(""); } } if ((r == true) && (h > 0)) { nf = true; } m++; } } if ((((_y < -950) || (_x < -950)) || (_x > 117)) || (_y > 112)) { _root.ground.character.i++; duplicateMovieClip (_root.ground.spark, "spark" + _root.ground.character.i, _root.ground.character.i); _root.ground["spark" + _root.ground.character.i]._x = _x; _root.ground["spark" + _root.ground.character.i]._y = _y; _root.ground["spark" + _root.ground.character.i]._rotation = _rotation - 90; _root.ground.character.i++; duplicateMovieClip (_root.ground.stuff.burn, "spark" + _root.ground.character.i, _root.ground.character.i); _root.ground.stuff["spark" + _root.ground.character.i]._x = _x - _root.ground.stuff._x; _root.ground.stuff["spark" + _root.ground.character.i]._y = _y - _root.ground.stuff._y; _root.ground.stuff["spark" + _root.ground.character.i]._rotation = random(360); _root.ground.stuff["spark" + _root.ground.character.i].gotoAndStop(random(7) + 1); _root.ground.stuff["spark" + _root.ground.character.i]._xscale = random(100) + 100; _root.ground.stuff["spark" + _root.ground.character.i]._yscale = _root.ground.stuff["spark" + _root.ground.character.i]._xscale; _root.ground.meh.myBitmap.draw(_root.ground.stuff); _root.ground.stuff["spark" + _root.ground.character.i].removeMovieClip(""); removeMovieClip(""); } } } }
Instance of Symbol 342 MovieClip "dup" in Symbol 466 MovieClip Frame 1
onClipEvent (load) { if (_name != "dup") { chance = random(5); if (chance == 1) { gotoAndStop (22); } else if (chance == 2) { gotoAndStop (64); } else if (chance == 3) { gotoAndStop (85); } else if (chance == 4) { chance2 = random(100) + 1; if (chance2 == 1) { gotoAndStop (148); } } else { gotoAndStop (1); } stFra = _currentframe; cacheAsBitmap = true; health = 3; fraEvent = 29; rotChange = random(20); maxSpeed = random(3) + 2; if (_y < -950) { _y = -950; } if (_x < -950) { _x = -950; } if (_y > 117) { _y = 117; } if (_x > 117) { _x = 117; } } else { z = 90; enemyCount = 0; xSpawn = new Array(-655, -169, 137, 137, -172, -655, -977, -977); ySpawn = new Array(-970, -970, -636, -167, 144, 144, -164, -636); spNum = 0; } } onClipEvent (enterFrame) { if (_root.pause == false) { if (_name != "dup") { if (done != true) { _name = ("enemy" + _parent.dup.z); _root.ground.character.targets.push(_name); done = true; } if (_currentframe == stFra) { fraEvent = fraEvent + 1; if (_currentframe == 1) { if (fraEvent == 30) { shootChance = random(5) + 1; myRadians = Math.atan2(_root.ground.character._y - this._y, _root.ground.character._x - this._x); myDegrees = Math.round((myRadians * 180) / Math.PI); _rotation = (myDegrees + 90); dist = Math.sqrt(((_x - _root.ground.character._x) * (_x - _root.ground.character._x)) + ((_y - _root.ground.character._y) * (_y - _root.ground.character._y))); if (Math.abs(dist) < 120) { speed = 0; } else if (dist > 300) { rot = ((_rotation - 90) * Math.PI) / 180; speed = maxSpeed; } else { speed = maxSpeed; rot = ((_rotation - rotChange) * Math.PI) / 180; } xV = Math.cos(rot) * speed; yV = Math.sin(rot) * speed; fraEvent = 0; if (shootChance == 1) { _root.ground.character.i++; duplicateMovieClip (_root.ground.bullet, "bullet" + _root.ground.character.i, _root.ground.character.i); _root.ground["bullet" + _root.ground.character.i]._x = _x; _root.ground["bullet" + _root.ground.character.i]._y = _y; _root.ground["bullet" + _root.ground.character.i]._rotation = _rotation; _root.ground["bullet" + _root.ground.character.i].enemyBullet = true; _root.ground["bullet" + _root.ground.character.i].gotoAndStop(2); } } } else if ((_currentframe == 22) || (_currentframe == 85)) { if (fraEvent == 30) { shootChance = 0; myRadians = Math.atan2(_root.ground.character._y - this._y, _root.ground.character._x - this._x); myDegrees = Math.round((myRadians * 180) / Math.PI); _rotation = (myDegrees + 90); dist = Math.sqrt(((_x - _root.ground.character._x) * (_x - _root.ground.character._x)) + ((_y - _root.ground.character._y) * (_y - _root.ground.character._y))); if (Math.abs(dist) < 60) { speed = 0; if (_currentframe == 22) { shootChance = random(2); } else { shootChance = 1; } } else { rot = ((_rotation - 90) * Math.PI) / 180; speed = maxSpeed; } xV = Math.cos(rot) * speed; yV = Math.sin(rot) * speed; fraEvent = 0; if (shootChance == 1) { if (_currentframe == 22) { _root.ground.character.i++; duplicateMovieClip (_root.ground.spark, "spark" + _root.ground.character.i, _root.ground.character.i); _root.ground["spark" + _root.ground.character.i]._x = _x; _root.ground["spark" + _root.ground.character.i]._y = _y; _root.ground["spark" + _root.ground.character.i]._rotation = _rotation - 90; _root.ground.character.i++; duplicateMovieClip (_root.ground.spark, "spark" + _root.ground.character.i, _root.ground.character.i); _root.ground["spark" + _root.ground.character.i]._x = _x; _root.ground["spark" + _root.ground.character.i]._y = _y; _root.ground["spark" + _root.ground.character.i]._rotation = _rotation - 90; _root.ground.modifier = random(20) - 10; _root.ground.yModifier = random(20) - 10; _root.sfx.gotoAndPlay((random(3) + 9) * 2); _root.ground.character.health = _root.ground.character.health - 1; } else { play(); _root.ground.character.health = _root.ground.character.health - 5; _root.ground.modifier = random(20) - 10; _root.ground.yModifier = random(20) - 10; } } } } else if (_currentframe == 43) { if (fraEvent == 30) { shootChance = random(5) + 1; myRadians = Math.atan2(_root.ground.character._y - this._y, _root.ground.character._x - this._x); myDegrees = Math.round((myRadians * 180) / Math.PI); _rotation = (myDegrees + 90); dist = Math.sqrt(((_x - _root.ground.character._x) * (_x - _root.ground.character._x)) + ((_y - _root.ground.character._y) * (_y - _root.ground.character._y))); if (Math.abs(dist) < 120) { speed = 0; } else if (dist > 300) { rot = ((_rotation - 90) * Math.PI) / 180; speed = maxSpeed; } else { speed = maxSpeed; rot = ((_rotation - rotChange) * Math.PI) / 180; } xV = Math.cos(rot) * speed; yV = Math.sin(rot) * speed; fraEvent = 0; if (shootChance == 1) { _root.ground.character.i++; duplicateMovieClip (_root.ground.bullet, "bullet" + _root.ground.character.i, _root.ground.character.i); _root.ground["bullet" + _root.ground.character.i]._x = _x; _root.ground["bullet" + _root.ground.character.i]._y = _y; _root.ground["bullet" + _root.ground.character.i]._rotation = _rotation; _root.ground["bullet" + _root.ground.character.i].enemyBullet = true; _root.ground["bullet" + _root.ground.character.i].gotoAndStop(2); } } } else if (_currentframe == 64) { if (fraEvent == 30) { shootChance = random(5) + 1; myRadians = Math.atan2(_root.ground.character._y - this._y, _root.ground.character._x - this._x); myDegrees = Math.round((myRadians * 180) / Math.PI); _rotation = (myDegrees + 90); dist = Math.sqrt(((_x - _root.ground.character._x) * (_x - _root.ground.character._x)) + ((_y - _root.ground.character._y) * (_y - _root.ground.character._y))); if (Math.abs(dist) < 120) { speed = 0; } else if (dist > 300) { rot = ((_rotation - 90) * Math.PI) / 180; speed = maxSpeed; } else { speed = maxSpeed; rot = ((_rotation - rotChange) * Math.PI) / 180; } xV = Math.cos(rot) * speed; yV = Math.sin(rot) * speed; fraEvent = 0; if (shootChance == 1) { _root.ground.character.i++; duplicateMovieClip (_root.ground.bullet, "bullet" + _root.ground.character.i, _root.ground.character.i); _root.ground["bullet" + _root.ground.character.i]._x = _x; _root.ground["bullet" + _root.ground.character.i]._y = _y; _root.ground["bullet" + _root.ground.character.i]._rotation = _rotation; _root.ground["bullet" + _root.ground.character.i].enemyBullet = true; _root.ground["bullet" + _root.ground.character.i].gotoAndStop(3); } } } else if (_currentframe == 106) { if (redDone != true) { redArr = new Array(); n = 0; while (n < 3) { _root.ground.dup.z++; if (_root.ground.dup.z > 100) { _root.ground.dup.z = 2; } duplicateMovieClip (_parent.dup, "enemy" + _root.ground.dup.z, _root.ground.dup.z); _parent["enemy" + _root.ground.dup.z]._x = _x; _parent["enemy" + _root.ground.dup.z]._y = _y; _parent["enemy" + _root.ground.dup.z].gotoAndStop(127); if (n == 0) { _parent["enemy" + _root.ground.dup.z].rot = 180; } else if (n == 1) { _parent["enemy" + _root.ground.dup.z].rot = -60; } else if (n == 2) { _parent["enemy" + _root.ground.dup.z].rot = 60; } _parent["enemy" + _root.ground.dup.z].t = eval ("_root.ground." + _name); redArr.push(eval (_root.ground["enemy" + _root.ground.dup.z])); spNum = spNum + 1; if (spNum > 7) { spNum = 0; } enemyCount = enemyCount + 1; n++; } fraEvent = 9; redDone = true; } v = 0; while (v < 3) { tgt = redArr[v]; if (tgt.health > 0) { health = 150; } v++; } shootChance = random(100) + 1; myRadians = Math.atan2(_root.ground.character._y - this._y, _root.ground.character._x - this._x); myDegrees = Math.round((myRadians * 180) / Math.PI); _rotation = (myDegrees + 90); dist = Math.sqrt(((_x - _root.ground.character._x) * (_x - _root.ground.character._x)) + ((_y - _root.ground.character._y) * (_y - _root.ground.character._y))); if (Math.abs(dist) < 120) { speed = 0; } else if (dist > 300) { rot = ((_rotation - 90) * Math.PI) / 180; speed = maxSpeed; } else { speed = maxSpeed; rot = ((_rotation - rotChange) * Math.PI) / 180; } xV = Math.cos(rot) * speed; yV = Math.sin(rot) * speed; fraEvent = 0; if (shootChance == 1) { _root.ground.character.i++; duplicateMovieClip (_root.ground.bullet, "bullet" + _root.ground.character.i, _root.ground.character.i); _root.ground["bullet" + _root.ground.character.i]._x = _x; _root.ground["bullet" + _root.ground.character.i]._y = _y; _root.ground["bullet" + _root.ground.character.i]._rotation = _rotation; _root.ground["bullet" + _root.ground.character.i].enemyBullet = true; _root.ground["bullet" + _root.ground.character.i].gotoAndStop(3); } else if (shootChance == 50) { if (_root.ground.dup.enemyCount < 5) { _root.ground.dup.z++; if (_root.ground.dup.z > 100) { _root.ground.dup.z = 2; } duplicateMovieClip (_parent.dup, "en", _root.ground.dup.z); sd = 60; xds = Math.sin(_rotation * (Math.PI/180)) * sd; yds = (Math.cos(_rotation * (Math.PI/180)) * sd) * -1; _parent.en._x = _x + xds; _parent.en._y = _y + yds; _parent.en.gotoAndStop(85); _root.ground.dup.enemyCount = _root.ground.dup.enemyCount + 1; } } } else if (_currentframe == 127) { shootChance = random(40) + 1; sd = 100; xds = Math.sin(rot * (Math.PI/180)) * sd; yds = (Math.cos(rot * (Math.PI/180)) * sd) * -1; _rotation = t._rotation; _x = (t._x + xds); _y = (t._y + yds); if (shootChance == 1) { _root.ground.character.i++; duplicateMovieClip (_root.ground.bullet, "bullet" + _root.ground.character.i, _root.ground.character.i); _root.ground["bullet" + _root.ground.character.i]._x = _x; _root.ground["bullet" + _root.ground.character.i]._y = _y; _root.ground["bullet" + _root.ground.character.i]._rotation = _rotation; _root.ground["bullet" + _root.ground.character.i].enemyBullet = true; _root.ground["bullet" + _root.ground.character.i].gotoAndStop(2); } } else if (_currentframe == 148) { if (fraEvent == 30) { shootChance = random(5) + 1; myRadians = Math.atan2(_root.ground.character._y - this._y, _root.ground.character._x - this._x); myDegrees = Math.round((myRadians * 180) / Math.PI); tur._rotation = myDegrees + 90; dist = Math.sqrt(((_x - _root.ground.character._x) * (_x - _root.ground.character._x)) + ((_y - _root.ground.character._y) * (_y - _root.ground.character._y))); if (Math.abs(dist) < 120) { speed = 0; } else if (dist > 300) { rot = ((tur._rotation - 90) * Math.PI) / 180; speed = maxSpeed; } else { speed = maxSpeed; rot = ((tur._rotation - rotChange) * Math.PI) / 180; } xV = Math.cos(rot) * speed; yV = Math.sin(rot) * speed; fraEvent = 0; if (shootChance == 1) { _root.ground.character.i++; duplicateMovieClip (_root.ground.bullet, "bullet" + _root.ground.character.i, _root.ground.character.i); _root.ground["bullet" + _root.ground.character.i]._x = _x; _root.ground["bullet" + _root.ground.character.i]._y = _y; _root.ground["bullet" + _root.ground.character.i]._rotation = tur._rotation; _root.ground["bullet" + _root.ground.character.i].enemyBullet = true; _root.ground["bullet" + _root.ground.character.i].gotoAndStop(2); } } } else if (_currentframe == 158) { if (fraEvent == 30) { shootChance = random(5) + 1; myRadians = Math.atan2(_root.ground.character._y - this._y, _root.ground.character._x - this._x); myDegrees = Math.round((myRadians * 180) / Math.PI); tur._rotation = myDegrees + 90; dist = Math.sqrt(((_x - _root.ground.character._x) * (_x - _root.ground.character._x)) + ((_y - _root.ground.character._y) * (_y - _root.ground.character._y))); if (Math.abs(dist) < 120) { speed = 0; } else if (dist > 300) { rot = ((tur._rotation - 90) * Math.PI) / 180; speed = maxSpeed; } else { speed = maxSpeed; rot = ((tur._rotation - rotChange) * Math.PI) / 180; } xV = Math.cos(rot) * speed; yV = Math.sin(rot) * speed; fraEvent = 0; if (shootChance == 1) { _root.ground.character.i++; duplicateMovieClip (_root.ground.bullet, "bullet" + _root.ground.character.i, _root.ground.character.i); _root.ground["bullet" + _root.ground.character.i]._x = _x; _root.ground["bullet" + _root.ground.character.i]._y = _y; _root.ground["bullet" + _root.ground.character.i]._rotation = tur._rotation; _root.ground["bullet" + _root.ground.character.i].enemyBullet = true; _root.ground["bullet" + _root.ground.character.i].gotoAndStop(2); } } } else if (_currentframe == 168) { if (fraEvent == 30) { shootChance = random(5) + 1; myRadians = Math.atan2(_root.ground.character._y - this._y, _root.ground.character._x - this._x); myDegrees = Math.round((myRadians * 180) / Math.PI); tur._rotation = myDegrees + 90; dist = Math.sqrt(((_x - _root.ground.character._x) * (_x - _root.ground.character._x)) + ((_y - _root.ground.character._y) * (_y - _root.ground.character._y))); if (Math.abs(dist) < 120) { speed = 0; } else if (dist > 300) { rot = ((tur._rotation - 90) * Math.PI) / 180; speed = maxSpeed; } else { speed = maxSpeed; rot = ((tur._rotation - rotChange) * Math.PI) / 180; } xV = Math.cos(rot) * speed; yV = Math.sin(rot) * speed; fraEvent = 0; if (shootChance == 1) { _root.ground.character.i++; duplicateMovieClip (_root.ground.bullet, "bullet" + _root.ground.character.i, _root.ground.character.i); _root.ground["bullet" + _root.ground.character.i]._x = _x; _root.ground["bullet" + _root.ground.character.i]._y = _y; _root.ground["bullet" + _root.ground.character.i]._rotation = tur._rotation; _root.ground["bullet" + _root.ground.character.i].enemyBullet = true; _root.ground["bullet" + _root.ground.character.i].gotoAndStop(2); } } } _x = (_x + xV); _y = (_y + yV); if (_currentframe == 148) { if ((_y < -840) || (_y > 5)) { _y = (_y - yV); } if ((_x < -840) || (_x > 5)) { _x = (_x - xV); } } else { if ((_y < -950) || (_y > 117)) { _y = (_y - yV); } if ((_x < -950) || (_x > 117)) { _x = (_x - xV); } } if (health < 1) { play(); } } else if (done2 != true) { a = 0; while (a < _root.ground.character.targets.length) { if (_root.ground.character.targets[a] == _name) { _root.ground.character.targets.splice(a, 1); itemChance = random(20) + 1; if (itemChance == 1) { _root.ground.character.i++; duplicateMovieClip (_root.ground.powerup, "powerup" + _root.ground.character.i, _root.ground.character.i); _root.ground["powerup" + _root.ground.character.i]._x = _x; _root.ground["powerup" + _root.ground.character.i]._y = _y; } a = 1000; _name = ""; _root.k = _root.k + _root.multiplier; } a++; } done2 = true; } } else if (((enemyCount < 20) && (_root.countDown.alTimer == 120)) && (_root.countDown.inBetweenTimer == 0)) { z++; if (z > 100) { z = 2; } duplicateMovieClip (_parent.dup, "en", z); _parent.en._x = xSpawn[spNum]; _parent.en._y = ySpawn[spNum]; spNum = spNum + 1; if (spNum > 7) { spNum = 0; } enemyCount = enemyCount + 1; } } }
Instance of Symbol 329 MovieClip "explosion" in Symbol 466 MovieClip Frame 1
onClipEvent (load) { if (_name == "explosion") { stop(); } else { _root.sfx.gotoAndPlay((random(4) + 2) * 2); } }
Instance of Symbol 365 MovieClip "character" in Symbol 466 MovieClip Frame 1
onClipEvent (load) { function shoot() { del = 3; if (l <= 6) { if (l == 1) { i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = _rotation - 90; } else if (l == 2) { i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = (_rotation - 90) + 10; i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = (_rotation - 90) - 10; } else if (l == 3) { i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = _rotation - 90; i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = ((_rotation - 90) + random(40)) - 20; i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = ((_rotation - 90) + random(40)) - 20; } else if (l == 4) { i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = _rotation - 90; _root.ground["bullet" + i].gotoAndStop(4); } else if (l == 5) { i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = (_rotation - 90) - 10; _root.ground["bullet" + i].gotoAndStop(4); i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = (_rotation - 90) + 10; _root.ground["bullet" + i].gotoAndStop(4); } else if (l == 6) { i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = _rotation - 90; _root.ground["bullet" + i].gotoAndStop(4); i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = ((_rotation - 90) + random(40)) - 20; _root.ground["bullet" + i].gotoAndStop(4); i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = ((_rotation - 90) + random(40)) - 20; _root.ground["bullet" + i].gotoAndStop(4); } } else if (l == 7) { i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = _rotation - 90; _root.ground["bullet" + i].gotoAndStop(5); } else if (l == 8) { i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = (_rotation - 90) + 10; _root.ground["bullet" + i].gotoAndStop(5); i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = (_rotation - 90) - 10; _root.ground["bullet" + i].gotoAndStop(5); } else if (l == 9) { i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = _rotation - 90; _root.ground["bullet" + i].gotoAndStop(5); i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = ((_rotation - 90) + random(40)) - 20; _root.ground["bullet" + i].gotoAndStop(5); i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = ((_rotation - 90) + random(40)) - 20; _root.ground["bullet" + i].gotoAndStop(5); } else if (l == 10) { i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = _rotation - 90; _root.ground["bullet" + i].gotoAndStop(6); } else if (l == 11) { i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = (_rotation - 90) + 10; _root.ground["bullet" + i].gotoAndStop(6); i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = (_rotation - 90) - 10; _root.ground["bullet" + i].gotoAndStop(6); } else if (l == 12) { i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = _rotation - 90; _root.ground["bullet" + i].gotoAndStop(6); i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = ((_rotation - 90) + random(40)) - 20; _root.ground["bullet" + i].gotoAndStop(6); i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = ((_rotation - 90) + random(40)) - 20; _root.ground["bullet" + i].gotoAndStop(6); } _root.sfx.gotoAndPlay(2); } l = 1; del = 0; swapDepths(1000); x = 0; i = 125; maxSpeed = 30; decel = 0.2; y = 0; modifier = 0; yModifier = 0; targets = new Array(a); health = 100; } onClipEvent (enterFrame) { if (l > 12) { l = 12; } _root.kill = _root.k / _root.multiplier; _root.wpn = "Weapon Lv: " + l; if (_root.pause == false) { if (i > 500) { i = 125; } myRadians = Math.atan2(_root._ymouse - (this._y + _root.ground._y), _root._xmouse - (this._x + _root.ground._x)); myDegrees = Math.round((myRadians * 180) / Math.PI); _rotation = (myDegrees + 180); rot = _rotation; if (Key.isDown(65) || (Key.isDown(37))) { if (x < maxSpeed) { x = x + 1; } } else if (Key.isDown(68) || (Key.isDown(39))) { if (x > (-maxSpeed)) { x = x - 1; } } else { if (x > 0) { x = x - decel; } if (x < 0) { x = x + decel; } if (Math.abs(x) < decel) { x = 0; } } if (Key.isDown(83) || (Key.isDown(40))) { if (y < maxSpeed) { y = y + 1; } } else if (Key.isDown(87) || (Key.isDown(38))) { if (y > (-maxSpeed)) { y = y - 1; } } else { if (y > 0) { y = y - decel; } if (y < 0) { y = y + decel; } if (Math.abs(y) < decel) { y = 0; } } _x = (_x - x); _y = (_y + y); if (_root.countDown.level == 4) { if (_x > 75) { _root.ground.modifier = random(40) - 20; _root.ground.yModifier = random(40) - 20; i++; duplicateMovieClip (_root.ground.explosion, "spark" + i, i); _root.ground["spark" + i]._x = _x; _root.ground["spark" + i]._y = _y; _root.ground["spark" + i]._rotation = _rotation - 90; i++; duplicateMovieClip (_root.ground.stuff.burn, "spark" + i, i); _root.ground.stuff["spark" + i]._x = _x - _root.ground.stuff._x; _root.ground.stuff["spark" + i]._y = _y - _root.ground.stuff._y; _root.ground.stuff["spark" + i]._rotation = random(360); _root.ground.stuff["spark" + i].gotoAndStop(random(7) + 1); _root.ground.stuff["spark" + i]._xscale = random(100) + 100; _root.ground.stuff["spark" + i]._yscale = _root.ground.stuff["spark" + i]._xscale; _root.ground.meh.myBitmap.draw(_root.ground.stuff); _root.ground.stuff["spark" + i].removeMovieClip(""); health = health - 2; _x = 75; x = x * -1.3; if (Math.abs(x) > maxSpeed) { if (x > 0) { x = maxSpeed; } else { x = -maxSpeed; } } } if (_y > 75) { _root.ground.modifier = random(40) - 20; _root.ground.yModifier = random(40) - 20; i++; duplicateMovieClip (_root.ground.explosion, "spark" + i, i); _root.ground["spark" + i]._x = _x; _root.ground["spark" + i]._y = _y; _root.ground["spark" + i]._rotation = _rotation - 90; i++; duplicateMovieClip (_root.ground.stuff.burn, "spark" + i, i); _root.ground.stuff["spark" + i]._x = _x - _root.ground.stuff._x; _root.ground.stuff["spark" + i]._y = _y - _root.ground.stuff._y; _root.ground.stuff["spark" + i]._rotation = random(360); _root.ground.stuff["spark" + i].gotoAndStop(random(7) + 1); _root.ground.stuff["spark" + i]._xscale = random(100) + 100; _root.ground.stuff["spark" + i]._yscale = _root.ground.stuff["spark" + i]._xscale; _root.ground.meh.myBitmap.draw(_root.ground.stuff); _root.ground.stuff["spark" + i].removeMovieClip(""); health = health - 2; _y = 75; y = y * -1.3; if (Math.abs(y) > maxSpeed) { if (y > 0) { y = maxSpeed; } else { y = -maxSpeed; } } } if (_x < -910) { _root.ground.modifier = random(40) - 20; _root.ground.yModifier = random(40) - 20; i++; duplicateMovieClip (_root.ground.explosion, "spark" + i, i); _root.ground["spark" + i]._x = _x; _root.ground["spark" + i]._y = _y; _root.ground["spark" + i]._rotation = _rotation - 90; i++; duplicateMovieClip (_root.ground.stuff.burn, "spark" + i, i); _root.ground.stuff["spark" + i]._x = _x - _root.ground.stuff._x; _root.ground.stuff["spark" + i]._y = _y - _root.ground.stuff._y; _root.ground.stuff["spark" + i]._rotation = random(360); _root.ground.stuff["spark" + i].gotoAndStop(random(7) + 1); _root.ground.stuff["spark" + i]._xscale = random(100) + 100; _root.ground.stuff["spark" + i]._yscale = _root.ground.stuff["spark" + i]._xscale; _root.ground.meh.myBitmap.draw(_root.ground.stuff); _root.ground.stuff["spark" + i].removeMovieClip(""); health = health - 2; _x = -910; x = x * -1.3; if (Math.abs(x) > maxSpeed) { if (x > 0) { x = maxSpeed; } else { x = -maxSpeed; } } } if (_y < -910) { _root.ground.modifier = random(40) - 20; _root.ground.yModifier = random(40) - 20; i++; duplicateMovieClip (_root.ground.explosion, "spark" + i, i); _root.ground["spark" + i]._x = _x; _root.ground["spark" + i]._y = _y; _root.ground["spark" + i]._rotation = _rotation - 90; i++; duplicateMovieClip (_root.ground.stuff.burn, "spark" + i, i); _root.ground.stuff["spark" + i]._x = _x - _root.ground.stuff._x; _root.ground.stuff["spark" + i]._y = _y - _root.ground.stuff._y; _root.ground.stuff["spark" + i]._rotation = random(360); _root.ground.stuff["spark" + i].gotoAndStop(random(7) + 1); _root.ground.stuff["spark" + i]._xscale = random(100) + 100; _root.ground.stuff["spark" + i]._yscale = _root.ground.stuff["spark" + i]._xscale; _root.ground.meh.myBitmap.draw(_root.ground.stuff); _root.ground.stuff["spark" + i].removeMovieClip(""); health = health - 2; _y = -910; y = y * -1.3; if (Math.abs(y) > maxSpeed) { if (y > 0) { y = maxSpeed; } else { y = -maxSpeed; } } } } else { if (_x > 95) { i++; duplicateMovieClip (_root.ground.spark, "spark" + i, i); _root.ground["spark" + i]._x = 117; _root.ground["spark" + i]._y = _y; _root.ground["spark" + i]._rotation = 0; _x = 95; x = x * -0.5; } if (_y > 95) { i++; duplicateMovieClip (_root.ground.spark, "spark" + i, i); _root.ground["spark" + i]._x = _x; _root.ground["spark" + i]._y = 117; _root.ground["spark" + i]._rotation = 90; _y = 95; y = y * -0.5; } if (_x < -930) { i++; duplicateMovieClip (_root.ground.spark, "spark" + i, i); _root.ground["spark" + i]._x = -950; _root.ground["spark" + i]._y = _y; _root.ground["spark" + i]._rotation = 180; _x = -930; x = x * -0.5; } if (_y < -930) { i++; duplicateMovieClip (_root.ground.spark, "spark" + i, i); _root.ground["spark" + i]._x = _x; _root.ground["spark" + i]._y = -950; _root.ground["spark" + i]._rotation = 270; _y = -930; y = y * -0.5; } } del = del - 1; if ((firing == true) && (del < 1)) { shoot(); } } } onClipEvent (mouseDown) { firing = true; } onClipEvent (mouseUp) { firing = false; }
Instance of Symbol 359 MovieClip "powerup" in Symbol 466 MovieClip Frame 1
onClipEvent (load) { if (_name != "powerup") { time = 0; gotoAndStop(random(3) + 1); if ((_currentframe == 2) && (_root.ground.character.l > (_root.countDown.level + 1))) { gotoAndStop (3); } if (_currentframe == 1) { gotoAndStop (3); } } } onClipEvent (enterFrame) { tar = eval ("_root.ground." + _root.ground.character); dist = Math.sqrt(((_x - tar._x) * (_x - tar._x)) + ((_y - tar._y) * (_y - tar._y))); if (dist < 30) { if (_currentframe == 1) { _root.sfx.gotoAndPlay(12); _root.ground.character.health = _root.ground.character.health + 25; if (_root.ground.character.health > 100) { _root.ground.character.health = 100; } removeMovieClip(""); } else if (_currentframe == 2) { _root.sfx.gotoAndPlay(14); _root.ground.character.l = _root.ground.character.l + 1; removeMovieClip(""); } else if (_currentframe == 3) { _root.sfx.gotoAndPlay(16); _root.ground.character.i++; duplicateMovieClip (_root.ground.explosion, "spark" + _root.ground.character.i, _root.ground.character.i); _root.ground["spark" + _root.ground.character.i]._x = _x; _root.ground["spark" + _root.ground.character.i]._y = _y; _root.ground["spark" + _root.ground.character.i]._xscale = 300; _root.ground["spark" + _root.ground.character.i]._yscale = 300; _root.ground["spark" + _root.ground.character.i]._rotation = _rotation - 90; m = 0; while (m < (_root.ground.character.targets.length + 1)) { tar = eval ("_root.ground." + _root.ground.character.targets[m]); dist = Math.sqrt(((_x - tar._x) * (_x - tar._x)) + ((_y - tar._y) * (_y - tar._y))); if (dist < 200) { tar.health = tar.health - 3; } m++; } _root.ground.modifier = 60; _root.ground.yModifier = 60; removeMovieClip(""); } } }
Instance of Symbol 210 MovieClip "meh" in Symbol 470 MovieClip Frame 1
onClipEvent (load) { myBitmap = new flash.display.BitmapData(1162.8, 1161.8, true, 16777215); this.createEmptyMovieClip("bg", -1); bg.attachBitmap(myBitmap, -1); myBitmap.draw(_parent.flr); _parent.flr.swapDepths(1005); _parent.flr.removeMovieClip(""); }
Instance of Symbol 290 MovieClip "spark" in Symbol 470 MovieClip Frame 1
onClipEvent (load) { if (_name != "spark") { play(); } else { stop(); } }
Instance of Symbol 307 MovieClip "bullet" in Symbol 470 MovieClip Frame 1
onClipEvent (load) { if (_name != "bullet") { if (enemyBullet != true) { l = _root.ground.character.l; if ((((l == 3) || (l == 6)) || (l == 9)) || (l == 12)) { maxTime = 10; } else if ((((l == 2) || (l == 5)) || (l == 8)) || (l == 11)) { maxTime = 15; } else if ((((l == 1) || (l == 4)) || (l == 7)) || (l == 10)) { maxTime = 20; } } rot = _rotation + 180; speed = -20; time = 0; x = Math.sin(rot * (Math.PI/180)) * speed; y = (Math.cos(rot * (Math.PI/180)) * speed) * -1; _x = (_x + (x * 2)); _y = (_y + (y * 2)); _alpha = 100; h = 0; r = false; mH = 1; l = _root.ground.character.l; if ((l > 3) && (l < 7)) { mH = 2; } else if ((l > 6) && (l < 10)) { mH = 3; } else if ((l > 9) && (l < 13)) { mH = 10000; r = true; } } } onClipEvent (enterFrame) { if (_root.pause == false) { if (_name != "bullet") { time = time + 1; if (time > maxTime) { _alpha = (_alpha - 30); } if (_alpha < 1) { removeMovieClip(""); } if (enemyBullet == true) { if (_currentframe == 2) { _x = (_x + (x / 2)); _y = (_y + (y / 2)); tar = _root.ground.character; dist = Math.sqrt(((_x - tar._x) * (_x - tar._x)) + ((_y - tar._y) * (_y - tar._y))); if (dist < 30) { _root.ground.character.i++; duplicateMovieClip (_root.ground.spark, "spark" + _root.ground.character.i, _root.ground.character.i); _root.ground["spark" + _root.ground.character.i]._x = _x; _root.ground["spark" + _root.ground.character.i]._y = _y; _root.ground["spark" + _root.ground.character.i]._rotation = _rotation - 90; _root.ground.character.i++; duplicateMovieClip (_root.ground.stuff.burn, "spark" + _root.ground.character.i, _root.ground.character.i); _root.ground.stuff["spark" + _root.ground.character.i]._x = _x - _root.ground.stuff._x; _root.ground.stuff["spark" + _root.ground.character.i]._y = _y - _root.ground.stuff._y; _root.ground.stuff["spark" + _root.ground.character.i]._rotation = random(360); _root.ground.stuff["spark" + _root.ground.character.i].gotoAndStop(random(7) + 1); _root.ground.stuff["spark" + _root.ground.character.i]._xscale = random(100) + 100; _root.ground.stuff["spark" + _root.ground.character.i]._yscale = _root.ground.stuff["spark" + _root.ground.character.i]._xscale; _root.ground.meh.myBitmap.draw(_root.ground.stuff); _root.ground.stuff["spark" + _root.ground.character.i].removeMovieClip(""); tar.health = tar.health - 1; _root.sfx.gotoAndPlay((random(3) + 9) * 2); _root.ground.modifier = random(20) - 10; _root.ground.yModifier = random(20) - 10; removeMovieClip(""); } } else if (_currentframe == 3) { _x = (_x + x); _y = (_y + y); x = x * 0.9; y = y * 0.9; if ((x < 0.5) && (y < 0.5)) { dist = Math.sqrt(((_x - tar._x) * (_x - tar._x)) + ((_y - tar._y) * (_y - tar._y))); if (dist < 100) { _root.character.health = _root.character.health - 1; _root.ground.modifier = random(20) - 10; _root.ground.yModifier = random(20) - 10; } else if (dist < 30) { _root.ground.modifier = random(40) - 20; _root.ground.yModifier = random(40) - 20; _root.ground.character.i++; duplicateMovieClip (_root.ground.explosion, "spark" + _root.ground.character.i, _root.ground.character.i); _root.ground["spark" + _root.ground.character.i]._x = _x; _root.ground["spark" + _root.ground.character.i]._y = _y; _root.ground["spark" + _root.ground.character.i]._rotation = _rotation - 90; _root.ground.character.i++; duplicateMovieClip (_root.ground.stuff.burn, "spark" + _root.ground.character.i, _root.ground.character.i); _root.ground.stuff["spark" + _root.ground.character.i]._x = _x - _root.ground.stuff._x; _root.ground.stuff["spark" + _root.ground.character.i]._y = _y - _root.ground.stuff._y; _root.ground.stuff["spark" + _root.ground.character.i]._rotation = random(360); _root.ground.stuff["spark" + _root.ground.character.i].gotoAndStop(random(7) + 1); _root.ground.stuff["spark" + _root.ground.character.i]._xscale = random(100) + 100; _root.ground.stuff["spark" + _root.ground.character.i]._yscale = _root.ground.stuff["spark" + _root.ground.character.i]._xscale; _root.ground.meh.myBitmap.draw(_root.ground.stuff); _root.ground.stuff["spark" + _root.ground.character.i].removeMovieClip(""); tar.health = tar.health - 5; removeMovieClip(""); } _root.ground.character.i++; duplicateMovieClip (_root.ground.explosion, "spark" + _root.ground.character.i, _root.ground.character.i); _root.ground["spark" + _root.ground.character.i]._x = _x; _root.ground["spark" + _root.ground.character.i]._y = _y; _root.ground["spark" + _root.ground.character.i]._rotation = _rotation - 90; _root.ground.character.i++; duplicateMovieClip (_root.ground.stuff.burn, "spark" + _root.ground.character.i, _root.ground.character.i); _root.ground.stuff["spark" + _root.ground.character.i]._x = _x - _root.ground.stuff._x; _root.ground.stuff["spark" + _root.ground.character.i]._y = _y - _root.ground.stuff._y; _root.ground.stuff["spark" + _root.ground.character.i]._rotation = random(360); _root.ground.stuff["spark" + _root.ground.character.i].gotoAndStop(random(7) + 1); _root.ground.stuff["spark" + _root.ground.character.i]._xscale = random(100) + 100; _root.ground.stuff["spark" + _root.ground.character.i]._yscale = _root.ground.stuff["spark" + _root.ground.character.i]._xscale; _root.ground.meh.myBitmap.draw(_root.ground.stuff); _root.ground.stuff["spark" + _root.ground.character.i].removeMovieClip(""); removeMovieClip(""); } tar = _root.ground.character; dist = Math.sqrt(((_x - tar._x) * (_x - tar._x)) + ((_y - tar._y) * (_y - tar._y))); if (dist < 30) { _root.ground.modifier = random(40) - 20; _root.ground.yModifier = random(40) - 20; _root.ground.character.i++; duplicateMovieClip (_root.ground.explosion, "spark" + _root.ground.character.i, _root.ground.character.i); _root.ground["spark" + _root.ground.character.i]._x = _x; _root.ground["spark" + _root.ground.character.i]._y = _y; _root.ground["spark" + _root.ground.character.i]._rotation = _rotation - 90; _root.ground.character.i++; duplicateMovieClip (_root.ground.stuff.burn, "spark" + _root.ground.character.i, _root.ground.character.i); _root.ground.stuff["spark" + _root.ground.character.i]._x = _x - _root.ground.stuff._x; _root.ground.stuff["spark" + _root.ground.character.i]._y = _y - _root.ground.stuff._y; _root.ground.stuff["spark" + _root.ground.character.i]._rotation = random(360); _root.ground.stuff["spark" + _root.ground.character.i].gotoAndStop(random(7) + 1); _root.ground.stuff["spark" + _root.ground.character.i]._xscale = random(100) + 100; _root.ground.stuff["spark" + _root.ground.character.i]._yscale = _root.ground.stuff["spark" + _root.ground.character.i]._xscale; _root.ground.meh.myBitmap.draw(_root.ground.stuff); _root.ground.stuff["spark" + _root.ground.character.i].removeMovieClip(""); tar.health = tar.health - 5; removeMovieClip(""); } } } else { _x = (_x + x); _y = (_y + y); if (nf == true) { _root.ground.character.i++; duplicateMovieClip (_root.ground.explosion, "spark" + _root.ground.character.i, _root.ground.character.i); _root.ground["spark" + _root.ground.character.i]._x = _x; _root.ground["spark" + _root.ground.character.i]._y = _y; _root.ground["spark" + _root.ground.character.i]._rotation = _rotation - 90; m = 0; while (m < (_root.ground.character.targets.length + 1)) { tar = eval ("_root.ground." + _root.ground.character.targets[m]); dist = Math.sqrt(((_x - tar._x) * (_x - tar._x)) + ((_y - tar._y) * (_y - tar._y))); if (dist < 60) { tar.health = tar.health - 3; } m++; } removeMovieClip(""); } m = 0; while (m < (_root.ground.character.targets.length + 1)) { tar = eval ("_root.ground." + _root.ground.character.targets[m]); dist = Math.sqrt(((_x - tar._x) * (_x - tar._x)) + ((_y - tar._y) * (_y - tar._y))); if (dist < 20) { _root.ground.character.targets.slice(m); _root.ground.character.i++; duplicateMovieClip (_root.ground.spark, "spark" + _root.ground.character.i, _root.ground.character.i); _root.ground["spark" + _root.ground.character.i]._x = _x; _root.ground["spark" + _root.ground.character.i]._y = _y; _root.ground["spark" + _root.ground.character.i]._rotation = _rotation - 90; _root.ground.character.i++; duplicateMovieClip (_root.ground.stuff.burn, "spark" + _root.ground.character.i, _root.ground.character.i); _root.ground.stuff["spark" + _root.ground.character.i]._x = _x - _root.ground.stuff._x; _root.ground.stuff["spark" + _root.ground.character.i]._y = _y - _root.ground.stuff._y; _root.ground.stuff["spark" + _root.ground.character.i]._rotation = random(360); _root.ground.stuff["spark" + _root.ground.character.i].gotoAndStop(random(7) + 1); _root.ground.stuff["spark" + _root.ground.character.i]._xscale = random(100) + 100; _root.ground.stuff["spark" + _root.ground.character.i]._yscale = _root.ground.stuff["spark" + _root.ground.character.i]._xscale; _root.ground.meh.myBitmap.draw(_root.ground.stuff); _root.ground.stuff["spark" + _root.ground.character.i].removeMovieClip(""); h = h + 1; tar.health = tar.health - 1; if (h > mH) { removeMovieClip(""); } } if ((r == true) && (h > 0)) { nf = true; } m++; } } if ((((_y < -950) || (_x < -950)) || (_x > 117)) || (_y > 112)) { _root.ground.character.i++; duplicateMovieClip (_root.ground.spark, "spark" + _root.ground.character.i, _root.ground.character.i); _root.ground["spark" + _root.ground.character.i]._x = _x; _root.ground["spark" + _root.ground.character.i]._y = _y; _root.ground["spark" + _root.ground.character.i]._rotation = _rotation - 90; _root.ground.character.i++; duplicateMovieClip (_root.ground.stuff.burn, "spark" + _root.ground.character.i, _root.ground.character.i); _root.ground.stuff["spark" + _root.ground.character.i]._x = _x - _root.ground.stuff._x; _root.ground.stuff["spark" + _root.ground.character.i]._y = _y - _root.ground.stuff._y; _root.ground.stuff["spark" + _root.ground.character.i]._rotation = random(360); _root.ground.stuff["spark" + _root.ground.character.i].gotoAndStop(random(7) + 1); _root.ground.stuff["spark" + _root.ground.character.i]._xscale = random(100) + 100; _root.ground.stuff["spark" + _root.ground.character.i]._yscale = _root.ground.stuff["spark" + _root.ground.character.i]._xscale; _root.ground.meh.myBitmap.draw(_root.ground.stuff); _root.ground.stuff["spark" + _root.ground.character.i].removeMovieClip(""); removeMovieClip(""); } } } }
Instance of Symbol 342 MovieClip "dup" in Symbol 470 MovieClip Frame 1
onClipEvent (load) { if (_name != "dup") { chance = random(5); if (chance == 1) { gotoAndStop (22); } else if (chance == 2) { gotoAndStop (64); } else if (chance == 3) { gotoAndStop (85); } else if (chance == 4) { chance2 = random(100) + 1; if (chance2 == 1) { gotoAndStop (148); } } else { gotoAndStop (1); } stFra = _currentframe; cacheAsBitmap = true; health = 3; fraEvent = 29; rotChange = random(20); maxSpeed = random(3) + 2; if (_y < -950) { _y = -950; } if (_x < -950) { _x = -950; } if (_y > 117) { _y = 117; } if (_x > 117) { _x = 117; } } else { z = 90; enemyCount = 0; xSpawn = new Array(-655, -169, 137, 137, -172, -655, -977, -977); ySpawn = new Array(-970, -970, -636, -167, 144, 144, -164, -636); spNum = 0; } } onClipEvent (enterFrame) { if (_root.pause == false) { if (_name != "dup") { if (done != true) { _name = ("enemy" + _parent.dup.z); _root.ground.character.targets.push(_name); done = true; } if (_currentframe == stFra) { fraEvent = fraEvent + 1; if (_currentframe == 1) { if (fraEvent == 30) { shootChance = random(5) + 1; myRadians = Math.atan2(_root.ground.character._y - this._y, _root.ground.character._x - this._x); myDegrees = Math.round((myRadians * 180) / Math.PI); _rotation = (myDegrees + 90); dist = Math.sqrt(((_x - _root.ground.character._x) * (_x - _root.ground.character._x)) + ((_y - _root.ground.character._y) * (_y - _root.ground.character._y))); if (Math.abs(dist) < 120) { speed = 0; } else if (dist > 300) { rot = ((_rotation - 90) * Math.PI) / 180; speed = maxSpeed; } else { speed = maxSpeed; rot = ((_rotation - rotChange) * Math.PI) / 180; } xV = Math.cos(rot) * speed; yV = Math.sin(rot) * speed; fraEvent = 0; if (shootChance == 1) { _root.ground.character.i++; duplicateMovieClip (_root.ground.bullet, "bullet" + _root.ground.character.i, _root.ground.character.i); _root.ground["bullet" + _root.ground.character.i]._x = _x; _root.ground["bullet" + _root.ground.character.i]._y = _y; _root.ground["bullet" + _root.ground.character.i]._rotation = _rotation; _root.ground["bullet" + _root.ground.character.i].enemyBullet = true; _root.ground["bullet" + _root.ground.character.i].gotoAndStop(2); } } } else if ((_currentframe == 22) || (_currentframe == 85)) { if (fraEvent == 30) { shootChance = 0; myRadians = Math.atan2(_root.ground.character._y - this._y, _root.ground.character._x - this._x); myDegrees = Math.round((myRadians * 180) / Math.PI); _rotation = (myDegrees + 90); dist = Math.sqrt(((_x - _root.ground.character._x) * (_x - _root.ground.character._x)) + ((_y - _root.ground.character._y) * (_y - _root.ground.character._y))); if (Math.abs(dist) < 60) { speed = 0; if (_currentframe == 22) { shootChance = random(2); } else { shootChance = 1; } } else { rot = ((_rotation - 90) * Math.PI) / 180; speed = maxSpeed; } xV = Math.cos(rot) * speed; yV = Math.sin(rot) * speed; fraEvent = 0; if (shootChance == 1) { if (_currentframe == 22) { _root.ground.character.i++; duplicateMovieClip (_root.ground.spark, "spark" + _root.ground.character.i, _root.ground.character.i); _root.ground["spark" + _root.ground.character.i]._x = _x; _root.ground["spark" + _root.ground.character.i]._y = _y; _root.ground["spark" + _root.ground.character.i]._rotation = _rotation - 90; _root.ground.character.i++; duplicateMovieClip (_root.ground.spark, "spark" + _root.ground.character.i, _root.ground.character.i); _root.ground["spark" + _root.ground.character.i]._x = _x; _root.ground["spark" + _root.ground.character.i]._y = _y; _root.ground["spark" + _root.ground.character.i]._rotation = _rotation - 90; _root.ground.modifier = random(20) - 10; _root.ground.yModifier = random(20) - 10; _root.sfx.gotoAndPlay((random(3) + 9) * 2); _root.ground.character.health = _root.ground.character.health - 1; } else { play(); _root.ground.character.health = _root.ground.character.health - 5; _root.ground.modifier = random(20) - 10; _root.ground.yModifier = random(20) - 10; } } } } else if (_currentframe == 43) { if (fraEvent == 30) { shootChance = random(5) + 1; myRadians = Math.atan2(_root.ground.character._y - this._y, _root.ground.character._x - this._x); myDegrees = Math.round((myRadians * 180) / Math.PI); _rotation = (myDegrees + 90); dist = Math.sqrt(((_x - _root.ground.character._x) * (_x - _root.ground.character._x)) + ((_y - _root.ground.character._y) * (_y - _root.ground.character._y))); if (Math.abs(dist) < 120) { speed = 0; } else if (dist > 300) { rot = ((_rotation - 90) * Math.PI) / 180; speed = maxSpeed; } else { speed = maxSpeed; rot = ((_rotation - rotChange) * Math.PI) / 180; } xV = Math.cos(rot) * speed; yV = Math.sin(rot) * speed; fraEvent = 0; if (shootChance == 1) { _root.ground.character.i++; duplicateMovieClip (_root.ground.bullet, "bullet" + _root.ground.character.i, _root.ground.character.i); _root.ground["bullet" + _root.ground.character.i]._x = _x; _root.ground["bullet" + _root.ground.character.i]._y = _y; _root.ground["bullet" + _root.ground.character.i]._rotation = _rotation; _root.ground["bullet" + _root.ground.character.i].enemyBullet = true; _root.ground["bullet" + _root.ground.character.i].gotoAndStop(2); } } } else if (_currentframe == 64) { if (fraEvent == 30) { shootChance = random(5) + 1; myRadians = Math.atan2(_root.ground.character._y - this._y, _root.ground.character._x - this._x); myDegrees = Math.round((myRadians * 180) / Math.PI); _rotation = (myDegrees + 90); dist = Math.sqrt(((_x - _root.ground.character._x) * (_x - _root.ground.character._x)) + ((_y - _root.ground.character._y) * (_y - _root.ground.character._y))); if (Math.abs(dist) < 120) { speed = 0; } else if (dist > 300) { rot = ((_rotation - 90) * Math.PI) / 180; speed = maxSpeed; } else { speed = maxSpeed; rot = ((_rotation - rotChange) * Math.PI) / 180; } xV = Math.cos(rot) * speed; yV = Math.sin(rot) * speed; fraEvent = 0; if (shootChance == 1) { _root.ground.character.i++; duplicateMovieClip (_root.ground.bullet, "bullet" + _root.ground.character.i, _root.ground.character.i); _root.ground["bullet" + _root.ground.character.i]._x = _x; _root.ground["bullet" + _root.ground.character.i]._y = _y; _root.ground["bullet" + _root.ground.character.i]._rotation = _rotation; _root.ground["bullet" + _root.ground.character.i].enemyBullet = true; _root.ground["bullet" + _root.ground.character.i].gotoAndStop(3); } } } else if (_currentframe == 106) { if (redDone != true) { redArr = new Array(); n = 0; while (n < 3) { _root.ground.dup.z++; if (_root.ground.dup.z > 100) { _root.ground.dup.z = 2; } duplicateMovieClip (_parent.dup, "enemy" + _root.ground.dup.z, _root.ground.dup.z); _parent["enemy" + _root.ground.dup.z]._x = _x; _parent["enemy" + _root.ground.dup.z]._y = _y; _parent["enemy" + _root.ground.dup.z].gotoAndStop(127); if (n == 0) { _parent["enemy" + _root.ground.dup.z].rot = 180; } else if (n == 1) { _parent["enemy" + _root.ground.dup.z].rot = -60; } else if (n == 2) { _parent["enemy" + _root.ground.dup.z].rot = 60; } _parent["enemy" + _root.ground.dup.z].t = eval ("_root.ground." + _name); redArr.push(eval (_root.ground["enemy" + _root.ground.dup.z])); spNum = spNum + 1; if (spNum > 7) { spNum = 0; } enemyCount = enemyCount + 1; n++; } fraEvent = 9; redDone = true; } v = 0; while (v < 3) { tgt = redArr[v]; if (tgt.health > 0) { health = 150; } v++; } shootChance = random(100) + 1; myRadians = Math.atan2(_root.ground.character._y - this._y, _root.ground.character._x - this._x); myDegrees = Math.round((myRadians * 180) / Math.PI); _rotation = (myDegrees + 90); dist = Math.sqrt(((_x - _root.ground.character._x) * (_x - _root.ground.character._x)) + ((_y - _root.ground.character._y) * (_y - _root.ground.character._y))); if (Math.abs(dist) < 120) { speed = 0; } else if (dist > 300) { rot = ((_rotation - 90) * Math.PI) / 180; speed = maxSpeed; } else { speed = maxSpeed; rot = ((_rotation - rotChange) * Math.PI) / 180; } xV = Math.cos(rot) * speed; yV = Math.sin(rot) * speed; fraEvent = 0; if (shootChance == 1) { _root.ground.character.i++; duplicateMovieClip (_root.ground.bullet, "bullet" + _root.ground.character.i, _root.ground.character.i); _root.ground["bullet" + _root.ground.character.i]._x = _x; _root.ground["bullet" + _root.ground.character.i]._y = _y; _root.ground["bullet" + _root.ground.character.i]._rotation = _rotation; _root.ground["bullet" + _root.ground.character.i].enemyBullet = true; _root.ground["bullet" + _root.ground.character.i].gotoAndStop(3); } else if (shootChance == 50) { if (_root.ground.dup.enemyCount < 5) { _root.ground.dup.z++; if (_root.ground.dup.z > 100) { _root.ground.dup.z = 2; } duplicateMovieClip (_parent.dup, "en", _root.ground.dup.z); sd = 60; xds = Math.sin(_rotation * (Math.PI/180)) * sd; yds = (Math.cos(_rotation * (Math.PI/180)) * sd) * -1; _parent.en._x = _x + xds; _parent.en._y = _y + yds; _parent.en.gotoAndStop(85); _root.ground.dup.enemyCount = _root.ground.dup.enemyCount + 1; } } } else if (_currentframe == 127) { shootChance = random(40) + 1; sd = 100; xds = Math.sin(rot * (Math.PI/180)) * sd; yds = (Math.cos(rot * (Math.PI/180)) * sd) * -1; _rotation = t._rotation; _x = (t._x + xds); _y = (t._y + yds); if (shootChance == 1) { _root.ground.character.i++; duplicateMovieClip (_root.ground.bullet, "bullet" + _root.ground.character.i, _root.ground.character.i); _root.ground["bullet" + _root.ground.character.i]._x = _x; _root.ground["bullet" + _root.ground.character.i]._y = _y; _root.ground["bullet" + _root.ground.character.i]._rotation = _rotation; _root.ground["bullet" + _root.ground.character.i].enemyBullet = true; _root.ground["bullet" + _root.ground.character.i].gotoAndStop(2); } } else if (_currentframe == 148) { if (fraEvent == 30) { shootChance = random(5) + 1; myRadians = Math.atan2(_root.ground.character._y - this._y, _root.ground.character._x - this._x); myDegrees = Math.round((myRadians * 180) / Math.PI); tur._rotation = myDegrees + 90; dist = Math.sqrt(((_x - _root.ground.character._x) * (_x - _root.ground.character._x)) + ((_y - _root.ground.character._y) * (_y - _root.ground.character._y))); if (Math.abs(dist) < 120) { speed = 0; } else if (dist > 300) { rot = ((tur._rotation - 90) * Math.PI) / 180; speed = maxSpeed; } else { speed = maxSpeed; rot = ((tur._rotation - rotChange) * Math.PI) / 180; } xV = Math.cos(rot) * speed; yV = Math.sin(rot) * speed; fraEvent = 0; if (shootChance == 1) { _root.ground.character.i++; duplicateMovieClip (_root.ground.bullet, "bullet" + _root.ground.character.i, _root.ground.character.i); _root.ground["bullet" + _root.ground.character.i]._x = _x; _root.ground["bullet" + _root.ground.character.i]._y = _y; _root.ground["bullet" + _root.ground.character.i]._rotation = tur._rotation; _root.ground["bullet" + _root.ground.character.i].enemyBullet = true; _root.ground["bullet" + _root.ground.character.i].gotoAndStop(2); } } } else if (_currentframe == 158) { if (fraEvent == 30) { shootChance = random(5) + 1; myRadians = Math.atan2(_root.ground.character._y - this._y, _root.ground.character._x - this._x); myDegrees = Math.round((myRadians * 180) / Math.PI); tur._rotation = myDegrees + 90; dist = Math.sqrt(((_x - _root.ground.character._x) * (_x - _root.ground.character._x)) + ((_y - _root.ground.character._y) * (_y - _root.ground.character._y))); if (Math.abs(dist) < 120) { speed = 0; } else if (dist > 300) { rot = ((tur._rotation - 90) * Math.PI) / 180; speed = maxSpeed; } else { speed = maxSpeed; rot = ((tur._rotation - rotChange) * Math.PI) / 180; } xV = Math.cos(rot) * speed; yV = Math.sin(rot) * speed; fraEvent = 0; if (shootChance == 1) { _root.ground.character.i++; duplicateMovieClip (_root.ground.bullet, "bullet" + _root.ground.character.i, _root.ground.character.i); _root.ground["bullet" + _root.ground.character.i]._x = _x; _root.ground["bullet" + _root.ground.character.i]._y = _y; _root.ground["bullet" + _root.ground.character.i]._rotation = tur._rotation; _root.ground["bullet" + _root.ground.character.i].enemyBullet = true; _root.ground["bullet" + _root.ground.character.i].gotoAndStop(2); } } } else if (_currentframe == 168) { if (fraEvent == 30) { shootChance = random(5) + 1; myRadians = Math.atan2(_root.ground.character._y - this._y, _root.ground.character._x - this._x); myDegrees = Math.round((myRadians * 180) / Math.PI); tur._rotation = myDegrees + 90; dist = Math.sqrt(((_x - _root.ground.character._x) * (_x - _root.ground.character._x)) + ((_y - _root.ground.character._y) * (_y - _root.ground.character._y))); if (Math.abs(dist) < 120) { speed = 0; } else if (dist > 300) { rot = ((tur._rotation - 90) * Math.PI) / 180; speed = maxSpeed; } else { speed = maxSpeed; rot = ((tur._rotation - rotChange) * Math.PI) / 180; } xV = Math.cos(rot) * speed; yV = Math.sin(rot) * speed; fraEvent = 0; if (shootChance == 1) { _root.ground.character.i++; duplicateMovieClip (_root.ground.bullet, "bullet" + _root.ground.character.i, _root.ground.character.i); _root.ground["bullet" + _root.ground.character.i]._x = _x; _root.ground["bullet" + _root.ground.character.i]._y = _y; _root.ground["bullet" + _root.ground.character.i]._rotation = tur._rotation; _root.ground["bullet" + _root.ground.character.i].enemyBullet = true; _root.ground["bullet" + _root.ground.character.i].gotoAndStop(2); } } } _x = (_x + xV); _y = (_y + yV); if (_currentframe == 148) { if ((_y < -840) || (_y > 5)) { _y = (_y - yV); } if ((_x < -840) || (_x > 5)) { _x = (_x - xV); } } else { if ((_y < -950) || (_y > 117)) { _y = (_y - yV); } if ((_x < -950) || (_x > 117)) { _x = (_x - xV); } } if (health < 1) { play(); } } else if (done2 != true) { a = 0; while (a < _root.ground.character.targets.length) { if (_root.ground.character.targets[a] == _name) { _root.ground.character.targets.splice(a, 1); itemChance = random(20) + 1; if (itemChance == 1) { _root.ground.character.i++; duplicateMovieClip (_root.ground.powerup, "powerup" + _root.ground.character.i, _root.ground.character.i); _root.ground["powerup" + _root.ground.character.i]._x = _x; _root.ground["powerup" + _root.ground.character.i]._y = _y; } a = 1000; _name = ""; _root.k = _root.k + _root.multiplier; } a++; } done2 = true; } } else if (((enemyCount < 20) && (_root.countDown.alTimer == 120)) && (_root.countDown.inBetweenTimer == 0)) { z++; if (z > 100) { z = 2; } duplicateMovieClip (_parent.dup, "en", z); _parent.en._x = xSpawn[spNum]; _parent.en._y = ySpawn[spNum]; spNum = spNum + 1; if (spNum > 7) { spNum = 0; } enemyCount = enemyCount + 1; } } }
Instance of Symbol 329 MovieClip "explosion" in Symbol 470 MovieClip Frame 1
onClipEvent (load) { if (_name == "explosion") { stop(); } else { _root.sfx.gotoAndPlay((random(4) + 2) * 2); } }
Instance of Symbol 365 MovieClip "character" in Symbol 470 MovieClip Frame 1
onClipEvent (load) { function shoot() { del = 3; if (l <= 6) { if (l == 1) { i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = _rotation - 90; } else if (l == 2) { i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = (_rotation - 90) + 10; i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = (_rotation - 90) - 10; } else if (l == 3) { i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = _rotation - 90; i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = ((_rotation - 90) + random(40)) - 20; i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = ((_rotation - 90) + random(40)) - 20; } else if (l == 4) { i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = _rotation - 90; _root.ground["bullet" + i].gotoAndStop(4); } else if (l == 5) { i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = (_rotation - 90) - 10; _root.ground["bullet" + i].gotoAndStop(4); i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = (_rotation - 90) + 10; _root.ground["bullet" + i].gotoAndStop(4); } else if (l == 6) { i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = _rotation - 90; _root.ground["bullet" + i].gotoAndStop(4); i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = ((_rotation - 90) + random(40)) - 20; _root.ground["bullet" + i].gotoAndStop(4); i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = ((_rotation - 90) + random(40)) - 20; _root.ground["bullet" + i].gotoAndStop(4); } } else if (l == 7) { i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = _rotation - 90; _root.ground["bullet" + i].gotoAndStop(5); } else if (l == 8) { i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = (_rotation - 90) + 10; _root.ground["bullet" + i].gotoAndStop(5); i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = (_rotation - 90) - 10; _root.ground["bullet" + i].gotoAndStop(5); } else if (l == 9) { i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = _rotation - 90; _root.ground["bullet" + i].gotoAndStop(5); i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = ((_rotation - 90) + random(40)) - 20; _root.ground["bullet" + i].gotoAndStop(5); i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = ((_rotation - 90) + random(40)) - 20; _root.ground["bullet" + i].gotoAndStop(5); } else if (l == 10) { i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = _rotation - 90; _root.ground["bullet" + i].gotoAndStop(6); } else if (l == 11) { i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = (_rotation - 90) + 10; _root.ground["bullet" + i].gotoAndStop(6); i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = (_rotation - 90) - 10; _root.ground["bullet" + i].gotoAndStop(6); } else if (l == 12) { i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = _rotation - 90; _root.ground["bullet" + i].gotoAndStop(6); i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = ((_rotation - 90) + random(40)) - 20; _root.ground["bullet" + i].gotoAndStop(6); i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = ((_rotation - 90) + random(40)) - 20; _root.ground["bullet" + i].gotoAndStop(6); } _root.sfx.gotoAndPlay(2); } l = 1; del = 0; swapDepths(1000); x = 0; i = 125; maxSpeed = 30; decel = 0.2; y = 0; modifier = 0; yModifier = 0; targets = new Array(a); health = 100; } onClipEvent (enterFrame) { if (l > 12) { l = 12; } _root.kill = _root.k / _root.multiplier; _root.wpn = "Weapon Lv: " + l; if (_root.pause == false) { if (i > 500) { i = 125; } myRadians = Math.atan2(_root._ymouse - (this._y + _root.ground._y), _root._xmouse - (this._x + _root.ground._x)); myDegrees = Math.round((myRadians * 180) / Math.PI); _rotation = (myDegrees + 180); rot = _rotation; if (Key.isDown(65) || (Key.isDown(37))) { if (x < maxSpeed) { x = x + 1; } } else if (Key.isDown(68) || (Key.isDown(39))) { if (x > (-maxSpeed)) { x = x - 1; } } else { if (x > 0) { x = x - decel; } if (x < 0) { x = x + decel; } if (Math.abs(x) < decel) { x = 0; } } if (Key.isDown(83) || (Key.isDown(40))) { if (y < maxSpeed) { y = y + 1; } } else if (Key.isDown(87) || (Key.isDown(38))) { if (y > (-maxSpeed)) { y = y - 1; } } else { if (y > 0) { y = y - decel; } if (y < 0) { y = y + decel; } if (Math.abs(y) < decel) { y = 0; } } _x = (_x - x); _y = (_y + y); if (_root.countDown.level == 4) { if (_x > 75) { _root.ground.modifier = random(40) - 20; _root.ground.yModifier = random(40) - 20; i++; duplicateMovieClip (_root.ground.explosion, "spark" + i, i); _root.ground["spark" + i]._x = _x; _root.ground["spark" + i]._y = _y; _root.ground["spark" + i]._rotation = _rotation - 90; i++; duplicateMovieClip (_root.ground.stuff.burn, "spark" + i, i); _root.ground.stuff["spark" + i]._x = _x - _root.ground.stuff._x; _root.ground.stuff["spark" + i]._y = _y - _root.ground.stuff._y; _root.ground.stuff["spark" + i]._rotation = random(360); _root.ground.stuff["spark" + i].gotoAndStop(random(7) + 1); _root.ground.stuff["spark" + i]._xscale = random(100) + 100; _root.ground.stuff["spark" + i]._yscale = _root.ground.stuff["spark" + i]._xscale; _root.ground.meh.myBitmap.draw(_root.ground.stuff); _root.ground.stuff["spark" + i].removeMovieClip(""); health = health - 2; _x = 75; x = x * -1.3; if (Math.abs(x) > maxSpeed) { if (x > 0) { x = maxSpeed; } else { x = -maxSpeed; } } } if (_y > 75) { _root.ground.modifier = random(40) - 20; _root.ground.yModifier = random(40) - 20; i++; duplicateMovieClip (_root.ground.explosion, "spark" + i, i); _root.ground["spark" + i]._x = _x; _root.ground["spark" + i]._y = _y; _root.ground["spark" + i]._rotation = _rotation - 90; i++; duplicateMovieClip (_root.ground.stuff.burn, "spark" + i, i); _root.ground.stuff["spark" + i]._x = _x - _root.ground.stuff._x; _root.ground.stuff["spark" + i]._y = _y - _root.ground.stuff._y; _root.ground.stuff["spark" + i]._rotation = random(360); _root.ground.stuff["spark" + i].gotoAndStop(random(7) + 1); _root.ground.stuff["spark" + i]._xscale = random(100) + 100; _root.ground.stuff["spark" + i]._yscale = _root.ground.stuff["spark" + i]._xscale; _root.ground.meh.myBitmap.draw(_root.ground.stuff); _root.ground.stuff["spark" + i].removeMovieClip(""); health = health - 2; _y = 75; y = y * -1.3; if (Math.abs(y) > maxSpeed) { if (y > 0) { y = maxSpeed; } else { y = -maxSpeed; } } } if (_x < -910) { _root.ground.modifier = random(40) - 20; _root.ground.yModifier = random(40) - 20; i++; duplicateMovieClip (_root.ground.explosion, "spark" + i, i); _root.ground["spark" + i]._x = _x; _root.ground["spark" + i]._y = _y; _root.ground["spark" + i]._rotation = _rotation - 90; i++; duplicateMovieClip (_root.ground.stuff.burn, "spark" + i, i); _root.ground.stuff["spark" + i]._x = _x - _root.ground.stuff._x; _root.ground.stuff["spark" + i]._y = _y - _root.ground.stuff._y; _root.ground.stuff["spark" + i]._rotation = random(360); _root.ground.stuff["spark" + i].gotoAndStop(random(7) + 1); _root.ground.stuff["spark" + i]._xscale = random(100) + 100; _root.ground.stuff["spark" + i]._yscale = _root.ground.stuff["spark" + i]._xscale; _root.ground.meh.myBitmap.draw(_root.ground.stuff); _root.ground.stuff["spark" + i].removeMovieClip(""); health = health - 2; _x = -910; x = x * -1.3; if (Math.abs(x) > maxSpeed) { if (x > 0) { x = maxSpeed; } else { x = -maxSpeed; } } } if (_y < -910) { _root.ground.modifier = random(40) - 20; _root.ground.yModifier = random(40) - 20; i++; duplicateMovieClip (_root.ground.explosion, "spark" + i, i); _root.ground["spark" + i]._x = _x; _root.ground["spark" + i]._y = _y; _root.ground["spark" + i]._rotation = _rotation - 90; i++; duplicateMovieClip (_root.ground.stuff.burn, "spark" + i, i); _root.ground.stuff["spark" + i]._x = _x - _root.ground.stuff._x; _root.ground.stuff["spark" + i]._y = _y - _root.ground.stuff._y; _root.ground.stuff["spark" + i]._rotation = random(360); _root.ground.stuff["spark" + i].gotoAndStop(random(7) + 1); _root.ground.stuff["spark" + i]._xscale = random(100) + 100; _root.ground.stuff["spark" + i]._yscale = _root.ground.stuff["spark" + i]._xscale; _root.ground.meh.myBitmap.draw(_root.ground.stuff); _root.ground.stuff["spark" + i].removeMovieClip(""); health = health - 2; _y = -910; y = y * -1.3; if (Math.abs(y) > maxSpeed) { if (y > 0) { y = maxSpeed; } else { y = -maxSpeed; } } } } else { if (_x > 95) { i++; duplicateMovieClip (_root.ground.spark, "spark" + i, i); _root.ground["spark" + i]._x = 117; _root.ground["spark" + i]._y = _y; _root.ground["spark" + i]._rotation = 0; _x = 95; x = x * -0.5; } if (_y > 95) { i++; duplicateMovieClip (_root.ground.spark, "spark" + i, i); _root.ground["spark" + i]._x = _x; _root.ground["spark" + i]._y = 117; _root.ground["spark" + i]._rotation = 90; _y = 95; y = y * -0.5; } if (_x < -930) { i++; duplicateMovieClip (_root.ground.spark, "spark" + i, i); _root.ground["spark" + i]._x = -950; _root.ground["spark" + i]._y = _y; _root.ground["spark" + i]._rotation = 180; _x = -930; x = x * -0.5; } if (_y < -930) { i++; duplicateMovieClip (_root.ground.spark, "spark" + i, i); _root.ground["spark" + i]._x = _x; _root.ground["spark" + i]._y = -950; _root.ground["spark" + i]._rotation = 270; _y = -930; y = y * -0.5; } } del = del - 1; if ((firing == true) && (del < 1)) { shoot(); } } } onClipEvent (mouseDown) { firing = true; } onClipEvent (mouseUp) { firing = false; }
Instance of Symbol 359 MovieClip "powerup" in Symbol 470 MovieClip Frame 1
onClipEvent (load) { if (_name != "powerup") { time = 0; gotoAndStop(random(3) + 1); if ((_currentframe == 2) && (_root.ground.character.l > (_root.countDown.level + 1))) { gotoAndStop (3); } if (_currentframe == 1) { gotoAndStop (3); } } } onClipEvent (enterFrame) { tar = eval ("_root.ground." + _root.ground.character); dist = Math.sqrt(((_x - tar._x) * (_x - tar._x)) + ((_y - tar._y) * (_y - tar._y))); if (dist < 30) { if (_currentframe == 1) { _root.sfx.gotoAndPlay(12); _root.ground.character.health = _root.ground.character.health + 25; if (_root.ground.character.health > 100) { _root.ground.character.health = 100; } removeMovieClip(""); } else if (_currentframe == 2) { _root.sfx.gotoAndPlay(14); _root.ground.character.l = _root.ground.character.l + 1; removeMovieClip(""); } else if (_currentframe == 3) { _root.sfx.gotoAndPlay(16); _root.ground.character.i++; duplicateMovieClip (_root.ground.explosion, "spark" + _root.ground.character.i, _root.ground.character.i); _root.ground["spark" + _root.ground.character.i]._x = _x; _root.ground["spark" + _root.ground.character.i]._y = _y; _root.ground["spark" + _root.ground.character.i]._xscale = 300; _root.ground["spark" + _root.ground.character.i]._yscale = 300; _root.ground["spark" + _root.ground.character.i]._rotation = _rotation - 90; m = 0; while (m < (_root.ground.character.targets.length + 1)) { tar = eval ("_root.ground." + _root.ground.character.targets[m]); dist = Math.sqrt(((_x - tar._x) * (_x - tar._x)) + ((_y - tar._y) * (_y - tar._y))); if (dist < 200) { tar.health = tar.health - 3; } m++; } _root.ground.modifier = 60; _root.ground.yModifier = 60; removeMovieClip(""); } } }
Instance of Symbol 210 MovieClip "meh" in Symbol 474 MovieClip Frame 1
onClipEvent (load) { myBitmap = new flash.display.BitmapData(1162.8, 1161.8, true, 16777215); this.createEmptyMovieClip("bg", -1); bg.attachBitmap(myBitmap, -1); myBitmap.draw(_parent.flr); _parent.flr.swapDepths(1005); _parent.flr.removeMovieClip(""); }
Instance of Symbol 290 MovieClip "spark" in Symbol 474 MovieClip Frame 1
onClipEvent (load) { if (_name != "spark") { play(); } else { stop(); } }
Instance of Symbol 307 MovieClip "bullet" in Symbol 474 MovieClip Frame 1
onClipEvent (load) { if (_name != "bullet") { if (enemyBullet != true) { l = _root.ground.character.l; if ((((l == 3) || (l == 6)) || (l == 9)) || (l == 12)) { maxTime = 10; } else if ((((l == 2) || (l == 5)) || (l == 8)) || (l == 11)) { maxTime = 15; } else if ((((l == 1) || (l == 4)) || (l == 7)) || (l == 10)) { maxTime = 20; } } rot = _rotation + 180; speed = -20; time = 0; x = Math.sin(rot * (Math.PI/180)) * speed; y = (Math.cos(rot * (Math.PI/180)) * speed) * -1; _x = (_x + (x * 2)); _y = (_y + (y * 2)); _alpha = 100; h = 0; r = false; mH = 1; l = _root.ground.character.l; if ((l > 3) && (l < 7)) { mH = 2; } else if ((l > 6) && (l < 10)) { mH = 3; } else if ((l > 9) && (l < 13)) { mH = 10000; r = true; } } } onClipEvent (enterFrame) { if (_root.pause == false) { if (_name != "bullet") { time = time + 1; if (time > maxTime) { _alpha = (_alpha - 30); } if (_alpha < 1) { removeMovieClip(""); } if (enemyBullet == true) { if (_currentframe == 2) { _x = (_x + (x / 2)); _y = (_y + (y / 2)); tar = _root.ground.character; dist = Math.sqrt(((_x - tar._x) * (_x - tar._x)) + ((_y - tar._y) * (_y - tar._y))); if (dist < 30) { _root.ground.character.i++; duplicateMovieClip (_root.ground.spark, "spark" + _root.ground.character.i, _root.ground.character.i); _root.ground["spark" + _root.ground.character.i]._x = _x; _root.ground["spark" + _root.ground.character.i]._y = _y; _root.ground["spark" + _root.ground.character.i]._rotation = _rotation - 90; _root.ground.character.i++; duplicateMovieClip (_root.ground.stuff.burn, "spark" + _root.ground.character.i, _root.ground.character.i); _root.ground.stuff["spark" + _root.ground.character.i]._x = _x - _root.ground.stuff._x; _root.ground.stuff["spark" + _root.ground.character.i]._y = _y - _root.ground.stuff._y; _root.ground.stuff["spark" + _root.ground.character.i]._rotation = random(360); _root.ground.stuff["spark" + _root.ground.character.i].gotoAndStop(random(7) + 1); _root.ground.stuff["spark" + _root.ground.character.i]._xscale = random(100) + 100; _root.ground.stuff["spark" + _root.ground.character.i]._yscale = _root.ground.stuff["spark" + _root.ground.character.i]._xscale; _root.ground.meh.myBitmap.draw(_root.ground.stuff); _root.ground.stuff["spark" + _root.ground.character.i].removeMovieClip(""); tar.health = tar.health - 1; _root.sfx.gotoAndPlay((random(3) + 9) * 2); _root.ground.modifier = random(20) - 10; _root.ground.yModifier = random(20) - 10; removeMovieClip(""); } } else if (_currentframe == 3) { _x = (_x + x); _y = (_y + y); x = x * 0.9; y = y * 0.9; if ((x < 0.5) && (y < 0.5)) { dist = Math.sqrt(((_x - tar._x) * (_x - tar._x)) + ((_y - tar._y) * (_y - tar._y))); if (dist < 100) { _root.character.health = _root.character.health - 1; _root.ground.modifier = random(20) - 10; _root.ground.yModifier = random(20) - 10; } else if (dist < 30) { _root.ground.modifier = random(40) - 20; _root.ground.yModifier = random(40) - 20; _root.ground.character.i++; duplicateMovieClip (_root.ground.explosion, "spark" + _root.ground.character.i, _root.ground.character.i); _root.ground["spark" + _root.ground.character.i]._x = _x; _root.ground["spark" + _root.ground.character.i]._y = _y; _root.ground["spark" + _root.ground.character.i]._rotation = _rotation - 90; _root.ground.character.i++; duplicateMovieClip (_root.ground.stuff.burn, "spark" + _root.ground.character.i, _root.ground.character.i); _root.ground.stuff["spark" + _root.ground.character.i]._x = _x - _root.ground.stuff._x; _root.ground.stuff["spark" + _root.ground.character.i]._y = _y - _root.ground.stuff._y; _root.ground.stuff["spark" + _root.ground.character.i]._rotation = random(360); _root.ground.stuff["spark" + _root.ground.character.i].gotoAndStop(random(7) + 1); _root.ground.stuff["spark" + _root.ground.character.i]._xscale = random(100) + 100; _root.ground.stuff["spark" + _root.ground.character.i]._yscale = _root.ground.stuff["spark" + _root.ground.character.i]._xscale; _root.ground.meh.myBitmap.draw(_root.ground.stuff); _root.ground.stuff["spark" + _root.ground.character.i].removeMovieClip(""); tar.health = tar.health - 5; removeMovieClip(""); } _root.ground.character.i++; duplicateMovieClip (_root.ground.explosion, "spark" + _root.ground.character.i, _root.ground.character.i); _root.ground["spark" + _root.ground.character.i]._x = _x; _root.ground["spark" + _root.ground.character.i]._y = _y; _root.ground["spark" + _root.ground.character.i]._rotation = _rotation - 90; _root.ground.character.i++; duplicateMovieClip (_root.ground.stuff.burn, "spark" + _root.ground.character.i, _root.ground.character.i); _root.ground.stuff["spark" + _root.ground.character.i]._x = _x - _root.ground.stuff._x; _root.ground.stuff["spark" + _root.ground.character.i]._y = _y - _root.ground.stuff._y; _root.ground.stuff["spark" + _root.ground.character.i]._rotation = random(360); _root.ground.stuff["spark" + _root.ground.character.i].gotoAndStop(random(7) + 1); _root.ground.stuff["spark" + _root.ground.character.i]._xscale = random(100) + 100; _root.ground.stuff["spark" + _root.ground.character.i]._yscale = _root.ground.stuff["spark" + _root.ground.character.i]._xscale; _root.ground.meh.myBitmap.draw(_root.ground.stuff); _root.ground.stuff["spark" + _root.ground.character.i].removeMovieClip(""); removeMovieClip(""); } tar = _root.ground.character; dist = Math.sqrt(((_x - tar._x) * (_x - tar._x)) + ((_y - tar._y) * (_y - tar._y))); if (dist < 30) { _root.ground.modifier = random(40) - 20; _root.ground.yModifier = random(40) - 20; _root.ground.character.i++; duplicateMovieClip (_root.ground.explosion, "spark" + _root.ground.character.i, _root.ground.character.i); _root.ground["spark" + _root.ground.character.i]._x = _x; _root.ground["spark" + _root.ground.character.i]._y = _y; _root.ground["spark" + _root.ground.character.i]._rotation = _rotation - 90; _root.ground.character.i++; duplicateMovieClip (_root.ground.stuff.burn, "spark" + _root.ground.character.i, _root.ground.character.i); _root.ground.stuff["spark" + _root.ground.character.i]._x = _x - _root.ground.stuff._x; _root.ground.stuff["spark" + _root.ground.character.i]._y = _y - _root.ground.stuff._y; _root.ground.stuff["spark" + _root.ground.character.i]._rotation = random(360); _root.ground.stuff["spark" + _root.ground.character.i].gotoAndStop(random(7) + 1); _root.ground.stuff["spark" + _root.ground.character.i]._xscale = random(100) + 100; _root.ground.stuff["spark" + _root.ground.character.i]._yscale = _root.ground.stuff["spark" + _root.ground.character.i]._xscale; _root.ground.meh.myBitmap.draw(_root.ground.stuff); _root.ground.stuff["spark" + _root.ground.character.i].removeMovieClip(""); tar.health = tar.health - 5; removeMovieClip(""); } } } else { _x = (_x + x); _y = (_y + y); if (nf == true) { _root.ground.character.i++; duplicateMovieClip (_root.ground.explosion, "spark" + _root.ground.character.i, _root.ground.character.i); _root.ground["spark" + _root.ground.character.i]._x = _x; _root.ground["spark" + _root.ground.character.i]._y = _y; _root.ground["spark" + _root.ground.character.i]._rotation = _rotation - 90; m = 0; while (m < (_root.ground.character.targets.length + 1)) { tar = eval ("_root.ground." + _root.ground.character.targets[m]); dist = Math.sqrt(((_x - tar._x) * (_x - tar._x)) + ((_y - tar._y) * (_y - tar._y))); if (dist < 60) { tar.health = tar.health - 3; } m++; } removeMovieClip(""); } m = 0; while (m < (_root.ground.character.targets.length + 1)) { tar = eval ("_root.ground." + _root.ground.character.targets[m]); dist = Math.sqrt(((_x - tar._x) * (_x - tar._x)) + ((_y - tar._y) * (_y - tar._y))); if (dist < 20) { _root.ground.character.targets.slice(m); _root.ground.character.i++; duplicateMovieClip (_root.ground.spark, "spark" + _root.ground.character.i, _root.ground.character.i); _root.ground["spark" + _root.ground.character.i]._x = _x; _root.ground["spark" + _root.ground.character.i]._y = _y; _root.ground["spark" + _root.ground.character.i]._rotation = _rotation - 90; _root.ground.character.i++; duplicateMovieClip (_root.ground.stuff.burn, "spark" + _root.ground.character.i, _root.ground.character.i); _root.ground.stuff["spark" + _root.ground.character.i]._x = _x - _root.ground.stuff._x; _root.ground.stuff["spark" + _root.ground.character.i]._y = _y - _root.ground.stuff._y; _root.ground.stuff["spark" + _root.ground.character.i]._rotation = random(360); _root.ground.stuff["spark" + _root.ground.character.i].gotoAndStop(random(7) + 1); _root.ground.stuff["spark" + _root.ground.character.i]._xscale = random(100) + 100; _root.ground.stuff["spark" + _root.ground.character.i]._yscale = _root.ground.stuff["spark" + _root.ground.character.i]._xscale; _root.ground.meh.myBitmap.draw(_root.ground.stuff); _root.ground.stuff["spark" + _root.ground.character.i].removeMovieClip(""); h = h + 1; tar.health = tar.health - 1; if (h > mH) { removeMovieClip(""); } } if ((r == true) && (h > 0)) { nf = true; } m++; } } if ((((_y < -950) || (_x < -950)) || (_x > 117)) || (_y > 112)) { _root.ground.character.i++; duplicateMovieClip (_root.ground.spark, "spark" + _root.ground.character.i, _root.ground.character.i); _root.ground["spark" + _root.ground.character.i]._x = _x; _root.ground["spark" + _root.ground.character.i]._y = _y; _root.ground["spark" + _root.ground.character.i]._rotation = _rotation - 90; _root.ground.character.i++; duplicateMovieClip (_root.ground.stuff.burn, "spark" + _root.ground.character.i, _root.ground.character.i); _root.ground.stuff["spark" + _root.ground.character.i]._x = _x - _root.ground.stuff._x; _root.ground.stuff["spark" + _root.ground.character.i]._y = _y - _root.ground.stuff._y; _root.ground.stuff["spark" + _root.ground.character.i]._rotation = random(360); _root.ground.stuff["spark" + _root.ground.character.i].gotoAndStop(random(7) + 1); _root.ground.stuff["spark" + _root.ground.character.i]._xscale = random(100) + 100; _root.ground.stuff["spark" + _root.ground.character.i]._yscale = _root.ground.stuff["spark" + _root.ground.character.i]._xscale; _root.ground.meh.myBitmap.draw(_root.ground.stuff); _root.ground.stuff["spark" + _root.ground.character.i].removeMovieClip(""); removeMovieClip(""); } } } }
Instance of Symbol 342 MovieClip "dup" in Symbol 474 MovieClip Frame 1
onClipEvent (load) { if (_name != "dup") { chance = random(5); if (chance == 1) { gotoAndStop (22); } else if (chance == 2) { gotoAndStop (64); } else if (chance == 3) { gotoAndStop (85); } else if (chance == 4) { chance2 = random(100) + 1; if (chance2 == 1) { gotoAndStop (148); } } else { gotoAndStop (1); } stFra = _currentframe; cacheAsBitmap = true; health = 3; fraEvent = 29; rotChange = random(20); maxSpeed = random(3) + 2; if (_y < -950) { _y = -950; } if (_x < -950) { _x = -950; } if (_y > 117) { _y = 117; } if (_x > 117) { _x = 117; } } else { z = 90; enemyCount = 0; xSpawn = new Array(-655, -169, 137, 137, -172, -655, -977, -977); ySpawn = new Array(-970, -970, -636, -167, 144, 144, -164, -636); spNum = 0; } } onClipEvent (enterFrame) { if (_root.pause == false) { if (_name != "dup") { if (done != true) { _name = ("enemy" + _parent.dup.z); _root.ground.character.targets.push(_name); done = true; } if (_currentframe == stFra) { fraEvent = fraEvent + 1; if (_currentframe == 1) { if (fraEvent == 30) { shootChance = random(5) + 1; myRadians = Math.atan2(_root.ground.character._y - this._y, _root.ground.character._x - this._x); myDegrees = Math.round((myRadians * 180) / Math.PI); _rotation = (myDegrees + 90); dist = Math.sqrt(((_x - _root.ground.character._x) * (_x - _root.ground.character._x)) + ((_y - _root.ground.character._y) * (_y - _root.ground.character._y))); if (Math.abs(dist) < 120) { speed = 0; } else if (dist > 300) { rot = ((_rotation - 90) * Math.PI) / 180; speed = maxSpeed; } else { speed = maxSpeed; rot = ((_rotation - rotChange) * Math.PI) / 180; } xV = Math.cos(rot) * speed; yV = Math.sin(rot) * speed; fraEvent = 0; if (shootChance == 1) { _root.ground.character.i++; duplicateMovieClip (_root.ground.bullet, "bullet" + _root.ground.character.i, _root.ground.character.i); _root.ground["bullet" + _root.ground.character.i]._x = _x; _root.ground["bullet" + _root.ground.character.i]._y = _y; _root.ground["bullet" + _root.ground.character.i]._rotation = _rotation; _root.ground["bullet" + _root.ground.character.i].enemyBullet = true; _root.ground["bullet" + _root.ground.character.i].gotoAndStop(2); } } } else if ((_currentframe == 22) || (_currentframe == 85)) { if (fraEvent == 30) { shootChance = 0; myRadians = Math.atan2(_root.ground.character._y - this._y, _root.ground.character._x - this._x); myDegrees = Math.round((myRadians * 180) / Math.PI); _rotation = (myDegrees + 90); dist = Math.sqrt(((_x - _root.ground.character._x) * (_x - _root.ground.character._x)) + ((_y - _root.ground.character._y) * (_y - _root.ground.character._y))); if (Math.abs(dist) < 60) { speed = 0; if (_currentframe == 22) { shootChance = random(2); } else { shootChance = 1; } } else { rot = ((_rotation - 90) * Math.PI) / 180; speed = maxSpeed; } xV = Math.cos(rot) * speed; yV = Math.sin(rot) * speed; fraEvent = 0; if (shootChance == 1) { if (_currentframe == 22) { _root.ground.character.i++; duplicateMovieClip (_root.ground.spark, "spark" + _root.ground.character.i, _root.ground.character.i); _root.ground["spark" + _root.ground.character.i]._x = _x; _root.ground["spark" + _root.ground.character.i]._y = _y; _root.ground["spark" + _root.ground.character.i]._rotation = _rotation - 90; _root.ground.character.i++; duplicateMovieClip (_root.ground.spark, "spark" + _root.ground.character.i, _root.ground.character.i); _root.ground["spark" + _root.ground.character.i]._x = _x; _root.ground["spark" + _root.ground.character.i]._y = _y; _root.ground["spark" + _root.ground.character.i]._rotation = _rotation - 90; _root.ground.modifier = random(20) - 10; _root.ground.yModifier = random(20) - 10; _root.sfx.gotoAndPlay((random(3) + 9) * 2); _root.ground.character.health = _root.ground.character.health - 1; } else { play(); _root.ground.character.health = _root.ground.character.health - 5; _root.ground.modifier = random(20) - 10; _root.ground.yModifier = random(20) - 10; } } } } else if (_currentframe == 43) { if (fraEvent == 30) { shootChance = random(5) + 1; myRadians = Math.atan2(_root.ground.character._y - this._y, _root.ground.character._x - this._x); myDegrees = Math.round((myRadians * 180) / Math.PI); _rotation = (myDegrees + 90); dist = Math.sqrt(((_x - _root.ground.character._x) * (_x - _root.ground.character._x)) + ((_y - _root.ground.character._y) * (_y - _root.ground.character._y))); if (Math.abs(dist) < 120) { speed = 0; } else if (dist > 300) { rot = ((_rotation - 90) * Math.PI) / 180; speed = maxSpeed; } else { speed = maxSpeed; rot = ((_rotation - rotChange) * Math.PI) / 180; } xV = Math.cos(rot) * speed; yV = Math.sin(rot) * speed; fraEvent = 0; if (shootChance == 1) { _root.ground.character.i++; duplicateMovieClip (_root.ground.bullet, "bullet" + _root.ground.character.i, _root.ground.character.i); _root.ground["bullet" + _root.ground.character.i]._x = _x; _root.ground["bullet" + _root.ground.character.i]._y = _y; _root.ground["bullet" + _root.ground.character.i]._rotation = _rotation; _root.ground["bullet" + _root.ground.character.i].enemyBullet = true; _root.ground["bullet" + _root.ground.character.i].gotoAndStop(2); } } } else if (_currentframe == 64) { if (fraEvent == 30) { shootChance = random(5) + 1; myRadians = Math.atan2(_root.ground.character._y - this._y, _root.ground.character._x - this._x); myDegrees = Math.round((myRadians * 180) / Math.PI); _rotation = (myDegrees + 90); dist = Math.sqrt(((_x - _root.ground.character._x) * (_x - _root.ground.character._x)) + ((_y - _root.ground.character._y) * (_y - _root.ground.character._y))); if (Math.abs(dist) < 120) { speed = 0; } else if (dist > 300) { rot = ((_rotation - 90) * Math.PI) / 180; speed = maxSpeed; } else { speed = maxSpeed; rot = ((_rotation - rotChange) * Math.PI) / 180; } xV = Math.cos(rot) * speed; yV = Math.sin(rot) * speed; fraEvent = 0; if (shootChance == 1) { _root.ground.character.i++; duplicateMovieClip (_root.ground.bullet, "bullet" + _root.ground.character.i, _root.ground.character.i); _root.ground["bullet" + _root.ground.character.i]._x = _x; _root.ground["bullet" + _root.ground.character.i]._y = _y; _root.ground["bullet" + _root.ground.character.i]._rotation = _rotation; _root.ground["bullet" + _root.ground.character.i].enemyBullet = true; _root.ground["bullet" + _root.ground.character.i].gotoAndStop(3); } } } else if (_currentframe == 106) { if (redDone != true) { redArr = new Array(); n = 0; while (n < 3) { _root.ground.dup.z++; if (_root.ground.dup.z > 100) { _root.ground.dup.z = 2; } duplicateMovieClip (_parent.dup, "enemy" + _root.ground.dup.z, _root.ground.dup.z); _parent["enemy" + _root.ground.dup.z]._x = _x; _parent["enemy" + _root.ground.dup.z]._y = _y; _parent["enemy" + _root.ground.dup.z].gotoAndStop(127); if (n == 0) { _parent["enemy" + _root.ground.dup.z].rot = 180; } else if (n == 1) { _parent["enemy" + _root.ground.dup.z].rot = -60; } else if (n == 2) { _parent["enemy" + _root.ground.dup.z].rot = 60; } _parent["enemy" + _root.ground.dup.z].t = eval ("_root.ground." + _name); redArr.push(eval (_root.ground["enemy" + _root.ground.dup.z])); spNum = spNum + 1; if (spNum > 7) { spNum = 0; } enemyCount = enemyCount + 1; n++; } fraEvent = 9; redDone = true; } v = 0; while (v < 3) { tgt = redArr[v]; if (tgt.health > 0) { health = 150; } v++; } shootChance = random(100) + 1; myRadians = Math.atan2(_root.ground.character._y - this._y, _root.ground.character._x - this._x); myDegrees = Math.round((myRadians * 180) / Math.PI); _rotation = (myDegrees + 90); dist = Math.sqrt(((_x - _root.ground.character._x) * (_x - _root.ground.character._x)) + ((_y - _root.ground.character._y) * (_y - _root.ground.character._y))); if (Math.abs(dist) < 120) { speed = 0; } else if (dist > 300) { rot = ((_rotation - 90) * Math.PI) / 180; speed = maxSpeed; } else { speed = maxSpeed; rot = ((_rotation - rotChange) * Math.PI) / 180; } xV = Math.cos(rot) * speed; yV = Math.sin(rot) * speed; fraEvent = 0; if (shootChance == 1) { _root.ground.character.i++; duplicateMovieClip (_root.ground.bullet, "bullet" + _root.ground.character.i, _root.ground.character.i); _root.ground["bullet" + _root.ground.character.i]._x = _x; _root.ground["bullet" + _root.ground.character.i]._y = _y; _root.ground["bullet" + _root.ground.character.i]._rotation = _rotation; _root.ground["bullet" + _root.ground.character.i].enemyBullet = true; _root.ground["bullet" + _root.ground.character.i].gotoAndStop(3); } else if (shootChance == 50) { if (_root.ground.dup.enemyCount < 5) { _root.ground.dup.z++; if (_root.ground.dup.z > 100) { _root.ground.dup.z = 2; } duplicateMovieClip (_parent.dup, "en", _root.ground.dup.z); sd = 60; xds = Math.sin(_rotation * (Math.PI/180)) * sd; yds = (Math.cos(_rotation * (Math.PI/180)) * sd) * -1; _parent.en._x = _x + xds; _parent.en._y = _y + yds; _parent.en.gotoAndStop(85); _root.ground.dup.enemyCount = _root.ground.dup.enemyCount + 1; } } } else if (_currentframe == 127) { shootChance = random(40) + 1; sd = 100; xds = Math.sin(rot * (Math.PI/180)) * sd; yds = (Math.cos(rot * (Math.PI/180)) * sd) * -1; _rotation = t._rotation; _x = (t._x + xds); _y = (t._y + yds); if (shootChance == 1) { _root.ground.character.i++; duplicateMovieClip (_root.ground.bullet, "bullet" + _root.ground.character.i, _root.ground.character.i); _root.ground["bullet" + _root.ground.character.i]._x = _x; _root.ground["bullet" + _root.ground.character.i]._y = _y; _root.ground["bullet" + _root.ground.character.i]._rotation = _rotation; _root.ground["bullet" + _root.ground.character.i].enemyBullet = true; _root.ground["bullet" + _root.ground.character.i].gotoAndStop(2); } } else if (_currentframe == 148) { if (fraEvent == 30) { shootChance = random(5) + 1; myRadians = Math.atan2(_root.ground.character._y - this._y, _root.ground.character._x - this._x); myDegrees = Math.round((myRadians * 180) / Math.PI); tur._rotation = myDegrees + 90; dist = Math.sqrt(((_x - _root.ground.character._x) * (_x - _root.ground.character._x)) + ((_y - _root.ground.character._y) * (_y - _root.ground.character._y))); if (Math.abs(dist) < 120) { speed = 0; } else if (dist > 300) { rot = ((tur._rotation - 90) * Math.PI) / 180; speed = maxSpeed; } else { speed = maxSpeed; rot = ((tur._rotation - rotChange) * Math.PI) / 180; } xV = Math.cos(rot) * speed; yV = Math.sin(rot) * speed; fraEvent = 0; if (shootChance == 1) { _root.ground.character.i++; duplicateMovieClip (_root.ground.bullet, "bullet" + _root.ground.character.i, _root.ground.character.i); _root.ground["bullet" + _root.ground.character.i]._x = _x; _root.ground["bullet" + _root.ground.character.i]._y = _y; _root.ground["bullet" + _root.ground.character.i]._rotation = tur._rotation; _root.ground["bullet" + _root.ground.character.i].enemyBullet = true; _root.ground["bullet" + _root.ground.character.i].gotoAndStop(2); } } } else if (_currentframe == 158) { if (fraEvent == 30) { shootChance = random(5) + 1; myRadians = Math.atan2(_root.ground.character._y - this._y, _root.ground.character._x - this._x); myDegrees = Math.round((myRadians * 180) / Math.PI); tur._rotation = myDegrees + 90; dist = Math.sqrt(((_x - _root.ground.character._x) * (_x - _root.ground.character._x)) + ((_y - _root.ground.character._y) * (_y - _root.ground.character._y))); if (Math.abs(dist) < 120) { speed = 0; } else if (dist > 300) { rot = ((tur._rotation - 90) * Math.PI) / 180; speed = maxSpeed; } else { speed = maxSpeed; rot = ((tur._rotation - rotChange) * Math.PI) / 180; } xV = Math.cos(rot) * speed; yV = Math.sin(rot) * speed; fraEvent = 0; if (shootChance == 1) { _root.ground.character.i++; duplicateMovieClip (_root.ground.bullet, "bullet" + _root.ground.character.i, _root.ground.character.i); _root.ground["bullet" + _root.ground.character.i]._x = _x; _root.ground["bullet" + _root.ground.character.i]._y = _y; _root.ground["bullet" + _root.ground.character.i]._rotation = tur._rotation; _root.ground["bullet" + _root.ground.character.i].enemyBullet = true; _root.ground["bullet" + _root.ground.character.i].gotoAndStop(2); } } } else if (_currentframe == 168) { if (fraEvent == 30) { shootChance = random(5) + 1; myRadians = Math.atan2(_root.ground.character._y - this._y, _root.ground.character._x - this._x); myDegrees = Math.round((myRadians * 180) / Math.PI); tur._rotation = myDegrees + 90; dist = Math.sqrt(((_x - _root.ground.character._x) * (_x - _root.ground.character._x)) + ((_y - _root.ground.character._y) * (_y - _root.ground.character._y))); if (Math.abs(dist) < 120) { speed = 0; } else if (dist > 300) { rot = ((tur._rotation - 90) * Math.PI) / 180; speed = maxSpeed; } else { speed = maxSpeed; rot = ((tur._rotation - rotChange) * Math.PI) / 180; } xV = Math.cos(rot) * speed; yV = Math.sin(rot) * speed; fraEvent = 0; if (shootChance == 1) { _root.ground.character.i++; duplicateMovieClip (_root.ground.bullet, "bullet" + _root.ground.character.i, _root.ground.character.i); _root.ground["bullet" + _root.ground.character.i]._x = _x; _root.ground["bullet" + _root.ground.character.i]._y = _y; _root.ground["bullet" + _root.ground.character.i]._rotation = tur._rotation; _root.ground["bullet" + _root.ground.character.i].enemyBullet = true; _root.ground["bullet" + _root.ground.character.i].gotoAndStop(2); } } } _x = (_x + xV); _y = (_y + yV); if (_currentframe == 148) { if ((_y < -840) || (_y > 5)) { _y = (_y - yV); } if ((_x < -840) || (_x > 5)) { _x = (_x - xV); } } else { if ((_y < -950) || (_y > 117)) { _y = (_y - yV); } if ((_x < -950) || (_x > 117)) { _x = (_x - xV); } } if (health < 1) { play(); } } else if (done2 != true) { a = 0; while (a < _root.ground.character.targets.length) { if (_root.ground.character.targets[a] == _name) { _root.ground.character.targets.splice(a, 1); itemChance = random(20) + 1; if (itemChance == 1) { _root.ground.character.i++; duplicateMovieClip (_root.ground.powerup, "powerup" + _root.ground.character.i, _root.ground.character.i); _root.ground["powerup" + _root.ground.character.i]._x = _x; _root.ground["powerup" + _root.ground.character.i]._y = _y; } a = 1000; _name = ""; _root.k = _root.k + _root.multiplier; } a++; } done2 = true; } } else if (((enemyCount < 20) && (_root.countDown.alTimer == 120)) && (_root.countDown.inBetweenTimer == 0)) { z++; if (z > 100) { z = 2; } duplicateMovieClip (_parent.dup, "en", z); _parent.en._x = xSpawn[spNum]; _parent.en._y = ySpawn[spNum]; spNum = spNum + 1; if (spNum > 7) { spNum = 0; } enemyCount = enemyCount + 1; } } }
Instance of Symbol 329 MovieClip "explosion" in Symbol 474 MovieClip Frame 1
onClipEvent (load) { if (_name == "explosion") { stop(); } else { _root.sfx.gotoAndPlay((random(4) + 2) * 2); } }
Instance of Symbol 365 MovieClip "character" in Symbol 474 MovieClip Frame 1
onClipEvent (load) { function shoot() { del = 3; if (l <= 6) { if (l == 1) { i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = _rotation - 90; } else if (l == 2) { i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = (_rotation - 90) + 10; i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = (_rotation - 90) - 10; } else if (l == 3) { i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = _rotation - 90; i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = ((_rotation - 90) + random(40)) - 20; i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = ((_rotation - 90) + random(40)) - 20; } else if (l == 4) { i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = _rotation - 90; _root.ground["bullet" + i].gotoAndStop(4); } else if (l == 5) { i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = (_rotation - 90) - 10; _root.ground["bullet" + i].gotoAndStop(4); i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = (_rotation - 90) + 10; _root.ground["bullet" + i].gotoAndStop(4); } else if (l == 6) { i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = _rotation - 90; _root.ground["bullet" + i].gotoAndStop(4); i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = ((_rotation - 90) + random(40)) - 20; _root.ground["bullet" + i].gotoAndStop(4); i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = ((_rotation - 90) + random(40)) - 20; _root.ground["bullet" + i].gotoAndStop(4); } } else if (l == 7) { i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = _rotation - 90; _root.ground["bullet" + i].gotoAndStop(5); } else if (l == 8) { i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = (_rotation - 90) + 10; _root.ground["bullet" + i].gotoAndStop(5); i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = (_rotation - 90) - 10; _root.ground["bullet" + i].gotoAndStop(5); } else if (l == 9) { i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = _rotation - 90; _root.ground["bullet" + i].gotoAndStop(5); i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = ((_rotation - 90) + random(40)) - 20; _root.ground["bullet" + i].gotoAndStop(5); i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = ((_rotation - 90) + random(40)) - 20; _root.ground["bullet" + i].gotoAndStop(5); } else if (l == 10) { i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = _rotation - 90; _root.ground["bullet" + i].gotoAndStop(6); } else if (l == 11) { i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = (_rotation - 90) + 10; _root.ground["bullet" + i].gotoAndStop(6); i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = (_rotation - 90) - 10; _root.ground["bullet" + i].gotoAndStop(6); } else if (l == 12) { i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = _rotation - 90; _root.ground["bullet" + i].gotoAndStop(6); i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = ((_rotation - 90) + random(40)) - 20; _root.ground["bullet" + i].gotoAndStop(6); i++; duplicateMovieClip (_root.ground.bullet, "bullet" + i, i); _root.ground["bullet" + i]._x = _x; _root.ground["bullet" + i]._y = _y; _root.ground["bullet" + i]._rotation = ((_rotation - 90) + random(40)) - 20; _root.ground["bullet" + i].gotoAndStop(6); } _root.sfx.gotoAndPlay(2); } l = 1; del = 0; swapDepths(1000); x = 0; i = 125; maxSpeed = 30; decel = 0.2; y = 0; modifier = 0; yModifier = 0; targets = new Array(a); health = 100; } onClipEvent (enterFrame) { if (l > 12) { l = 12; } _root.kill = _root.k / _root.multiplier; _root.wpn = "Weapon Lv: " + l; if (_root.pause == false) { if (i > 500) { i = 125; } myRadians = Math.atan2(_root._ymouse - (this._y + _root.ground._y), _root._xmouse - (this._x + _root.ground._x)); myDegrees = Math.round((myRadians * 180) / Math.PI); _rotation = (myDegrees + 180); rot = _rotation; if (Key.isDown(65) || (Key.isDown(37))) { if (x < maxSpeed) { x = x + 1; } } else if (Key.isDown(68) || (Key.isDown(39))) { if (x > (-maxSpeed)) { x = x - 1; } } else { if (x > 0) { x = x - decel; } if (x < 0) { x = x + decel; } if (Math.abs(x) < decel) { x = 0; } } if (Key.isDown(83) || (Key.isDown(40))) { if (y < maxSpeed) { y = y + 1; } } else if (Key.isDown(87) || (Key.isDown(38))) { if (y > (-maxSpeed)) { y = y - 1; } } else { if (y > 0) { y = y - decel; } if (y < 0) { y = y + decel; } if (Math.abs(y) < decel) { y = 0; } } _x = (_x - x); _y = (_y + y); if (_root.countDown.level == 4) { if (_x > 75) { _root.ground.modifier = random(40) - 20; _root.ground.yModifier = random(40) - 20; i++; duplicateMovieClip (_root.ground.explosion, "spark" + i, i); _root.ground["spark" + i]._x = _x; _root.ground["spark" + i]._y = _y; _root.ground["spark" + i]._rotation = _rotation - 90; i++; duplicateMovieClip (_root.ground.stuff.burn, "spark" + i, i); _root.ground.stuff["spark" + i]._x = _x - _root.ground.stuff._x; _root.ground.stuff["spark" + i]._y = _y - _root.ground.stuff._y; _root.ground.stuff["spark" + i]._rotation = random(360); _root.ground.stuff["spark" + i].gotoAndStop(random(7) + 1); _root.ground.stuff["spark" + i]._xscale = random(100) + 100; _root.ground.stuff["spark" + i]._yscale = _root.ground.stuff["spark" + i]._xscale; _root.ground.meh.myBitmap.draw(_root.ground.stuff); _root.ground.stuff["spark" + i].removeMovieClip(""); health = health - 2; _x = 75; x = x * -1.3; if (Math.abs(x) > maxSpeed) { if (x > 0) { x = maxSpeed; } else { x = -maxSpeed; } } } if (_y > 75) { _root.ground.modifier = random(40) - 20; _root.ground.yModifier = random(40) - 20; i++; duplicateMovieClip (_root.ground.explosion, "spark" + i, i); _root.ground["spark" + i]._x = _x; _root.ground["spark" + i]._y = _y; _root.ground["spark" + i]._rotation = _rotation - 90; i++; duplicateMovieClip (_root.ground.stuff.burn, "spark" + i, i); _root.ground.stuff["spark" + i]._x = _x - _root.ground.stuff._x; _root.ground.stuff["spark" + i]._y = _y - _root.ground.stuff._y; _root.ground.stuff["spark" + i]._rotation = random(360); _root.ground.stuff["spark" + i].gotoAndStop(random(7) + 1); _root.ground.stuff["spark" + i]._xscale = random(100) + 100; _root.ground.stuff["spark" + i]._yscale = _root.ground.stuff["spark" + i]._xscale; _root.ground.meh.myBitmap.draw(_root.ground.stuff); _root.ground.stuff["spark" + i].removeMovieClip(""); health = health - 2; _y = 75; y = y * -1.3; if (Math.abs(y) > maxSpeed) { if (y > 0) { y = maxSpeed; } else { y = -maxSpeed; } } } if (_x < -910) { _root.ground.modifier = random(40) - 20; _root.ground.yModifier = random(40) - 20; i++; duplicateMovieClip (_root.ground.explosion, "spark" + i, i); _root.ground["spark" + i]._x = _x; _root.ground["spark" + i]._y = _y; _root.ground["spark" + i]._rotation = _rotation - 90; i++; duplicateMovieClip (_root.ground.stuff.burn, "spark" + i, i); _root.ground.stuff["spark" + i]._x = _x - _root.ground.stuff._x; _root.ground.stuff["spark" + i]._y = _y - _root.ground.stuff._y; _root.ground.stuff["spark" + i]._rotation = random(360); _root.ground.stuff["spark" + i].gotoAndStop(random(7) + 1); _root.ground.stuff["spark" + i]._xscale = random(100) + 100; _root.ground.stuff["spark" + i]._yscale = _root.ground.stuff["spark" + i]._xscale; _root.ground.meh.myBitmap.draw(_root.ground.stuff); _root.ground.stuff["spark" + i].removeMovieClip(""); health = health - 2; _x = -910; x = x * -1.3; if (Math.abs(x) > maxSpeed) { if (x > 0) { x = maxSpeed; } else { x = -maxSpeed; } } } if (_y < -910) { _root.ground.modifier = random(40) - 20; _root.ground.yModifier = random(40) - 20; i++; duplicateMovieClip (_root.ground.explosion, "spark" + i, i); _root.ground["spark" + i]._x = _x; _root.ground["spark" + i]._y = _y; _root.ground["spark" + i]._rotation = _rotation - 90; i++; duplicateMovieClip (_root.ground.stuff.burn, "spark" + i, i); _root.ground.stuff["spark" + i]._x = _x - _root.ground.stuff._x; _root.ground.stuff["spark" + i]._y = _y - _root.ground.stuff._y; _root.ground.stuff["spark" + i]._rotation = random(360); _root.ground.stuff["spark" + i].gotoAndStop(random(7) + 1); _root.ground.stuff["spark" + i]._xscale = random(100) + 100; _root.ground.stuff["spark" + i]._yscale = _root.ground.stuff["spark" + i]._xscale; _root.ground.meh.myBitmap.draw(_root.ground.stuff); _root.ground.stuff["spark" + i].removeMovieClip(""); health = health - 2; _y = -910; y = y * -1.3; if (Math.abs(y) > maxSpeed) { if (y > 0) { y = maxSpeed; } else { y = -maxSpeed; } } } } else { if (_x > 95) { i++; duplicateMovieClip (_root.ground.spark, "spark" + i, i); _root.ground["spark" + i]._x = 117; _root.ground["spark" + i]._y = _y; _root.ground["spark" + i]._rotation = 0; _x = 95; x = x * -0.5; } if (_y > 95) { i++; duplicateMovieClip (_root.ground.spark, "spark" + i, i); _root.ground["spark" + i]._x = _x; _root.ground["spark" + i]._y = 117; _root.ground["spark" + i]._rotation = 90; _y = 95; y = y * -0.5; } if (_x < -930) { i++; duplicateMovieClip (_root.ground.spark, "spark" + i, i); _root.ground["spark" + i]._x = -950; _root.ground["spark" + i]._y = _y; _root.ground["spark" + i]._rotation = 180; _x = -930; x = x * -0.5; } if (_y < -930) { i++; duplicateMovieClip (_root.ground.spark, "spark" + i, i); _root.ground["spark" + i]._x = _x; _root.ground["spark" + i]._y = -950; _root.ground["spark" + i]._rotation = 270; _y = -930; y = y * -0.5; } } del = del - 1; if ((firing == true) && (del < 1)) { shoot(); } } } onClipEvent (mouseDown) { firing = true; } onClipEvent (mouseUp) { firing = false; }
Instance of Symbol 359 MovieClip "powerup" in Symbol 474 MovieClip Frame 1
onClipEvent (load) { if (_name != "powerup") { time = 0; gotoAndStop(random(3) + 1); if ((_currentframe == 2) && (_root.ground.character.l > (_root.countDown.level + 1))) { gotoAndStop (3); } if (_currentframe == 1) { gotoAndStop (3); } } } onClipEvent (enterFrame) { tar = eval ("_root.ground." + _root.ground.character); dist = Math.sqrt(((_x - tar._x) * (_x - tar._x)) + ((_y - tar._y) * (_y - tar._y))); if (dist < 30) { if (_currentframe == 1) { _root.sfx.gotoAndPlay(12); _root.ground.character.health = _root.ground.character.health + 25; if (_root.ground.character.health > 100) { _root.ground.character.health = 100; } removeMovieClip(""); } else if (_currentframe == 2) { _root.sfx.gotoAndPlay(14); _root.ground.character.l = _root.ground.character.l + 1; removeMovieClip(""); } else if (_currentframe == 3) { _root.sfx.gotoAndPlay(16); _root.ground.character.i++; duplicateMovieClip (_root.ground.explosion, "spark" + _root.ground.character.i, _root.ground.character.i); _root.ground["spark" + _root.ground.character.i]._x = _x; _root.ground["spark" + _root.ground.character.i]._y = _y; _root.ground["spark" + _root.ground.character.i]._xscale = 300; _root.ground["spark" + _root.ground.character.i]._yscale = 300; _root.ground["spark" + _root.ground.character.i]._rotation = _rotation - 90; m = 0; while (m < (_root.ground.character.targets.length + 1)) { tar = eval ("_root.ground." + _root.ground.character.targets[m]); dist = Math.sqrt(((_x - tar._x) * (_x - tar._x)) + ((_y - tar._y) * (_y - tar._y))); if (dist < 200) { tar.health = tar.health - 3; } m++; } _root.ground.modifier = 60; _root.ground.yModifier = 60; removeMovieClip(""); } } }

Library Items

Symbol 1 GraphicUsed by:Timeline
Symbol 2 GraphicUsed by:3
Symbol 3 MovieClipUses:2Used by:Timeline
Symbol 4 GraphicUsed by:5
Symbol 5 MovieClipUses:4Used by:20
Symbol 6 GraphicUsed by:7
Symbol 7 MovieClipUses:6Used by:20
Symbol 8 GraphicUsed by:9
Symbol 9 MovieClipUses:8Used by:20
Symbol 10 GraphicUsed by:11
Symbol 11 MovieClipUses:10Used by:20
Symbol 12 GraphicUsed by:13
Symbol 13 MovieClipUses:12Used by:20
Symbol 14 GraphicUsed by:15
Symbol 15 MovieClipUses:14Used by:20
Symbol 16 GraphicUsed by:17
Symbol 17 MovieClipUses:16Used by:20
Symbol 18 GraphicUsed by:19
Symbol 19 MovieClipUses:18Used by:20
Symbol 20 MovieClipUses:5 7 9 11 13 15 17 19Used by:37
Symbol 21 GraphicUsed by:25
Symbol 22 GraphicUsed by:23
Symbol 23 MovieClipUses:22Used by:25 53
Symbol 24 GraphicUsed by:25
Symbol 25 MovieClipUses:21 23 24Used by:37
Symbol 26 GraphicUsed by:36
Symbol 27 GraphicUsed by:33
Symbol 28 GraphicUsed by:33
Symbol 29 GraphicUsed by:30
Symbol 30 MovieClipUses:29Used by:31
Symbol 31 MovieClipUses:30Used by:33
Symbol 32 GraphicUsed by:33
Symbol 33 MovieClipUses:27 28 31 32Used by:36
Symbol 34 GraphicUsed by:36
Symbol 35 GraphicUsed by:36
Symbol 36 ButtonUses:26 33 34 35Used by:37
Symbol 37 MovieClipUses:20 25 36Used by:53
Symbol 38 GraphicUsed by:53
Symbol 39 GraphicUsed by:53 121
Symbol 40 GraphicUsed by:53 121
Symbol 41 SoundUsed by:53
Symbol 42 SoundUsed by:53
Symbol 43 GraphicUsed by:53
Symbol 44 GraphicUsed by:53
Symbol 45 GraphicUsed by:53
Symbol 46 SoundUsed by:53
Symbol 47 GraphicUsed by:53
Symbol 48 GraphicUsed by:53
Symbol 49 GraphicUsed by:52
Symbol 50 GraphicUsed by:52
Symbol 51 GraphicUsed by:52
Symbol 52 MovieClipUses:49 50 51Used by:53
Symbol 53 MovieClipUses:37 38 39 40 23 41 42 43 44 45 46 47 48 52Used by:Timeline
Symbol 54 GraphicUsed by:Timeline
Symbol 55 GraphicUsed by:Timeline
Symbol 56 GraphicUsed by:64
Symbol 57 BitmapUsed by:58
Symbol 58 GraphicUses:57Used by:59
Symbol 59 MovieClipUses:58Used by:64 208 242 280 297 300 339 341 342 444 449 453 464  Timeline
Symbol 60 GraphicUsed by:61
Symbol 61 MovieClipUses:60Used by:64 402
Symbol 62 GraphicUsed by:63
Symbol 63 MovieClipUses:62Used by:64 402
Symbol 64 MovieClipUses:56 59 61 63Used by:77
Symbol 65 GraphicUsed by:68
Symbol 66 GraphicUsed by:67
Symbol 67 MovieClipUses:66Used by:68
Symbol 68 MovieClipUses:65 67Used by:76 77
Symbol 69 GraphicUsed by:73
Symbol 70 GraphicUsed by:71
Symbol 71 MovieClipUses:70Used by:73
Symbol 72 GraphicUsed by:73
Symbol 73 MovieClipUses:69 71 72Used by:76 77
Symbol 74 GraphicUsed by:75
Symbol 75 MovieClipUses:74Used by:76 77 402  Timeline
Symbol 76 MovieClipUses:75 73 68Used by:77
Symbol 77 MovieClipUses:64 68 73 75 76Used by:Timeline
Symbol 78 SoundUsed by:Timeline
Symbol 79 GraphicUsed by:Timeline
Symbol 80 GraphicUsed by:81
Symbol 81 MovieClipUses:80Used by:Timeline
Symbol 82 GraphicUsed by:83
Symbol 83 MovieClipUses:82Used by:Timeline
Symbol 84 GraphicUsed by:Timeline
Symbol 85 FontUsed by:86 87 88 89 90 91 92 96 97 98 107 108 109 368 369 370 373 374 375 378 379 380
Symbol 86 TextUses:85Used by:Timeline
Symbol 87 TextUses:85Used by:Timeline
Symbol 88 TextUses:85Used by:Timeline
Symbol 89 TextUses:85Used by:Timeline
Symbol 90 TextUses:85Used by:95
Symbol 91 TextUses:85Used by:95
Symbol 92 TextUses:85Used by:95
Symbol 93 GraphicUsed by:95
Symbol 94 SoundUsed by:95 100 106 111 128 133 137 141 146 151 156 161 166 171 176 181 186 193 197 201 372 377 382 392 398
Symbol 95 ButtonUses:90 91 92 93 94Used by:Timeline
Symbol 96 TextUses:85Used by:100
Symbol 97 TextUses:85Used by:100
Symbol 98 TextUses:85Used by:100
Symbol 99 GraphicUsed by:100
Symbol 100 ButtonUses:96 97 98 99 94Used by:Timeline
Symbol 101 FontUsed by:102 103 104 115 123 124 125 126 129 130 131 134 135 136 138 139 140 143 144 145 148 149 150 153 154 155 158 159 160 163 164 165 168 169 170 173 174 175 178 179 180 183 184 185 188 189 190 191 194 195 196 198 199 200 202 385 386 387 388 389 390 393 394 395 396
Symbol 102 TextUses:101Used by:106
Symbol 103 TextUses:101Used by:106
Symbol 104 TextUses:101Used by:106
Symbol 105 GraphicUsed by:106
Symbol 106 ButtonUses:102 103 104 105 94Used by:402  Timeline
Symbol 107 TextUses:85Used by:111
Symbol 108 TextUses:85Used by:111
Symbol 109 TextUses:85Used by:111
Symbol 110 GraphicUsed by:111
Symbol 111 ButtonUses:107 108 109 110 94Used by:Timeline
Symbol 112 GraphicUsed by:113
Symbol 113 MovieClipUses:112Used by:Timeline
Symbol 114 GraphicUsed by:116
Symbol 115 TextUses:101Used by:116
Symbol 116 MovieClipUses:114 115Used by:Timeline
Symbol 117 GraphicUsed by:121
Symbol 118 GraphicUsed by:119
Symbol 119 MovieClipUses:118Used by:121
Symbol 120 GraphicUsed by:121
Symbol 121 MovieClipUses:117 119 39 40 120Used by:Timeline
Symbol 122 GraphicUsed by:203
Symbol 123 TextUses:101Used by:203
Symbol 124 TextUses:101Used by:128
Symbol 125 TextUses:101Used by:128
Symbol 126 TextUses:101Used by:128
Symbol 127 GraphicUsed by:128
Symbol 128 ButtonUses:124 125 126 127 94Used by:203
Symbol 129 TextUses:101Used by:133
Symbol 130 TextUses:101Used by:133
Symbol 131 TextUses:101Used by:133
Symbol 132 GraphicUsed by:133 137 141 146 151 156 161 166 171 176 181 186
Symbol 133 ButtonUses:129 130 131 132 94Used by:203
Symbol 134 TextUses:101Used by:137
Symbol 135 TextUses:101Used by:137
Symbol 136 TextUses:101Used by:137
Symbol 137 ButtonUses:134 135 136 132 94Used by:203
Symbol 138 TextUses:101Used by:141
Symbol 139 TextUses:101Used by:141
Symbol 140 TextUses:101Used by:141
Symbol 141 ButtonUses:138 139 140 132 94Used by:203
Symbol 142 GraphicUsed by:203
Symbol 143 TextUses:101Used by:146
Symbol 144 TextUses:101Used by:146
Symbol 145 TextUses:101Used by:146
Symbol 146 ButtonUses:143 144 145 132 94Used by:203
Symbol 147 GraphicUsed by:203
Symbol 148 TextUses:101Used by:151
Symbol 149 TextUses:101Used by:151
Symbol 150 TextUses:101Used by:151
Symbol 151 ButtonUses:148 149 150 132 94Used by:203
Symbol 152 GraphicUsed by:203
Symbol 153 TextUses:101Used by:156
Symbol 154 TextUses:101Used by:156
Symbol 155 TextUses:101Used by:156
Symbol 156 ButtonUses:153 154 155 132 94Used by:203
Symbol 157 GraphicUsed by:203
Symbol 158 TextUses:101Used by:161
Symbol 159 TextUses:101Used by:161
Symbol 160 TextUses:101Used by:161
Symbol 161 ButtonUses:158 159 160 132 94Used by:203
Symbol 162 GraphicUsed by:203
Symbol 163 TextUses:101Used by:166
Symbol 164 TextUses:101Used by:166
Symbol 165 TextUses:101Used by:166
Symbol 166 ButtonUses:163 164 165 132 94Used by:203
Symbol 167 GraphicUsed by:203
Symbol 168 TextUses:101Used by:171
Symbol 169 TextUses:101Used by:171
Symbol 170 TextUses:101Used by:171
Symbol 171 ButtonUses:168 169 170 132 94Used by:203
Symbol 172 GraphicUsed by:203
Symbol 173 TextUses:101Used by:176
Symbol 174 TextUses:101Used by:176
Symbol 175 TextUses:101Used by:176
Symbol 176 ButtonUses:173 174 175 132 94Used by:203
Symbol 177 GraphicUsed by:203
Symbol 178 TextUses:101Used by:181
Symbol 179 TextUses:101Used by:181
Symbol 180 TextUses:101Used by:181
Symbol 181 ButtonUses:178 179 180 132 94Used by:203
Symbol 182 GraphicUsed by:203
Symbol 183 TextUses:101Used by:186
Symbol 184 TextUses:101Used by:186
Symbol 185 TextUses:101Used by:186
Symbol 186 ButtonUses:183 184 185 132 94Used by:203
Symbol 187 GraphicUsed by:203
Symbol 188 TextUses:101Used by:203
Symbol 189 TextUses:101Used by:193
Symbol 190 TextUses:101Used by:193
Symbol 191 TextUses:101Used by:193
Symbol 192 GraphicUsed by:193 197 201
Symbol 193 ButtonUses:189 190 191 192 94Used by:203
Symbol 194 TextUses:101Used by:197
Symbol 195 TextUses:101Used by:197
Symbol 196 TextUses:101Used by:197
Symbol 197 ButtonUses:194 195 196 192 94Used by:203
Symbol 198 TextUses:101Used by:201
Symbol 199 TextUses:101Used by:201
Symbol 200 TextUses:101Used by:201
Symbol 201 ButtonUses:198 199 200 192 94Used by:203
Symbol 202 TextUses:101Used by:203
Symbol 203 MovieClipUses:122 123 128 133 137 141 142 146 147 151 152 156 157 161 162 166 167 171 172 176 177 181 182 186 187 188 193 197 201 202Used by:Timeline
Symbol 204 SoundUsed by:Timeline
Symbol 205 GraphicUsed by:209
Symbol 206 GraphicUsed by:208 464
Symbol 207 GraphicUsed by:208 464
Symbol 208 MovieClipUses:206 59 207Used by:209
Symbol 209 MovieClipUses:205 208Used by:366 470
Symbol 210 MovieClipUsed by:366 454 466 470 474
Symbol 211 GraphicUsed by:238
Symbol 212 GraphicUsed by:238
Symbol 213 GraphicUsed by:238
Symbol 214 GraphicUsed by:238
Symbol 215 GraphicUsed by:238
Symbol 216 GraphicUsed by:238
Symbol 217 GraphicUsed by:238
Symbol 218 GraphicUsed by:238
Symbol 219 GraphicUsed by:238
Symbol 220 GraphicUsed by:238
Symbol 221 GraphicUsed by:238
Symbol 222 GraphicUsed by:238
Symbol 223 GraphicUsed by:238
Symbol 224 GraphicUsed by:238
Symbol 225 GraphicUsed by:238
Symbol 226 GraphicUsed by:238
Symbol 227 GraphicUsed by:238
Symbol 228 GraphicUsed by:238
Symbol 229 GraphicUsed by:238
Symbol 230 GraphicUsed by:238
Symbol 231 GraphicUsed by:238
Symbol 232 GraphicUsed by:238
Symbol 233 GraphicUsed by:238
Symbol 234 GraphicUsed by:238
Symbol 235 GraphicUsed by:238
Symbol 236 GraphicUsed by:238
Symbol 237 GraphicUsed by:238
Symbol 238 MovieClipUses:211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237Used by:281 289
Symbol 239 GraphicUsed by:242
Symbol 240 GraphicUsed by:242
Symbol 241 GraphicUsed by:242
Symbol 242 MovieClipUses:239 59 240 241Used by:281
Symbol 243 GraphicUsed by:244
Symbol 244 MovieClipUses:243Used by:280 342
Symbol 245 GraphicUsed by:246
Symbol 246 MovieClipUses:245Used by:280 342
Symbol 247 GraphicUsed by:248
Symbol 248 MovieClipUses:247Used by:280 342
Symbol 249 GraphicUsed by:250
Symbol 250 MovieClipUses:249Used by:280 342
Symbol 251 GraphicUsed by:252
Symbol 252 MovieClipUses:251Used by:280 342
Symbol 253 GraphicUsed by:254
Symbol 254 MovieClipUses:253Used by:280 342
Symbol 255 GraphicUsed by:280
Symbol 256 GraphicUsed by:257
Symbol 257 MovieClipUses:256Used by:280 342
Symbol 258 GraphicUsed by:259
Symbol 259 MovieClipUses:258Used by:280 342
Symbol 260 GraphicUsed by:261
Symbol 261 MovieClipUses:260Used by:280 333
Symbol 262 GraphicUsed by:263
Symbol 263 MovieClipUses:262Used by:280 333
Symbol 264 GraphicUsed by:265
Symbol 265 MovieClipUses:264Used by:280 333
Symbol 266 GraphicUsed by:267
Symbol 267 MovieClipUses:266Used by:280 333
Symbol 268 GraphicUsed by:269
Symbol 269 MovieClipUses:268Used by:280 333
Symbol 270 GraphicUsed by:271
Symbol 271 MovieClipUses:270Used by:280 333
Symbol 272 GraphicUsed by:273
Symbol 273 MovieClipUses:272Used by:280 339 341
Symbol 274 GraphicUsed by:275
Symbol 275 MovieClipUses:274Used by:280 339 341
Symbol 276 GraphicUsed by:277
Symbol 277 MovieClipUses:276Used by:280 339
Symbol 278 GraphicUsed by:279
Symbol 279 MovieClipUses:278Used by:280 339 341
Symbol 280 MovieClipUses:244 246 248 59 250 252 254 255 257 259 261 263 265 267 269 271 273 275 277 279Used by:281
Symbol 281 MovieClipUses:238 242 280Used by:366 454 466 470 474
Symbol 282 GraphicUsed by:289
Symbol 283 GraphicUsed by:289
Symbol 284 GraphicUsed by:289
Symbol 285 GraphicUsed by:289
Symbol 286 GraphicUsed by:289
Symbol 287 GraphicUsed by:289
Symbol 288 GraphicUsed by:289
Symbol 289 MovieClipUses:282 283 284 285 286 287 288 238Used by:290
Symbol 290 MovieClipUses:289Used by:366 454 466 470 474
Symbol 291 GraphicUsed by:297
Symbol 292 GraphicUsed by:297
Symbol 293 GraphicUsed by:294
Symbol 294 MovieClipUses:293Used by:296
Symbol 295 GraphicUsed by:296
Symbol 296 MovieClipUses:294 295Used by:297 300 449 453
Symbol 297 MovieClipUses:291 59 292 296Used by:366 466 470
Symbol 298 GraphicUsed by:300
Symbol 299 GraphicUsed by:300
Symbol 300 MovieClipUses:298 59 299 296Used by:366 466 470
Symbol 301 GraphicUsed by:302
Symbol 302 MovieClipUses:301Used by:307
Symbol 303 GraphicUsed by:304
Symbol 304 MovieClipUses:303Used by:307
Symbol 305 GraphicUsed by:306
Symbol 306 MovieClipUses:305Used by:307
Symbol 307 MovieClipUses:302 304 306Used by:366 454 466 470 474
Symbol 308 GraphicUsed by:342
Symbol 309 GraphicUsed by:342
Symbol 310 BitmapUsed by:311
Symbol 311 GraphicUses:310Used by:312
Symbol 312 MovieClipUses:311Used by:329 342
Symbol 313 GraphicUsed by:342
Symbol 314 GraphicUsed by:342
Symbol 315 GraphicUsed by:316
Symbol 316 MovieClipUses:315Used by:342
Symbol 317 GraphicUsed by:318
Symbol 318 MovieClipUses:317Used by:342
Symbol 319 GraphicUsed by:320
Symbol 320 MovieClipUses:319Used by:342
Symbol 321 GraphicUsed by:322
Symbol 322 MovieClipUses:321Used by:342
Symbol 323 GraphicUsed by:324
Symbol 324 MovieClipUses:323Used by:342
Symbol 325 GraphicUsed by:326
Symbol 326 MovieClipUses:325Used by:329
Symbol 327 GraphicUsed by:328
Symbol 328 MovieClipUses:327Used by:329
Symbol 329 MovieClipUses:326 312 328Used by:342 366 454 466 470 474
Symbol 330 GraphicUsed by:342
Symbol 331 GraphicUsed by:342
Symbol 332 GraphicUsed by:342
Symbol 333 MovieClipUses:261 263 265 267 269 271Used by:342
Symbol 334 GraphicUsed by:342
Symbol 335 GraphicUsed by:336
Symbol 336 MovieClipUses:335Used by:338 342
Symbol 337 GraphicUsed by:338
Symbol 338 MovieClipUses:336 337Used by:342
Symbol 339 MovieClipUses:59 273 275 277 279Used by:342
Symbol 340 GraphicUsed by:342
Symbol 341 MovieClipUses:59 275 273 279Used by:342
Symbol 342 MovieClipUses:308 309 244 246 248 312 313 59 250 252 254 314 316 318 320 322 324 329 330 257 259 331 332 333 334 338 336 339 340 341Used by:366 454 466 470 474
Symbol 343 GraphicUsed by:355
Symbol 344 GraphicUsed by:354
Symbol 345 GraphicUsed by:354
Symbol 346 GraphicUsed by:354
Symbol 347 GraphicUsed by:354
Symbol 348 GraphicUsed by:354
Symbol 349 GraphicUsed by:354
Symbol 350 GraphicUsed by:354
Symbol 351 GraphicUsed by:354
Symbol 352 GraphicUsed by:354
Symbol 353 GraphicUsed by:354
Symbol 354 MovieClipUses:344 345 346 347 348 349 350 351 352 353Used by:355
Symbol 355 MovieClipUses:343 354Used by:366
Symbol 356 GraphicUsed by:359
Symbol 357 GraphicUsed by:359
Symbol 358 GraphicUsed by:359
Symbol 359 MovieClipUses:356 357 358Used by:366 454 466 470 474
Symbol 360 GraphicUsed by:363
Symbol 361 GraphicUsed by:363
Symbol 362 GraphicUsed by:363
Symbol 363 MovieClipUses:360 361 362Used by:365
Symbol 364 GraphicUsed by:365
Symbol 365 MovieClipUses:363 364Used by:366 454 466 470 474
Symbol 366 MovieClipUses:209 210 281 290 297 300 307 342 329 355 359 365Used by:Timeline
Symbol 367 GraphicUsed by:402
Symbol 368 TextUses:85Used by:372
Symbol 369 TextUses:85Used by:372
Symbol 370 TextUses:85Used by:372
Symbol 371 GraphicUsed by:372
Symbol 372 ButtonUses:368 369 370 371 94Used by:402
Symbol 373 TextUses:85Used by:377
Symbol 374 TextUses:85Used by:377
Symbol 375 TextUses:85Used by:377
Symbol 376 GraphicUsed by:377
Symbol 377 ButtonUses:373 374 375 376 94Used by:402
Symbol 378 TextUses:85Used by:382
Symbol 379 TextUses:85Used by:382
Symbol 380 TextUses:85Used by:382
Symbol 381 GraphicUsed by:382
Symbol 382 ButtonUses:378 379 380 381 94Used by:402
Symbol 383 GraphicUsed by:384
Symbol 384 MovieClipUses:383Used by:402
Symbol 385 TextUses:101Used by:402
Symbol 386 EditableTextUses:101Used by:402
Symbol 387 TextUses:101Used by:402
Symbol 388 TextUses:101Used by:392
Symbol 389 TextUses:101Used by:392
Symbol 390 TextUses:101Used by:392
Symbol 391 GraphicUsed by:392
Symbol 392 ButtonUses:388 389 390 391 94Used by:402
Symbol 393 EditableTextUses:101Used by:402
Symbol 394 TextUses:101Used by:398
Symbol 395 TextUses:101Used by:398
Symbol 396 TextUses:101Used by:398
Symbol 397 GraphicUsed by:398
Symbol 398 ButtonUses:394 395 396 397 94Used by:402
Symbol 399 FontUsed by:400 404
Symbol 400 EditableTextUses:399Used by:401
Symbol 401 MovieClipUses:400Used by:402
Symbol 402 MovieClipUses:367 61 63 75 372 377 382 384 385 386 387 392 106 393 398 401Used by:Timeline
Symbol 403 GraphicUsed by:Timeline
Symbol 404 EditableTextUses:399Used by:405
Symbol 405 MovieClipUses:404Used by:Timeline
Symbol 406 GraphicUsed by:407
Symbol 407 MovieClipUses:406Used by:Timeline
Symbol 408 GraphicUsed by:409
Symbol 409 MovieClipUses:408Used by:Timeline
Symbol 410 FontUsed by:411 455 467 471 475
Symbol 411 EditableTextUses:410Used by:Timeline
Symbol 412 GraphicUsed by:417
Symbol 413 GraphicUsed by:417
Symbol 414 GraphicUsed by:417
Symbol 415 GraphicUsed by:417
Symbol 416 GraphicUsed by:417
Symbol 417 MovieClipUses:412 413 414 415 416Used by:Timeline
Symbol 418 FontUsed by:419 456 468 472 476
Symbol 419 EditableTextUses:418Used by:Timeline
Symbol 420 FontUsed by:421 457 469 473 477
Symbol 421 EditableTextUses:420Used by:Timeline
Symbol 422 GraphicUsed by:432
Symbol 423 SoundUsed by:432
Symbol 424 SoundUsed by:432
Symbol 425 SoundUsed by:432
Symbol 426 SoundUsed by:432
Symbol 427 SoundUsed by:432
Symbol 428 SoundUsed by:432
Symbol 429 SoundUsed by:432
Symbol 430 SoundUsed by:432
Symbol 431 SoundUsed by:432
Symbol 432 MovieClipUses:422 423 424 425 426 427 428 429 430 431Used by:Timeline
Symbol 433 FontUsed by:434 458
Symbol 434 EditableTextUses:433Used by:Timeline
Symbol 435 GraphicUsed by:436
Symbol 436 MovieClipUses:435Used by:Timeline
Symbol 437 GraphicUsed by:445
Symbol 438 GraphicUsed by:444
Symbol 439 GraphicUsed by:444
Symbol 440 GraphicUsed by:444
Symbol 441 GraphicUsed by:442 444
Symbol 442 MovieClipUses:441Used by:444
Symbol 443 GraphicUsed by:444
Symbol 444 MovieClipUses:438 439 59 440 441 442 443Used by:445
Symbol 445 MovieClipUses:437 444Used by:454 474
Symbol 446 GraphicUsed by:449
Symbol 447 GraphicUsed by:449
Symbol 448 GraphicUsed by:449
Symbol 449 MovieClipUses:446 447 59 448 296Used by:454 474
Symbol 450 GraphicUsed by:453
Symbol 451 GraphicUsed by:453
Symbol 452 GraphicUsed by:453
Symbol 453 MovieClipUses:450 451 59 452 296Used by:454 474
Symbol 454 MovieClipUses:445 210 281 290 449 453 307 342 329 365 359Used by:Timeline
Symbol 455 EditableTextUses:410Used by:Timeline
Symbol 456 EditableTextUses:418Used by:Timeline
Symbol 457 EditableTextUses:420Used by:Timeline
Symbol 458 EditableTextUses:433Used by:Timeline
Symbol 459 GraphicUsed by:465
Symbol 460 GraphicUsed by:464
Symbol 461 GraphicUsed by:464
Symbol 462 GraphicUsed by:463
Symbol 463 MovieClipUses:462Used by:464
Symbol 464 MovieClipUses:206 460 59 461 463 207Used by:465
Symbol 465 MovieClipUses:459 464Used by:466
Symbol 466 MovieClipUses:465 210 281 290 297 300 307 342 329 365 359Used by:Timeline
Symbol 467 EditableTextUses:410Used by:Timeline
Symbol 468 EditableTextUses:418Used by:Timeline
Symbol 469 EditableTextUses:420Used by:Timeline
Symbol 470 MovieClipUses:209 210 281 290 297 300 307 342 329 365 359Used by:Timeline
Symbol 471 EditableTextUses:410Used by:Timeline
Symbol 472 EditableTextUses:418Used by:Timeline
Symbol 473 EditableTextUses:420Used by:Timeline
Symbol 474 MovieClipUses:445 210 281 290 449 453 307 342 329 365 359Used by:Timeline
Symbol 475 EditableTextUses:410Used by:Timeline
Symbol 476 EditableTextUses:418Used by:Timeline
Symbol 477 EditableTextUses:420Used by:Timeline

Instance Names

"menu"Frame 3Symbol 203 MovieClip
"ground"Frame 5Symbol 366 MovieClip
"countDown"Frame 5Symbol 405 MovieClip
"bar"Frame 5Symbol 407 MovieClip
"hud2"Frame 5Symbol 417 MovieClip
"meh"Frame 5Symbol 419 EditableText
"sfx"Frame 5Symbol 432 MovieClip
"meh"Frame 5Symbol 434 EditableText
"ground"Frame 6Symbol 454 MovieClip
"countDown"Frame 6Symbol 405 MovieClip
"meh"Frame 6Symbol 456 EditableText
"sfx"Frame 6Symbol 432 MovieClip
"meh"Frame 6Symbol 458 EditableText
"ground"Frame 7Symbol 466 MovieClip
"pausescreen"Frame 7Symbol 402 MovieClip
"countDown"Frame 7Symbol 405 MovieClip
"meh"Frame 7Symbol 468 EditableText
"sfx"Frame 7Symbol 432 MovieClip
"ground"Frame 8Symbol 470 MovieClip
"countDown"Frame 8Symbol 405 MovieClip
"meh"Frame 8Symbol 472 EditableText
"sfx"Frame 8Symbol 432 MovieClip
"ground"Frame 9Symbol 474 MovieClip
"meh"Frame 9Symbol 476 EditableText
"sfx"Frame 9Symbol 432 MovieClip
"bar"Symbol 25 MovieClip Frame 1Symbol 23 MovieClip
"debris"Symbol 281 MovieClip Frame 1Symbol 238 MovieClip
"burn"Symbol 281 MovieClip Frame 1Symbol 242 MovieClip
"corpse1"Symbol 281 MovieClip Frame 1Symbol 280 MovieClip
"tur"Symbol 342 MovieClip Frame 148Symbol 336 MovieClip
"tur"Symbol 342 MovieClip Frame 158Symbol 336 MovieClip
"tur"Symbol 342 MovieClip Frame 168Symbol 336 MovieClip
"flr"Symbol 366 MovieClip Frame 1Symbol 209 MovieClip
"meh"Symbol 366 MovieClip Frame 1Symbol 210 MovieClip
"stuff"Symbol 366 MovieClip Frame 1Symbol 281 MovieClip
"spark"Symbol 366 MovieClip Frame 1Symbol 290 MovieClip
"bullet"Symbol 366 MovieClip Frame 1Symbol 307 MovieClip
"dup"Symbol 366 MovieClip Frame 1Symbol 342 MovieClip
"explosion"Symbol 366 MovieClip Frame 1Symbol 329 MovieClip
"powerup"Symbol 366 MovieClip Frame 1Symbol 359 MovieClip
"character"Symbol 366 MovieClip Frame 1Symbol 365 MovieClip
"hsOutput"Symbol 402 MovieClip Frame 3Symbol 401 MovieClip
"txt"Symbol 405 MovieClip Frame 1Symbol 404 EditableText
"flr"Symbol 454 MovieClip Frame 1Symbol 445 MovieClip
"meh"Symbol 454 MovieClip Frame 1Symbol 210 MovieClip
"stuff"Symbol 454 MovieClip Frame 1Symbol 281 MovieClip
"spark"Symbol 454 MovieClip Frame 1Symbol 290 MovieClip
"bullet"Symbol 454 MovieClip Frame 1Symbol 307 MovieClip
"dup"Symbol 454 MovieClip Frame 1Symbol 342 MovieClip
"explosion"Symbol 454 MovieClip Frame 1Symbol 329 MovieClip
"character"Symbol 454 MovieClip Frame 1Symbol 365 MovieClip
"powerup"Symbol 454 MovieClip Frame 1Symbol 359 MovieClip
"flr"Symbol 466 MovieClip Frame 1Symbol 465 MovieClip
"meh"Symbol 466 MovieClip Frame 1Symbol 210 MovieClip
"stuff"Symbol 466 MovieClip Frame 1Symbol 281 MovieClip
"spark"Symbol 466 MovieClip Frame 1Symbol 290 MovieClip
"bullet"Symbol 466 MovieClip Frame 1Symbol 307 MovieClip
"dup"Symbol 466 MovieClip Frame 1Symbol 342 MovieClip
"explosion"Symbol 466 MovieClip Frame 1Symbol 329 MovieClip
"character"Symbol 466 MovieClip Frame 1Symbol 365 MovieClip
"powerup"Symbol 466 MovieClip Frame 1Symbol 359 MovieClip
"flr"Symbol 470 MovieClip Frame 1Symbol 209 MovieClip
"meh"Symbol 470 MovieClip Frame 1Symbol 210 MovieClip
"stuff"Symbol 470 MovieClip Frame 1Symbol 281 MovieClip
"spark"Symbol 470 MovieClip Frame 1Symbol 290 MovieClip
"bullet"Symbol 470 MovieClip Frame 1Symbol 307 MovieClip
"dup"Symbol 470 MovieClip Frame 1Symbol 342 MovieClip
"explosion"Symbol 470 MovieClip Frame 1Symbol 329 MovieClip
"character"Symbol 470 MovieClip Frame 1Symbol 365 MovieClip
"powerup"Symbol 470 MovieClip Frame 1Symbol 359 MovieClip
"flr"Symbol 474 MovieClip Frame 1Symbol 445 MovieClip
"meh"Symbol 474 MovieClip Frame 1Symbol 210 MovieClip
"stuff"Symbol 474 MovieClip Frame 1Symbol 281 MovieClip
"spark"Symbol 474 MovieClip Frame 1Symbol 290 MovieClip
"bullet"Symbol 474 MovieClip Frame 1Symbol 307 MovieClip
"dup"Symbol 474 MovieClip Frame 1Symbol 342 MovieClip
"explosion"Symbol 474 MovieClip Frame 1Symbol 329 MovieClip
"character"Symbol 474 MovieClip Frame 1Symbol 365 MovieClip
"powerup"Symbol 474 MovieClip Frame 1Symbol 359 MovieClip

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS1/AS2.

Dynamic Text Variables

killSymbol 386 EditableText"Kills:99999999999"
nameSymbol 393 EditableText"Enter Name Here"
textSymbol 400 EditableText""
nameSymbol 404 EditableText" "
healthSymbol 411 EditableText"100"
killSymbol 419 EditableText"0"
wpnSymbol 421 EditableText"Weapon Lv: 99"
timeSymbol 434 EditableText""
healthSymbol 455 EditableText"100"
killSymbol 456 EditableText"0"
wpnSymbol 457 EditableText""
timeSymbol 458 EditableText""
healthSymbol 467 EditableText"100"
killSymbol 468 EditableText"0"
wpnSymbol 469 EditableText"Weapon Lv: 99"
healthSymbol 471 EditableText"100"
killSymbol 472 EditableText"0"
wpnSymbol 473 EditableText"Weapon Lv: 99"
healthSymbol 475 EditableText"100"
killSymbol 476 EditableText"0"
wpnSymbol 477 EditableText"Weapon Lv: 99"




http://swfchan.com/1/3817/info.shtml
Created: 17/6 -2019 06:55:49 Last modified: 17/6 -2019 06:55:49 Server time: 04/05 -2024 12:47:05