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

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

Greedy Ghouls - Shoot down ghouls and upgrade your weapon and money tree!.swf

This is the info page for
Flash #136342

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


Text
GREEDY GHOULS

PLAY

Loading...

GREEDY GHOULS!

PLAY

CREDITS

MORE GAMES

Developed By: Christopher Gregorio

CLEAR SAVE

Are You Sure?

YES

NO

MUTE

MUTE

<p align="center"><font face="Myriad Pro" size="28" color="#ffffff" letterSpacing="0.000000" kerning="1"><b>15</b></font></p>

LOCKED

<p align="left"><font face="Myriad Pro" size="28" color="#ffffff" letterSpacing="0.000000" kerning="1"><b>$10,000</b></font></p>

You Have

<p align="right"><font face="Myriad Pro" size="14" color="#ffffff" letterSpacing="0.000000" kerning="1"><b>$200,000</b></font></p>

<p align="left"><font face="Myriad Pro" size="14" color="#ffffff" letterSpacing="0.000000" kerning="1"><b>This is a short description about the gun you&apos;re about to buy.</b></font></p>

Cost

Press 'E' to access the shop

<p align="right"><font face="Myriad Pro" size="20" color="#ffffff" letterSpacing="0.000000" kerning="1"><b>$ 50,000</b></font></p>

<p align="right"><font face="Myriad Pro" size="36" color="#333333" letterSpacing="0.000000" kerning="1"><b>TIME: 500</b></font></p>

<p align="right"><font face="Myriad Pro" size="36" color="#333333" letterSpacing="0.000000" kerning="1"><b>RINGS: 50/50</b></font></p>

<p align="left"><font face="Myriad Pro" size="12" color="#0099ff" letterSpacing="0.000000" kerning="1"><b>37200</b></font></p>

<p align="left"><font face="Myriad Pro" size="12" color="#0099ff" letterSpacing="0.000000" kerning="1"><b>37200</b></font></p>

<p align="left"><font face="Myriad Pro" size="12" color="#0099ff" letterSpacing="0.000000" kerning="1"><b>372</b></font></p>

<p align="left"><font face="Myriad Pro" size="12" color="#0099ff" letterSpacing="0.000000" kerning="1"><b>37200</b></font></p>

Kills:

Kills:

Ring:

Ring:

Score:

Day:

Day:

<p align="center"><font face="Myriad Pro" size="57" color="#000000" letterSpacing="0.000000" kerning="1"><b>DAY 10</b></font></p>

Achievement:

<p align="left"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1"><b>Achievements Here!</b></font></p>

<p align="left"><font face="Myriad Pro" size="12" color="#0099ff" letterSpacing="0.000000" kerning="1"><b>37200</b></font></p>

Wind:

<p align="left"><font face="Myriad Pro" size="25" color="#ffffff" letterSpacing="0.000000" kerning="1"><b>Level 10 Tasks</b></font></p>

<p align="left"><font face="Myriad Pro" size="25" color="#ffffff" letterSpacing="0.000000" kerning="1"><b>Level 10 Tasks Completed</b></font></p>

DONE

DONE

DONE

DONE

<p align="left"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">Collect 50 Rings and jump through flames.</font></p>

<p align="left"><font face="Myriad Pro" size="20" color="#ffffff" letterSpacing="0.000000" kerning="1"><b>Rings</b></font></p>

MORE GAMES

MORE GAMES

MORE GAMES

MORE GAMES

<p align="right"><font face="Myriad Pro" size="14" color="#ffffff" letterSpacing="0.000000" kerning="1"><b>HIGHSCORE: 100,000,000</b></font></p>

PAUSED

(Press P to unpause)

CLICK FOR SUICIDE

GO TO MENU

20% MORE

Gold Per Kill

Score Per Kill

+More Starting Gold

Health

<p align="center"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1"><b>Task Level 2</b></font></p>

<p align="left"><font face="Myriad Pro" size="12" color="#0099ff" letterSpacing="0.000000" kerning="1"><b>This is information about the achi...</b></font></p>

<p align="center"><font face="Myriad Pro" size="25" color="#ffffff" letterSpacing="0.000000" kerning="1"><b>DAY 100 COMPLETE</b></font></p>

TASK LEVEL:

<p align="left"><font face="Myriad Pro" size="96" color="#ffffff" letterSpacing="0.000000" kerning="1"><b>10</b></font></p>

BONUS:

<p align="left"><font face="Myriad Pro" size="46" color="#ffffff" letterSpacing="0.000000" kerning="1"><b>$400,000</b></font></p>

<p align="left"><font face="Myriad Pro" size="20" color="#ffffff" letterSpacing="0.000000" kerning="1"><b>+ $200,000</b></font></p>

RECORD KILLS:

<p align="left"><font face="Myriad Pro" size="40" color="#ffffff" letterSpacing="0.000000" kerning="1"><b>5000</b></font></p>

RECORD SCORE:

<p align="left"><font face="Myriad Pro" size="40" color="#ffffff" letterSpacing="0.000000" kerning="1"><b>500,000</b></font></p>

Q

Turret Shop

Press 'E' to close

<p align="left"><font face="Myriad Pro" size="14" color="#ffffff" letterSpacing="0.000000" kerning="1"><b>$400</b></font></p>

<p align="left"><font face="Myriad Pro" size="14" color="#ffffff" letterSpacing="0.000000" kerning="1"><b>Ground Freeze</b></font></p>

<p align="left"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">Shoots enemies </font></p><p align="left"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1">on the ground</font></p>

This is your character.

He can be moved with WASD or Arrow Keys

Use the mouse to aim!

(Click anywhere to continue)

Windfall Mode

Rings Collected

Score

Current Day

Below is the HUD, it displays useful
statistics about your current play session

*Note - Windfall mode makes monsters drop double money!

Below displays your total kills for the current game.
In order to beat the game you must fill it up!

Below are your tasks: The object of
the game is to complete all your
current tasks and upgrade your tree.

Health

Shop

Money

At any time you may hit  'E' to enter the shop
and buy turrets.

'P' to pause and 'M' to mute 'Q' to change quality

Tutorial

<p align="left"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1"><b>Welcome!</b></font></p>

(Click to Continue)

Tutorial Complete

THE GOAL OF THE GAME IS TO DO THE TASKS.
FOCUS ON THEM TO GET BONUSES!

<p align="right"><font face="Myriad Pro" size="12" color="#ffffff" letterSpacing="0.000000" kerning="1"><b>Next Weapon: $50,000,000</b></font></p>

CREDITS

Art By:

Christopher Gregorio

Jesse Turner (Jouste)

Michael Sung (Miccool)

Sound By:

Design/Programming By:

<p align="left"><font face="Myriad Pro" size="12" color="#000000" letterSpacing="0.000000" kerning="1"><b>zaguios@gmail.com</b></font></p>

BACK

Sound-Tricks

www.sound-tricks.com

Sponsored By:

CONGRATULATIONS!

YOU WON!

...what? Where you expecting a prize or something?

Normally I'd give you a cutscene, but I'm pretty lousy at art

and lazy...

So Instead here is a picture of an upside down bunny

MORE GAMES

THIS GAME IS CURRENTLY SITE-LOCKED

THE PUBLIC VERISON CAN BE DOWNLOABLE ON
ARMORGAMES.COM ON 2/13/2012

ActionScript [AS1/AS2]

