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

<div style="position:absolute;top:-99px;left:-99px;"><img src="https://tools.swfchan.com/stathit.asp?noj=FRM88791145-6DC&rnd=88791145" width="1" height="1"></div>

HoverBotArena.swf

This is the info page for
Flash #4169

(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 367 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 403 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 406 MovieClip "countDown" in Frame 5
onClipEvent (load) { _root.time = ""; kTal = 0; bKill = 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; 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 < 3) { mySharedObject = SharedObject.getLocal("userData"); mySharedObject.data.beaten = 2; mySharedObject.flush(); } level = 2; maxKillCount = 0; } } else if (level == 2) { if ((bKill > 0) && (_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 408 MovieClip "bar" in Frame 5
onClipEvent (enterFrame) { _xscale = _root.health; _root.hud2.gotoAndStop(_root.meh.length); }
Instance of Symbol 433 MovieClip "sfx" in Frame 5
onClipEvent (load) { gotoAndPlay (50); }
Instance of Symbol 437 MovieClip in Frame 5
onClipEvent (enterFrame) { _x = _root._xmouse; _y = _root._ymouse; Mouse.hide(); }
Frame 6
stop(); time = ""; k = 0;
Instance of Symbol 455 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 403 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 406 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 433 MovieClip "sfx" in Frame 6
onClipEvent (load) { gotoAndPlay (54); }
Frame 7
k = 0;
Instance of Symbol 468 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 403 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 406 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 433 MovieClip "sfx" in Frame 7
onClipEvent (load) { gotoAndPlay (52); }
Frame 8
k = 0;
Instance of Symbol 472 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 406 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 433 MovieClip "sfx" in Frame 8
onClipEvent (load) { gotoAndPlay (50); }
Frame 9
k = 0;
Instance of Symbol 476 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 433 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 343 MovieClip Frame 1
stop();
Symbol 343 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 343 MovieClip Frame 3
onClipEvent (enterFrame) { _xscale = (_xscale + 5); _yscale = _xscale; _alpha = (_alpha - 5); }
Instance of Symbol 312 MovieClip in Symbol 343 MovieClip Frame 3
onClipEvent (enterFrame) { _xscale = (_xscale + 5); _yscale = _xscale; _alpha = (_alpha - 5); }
Instance of Symbol 312 MovieClip in Symbol 343 MovieClip Frame 3
onClipEvent (enterFrame) { _xscale = (_xscale + 5); _yscale = _xscale; _alpha = (_alpha - 5); }
Instance of Symbol 312 MovieClip in Symbol 343 MovieClip Frame 3
onClipEvent (enterFrame) { _xscale = (_xscale + 5); _yscale = _xscale; _alpha = (_alpha - 5); }
Symbol 343 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 343 MovieClip Frame 21
removeMovieClip("");
Symbol 343 MovieClip Frame 22
stop();
Symbol 343 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 343 MovieClip Frame 24
onClipEvent (enterFrame) { _xscale = (_xscale + 5); _yscale = _xscale; _alpha = (_alpha - 5); }
Instance of Symbol 312 MovieClip in Symbol 343 MovieClip Frame 24
onClipEvent (enterFrame) { _xscale = (_xscale + 5); _yscale = _xscale; _alpha = (_alpha - 5); }
Instance of Symbol 312 MovieClip in Symbol 343 MovieClip Frame 24
onClipEvent (enterFrame) { _xscale = (_xscale + 5); _yscale = _xscale; _alpha = (_alpha - 5); }
Instance of Symbol 312 MovieClip in Symbol 343 MovieClip Frame 24
onClipEvent (enterFrame) { _xscale = (_xscale + 5); _yscale = _xscale; _alpha = (_alpha - 5); }
Symbol 343 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 343 MovieClip Frame 42
removeMovieClip("");
Symbol 343 MovieClip Frame 43
if (_root._currentframe == 5) { health = 150; } else { health = 20; } stop();
Symbol 343 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 343 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 343 MovieClip Frame 63
removeMovieClip("");
Symbol 343 MovieClip Frame 64
stop();
Symbol 343 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 343 MovieClip Frame 65
onClipEvent (enterFrame) { _xscale = (_xscale + 5); _yscale = _xscale; _alpha = (_alpha - 5); }
Instance of Symbol 312 MovieClip in Symbol 343 MovieClip Frame 65
onClipEvent (enterFrame) { _xscale = (_xscale + 5); _yscale = _xscale; _alpha = (_alpha - 5); }
Instance of Symbol 312 MovieClip in Symbol 343 MovieClip Frame 65
onClipEvent (enterFrame) { _xscale = (_xscale + 5); _yscale = _xscale; _alpha = (_alpha - 5); }
Instance of Symbol 312 MovieClip in Symbol 343 MovieClip Frame 65
onClipEvent (enterFrame) { _xscale = (_xscale + 5); _yscale = _xscale; _alpha = (_alpha - 5); }
Symbol 343 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 343 MovieClip Frame 84
removeMovieClip("");
Symbol 343 MovieClip Frame 85
stop();
Symbol 343 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 343 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 343 MovieClip Frame 105
removeMovieClip("");
Symbol 343 MovieClip Frame 106
stop(); health = 150;
Symbol 343 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 343 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 343 MovieClip Frame 126
removeMovieClip("");
Symbol 343 MovieClip Frame 127
health = 150; stop();
Symbol 343 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 343 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 343 MovieClip Frame 147
removeMovieClip("");
Symbol 343 MovieClip Frame 148
stop(); health = 100;
Symbol 343 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 343 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 343 MovieClip Frame 157
removeMovieClip("");
Symbol 343 MovieClip Frame 158
health = 50;
Symbol 343 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 343 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 343 MovieClip Frame 167
removeMovieClip("");
Symbol 343 MovieClip Frame 168
health = 25;
Symbol 343 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 343 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 343 MovieClip Frame 177
removeMovieClip("");
Symbol 356 MovieClip Frame 1
stop();
Instance of Symbol 210 MovieClip "meh" in Symbol 367 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 367 MovieClip Frame 1
onClipEvent (load) { if (_name != "spark") { play(); } else { stop(); } }
Instance of Symbol 307 MovieClip "bullet" in Symbol 367 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 343 MovieClip "dup" in Symbol 367 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 == 0) { 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 367 MovieClip Frame 1
onClipEvent (load) { if (_name == "explosion") { stop(); } else { _root.sfx.gotoAndPlay((random(4) + 2) * 2); } }
Instance of Symbol 356 MovieClip in Symbol 367 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 356 MovieClip in Symbol 367 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 360 MovieClip "powerup" in Symbol 367 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 366 MovieClip "character" in Symbol 367 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 373 Button
on (release) { _root.pause = false; gotoAndStop (1); }
Symbol 378 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 383 Button
on (release) { _root.pause = false; stopAllSounds(); _root.gotoAndStop(3); }
Symbol 393 Button
on (release) { if (name == "Enter Name Here") { _root.sfx.gotoAndPlay(56); } else if (done != true) { _root.submitOurScore5(); done = true; } }
Symbol 399 Button
on (release) { _root.pause = false; stopAllSounds(); _root.gotoAndStop(3); }
Symbol 403 MovieClip Frame 1
stop();
Instance of Symbol 61 MovieClip in Symbol 403 MovieClip Frame 2
onClipEvent (load) { _rotation = random(360); }
Instance of Symbol 63 MovieClip in Symbol 403 MovieClip Frame 2
onClipEvent (load) { _rotation = random(360); }
Symbol 403 MovieClip Frame 3
kill = "Kills :" + _root.kill; name = _root.playerNameSave; done = false;
Symbol 418 MovieClip Frame 1
stop();
Symbol 433 MovieClip Frame 1
stop();
Symbol 433 MovieClip Frame 2
gotoAndStop (1);
Symbol 433 MovieClip Frame 3
gotoAndStop (1);
Symbol 433 MovieClip Frame 5
gotoAndStop (1);
Symbol 433 MovieClip Frame 7
gotoAndStop (1);
Symbol 433 MovieClip Frame 9
gotoAndStop (1);
Symbol 433 MovieClip Frame 11
gotoAndStop (1);
Symbol 433 MovieClip Frame 13
gotoAndStop (1);
Symbol 433 MovieClip Frame 15
gotoAndStop (1);
Symbol 433 MovieClip Frame 17
gotoAndStop (1);
Symbol 433 MovieClip Frame 19
gotoAndStop (1);
Symbol 433 MovieClip Frame 21
gotoAndStop (1);
Symbol 433 MovieClip Frame 23
gotoAndStop (1);
Symbol 433 MovieClip Frame 51
gotoAndStop (1);
Symbol 433 MovieClip Frame 53
gotoAndStop (1);
Symbol 433 MovieClip Frame 55
gotoAndStop (1);
Symbol 433 MovieClip Frame 57
gotoAndStop (1);
Instance of Symbol 210 MovieClip "meh" in Symbol 455 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 455 MovieClip Frame 1
onClipEvent (load) { if (_name != "spark") { play(); } else { stop(); } }
Instance of Symbol 307 MovieClip "bullet" in Symbol 455 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 343 MovieClip "dup" in Symbol 455 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 455 MovieClip Frame 1
onClipEvent (load) { if (_name == "explosion") { stop(); } else { _root.sfx.gotoAndPlay((random(4) + 2) * 2); } }
Instance of Symbol 366 MovieClip "character" in Symbol 455 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 360 MovieClip "powerup" in Symbol 455 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 468 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 468 MovieClip Frame 1
onClipEvent (load) { if (_name != "spark") { play(); } else { stop(); } }
Instance of Symbol 307 MovieClip "bullet" in Symbol 468 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 343 MovieClip "dup" in Symbol 468 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 468 MovieClip Frame 1
onClipEvent (load) { if (_name == "explosion") { stop(); } else { _root.sfx.gotoAndPlay((random(4) + 2) * 2); } }
Instance of Symbol 366 MovieClip "character" in Symbol 468 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 360 MovieClip "powerup" in Symbol 468 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 472 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 472 MovieClip Frame 1
onClipEvent (load) { if (_name != "spark") { play(); } else { stop(); } }
Instance of Symbol 307 MovieClip "bullet" in Symbol 472 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 343 MovieClip "dup" in Symbol 472 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 472 MovieClip Frame 1
onClipEvent (load) { if (_name == "explosion") { stop(); } else { _root.sfx.gotoAndPlay((random(4) + 2) * 2); } }
Instance of Symbol 366 MovieClip "character" in Symbol 472 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 360 MovieClip "powerup" in Symbol 472 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 476 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 476 MovieClip Frame 1
onClipEvent (load) { if (_name != "spark") { play(); } else { stop(); } }
Instance of Symbol 307 MovieClip "bullet" in Symbol 476 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 343 MovieClip "dup" in Symbol 476 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 476 MovieClip Frame 1
onClipEvent (load) { if (_name == "explosion") { stop(); } else { _root.sfx.gotoAndPlay((random(4) + 2) * 2); } }
Instance of Symbol 366 MovieClip "character" in Symbol 476 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 360 MovieClip "powerup" in Symbol 476 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 340 342 343 445 450 454 466  Timeline
Symbol 60 GraphicUsed by:61
Symbol 61 MovieClipUses:60Used by:64 403
Symbol 62 GraphicUsed by:63
Symbol 63 MovieClipUses:62Used by:64 403
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 403  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 369 370 371 374 375 376 379 380 381
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 373 378 383 393 399
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 386 387 388 389 390 391 394 395 396 397
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:403  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
Symbol 207 GraphicUsed by:208
Symbol 208 MovieClipUses:206 59 207Used by:209
Symbol 209 MovieClipUses:205 208Used by:367 472
Symbol 210 MovieClipUsed by:367 455 468 472 476
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 343
Symbol 245 GraphicUsed by:246
Symbol 246 MovieClipUses:245Used by:280 343
Symbol 247 GraphicUsed by:248
Symbol 248 MovieClipUses:247Used by:280 343
Symbol 249 GraphicUsed by:250
Symbol 250 MovieClipUses:249Used by:280 343
Symbol 251 GraphicUsed by:252
Symbol 252 MovieClipUses:251Used by:280 343
Symbol 253 GraphicUsed by:254
Symbol 254 MovieClipUses:253Used by:280 343
Symbol 255 GraphicUsed by:280
Symbol 256 GraphicUsed by:257
Symbol 257 MovieClipUses:256Used by:280 343
Symbol 258 GraphicUsed by:259
Symbol 259 MovieClipUses:258Used by:280 343
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 340 342
Symbol 274 GraphicUsed by:275
Symbol 275 MovieClipUses:274Used by:280 340 342
Symbol 276 GraphicUsed by:277
Symbol 277 MovieClipUses:276Used by:280 340
Symbol 278 GraphicUsed by:279
Symbol 279 MovieClipUses:278Used by:280 340 342
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:367 455 468 472 476
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:367 455 468 472 476
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 450 454
Symbol 297 MovieClipUses:291 59 292 296Used by:367 468 472
Symbol 298 GraphicUsed by:300
Symbol 299 GraphicUsed by:300
Symbol 300 MovieClipUses:298 59 299 296Used by:367 468 472
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:367 455 468 472 476
Symbol 308 GraphicUsed by:343
Symbol 309 GraphicUsed by:343
Symbol 310 BitmapUsed by:311
Symbol 311 GraphicUses:310Used by:312
Symbol 312 MovieClipUses:311Used by:329 343
Symbol 313 GraphicUsed by:343
Symbol 314 GraphicUsed by:343
Symbol 315 GraphicUsed by:316
Symbol 316 MovieClipUses:315Used by:343
Symbol 317 GraphicUsed by:318
Symbol 318 MovieClipUses:317Used by:343
Symbol 319 GraphicUsed by:320
Symbol 320 MovieClipUses:319Used by:343
Symbol 321 GraphicUsed by:322
Symbol 322 MovieClipUses:321Used by:343
Symbol 323 GraphicUsed by:324
Symbol 324 MovieClipUses:323Used by:343
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:343 367 455 468 472 476
Symbol 330 GraphicUsed by:343
Symbol 331 GraphicUsed by:343
Symbol 332 GraphicUsed by:343
Symbol 333 MovieClipUses:261 263 265 267 269 271Used by:343
Symbol 334 GraphicUsed by:343
Symbol 335 GraphicUsed by:343
Symbol 336 GraphicUsed by:337
Symbol 337 MovieClipUses:336Used by:339 343
Symbol 338 GraphicUsed by:339
Symbol 339 MovieClipUses:337 338Used by:343
Symbol 340 MovieClipUses:59 273 275 277 279Used by:343
Symbol 341 GraphicUsed by:343
Symbol 342 MovieClipUses:59 275 273 279Used by:343
Symbol 343 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 335 339 337 340 341 342Used by:367 455 468 472 476
Symbol 344 GraphicUsed by:356
Symbol 345 GraphicUsed by:355
Symbol 346 GraphicUsed by:355
Symbol 347 GraphicUsed by:355
Symbol 348 GraphicUsed by:355
Symbol 349 GraphicUsed by:355
Symbol 350 GraphicUsed by:355
Symbol 351 GraphicUsed by:355
Symbol 352 GraphicUsed by:355
Symbol 353 GraphicUsed by:355
Symbol 354 GraphicUsed by:355
Symbol 355 MovieClipUses:345 346 347 348 349 350 351 352 353 354Used by:356
Symbol 356 MovieClipUses:344 355Used by:367
Symbol 357 GraphicUsed by:360
Symbol 358 GraphicUsed by:360
Symbol 359 GraphicUsed by:360
Symbol 360 MovieClipUses:357 358 359Used by:367 455 468 472 476
Symbol 361 GraphicUsed by:364
Symbol 362 GraphicUsed by:364
Symbol 363 GraphicUsed by:364
Symbol 364 MovieClipUses:361 362 363Used by:366
Symbol 365 GraphicUsed by:366
Symbol 366 MovieClipUses:364 365Used by:367 455 468 472 476
Symbol 367 MovieClipUses:209 210 281 290 297 300 307 343 329 356 360 366Used by:Timeline
Symbol 368 GraphicUsed by:403
Symbol 369 TextUses:85Used by:373
Symbol 370 TextUses:85Used by:373
Symbol 371 TextUses:85Used by:373
Symbol 372 GraphicUsed by:373
Symbol 373 ButtonUses:369 370 371 372 94Used by:403
Symbol 374 TextUses:85Used by:378
Symbol 375 TextUses:85Used by:378
Symbol 376 TextUses:85Used by:378
Symbol 377 GraphicUsed by:378
Symbol 378 ButtonUses:374 375 376 377 94Used by:403
Symbol 379 TextUses:85Used by:383
Symbol 380 TextUses:85Used by:383
Symbol 381 TextUses:85Used by:383
Symbol 382 GraphicUsed by:383
Symbol 383 ButtonUses:379 380 381 382 94Used by:403
Symbol 384 GraphicUsed by:385
Symbol 385 MovieClipUses:384Used by:403
Symbol 386 TextUses:101Used by:403
Symbol 387 EditableTextUses:101Used by:403
Symbol 388 TextUses:101Used by:403
Symbol 389 TextUses:101Used by:393
Symbol 390 TextUses:101Used by:393
Symbol 391 TextUses:101Used by:393
Symbol 392 GraphicUsed by:393
Symbol 393 ButtonUses:389 390 391 392 94Used by:403
Symbol 394 EditableTextUses:101Used by:403
Symbol 395 TextUses:101Used by:399
Symbol 396 TextUses:101Used by:399
Symbol 397 TextUses:101Used by:399
Symbol 398 GraphicUsed by:399
Symbol 399 ButtonUses:395 396 397 398 94Used by:403
Symbol 400 FontUsed by:401 405
Symbol 401 EditableTextUses:400Used by:402
Symbol 402 MovieClipUses:401Used by:403
Symbol 403 MovieClipUses:368 61 63 75 373 378 383 385 386 387 388 393 106 394 399 402Used by:Timeline
Symbol 404 GraphicUsed by:Timeline
Symbol 405 EditableTextUses:400Used by:406
Symbol 406 MovieClipUses:405Used by:Timeline
Symbol 407 GraphicUsed by:408
Symbol 408 MovieClipUses:407Used by:Timeline
Symbol 409 GraphicUsed by:410
Symbol 410 MovieClipUses:409Used by:Timeline
Symbol 411 FontUsed by:412 456 469 473 477
Symbol 412 EditableTextUses:411Used by:Timeline
Symbol 413 GraphicUsed by:418
Symbol 414 GraphicUsed by:418
Symbol 415 GraphicUsed by:418
Symbol 416 GraphicUsed by:418
Symbol 417 GraphicUsed by:418
Symbol 418 MovieClipUses:413 414 415 416 417Used by:Timeline
Symbol 419 FontUsed by:420 457 470 474 478
Symbol 420 EditableTextUses:419Used by:Timeline
Symbol 421 FontUsed by:422 458 471 475 479
Symbol 422 EditableTextUses:421Used by:Timeline
Symbol 423 GraphicUsed by:433
Symbol 424 SoundUsed by:433
Symbol 425 SoundUsed by:433
Symbol 426 SoundUsed by:433
Symbol 427 SoundUsed by:433
Symbol 428 SoundUsed by:433
Symbol 429 SoundUsed by:433
Symbol 430 SoundUsed by:433
Symbol 431 SoundUsed by:433
Symbol 432 SoundUsed by:433
Symbol 433 MovieClipUses:423 424 425 426 427 428 429 430 431 432Used by:Timeline
Symbol 434 FontUsed by:435 459
Symbol 435 EditableTextUses:434Used by:Timeline
Symbol 436 GraphicUsed by:437
Symbol 437 MovieClipUses:436Used by:Timeline
Symbol 438 GraphicUsed by:446
Symbol 439 GraphicUsed by:445 466
Symbol 440 GraphicUsed by:445
Symbol 441 GraphicUsed by:445
Symbol 442 GraphicUsed by:443 445
Symbol 443 MovieClipUses:442Used by:445
Symbol 444 GraphicUsed by:445
Symbol 445 MovieClipUses:439 440 59 441 442 443 444Used by:446
Symbol 446 MovieClipUses:438 445Used by:455 476
Symbol 447 GraphicUsed by:450
Symbol 448 GraphicUsed by:450
Symbol 449 GraphicUsed by:450
Symbol 450 MovieClipUses:447 448 59 449 296Used by:455 476
Symbol 451 GraphicUsed by:454
Symbol 452 GraphicUsed by:454
Symbol 453 GraphicUsed by:454
Symbol 454 MovieClipUses:451 452 59 453 296Used by:455 476
Symbol 455 MovieClipUses:446 210 281 290 450 454 307 343 329 366 360Used by:Timeline
Symbol 456 EditableTextUses:411Used by:Timeline
Symbol 457 EditableTextUses:419Used by:Timeline
Symbol 458 EditableTextUses:421Used by:Timeline
Symbol 459 EditableTextUses:434Used by:Timeline
Symbol 460 GraphicUsed by:467
Symbol 461 GraphicUsed by:466
Symbol 462 GraphicUsed by:466
Symbol 463 GraphicUsed by:464
Symbol 464 MovieClipUses:463Used by:466
Symbol 465 GraphicUsed by:466
Symbol 466 MovieClipUses:439 461 59 462 464 465Used by:467
Symbol 467 MovieClipUses:460 466Used by:468
Symbol 468 MovieClipUses:467 210 281 290 297 300 307 343 329 366 360Used by:Timeline
Symbol 469 EditableTextUses:411Used by:Timeline
Symbol 470 EditableTextUses:419Used by:Timeline
Symbol 471 EditableTextUses:421Used by:Timeline
Symbol 472 MovieClipUses:209 210 281 290 297 300 307 343 329 366 360Used by:Timeline
Symbol 473 EditableTextUses:411Used by:Timeline
Symbol 474 EditableTextUses:419Used by:Timeline
Symbol 475 EditableTextUses:421Used by:Timeline
Symbol 476 MovieClipUses:446 210 281 290 450 454 307 343 329 366 360Used by:Timeline
Symbol 477 EditableTextUses:411Used by:Timeline
Symbol 478 EditableTextUses:419Used by:Timeline
Symbol 479 EditableTextUses:421Used by:Timeline

Instance Names

"menu"Frame 3Symbol 203 MovieClip
"ground"Frame 5Symbol 367 MovieClip
"countDown"Frame 5Symbol 406 MovieClip
"bar"Frame 5Symbol 408 MovieClip
"hud2"Frame 5Symbol 418 MovieClip
"meh"Frame 5Symbol 420 EditableText
"sfx"Frame 5Symbol 433 MovieClip
"meh"Frame 5Symbol 435 EditableText
"ground"Frame 6Symbol 455 MovieClip
"countDown"Frame 6Symbol 406 MovieClip
"meh"Frame 6Symbol 457 EditableText
"sfx"Frame 6Symbol 433 MovieClip
"meh"Frame 6Symbol 459 EditableText
"ground"Frame 7Symbol 468 MovieClip
"pausescreen"Frame 7Symbol 403 MovieClip
"countDown"Frame 7Symbol 406 MovieClip
"meh"Frame 7Symbol 470 EditableText
"sfx"Frame 7Symbol 433 MovieClip
"ground"Frame 8Symbol 472 MovieClip
"countDown"Frame 8Symbol 406 MovieClip
"meh"Frame 8Symbol 474 EditableText
"sfx"Frame 8Symbol 433 MovieClip
"ground"Frame 9Symbol 476 MovieClip
"meh"Frame 9Symbol 478 EditableText
"sfx"Frame 9Symbol 433 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 343 MovieClip Frame 148Symbol 337 MovieClip
"tur"Symbol 343 MovieClip Frame 158Symbol 337 MovieClip
"tur"Symbol 343 MovieClip Frame 168Symbol 337 MovieClip
"flr"Symbol 367 MovieClip Frame 1Symbol 209 MovieClip
"meh"Symbol 367 MovieClip Frame 1Symbol 210 MovieClip
"stuff"Symbol 367 MovieClip Frame 1Symbol 281 MovieClip
"spark"Symbol 367 MovieClip Frame 1Symbol 290 MovieClip
"bullet"Symbol 367 MovieClip Frame 1Symbol 307 MovieClip
"dup"Symbol 367 MovieClip Frame 1Symbol 343 MovieClip
"explosion"Symbol 367 MovieClip Frame 1Symbol 329 MovieClip
"powerup"Symbol 367 MovieClip Frame 1Symbol 360 MovieClip
"character"Symbol 367 MovieClip Frame 1Symbol 366 MovieClip
"hsOutput"Symbol 403 MovieClip Frame 3Symbol 402 MovieClip
"txt"Symbol 406 MovieClip Frame 1Symbol 405 EditableText
"flr"Symbol 455 MovieClip Frame 1Symbol 446 MovieClip
"meh"Symbol 455 MovieClip Frame 1Symbol 210 MovieClip
"stuff"Symbol 455 MovieClip Frame 1Symbol 281 MovieClip
"spark"Symbol 455 MovieClip Frame 1Symbol 290 MovieClip
"bullet"Symbol 455 MovieClip Frame 1Symbol 307 MovieClip
"dup"Symbol 455 MovieClip Frame 1Symbol 343 MovieClip
"explosion"Symbol 455 MovieClip Frame 1Symbol 329 MovieClip
"character"Symbol 455 MovieClip Frame 1Symbol 366 MovieClip
"powerup"Symbol 455 MovieClip Frame 1Symbol 360 MovieClip
"flr"Symbol 468 MovieClip Frame 1Symbol 467 MovieClip
"meh"Symbol 468 MovieClip Frame 1Symbol 210 MovieClip
"stuff"Symbol 468 MovieClip Frame 1Symbol 281 MovieClip
"spark"Symbol 468 MovieClip Frame 1Symbol 290 MovieClip
"bullet"Symbol 468 MovieClip Frame 1Symbol 307 MovieClip
"dup"Symbol 468 MovieClip Frame 1Symbol 343 MovieClip
"explosion"Symbol 468 MovieClip Frame 1Symbol 329 MovieClip
"character"Symbol 468 MovieClip Frame 1Symbol 366 MovieClip
"powerup"Symbol 468 MovieClip Frame 1Symbol 360 MovieClip
"flr"Symbol 472 MovieClip Frame 1Symbol 209 MovieClip
"meh"Symbol 472 MovieClip Frame 1Symbol 210 MovieClip
"stuff"Symbol 472 MovieClip Frame 1Symbol 281 MovieClip
"spark"Symbol 472 MovieClip Frame 1Symbol 290 MovieClip
"bullet"Symbol 472 MovieClip Frame 1Symbol 307 MovieClip
"dup"Symbol 472 MovieClip Frame 1Symbol 343 MovieClip
"explosion"Symbol 472 MovieClip Frame 1Symbol 329 MovieClip
"character"Symbol 472 MovieClip Frame 1Symbol 366 MovieClip
"powerup"Symbol 472 MovieClip Frame 1Symbol 360 MovieClip
"flr"Symbol 476 MovieClip Frame 1Symbol 446 MovieClip
"meh"Symbol 476 MovieClip Frame 1Symbol 210 MovieClip
"stuff"Symbol 476 MovieClip Frame 1Symbol 281 MovieClip
"spark"Symbol 476 MovieClip Frame 1Symbol 290 MovieClip
"bullet"Symbol 476 MovieClip Frame 1Symbol 307 MovieClip
"dup"Symbol 476 MovieClip Frame 1Symbol 343 MovieClip
"explosion"Symbol 476 MovieClip Frame 1Symbol 329 MovieClip
"character"Symbol 476 MovieClip Frame 1Symbol 366 MovieClip
"powerup"Symbol 476 MovieClip Frame 1Symbol 360 MovieClip

Special Tags

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

Dynamic Text Variables

killSymbol 387 EditableText"Kills:99999999999"
nameSymbol 394 EditableText"Enter Name Here"
textSymbol 401 EditableText""
nameSymbol 405 EditableText" "
healthSymbol 412 EditableText"100"
killSymbol 420 EditableText"0"
wpnSymbol 422 EditableText"Weapon Lv: 99"
timeSymbol 435 EditableText""
healthSymbol 456 EditableText"100"
killSymbol 457 EditableText"0"
wpnSymbol 458 EditableText""
timeSymbol 459 EditableText""
healthSymbol 469 EditableText"100"
killSymbol 470 EditableText"0"
wpnSymbol 471 EditableText"Weapon Lv: 99"
healthSymbol 473 EditableText"100"
killSymbol 474 EditableText"0"
wpnSymbol 475 EditableText"Weapon Lv: 99"
healthSymbol 477 EditableText"100"
killSymbol 478 EditableText"0"
wpnSymbol 479 EditableText"Weapon Lv: 99"




http://swfchan.com/1/4169/info.shtml
Created: 17/6 -2019 05:23:18 Last modified: 17/6 -2019 05:23:18 Server time: 06/12 -2025 08:26:02