Frame 1
function onEnterFrame() { if (this._currentframe == 1) { bytes_loaded = Math.round(this.getBytesLoaded()); bytes_total = Math.round(this.getBytesTotal()); getPercent = bytes_loaded / bytes_total; loader._xscale = getPercent * 100; moneyTree.gotoAndStop(Math.floor(getPercent * 6) + 1); if (bytes_loaded == bytes_total) { if (((domain == "armorgames.com") || (domain == "www.armorgames.com")) || (domain == "https://www.armorgames.com")) { gotoAndStop (2); } else { loading._alpha = 0; pBtn._x = Stage.width / 2; pBtn.onRollOver = function () { pBtn._alpha = 50; }; pBtn.onRollOut = function () { pBtn._alpha = 100; }; pBtn.onRelease = function () { gotoAndStop (2); }; } } } } function goToThisURL() { getURL ("http://armorgames.com/", "_blank"); } function createContextMenu(menu) { _root.menu = menu; } function __com_mochibot__(swfid, mc, lv, trk) { var x; var g; var s; var fv; var sb; var u; var res; var mb; var mbc; var pv; mb = "__mochibot__"; mbc = "mochibot.com"; g = (_global ? (_global) : (_level0._root)); if (g[mb + swfid]) { return(g[mb + swfid]); } s = System.security; x = mc._root.getSWFVersion; fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5))); if (!s) { s = {}; } sb = s.sandboxType; if (sb == "localWithFile") { return(null); } x = s.allowDomain; if (x) { s.allowDomain(mbc); } x = s.allowInsecureDomain; if (x) { s.allowInsecureDomain(mbc); } pv = ((fv == 5) ? (getVersion()) : (System.capabilities.version)); u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=8&fv=") + fv) + "&v=") + escape(pv)) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "")) + (trk ? "&t=1" : ""); lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv)))); g[mb + "level"] = lv; if (fv == 5) { res = "_level" + lv; if (!eval (res)) { loadMovieNum (u, lv); } } else { res = mc.createEmptyMovieClip(mb + swfid, lv); res.loadMovie(u); } return(res); } stop(); Color.prototype.setTint = function (r, g, b, amount) { var _local2 = new Object(); _local2.ra = (_local2.ga = (_local2.ba = 100 - amount)); var _local3 = amount / 100; _local2.rb = r * _local3; _local2.gb = g * _local3; _local2.bb = b * _local3; this.setTransform(_local2); }; var myMenu = new ContextMenu(); myMenu.hideBuiltInItems(); var mainItem = new ContextMenuItem("Play More Games", goToThisURL); myMenu.customItems.push(mainItem); createContextMenu(myMenu); urlStart = _url.indexOf("://") + 3; urlEnd = _url.indexOf("/", urlStart); domain = _url.substring(urlStart, urlEnd); LastDot = domain.lastIndexOf(".") - 1; domEnd = domain.lastIndexOf(".", LastDot) + 1; domain = domain.substring(domEnd, domain.length); __com_mochibot__("25e3ac41", this, 10301, true); if (((domain == "armorgames.com") || (domain == "www.armorgames.com")) || (domain == "https://www.armorgames.com")) { adBox._x = 2000; } else { var CPMStarContentSpotID = "0"; System.security.allowDomain("server.cpmstar.com"); adBox.loadMovie("http://server.cpmstar.com/adviewas2.swf?contentspotid=6493Q827358BF"); }
Instance of Symbol 102 MovieClip in Frame 2
on (release) { getURL ("http://armorgames.com", "_BLANK"); }
Frame 3
function createNormalHover(button) { button._alpha = 100; button.onRollOver = function () { button._alpha = 75; }; button.onRollOut = function () { button._alpha = 100; }; button.onReleaseOutside = function () { button._alpha = 100; }; } function createMiniScreen() { miniScreen._x = Stage.width / 2; createNormalHover(miniScreen.yBtn); createNormalHover(miniScreen.nBtn); miniScreen.yBtn.onRelease = function () { sObject.clear(); resetValues(); miniScreen._x = -300; }; miniScreen.nBtn.onRelease = function () { miniScreen._x = -300; }; } function aHover(button, num) { button.onRollOver = function () { growBig[num - 1] = true; }; button.onRollOut = function () { growBig[num - 1] = false; }; } function onEnterFrame() { i = buttons.length - 1; while (i >= 0) { button = buttons[i]; if (growBig[i]) { button._xscale = (button._yscale = button._yscale + ((200 - button._xscale) / 2)); } else { button._xscale = (button._yscale = button._yscale + ((100 - button._xscale) / 2)); } i--; } characterMovement(); } function characterMovement() { if (Key.isDown(39) || (Key.isDown(68))) { xSpeed = xSpeed + speed; } if (Key.isDown(37) || (Key.isDown(65))) { xSpeed = xSpeed - speed; } if (Key.isDown(38) || (Key.isDown(87))) { if (!justPressed) { if (!firstJump) { ySpeed = -20; firstJump = true; } else if (!secondJump) { secondJump = true; } justPressed = true; } } else { justPressed = false; } ySpeed = ySpeed + gravity; ySpeed = ySpeed * airFriction; xSpeed = xSpeed * friction; if (xSpeed <= 0) { char._xscale = -100; } else { char._xscale = 100; } char._x = char._x + xSpeed; char._y = char._y + ySpeed; if (level.hitTest(char._x, char._y + 23, true)) { ySpeed = 0; firstJump = false; secondJump = false; } else { firstJump = true; } while (level.hitTest(char._x, char._y + 23, true)) { char._y = char._y - 0.05; } while (level.hitTest(char._x + (char._width / 2), char._y, true)) { char._x = char._x - 1; xSpeed = 0; } while (level.hitTest(char._x - (char._width / 2), char._y, true)) { char._x = char._x + 1; xSpeed = 0; } while (level.hitTest(char._x, char._y - (char._height / 2), true)) { char._y = char._y + 1; ySpeed = 0; } if ((char._x + 20) >= Stage.width) { char._x = Stage.width - 20; xSpeed = 0; } if ((char._x - 20) <= 0) { char._x = 20; xSpeed = 0; } switchBack = false; if (char._xscale < 0) { switchBack = true; } if ((char._xscale >= 50) && ((_xmouse - char._x) <= 0)) { char.ina.gun._xscale = -100; char.ina.gun._rotation = ((Math.atan2(_ymouse - char._y, (_xmouse - char._x) * (char._xscale / 100)) * 180) / Math.PI) + 180; } if ((char._xscale >= 50) && ((_xmouse - char._x) > 0)) { char.ina.gun._xscale = 100; char.ina.gun._rotation = (Math.atan2(_ymouse - char._y, (_xmouse - char._x) * (char._xscale / 100)) * 180) / Math.PI; } if ((char._xscale <= -50) && ((_xmouse - char._x) <= 0)) { char.ina.gun._xscale = 100; char.ina.gun._rotation = (Math.atan2(_ymouse - char._y, (_xmouse - char._x) * (char._xscale / 100)) * 180) / Math.PI; } if ((char._xscale <= -50) && ((_xmouse - char._x) > 0)) { char.ina.gun._xscale = -100; char.ina.gun._rotation = ((Math.atan2(_ymouse - char._y, (_xmouse - char._x) * (char._xscale / 100)) * 180) / Math.PI) + 180; } } function resetValues() { taskLevel = 1; tasksCompleted = new Array(false, false, false); moneyTreeFrame = 1; highscore = 0; startingMoney = 0; gameWon = false; days = 0; killsHighscore = 0; } function loadGame() { taskLevel = 1; tasksCompleted = new Array(false, false, false); moneyTreeFrame = 1; highscore = 0; startingMoney = 0; gameWon = false; days = 0; killsHighscore = 0; i = 0; while (i <= tasksCompleted.length) { if (sObject.data.tasksCompleted[i] != undefined) { tasksCompleted[i] = sObject.data.tasksCompleted[i]; } i++; } if (sObject.data.taskLevel != undefined) { taskLevel = sObject.data.taskLevel; } if (sObject.data.moneyTreeFrame != undefined) { moneyTreeFrame = sObject.data.moneyTreeFrame; } if (sObject.data.highscore != undefined) { highscore = sObject.data.highscore; } if (sObject.data.startingMoney != undefined) { startingMoney = sObject.data.startingMoney; } if (sObject.data.gameWon != undefined) { gameWon = sObject.data.gameWon; } if (sObject.data.days != undefined) { days = sObject.data.days; } if (sObject.data.killsHighscore != undefined) { killsHighscore = sObject.data.killsHighscore; } if (taskLevel == 0) { resetValues(); } } stop(); theQuestion.gotoAndStop(random(10) + 1); menuSong.stop(); song.stop(); menuSong = new Sound(this); menuSong.attachSound("menu.wav"); menuSong.start(0, 100000); buttons = new Array(playBtn, cg, pmg, cs, mBtn); growBig = new Array(false, false, false, false, false); ag.onRollOver = function () { ag._alpha = 50; }; ag.onRollOut = function () { ag._alpha = 100; }; ag.onRelease = function () { getURL ("http://armorgames.com/", "_BLANK"); }; playBtn.onRelease = function () { gotoAndStop (4); }; cg.onRelease = function () { gotoAndStop (5); }; pmg.onRelease = function () { getURL ("http://armorgames.com/", "_BLANK"); }; cs.onRelease = function () { createMiniScreen(); }; isMuted = false; mBtn.onRelease = function () { isMuted = !isMuted; if (isMuted) { mBtn.gotoAndStop(2); menuSong.setVolume(0); } else { mBtn.gotoAndStop(1); menuSong.setVolume(100); } }; i = buttons.length - 1; while (i >= 0) { aHover(buttons[i], i + 1); i--; } xSpeed = 0; ySpeed = 0; gravity = 1.2; friction = 0.8; airFriction = 0.95; speed = 2; firstJump = false; secondJump = false; char.ina.gun._alpha = 0; resetValues(); sObject = SharedObject.getLocal("saveFile"); Key.removeListener(keyListener); loadGame();
Frame 4
function saveGame() { sObject.data.taskLevel = taskLevel; sObject.data.tasksCompleted = tasksCompleted; sObject.data.moneyTreeFrame = moneyTree._currentframe; sObject.data.highscore = highscore; sObject.data.startingMoney = startingMoney; sObject.data.gameWon = gameWon; sObject.data.days = days; sObject.data.killsHighscore = killsHighscore; sObject.flush(); } function setRingLocation() { ring._x = random(Stage.width - ring._width) + (ring._width / 2); ring._y = (random(((Stage.height - ring._height) - lHeight) - 50) + (ring._height / 2)) + 50; } function init() { startNewWave = false; bulletMissed = false; tutBox._alpha = 0; turretAmounts = new Array(0, 0, 0, 0); windfallModeTimes = 0; killsInAir = 0; hitOnDayOne = false; hasShot = false; rFlash._x = Stage.width / 2; rFlash._y = Stage.height / 2; wFlash._x = Stage.width / 2; wFlash._y = Stage.height / 2; health = healthArray[taskLevel - 1]; rings = 0; if (inTutorial) { ring._x = -100; } else { setRingLocation(); } framesToGo = times[0] * 30; gamePause = false; shopExists = false; shotDelay = 0; mDown = false; gunUsed = 1; firstJump = false; secondJump = false; char.ina.gun._alpha = 100; ps._alpha = 0; money = initialGolds[taskLevel - 1] + startingMoney; kills = 0; windfallKills = 0; time = 0; score = 0; xp = 0; char._alpha = 100; charLevel = 1; ringsSinceHit = 0; windTime = 0; onWave = 1; levelsUnlocked = 1; myColor = new Color(char); tintAmt = 0; myColor.setTint(255, 255, 255, tintAmt); isWhite = false; justPressedSpace = false; shopStartRemove = false; giveNotice = true; xSpeed = 0; ySpeed = 0; coinsCollected = 0; char.ina.gun.gotoAndStop(gunUsed); bg.play(); char._x = 214; char._y = 268; } function pauseStuff() { if (playerPause) { _root._x = 0; _root._y = 0; ps2 = attachMovie("pauseScreen", "pauseScreen", 985050); ps2._x = Stage.width / 2; ps2._y = Stage.height / 2; } else { ps2.removeMovieClip(); } createNormalHover(ps2.cfs); ps2.cfs.onRelease = function () { bClick.start(); health = 0; clearScreen(); health = healthArray[taskLevel - 1]; gamePause = true; createTree(); ps2.removeMovieClip(); playerPause = false; }; createNormalHover(ps2.gtm); ps2.gtm.onRelease = function () { ps2.removeMovieClip(); char.removeMovieClip(); tutComplete.removeMovieClip(); clearScreen(); gotoAndStop (3); }; } function createTree() { if (taskLevel > moneyTree._currentframe) { bg.gotoAndStop(1); startTreeAnim = true; } else if ((!gameWon) && (toFinish)) { char.removeMovieClip(); tutComplete.removeMovieClip(); clearScreen(); saveGame(); gotoAndStop (6); gameWon = true; } else { createLevelFinishScreen(); } } function giveTutorialAward(num) { if (tutorialStage == 5) { if (!tasksCompleted[num - 1]) { tasksCompleted[num - 1] = true; award.gotoAndPlay(2); award.aname.awardName.htmlText = bold(preTasks[num - 1]); allTasksCompleted = true; i = tasksCompleted.length - 1; while (i >= 0) { if (!tasksCompleted[i]) { allTasksCompleted = false; } i--; } if (allTasksCompleted) { taskLevelUp(); } } } } function giveAward(num) { if (((Math.floor((num - 1) / 3) + 1) == taskLevel) && (!tasksCompleted[(num - 1) % 3])) { tasksCompleted[(num - 1) % 3] = true; allTasksCompleted = true; award.gotoAndPlay(2); award.aname.awardName.htmlText = bold(tasks[taskLevel - 1][(num - 1) % 3]); i = tasksCompleted.length - 1; while (i >= 0) { if (!tasksCompleted[i]) { allTasksCompleted = false; } i--; } if (allTasksCompleted) { taskLevelUp(); if (onWave >= 3) { giveAward(8); } } saveGame(); } } function taskLevelUp() { taskLevel = taskLevel + 1; a1.c1._alpha = 0; a2.c1._alpha = 0; a3.c1._alpha = 0; tasksCompleted = new Array(false, false, false); if (inTutorial) { delayToDone = 180; tutComplete.gotoAndPlay(2); } saveGame(); } function manageStars() { s = stars.length - 1; while (s >= 0) { star = stars[s]; if (star.Type == 1) { if ((!gamePause) && (!playerPause)) { star._y = star._y - 3; star._xscale = (star._yscale = star._yscale - 5); if (star._xscale <= 0) { removeStar(); } } } if (star.Type == 2) { star._x = star._x + star.xSpeed; star._y = star._y + star.ySpeed; star.xSpeed = star.xSpeed * 0.95; star.ySpeed = star.ySpeed * 0.95; star._xscale = (star._yscale = star._yscale - 5); if (star._xscale <= 0) { removeStar(); } } s--; } } function removeStar() { star.removeMovieClip(); stars.splice(s, 1); } function onEnterFrame() { if ((!gamePause) && (!playerPause)) { characterMovement(); if ((!inTutorial) || (tutorialStage >= 3)) { shootingManagement(); } if (mBonus._x != undefined) { mBonus._x = char._x + 70; mBonus._y = char._y - 10; } bulletMovement(); if (!inTutorial) { if (!startNewWave) { ghostManagement(); } if (startNewWave && (ghosts.length == 0)) { newWaveDelay = newWaveDelay - 1; if (newWaveDelay == 10) { toCreate = false; j = 0; while (j < 4) { if (money >= turretCosts[j][turretAmounts[j]]) { toCreate = true; } j++; } if (toCreate) { createTurretShop(); } } if (newWaveDelay == 1) { onWave = onWave + 1; ring._x = random(Stage.width - ring._width) + (ring._width / 2); ring._y = (random(((Stage.height - ring._height) - lHeight) - 50) + (ring._height / 2)) + 50; startNewWave = false; newWaveDelay = 0; dayUp.d1.dTxt.htmlText = bold("DAY " + onWave); dayUp.gotoAndPlay(2); framesToGo = times[onWave - 1] * 30; t2.gotoAndPlay(2); t1.bar.gotoAndPlay(2); if ((onWave == 2) && (!hitOnDayOne)) { giveAward(7); } if ((onWave == 3) && (!bulletMissed)) { giveAward(25); } if (onWave == 7) { giveAward(22); } if (onWave == 9) { giveAward(26); } if (onWave >= 3) { giveAward(8); } if (onWave == 2) { giveAward(1); } if ((onWave == 3) && (rings == 0)) { giveAward(12); } if ((onWave == 4) && (gunUsed == 1)) { giveAward(18); } if (onWave == 5) { giveAward(13); } } } } else if (tutorialStage == 5) { tutorialGhostDelay = tutorialGhostDelay - 1; if (tutorialGhostDelay <= 0) { createGhost(1); tutorialGhostDelay = 240; } } ghostMovement(); ghostShotMovement(); turretManagement(); turretBulletManagement(); coinManagement(); hitTesting(); shaker(); if (isWhite) { tintAmt = tintAmt - 10; if (tintAmt <= 0) { isWhite = false; } myColor.setTint(255, 255, 255, tintAmt); } if (char.ina.g1.hitTest(ring.ina)) { rings = rings + 1; if (inTutorial) { if (rings >= 3) { tutorialNext(5); } } if ((onWave == 1) && (rings >= 15)) { giveAward(17); } if (rings >= 10) { giveAward(3); } if (rings >= 100) { giveAward(16); } if (rings >= 150) { giveAward(23); } ringsSinceHit = ringsSinceHit + 1; if (ringsSinceHit == 3) { mBonus = attachMovie("mBonus", "mBonus", 760600); mBonus.gotoAndPlay(1); } Ring2.start(); Ring2.start(); Ring2.start(); Ring2.start(); Ring2.start(); Ring2.start(); isWhite = true; tintAmt = 150; myColor.setTint(255, 255, 255, tintAmt); r1.bar.gotoAndPlay(2); r2.gotoAndPlay(2); while (char.ina.g1.hitTest(ring.ina)) { if (!startNewWave) { ring._x = random(Stage.width - ring._width) + (ring._width / 2); ring._y = (random(((Stage.height - ring._height) - lHeight) - 50) + (ring._height / 2)) + 50; } else { ring._x = -200; } } if (inTutorial && (rings >= 3)) { ring._x = -200; } } if (ringsSinceHit >= 3) { windTime = windTime + 1; if (stars.length == 0) { windfallModeTimes = windfallModeTimes + 1; if (windfallModeTimes >= 5) { giveAward(10); } } star = attachMovie("star", "star" + depth, depth++); star._x = (char._x + random(40)) - 20; star._y = (char._y + random(40)) - 20; star.Type = 1; stars.push(star); } bg.gotoAndStop(Math.floor((((times[onWave - 1] * 30) - framesToGo) / (times[onWave - 1] * 30)) * 490)); if (!inTutorial) { time = time + 1; framesToGo = framesToGo - 1; } if ((framesToGo <= 0) && (!startNewWave)) { startNewWave = true; newWaveDelay = newWaveDelayConst; framesToGo = 0; } if (health <= 0) { health = 0; explosion = attachMovie("explosion", "explosion" + depth, depth++); explosion._x = char._x; explosion._y = char._y; clearScreen(); health = healthArray[taskLevel - 1]; gamePause = true; startingMoney = startingMoney + (taskLevel * 10); createTree(); } if (Key.isDown(32)) { if (!justPressedSpace) { if (money >= weaponCosts[gunUsed]) { if ((!inTutorial) || (tutorialStage == 5)) { if (inTutorial) { giveTutorialAward(3); } money = money - weaponCosts[gunUsed]; weaponsOwned[gunUsed] = true; gunUsed = gunUsed + 1; if (gunUsed == 4) { giveAward(15); } char.ina.gun.gotoAndStop(gunUsed); ps.gotoAndStop(31); } } justPressedSpace = true; } } else { justPressedSpace = false; } if (dayUp._currentframe != 1) { dayUp.nextFrame(); } ps._x = char._x; ps._y = char._y - 40; } else if (Key.isDown(32)) { if (!justPressedSpace) { shopStartRemove = true; justPressedSpace = true; } } else { justPressedSpace = false; } if (shopStartRemove) { shop._x = shop._x + (((Stage.width * 1.5) - shop._x) / 4); if (shop._x >= ((Stage.width * 1.5) - 1)) { shop.removeMovieClip(); shopStartRemove = false; } } if (award._currentframe != 1) { award.nextFrame(); } if (startTreeAnim) { if (goingDown) { toWhiteAmt = toWhiteAmt + 2; ii._alpha = toWhiteAmt; myColor2.setTint(255, 255, 255, toWhiteAmt); if (toWhiteAmt >= 100) { toWhiteAmt = 100; moneyTree._y = moneyTree._y + theVertSpeed; theVertSpeed = theVertSpeed + 1; if ((moneyTree._y - (moneyTree._height / 2)) >= (level._y - (lHeight / 2))) { goingUp = true; goingDown = false; moneyTree.gotoAndStop(moneyTree._currentframe + 1); saveGame(); } } } if (goingUp) { moneyTree._y = moneyTree._y - theVertSpeed; theVertSpeed = theVertSpeed - 1; if (moneyTree._y <= normalY) { toWhiteAmt = 0; ii._alpha = toWhiteAmt; myColor2.setTint(255, 255, 255, 0); wFlash.gotoAndPlay(2); i = 20; while (i >= 0) { star = attachMovie("star", "star" + depth, depth++); star.dir = (Math.random() * Math.PI) * 2; star.Speed = random(10) + 10; star._xscale = (star._yscale = 100 + random(100)); star._x = moneyTree._x; star._y = moneyTree._y + 75; star.xSpeed = Math.cos(star.dir) * star.Speed; star.ySpeed = Math.sin(star.dir) * star.Speed; star._x = star._x + (star.xSpeed * 3); star._y = star._y + (star.ySpeed * 3); star.Type = 2; stars.push(star); i--; } startTreeAnim = false; if (moneyTree._currentframe < taskLevel) { startTreeAnim = true; toWhiteAmt = -100; } else { timeToCreateLevelFin = 50; createLevelFin = true; } goingUp = false; goingDown = true; moneyTree._y = normalY; } } } if (turretToPlace != null) { turretShop._x = turretShop._x + (((Stage.width * 1.5) - turretShop._x) / 4); if (turretShop._x >= ((Stage.width * 1.5) - 1)) { turretShop._x = Stage.width * 1.5; } turretToPlace._x = _xmouse; if (turretToPlace._x <= (turretToPlace._width / 2)) { turretToPlace._x = turretToPlace._width / 2; } if (turretToPlace._x >= (Stage.width - (turretToPlace._width / 2))) { turretToPlace._x = Stage.width - (turretToPlace._width / 2); } turretToPlace._y = turretYs[turretToPlaceNum]; } else if (turretShop._x != undefined) { turretShop._x = turretShop._x + (((Stage.width / 2) - turretShop._x) / 4); if (turretShop._x < ((Stage.width / 2) + 1)) { turretShop._x = Stage.width / 2; } } if (inTutorial) { delayToDone = delayToDone - 1; if (delayToDone == 60) { clearScreen(); init(); tutBox.swapDepths(500100); tutBox.removeMovieClip(); gamePause = true; bg.gotoAndStop(1); } if (delayToDone == 0) { gamePause = false; levelTask = 1; onWave = 1; inTutorial = false; tutComplete.removeMovieClip(); setRingLocation(); } } tutorialManagement(); levelManager(); manageStars(); lfManage(); achManagement(); shopManagement(); updateStats(); } function lfManage() { if (createLevelFin) { timeToCreateLevelFin = timeToCreateLevelFin - 1; if (timeToCreateLevelFin <= 0) { if ((!gameWon) && (toFinish)) { char.removeMovieClip(); tutComplete.removeMovieClip(); clearScreen(); saveGame(); gotoAndStop (6); gameWon = true; } else { createLevelFin = false; createLevelFinishScreen(); } } } } function tutorialManagement() { if (inTutorial) { if (inRealTutorial) { tutBox._alpha = tutBox._alpha + ((100 - tutBox._alpha) / 6); if (tutBox._alpha >= 99) { tutBox._alpha = 100; } } if (mDown) { mDownTime = mDownTime + 1; if (mDownTime >= 20) { tutorialNext(4); } } else { mDownTime = 0; } } } function tutorialNext(num) { if ((num - 1) == tutorialStage) { tutorialStage = num; tutBox.tTxt.htmlText = bold(tutorialDescriptions[tutorialStage - 1]); if (num == 4) { setRingLocation(); } } } function levelManager() { if (levelToCenter && (levelToExit)) { levelToCenter = false; } if (levelToCenter) { lf._x = lf._x + (((Stage.width / 2) - lf._x) / 4); if (lf._x <= ((Stage.width / 2) + 1)) { lf._x = Stage.width / 2; levelToCenter = false; } } if (levelToExit) { lf._x = lf._x + (((Stage.width * 1.5) - lf._x) / 4); if (lf._x >= ((Stage.width * 1.5) - 1)) { lf.removeMovieClip(); levelToExit = false; createAchScreen(); } } } function achManagement() { if (achToExit && (achToCenter)) { achToCenter = false; } if (achToCenter) { achScreen._x = achScreen._x + (((Stage.width / 2) - achScreen._x) / 4); if (achScreen._x >= ((Stage.width / 2) - 1)) { achScreen._x = Stage.width / 2; achToCenter = false; } } if (achToExit) { achScreen._x = achScreen._x + (((Stage.width * -0.5) - achScreen._x) / 4); if (achScreen._x <= ((Stage.width * -0.5) + 1)) { achScreen.removeMovieClip(); init(); achToExit = false; } } } function updateStats() { k1.bar._xscale = (kills / killsMax) * 100; if (kills >= 1000) { k1.bar._xscale = 100; } k1.iTxt.htmlText = bold(kills); if (k1.bar._xscale >= 100) { k1.bar._xscale = 100; } r1.bar._xscale = (rings / ringsMax) * 100; rTxt.htmlText = bold(rings); if (r1.bar._xscale >= 100) { r1.bar._xscale = 100; } t1.bar._xscale = (Math.floor(time / 30) / timeMax) * 100; tTxt.htmlText = bold(onWave); if (t1.bar._xscale >= 100) { t1.bar._xscale = 100; } s1.bar._xscale = (score / scoreMax) * 100; sTxt.htmlText = bold(score); if (s1.bar._xscale >= 100) { s1.bar._xscale = 100; } w1.bar._xscale = (xp / goalXPs[charLevel - 1]) * 100; w1.iTxt.htmlText = bold(xp); if (w1.bar._xscale >= 100) { w1.bar._xscale = 100; } wTxt.htmlText = bold(((xp + "/") + goalXPs[charLevel - 1]) + "xp"); lTxt.htmlText = bold("Level: " + charLevel); if (!inTutorial) { a1.aTxt.htmlText = bold(tasks[taskLevel - 1][0]); a2.aTxt.htmlText = bold(tasks[taskLevel - 1][1]); a3.aTxt.htmlText = bold(tasks[taskLevel - 1][2]); a1.tIcon.gotoAndStop(taskTypes[taskLevel - 1][0]); a2.tIcon.gotoAndStop(taskTypes[taskLevel - 1][1]); a3.tIcon.gotoAndStop(taskTypes[taskLevel - 1][2]); } else { a1.aTxt.htmlText = bold(preTasks[0]); a2.aTxt.htmlText = bold(preTasks[1]); a3.aTxt.htmlText = bold(preTasks[2]); a1.tIcon.gotoAndStop(taskPreTypes[0]); a2.tIcon.gotoAndStop(taskPreTypes[1]); a3.tIcon.gotoAndStop(taskPreTypes[2]); } nwTxt.htmlText = bold("Next Weapon: $" + weaponCosts[gunUsed]); if (tasksCompleted[0]) { a1.c1._alpha = 100; } if (tasksCompleted[1]) { a2.c1._alpha = 100; } if (tasksCompleted[2]) { a3.c1._alpha = 100; } w2Txt.htmlText = bold((Math.floor(windTime / 3) / 10) + "s"); if (Math.floor(windTime / 30) >= 10) { giveAward(5); } if (Math.floor(windTime / 30) >= 30) { giveAward(11); } if (Math.floor(windTime / 30) >= 120) { giveAward(21); } tlTxt.htmlText = bold("Task Level " + moneyTree._currentframe); hBar._xscale = (health / healthArray[taskLevel - 1]) * 100; timeTxt.htmlText = bold("TIME: " + (Math.floor(framesToGo / 490) + 1)); ringTxt.htmlText = bold("COMBO: X" + rings); monTxt.htmlText = bold("$" + money); if (shop._x != undefined) { shop.infor.monTxt.htmlText = bold(money); } } function ghostManagement() { ghostDelay = ghostDelay - 1; if (ghostDelay <= 0) { ghostDelay = ghostDelayArray[onWave - 1]; ghostToAdd = random(ghostsAllowedArray[onWave - 1]) + 1; createGhost(ghostToAdd); } } function createGhost(type) { ghost = attachMovie(ghostTypes[type - 1], "ghost" + depth, depth++); ghost.Type = type; side = random(2) + 1; ghost.ySpeed = 0; if (side == 1) { ghost._x = (-ghost._width) / 2; ghost.xSpeed = 3; } else { ghost._x = Stage.width + (ghost._width / 2); ghost.xSpeed = -3; ghost._xscale = -100; } ghost.frozen = -1; ghost.shotDelay = 50; ghost.attacking = false; ghost.health = 1; if (((type == 1) || (type == 3)) || (type == 5)) { if (type == 3) { ghost.xSpeed = ghost.xSpeed * 2; } if (type == 4) { ghost.health = 2; } if (type == 5) { ghost.health = 5; } ghost._y = (Stage.height - lHeight) - (ghost._height / 2); } if ((type == 2) || (type == 4)) { ghost._y = (((Stage.height - lHeight) - (ghost._height / 2)) - 50) - random(150); if (type == 4) { ghost.health = 2; } } ghosts.push(ghost); } function ghostMovement() { g = ghosts.length - 1; while (g >= 0) { ghost = ghosts[g]; ghost._x = ghost._x + ghost.xSpeed; ghost._y = ghost._y + ghost.ySpeed; ghost.frozen = ghost.frozen - 1; if (ghost.frozen > 0) { ghost._x = ghost._x - (ghost.xSpeed * 0.7); ghost._y = ghost._y - (ghost.ySpeed * 0.7); } ghost.shotDelay = ghost.shotDelay - 1; if (ghost.shotDelay <= 0) { ghost.shotDelay = 150 + random(50); createGhostShot(1); } if (ghost.Type == 4) { ghost.xSpeed = Math.cos(Math.atan2(char._y - ghost._y, char._x - ghost._x)) * 3; ghost.ySpeed = Math.sin(Math.atan2(char._y - ghost._y, char._x - ghost._x)) * 3; } if (ghost._x <= (char._x - 10)) { ghost._xscale = 100; ghost.xSpeed = Math.abs(ghost.xSpeed); } else if (ghost._x >= (char._x + 10)) { ghost._xscale = -100; ghost.xSpeed = -Math.abs(ghost.xSpeed); } if (ghost.hitTest(char.a1)) { health = health - 10; if (inTutorial) { health = health + 10; } hitOnDayOne = true; windTime = 0; ringsSinceHit = 0; pHit.start(); pHit.start(); removeGhost(true, g); rFlash.gotoAndPlay(2); } if (ghost.hitTest(tree)) { } if (ghost.attacking) { } g--; } } function createGhostShot(shotType) { if (shotType == 1) { enemyBullet = attachMovie("enemyBullet", "bullet" + depth, depth++); enemyBullet._x = ghost._x; enemyBullet._y = ghost._y; aim = Math.atan2(char._y - ghost._y, char._x - ghost._x) + ((Math.random() * 0.5) - 0.25); enemyBullet.xSpeed = Math.cos(aim) * 10; enemyBullet.ySpeed = Math.sin(aim) * 10; ghostShots.push(enemyBullet); enemyBullet.alive = true; enemyBullet.life = 90; } } function ghostShotMovement() { s = ghostShots.length - 1; while (s >= 0) { ghostShot = ghostShots[s]; ghostShot._x = ghostShot._x + ghostShot.xSpeed; ghostShot._y = ghostShot._y + ghostShot.ySpeed; if (level.hitTest(ghostShot._x, ghostShot._y, true) && (ghostShot.alive)) { ghostShot.alive = false; ghostShot.stop(); ghostShot.xSpeed = 0; ghostShot.ySpeed = 0; } if (!ghostShot.alive) { ghostShot.life = ghostShot.life - 1; if (ghostShot.life <= 50) { ghostShot._alpha = ghostShot.life * 2; } if (ghostShot.life <= 0) { removeGhostShot(); } } if (((ghostShot._x != undefined) && (char.a1.hitTest(ghostShot))) && (ghostShot.alive)) { health = health - 5; if (inTutorial) { health = health + 5; } hitOnDayOne = true; windTime = 0; ringsSinceHit = 0; pHit.start(); pHit.start(); removeGhostShot(); rFlash.gotoAndPlay(2); } if (ghostShot._x != undefined) { if ((ghostShot._x >= (Stage.width + (ghostShot._width / 2))) || (ghostShot._x <= (-(ghostShot._width / 2)))) { removeGhostShot(); } } s--; } } function removeGhostShot() { ghostShots[s].removeMovieClip(); ghostShots.splice(s, 1); } function createCoin(theGhost, theValue) { v = theValue; while (v > 0) { coin = attachMovie("coin", "coin" + depth, depth++); coin._x = (theGhost._x + random(40)) - 20; coin._y = (theGhost._y + random(40)) - 20; coin.life = 720; coin.Speed = 10; coins.push(coin); v = v - 5; } } function coinManagement() { c = coins.length - 1; while (c >= 0) { coin = coins[c]; dir = Math.atan2(char._y - coin._y, char._x - coin._x); coin.Speed = coin.Speed + 4; coin._x = coin._x + (Math.cos(dir) * coin.Speed); coin._y = coin._y + (Math.sin(dir) * coin.Speed); while (coin.hitTest(level)) { coin._y = coin._y - 0.1; coin.xSpeed = 0; coin.ySpeed = 0; } coin._y = coin._y + 1; if (coin.hitTest(char) || (Math.abs(coin.Speed) >= 100)) { money = money + (5 + (taskLevel - 1)); if (money >= 25000) { giveAward(24); } coinsCollected = coinsCollected + 1; if (coinsCollected >= 100) { giveAward(4); } if (coins.length < 5) { Ring.start(); } if (money >= weaponCosts[gunUsed]) { giveNotice = false; ps._alpha = 100; ps.gotoAndPlay(1); } else { ps.gotoAndStop(31); } coin2 = attachMovie("coin2", "coin" + depth, depth++); coin2._x = coin._x; coin2._y = coin._y; removeCoin(); } else { coin.life = coin.life - 1; if (coin.life <= 50) { coin._alpha = coin.life * 2; if (coin.life <= 0) { removeCoin(); } } } c--; } } function removeCoin() { coin.removeMovieClip(); coins.splice(c, 1); } function removeGhost(killed, num) { if (killed) { score = score + (((rings + 1) * ghosts[num].Type) + Math.floor((((rings + 1) * ghosts[num].Type) / 5) * (taskLevel - 1))); if (score >= 1000) { giveAward(6); } if (score >= 20000) { giveAward(14); } if (ringsSinceHit >= 3) { windfallKills = windfallKills + 1; if (windfallKills >= 200) { giveAward(20); } } kills = kills + 1; if (kills >= 20) { giveAward(2); } if (kills >= 1000) { giveAward(27); toFinish = true; } if (!level.hitTest(char._x, char._y + 24, true)) { killsInAir = killsInAir + 1; if (killsInAir >= 50) { giveAward(9); } } k1.bar.gotoAndPlay(2); k2.gotoAndPlay(2); s1.bar.gotoAndPlay(2); s2.gotoAndPlay(2); xp = xp + (((num + 1) * 10) + (((num + 1) * 2) * (taskLevel - 1))); if (xp >= goalXPs[charLevel - 1]) { charLevel = charLevel + 1; xp = 0; char.ina.gun.gotoAndStop(gunUsed); } createExplosion(num); shake = 1; shakeDir = bullet._rotation; if (ringsSinceHit >= 3) { createCoin(ghosts[num], enemyWorths[ghosts[num].Type - 1] * 2); } else { createCoin(ghosts[num], enemyWorths[ghosts[num].Type - 1]); } } ghosts[num].removeMovieClip(); ghosts.splice(num, 1); } function createExplosion(num) { explosion = attachMovie("explosion", "explosion" + depth, depth++); explosion._x = ghosts[num]._x; explosion._y = ghosts[num]._y; } function characterMovement() { if (Key.isDown(39) || (Key.isDown(68))) { xSpeed = xSpeed + speed; } if (Key.isDown(37) || (Key.isDown(65))) { xSpeed = xSpeed - speed; } if (Key.isDown(38) || (Key.isDown(87))) { if (!justPressed) { if (!firstJump) { ySpeed = -20; firstJump = true; } else if (!secondJump) { ySpeed = -20; secondJump = true; tutorialNext(3); } justPressed = true; } } else { justPressed = false; } ySpeed = ySpeed + gravity; ySpeed = ySpeed * airFriction; xSpeed = xSpeed * friction; if (xSpeed <= 0) { char._xscale = -100; } else { char._xscale = 100; } char._x = char._x + xSpeed; char._y = char._y + ySpeed; if (level.hitTest(char._x, char._y + 23, true)) { ySpeed = 0; firstJump = false; secondJump = false; } else { firstJump = true; } while (level.hitTest(char._x, char._y + 23, true)) { char._y = char._y - 0.05; } while (level.hitTest(char._x + (char._width / 2), char._y, true)) { char._x = char._x - 1; xSpeed = 0; } while (level.hitTest(char._x - (char._width / 2), char._y, true)) { char._x = char._x + 1; xSpeed = 0; } while (level.hitTest(char._x, char._y - (char._height / 2), true)) { char._y = char._y + 1; ySpeed = 0; } if ((char._x + 20) >= Stage.width) { char._x = Stage.width - 20; xSpeed = 0; } if ((char._x - 20) <= 0) { char._x = 20; xSpeed = 0; } switchBack = false; if (char._xscale < 0) { switchBack = true; } if ((char._xscale >= 50) && ((_xmouse - char._x) <= 0)) { char.ina.gun._xscale = -100; char.ina.gun._rotation = ((Math.atan2(_ymouse - char._y, (_xmouse - char._x) * (char._xscale / 100)) * 180) / Math.PI) + 180; } if ((char._xscale >= 50) && ((_xmouse - char._x) > 0)) { char.ina.gun._xscale = 100; char.ina.gun._rotation = (Math.atan2(_ymouse - char._y, (_xmouse - char._x) * (char._xscale / 100)) * 180) / Math.PI; } if ((char._xscale <= -50) && ((_xmouse - char._x) <= 0)) { char.ina.gun._xscale = 100; char.ina.gun._rotation = (Math.atan2(_ymouse - char._y, (_xmouse - char._x) * (char._xscale / 100)) * 180) / Math.PI; } if ((char._xscale <= -50) && ((_xmouse - char._x) > 0)) { char.ina.gun._xscale = -100; char.ina.gun._rotation = ((Math.atan2(_ymouse - char._y, (_xmouse - char._x) * (char._xscale / 100)) * 180) / Math.PI) + 180; } } function shootingManagement() { shotDelay = shotDelay - 1; if (mDown && (shotDelay <= 0)) { hasShot = true; shotDelay = shotDelays[gunUsed - 1]; if (((gunUsed == 1) || (gunUsed == 2)) || (gunUsed == 5)) { createBullet(0); AK47.start(); } if (gunUsed == 3) { createBullet((Math.random() * 0.5) - 0.25); createBullet((Math.random() * 0.5) - 0.25); createBullet((Math.random() * 0.5) - 0.25); shotgun.start(); } if (gunUsed == 4) { createBullet(0); bullet.gotoAndStop(2); grenade.start(); } if (gunUsed == 7) { electricityShot(); } if (gunUsed == 6) { railShot(); } } } function createBullet(exRot) { bullet = attachMovie("bullet", "bullet" + depth, depth++); bullet._x = char._x + char.ina._x; bullet._y = char._y + char.ina._y; tDir = Math.atan2(_ymouse - char._y, _xmouse - char._x); bullet.xSpeed = Math.cos(tDir) * 15; bullet.ySpeed = Math.sin(tDir) * 15; bullet._x = bullet._x + (bullet.xSpeed * 2); bullet._y = bullet._y + (bullet.ySpeed * 2); bullet.Type = gunUsed; if (xRot != 0) { tDir = tDir + exRot; bullet.xSpeed = Math.cos(tDir) * 15; bullet.ySpeed = Math.sin(tDir) * 15; } bullet._rotation = (tDir * 180) / Math.PI; bullets.push(bullet); } function hitTesting() { b = bullets.length - 1; while (b >= 0) { bullet = bullets[b]; g = ghosts.length - 1; while (g >= 0) { ghost = ghosts[g]; if (ghost.hitTest(bullet._x, bullet._y, true) && (bullet.Type != 6)) { ghost.health = ghost.health - 1; if (ghost.health <= 0) { if (inTutorial) { giveTutorialAward(1); } poof.start(); poof.start(); removeGhost(true, g); } if (bullet.Type == 4) { ranger = attachMovie("ranger", "ranger" + depth, depth++); ranger._x = bullet._x; ranger._y = bullet._y; v = ghosts.length - 1; while (v >= 0) { if (ranger.hitTest(ghosts[v])) { ghosts[v].health = ghosts[v].health - 1; if (ghosts[v].health <= 0) { poof.start(); poof.start(); removeGhost(true, v); } } v--; } } removeBullet(); } g--; } b--; } } function bulletMovement() { b = bullets.length - 1; while (b >= 0) { bullet = bullets[b]; bullet._x = bullet._x + bullet.xSpeed; bullet._y = bullet._y + bullet.ySpeed; if (bullet.Type == 4) { bullet.ySpeed = bullet.ySpeed + 0.5; bullet._rotation = (Math.atan2(bullet.ySpeed, bullet.xSpeed) * 180) / Math.PI; } if (level.hitTest(bullet._x, bullet._y, true) && (bullet._x != undefined)) { if (bullet.Type == 4) { ranger = attachMovie("ranger", "ranger" + depth, depth++); ranger._x = bullet._x; ranger._y = bullet._y; v = ghosts.length - 1; while (v >= 0) { if (ranger.hitTest(ghosts[v])) { ghosts[v].health = ghosts[v].health - 1; if (ghosts[v].health <= 0) { poof.start(); poof.start(); removeGhost(true, v); } } v--; } } fs = attachMovie("floorShot", "floorShot" + depth, depth++); fs._x = bullet._x; fs._y = (Stage.height - lHeight) + 15; fs._rotation = 270; fs.gotoAndStop(random(3) + 1); fs._xscale = (fs._yscale = 200); removeBullet(); bulletMissed = true; } else if ((((bullet._x >= (char._x + 2000)) || (bullet._x <= (char._x - 2000))) || (bullet._y >= (char._y + 2000))) || (bullet._y <= (char._y - 2000))) { removeBullet(); bulletMissed = true; } b--; } } function removeBullet() { bullet.removeMovieClip(); bullets.splice(b, 1); } function shaker() { if (shake == 0) { if ((_root._x != 0) || (_root._y != 0)) { _root._x = 0; _root._y = 0; } } else if (shake == 1) { shake = shake + 1; _root._x = _root._x + (Math.cos((shakeDir * Math.PI) / 180) * 5); _root._y = _root._y + (Math.sin((shakeDir * Math.PI) / 180) * 5); } else if (shake == 2) { shake = 3; _root._x = Math.cos((shakeDir * Math.PI) / 180) * 4; _root._y = Math.sin((shakeDir * Math.PI) / 180) * 4; } else if (shake == 3) { shake = 4; _root._x = Math.cos((shakeDir * Math.PI) / 180) * 3; _root._y = Math.sin((shakeDir * Math.PI) / 180) * 3; } else if (shake == 4) { shake = 0; _root._x = 0; _root._y = 0; } if (gamePause) { _root._x = 0; _root._y = 0; } } function shopManagement() { if (shopExists && (!shopStartRemove)) { if (shop.moveLeft) { shop._x = shop._x + (((Stage.width / 2) - shop._x) / 4); if (shop._x <= ((Stage.width / 2) + 1)) { shop._x = Stage.width / 2; shop.moveLeft = false; } } } } function clearScreen() { g = ghosts.length - 1; while (g >= 0) { removeGhost(false, g); g--; } s = ghostShots.length - 1; while (s >= 0) { ghostShot = ghostShots[s]; removeGhostShot(); s--; } c = coins.length - 1; while (c >= 0) { coin = coins[c]; removeCoin(); c--; } t = turrets.length - 1; while (t >= 0) { turret = turrets[t]; removeTurret(); t--; } s = stars.length - 1; while (s >= 0) { star = stars[s]; removeStar(); s--; } b = bullets.length - 1; while (b >= 0) { bullet = bullets[b]; removeBullet(); b--; } t = turretBullets.length - 1; while (t >= 0) { removeTurretBullet(); t--; } mBonus.removeMovieClip(); ring._x = -200; char._alpha = 0; ps._alpha = 0; char._x = Stage.width / 2; char._y = (Stage.height - lHeight) - (char._height / 2); } function createShop(levelWon) { ps.gotoAndStop(31); shop.removeMovieClip(); shop = attachMovie("shop", "shop", 800550); gamePause = true; shop._x = Stage.width + (Stage.width / 2); shop.moveLeft = true; shop._y = Stage.height / 2; shopExists = true; if ((onWave == levelsUnlocked) && (levelWon)) { levelsUnlocked = levelsUnlocked + 1; } shopWeaponButtons = new Array(shop.w1, shop.w2, shop.w3, shop.w4, shop.w5, shop.w6); shopLevelButtons = new Array(shop.l1, shop.l2, shop.l3, shop.l4, shop.l5, shop.l6, shop.l7, shop.l8, shop.l9, shop.l10, shop.l11, shop.l12, shop.l13, shop.l14, shop.l15, shop.l16); v = shopWeaponButtons.length - 1; while (v >= 0) { createWeaponButtons(shopWeaponButtons[v], v); v--; } v = shopLevelButtons.length - 1; while (v >= 0) { createLevelButtons(shopLevelButtons[v], v); v--; } } function createWeaponButtons(button, num) { createNormalHover2(button, num); button.gun.gotoAndStop(num + 1); button.onRelease = function () { if (money >= weaponCosts[num]) { bClick.start(); money = money - weaponCosts[num]; giveNotice = true; weaponsOwned[num] = true; gunUsed = num + 1; if (gunUsed == 4) { giveAward(15); } char.ina.gun.gotoAndStop(gunUsed); } }; } function createLevelButtons(button, num) { if (levelsUnlocked >= (num + 1)) { createNormalHover(button); button.numTxt.htmlText = bold(num + 1); button.onRelease = function () { shopStartRemove = true; gamePause = false; bClick.start(); }; } else { button.gotoAndStop(2); } } function bold(item) { return(("<b>" + item) + "</b>"); } function createNormalHover(button) { button._alpha = 100; button.onRollOver = function () { bHover.start(); button._alpha = 75; }; button.onRollOut = function () { button._alpha = 100; }; button.onReleaseOutside = function () { button._alpha = 100; }; } function createLevelFinishScreen() { dayUp.gotoAndStop(1); days = days + 1; bg.gotoAndStop(1); clearScreen(); levelToCenter = true; gamePause = true; _root._x = 0; _root._y = 0; if (score >= highscore) { highscore = score; } if (kills >= killsHighscore) { killsHighscore = kills; } saveGame(); lf = attachMovie("levelFinish", "levelFinish", 958350); lf._x = Stage.width * 1.5; lf._y = Stage.height / 2; lf.taskScreen.d1.htmlText = bold(days + " ATTEMPTS"); lf.taskScreen.t1.htmlText = bold(taskLevel); lf.taskScreen.b1.htmlText = bold("$" + initialGolds[taskLevel - 1]); lf.taskScreen.b2.htmlText = bold("+$" + startingMoney); lf.taskScreen.r1.htmlText = bold(killsHighscore); lf.taskScreen.r2.htmlText = bold(highscore); createGenericHover(lf.taskScreen.doneBtn); lf.taskScreen.doneBtn.onRelease = function () { bClick.start(); levelToExit = true; delete lf.taskScreen.doneBtn.onRelease; }; } function createAchScreen() { _root._x = 0; _root._y = 0; if (score >= highscore) { highscore = score; } saveGame(); achToCenter = true; bg.gotoAndStop(1); achScreen = attachMovie("achScreen", "achScreen", 955350); achScreen._x = Stage.width * -0.5; achScreen._y = Stage.height / 2; achScreen.hTxt.htmlText = bold("HIGHSCORE: " + highscore); tasksToDo = new Array(achScreen.taskScreen.t1, achScreen.taskScreen.t2, achScreen.taskScreen.t3); tasksDone = new Array(achScreen.taskScreen.t4, achScreen.taskScreen.t5, achScreen.taskScreen.t6); tasksToDoA = new Array(); tasksToDoB = new Array(); p = 0; while (p < tasksCompleted.length) { if (!tasksCompleted[p]) { tasksToDoA.push(p + 1); } else { tasksToDoB.push(p + 1); } p++; } t = 0; while (t < tasksToDo.length) { if (tasksToDoA.length > t) { tasksToDo[t].tIcon.gotoAndStop(taskTypes[taskLevel - 1][tasksToDoA[t] - 1]); tasksToDo[t].nameTxt.htmlText = bold(taskNames[taskTypes[taskLevel - 1][tasksToDoA[t] - 1] - 1]); tasksToDo[t].descTxt.htmlText = bold(tasks[taskLevel - 1][tasksToDoA[t] - 1]); } else { tasksToDo[t]._alpha = 0; } t++; } t = 0; while (t < tasksDone.length) { if (tasksToDoB.length > t) { tasksDone[t].tIcon.gotoAndStop(taskTypes[taskLevel - 1][tasksToDoB[t] - 1]); tasksDone[t].nameTxt.htmlText = bold(taskNames[taskTypes[taskLevel - 1][tasksToDoB[t] - 1] - 1]); tasksDone[t].descTxt.htmlText = bold(tasks[taskLevel - 1][tasksToDoB[t] - 1]); } else { tasksDone[t]._alpha = 0; } t++; } achScreen.taskScreen.l1.htmlText = bold(("Level " + taskLevel) + " Tasks"); achScreen.taskScreen.l2.htmlText = bold(("Level " + taskLevel) + " Tasks Completed"); createGenericHover(achScreen.taskScreen.doneBtn); achScreen.taskScreen.doneBtn.onRelease = function () { bClick.start(); achToExit = true; delete achScreen.taskScreen.doneBtn.onRelease; }; createGenericHover(achScreen.taskScreen.mgBtn); achScreen.taskScreen.mgBtn.onRelease = function () { bClick.start(); getURL ("http://armorgames.com/", "_BLANK"); }; } function createGenericHover(button) { button.onRollOver = function () { button.gotoAndStop(2); bHover.start(); }; button.onRollOut = function () { button.gotoAndStop(1); }; button.onReleaseOutside = function () { button.gotoAndStop(1); }; } function createNormalHover2(button, num) { button._alpha = 100; button.onRollOver = function () { button._alpha = 75; bHover.start(); shop.infor.gunImg.gotoAndStop(num + 1); shop.infor.descTxt.htmlText = bold(weaponDescriptions[num]); shop.infor.costTxt.htmlText = bold(weaponCosts[num]); }; button.onRollOut = function () { button._alpha = 100; }; button.onReleaseOutside = function () { button._alpha = 100; }; } function createTurretShop() { gamePause = true; turretShopExists = true; turretShop = attachMovie("turretShop", "turretShop", 810500); turretShop._x = Stage.width * 1.5; turretShop._y = 161.5; turretButtons = new Array(turretShop.t1, turretShop.t2, turretShop.t3, turretShop.t4); updateTurretButtons(); } function updateTurretButtons() { t = turretButtons.length - 1; while (t >= 0) { tb = turretButtons[t]; tb.nTxt.htmlText = bold(turretNames[t]); tb.dTxt.htmlText = turretDescriptions[t]; tb.mTxt.htmlText = bold("$" + turretCosts[t][turretAmounts[t]]); tb.tIcon.gotoAndStop(t + 1); if (((!inTutorial) || (t == 0)) || (t == 2)) { createTurretButton(tb, t); } else { tb._alpha = 20; tb.mTxt.htmlText = bold("$N/A"); } t--; } } function createTurretButton(button, num) { delete button.onRollOver; delete button.onRollOut; delete button.onReleaseOutside; delete button.onRelease; if (money >= turretCosts[num][turretAmounts[num]]) { button.onRollOver = function () { button._alpha = 80; bHover.start(); }; button.onRollOut = function () { button._alpha = 100; }; button.onReleaseOutside = function () { button._alpha = 100; }; button.onRelease = function () { if ((money >= turretCosts[num][turretAmounts[num]]) && (turretToPlace == null)) { bClick.start(); money = money - turretCosts[num][turretAmounts[num]]; ps.gotoAndStop(31); turretAmounts[num] = turretAmounts[num] + 1; turretToPlace = attachMovie(theTurrets[num], theTurrets[num] + depth, depth++); turretToPlace._x = _xmouse; turretToPlace._y = turretYs[num]; turretToPlaceNum = num; readyToPlace = false; updateTurretButtons(); } }; } else { button._alpha = 20; } } function turretManagement() { t = turrets.length - 1; while (t >= 0) { turret = turrets[t]; if (turret.Target._x == undefined) { turret.Target = null; } turret.seekDelay = turret.seekDelay - 1; if ((turret.seekDelay <= 0) || (turret.Target == null)) { turret.seekDelay = 10; smallest = 1000; ghostChoice = -1; g = ghosts.length - 1; while (g >= 0) { ghost = ghosts[g]; if ((((turret.Type == 3) || (turret.Type == 4)) && (((ghost.Type == 1) || (ghost.Type == 3)) || (ghost.Type == 5))) || (((turret.Type == 1) || (turret.Type == 2)) && ((ghost.Type == 2) || (ghost.Type == 4)))) { xDist = ghost._x - turret._x; yDist = ghost._y - turret._y; ghostDist = Math.sqrt((xDist * xDist) + (yDist * yDist)); if (ghostDist <= smallest) { smallest = ghostDist; ghostChoice = g; } } g--; } if (ghostChoice != -1) { turret.Target = ghosts[ghostChoice]; } } if (turret.Target != null) { xDist = turret.Target._x - turret._x; yDist = turret.Target._y - turret._y; distFromTurret = Math.sqrt((xDist * xDist) + (yDist * yDist)); framesToHit = ((distFromTurret / turretBulletSpeed) - 3) - 3; newX = turret.Target._x + (turret.Target.xSpeed * framesToHit); newY = turret.Target._y + (turret.Target.ySpeed * framesToHit); turret.cannon._rotation = (Math.atan2(newY - turret._y, newX - turret._x) * 180) / Math.PI; } turret.shotDelay = turret.shotDelay - 1; if ((turret.shotDelay <= 0) && (turret.Target != null)) { turret.shotDelay = 90 + random(10); createTurretBullet(); } t--; } } function removeTurret() { turret.removeMovieClip(); turrets.splice(t, 1); } function createTurretBullet() { typeHolder = ((turret.Type - 1) % 2) + 1; if (typeHolder == 1) { tB = attachMovie("bullet2", "bullet" + depth, depth++); } else { tB = attachMovie("bullet", "bullet" + depth, depth++); } tB.Type = typeHolder; tB._x = turret._x; tB._y = turret._y; tB._rotation = turret.cannon._rotation; tB.xSpeed = Math.cos((turret.cannon._rotation * Math.PI) / 180) * turretBulletSpeed; tB.ySpeed = Math.sin((turret.cannon._rotation * Math.PI) / 180) * turretBulletSpeed; tB._x = tB._x + (tB.xSpeed * 3); tB._y = tB._y + (tB.ySpeed * 3); turretBullets.push(tB); } function turretBulletManagement() { t = turretBullets.length - 1; while (t >= 0) { tb = turretBullets[t]; tb._x = tb._x + tb.xSpeed; tb._y = tb._y + tb.ySpeed; g = ghosts.length - 1; while (g >= 0) { ghost = ghosts[g]; if (tb.hitTest(ghost)) { if (tb.Type == 1) { ghost.frozen = 50; ghost.shotDelay = 1000; } if (tb.Type == 2) { ghost.health = ghost.health - 1; if (ghost.health <= 0) { poof.start(); poof.start(); removeGhost(true, g); } } removeTurretBullet(); } g--; } if (level.hitTest(tb._x, tb._y, true) && (tb._x != undefined)) { fs = attachMovie("floorShot", "floorShot" + depth, depth++); fs._x = tb._x; fs._y = (Stage.height - lHeight) + 15; fs._rotation = 270; fs.gotoAndStop(random(3) + 1); fs._xscale = (fs._yscale = 200); removeTurretBullet(); } else if ((((tb._x >= (char._x + 2000)) || (tb._x <= (char._x - 2000))) || (tb._y >= (char._y + 2000))) || (tb._y <= (char._y - 2000))) { if (tb._x != undefined) { removeTurretBullet(); } } t--; } } function removeTurretBullet() { turretBullets[t].removeMovieClip(); turretBullets.splice(t, 1); } function railShot() { rail.start(); laser.removeMovieClip(); createEmptyMovieClip("laser", 900555 + (depth++)); with (laser) { lineStyle(5, 16777215); tDir = (Math.atan2(_ymouse - char._y, _xmouse - char._x) * 180) / Math.PI; xmoveAdd = Math.cos((tDir * Math.PI) / 180) * 10; ymoveAdd = Math.sin((tDir * Math.PI) / 180) * 10; currentX = char._x + (xmoveAdd * 4); currentY = char._y + (ymoveAdd * 4); holdX = currentX; holdY = currentY; moveTo(currentX, currentY); t = 50; while (t >= 0) { currentX = currentX + xmoveAdd; currentY = currentY + ymoveAdd; if (t == 0) { lineStyle(9, 16764108); lineTo(currentX, currentY); moveTo(holdX, holdY); lineStyle(7, 16777215); lineTo(currentX, currentY); } g = ghosts.length - 1; while (g >= 0) { ghost = ghosts[g]; if (ghost.hitTest(currentX, currentY, true)) { ghost.health = ghost.health - 1; if (ghost.health <= 0) { if (inTutorial) { giveTutorialAward(1); } poof.start(); poof.start(); removeGhost(true, g); } } g--; } t--; } } laser.onEnterFrame = function () { laser._alpha = laser._alpha - 15; if (laser._alpha <= 5) { laser.removeMovieClip(); } }; } function hitGhost(num) { ghost.health = ghost.health - 1; if (ghost.health <= 0) { poof.start(); poof.start(); theNum = -1; g = ghosts.length - 1; while (g >= 0) { if (ghosts[g] == ghost) { theNum = g; } g--; } removeGhost(true, theNum); f = num + 1; while (f <= ghosts.length) { ghosts[f].Index = ghosts[f].Index - 1; f++; } } } function electricityShot() { if (lGo == 1) { electricity.start(); } mainArray = new Array(4); i = 0; while (i < 4) { mainArray[i] = new Array(4); j = 0; while (j < 4) { mainArray[i][j] = new Array(); j++; } i++; } i = ghosts.length - 1; while (i >= 0) { ghost = ghosts[i]; ghost.Index = i; mainArray[Math.floor(ghost._x / 175)][Math.floor(ghost._y / 100)].push(ghost); i--; } if (lGo == 1) { bulletMC.removeMovieClip(); lGo = 2; createEmptyMovieClip("bulletMC", 900555 + (depth++)); with (bulletMC) { lineStyle(2, 0); rt = Math.atan2(_ymouse - char._y, _xmouse - char._x); xmoveAdd = Math.cos(rt) * 15; ymoveAdd = Math.sin(rt) * 15; currentX = char._x + (xmoveAdd * 4); currentY = char._y + (ymoveAdd * 4); moveTo(currentX, currentY); t = 35; while (t >= 0) { currentX = currentX + xmoveAdd; currentY = currentY + ymoveAdd; if (mainArray[Math.floor(currentX / 175)][Math.floor(currentY / 100)] != undefined) { i = mainArray[Math.floor(currentX / 175)][Math.floor(currentY / 100)].length - 1; while (i >= 0) { ghost = mainArray[Math.floor(currentX / 175)][Math.floor(currentY / 100)][i]; if (ghost.hitTest(currentX, currentY, true)) { t = -5; hitGhost(ghost.Index); } i--; } } lineTo((currentX + (Math.random() * 16)) - 8, (currentY + (Math.random() * 16)) - 8); t--; } } bulletMC.onEnterFrame = function () { bulletMC._alpha = bulletMC._alpha - (bulletMC._alpha / 2); if (bulletMC._alpha <= 5) { bulletMC.removeMovieClip(); } }; } else if (lGo == 2) { bulletMC2.removeMovieClip(); lGo = 3; createEmptyMovieClip("bulletMC2", 900555 + (depth++)); with (bulletMC2) { lineStyle(2, 0); rt = Math.atan2(_ymouse - char._y, _xmouse - char._x); xmoveAdd = Math.cos(rt) * 15; ymoveAdd = Math.sin(rt) * 15; currentX = char._x + (xmoveAdd * 4); currentY = char._y + (ymoveAdd * 4); moveTo(currentX, currentY); t = 35; while (t >= 0) { currentX = currentX + xmoveAdd; currentY = currentY + ymoveAdd; lineTo((currentX + (Math.random() * 16)) - 8, (currentY + (Math.random() * 16)) - 8); if (mainArray[Math.floor(currentX / 175)][Math.floor(currentY / 100)] != undefined) { i = mainArray[Math.floor(currentX / 175)][Math.floor(currentY / 100)].length - 1; while (i >= 0) { ghost = mainArray[Math.floor(currentX / 175)][Math.floor(currentY / 100)][i]; if (ghost.hitTest(currentX, currentY, true)) { t = -5; hitGhost(ghost.Index); } i--; } } t--; } } bulletMC2.onEnterFrame = function () { bulletMC2._alpha = bulletMC2._alpha - (bulletMC2._alpha / 2); if (bulletMC2._alpha <= 5) { bulletMC2.removeMovieClip(); } }; } else if (lGo == 3) { bulletMC3.removeMovieClip(); lGo = 1; createEmptyMovieClip("bulletMC3", 900555 + (depth++)); with (bulletMC3) { lineStyle(2, 0); rt = Math.atan2(_ymouse - char._y, _xmouse - char._x); xmoveAdd = Math.cos(rt) * 15; ymoveAdd = Math.sin(rt) * 15; currentX = char._x + (xmoveAdd * 4); currentY = char._y + (ymoveAdd * 4); moveTo(currentX, currentY); t = 35; while (t >= 0) { currentX = currentX + xmoveAdd; currentY = currentY + ymoveAdd; lineTo((currentX + (Math.random() * 16)) - 8, (currentY + (Math.random() * 16)) - 8); if (mainArray[Math.floor(currentX / 175)][Math.floor(currentY / 100)] != undefined) { i = mainArray[Math.floor(currentX / 175)][Math.floor(currentY / 100)].length - 1; while (i >= 0) { ghost = mainArray[Math.floor(currentX / 175)][Math.floor(currentY / 100)][i]; if (ghost.hitTest(currentX, currentY, true)) { t = -5; hitGhost(ghost.Index); } i--; } } t--; } } bulletMC3.onEnterFrame = function () { bulletMC3._alpha = bulletMC3._alpha - (bulletMC3._alpha / 2); if (bulletMC3._alpha <= 5) { bulletMC3.removeMovieClip(); } }; } } stop(); times = new Array(20, 30, 40, 50, 60, 70, 80, 90, 150, 250, 350); goalXPs = new Array(200, 400, 600, 800, 10000000); enemyWorths = new Array(5, 10, 20, 50, 100, 250); ringAmounts = new Array(5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60, 65, 70); healthArray = new Array(60, 70, 80, 90, 100, 120, 140, 160, 200, 250); initialGolds = new Array(0, 150, 300, 600, 1000, 1500, 2000, 3000, 5000, 8000); qbtn.onRelease = function () { if (_quality == "LOW") { _quality = "MEDIUM"; } else if (_quality == "MEDIUM") { _quality = "HIGH"; } else { _quality = "LOW"; } }; moneyTree.gotoAndStop(moneyTreeFrame); inTutorial = true; i = tasksCompleted.length - 1; while (i >= 0) { if (tasksCompleted[i]) { inTutorial = false; } i--; } if (taskLevel != 1) { inTutorial = false; } lHeight = 100; init(); if (inTutorial) { gamePause = true; tutorial = attachMovie("tutorial", "tutorial", 987300); tutorial._x = Stage.width / 2; tutorial._y = Stage.height / 2; } if (inTutorial) { money = 1000; taskLevel = 0; } RING = 1; DEATH = 2; STATS = 3; TIME = 4; MISC = 5; MONEY = 6; WIND = 7; muted = false; playerPause = false; keyListener = new Object(); keyListener.onKeyDown = function () { num = Key.getAscii(); if (num == 113) { if (_quality == "LOW") { _quality = "MEDIUM"; } else if (_quality == "MEDIUM") { _quality = "HIGH"; } else { _quality = "LOW"; } } if (((num == 112) && (!gamePause)) && (!inTutorial)) { playerPause = !playerPause; pauseStuff(); } if (num == 109) { muted = !muted; if (muted) { song.setVolume(0); } else { song.setVolume(100); } } if (num == 101) { if (turretShopExists) { turretShop.removeMovieClip(); gamePause = false; turretShopExists = false; } else if ((!inTutorial) || (!tasksCompleted[1])) { if (inTutorial) { if (tutorialStage == 5) { createTurretShop(); } } else { createTurretShop(); } } } }; Key.addListener(keyListener); taskNames = new Array("Rings", "Death", "Stats", "Time", "Miscellaneous", "Coins", "Wind"); preTasks = new Array("Kill an enemy by shooting it", "Build a Turret (Press 'E')", "Gun Upgrade Press 'SPACE'"); taskPreTypes = new Array(DEATH, MISC, MISC); task1s = new Array("Reach day 2", "Kill 20 ghosts", "Collect 10 rings"); task1Types = new Array(TIME, DEATH, RING); task2s = new Array("Collect 100 coins", "Windfall Mode 10 seconds", "Score 1000"); task2Types = new Array(MONEY, WIND, STATS); task3s = new Array("Don't get hit on day 1", "Reach day 3", "50 Kills in the air"); task3Types = new Array(MISC, MISC, DEATH); task4s = new Array("Windfall Mode 5 Times", "Windfall Mode 30 seconds", "First two days no rings"); task4Types = new Array(WIND, WIND, MISC); task5s = new Array("Reach day 5", "Score 20,000", "Get the 4th Weapon"); task5Types = new Array(TIME, STATS, MISC); task6s = new Array("Collect 100 rings", "Collect 15 rings day 1", "Reach day 4 w/ pistol"); task6Types = new Array(RING, RING, MISC); task7s = new Array("Build 7 turrets", "Windfall Mode 200 kills", "Windfall Mode 2 minutes"); task7Types = new Array(MISC, DEATH, WIND); task8s = new Array("Reach day 7", "Collect 150 rings", "Save up $25,000"); task8Types = new Array(TIME, RING, MONEY); task9s = new Array("First three levels no missing", "Reach day 9", "Kill 1000 ghosts"); task9Types = new Array(MISC, TIME, DEATH); task10s = new Array("None", "None", "None"); task10Types = new Array(DEATH, DEATH, DEATH); tasks = new Array(task1s, task2s, task3s, task4s, task5s, task6s, task7s, task8s, task9s, task10s); taskTypes = new Array(task1Types, task2Types, task3Types, task4Types, task5Types, task6Types, task7Types, task8Types, task9Types, task10Types); startTreeAnim = false; toWhiteAmt = 0; myColor2 = new Color(moneyTree); myColor2.setTint(255, 255, 255, toWhiteAmt); delayToDone = -1; menuSong.stop(); song = new Sound(this); song.attachSound("song.wav"); song.start(0, 100000); var pistol = new Sound(); pistol.attachSound("pistol.wav"); var AK47 = new Sound(); AK47.attachSound("AK47.wav"); var gunshot = new Sound(); gunshot.attachSound("gunshot.wav"); var Ring = new Sound(); Ring.attachSound("Ring.wav"); var Ring2 = new Sound(); Ring2.attachSound("Ring2.wav"); var shotgun = new Sound(); shotgun.attachSound("shotgun.wav"); var grenade = new Sound(); grenade.attachSound("grenade.wav"); var pHit = new Sound(); pHit.attachSound("pHit.wav"); var poof = new Sound(); poof.attachSound("poof.wav"); var bHover = new Sound(); bHover.attachSound("bHover.wav"); var bClick = new Sound(); bClick.attachSound("bClick.wav"); var rail = new Sound(); rail.attachSound("laserShot.wav"); var electricity = new Sound(); electricity.attachSound("electricity.wav"); char.swapDepths(750500); stars = new Array(); tutComplete.swapDepths(750600); if (isMuted) { muted = true; song.setVolume(0); } tutorialGhostDelay = 20; newWaveDelayConst = 40; newWaveDelay = 0; tutorialStage = 0; tutorialDescriptions = new Array("Welcome, this is a quick tutorial which will familiarize you with the game mechanics...", "You can double jump by pressing the UP or W button TWICE in a row. Try it.", "You can shoot with your mouse. Hold it down for a few seconds for a constant stream of bullets.", "Collecting rings will you give you a bonus to your score. 3 Rings and you will enter windfall mode (Double Money)!", "The goal of the game is to complete tasks, try the ones I put in the bottom right of your screen"); timeToCreateLevelFin = 0; createLevelFin = false; mDownTime = 0; theVertSpeed = 1; goingDown = true; goingUp = false; normalY = 161; if (!inTutorial) { dayUp.gotoAndPlay(2); dayUp.d1.dTxt.htmlText = bold("DAY " + onWave); } killsMax = 1000; ringsMax = 100; timeMax = 1000; scoreMax = 10000; ghosts = new Array(); ghostDelay = 0; ghostsAllowedArray = new Array(1, 2, 3, 3, 4, 4, 5, 5, 5, 5, 5, 5, 5); ghostDelayArray = new Array(40, 30, 25, 20, 16, 13, 11, 9, 7, 5); ghostsAllowed = 5; ghostTypes = new Array("ghost", "ghost2", "ghost3", "ghost4", "ghost5"); ghostShots = new Array(); coins = new Array(); coinsCollected = 0; toFinish = false; windfallKills = 0; shakeDir = 0; gravity = 1.2; friction = 0.8; airFriction = 0.95; speed = 2; inRealTutorial = false; onMouseDown = function () { if (inTutorial) { if ((tutorialStage == 1) && (inRealTutorial)) { tutorialNext(2); tutBox.ctc._alpha = 0; } if (tutorial._currentframe != 5) { tutorial.gotoAndStop(tutorial._currentframe + 1); } else { tutorial.removeMovieClip(); gamePause = false; inRealTutorial = true; tutorialNext(1); } } mDown = true; }; onMouseUp = function () { if (turretToPlace != null) { readyToPlace = false; turretToPlace.Type = turretToPlaceNum + 1; turretToPlace.seekDelay = 0; turretToPlace.shotDelay = 0; turrets.push(turretToPlace); if (turrets.length >= 7) { giveAward(19); } if (inTutorial) { giveTutorialAward(2); turretShop.removeMovieClip(); gamePause = false; } turretToPlace.Target = null; turretToPlace = null; turretToPlaceNum = -1; } mDown = false; }; shotDelays = new Array(10, 5, 10, 5, 2, 5, 0); depth = 100; bullets = new Array(); shake = 0; weaponsOwned = new Array(true, false, false, false, false, false); weaponDescriptions = new Array("The Pistol shoots at a slow speed.", "The Ak-47 shoots at a moderate speed.", "The Shotgun shoots bursts of 3 bullets.", "The Grenade Launcher damages surrounding enemies.", "The Chain Gun shoots extremely fast.", "The Rail Gun shoots unstoppable beams."); weaponCosts = new Array(0, 150, 1000, 2500, 6000, 18000, 50000, 99999999); levelToCenter = false; levelToExit = false; achToCenter = false; achToExit = false; turretShopExists = false; turrets = new Array(); turret1Costs = new Array(200, 1000, 5000, 10000, 20000, 50000, 100000); turret2Costs = new Array(1000, 5000, 10000, 20000, 50000, 100000); turret3Costs = new Array(200, 1000, 5000, 10000, 20000, 50000, 100000); turret4Costs = new Array(1000, 5000, 10000, 20000, 50000, 100000); turretCosts = new Array(turret1Costs, turret2Costs, turret3Costs, turret4Costs); turretNames = new Array("Air Freeze", "Air Fire", "Ground Freeze", "Ground Fire"); turretDescriptions = new Array("Freezes Air Enemies", "Shoots Air Enemies", "Freezes Ground Enemies", "Shoots Ground Enemies"); theTurrets = new Array("simpleTurret2", "simpleTurret", "topTurret", "topTurret2"); turretYs = new Array(300, 300, 22, 22); turretToPlace = null; turretToPlaceNum = -1; readyToPlace = false; turretBulletSpeed = 20; turretBullets = new Array(); lGo = 1;
Frame 5
function createNormalHover(button) { button._alpha = 100; button.onRollOver = function () { button._alpha = 75; }; button.onRollOut = function () { button._alpha = 100; }; button.onReleaseOutside = function () { button._alpha = 100; }; } createNormalHover(bb); bb.onRelease = function () { gotoAndStop (3); }; createNormalHover(st); st.onRelease = function () { getURL ("http://www.sound-tricks.com/", "_BLANK"); }; ag.onRollOver = function () { ag._alpha = 50; }; ag.onRollOut = function () { ag._alpha = 100; }; ag.onRelease = function () { getURL ("http://armorgames.com/", "_BLANK"); };
Frame 6
function createNormalHover(button) { button._alpha = 100; button.onRollOver = function () { button._alpha = 75; }; button.onRollOut = function () { button._alpha = 100; }; button.onReleaseOutside = function () { button._alpha = 100; }; } function onEnterFrame() { } Key.removeListener(keyListener); createNormalHover(bb); bb.onRelease = function () { gotoAndStop (3); }; createNormalHover(mg); mg.onRelease = function () { getURL ("http://armorgames.com/", "_BLANK"); };
Frame 7
function onEnterFrame() { }
Symbol 25 MovieClip Frame 10
_parent.gotoAndStop(1);
Symbol 36 MovieClip Frame 11
_parent.gotoAndStop(1);
Symbol 46 MovieClip Frame 8
_parent.gotoAndStop(1);
Symbol 47 MovieClip [gunshots] Frame 1
stop();
Symbol 47 MovieClip [gunshots] Frame 2
stop();
Symbol 71 MovieClip Frame 1
stop();
Symbol 84 MovieClip Frame 1
stop();
Symbol 102 MovieClip Frame 1
_root.stop(); gotoAndPlay (2);
Symbol 102 MovieClip Frame 225
_root.nextFrame();
Symbol 107 MovieClip Frame 1
gotoAndPlay(random(29) + 2);
Symbol 107 MovieClip Frame 31
gotoAndPlay (2);
Symbol 121 MovieClip Frame 1
stop();
Symbol 149 MovieClip Frame 1
stop();
Symbol 163 MovieClip Frame 1
stop();
Symbol 168 MovieClip Frame 1
stop();
Symbol 182 MovieClip Frame 1
stop();
Symbol 284 MovieClip Frame 48
_parent.removeMovieClip();
Symbol 290 MovieClip Frame 30
gotoAndPlay (1);
Symbol 301 MovieClip [bullet] Frame 1
stop();
Symbol 336 MovieClip [ranger] Frame 10
this.removeMovieClip();
Symbol 353 MovieClip Frame 14
_parent.removeMovieClip();
Symbol 367 MovieClip Frame 12
_parent.removeMovieClip();
Symbol 382 MovieClip Frame 14
_parent.removeMovieClip();
Symbol 391 MovieClip [theBar] Frame 1
stop();
Symbol 401 MovieClip Frame 1
stop();
Symbol 406 MovieClip Frame 1
stop();
Symbol 410 MovieClip Frame 1
stop();
Symbol 415 MovieClip Frame 1
stop();
Symbol 419 MovieClip [coin2] Frame 30
this.removeMovieClip();
Symbol 422 MovieClip Frame 1
stop();
Symbol 427 MovieClip Frame 1
stop();
Symbol 427 MovieClip Frame 160
gotoAndStop (1);
Symbol 432 MovieClip Frame 1
stop();
Symbol 447 MovieClip Frame 1
stop();
Symbol 462 MovieClip Frame 1
stop();
Symbol 474 MovieClip Frame 1
stop();
Symbol 488 MovieClip Frame 1
stop();
Symbol 490 MovieClip Frame 1
stop();
Symbol 518 MovieClip [mBonus] Frame 80
this.removeMovieClip();
Symbol 533 MovieClip Frame 1
stop();
Symbol 545 MovieClip [bullet2] Frame 1
stop();
Symbol 571 MovieClip [tutorial] Frame 1
stop();
Symbol 582 MovieClip Frame 1
stop();

Library Items

Symbol 1 Sound [shotgun.wav]
Symbol 2 Sound [Ring2.wav]
Symbol 3 Sound [Ring.wav]
Symbol 4 Sound [rail.wav]
Symbol 5 Sound [poof.wav]
Symbol 6 Sound [pistol.wav]
Symbol 7 Sound [pHit.wav]
Symbol 8 Sound [laserShot.wav]
Symbol 9 Sound [grenade.wav]
Symbol 10 Sound [electricity.wav]
Symbol 11 Sound [bHover.wav]
Symbol 12 Sound [bClick.wav]
Symbol 13 Sound [AK47.wav]
Symbol 14 GraphicUsed by:25
Symbol 15 GraphicUsed by:16
Symbol 16 MovieClipUses:15Used by:25 36 46
Symbol 17 GraphicUsed by:25
Symbol 18 GraphicUsed by:25
Symbol 19 GraphicUsed by:25
Symbol 20 GraphicUsed by:25
Symbol 21 GraphicUsed by:25
Symbol 22 GraphicUsed by:25
Symbol 23 GraphicUsed by:25
Symbol 24 GraphicUsed by:25 46
Symbol 25 MovieClipUses:14 16 17 18 19 20 21 22 23 24Used by:47
Symbol 26 GraphicUsed by:36
Symbol 27 GraphicUsed by:36
Symbol 28 GraphicUsed by:36
Symbol 29 GraphicUsed by:36
Symbol 30 GraphicUsed by:36
Symbol 31 GraphicUsed by:36
Symbol 32 GraphicUsed by:36
Symbol 33 GraphicUsed by:36
Symbol 34 GraphicUsed by:36
Symbol 35 GraphicUsed by:36
Symbol 36 MovieClipUses:26 16 27 28 29 30 31 32 33 34 35Used by:47
Symbol 37 GraphicUsed by:46
Symbol 38 GraphicUsed by:39
Symbol 39 MovieClipUses:38Used by:46
Symbol 40 GraphicUsed by:46
Symbol 41 GraphicUsed by:46
Symbol 42 GraphicUsed by:46
Symbol 43 GraphicUsed by:46
Symbol 44 GraphicUsed by:46
Symbol 45 GraphicUsed by:46
Symbol 46 MovieClipUses:37 39 16 40 41 42 43 44 45 24Used by:47
Symbol 47 MovieClip [gunshots]Uses:25 36 46Used by:121
Symbol 48 GraphicUsed by:Timeline
Symbol 49 GraphicUsed by:50 84 184 522 545 578  Timeline
Symbol 50 MovieClipUses:49Used by:176  Timeline
Symbol 51 BitmapUsed by:52
Symbol 52 GraphicUses:51Used by:71
Symbol 53 BitmapUsed by:54
Symbol 54 GraphicUses:53Used by:71
Symbol 55 BitmapUsed by:56 585
Symbol 56 GraphicUses:55Used by:71
Symbol 57 BitmapUsed by:58
Symbol 58 GraphicUses:57Used by:71
Symbol 59 BitmapUsed by:60
Symbol 60 GraphicUses:59Used by:71
Symbol 61 BitmapUsed by:62 108
Symbol 62 GraphicUses:61Used by:71
Symbol 63 BitmapUsed by:64
Symbol 64 GraphicUses:63Used by:71
Symbol 65 BitmapUsed by:66
Symbol 66 GraphicUses:65Used by:71
Symbol 67 BitmapUsed by:68
Symbol 68 GraphicUses:67Used by:71
Symbol 69 BitmapUsed by:70
Symbol 70 GraphicUses:69Used by:71
Symbol 71 MovieClipUses:52 54 56 58 60 62 64 66 68 70Used by:Timeline
Symbol 72 FontUsed by:73 76 80 109 110 133 135 137 138 141 142 144 147 148 166 167 170 171 172 173 174 183 186 337 387 392 394 395 396 398 399 403 404 408 412 413 420 424 425 428 430 437 439 441 442 445 446 464 465 468 469 472 473 476 479 480 481 483 491 492 493 494 495 497 498 504 505 506 507 508 509 510 511 512 513 519 525 526 527 534 535 550 551 552 553 555 556 557 558 559 560 562 564 566 567 568 569 570 573 574 575 579 580 583 586 587 588 589 590 591 592 593 594 597 598 600 601 602 613 614 615 616 617 619 620
Symbol 73 TextUses:72Used by:Timeline
Symbol 74 GraphicUsed by:75
Symbol 75 MovieClipUses:74Used by:Timeline
Symbol 76 TextUses:72Used by:77
Symbol 77 MovieClipUses:76Used by:Timeline
Symbol 78 GraphicUsed by:79
Symbol 79 MovieClipUses:78Used by:Timeline
Symbol 80 TextUses:72Used by:81
Symbol 81 MovieClipUses:80Used by:Timeline
Symbol 82 GraphicUsed by:83
Symbol 83 MovieClipUses:82Used by:Timeline
Symbol 84 MovieClipUses:49Used by:Timeline
Symbol 85 GraphicUsed by:Timeline
Symbol 86 GraphicUsed by:102
Symbol 87 GraphicUsed by:102
Symbol 88 GraphicUsed by:102
Symbol 89 SoundUsed by:102
Symbol 90 SoundUsed by:102
Symbol 91 GraphicUsed by:102
Symbol 92 GraphicUsed by:93
Symbol 93 MovieClipUses:92Used by:102
Symbol 94 SoundUsed by:102
Symbol 95 SoundUsed by:102
Symbol 96 SoundUsed by:102
Symbol 97 SoundUsed by:102
Symbol 98 GraphicUsed by:99
Symbol 99 MovieClipUses:98Used by:102
Symbol 100 SoundUsed by:102
Symbol 101 SoundUsed by:102
Symbol 102 MovieClipUses:86 87 88 89 90 91 93 94 95 96 97 99 100 101Used by:Timeline
Symbol 103 GraphicUsed by:107
Symbol 104 ShapeTweeningUsed by:107
Symbol 105 ShapeTweeningUsed by:107
Symbol 106 GraphicUsed by:107
Symbol 107 MovieClipUses:103 104 105 106Used by:176  Timeline
Symbol 108 GraphicUses:61Used by:Timeline
Symbol 109 TextUses:72Used by:Timeline
Symbol 110 TextUses:72Used by:111
Symbol 111 MovieClipUses:110Used by:Timeline
Symbol 112 GraphicUsed by:113 128
Symbol 113 MovieClipUses:112Used by:129
Symbol 114 GraphicUsed by:121
Symbol 115 GraphicUsed by:121
Symbol 116 GraphicUsed by:121
Symbol 117 GraphicUsed by:121
Symbol 118 GraphicUsed by:121
Symbol 119 GraphicUsed by:121
Symbol 120 GraphicUsed by:121
Symbol 121 MovieClipUses:114 47 115 116 117 118 119 120Used by:129
Symbol 122 GraphicUsed by:123
Symbol 123 MovieClipUses:122Used by:129
Symbol 124 GraphicUsed by:125
Symbol 125 MovieClipUses:124Used by:129
Symbol 126 GraphicUsed by:127
Symbol 127 MovieClipUses:126Used by:129
Symbol 128 MovieClipUses:112Used by:129
Symbol 129 MovieClipUses:113 121 123 125 127 128Used by:132
Symbol 130 GraphicUsed by:131 489 496
Symbol 131 MovieClipUses:130Used by:132
Symbol 132 MovieClipUses:129 131Used by:Timeline
Symbol 133 TextUses:72Used by:134
Symbol 134 MovieClipUses:133Used by:Timeline
Symbol 135 TextUses:72Used by:136
Symbol 136 MovieClipUses:135Used by:Timeline
Symbol 137 TextUses:72Used by:Timeline
Symbol 138 TextUses:72Used by:139
Symbol 139 MovieClipUses:138Used by:Timeline
Symbol 140 GraphicUsed by:146
Symbol 141 TextUses:72Used by:146
Symbol 142 TextUses:72Used by:143
Symbol 143 MovieClipUses:142Used by:146
Symbol 144 TextUses:72Used by:145
Symbol 145 MovieClipUses:144Used by:146
Symbol 146 MovieClip [miniScreen]Uses:140 141 143 145Used by:Timeline
Symbol 147 TextUses:72Used by:149
Symbol 148 TextUses:72Used by:149
Symbol 149 MovieClipUses:147 148Used by:Timeline
Symbol 150 Sound [menu.wav]Used by:Timeline
Symbol 151 GraphicUsed by:176 182
Symbol 152 GraphicUsed by:153
Symbol 153 MovieClipUses:152Used by:176  Timeline
Symbol 154 GraphicUsed by:155
Symbol 155 MovieClipUses:154Used by:176  Timeline
Symbol 156 GraphicUsed by:164
Symbol 157 GraphicUsed by:163
Symbol 158 GraphicUsed by:163
Symbol 159 GraphicUsed by:163
Symbol 160 GraphicUsed by:163
Symbol 161 GraphicUsed by:163
Symbol 162 GraphicUsed by:163
Symbol 163 MovieClipUses:157 158 159 160 161 162Used by:164 175
Symbol 164 MovieClipUses:156 163Used by:176
Symbol 165 GraphicUsed by:168
Symbol 166 EditableTextUses:72 463Used by:168
Symbol 167 TextUses:72Used by:168
Symbol 168 MovieClipUses:165 166 167Used by:176
Symbol 169 GraphicUsed by:175
Symbol 170 EditableTextUses:72 463Used by:175
Symbol 171 TextUses:72Used by:175
Symbol 172 EditableTextUses:72 463Used by:175
Symbol 173 EditableTextUses:72 463Used by:175
Symbol 174 TextUses:72Used by:175
Symbol 175 MovieClipUses:169 163 170 171 172 173 174Used by:176
Symbol 176 MovieClip [shop]Uses:151 107 153 155 50 164 168 175Used by:Timeline
Symbol 177 ShapeTweeningUsed by:182
Symbol 178 ShapeTweeningUsed by:182
Symbol 179 GraphicUsed by:182
Symbol 180 ShapeTweeningUsed by:182
Symbol 181 ShapeTweeningUsed by:182
Symbol 182 MovieClipUses:177 178 179 180 181 151Used by:Timeline
Symbol 183 TextUses:72Used by:184
Symbol 184 MovieClipUses:49 183Used by:Timeline
Symbol 185 GraphicUsed by:Timeline
Symbol 186 EditableTextUses:72 463Used by:Timeline
Symbol 187 GraphicUsed by:Timeline
Symbol 188 BitmapUsed by:189
Symbol 189 GraphicUses:188Used by:284
Symbol 190 BitmapUsed by:191
Symbol 191 GraphicUses:190Used by:284
Symbol 192 BitmapUsed by:193
Symbol 193 GraphicUses:192Used by:284
Symbol 194 BitmapUsed by:195
Symbol 195 GraphicUses:194Used by:284
Symbol 196 BitmapUsed by:197
Symbol 197 GraphicUses:196Used by:284
Symbol 198 BitmapUsed by:199
Symbol 199 GraphicUses:198Used by:284
Symbol 200 BitmapUsed by:201
Symbol 201 GraphicUses:200Used by:284
Symbol 202 BitmapUsed by:203
Symbol 203 GraphicUses:202Used by:284
Symbol 204 BitmapUsed by:205
Symbol 205 GraphicUses:204Used by:284
Symbol 206 BitmapUsed by:207
Symbol 207 GraphicUses:206Used by:284
Symbol 208 BitmapUsed by:209
Symbol 209 GraphicUses:208Used by:284
Symbol 210 BitmapUsed by:211
Symbol 211 GraphicUses:210Used by:284
Symbol 212 BitmapUsed by:213
Symbol 213 GraphicUses:212Used by:284
Symbol 214 BitmapUsed by:215
Symbol 215 GraphicUses:214Used by:284
Symbol 216 BitmapUsed by:217
Symbol 217 GraphicUses:216Used by:284
Symbol 218 BitmapUsed by:219
Symbol 219 GraphicUses:218Used by:284
Symbol 220 BitmapUsed by:221
Symbol 221 GraphicUses:220Used by:284
Symbol 222 BitmapUsed by:223
Symbol 223 GraphicUses:222Used by:284
Symbol 224 BitmapUsed by:225
Symbol 225 GraphicUses:224Used by:284
Symbol 226 BitmapUsed by:227
Symbol 227 GraphicUses:226Used by:284
Symbol 228 BitmapUsed by:229
Symbol 229 GraphicUses:228Used by:284
Symbol 230 BitmapUsed by:231
Symbol 231 GraphicUses:230Used by:284
Symbol 232 BitmapUsed by:233
Symbol 233 GraphicUses:232Used by:284
Symbol 234 BitmapUsed by:235
Symbol 235 GraphicUses:234Used by:284
Symbol 236 BitmapUsed by:237
Symbol 237 GraphicUses:236Used by:284
Symbol 238 BitmapUsed by:239
Symbol 239 GraphicUses:238Used by:284
Symbol 240 BitmapUsed by:241
Symbol 241 GraphicUses:240Used by:284
Symbol 242 BitmapUsed by:243
Symbol 243 GraphicUses:242Used by:284
Symbol 244 BitmapUsed by:245
Symbol 245 GraphicUses:244Used by:284
Symbol 246 BitmapUsed by:247
Symbol 247 GraphicUses:246Used by:284
Symbol 248 BitmapUsed by:249
Symbol 249 GraphicUses:248Used by:284
Symbol 250 BitmapUsed by:251
Symbol 251 GraphicUses:250Used by:284
Symbol 252 BitmapUsed by:253
Symbol 253 GraphicUses:252Used by:284
Symbol 254 BitmapUsed by:255
Symbol 255 GraphicUses:254Used by:284
Symbol 256 BitmapUsed by:257
Symbol 257 GraphicUses:256Used by:284
Symbol 258 BitmapUsed by:259
Symbol 259 GraphicUses:258Used by:284
Symbol 260 BitmapUsed by:261
Symbol 261 GraphicUses:260Used by:284
Symbol 262 BitmapUsed by:263
Symbol 263 GraphicUses:262Used by:284
Symbol 264 BitmapUsed by:265
Symbol 265 GraphicUses:264Used by:284
Symbol 266 BitmapUsed by:267
Symbol 267 GraphicUses:266Used by:284
Symbol 268 BitmapUsed by:269
Symbol 269 GraphicUses:268Used by:284
Symbol 270 BitmapUsed by:271
Symbol 271 GraphicUses:270Used by:284
Symbol 272 BitmapUsed by:273
Symbol 273 GraphicUses:272Used by:284
Symbol 274 BitmapUsed by:275
Symbol 275 GraphicUses:274Used by:284
Symbol 276 BitmapUsed by:277
Symbol 277 GraphicUses:276Used by:284
Symbol 278 BitmapUsed by:279
Symbol 279 GraphicUses:278Used by:284
Symbol 280 BitmapUsed by:281
Symbol 281 GraphicUses:280Used by:284
Symbol 282 BitmapUsed by:283
Symbol 283 GraphicUses:282Used by:284
Symbol 284 MovieClipUses:189 191 193 195 197 199 201 203 205 207 209 211 213 215 217 219 221 223 225 227 229 231 233 235 237 239 241 243 245 247 249 251 253 255 257 259 261 263 265 267 269 271 273 275 277 279 281 283Used by:287
Symbol 285 GraphicUsed by:286
Symbol 286 MovieClipUses:285Used by:287
Symbol 287 MovieClip [explosion]Uses:284 286Used by:Timeline
Symbol 288 GraphicUsed by:289
Symbol 289 MovieClipUses:288Used by:290
Symbol 290 MovieClipUses:289Used by:Timeline
Symbol 291 GraphicUsed by:Timeline
Symbol 292 GraphicUsed by:293
Symbol 293 MovieClipUses:292Used by:Timeline
Symbol 294 GraphicUsed by:298
Symbol 295 GraphicUsed by:298
Symbol 296 GraphicUsed by:298
Symbol 297 GraphicUsed by:298
Symbol 298 MovieClipUses:294 295 296 297Used by:301 545
Symbol 299 GraphicUsed by:301
Symbol 300 GraphicUsed by:301
Symbol 301 MovieClip [bullet]Uses:298 299 300Used by:Timeline
Symbol 302 GraphicUsed by:306
Symbol 303 GraphicUsed by:306 322
Symbol 304 GraphicUsed by:306
Symbol 305 GraphicUsed by:306
Symbol 306 MovieClipUses:302 303 304 305Used by:307
Symbol 307 MovieClip [ghost]Uses:306Used by:Timeline
Symbol 308 GraphicUsed by:309
Symbol 309 MovieClipUses:308Used by:Timeline
Symbol 310 GraphicUsed by:313
Symbol 311 GraphicUsed by:313
Symbol 312 GraphicUsed by:313
Symbol 313 MovieClipUses:310 311 312Used by:314
Symbol 314 MovieClip [ghost2]Uses:313Used by:Timeline
Symbol 315 GraphicUsed by:316
Symbol 316 MovieClipUses:315Used by:317
Symbol 317 MovieClip [enemyBullet]Uses:316Used by:Timeline
Symbol 318 GraphicUsed by:322
Symbol 319 GraphicUsed by:322
Symbol 320 GraphicUsed by:322
Symbol 321 GraphicUsed by:322
Symbol 322 MovieClipUses:318 303 319 320 321Used by:323
Symbol 323 MovieClip [ghost3]Uses:322Used by:Timeline
Symbol 324 GraphicUsed by:327
Symbol 325 GraphicUsed by:327
Symbol 326 GraphicUsed by:327
Symbol 327 MovieClipUses:324 325 326Used by:328
Symbol 328 MovieClip [ghost4]Uses:327Used by:Timeline
Symbol 329 GraphicUsed by:332
Symbol 330 GraphicUsed by:332
Symbol 331 GraphicUsed by:332
Symbol 332 MovieClipUses:329 330 331Used by:333
Symbol 333 MovieClip [ghost5]Uses:332Used by:Timeline
Symbol 334 GraphicUsed by:335
Symbol 335 MovieClipUses:334Used by:336
Symbol 336 MovieClip [ranger]Uses:335Used by:Timeline
Symbol 337 EditableTextUses:72 463Used by:Timeline
Symbol 338 GraphicUsed by:353
Symbol 339 GraphicUsed by:353
Symbol 340 GraphicUsed by:353
Symbol 341 GraphicUsed by:353
Symbol 342 GraphicUsed by:353
Symbol 343 GraphicUsed by:353
Symbol 344 GraphicUsed by:353
Symbol 345 GraphicUsed by:353
Symbol 346 GraphicUsed by:353
Symbol 347 GraphicUsed by:353
Symbol 348 GraphicUsed by:353
Symbol 349 GraphicUsed by:353
Symbol 350 GraphicUsed by:353
Symbol 351 GraphicUsed by:353
Symbol 352 GraphicUsed by:353
Symbol 353 MovieClipUses:338 339 340 341 342 343 344 345 346 347 348 349 350 351 352Used by:383
Symbol 354 GraphicUsed by:367
Symbol 355 GraphicUsed by:367
Symbol 356 GraphicUsed by:367
Symbol 357 GraphicUsed by:367
Symbol 358 GraphicUsed by:367
Symbol 359 GraphicUsed by:367
Symbol 360 GraphicUsed by:367
Symbol 361 GraphicUsed by:367
Symbol 362 GraphicUsed by:367
Symbol 363 GraphicUsed by:367
Symbol 364 GraphicUsed by:367
Symbol 365 GraphicUsed by:367
Symbol 366 GraphicUsed by:367
Symbol 367 MovieClipUses:354 355 356 357 358 359 360 361 362 363 364 365 366Used by:383
Symbol 368 GraphicUsed by:382
Symbol 369 GraphicUsed by:382
Symbol 370 GraphicUsed by:382
Symbol 371 GraphicUsed by:382
Symbol 372 GraphicUsed by:382
Symbol 373 GraphicUsed by:382
Symbol 374 GraphicUsed by:382
Symbol 375 GraphicUsed by:382
Symbol 376 GraphicUsed by:382
Symbol 377 GraphicUsed by:382
Symbol 378 GraphicUsed by:382
Symbol 379 GraphicUsed by:382
Symbol 380 GraphicUsed by:382
Symbol 381 GraphicUsed by:382
Symbol 382 MovieClipUses:368 369 370 371 372 373 374 375 376 377 378 379 380 381Used by:383
Symbol 383 MovieClip [floorShot]Uses:353 367 382Used by:Timeline
Symbol 384 GraphicUsed by:385
Symbol 385 MovieClipUses:384Used by:386
Symbol 386 MovieClip [ring]Uses:385Used by:Timeline
Symbol 387 EditableTextUses:72 463Used by:Timeline
Symbol 388 GraphicUsed by:393
Symbol 389 GraphicUsed by:390 391
Symbol 390 MovieClipUses:389Used by:391
Symbol 391 MovieClip [theBar]Uses:389 390Used by:393
Symbol 392 EditableTextUses:72 463Used by:393
Symbol 393 MovieClipUses:388 391 392Used by:Timeline
Symbol 394 EditableTextUses:72 463Used by:Timeline
Symbol 395 EditableTextUses:72 463Used by:Timeline
Symbol 396 EditableTextUses:72 463Used by:Timeline
Symbol 397 GraphicUsed by:400 401
Symbol 398 TextUses:72Used by:401
Symbol 399 TextUses:72Used by:400
Symbol 400 MovieClipUses:397 399Used by:401
Symbol 401 MovieClipUses:397 398 400Used by:Timeline
Symbol 402 GraphicUsed by:405 406
Symbol 403 TextUses:72Used by:406
Symbol 404 TextUses:72Used by:405
Symbol 405 MovieClipUses:402 404Used by:406
Symbol 406 MovieClipUses:402 403 405Used by:Timeline
Symbol 407 GraphicUsed by:409
Symbol 408 TextUses:72Used by:409
Symbol 409 MovieClipUses:407 408Used by:410
Symbol 410 MovieClipUses:409Used by:Timeline
Symbol 411 GraphicUsed by:414 415
Symbol 412 TextUses:72Used by:415
Symbol 413 TextUses:72Used by:414
Symbol 414 MovieClipUses:411 413Used by:415
Symbol 415 MovieClipUses:411 412 414Used by:Timeline
Symbol 416 GraphicUsed by:417
Symbol 417 MovieClipUses:416Used by:418 419
Symbol 418 MovieClip [coin]Uses:417Used by:Timeline
Symbol 419 MovieClip [coin2]Uses:417Used by:Timeline
Symbol 420 EditableTextUses:72 463Used by:421
Symbol 421 MovieClipUses:420Used by:422
Symbol 422 MovieClipUses:421Used by:Timeline
Symbol 423 GraphicUsed by:426
Symbol 424 TextUses:72Used by:426
Symbol 425 EditableTextUses:72 463Used by:426
Symbol 426 MovieClipUses:423 424 425Used by:427
Symbol 427 MovieClipUses:426Used by:Timeline
Symbol 428 EditableTextUses:72 463Used by:Timeline
Symbol 429 GraphicUsed by:431
Symbol 430 TextUses:72Used by:431
Symbol 431 MovieClipUses:429 430Used by:432
Symbol 432 MovieClipUses:431Used by:Timeline
Symbol 433 GraphicUsed by:434
Symbol 434 MovieClip [star]Uses:433Used by:Timeline
Symbol 435 GraphicUsed by:477
Symbol 436 GraphicUsed by:475
Symbol 437 EditableTextUses:72 463Used by:475
Symbol 438 GraphicUsed by:475
Symbol 439 EditableTextUses:72 463Used by:475
Symbol 440 GraphicUsed by:447
Symbol 441 TextUses:72Used by:447
Symbol 442 TextUses:72Used by:447
Symbol 443 GraphicUsed by:447
Symbol 444 GraphicUsed by:447
Symbol 445 TextUses:72Used by:447
Symbol 446 TextUses:72Used by:447
Symbol 447 MovieClipUses:440 441 442 443 444 445 446Used by:475 514
Symbol 448 GraphicUsed by:449
Symbol 449 MovieClipUses:448Used by:462
Symbol 450 GraphicUsed by:451
Symbol 451 MovieClipUses:450Used by:462
Symbol 452 GraphicUsed by:453
Symbol 453 MovieClipUses:452Used by:462
Symbol 454 GraphicUsed by:455
Symbol 455 MovieClipUses:454Used by:462
Symbol 456 GraphicUsed by:457
Symbol 457 MovieClipUses:456Used by:462
Symbol 458 GraphicUsed by:459
Symbol 459 MovieClipUses:458Used by:462
Symbol 460 GraphicUsed by:461
Symbol 461 MovieClipUses:460Used by:462
Symbol 462 MovieClipUses:449 451 453 455 457 459 461Used by:466 501
Symbol 463 FontUsed by:166 170 172 173 186 337 387 392 394 395 396 420 425 428 437 439 464 465 476 497 498 504 506 508 509 511 513 527 534 535 574 583 593
Symbol 464 EditableTextUses:72 463Used by:466
Symbol 465 EditableTextUses:72 463Used by:466
Symbol 466 MovieClipUses:462 464 465Used by:475
Symbol 467 GraphicUsed by:474
Symbol 468 TextUses:72Used by:474
Symbol 469 TextUses:72Used by:474
Symbol 470 GraphicUsed by:474
Symbol 471 GraphicUsed by:474
Symbol 472 TextUses:72Used by:474
Symbol 473 TextUses:72Used by:474
Symbol 474 MovieClipUses:467 468 469 470 471 472 473Used by:475
Symbol 475 MovieClipUses:436 437 438 439 447 466 474Used by:477
Symbol 476 EditableTextUses:72 463Used by:477
Symbol 477 MovieClip [achScreen]Uses:435 475 476Used by:Timeline
Symbol 478 GraphicUsed by:485
Symbol 479 TextUses:72Used by:485
Symbol 480 TextUses:72Used by:485
Symbol 481 TextUses:72Used by:482
Symbol 482 MovieClipUses:481Used by:485
Symbol 483 TextUses:72Used by:484
Symbol 484 MovieClip [gtm]Uses:483Used by:485
Symbol 485 MovieClip [pauseScreen]Uses:478 479 480 482 484Used by:Timeline
Symbol 486 GraphicUsed by:487
Symbol 487 MovieClipUses:486Used by:488
Symbol 488 MovieClipUses:487Used by:Timeline
Symbol 489 MovieClipUses:130Used by:490
Symbol 490 MovieClipUses:489Used by:Timeline
Symbol 491 TextUses:72Used by:496
Symbol 492 TextUses:72Used by:496
Symbol 493 TextUses:72Used by:496
Symbol 494 TextUses:72Used by:496
Symbol 495 TextUses:72Used by:496
Symbol 496 MovieClipUses:130 491 492 493 494 495Used by:Timeline
Symbol 497 EditableTextUses:72 463Used by:Timeline
Symbol 498 EditableTextUses:72 463Used by:501
Symbol 499 GraphicUsed by:500
Symbol 500 MovieClipUses:499Used by:501
Symbol 501 MovieClipUses:498 462 500Used by:Timeline
Symbol 502 GraphicUsed by:515
Symbol 503 GraphicUsed by:514
Symbol 504 EditableTextUses:72 463Used by:514
Symbol 505 TextUses:72Used by:514
Symbol 506 EditableTextUses:72 463Used by:514
Symbol 507 TextUses:72Used by:514
Symbol 508 EditableTextUses:72 463Used by:514
Symbol 509 EditableTextUses:72 463Used by:514
Symbol 510 TextUses:72Used by:514
Symbol 511 EditableTextUses:72 463Used by:514
Symbol 512 TextUses:72Used by:514
Symbol 513 EditableTextUses:72 463Used by:514
Symbol 514 MovieClipUses:503 447 504 505 506 507 508 509 510 511 512 513Used by:515
Symbol 515 MovieClip [levelFinish]Uses:502 514Used by:Timeline
Symbol 516 GraphicUsed by:517
Symbol 517 MovieClipUses:516Used by:518
Symbol 518 MovieClip [mBonus]Uses:517Used by:Timeline
Symbol 519 TextUses:72Used by:520
Symbol 520 MovieClipUses:519Used by:Timeline
Symbol 521 GraphicUsed by:523
Symbol 522 MovieClipUses:49Used by:523 539 541 543
Symbol 523 MovieClip [simpleTurret]Uses:521 522Used by:Timeline
Symbol 524 GraphicUsed by:537
Symbol 525 TextUses:72Used by:537
Symbol 526 TextUses:72Used by:537
Symbol 527 EditableTextUses:72 463Used by:536
Symbol 528 GraphicUsed by:533
Symbol 529 GraphicUsed by:533
Symbol 530 GraphicUsed by:533
Symbol 531 GraphicUsed by:533
Symbol 532 GraphicUsed by:533
Symbol 533 MovieClipUses:528 529 530 531 532Used by:536
Symbol 534 EditableTextUses:72 463Used by:536
Symbol 535 EditableTextUses:72 463Used by:536
Symbol 536 MovieClipUses:527 533 534 535Used by:537
Symbol 537 MovieClip [turretShop]Uses:524 525 526 536Used by:Timeline
Symbol 538 GraphicUsed by:539
Symbol 539 MovieClip [topTurret]Uses:538 522Used by:Timeline
Symbol 540 GraphicUsed by:541
Symbol 541 MovieClip [simpleTurret2]Uses:540 522Used by:Timeline
Symbol 542 GraphicUsed by:543
Symbol 543 MovieClip [topTurret2]Uses:542 522Used by:Timeline
Symbol 544 GraphicUsed by:545
Symbol 545 MovieClip [bullet2]Uses:298 49 544Used by:Timeline
Symbol 546 GraphicUsed by:571
Symbol 547 GraphicUsed by:548
Symbol 548 MovieClipUses:547Used by:549
Symbol 549 MovieClipUses:548Used by:571
Symbol 550 TextUses:72Used by:571
Symbol 551 TextUses:72Used by:571
Symbol 552 TextUses:72Used by:571
Symbol 553 TextUses:72Used by:571
Symbol 554 GraphicUsed by:571
Symbol 555 TextUses:72Used by:571
Symbol 556 TextUses:72Used by:571
Symbol 557 TextUses:72Used by:571
Symbol 558 TextUses:72Used by:571
Symbol 559 TextUses:72Used by:571
Symbol 560 TextUses:72Used by:571
Symbol 561 GraphicUsed by:571
Symbol 562 TextUses:72Used by:571
Symbol 563 GraphicUsed by:571
Symbol 564 TextUses:72Used by:571
Symbol 565 GraphicUsed by:571
Symbol 566 TextUses:72Used by:571
Symbol 567 TextUses:72Used by:571
Symbol 568 TextUses:72Used by:571
Symbol 569 TextUses:72Used by:571
Symbol 570 TextUses:72Used by:571
Symbol 571 MovieClip [tutorial]Uses:546 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570Used by:Timeline
Symbol 572 GraphicUsed by:577
Symbol 573 TextUses:72Used by:577
Symbol 574 EditableTextUses:72 463Used by:577
Symbol 575 TextUses:72Used by:576
Symbol 576 MovieClipUses:575Used by:577
Symbol 577 MovieClipUses:572 573 574 576Used by:Timeline
Symbol 578 MovieClipUses:49Used by:582
Symbol 579 TextUses:72Used by:581
Symbol 580 TextUses:72Used by:581
Symbol 581 MovieClipUses:579 580Used by:582
Symbol 582 MovieClipUses:578 581Used by:Timeline
Symbol 583 EditableTextUses:72 463Used by:Timeline
Symbol 584 Sound [song.wav]Used by:Timeline
Symbol 585 GraphicUses:55Used by:Timeline
Symbol 586 TextUses:72Used by:Timeline
Symbol 587 TextUses:72Used by:Timeline
Symbol 588 TextUses:72Used by:Timeline
Symbol 589 TextUses:72Used by:Timeline
Symbol 590 TextUses:72Used by:Timeline
Symbol 591 TextUses:72Used by:Timeline
Symbol 592 TextUses:72Used by:Timeline
Symbol 593 EditableTextUses:72 463Used by:Timeline
Symbol 594 TextUses:72Used by:595
Symbol 595 MovieClipUses:594Used by:Timeline
Symbol 596 GraphicUsed by:599
Symbol 597 TextUses:72Used by:599
Symbol 598 TextUses:72Used by:599
Symbol 599 MovieClipUses:596 597 598Used by:Timeline
Symbol 600 TextUses:72Used by:Timeline
Symbol 601 TextUses:72Used by:Timeline
Symbol 602 TextUses:72Used by:Timeline
Symbol 603 GraphicUsed by:604
Symbol 604 MovieClipUses:603Used by:Timeline
Symbol 605 GraphicUsed by:606
Symbol 606 MovieClipUses:605Used by:Timeline
Symbol 607 GraphicUsed by:608
Symbol 608 MovieClipUses:607Used by:Timeline
Symbol 609 GraphicUsed by:610
Symbol 610 MovieClipUses:609Used by:Timeline
Symbol 611 GraphicUsed by:612
Symbol 612 MovieClipUses:611Used by:Timeline
Symbol 613 TextUses:72Used by:Timeline
Symbol 614 TextUses:72Used by:Timeline
Symbol 615 TextUses:72Used by:Timeline
Symbol 616 TextUses:72Used by:Timeline
Symbol 617 TextUses:72Used by:618
Symbol 618 MovieClipUses:617Used by:Timeline
Symbol 619 TextUses:72Used by:Timeline
Symbol 620 TextUses:72Used by:Timeline

Instance Names

"level"Frame 1Symbol 50 MovieClip
"moneyTree"Frame 1Symbol 71 MovieClip
"pBtn"Frame 1Symbol 77 MovieClip
"loader"Frame 1Symbol 79 MovieClip
"loading"Frame 1Symbol 81 MovieClip
"ag"Frame 1Symbol 83 MovieClip
"adBox"Frame 1Symbol 84 MovieClip
"level"Frame 3Symbol 50 MovieClip
"ag"Frame 3Symbol 83 MovieClip
"playBtn"Frame 3Symbol 111 MovieClip
"char"Frame 3Symbol 132 MovieClip
"cg"Frame 3Symbol 134 MovieClip
"pmg"Frame 3Symbol 136 MovieClip
"cs"Frame 3Symbol 139 MovieClip
"miniScreen"Frame 3Symbol 146 MovieClip [miniScreen]
"mBtn"Frame 3Symbol 149 MovieClip
"bg"Frame 4Symbol 182 MovieClip
"monTxt"Frame 4Symbol 186 EditableText
"moneyTree"Frame 4Symbol 71 MovieClip
"ps"Frame 4Symbol 290 MovieClip
"hBar"Frame 4Symbol 309 MovieClip
"timeTxt"Frame 4Symbol 337 EditableText
"ring"Frame 4Symbol 386 MovieClip [ring]
"ringTxt"Frame 4Symbol 387 EditableText
"k1"Frame 4Symbol 393 MovieClip
"rTxt"Frame 4Symbol 394 EditableText
"tTxt"Frame 4Symbol 395 EditableText
"sTxt"Frame 4Symbol 396 EditableText
"k2"Frame 4Symbol 401 MovieClip
"r2"Frame 4Symbol 406 MovieClip
"s2"Frame 4Symbol 410 MovieClip
"t2"Frame 4Symbol 415 MovieClip
"dayUp"Frame 4Symbol 422 MovieClip
"award"Frame 4Symbol 427 MovieClip
"w2Txt"Frame 4Symbol 428 EditableText
"w2"Frame 4Symbol 432 MovieClip
"tree"Frame 4Symbol 153 MovieClip
"rFlash"Frame 4Symbol 488 MovieClip
"wFlash"Frame 4Symbol 490 MovieClip
"ii"Frame 4Symbol 496 MovieClip
"tlTxt"Frame 4Symbol 497 EditableText
"a1"Frame 4Symbol 501 MovieClip
"a2"Frame 4Symbol 501 MovieClip
"a3"Frame 4Symbol 501 MovieClip
"qbtn"Frame 4Symbol 520 MovieClip
"tutBox"Frame 4Symbol 577 MovieClip
"tutComplete"Frame 4Symbol 582 MovieClip
"nwTxt"Frame 4Symbol 583 EditableText
"bb"Frame 5Symbol 595 MovieClip
"st"Frame 5Symbol 599 MovieClip
"ag"Frame 5Symbol 83 MovieClip
"ng"Frame 6Symbol 618 MovieClip
"gShot"Symbol 121 MovieClip Frame 1Symbol 47 MovieClip [gunshots]
"gShot"Symbol 121 MovieClip Frame 7Symbol 47 MovieClip [gunshots]
"g1"Symbol 129 MovieClip Frame 1Symbol 113 MovieClip
"gun"Symbol 129 MovieClip Frame 1Symbol 121 MovieClip
"g1"Symbol 129 MovieClip Frame 5Symbol 123 MovieClip
"g1"Symbol 129 MovieClip Frame 10Symbol 125 MovieClip
"g1"Symbol 129 MovieClip Frame 15Symbol 127 MovieClip
"g1"Symbol 129 MovieClip Frame 20Symbol 128 MovieClip
"ina"Symbol 132 MovieClip Frame 1Symbol 129 MovieClip
"a1"Symbol 132 MovieClip Frame 1Symbol 131 MovieClip
"yBtn"Symbol 146 MovieClip [miniScreen] Frame 1Symbol 143 MovieClip
"nBtn"Symbol 146 MovieClip [miniScreen] Frame 1Symbol 145 MovieClip
"gun"Symbol 164 MovieClip Frame 1Symbol 163 MovieClip
"numTxt"Symbol 168 MovieClip Frame 1Symbol 166 EditableText
"gunImg"Symbol 175 MovieClip Frame 1Symbol 163 MovieClip
"costTxt"Symbol 175 MovieClip Frame 1Symbol 170 EditableText
"monTxt"Symbol 175 MovieClip Frame 1Symbol 172 EditableText
"descTxt"Symbol 175 MovieClip Frame 1Symbol 173 EditableText
"tree"Symbol 176 MovieClip [shop] Frame 1Symbol 153 MovieClip
"level"Symbol 176 MovieClip [shop] Frame 1Symbol 50 MovieClip
"w1"Symbol 176 MovieClip [shop] Frame 1Symbol 164 MovieClip
"w2"Symbol 176 MovieClip [shop] Frame 1Symbol 164 MovieClip
"w3"Symbol 176 MovieClip [shop] Frame 1Symbol 164 MovieClip
"w4"Symbol 176 MovieClip [shop] Frame 1Symbol 164 MovieClip
"w5"Symbol 176 MovieClip [shop] Frame 1Symbol 164 MovieClip
"w6"Symbol 176 MovieClip [shop] Frame 1Symbol 164 MovieClip
"l1"Symbol 176 MovieClip [shop] Frame 1Symbol 168 MovieClip
"l2"Symbol 176 MovieClip [shop] Frame 1Symbol 168 MovieClip
"l3"Symbol 176 MovieClip [shop] Frame 1Symbol 168 MovieClip
"l4"Symbol 176 MovieClip [shop] Frame 1Symbol 168 MovieClip
"l5"Symbol 176 MovieClip [shop] Frame 1Symbol 168 MovieClip
"l6"Symbol 176 MovieClip [shop] Frame 1Symbol 168 MovieClip
"l7"Symbol 176 MovieClip [shop] Frame 1Symbol 168 MovieClip
"l8"Symbol 176 MovieClip [shop] Frame 1Symbol 168 MovieClip
"infor"Symbol 176 MovieClip [shop] Frame 1Symbol 175 MovieClip
"ina"Symbol 287 MovieClip [explosion] Frame 1Symbol 284 MovieClip
"re"Symbol 287 MovieClip [explosion] Frame 1Symbol 286 MovieClip
"ina"Symbol 386 MovieClip [ring] Frame 1Symbol 385 MovieClip
"bar"Symbol 393 MovieClip Frame 1Symbol 391 MovieClip [theBar]
"iTxt"Symbol 393 MovieClip Frame 1Symbol 392 EditableText
"dTxt"Symbol 421 MovieClip Frame 1Symbol 420 EditableText
"d1"Symbol 422 MovieClip Frame 1Symbol 421 MovieClip
"awardName"Symbol 426 MovieClip Frame 1Symbol 425 EditableText
"aname"Symbol 427 MovieClip Frame 1Symbol 426 MovieClip
"tIcon"Symbol 466 MovieClip Frame 1Symbol 462 MovieClip
"descTxt"Symbol 466 MovieClip Frame 1Symbol 464 EditableText
"nameTxt"Symbol 466 MovieClip Frame 1Symbol 465 EditableText
"l1"Symbol 475 MovieClip Frame 1Symbol 437 EditableText
"l2"Symbol 475 MovieClip Frame 1Symbol 439 EditableText
"doneBtn"Symbol 475 MovieClip Frame 1Symbol 447 MovieClip
"t4"Symbol 475 MovieClip Frame 1Symbol 466 MovieClip
"t5"Symbol 475 MovieClip Frame 1Symbol 466 MovieClip
"t6"Symbol 475 MovieClip Frame 1Symbol 466 MovieClip
"mgBtn"Symbol 475 MovieClip Frame 1Symbol 474 MovieClip
"t1"Symbol 475 MovieClip Frame 1Symbol 466 MovieClip
"t2"Symbol 475 MovieClip Frame 1Symbol 466 MovieClip
"t3"Symbol 475 MovieClip Frame 1Symbol 466 MovieClip
"taskScreen"Symbol 477 MovieClip [achScreen] Frame 1Symbol 475 MovieClip
"hTxt"Symbol 477 MovieClip [achScreen] Frame 1Symbol 476 EditableText
"cfs"Symbol 485 MovieClip [pauseScreen] Frame 1Symbol 482 MovieClip
"gtm"Symbol 485 MovieClip [pauseScreen] Frame 1Symbol 484 MovieClip [gtm]
"aTxt"Symbol 501 MovieClip Frame 1Symbol 498 EditableText
"tIcon"Symbol 501 MovieClip Frame 1Symbol 462 MovieClip
"c1"Symbol 501 MovieClip Frame 1Symbol 500 MovieClip
"doneBtn"Symbol 514 MovieClip Frame 1Symbol 447 MovieClip
"d1"Symbol 514 MovieClip Frame 1Symbol 504 EditableText
"t1"Symbol 514 MovieClip Frame 1Symbol 506 EditableText
"b1"Symbol 514 MovieClip Frame 1Symbol 508 EditableText
"b2"Symbol 514 MovieClip Frame 1Symbol 509 EditableText
"r1"Symbol 514 MovieClip Frame 1Symbol 511 EditableText
"r2"Symbol 514 MovieClip Frame 1Symbol 513 EditableText
"taskScreen"Symbol 515 MovieClip [levelFinish] Frame 1Symbol 514 MovieClip
"cannon"Symbol 523 MovieClip [simpleTurret] Frame 1Symbol 522 MovieClip
"mTxt"Symbol 536 MovieClip Frame 1Symbol 527 EditableText
"tIcon"Symbol 536 MovieClip Frame 1Symbol 533 MovieClip
"nTxt"Symbol 536 MovieClip Frame 1Symbol 534 EditableText
"dTxt"Symbol 536 MovieClip Frame 1Symbol 535 EditableText
"t1"Symbol 537 MovieClip [turretShop] Frame 1Symbol 536 MovieClip
"t2"Symbol 537 MovieClip [turretShop] Frame 1Symbol 536 MovieClip
"t3"Symbol 537 MovieClip [turretShop] Frame 1Symbol 536 MovieClip
"t4"Symbol 537 MovieClip [turretShop] Frame 1Symbol 536 MovieClip
"cannon"Symbol 539 MovieClip [topTurret] Frame 1Symbol 522 MovieClip
"cannon"Symbol 541 MovieClip [simpleTurret2] Frame 1Symbol 522 MovieClip
"cannon"Symbol 543 MovieClip [topTurret2] Frame 1Symbol 522 MovieClip
"a1"Symbol 571 MovieClip [tutorial] Frame 1Symbol 549 MovieClip
"a1"Symbol 571 MovieClip [tutorial] Frame 2Symbol 549 MovieClip
"a1"Symbol 571 MovieClip [tutorial] Frame 2Symbol 549 MovieClip
"a1"Symbol 571 MovieClip [tutorial] Frame 2Symbol 549 MovieClip
"a1"Symbol 571 MovieClip [tutorial] Frame 5Symbol 549 MovieClip
"a1"Symbol 571 MovieClip [tutorial] Frame 5Symbol 549 MovieClip
"tTxt"Symbol 577 MovieClip Frame 1Symbol 574 EditableText
"ctc"Symbol 577 MovieClip Frame 1Symbol 576 MovieClip

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata present, AS1/AS2.
SWFMetaData (77)Timeline Frame 11284 bytes "<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> <rdf:Description rdf:about="" xmln ..."
ScriptLimits (65)Timeline Frame 1MaxRecursionDepth: 256, ScriptTimeout: 3 seconds
ExportAssets (56)Timeline Frame 1Symbol 1 as "shotgun.wav"
ExportAssets (56)Timeline Frame 1Symbol 2 as "Ring2.wav"
ExportAssets (56)Timeline Frame 1Symbol 3 as "Ring.wav"
ExportAssets (56)Timeline Frame 1Symbol 4 as "rail.wav"
ExportAssets (56)Timeline Frame 1Symbol 5 as "poof.wav"
ExportAssets (56)Timeline Frame 1Symbol 6 as "pistol.wav"
ExportAssets (56)Timeline Frame 1Symbol 7 as "pHit.wav"
ExportAssets (56)Timeline Frame 1Symbol 8 as "laserShot.wav"
ExportAssets (56)Timeline Frame 1Symbol 9 as "grenade.wav"
ExportAssets (56)Timeline Frame 1Symbol 10 as "electricity.wav"
ExportAssets (56)Timeline Frame 1Symbol 11 as "bHover.wav"
ExportAssets (56)Timeline Frame 1Symbol 12 as "bClick.wav"
ExportAssets (56)Timeline Frame 1Symbol 13 as "AK47.wav"
ExportAssets (56)Timeline Frame 1Symbol 47 as "gunshots"
ExportAssets (56)Timeline Frame 3Symbol 146 as "miniScreen"
ExportAssets (56)Timeline Frame 3Symbol 150 as "menu.wav"
ExportAssets (56)Timeline Frame 4Symbol 176 as "shop"
ExportAssets (56)Timeline Frame 4Symbol 287 as "explosion"
ExportAssets (56)Timeline Frame 4Symbol 301 as "bullet"
ExportAssets (56)Timeline Frame 4Symbol 307 as "ghost"
ExportAssets (56)Timeline Frame 4Symbol 314 as "ghost2"
ExportAssets (56)Timeline Frame 4Symbol 317 as "enemyBullet"
ExportAssets (56)Timeline Frame 4Symbol 323 as "ghost3"
ExportAssets (56)Timeline Frame 4Symbol 328 as "ghost4"
ExportAssets (56)Timeline Frame 4Symbol 333 as "ghost5"
ExportAssets (56)Timeline Frame 4Symbol 336 as "ranger"
ExportAssets (56)Timeline Frame 4Symbol 383 as "floorShot"
ExportAssets (56)Timeline Frame 4Symbol 386 as "ring"
ExportAssets (56)Timeline Frame 4Symbol 391 as "theBar"
ExportAssets (56)Timeline Frame 4Symbol 418 as "coin"
ExportAssets (56)Timeline Frame 4Symbol 419 as "coin2"
ExportAssets (56)Timeline Frame 4Symbol 434 as "star"
ExportAssets (56)Timeline Frame 4Symbol 477 as "achScreen"
ExportAssets (56)Timeline Frame 4Symbol 484 as "gtm"
ExportAssets (56)Timeline Frame 4Symbol 485 as "pauseScreen"
ExportAssets (56)Timeline Frame 4Symbol 515 as "levelFinish"
ExportAssets (56)Timeline Frame 4Symbol 518 as "mBonus"
ExportAssets (56)Timeline Frame 4Symbol 523 as "simpleTurret"
ExportAssets (56)Timeline Frame 4Symbol 537 as "turretShop"
ExportAssets (56)Timeline Frame 4Symbol 539 as "topTurret"
ExportAssets (56)Timeline Frame 4Symbol 541 as "simpleTurret2"
ExportAssets (56)Timeline Frame 4Symbol 543 as "topTurret2"
ExportAssets (56)Timeline Frame 4Symbol 545 as "bullet2"
ExportAssets (56)Timeline Frame 4Symbol 571 as "tutorial"
ExportAssets (56)Timeline Frame 4Symbol 584 as "song.wav"




http://swfchan.com/28/136342/info.shtml
Created: 9/2 -2019 04:53:19 Last modified: 9/2 -2019 04:53:19 Server time: 28/04 -2024 10:46:27