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

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

tower-defence hack.swf

This is the info page for
Flash #44525

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


Text
How To Play

This game is based on the popular Warcraft3 "Element Tower Defence" and the Starcraft "Turret
Defence" gameplay. The object of the game is to prevent the hordes (waves) of monsters from
getting to the castle by building element towers near the path.
Your menu is located at the bottom of your screen. Tou can choose from a number of different
elements to build towers from. When you click on a tower that has been built, the build menu
becomes an upgrade menu, allowing you to make you towers stronger.
The monsters will spawn (appear) every 20 seconds. Their health will be multiplied by 1.25 with every
wave. If your towers fail to kill the monsters, and they do get to the castle, a civilian of your castle will
die.
When all your civillians die, the game will be over.
Every game experience is different every time you play depending on the position, elements, and
upgrades you choose for your towers.
The creator of this game scored 90. Can you beat that? Click "Start" to start the game.
Many new changes in this verision:
-Added the "Tower Range" variable.
-The Flower Tower is a bit slower to attack.
-Fixed Almost All Bugs and Added Quality Adjustment Button

Please Wait While Loading..

main loop

<p align="left"><font face="Arial_9pt_st" size="9" color="#ffff66" letterSpacing="0.000000" kerning="1"><b><i> </i></b></font></p>

Q

adjust the Quality

<p align="center"></p>

<p align="center"><font face="Arial_24pt_st" size="24" color="#ff9900" letterSpacing="0.000000" kerning="1"><b>0</b></font></p>

Citizens

<p align="center"><font face="Arial_24pt_st" size="24" color="#ff9900" letterSpacing="0.000000" kerning="1"><b>0</b></font></p>

Seconds

<p align="center"><font face="Arial_24pt_st" size="24" color="#ff9900" letterSpacing="0.000000" kerning="1"><b>1</b></font></p>

Wave

Tower Shop

Elements

18

10

15

5 dmg

3 dmg

3000

9090
dmg

Move mouse over the [X]
to cancel build mode.

40

20 dmg

Tower Upgrade

<p align="right"><font face="Tahoma_10pt_st" size="10" color="#ffcc00" letterSpacing="0.000000" kerning="1">30</font></p>

Upgrade

dmg

<p align="right"><font face="Tahoma_10pt_st" size="10" color="#ffffff" letterSpacing="0.000000" kerning="1"><b>000</b></font></p>

<p align="right"><font face="Arial_9pt_st" size="9" color="#ff9900" letterSpacing="0.000000" kerning="1"><i>10000</i></font></p>

Tower Damage:

<p align="right"></p>

rang

<p align="right"><font face="Tahoma_10pt_st" size="10" color="#ffffff" letterSpacing="0.000000" kerning="1"><b>000</b></font></p>

<p align="right"><font face="Arial_9pt_st" size="9" color="#ff9900" letterSpacing="0.000000" kerning="1"><i>10000</i></font></p>

Range:

Money

<p align="center"><font face="Arial_12pt_st" size="12" color="#ff9900" letterSpacing="0.000000" kerning="1">50</font></p>

Press [SpaceBar] To Skip To Next Wave

Your Castle has been Invaded

You Scored:

<p align="center"></p>

The Right-Click-Select-Play doesn't work anymore does it? :P
Nice try though. :D
-Roman S

ActionScript [AS1/AS2]

Frame 1
function GiveMoney() { _root.money = _root.money + Math.round(_root.income); } var newMenu = new ContextMenu(); newMenu.hideBuiltInItems(); _root.menu = newMenu; stop(); ATK_DELAY = 5; GRD_TWR_DMG = 20; AIR_TWR_DMG = 20; BTH_TWR_DMG = 10; FIR_1 = 60; WTR_1 = 50; NTR_1 = 40; FIR_2 = 110; WTR_2 = 100; NTR_2 = 80; FIR_3 = 150; WTR_3 = 130; NTR_3 = 110; FIR_4 = 220; WTR_4 = 200; NTR_4 = 180; FIR_4 = 280; WTR_4 = 300; NTR_4 = 300; FIR_5 = 310; WTR_5 = 390; NTR_6 = 430; NTR_7 = 600; MODE = 0; SEL = 0; lives = 10; wave = 0; timerem = 19; money = 1705032704 /* 0x65A0BC00 */; health = 5; speed = 3; numtowers = 0; hit = false; num = 1; income = 1;
Frame 2
_root.attachMovie("arrow", "selArrow", 1000); stop();
Instance of Symbol 96 MovieClip in Frame 2
onClipEvent (load) { } onClipEvent (enterFrame) { if (_root.guide_rect.hitTest(this)) { _root.hit1 = true; } else { _root.hit1 = false; } }
Instance of Symbol 98 MovieClip in Frame 2
onClipEvent (load) { } onClipEvent (enterFrame) { if (_root.guide_rect.hitTest(this)) { _root.hit2 = true; } else { _root.hit2 = false; } }
Instance of Symbol 100 MovieClip "p3" in Frame 2
onClipEvent (load) { } onClipEvent (enterFrame) { if (_root.guide_rect.hitTest(this)) { _root.hit3 = true; } else { _root.hit3 = false; } }
Instance of Symbol 102 MovieClip in Frame 2
onClipEvent (load) { } onClipEvent (enterFrame) { if (_root.guide_rect.hitTest(this)) { _root.hit4 = true; } else { _root.hit4 = false; } }
Instance of Symbol 104 MovieClip in Frame 2
onClipEvent (load) { } onClipEvent (enterFrame) { if (_root.guide_rect.hitTest(this)) { _root.hit5 = true; } else { _root.hit5 = false; } }
Instance of Symbol 106 MovieClip in Frame 2
onClipEvent (load) { } onClipEvent (enterFrame) { if (_root.guide_rect.hitTest(this)) { _root.hit6 = true; } else { _root.hit6 = false; } }
Instance of Symbol 108 MovieClip in Frame 2
onClipEvent (load) { } onClipEvent (enterFrame) { if (_root.guide_rect.hitTest(this)) { _root.hit7 = true; } else { _root.hit7 = false; } }
Instance of Symbol 110 MovieClip in Frame 2
onClipEvent (load) { } onClipEvent (enterFrame) { if (_root.guide_rect.hitTest(this)) { _root.hit8 = true; } else { _root.hit8 = false; } }
Instance of Symbol 116 MovieClip "main" in Frame 2
onClipEvent (load) { function BuildTwr() { } function MakeTower(typ, x_, y_) { _root.attachMovie("tower", "TWR_" + _root.numtowers, _ymouse + _xmouse); _root["TWR_" + _root.numtowers]._x = x_; _root["TWR_" + _root.numtowers]._y = y_; _root["TWR_" + _root.numtowers].tur.bulspawned = false; if (typ == 1) { if (_root.money >= 18) { _root.money = _root.money - 18; _root["TWR_" + _root.numtowers].gotoAndStop(5); } } else if (typ == 2) { if (_root.money >= 10) { _root.money = _root.money - 10; _root["TWR_" + _root.numtowers].gotoAndStop(13); } } else if (typ == 3) { if (_root.money >= 15) { _root.money = _root.money - 15; _root["TWR_" + _root.numtowers].gotoAndStop(23); } } else if (typ == 4) { if (_root.money >= 2000) { _root.money = _root.money - 2000; _root["TWR_" + _root.numtowers].gotoAndStop(32); } } else if (typ == 5) { if (_root.money >= 40) { _root.money = _root.money - 40; _root["TWR_" + _root.numtowers].gotoAndStop(36); } } _root.numtowers++; } var allow = true; i = 0; m = 0; k = 0; } onClipEvent (enterFrame) { i++; if (i > 30) { i = 0; _root.timerem--; if (_root.messtim >= 0) { _root.messtim--; } } if (_root.timerem <= 0) { _root.timerem = 20; _root.wave++; _root.spawner.spawnCreature(2); _root.health = (_root.health * 1.1) + (_root.wave * 8.6); _root.income = (_root.income * 0.02) + (_root.wave * 1.1); } if (_root.messtim <= 0) { _root.mess.text = ""; } if (_root.lives <= 0) { _root.gotoAndStop(3); } if (_root.MODE == 1) { _root.guide_rect._x = _root._xmouse; _root.guide_rect._y = _root._ymouse; } if (m <= _root.numtowers) { if ((((((_root["TWR_" + m]._x - _root._xmouse) > 25) | ((_root["TWR_" + m]._x - _root._xmouse) < -25)) | (((_root["TWR_" + m]._y - _root._ymouse) > 25) | ((_root["TWR_" + m]._y - _root._ymouse) < -25))) & (_root._ymouse < 400)) & ((((((((!_root.hit1) & (!_root.hit2)) & (!_root.hit3)) & (!_root.hit4)) & (!_root.hit5)) & (!_root.hit6)) & (!_root.hit7)) & (!_root.hit8))) { allow = true; _root.guide_rect.gotoAndStop(1); } else { allow = false; _root.guide_rect.gotoAndStop(2); } m++; if (m >= _root.numtowers) { m = 0; } } } onClipEvent (mouseDown) { if (_root.MODE == 1) { if (_root.numtowers > 0) { k = 0; while (k < _root.numtowers) { if ((((((_root["TWR_" + k]._x - _root._xmouse) > 25) | ((_root["TWR_" + k]._x - _root._xmouse) < -25)) | (((_root["TWR_" + k]._y - _root._ymouse) > 25) | ((_root["TWR_" + k]._y - _root._ymouse) < -25))) & (_root._ymouse < 400)) & ((((((((!_root.hit1) & (!_root.hit2)) & (!_root.hit3)) & (!_root.hit4)) & (!_root.hit5)) & (!_root.hit6)) & (!_root.hit7)) & (!_root.hit8))) { allow = true; _root.guide_rect.gotoAndStop(1); } else { allow = false; _root.guide_rect.gotoAndStop(2); _root.mess.text = "Not Enough Space to Build There!"; _root.messtim = 3; } k++; } } else if ((_root._ymouse < 400) & ((((((((!_root.hit1) & (!_root.hit2)) & (!_root.hit3)) & (!_root.hit4)) & (!_root.hit5)) & (!_root.hit6)) & (!_root.hit7)) & (!_root.hit8))) { allow = true; _root.guide_rect.gotoAndStop(1); } else { allow = false; _root.guide_rect.gotoAndStop(2); _root.mess.text = "Please Build on the Grass."; _root.messtim = 3; } if (allow) { MakeTower(_root.SEL, _root.guide_rect._x, _root.guide_rect._y); _root.MODE = 0; _root.SEL = 0; _root.guide_rect._x = -100; _root.guide_rect._y = -100; } else { } } }
Instance of Symbol 79 MovieClip [guide] "d1" in Frame 2
/* no clip actions */
Instance of Symbol 79 MovieClip [guide] "d8" in Frame 2
/* no clip actions */
Instance of Symbol 77 MovieClip [creature] "c1" in Frame 2
onClipEvent (load) { function damage(num) { this.health = this.health - num; } var xspeed; var yspeed; var active; var active = false; var startx = _x; var starty = _y; this.targ = 1; } onClipEvent (enterFrame) { if ((_root.timerem == 20) & (active == false)) { active = true; this.health = _root.health; targ = 1; } if (active) { if ((this.health <= 0) & (active == true)) { this._x = startx; this._y = starty; active = false; this._alpha = 100; _root.GiveMoney(); } else if ((((this._x - _root["d" + targ]._x) < (_root.speed + 1)) & ((this._x - _root["d" + targ]._x) > (-(_root.speed + 1)))) & (((this._y - _root["d" + targ]._y) < (_root.speed + 1)) & ((this._y - _root["d" + targ]._y) > (-(_root.speed + 1))))) { this._x = _root["d" + targ]._x; this._y = _root["d" + targ]._y; targ++; if (targ > 8) { targ = 1; this._x = startx; this._y = starty; _root.lives--; active = false; } } else if (this._x > (_root["d" + targ]._x + _root.speed)) { this._x = this._x - _root.speed; xspeed = -_root.speed; } else if (this._x < (_root["d" + targ]._x - _root.speed)) { this._x = this._x + _root.speed; xspeed = _root.speed; } else if (this._y > (_root["d" + targ]._y + _root.speed)) { this._y = this._y - _root.speed; yspeed = -_root.speed; } else if (this._y < (_root["d" + targ]._y - _root.speed)) { this._y = this._y + _root.speed; yspeed = _root.speed; } } }
Instance of Symbol 77 MovieClip [creature] "c2" in Frame 2
onClipEvent (load) { function damage(num) { this.health = this.health - num; } var xspeed; var yspeed; var active; var active = false; var startx = _x; var starty = _y; this.targ = 1; } onClipEvent (enterFrame) { if ((_root.timerem == 20) & (active == false)) { active = true; this.health = _root.health; targ = 1; } if (active) { if ((this.health <= 0) & (active == true)) { this._x = startx; this._y = starty; this._alpha = 100; active = false; _root.GiveMoney(); } else if ((((this._x - _root["d" + targ]._x) < (_root.speed + 1)) & ((this._x - _root["d" + targ]._x) > (-(_root.speed + 1)))) & (((this._y - _root["d" + targ]._y) < (_root.speed + 1)) & ((this._y - _root["d" + targ]._y) > (-(_root.speed + 1))))) { this._x = _root["d" + targ]._x; this._y = _root["d" + targ]._y; targ++; if (targ > 8) { targ = 1; this._x = startx; this._y = starty; _root.lives--; active = false; } } else if (this._x > (_root["d" + targ]._x + _root.speed)) { this._x = this._x - _root.speed; xspeed = -_root.speed; } else if (this._x < (_root["d" + targ]._x - _root.speed)) { this._x = this._x + _root.speed; xspeed = _root.speed; } else if (this._y > (_root["d" + targ]._y + _root.speed)) { this._y = this._y - _root.speed; yspeed = -_root.speed; } else if (this._y < (_root["d" + targ]._y - _root.speed)) { this._y = this._y + _root.speed; yspeed = _root.speed; } } }
Instance of Symbol 77 MovieClip [creature] "c3" in Frame 2
onClipEvent (load) { function damage(num) { this.health = this.health - num; } var xspeed; var yspeed; var active; var active = false; var startx = _x; var starty = _y; this.targ = 1; } onClipEvent (enterFrame) { if ((_root.timerem == 20) & (active == false)) { active = true; this.health = _root.health; targ = 1; } if (active) { if ((this.health <= 0) & (active == true)) { this._x = startx; this._y = starty; this._alpha = 100; active = false; _root.GiveMoney(); } else if ((((this._x - _root["d" + targ]._x) < (_root.speed + 1)) & ((this._x - _root["d" + targ]._x) > (-(_root.speed + 1)))) & (((this._y - _root["d" + targ]._y) < (_root.speed + 1)) & ((this._y - _root["d" + targ]._y) > (-(_root.speed + 1))))) { this._x = _root["d" + targ]._x; this._y = _root["d" + targ]._y; targ++; if (targ > 8) { targ = 1; this._x = startx; this._y = starty; _root.lives--; active = false; } } else if (this._x > (_root["d" + targ]._x + _root.speed)) { this._x = this._x - _root.speed; xspeed = -_root.speed; } else if (this._x < (_root["d" + targ]._x - _root.speed)) { this._x = this._x + _root.speed; xspeed = _root.speed; } else if (this._y > (_root["d" + targ]._y + _root.speed)) { this._y = this._y - _root.speed; yspeed = -_root.speed; } else if (this._y < (_root["d" + targ]._y - _root.speed)) { this._y = this._y + _root.speed; yspeed = _root.speed; } } }
Instance of Symbol 77 MovieClip [creature] "c4" in Frame 2
onClipEvent (load) { function damage(num) { this.health = this.health - num; } var xspeed; var yspeed; var active; var active = false; var startx = _x; var starty = _y; this.targ = 1; } onClipEvent (enterFrame) { if ((_root.timerem == 20) & (active == false)) { active = true; this.health = _root.health; targ = 1; } if (active) { if ((this.health <= 0) & (active == true)) { this._x = startx; this._y = starty; this._alpha = 100; active = false; _root.GiveMoney(); } else if ((((this._x - _root["d" + targ]._x) < (_root.speed + 1)) & ((this._x - _root["d" + targ]._x) > (-(_root.speed + 1)))) & (((this._y - _root["d" + targ]._y) < (_root.speed + 1)) & ((this._y - _root["d" + targ]._y) > (-(_root.speed + 1))))) { this._x = _root["d" + targ]._x; this._y = _root["d" + targ]._y; targ++; if (targ > 8) { targ = 1; this._x = startx; this._y = starty; _root.lives--; active = false; } } else if (this._x > (_root["d" + targ]._x + _root.speed)) { this._x = this._x - _root.speed; xspeed = -_root.speed; } else if (this._x < (_root["d" + targ]._x - _root.speed)) { this._x = this._x + _root.speed; xspeed = _root.speed; } else if (this._y > (_root["d" + targ]._y + _root.speed)) { this._y = this._y - _root.speed; yspeed = -_root.speed; } else if (this._y < (_root["d" + targ]._y - _root.speed)) { this._y = this._y + _root.speed; yspeed = _root.speed; } } }
Instance of Symbol 77 MovieClip [creature] "c5" in Frame 2
onClipEvent (load) { function damage(num) { this.health = this.health - num; } var xspeed; var yspeed; var active; var active = false; var startx = _x; var starty = _y; this.targ = 1; } onClipEvent (enterFrame) { if ((_root.timerem == 20) & (active == false)) { active = true; this.health = _root.health; targ = 1; } if (active) { if ((this.health <= 0) & (active == true)) { this._x = startx; this._y = starty; this._alpha = 100; active = false; _root.GiveMoney(); } else if ((((this._x - _root["d" + targ]._x) < (_root.speed + 1)) & ((this._x - _root["d" + targ]._x) > (-(_root.speed + 1)))) & (((this._y - _root["d" + targ]._y) < (_root.speed + 1)) & ((this._y - _root["d" + targ]._y) > (-(_root.speed + 1))))) { this._x = _root["d" + targ]._x; this._y = _root["d" + targ]._y; targ++; if (targ > 8) { targ = 1; this._x = startx; this._y = starty; _root.lives--; active = false; } } else if (this._x > (_root["d" + targ]._x + _root.speed)) { this._x = this._x - _root.speed; xspeed = -_root.speed; } else if (this._x < (_root["d" + targ]._x - _root.speed)) { this._x = this._x + _root.speed; xspeed = _root.speed; } else if (this._y > (_root["d" + targ]._y + _root.speed)) { this._y = this._y - _root.speed; yspeed = -_root.speed; } else if (this._y < (_root["d" + targ]._y - _root.speed)) { this._y = this._y + _root.speed; yspeed = _root.speed; } } }
Instance of Symbol 77 MovieClip [creature] "c6" in Frame 2
onClipEvent (load) { function damage(num) { this.health = this.health - num; } var xspeed; var yspeed; var active; var active = false; var startx = _x; var starty = _y; this.targ = 1; } onClipEvent (enterFrame) { if ((_root.timerem == 20) & (active == false)) { active = true; this.health = _root.health; targ = 1; } if (active) { if ((this.health <= 0) & (active == true)) { this._x = startx; this._y = starty; this._alpha = 100; active = false; _root.GiveMoney(); } else if ((((this._x - _root["d" + targ]._x) < (_root.speed + 1)) & ((this._x - _root["d" + targ]._x) > (-(_root.speed + 1)))) & (((this._y - _root["d" + targ]._y) < (_root.speed + 1)) & ((this._y - _root["d" + targ]._y) > (-(_root.speed + 1))))) { this._x = _root["d" + targ]._x; this._y = _root["d" + targ]._y; targ++; if (targ > 8) { targ = 1; this._x = startx; this._y = starty; _root.lives--; active = false; } } else if (this._x > (_root["d" + targ]._x + _root.speed)) { this._x = this._x - _root.speed; xspeed = -_root.speed; } else if (this._x < (_root["d" + targ]._x - _root.speed)) { this._x = this._x + _root.speed; xspeed = _root.speed; } else if (this._y > (_root["d" + targ]._y + _root.speed)) { this._y = this._y - _root.speed; yspeed = -_root.speed; } else if (this._y < (_root["d" + targ]._y - _root.speed)) { this._y = this._y + _root.speed; yspeed = _root.speed; } } }
Instance of Symbol 77 MovieClip [creature] "c7" in Frame 2
onClipEvent (load) { function damage(num) { this.health = this.health - num; } var xspeed; var yspeed; var active; var active = false; var startx = _x; var starty = _y; this.targ = 1; } onClipEvent (enterFrame) { if ((_root.timerem == 20) & (active == false)) { active = true; this.health = _root.health; targ = 1; } if (active) { if ((this.health <= 0) & (active == true)) { this._x = startx; this._y = starty; this._alpha = 100; active = false; _root.GiveMoney(); } else if ((((this._x - _root["d" + targ]._x) < (_root.speed + 1)) & ((this._x - _root["d" + targ]._x) > (-(_root.speed + 1)))) & (((this._y - _root["d" + targ]._y) < (_root.speed + 1)) & ((this._y - _root["d" + targ]._y) > (-(_root.speed + 1))))) { this._x = _root["d" + targ]._x; this._y = _root["d" + targ]._y; targ++; if (targ > 8) { targ = 1; this._x = startx; this._y = starty; _root.lives--; active = false; } } else if (this._x > (_root["d" + targ]._x + _root.speed)) { this._x = this._x - _root.speed; xspeed = -_root.speed; } else if (this._x < (_root["d" + targ]._x - _root.speed)) { this._x = this._x + _root.speed; xspeed = _root.speed; } else if (this._y > (_root["d" + targ]._y + _root.speed)) { this._y = this._y - _root.speed; yspeed = -_root.speed; } else if (this._y < (_root["d" + targ]._y - _root.speed)) { this._y = this._y + _root.speed; yspeed = _root.speed; } } }
Instance of Symbol 77 MovieClip [creature] "c8" in Frame 2
onClipEvent (load) { function damage(num) { this.health = this.health - num; } var xspeed; var yspeed; var active; var active = false; var startx = _x; var starty = _y; this.targ = 1; } onClipEvent (enterFrame) { if ((_root.timerem == 20) & (active == false)) { active = true; this.health = _root.health; targ = 1; } if (active) { if ((this.health <= 0) & (active == true)) { this._x = startx; this._y = starty; this._alpha = 100; active = false; _root.GiveMoney(); } else if ((((this._x - _root["d" + targ]._x) < (_root.speed + 1)) & ((this._x - _root["d" + targ]._x) > (-(_root.speed + 1)))) & (((this._y - _root["d" + targ]._y) < (_root.speed + 1)) & ((this._y - _root["d" + targ]._y) > (-(_root.speed + 1))))) { this._x = _root["d" + targ]._x; this._y = _root["d" + targ]._y; targ++; if (targ > 8) { targ = 1; this._x = startx; this._y = starty; _root.lives--; active = false; } } else if (this._x > (_root["d" + targ]._x + _root.speed)) { this._x = this._x - _root.speed; xspeed = -_root.speed; } else if (this._x < (_root["d" + targ]._x - _root.speed)) { this._x = this._x + _root.speed; xspeed = _root.speed; } else if (this._y > (_root["d" + targ]._y + _root.speed)) { this._y = this._y - _root.speed; yspeed = -_root.speed; } else if (this._y < (_root["d" + targ]._y - _root.speed)) { this._y = this._y + _root.speed; yspeed = _root.speed; } } }
Instance of Symbol 124 MovieClip in Frame 2
on (release) { if (_root._quality != "HIGH") { _root._quality = "HIGH"; } else { _root._quality = "LOW"; } }
Instance of Symbol 204 MovieClip in Frame 2
on (keyPress "<Space>") { if ((((((((_root.c1.active == false) & (_root.c2.active == false)) & (_root.c3.active == false)) & (_root.c4.active == false)) & (_root.c5.active == false)) & (_root.c6.active == false)) & (_root.c7.active == false)) & (_root.c8.active == false)) { _root.timerem = 0; } }
Frame 3
stop();
Frame 5
gotoAndStop (4);
Symbol 7 Button
on (release) { _root.MODE = 2; _root.selArrow._visible = true; _root.selArrow._x = _x; _root.selArrow._y = _y; _root.SEL = _name; _root.console.gotoAndStop(2); _root.console.nxt_dmg = turret.nxtdmg; _root.console.upg_price = nxtprice; _root.console.upgradable = upgradeable; _root.console.dmgtxt.text = turret.dmg; _root.console.namtxt.text = nam; _root.console.rngtxt.text = turret.range; _root.console.nxt_rng = nextrange; }
Symbol 10 MovieClip [turret] Frame 10
stop();
Symbol 70 MovieClip [tower] Frame 1
stop();
Symbol 70 MovieClip [tower] Frame 5
turret.dmg = 4; turret.range = 100; nextrange = 100; turret.nxtdmg = 12; nxtprice = 20; turret._y = -7.5; stop(); upgradeable = true; nam = "Small Fire Tower"; stop();
Instance of Symbol 10 MovieClip [turret] "turret" in Symbol 70 MovieClip [tower] Frame 5
onClipEvent (load) { function getDist(x1, y1, x2, y2) { distancex = x2 - x1; distancey = y2 - y1; } function moveBullet() { if ((((((target == 0) | (distancex > this.range)) | (distancex < (-this.range))) | (distancey > this.range)) | (distancey < (-this.range))) | (_root["c" + target].active == false)) { pickTarget(); } else if ((target > 0) & (_root["c" + target].active == true)) { _root["BUL_" + _parent._name]._visible = true; _root["BUL_" + _parent._name]._x = _root["BUL_" + _parent._name]._x + ((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) / 2); _root["BUL_" + _parent._name]._y = _root["BUL_" + _parent._name]._y + ((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) / 2); if ((((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) < 1) & ((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) > -1)) | (((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) < 1) & ((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) > -1))) { _root["BUL_" + _parent._name]._x = _parent._x; _root["BUL_" + _parent._name]._y = _parent._y; _root["BUL_" + _parent._name]._visible = false; this.play(); _root["c" + target].health = _root["c" + target].health - (random(dmg * 0.3) + (dmg * 0.7)); _root["c" + target]._alpha = 100 * (_root["c" + target].health / _root.health); pickTarget(); } } else { pickTarget(); _root["BUL_" + _parent._name]._x = _parent._x; _root["BUL_" + _parent._name]._y = _parent._y; _root["BUL_" + _parent._name]._visible = false; } } function pickTarget() { if ((((((target == 0) | (distancex > 150)) | (distancex < -150)) | (distancey > 150)) | (distancey < -150)) | (_root["c" + target].active == false)) { target++; } else if (target > 8) { target = 0; pickTarget(); } } mindist = new Number(0); bulspawned = new Boolean(false); target = new Number(0); distancex = new Number(0); distancey = new Number(0); } onClipEvent (enterFrame) { if (target == 0) { this._rotation = this._rotation + 5; pickTarget(); } else { x = _root["c" + target]._x - _parent._x; y = (_root["c" + target]._y - _parent._y) * -1; angle = Math.atan(y / x) / 0.0174532925199433 /* Math.PI/180 */; if (x < 0) { angle = angle + 180; } if ((x >= 0) && (y < 0)) { angle = angle + 360; } this._rotation = angle * -1; getDist(_parent._x, _parent._y, _root["c" + target]._x, _root["c" + target]._y); moveBullet(); } if (bulspawned == false) { _root.attachMovie("bullet", "BUL_" + _parent._name, 700 + _root.num); _root["BUL_" + _parent._name]._x = _parent._x; _root["BUL_" + _parent._name]._y = _parent._y; _root["BUL_" + _parent._name]._visible = false; _root["BUL_" + _parent._name].blendMode = "add"; _root["BUL_" + _parent._name].gotoAndStop(1); _root.num++; bulspawned = true; } }
Symbol 70 MovieClip [tower] Frame 6
turret.dmg = 12; turret.range = 100; nextrange = 100; turret.nxtdmg = 36; nxtprice = 30; turret._y = -12.5; stop(); upgradeable = true; nam = "Large Fire Tower";
Instance of Symbol 10 MovieClip [turret] "turret" in Symbol 70 MovieClip [tower] Frame 6
onClipEvent (load) { function getDist(x1, y1, x2, y2) { distancex = x2 - x1; distancey = y2 - y1; } function moveBullet() { if ((((((target == 0) | (distancex > this.range)) | (distancex < (-this.range))) | (distancey > this.range)) | (distancey < (-this.range))) | (_root["c" + target].active == false)) { pickTarget(); } else if ((target > 0) & (_root["c" + target].active == true)) { _root["BUL_" + _parent._name]._visible = true; _root["BUL_" + _parent._name]._x = _root["BUL_" + _parent._name]._x + ((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) / 2); _root["BUL_" + _parent._name]._y = _root["BUL_" + _parent._name]._y + ((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) / 2); if ((((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) < 1) & ((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) > -1)) | (((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) < 1) & ((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) > -1))) { _root["BUL_" + _parent._name]._x = _parent._x; _root["BUL_" + _parent._name]._y = _parent._y; _root["BUL_" + _parent._name]._visible = false; this.play(); _root["c" + target].health = _root["c" + target].health - (random(dmg * 0.3) + (dmg * 0.7)); _root["c" + target]._alpha = 100 * (_root["c" + target].health / _root.health); pickTarget(); } if (((((_root["c" + i]._x - _parent._x) > 150) | ((_root["c" + i]._x - _parent._x) < -150)) | ((_root["c" + i]._y - _parent._y) > 150)) | ((_root["c" + i]._y - _parent._y) < -150)) { target = 0; pickTarget(); } } else { pickTarget(); _root["BUL_" + _parent._name]._x = _parent._x; _root["BUL_" + _parent._name]._y = _parent._y; _root["BUL_" + _parent._name]._visible = false; } } function pickTarget() { if ((((((target == 0) | (distancex > this.range)) | (distancex < (-this.range))) | (distancey > this.range)) | (distancey < (-this.range))) | (_root["c" + target].active == false)) { target++; } else if (target > 8) { target = 0; pickTarget(); } } mindist = new Number(0); bulspawned = new Boolean(false); target = new Number(0); distancex = new Number(0); distancey = new Number(0); } onClipEvent (enterFrame) { if (target == 0) { this._rotation = this._rotation + 5; pickTarget(); } else { x = _root["c" + target]._x - _parent._x; y = (_root["c" + target]._y - _parent._y) * -1; angle = Math.atan(y / x) / 0.0174532925199433 /* Math.PI/180 */; if (x < 0) { angle = angle + 180; } if ((x >= 0) && (y < 0)) { angle = angle + 360; } this._rotation = angle * -1; getDist(_parent._x, _parent._y, _root["c" + target]._x, _root["c" + target]._y); moveBullet(); } }
Symbol 70 MovieClip [tower] Frame 7
turret.dmg = 36; turret.range = 100; nextrange = 100; turret.nxtdmg = 108; nxtprice = 50; turret._y = -12.5; stop(); upgradeable = true; nam = "Advanced Fire Tower";
Instance of Symbol 10 MovieClip [turret] "turret" in Symbol 70 MovieClip [tower] Frame 7
onClipEvent (load) { function getDist(x1, y1, x2, y2) { distancex = x2 - x1; distancey = y2 - y1; } function moveBullet() { if ((((((target == 0) | (distancex > this.range)) | (distancex < (-this.range))) | (distancey > this.range)) | (distancey < (-this.range))) | (_root["c" + target].active == false)) { pickTarget(); _root["BUL_" + _parent._name]._xscale = 150; _root["BUL_" + _parent._name]._yscale = 150; } else if ((target > 0) & (_root["c" + target].active == true)) { _root["BUL_" + _parent._name]._visible = true; _root["BUL_" + _parent._name]._x = _root["BUL_" + _parent._name]._x + ((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) / 2); _root["BUL_" + _parent._name]._y = _root["BUL_" + _parent._name]._y + ((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) / 2); if ((((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) < 1) & ((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) > -1)) | (((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) < 1) & ((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) > -1))) { _root["BUL_" + _parent._name]._x = _parent._x; _root["BUL_" + _parent._name]._y = _parent._y; _root["BUL_" + _parent._name]._visible = false; this.play(); _root["c" + target].health = _root["c" + target].health - (random(dmg * 0.3) + (dmg * 0.7)); _root["c" + target]._alpha = 100 * (_root["c" + target].health / _root.health); pickTarget(); } if (((((_root["c" + i]._x - _parent._x) > 150) | ((_root["c" + i]._x - _parent._x) < -150)) | ((_root["c" + i]._y - _parent._y) > 150)) | ((_root["c" + i]._y - _parent._y) < -150)) { target = 0; pickTarget(); } } else { pickTarget(); _root["BUL_" + _parent._name]._x = _parent._x; _root["BUL_" + _parent._name]._y = _parent._y; _root["BUL_" + _parent._name]._visible = false; } } function pickTarget() { if ((((((target == 0) | (distancex > this.range)) | (distancex < (-this.range))) | (distancey > this.range)) | (distancey < (-this.range))) | (_root["c" + target].active == false)) { target++; } else if (target > 8) { target = 0; pickTarget(); } } mindist = new Number(0); bulspawned = new Boolean(false); target = new Number(0); distancex = new Number(0); distancey = new Number(0); } onClipEvent (enterFrame) { if (target == 0) { this._rotation = this._rotation + 5; pickTarget(); } else { x = _root["c" + target]._x - _parent._x; y = (_root["c" + target]._y - _parent._y) * -1; angle = Math.atan(y / x) / 0.0174532925199433 /* Math.PI/180 */; if (x < 0) { angle = angle + 180; } if ((x >= 0) && (y < 0)) { angle = angle + 360; } this._rotation = angle * -1; getDist(_parent._x, _parent._y, _root["c" + target]._x, _root["c" + target]._y); moveBullet(); } }
Symbol 70 MovieClip [tower] Frame 8
turret.dmg = 108; turret.range = 100; nextrange = 100; turret.nxtdmg = 300; nxtprice = 80; turret._y = -12.5; stop(); upgradeable = true; nam = "Great Fire Tower";
Instance of Symbol 10 MovieClip [turret] "turret" in Symbol 70 MovieClip [tower] Frame 8
onClipEvent (load) { function getDist(x1, y1, x2, y2) { distancex = x2 - x1; distancey = y2 - y1; } function moveBullet() { if ((((((target == 0) | (distancex > this.range)) | (distancex < (-this.range))) | (distancey > this.range)) | (distancey < (-this.range))) | (_root["c" + target].active == false)) { pickTarget(); } else if ((target > 0) & (_root["c" + target].active == true)) { _root["BUL_" + _parent._name]._visible = true; _root["BUL_" + _parent._name]._x = _root["BUL_" + _parent._name]._x + ((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) / 2); _root["BUL_" + _parent._name]._y = _root["BUL_" + _parent._name]._y + ((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) / 2); if ((((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) < 1) & ((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) > -1)) | (((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) < 1) & ((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) > -1))) { _root["BUL_" + _parent._name]._x = _parent._x; _root["BUL_" + _parent._name]._y = _parent._y; _root["BUL_" + _parent._name]._visible = false; this.play(); _root["c" + target].health = _root["c" + target].health - (random(dmg * 0.3) + (dmg * 0.7)); _root["c" + target]._alpha = 100 * (_root["c" + target].health / _root.health); pickTarget(); } if (((((_root["c" + i]._x - _parent._x) > 150) | ((_root["c" + i]._x - _parent._x) < -150)) | ((_root["c" + i]._y - _parent._y) > 150)) | ((_root["c" + i]._y - _parent._y) < -150)) { target = 0; pickTarget(); } } else { pickTarget(); _root["BUL_" + _parent._name]._x = _parent._x; _root["BUL_" + _parent._name]._y = _parent._y; _root["BUL_" + _parent._name]._visible = false; } } function pickTarget() { if ((((((target == 0) | (distancex > this.range)) | (distancex < (-this.range))) | (distancey > this.range)) | (distancey < (-this.range))) | (_root["c" + target].active == false)) { target++; } else if (target > 8) { target = 0; pickTarget(); } } mindist = new Number(0); bulspawned = new Boolean(false); target = new Number(0); distancex = new Number(0); distancey = new Number(0); } onClipEvent (enterFrame) { if (target == 0) { this._rotation = this._rotation + 5; pickTarget(); } else { x = _root["c" + target]._x - _parent._x; y = (_root["c" + target]._y - _parent._y) * -1; angle = Math.atan(y / x) / 0.0174532925199433 /* Math.PI/180 */; if (x < 0) { angle = angle + 180; } if ((x >= 0) && (y < 0)) { angle = angle + 360; } this._rotation = angle * -1; getDist(_parent._x, _parent._y, _root["c" + target]._x, _root["c" + target]._y); moveBullet(); } }
Symbol 70 MovieClip [tower] Frame 9
turret.dmg = 300; turret.range = 100; turret.nxtdmg = 2056; nextrange = 110; nxtprice = 600; turret._y = -12.5; stop(); upgradeable = true; nam = "Super Fire Tower";
Instance of Symbol 10 MovieClip [turret] "turret" in Symbol 70 MovieClip [tower] Frame 9
onClipEvent (load) { function getDist(x1, y1, x2, y2) { distancex = x2 - x1; distancey = y2 - y1; } function moveBullet() { if ((((((target == 0) | (distancex > this.range)) | (distancex < (-this.range))) | (distancey > this.range)) | (distancey < (-this.range))) | (_root["c" + target].active == false)) { pickTarget(); _root["BUL_" + _parent._name]._xscale = 200; _root["BUL_" + _parent._name]._yscale = 200; } else if ((target > 0) & (_root["c" + target].active == true)) { _root["BUL_" + _parent._name]._visible = true; _root["BUL_" + _parent._name]._x = _root["BUL_" + _parent._name]._x + ((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) / 2); _root["BUL_" + _parent._name]._y = _root["BUL_" + _parent._name]._y + ((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) / 2); if ((((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) < 1) & ((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) > -1)) | (((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) < 1) & ((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) > -1))) { _root["BUL_" + _parent._name]._x = _parent._x; _root["BUL_" + _parent._name]._y = _parent._y; _root["BUL_" + _parent._name]._visible = false; this.play(); _root["c" + target].health = _root["c" + target].health - (random(dmg * 0.3) + (dmg * 0.7)); _root["c" + target]._alpha = 100 * (_root["c" + target].health / _root.health); pickTarget(); } if (((((_root["c" + i]._x - _parent._x) > 150) | ((_root["c" + i]._x - _parent._x) < -150)) | ((_root["c" + i]._y - _parent._y) > 150)) | ((_root["c" + i]._y - _parent._y) < -150)) { target = 0; pickTarget(); } } else { pickTarget(); _root["BUL_" + _parent._name]._x = _parent._x; _root["BUL_" + _parent._name]._y = _parent._y; _root["BUL_" + _parent._name]._visible = false; } } function pickTarget() { if ((((((target == 0) | (distancex > this.range)) | (distancex < (-this.range))) | (distancey > this.range)) | (distancey < (-this.range))) | (_root["c" + target].active == false)) { target++; } else if (target > 8) { target = 0; pickTarget(); } } pickTarget(); bulspawned = new Boolean(false); target = new Number(0); distancex = new Number(0); distancey = new Number(0); } onClipEvent (enterFrame) { if (target == 0) { this._rotation = this._rotation + 5; pickTarget(); } else { x = _root["c" + target]._x - _parent._x; y = (_root["c" + target]._y - _parent._y) * -1; angle = Math.atan(y / x) / 0.0174532925199433 /* Math.PI/180 */; if (x < 0) { angle = angle + 180; } if ((x >= 0) && (y < 0)) { angle = angle + 360; } this._rotation = angle * -1; getDist(_parent._x, _parent._y, _root["c" + target]._x, _root["c" + target]._y); moveBullet(); } }
Symbol 70 MovieClip [tower] Frame 10
turret.dmg = 2056; turret.range = 110; turret.nxtdmg = 7021; nxtprice = 1500; nextrange = 120; turret._y = -12.5; stop(); upgradeable = true; nam = "Century Inferno Tower";
Instance of Symbol 10 MovieClip [turret] "turret" in Symbol 70 MovieClip [tower] Frame 10
onClipEvent (load) { function getDist(x1, y1, x2, y2) { distancex = x2 - x1; distancey = y2 - y1; } function moveBullet() { if ((((((target == 0) | (distancex > this.range)) | (distancex < (-this.range))) | (distancey > this.range)) | (distancey < (-this.range))) | (_root["c" + target].active == false)) { pickTarget(); } else if ((target > 0) & (_root["c" + target].active == true)) { _root["BUL_" + _parent._name]._visible = true; _root["BUL_" + _parent._name]._x = _root["BUL_" + _parent._name]._x + ((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) / 2); _root["BUL_" + _parent._name]._y = _root["BUL_" + _parent._name]._y + ((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) / 2); if ((((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) < 1) & ((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) > -1)) | (((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) < 1) & ((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) > -1))) { _root["BUL_" + _parent._name]._x = _parent._x; _root["BUL_" + _parent._name]._y = _parent._y; _root["BUL_" + _parent._name]._visible = false; this.play(); _root["c" + target].health = _root["c" + target].health - (random(dmg * 0.3) + (dmg * 0.7)); _root["c" + target]._alpha = 100 * (_root["c" + target].health / _root.health); pickTarget(); } if (((((_root["c" + i]._x - _parent._x) > 150) | ((_root["c" + i]._x - _parent._x) < -150)) | ((_root["c" + i]._y - _parent._y) > 150)) | ((_root["c" + i]._y - _parent._y) < -150)) { target = 0; pickTarget(); } } else { pickTarget(); _root["BUL_" + _parent._name]._x = _parent._x; _root["BUL_" + _parent._name]._y = _parent._y; _root["BUL_" + _parent._name]._visible = false; } } function pickTarget() { if ((((((target == 0) | (distancex > this.range)) | (distancex < (-this.range))) | (distancey > this.range)) | (distancey < (-this.range))) | (_root["c" + target].active == false)) { target++; } else if (target > 8) { target = 0; pickTarget(); } } pickTarget(); bulspawned = new Boolean(false); target = new Number(0); distancex = new Number(0); distancey = new Number(0); } onClipEvent (enterFrame) { if (target == 0) { this._rotation = this._rotation + 5; pickTarget(); } else { x = _root["c" + target]._x - _parent._x; y = (_root["c" + target]._y - _parent._y) * -1; angle = Math.atan(y / x) / 0.0174532925199433 /* Math.PI/180 */; if (x < 0) { angle = angle + 180; } if ((x >= 0) && (y < 0)) { angle = angle + 360; } this._rotation = angle * -1; getDist(_parent._x, _parent._y, _root["c" + target]._x, _root["c" + target]._y); moveBullet(); } }
Symbol 70 MovieClip [tower] Frame 11
turret.dmg = 7021; turret.range = 120; turret.nxtdmg = "n/a"; nxtprice = "n/a"; nextrange = "n/a"; turret._y = -12.5; stop(); upgradeable = false; nam = "FireLord Elemental Tower";
Symbol 70 MovieClip [tower] Frame 12
gotoAndStop (8);
Symbol 70 MovieClip [tower] Frame 13
turret.dmg = 5; turret.nxtdmg = 15; nxtprice = 20; turret._y = -7.5; stop(); upgradeable = true; nam = "Water Tower"; turret.range = 100; nextrange = 150; stop();
Instance of Symbol 10 MovieClip [turret] "turret" in Symbol 70 MovieClip [tower] Frame 13
onClipEvent (load) { function getDist(x1, y1, x2, y2) { distancex = x2 - x1; distancey = y2 - y1; } function moveBullet() { if ((((((target == 0) | (distancex > this.range)) | (distancex < (-this.range))) | (distancey > this.range)) | (distancey < (-this.range))) | (_root["c" + target].active == false)) { pickTarget(); } else if ((target > 0) & (_root["c" + target].active == true)) { _root["BUL_" + _parent._name]._visible = true; _root["BUL_" + _parent._name]._x = _root["BUL_" + _parent._name]._x + ((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) / 2); _root["BUL_" + _parent._name]._y = _root["BUL_" + _parent._name]._y + ((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) / 2); if ((((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) < 1) & ((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) > -1)) | (((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) < 1) & ((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) > -1))) { _root["BUL_" + _parent._name]._x = _parent._x; _root["BUL_" + _parent._name]._y = _parent._y; _root["BUL_" + _parent._name]._visible = false; _root["c" + target].health = _root["c" + target].health - (random(dmg * 0.3) + (dmg * 0.7)); _root["c" + target]._alpha = 100 * (_root["c" + target].health / _root.health); this.play(); pickTarget(); } if (((((_root["c" + i]._x - _parent._x) > 150) | ((_root["c" + i]._x - _parent._x) < -150)) | ((_root["c" + i]._y - _parent._y) > 150)) | ((_root["c" + i]._y - _parent._y) < -150)) { target = 0; pickTarget(); } } else { pickTarget(); _root["BUL_" + _parent._name]._x = _parent._x; _root["BUL_" + _parent._name]._y = _parent._y; _root["BUL_" + _parent._name]._visible = false; } } function pickTarget() { if ((((((target == 0) | (distancex > this.range)) | (distancex < (-this.range))) | (distancey > this.range)) | (distancey < (-this.range))) | (_root["c" + target].active == false)) { target++; } else if (target > 8) { target = 0; pickTarget(); } } pickTarget(); bulspawned = new Boolean(false); target = new Number(0); distancex = new Number(0); distancey = new Number(0); } onClipEvent (enterFrame) { if (target == 0) { this._rotation = this._rotation + 5; pickTarget(); } else { x = _root["c" + target]._x - _parent._x; y = (_root["c" + target]._y - _parent._y) * -1; angle = Math.atan(y / x) / 0.0174532925199433 /* Math.PI/180 */; if (x < 0) { angle = angle + 180; } if ((x >= 0) && (y < 0)) { angle = angle + 360; } this._rotation = angle * -1; getDist(_parent._x, _parent._y, _root["c" + target]._x, _root["c" + target]._y); moveBullet(); } if (bulspawned == false) { _root.attachMovie("bullet", "BUL_" + _parent._name, 700 + _root.num); _root["BUL_" + _parent._name]._x = _parent._x; _root["BUL_" + _parent._name]._y = _parent._y; _root["BUL_" + _parent._name]._visible = false; _root["BUL_" + _parent._name].blendMode = "add"; _root["BUL_" + _parent._name].gotoAndStop(2); _root.num++; bulspawned = true; } }
Symbol 70 MovieClip [tower] Frame 14
turret.dmg = 15; turret.nxtdmg = 45; nxtprice = 40; turret._y = -12.5; stop(); upgradeable = true; nam = "Cold Water Tower"; turret.range = 150; nextrange = 150; stop();
Instance of Symbol 10 MovieClip [turret] "turret" in Symbol 70 MovieClip [tower] Frame 14
onClipEvent (load) { function getDist(x1, y1, x2, y2) { distancex = x2 - x1; distancey = y2 - y1; } function moveBullet() { if ((((((target == 0) | (distancex > this.range)) | (distancex < (-this.range))) | (distancey > this.range)) | (distancey < (-this.range))) | (_root["c" + target].active == false)) { pickTarget(); } else if ((target > 0) & (_root["c" + target].active == true)) { _root["BUL_" + _parent._name]._visible = true; _root["BUL_" + _parent._name]._x = _root["BUL_" + _parent._name]._x + ((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) / 2); _root["BUL_" + _parent._name]._y = _root["BUL_" + _parent._name]._y + ((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) / 2); if ((((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) < 1) & ((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) > -1)) | (((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) < 1) & ((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) > -1))) { _root["BUL_" + _parent._name]._x = _parent._x; _root["BUL_" + _parent._name]._y = _parent._y; _root["BUL_" + _parent._name]._visible = false; this.play(); _root["c" + target].health = _root["c" + target].health - (random(dmg * 0.3) + (dmg * 0.7)); _root["c" + target]._alpha = 100 * (_root["c" + target].health / _root.health); pickTarget(); } if (((((_root["c" + i]._x - _parent._x) > 150) | ((_root["c" + i]._x - _parent._x) < -150)) | ((_root["c" + i]._y - _parent._y) > 150)) | ((_root["c" + i]._y - _parent._y) < -150)) { target = 0; pickTarget(); } } else { pickTarget(); _root["BUL_" + _parent._name]._x = _parent._x; _root["BUL_" + _parent._name]._y = _parent._y; _root["BUL_" + _parent._name]._visible = false; } } function pickTarget() { if ((((((target == 0) | (distancex > this.range)) | (distancex < (-this.range))) | (distancey > this.range)) | (distancey < (-this.range))) | (_root["c" + target].active == false)) { target++; } else if (target > 8) { target = 0; pickTarget(); } } pickTarget(); bulspawned = new Boolean(false); target = new Number(0); distancex = new Number(0); distancey = new Number(0); } onClipEvent (enterFrame) { if (target == 0) { this._rotation = this._rotation + 5; pickTarget(); } else { x = _root["c" + target]._x - _parent._x; y = (_root["c" + target]._y - _parent._y) * -1; angle = Math.atan(y / x) / 0.0174532925199433 /* Math.PI/180 */; if (x < 0) { angle = angle + 180; } if ((x >= 0) && (y < 0)) { angle = angle + 360; } this._rotation = angle * -1; getDist(_parent._x, _parent._y, _root["c" + target]._x, _root["c" + target]._y); moveBullet(); } }
Symbol 70 MovieClip [tower] Frame 15
turret.dmg = 45; turret.nxtdmg = 136; nxtprice = 80; turret._y = -12.5; stop(); upgradeable = true; nam = "Ice Tower"; turret.range = 150; nextrange = 180;
Instance of Symbol 10 MovieClip [turret] "turret" in Symbol 70 MovieClip [tower] Frame 15
onClipEvent (load) { function getDist(x1, y1, x2, y2) { distancex = x2 - x1; distancey = y2 - y1; } function moveBullet() { if ((((((target == 0) | (distancex > this.range)) | (distancex < (-this.range))) | (distancey > this.range)) | (distancey < (-this.range))) | (_root["c" + target].active == false)) { pickTarget(); _root["BUL_" + _parent._name]._xscale = 150; _root["BUL_" + _parent._name]._yscale = 150; } else if ((target > 0) & (_root["c" + target].active == true)) { _root["BUL_" + _parent._name]._visible = true; _root["BUL_" + _parent._name]._x = _root["BUL_" + _parent._name]._x + ((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) / 2); _root["BUL_" + _parent._name]._y = _root["BUL_" + _parent._name]._y + ((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) / 2); if ((((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) < 1) & ((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) > -1)) | (((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) < 1) & ((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) > -1))) { _root["BUL_" + _parent._name]._x = _parent._x; _root["BUL_" + _parent._name]._y = _parent._y; _root["BUL_" + _parent._name]._visible = false; this.play(); _root["c" + target].health = _root["c" + target].health - (random(dmg * 0.3) + (dmg * 0.7)); _root["c" + target]._alpha = 100 * (_root["c" + target].health / _root.health); pickTarget(); } if (((((_root["c" + i]._x - _parent._x) > 150) | ((_root["c" + i]._x - _parent._x) < -150)) | ((_root["c" + i]._y - _parent._y) > 150)) | ((_root["c" + i]._y - _parent._y) < -150)) { target = 0; pickTarget(); } } else { pickTarget(); _root["BUL_" + _parent._name]._x = _parent._x; _root["BUL_" + _parent._name]._y = _parent._y; _root["BUL_" + _parent._name]._visible = false; } } function pickTarget() { if ((((((target == 0) | (distancex > this.range)) | (distancex < (-this.range))) | (distancey > this.range)) | (distancey < (-this.range))) | (_root["c" + target].active == false)) { target++; } else if (target > 8) { target = 0; pickTarget(); } } mindist = new Number(0); bulspawned = new Boolean(false); target = new Number(0); distancex = new Number(0); distancey = new Number(0); } onClipEvent (enterFrame) { if (target == 0) { this._rotation = this._rotation + 5; pickTarget(); } else { x = _root["c" + target]._x - _parent._x; y = (_root["c" + target]._y - _parent._y) * -1; angle = Math.atan(y / x) / 0.0174532925199433 /* Math.PI/180 */; if (x < 0) { angle = angle + 180; } if ((x >= 0) && (y < 0)) { angle = angle + 360; } this._rotation = angle * -1; getDist(_parent._x, _parent._y, _root["c" + target]._x, _root["c" + target]._y); moveBullet(); } }
Symbol 70 MovieClip [tower] Frame 16
turret.dmg = 135; turret.nxtdmg = 405; nxtprice = 160; turret._y = -12.5; stop(); upgradeable = true; nam = "Frost Tower"; turret.range = 180; nextrange = 200;
Instance of Symbol 10 MovieClip [turret] "turret" in Symbol 70 MovieClip [tower] Frame 16
onClipEvent (load) { function getDist(x1, y1, x2, y2) { distancex = x2 - x1; distancey = y2 - y1; } function moveBullet() { if ((((((target == 0) | (distancex > this.range)) | (distancex < (-this.range))) | (distancey > this.range)) | (distancey < (-this.range))) | (_root["c" + target].active == false)) { pickTarget(); } else if ((target > 0) & (_root["c" + target].active == true)) { _root["BUL_" + _parent._name]._visible = true; _root["BUL_" + _parent._name]._x = _root["BUL_" + _parent._name]._x + ((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) / 2); _root["BUL_" + _parent._name]._y = _root["BUL_" + _parent._name]._y + ((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) / 2); if ((((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) < 1) & ((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) > -1)) | (((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) < 1) & ((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) > -1))) { _root["BUL_" + _parent._name]._x = _parent._x; _root["BUL_" + _parent._name]._y = _parent._y; _root["BUL_" + _parent._name]._visible = false; this.play(); _root["c" + target].health = _root["c" + target].health - (random(dmg * 0.3) + (dmg * 0.7)); _root["c" + target]._alpha = 100 * (_root["c" + target].health / _root.health); pickTarget(); } if (((((_root["c" + i]._x - _parent._x) > 150) | ((_root["c" + i]._x - _parent._x) < -150)) | ((_root["c" + i]._y - _parent._y) > 150)) | ((_root["c" + i]._y - _parent._y) < -150)) { target = 0; pickTarget(); } } else { pickTarget(); _root["BUL_" + _parent._name]._x = _parent._x; _root["BUL_" + _parent._name]._y = _parent._y; _root["BUL_" + _parent._name]._visible = false; } } function pickTarget() { if ((((((target == 0) | (distancex > this.range)) | (distancex < (-this.range))) | (distancey > this.range)) | (distancey < (-this.range))) | (_root["c" + target].active == false)) { target++; } else if (target > 8) { target = 0; pickTarget(); } } pickTarget(); bulspawned = new Boolean(false); target = new Number(0); distancex = new Number(0); distancey = new Number(0); } onClipEvent (enterFrame) { if (target == 0) { this._rotation = this._rotation + 5; pickTarget(); } else { x = _root["c" + target]._x - _parent._x; y = (_root["c" + target]._y - _parent._y) * -1; angle = Math.atan(y / x) / 0.0174532925199433 /* Math.PI/180 */; if (x < 0) { angle = angle + 180; } if ((x >= 0) && (y < 0)) { angle = angle + 360; } this._rotation = angle * -1; getDist(_parent._x, _parent._y, _root["c" + target]._x, _root["c" + target]._y); moveBullet(); } }
Symbol 70 MovieClip [tower] Frame 17
turret.dmg = 405; turret.nxtdmg = 1215; nxtprice = 320; turret._y = -12.5; stop(); upgradeable = true; nam = "Master Ice Tower"; turret.range = 200; nextrange = 200;
Instance of Symbol 10 MovieClip [turret] "turret" in Symbol 70 MovieClip [tower] Frame 17
onClipEvent (load) { function getDist(x1, y1, x2, y2) { distancex = x2 - x1; distancey = y2 - y1; } function moveBullet() { if ((((((target == 0) | (distancex > this.range)) | (distancex < (-this.range))) | (distancey > this.range)) | (distancey < (-this.range))) | (_root["c" + target].active == false)) { pickTarget(); _root["BUL_" + _parent._name]._xscale = 200; _root["BUL_" + _parent._name]._yscale = 200; } else if ((target > 0) & (_root["c" + target].active == true)) { _root["BUL_" + _parent._name]._visible = true; _root["BUL_" + _parent._name]._x = _root["BUL_" + _parent._name]._x + ((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) / 2); _root["BUL_" + _parent._name]._y = _root["BUL_" + _parent._name]._y + ((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) / 2); if ((((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) < 1) & ((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) > -1)) | (((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) < 1) & ((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) > -1))) { _root["BUL_" + _parent._name]._x = _parent._x; _root["BUL_" + _parent._name]._y = _parent._y; _root["BUL_" + _parent._name]._visible = false; this.play(); _root["c" + target].health = _root["c" + target].health - (random(dmg * 0.3) + (dmg * 0.7)); _root["c" + target]._alpha = 100 * (_root["c" + target].health / _root.health); pickTarget(); } if (((((_root["c" + i]._x - _parent._x) > 150) | ((_root["c" + i]._x - _parent._x) < -150)) | ((_root["c" + i]._y - _parent._y) > 150)) | ((_root["c" + i]._y - _parent._y) < -150)) { target = 0; pickTarget(); } } else { pickTarget(); _root["BUL_" + _parent._name]._x = _parent._x; _root["BUL_" + _parent._name]._y = _parent._y; _root["BUL_" + _parent._name]._visible = false; } } function pickTarget() { if ((((((target == 0) | (distancex > this.range)) | (distancex < (-this.range))) | (distancey > this.range)) | (distancey < (-this.range))) | (_root["c" + target].active == false)) { target++; } else if (target > 8) { target = 0; pickTarget(); } } pickTarget(); bulspawned = new Boolean(false); target = new Number(0); distancex = new Number(0); distancey = new Number(0); } onClipEvent (enterFrame) { if (target == 0) { this._rotation = this._rotation + 5; pickTarget(); } else { x = _root["c" + target]._x - _parent._x; y = (_root["c" + target]._y - _parent._y) * -1; angle = Math.atan(y / x) / 0.0174532925199433 /* Math.PI/180 */; if (x < 0) { angle = angle + 180; } if ((x >= 0) && (y < 0)) { angle = angle + 360; } this._rotation = angle * -1; getDist(_parent._x, _parent._y, _root["c" + target]._x, _root["c" + target]._y); moveBullet(); } }
Symbol 70 MovieClip [tower] Frame 18
turret.dmg = 1215; turret.nxtdmg = 3342; nxtprice = 730; turret._y = -12.5; stop(); upgradeable = true; nam = "Termination Tower"; turret.range = 200; nextrange = 200;
Instance of Symbol 10 MovieClip [turret] "turret" in Symbol 70 MovieClip [tower] Frame 18
onClipEvent (load) { function getDist(x1, y1, x2, y2) { distancex = x2 - x1; distancey = y2 - y1; } function moveBullet() { if ((((((target == 0) | (distancex > this.range)) | (distancex < (-this.range))) | (distancey > this.range)) | (distancey < (-this.range))) | (_root["c" + target].active == false)) { pickTarget(); } else if ((target > 0) & (_root["c" + target].active == true)) { _root["BUL_" + _parent._name]._visible = true; _root["BUL_" + _parent._name]._x = _root["BUL_" + _parent._name]._x + ((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) / 2); _root["BUL_" + _parent._name]._y = _root["BUL_" + _parent._name]._y + ((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) / 2); if ((((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) < 1) & ((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) > -1)) | (((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) < 1) & ((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) > -1))) { _root["BUL_" + _parent._name]._x = _parent._x; _root["BUL_" + _parent._name]._y = _parent._y; _root["BUL_" + _parent._name]._visible = false; this.play(); _root["c" + target].health = _root["c" + target].health - (random(dmg * 0.3) + (dmg * 0.7)); _root["c" + target]._alpha = 100 * (_root["c" + target].health / _root.health); pickTarget(); } if (((((_root["c" + i]._x - _parent._x) > 150) | ((_root["c" + i]._x - _parent._x) < -150)) | ((_root["c" + i]._y - _parent._y) > 150)) | ((_root["c" + i]._y - _parent._y) < -150)) { target = 0; pickTarget(); } } else { pickTarget(); _root["BUL_" + _parent._name]._x = _parent._x; _root["BUL_" + _parent._name]._y = _parent._y; _root["BUL_" + _parent._name]._visible = false; } } function pickTarget() { if ((((((target == 0) | (distancex > this.range)) | (distancex < (-this.range))) | (distancey > this.range)) | (distancey < (-this.range))) | (_root["c" + target].active == false)) { target++; } else if (target > 8) { target = 0; pickTarget(); } } pickTarget(); bulspawned = new Boolean(false); target = new Number(0); distancex = new Number(0); distancey = new Number(0); } onClipEvent (enterFrame) { if (target == 0) { this._rotation = this._rotation + 5; pickTarget(); } else { x = _root["c" + target]._x - _parent._x; y = (_root["c" + target]._y - _parent._y) * -1; angle = Math.atan(y / x) / 0.0174532925199433 /* Math.PI/180 */; if (x < 0) { angle = angle + 180; } if ((x >= 0) && (y < 0)) { angle = angle + 360; } this._rotation = angle * -1; getDist(_parent._x, _parent._y, _root["c" + target]._x, _root["c" + target]._y); moveBullet(); } }
Symbol 70 MovieClip [tower] Frame 19
turret.dmg = 3342; turret.nxtdmg = 6684; nxtprice = 1000; turret._y = -12.5; stop(); upgradeable = true; nam = "Ultimate Ice Tower"; turret.range = 200; nextrange = 215;
Instance of Symbol 10 MovieClip [turret] "turret" in Symbol 70 MovieClip [tower] Frame 19
onClipEvent (load) { function getDist(x1, y1, x2, y2) { distancex = x2 - x1; distancey = y2 - y1; } function moveBullet() { if ((((((target == 0) | (distancex > this.range)) | (distancex < (-this.range))) | (distancey > this.range)) | (distancey < (-this.range))) | (_root["c" + target].active == false)) { pickTarget(); } else if ((target > 0) & (_root["c" + target].active == true)) { _root["BUL_" + _parent._name]._visible = true; _root["BUL_" + _parent._name]._x = _root["BUL_" + _parent._name]._x + ((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) / 2); _root["BUL_" + _parent._name]._y = _root["BUL_" + _parent._name]._y + ((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) / 2); if ((((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) < 1) & ((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) > -1)) | (((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) < 1) & ((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) > -1))) { _root["BUL_" + _parent._name]._x = _parent._x; _root["BUL_" + _parent._name]._y = _parent._y; _root["BUL_" + _parent._name]._visible = false; this.play(); _root["c" + target].health = _root["c" + target].health - (random(dmg * 0.3) + (dmg * 0.7)); _root["c" + target]._alpha = 100 * (_root["c" + target].health / _root.health); pickTarget(); } if (((((_root["c" + i]._x - _parent._x) > 150) | ((_root["c" + i]._x - _parent._x) < -150)) | ((_root["c" + i]._y - _parent._y) > 150)) | ((_root["c" + i]._y - _parent._y) < -150)) { target = 0; pickTarget(); } } else { pickTarget(); _root["BUL_" + _parent._name]._x = _parent._x; _root["BUL_" + _parent._name]._y = _parent._y; _root["BUL_" + _parent._name]._visible = false; } } function pickTarget() { if ((((((target == 0) | (distancex > this.range)) | (distancex < (-this.range))) | (distancey > this.range)) | (distancey < (-this.range))) | (_root["c" + target].active == false)) { target++; } else if (target > 8) { target = 0; pickTarget(); } } pickTarget(); bulspawned = new Boolean(false); target = new Number(0); distancex = new Number(0); distancey = new Number(0); } onClipEvent (enterFrame) { if (target == 0) { this._rotation = this._rotation + 5; pickTarget(); } else { x = _root["c" + target]._x - _parent._x; y = (_root["c" + target]._y - _parent._y) * -1; angle = Math.atan(y / x) / 0.0174532925199433 /* Math.PI/180 */; if (x < 0) { angle = angle + 180; } if ((x >= 0) && (y < 0)) { angle = angle + 360; } this._rotation = angle * -1; getDist(_parent._x, _parent._y, _root["c" + target]._x, _root["c" + target]._y); moveBullet(); } }
Symbol 70 MovieClip [tower] Frame 20
turret.dmg = 6684; turret.nxtdmg = 7335; nxtprice = 1000; turret._y = -12.5; stop(); upgradeable = true; nam = "Ultimate Ice Tower"; turret.range = 215; nextrange = 300;
Symbol 70 MovieClip [tower] Frame 21
turret.dmg = 7335; turret.nxtdmg = "n/a"; nxtprice = "n/a"; turret._y = -32.5; stop(); upgradeable = false; nam = "Ultimate Ice Tower"; turret.range = 300; nextrange = "n/a";
Instance of Symbol 10 MovieClip [turret] "turret" in Symbol 70 MovieClip [tower] Frame 21
onClipEvent (load) { function getDist(x1, y1, x2, y2) { distancex = x2 - x1; distancey = y2 - y1; } function moveBullet() { if ((((((target == 0) | (distancex > this.range)) | (distancex < (-this.range))) | (distancey > this.range)) | (distancey < (-this.range))) | (_root["c" + target].active == false)) { pickTarget(); } else if ((target > 0) & (_root["c" + target].active == true)) { _root["BUL_" + _parent._name]._visible = true; _root["BUL_" + _parent._name]._x = _root["BUL_" + _parent._name]._x + ((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) / 2); _root["BUL_" + _parent._name]._y = _root["BUL_" + _parent._name]._y + ((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) / 2); if ((((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) < 1) & ((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) > -1)) | (((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) < 1) & ((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) > -1))) { _root["BUL_" + _parent._name]._x = _parent._x; _root["BUL_" + _parent._name]._y = _parent._y; _root["BUL_" + _parent._name]._visible = false; this.play(); _root["c" + target].health = _root["c" + target].health - (random(dmg * 0.3) + (dmg * 0.7)); _root["c" + target]._alpha = 100 * (_root["c" + target].health / _root.health); pickTarget(); } if (((((_root["c" + i]._x - _parent._x) > 150) | ((_root["c" + i]._x - _parent._x) < -150)) | ((_root["c" + i]._y - _parent._y) > 150)) | ((_root["c" + i]._y - _parent._y) < -150)) { target = 0; pickTarget(); } } else { pickTarget(); _root["BUL_" + _parent._name]._x = _parent._x; _root["BUL_" + _parent._name]._y = _parent._y; _root["BUL_" + _parent._name]._visible = false; } } function pickTarget() { if ((((((target == 0) | (distancex > this.range)) | (distancex < (-this.range))) | (distancey > this.range)) | (distancey < (-this.range))) | (_root["c" + target].active == false)) { target++; } else if (target > 8) { target = 0; pickTarget(); } } pickTarget(); bulspawned = new Boolean(false); target = new Number(0); distancex = new Number(0); distancey = new Number(0); } onClipEvent (enterFrame) { if (target == 0) { this._rotation = this._rotation + 5; pickTarget(); } else { x = _root["c" + target]._x - _parent._x; y = (_root["c" + target]._y - _parent._y) * -1; angle = Math.atan(y / x) / 0.0174532925199433 /* Math.PI/180 */; if (x < 0) { angle = angle + 180; } if ((x >= 0) && (y < 0)) { angle = angle + 360; } this._rotation = angle * -1; getDist(_parent._x, _parent._y, _root["c" + target]._x, _root["c" + target]._y); moveBullet(); } }
Symbol 70 MovieClip [tower] Frame 22
gotoAndStop (13);
Symbol 70 MovieClip [tower] Frame 23
turret.dmg = 5; turret.nxtdmg = 15; nxtprice = 20; turret._y = -7.5; stop(); upgradeable = true; nam = "Small Nature Tower"; turret.range = 100; nextrange = 100; stop();
Instance of Symbol 10 MovieClip [turret] "turret" in Symbol 70 MovieClip [tower] Frame 23
onClipEvent (load) { function getDist(x1, y1, x2, y2) { distancex = x2 - x1; distancey = y2 - y1; } function moveBullet() { if ((((((target == 0) | (distancex > this.range)) | (distancex < (-this.range))) | (distancey > this.range)) | (distancey < (-this.range))) | (_root["c" + target].active == false)) { pickTarget(); } else if ((target > 0) & (_root["c" + target].active == true)) { _root["BUL_" + _parent._name]._visible = true; _root["BUL_" + _parent._name]._x = _root["BUL_" + _parent._name]._x + ((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) / 2); _root["BUL_" + _parent._name]._y = _root["BUL_" + _parent._name]._y + ((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) / 2); if ((((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) < 1) & ((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) > -1)) | (((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) < 1) & ((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) > -1))) { _root["BUL_" + _parent._name]._x = _parent._x; _root["BUL_" + _parent._name]._y = _parent._y; _root["BUL_" + _parent._name]._visible = false; this.play(); _root["c" + target].health = _root["c" + target].health - (random(dmg * 0.3) + (dmg * 0.7)); _root["c" + target]._alpha = 100 * (_root["c" + target].health / _root.health); pickTarget(); } if (((((_root["c" + i]._x - _parent._x) > 150) | ((_root["c" + i]._x - _parent._x) < -150)) | ((_root["c" + i]._y - _parent._y) > 150)) | ((_root["c" + i]._y - _parent._y) < -150)) { target = 0; pickTarget(); } } else { pickTarget(); _root["BUL_" + _parent._name]._x = _parent._x; _root["BUL_" + _parent._name]._y = _parent._y; _root["BUL_" + _parent._name]._visible = false; } } function pickTarget() { if ((((((target == 0) | (distancex > this.range)) | (distancex < (-this.range))) | (distancey > this.range)) | (distancey < (-this.range))) | (_root["c" + target].active == false)) { target++; } else if (target > 8) { target = 0; pickTarget(); } } pickTarget(); bulspawned = new Boolean(false); target = new Number(0); distancex = new Number(0); distancey = new Number(0); } onClipEvent (enterFrame) { if (target == 0) { this._rotation = this._rotation + 5; pickTarget(); } else { x = _root["c" + target]._x - _parent._x; y = (_root["c" + target]._y - _parent._y) * -1; angle = Math.atan(y / x) / 0.0174532925199433 /* Math.PI/180 */; if (x < 0) { angle = angle + 180; } if ((x >= 0) && (y < 0)) { angle = angle + 360; } this._rotation = angle * -1; getDist(_parent._x, _parent._y, _root["c" + target]._x, _root["c" + target]._y); moveBullet(); } if (bulspawned == false) { _root.attachMovie("bullet", "BUL_" + _parent._name, 700 + _root.num); _root["BUL_" + _parent._name]._x = _parent._x; _root["BUL_" + _parent._name]._y = _parent._y; _root["BUL_" + _parent._name]._visible = false; _root["BUL_" + _parent._name].blendMode = "normal"; _root["BUL_" + _parent._name].gotoAndStop(3); _root.num++; bulspawned = true; } }
Symbol 70 MovieClip [tower] Frame 24
turret.dmg = 10; turret.nxtdmg = 45; nxtprice = 40; turret._y = -12.5; stop(); upgradeable = true; nam = "Large Nature Tower"; turret.range = 100; nextrange = 110;
Instance of Symbol 10 MovieClip [turret] "turret" in Symbol 70 MovieClip [tower] Frame 24
onClipEvent (load) { function getDist(x1, y1, x2, y2) { distancex = x2 - x1; distancey = y2 - y1; } function moveBullet() { if ((((((target == 0) | (distancex > this.range)) | (distancex < (-this.range))) | (distancey > this.range)) | (distancey < (-this.range))) | (_root["c" + target].active == false)) { pickTarget(); _root["BUL_" + _parent._name]._xscale = 150; _root["BUL_" + _parent._name]._yscale = 150; } else if ((target > 0) & (_root["c" + target].active == true)) { _root["BUL_" + _parent._name]._visible = true; _root["BUL_" + _parent._name]._x = _root["BUL_" + _parent._name]._x + ((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) / 2); _root["BUL_" + _parent._name]._y = _root["BUL_" + _parent._name]._y + ((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) / 2); if ((((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) < 1) & ((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) > -1)) | (((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) < 1) & ((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) > -1))) { _root["BUL_" + _parent._name]._x = _parent._x; _root["BUL_" + _parent._name]._y = _parent._y; _root["BUL_" + _parent._name]._visible = false; this.play(); _root["c" + target].health = _root["c" + target].health - (random(dmg * 0.3) + (dmg * 0.7)); _root["c" + target]._alpha = 100 * (_root["c" + target].health / _root.health); pickTarget(); } if (((((_root["c" + i]._x - _parent._x) > 150) | ((_root["c" + i]._x - _parent._x) < -150)) | ((_root["c" + i]._y - _parent._y) > 150)) | ((_root["c" + i]._y - _parent._y) < -150)) { target = 0; pickTarget(); } } else { pickTarget(); _root["BUL_" + _parent._name]._x = _parent._x; _root["BUL_" + _parent._name]._y = _parent._y; _root["BUL_" + _parent._name]._visible = false; } } function pickTarget() { if ((((((target == 0) | (distancex > this.range)) | (distancex < (-this.range))) | (distancey > this.range)) | (distancey < (-this.range))) | (_root["c" + target].active == false)) { target++; } else if (target > 8) { target = 0; pickTarget(); } } pickTarget(); bulspawned = new Boolean(false); target = new Number(0); distancex = new Number(0); distancey = new Number(0); } onClipEvent (enterFrame) { if (target == 0) { this._rotation = this._rotation + 5; pickTarget(); } else { x = _root["c" + target]._x - _parent._x; y = (_root["c" + target]._y - _parent._y) * -1; angle = Math.atan(y / x) / 0.0174532925199433 /* Math.PI/180 */; if (x < 0) { angle = angle + 180; } if ((x >= 0) && (y < 0)) { angle = angle + 360; } this._rotation = angle * -1; getDist(_parent._x, _parent._y, _root["c" + target]._x, _root["c" + target]._y); moveBullet(); } }
Symbol 70 MovieClip [tower] Frame 25
turret.dmg = 20; turret.nxtdmg = 136; nxtprice = 80; turret._y = -12.5; stop(); upgradeable = true; nam = "Great Nature Tower"; turret.range = 110; nextrange = 150;
Instance of Symbol 10 MovieClip [turret] "turret" in Symbol 70 MovieClip [tower] Frame 25
onClipEvent (load) { function getDist(x1, y1, x2, y2) { distancex = x2 - x1; distancey = y2 - y1; } function moveBullet() { if ((((((target == 0) | (distancex > this.range)) | (distancex < (-this.range))) | (distancey > this.range)) | (distancey < (-this.range))) | (_root["c" + target].active == false)) { pickTarget(); } else if ((target > 0) & (_root["c" + target].active == true)) { _root["BUL_" + _parent._name]._visible = true; _root["BUL_" + _parent._name]._x = _root["BUL_" + _parent._name]._x + ((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) / 2); _root["BUL_" + _parent._name]._y = _root["BUL_" + _parent._name]._y + ((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) / 2); if ((((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) < 1) & ((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) > -1)) | (((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) < 1) & ((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) > -1))) { _root["BUL_" + _parent._name]._x = _parent._x; _root["BUL_" + _parent._name]._y = _parent._y; _root["BUL_" + _parent._name]._visible = false; this.play(); _root["c" + target].health = _root["c" + target].health - (random(dmg * 0.3) + (dmg * 0.7)); _root["c" + target]._alpha = 100 * (_root["c" + target].health / _root.health); pickTarget(); } if (((((_root["c" + i]._x - _parent._x) > 150) | ((_root["c" + i]._x - _parent._x) < -150)) | ((_root["c" + i]._y - _parent._y) > 150)) | ((_root["c" + i]._y - _parent._y) < -150)) { target = 0; pickTarget(); } } else { pickTarget(); _root["BUL_" + _parent._name]._x = _parent._x; _root["BUL_" + _parent._name]._y = _parent._y; _root["BUL_" + _parent._name]._visible = false; } } function pickTarget() { if ((((((target == 0) | (distancex > this.range)) | (distancex < (-this.range))) | (distancey > this.range)) | (distancey < (-this.range))) | (_root["c" + target].active == false)) { target++; } else if (target > 8) { target = 0; pickTarget(); } } pickTarget(); bulspawned = new Boolean(false); target = new Number(0); distancex = new Number(0); distancey = new Number(0); } onClipEvent (enterFrame) { if (target == 0) { this._rotation = this._rotation + 5; pickTarget(); } else { x = _root["c" + target]._x - _parent._x; y = (_root["c" + target]._y - _parent._y) * -1; angle = Math.atan(y / x) / 0.0174532925199433 /* Math.PI/180 */; if (x < 0) { angle = angle + 180; } if ((x >= 0) && (y < 0)) { angle = angle + 360; } this._rotation = angle * -1; getDist(_parent._x, _parent._y, _root["c" + target]._x, _root["c" + target]._y); moveBullet(); } }
Symbol 70 MovieClip [tower] Frame 26
turret.dmg = 90; turret.nxtdmg = 405; nxtprice = 160; turret._y = -12.5; stop(); upgradeable = true; nam = "Master Nature Tower"; turret.range = 150; nextrange = 170;
Instance of Symbol 10 MovieClip [turret] "turret" in Symbol 70 MovieClip [tower] Frame 26
onClipEvent (load) { function getDist(x1, y1, x2, y2) { distancex = x2 - x1; distancey = y2 - y1; } function moveBullet() { if ((((((target == 0) | (distancex > this.range)) | (distancex < (-this.range))) | (distancey > this.range)) | (distancey < (-this.range))) | (_root["c" + target].active == false)) { pickTarget(); _root["BUL_" + _parent._name]._xscale = 200; _root["BUL_" + _parent._name]._yscale = 200; } else if ((target > 0) & (_root["c" + target].active == true)) { _root["BUL_" + _parent._name]._visible = true; _root["BUL_" + _parent._name]._x = _root["BUL_" + _parent._name]._x + ((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) / 2); _root["BUL_" + _parent._name]._y = _root["BUL_" + _parent._name]._y + ((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) / 2); if ((((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) < 1) & ((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) > -1)) | (((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) < 1) & ((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) > -1))) { _root["BUL_" + _parent._name]._x = _parent._x; _root["BUL_" + _parent._name]._y = _parent._y; _root["BUL_" + _parent._name]._visible = false; this.play(); _root["c" + target].health = _root["c" + target].health - (random(dmg * 0.3) + (dmg * 0.7)); _root["c" + target]._alpha = 100 * (_root["c" + target].health / _root.health); pickTarget(); } if (((((_root["c" + i]._x - _parent._x) > 150) | ((_root["c" + i]._x - _parent._x) < -150)) | ((_root["c" + i]._y - _parent._y) > 150)) | ((_root["c" + i]._y - _parent._y) < -150)) { target = 0; pickTarget(); } } else { pickTarget(); _root["BUL_" + _parent._name]._x = _parent._x; _root["BUL_" + _parent._name]._y = _parent._y; _root["BUL_" + _parent._name]._visible = false; } } function pickTarget() { if ((((((target == 0) | (distancex > this.range)) | (distancex < (-this.range))) | (distancey > this.range)) | (distancey < (-this.range))) | (_root["c" + target].active == false)) { target++; } else if (target > 8) { target = 0; pickTarget(); } } pickTarget(); bulspawned = new Boolean(false); target = new Number(0); distancex = new Number(0); distancey = new Number(0); } onClipEvent (enterFrame) { if (target == 0) { this._rotation = this._rotation + 5; pickTarget(); } else { x = _root["c" + target]._x - _parent._x; y = (_root["c" + target]._y - _parent._y) * -1; angle = Math.atan(y / x) / 0.0174532925199433 /* Math.PI/180 */; if (x < 0) { angle = angle + 180; } if ((x >= 0) && (y < 0)) { angle = angle + 360; } this._rotation = angle * -1; getDist(_parent._x, _parent._y, _root["c" + target]._x, _root["c" + target]._y); moveBullet(); } }
Symbol 70 MovieClip [tower] Frame 27
turret.dmg = 300; turret.nxtdmg = 1215; nxtprice = 320; turret._y = -12.5; stop(); upgradeable = true; nam = "Master Nature Tower"; turret.range = 170; nextrange = 190;
Instance of Symbol 10 MovieClip [turret] "turret" in Symbol 70 MovieClip [tower] Frame 27
onClipEvent (load) { function getDist(x1, y1, x2, y2) { distancex = x2 - x1; distancey = y2 - y1; } function moveBullet() { if ((((((target == 0) | (distancex > this.range)) | (distancex < (-this.range))) | (distancey > this.range)) | (distancey < (-this.range))) | (_root["c" + target].active == false)) { pickTarget(); } else if ((target > 0) & (_root["c" + target].active == true)) { _root["BUL_" + _parent._name]._visible = true; _root["BUL_" + _parent._name]._x = _root["BUL_" + _parent._name]._x + ((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) / 2); _root["BUL_" + _parent._name]._y = _root["BUL_" + _parent._name]._y + ((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) / 2); if ((((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) < 1) & ((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) > -1)) | (((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) < 1) & ((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) > -1))) { _root["BUL_" + _parent._name]._x = _parent._x; _root["BUL_" + _parent._name]._y = _parent._y; _root["BUL_" + _parent._name]._visible = false; this.play(); _root["c" + target].health = _root["c" + target].health - (random(dmg * 0.3) + (dmg * 0.7)); _root["c" + target]._alpha = 100 * (_root["c" + target].health / _root.health); pickTarget(); } if (((((_root["c" + i]._x - _parent._x) > 150) | ((_root["c" + i]._x - _parent._x) < -150)) | ((_root["c" + i]._y - _parent._y) > 150)) | ((_root["c" + i]._y - _parent._y) < -150)) { target = 0; pickTarget(); } } else { pickTarget(); _root["BUL_" + _parent._name]._x = _parent._x; _root["BUL_" + _parent._name]._y = _parent._y; _root["BUL_" + _parent._name]._visible = false; } } function pickTarget() { if ((((((target == 0) | (distancex > this.range)) | (distancex < (-this.range))) | (distancey > this.range)) | (distancey < (-this.range))) | (_root["c" + target].active == false)) { target++; } else if (target > 8) { target = 0; pickTarget(); } } pickTarget(); bulspawned = new Boolean(false); target = new Number(0); distancex = new Number(0); distancey = new Number(0); } onClipEvent (enterFrame) { if (target == 0) { this._rotation = this._rotation + 5; pickTarget(); } else { x = _root["c" + target]._x - _parent._x; y = (_root["c" + target]._y - _parent._y) * -1; angle = Math.atan(y / x) / 0.0174532925199433 /* Math.PI/180 */; if (x < 0) { angle = angle + 180; } if ((x >= 0) && (y < 0)) { angle = angle + 360; } this._rotation = angle * -1; getDist(_parent._x, _parent._y, _root["c" + target]._x, _root["c" + target]._y); moveBullet(); } }
Symbol 70 MovieClip [tower] Frame 28
turret.dmg = 1013; turret.nxtdmg = 3645; nxtprice = 640; turret._y = -12.5; stop(); upgradeable = true; nam = "Enchanted Nature Tower"; turret.range = 190; nextrange = 200;
Instance of Symbol 10 MovieClip [turret] "turret" in Symbol 70 MovieClip [tower] Frame 28
onClipEvent (load) { function getDist(x1, y1, x2, y2) { distancex = x2 - x1; distancey = y2 - y1; } function moveBullet() { if ((((((target == 0) | (distancex > this.range)) | (distancex < (-this.range))) | (distancey > this.range)) | (distancey < (-this.range))) | (_root["c" + target].active == false)) { pickTarget(); _root["BUL_" + _parent._name]._xscale = 250; _root["BUL_" + _parent._name]._yscale = 250; } else if ((target > 0) & (_root["c" + target].active == true)) { _root["BUL_" + _parent._name]._visible = true; _root["BUL_" + _parent._name]._x = _root["BUL_" + _parent._name]._x + ((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) / 2); _root["BUL_" + _parent._name]._y = _root["BUL_" + _parent._name]._y + ((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) / 2); if ((((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) < 1) & ((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) > -1)) | (((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) < 1) & ((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) > -1))) { _root["BUL_" + _parent._name]._x = _parent._x; _root["BUL_" + _parent._name]._y = _parent._y; _root["BUL_" + _parent._name]._visible = false; this.play(); _root["c" + target].health = _root["c" + target].health - (random(dmg * 0.3) + (dmg * 0.7)); _root["c" + target]._alpha = 100 * (_root["c" + target].health / _root.health); pickTarget(); } if (((((_root["c" + i]._x - _parent._x) > 150) | ((_root["c" + i]._x - _parent._x) < -150)) | ((_root["c" + i]._y - _parent._y) > 150)) | ((_root["c" + i]._y - _parent._y) < -150)) { target = 0; pickTarget(); } } else { pickTarget(); _root["BUL_" + _parent._name]._x = _parent._x; _root["BUL_" + _parent._name]._y = _parent._y; _root["BUL_" + _parent._name]._visible = false; } } function pickTarget() { if ((((((target == 0) | (distancex > this.range)) | (distancex < (-this.range))) | (distancey > this.range)) | (distancey < (-this.range))) | (_root["c" + target].active == false)) { target++; } else if (target > 8) { target = 0; pickTarget(); } } pickTarget(); bulspawned = new Boolean(false); target = new Number(0); distancex = new Number(0); distancey = new Number(0); } onClipEvent (enterFrame) { if (target == 0) { this._rotation = this._rotation + 5; pickTarget(); } else { x = _root["c" + target]._x - _parent._x; y = (_root["c" + target]._y - _parent._y) * -1; angle = Math.atan(y / x) / 0.0174532925199433 /* Math.PI/180 */; if (x < 0) { angle = angle + 180; } if ((x >= 0) && (y < 0)) { angle = angle + 360; } this._rotation = angle * -1; getDist(_parent._x, _parent._y, _root["c" + target]._x, _root["c" + target]._y); moveBullet(); } }
Symbol 70 MovieClip [tower] Frame 29
turret.dmg = 1458; turret.nxtdmg = 9000; nxtprice = 1100; turret._y = -12.5; stop(); upgradeable = true; nam = "Supernatural Tower"; turret.range = 200; nextrange = 215;
Instance of Symbol 10 MovieClip [turret] "turret" in Symbol 70 MovieClip [tower] Frame 29
onClipEvent (load) { function getDist(x1, y1, x2, y2) { distancex = x2 - x1; distancey = y2 - y1; } function moveBullet() { if ((((((target == 0) | (distancex > this.range)) | (distancex < (-this.range))) | (distancey > this.range)) | (distancey < (-this.range))) | (_root["c" + target].active == false)) { pickTarget(); } else if ((target > 0) & (_root["c" + target].active == true)) { _root["BUL_" + _parent._name]._visible = true; _root["BUL_" + _parent._name]._x = _root["BUL_" + _parent._name]._x + ((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) / 2); _root["BUL_" + _parent._name]._y = _root["BUL_" + _parent._name]._y + ((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) / 2); if ((((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) < 1) & ((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) > -1)) | (((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) < 1) & ((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) > -1))) { _root["BUL_" + _parent._name]._x = _parent._x; _root["BUL_" + _parent._name]._y = _parent._y; _root["BUL_" + _parent._name]._visible = false; this.play(); _root["c" + target].health = _root["c" + target].health - (random(dmg * 0.3) + (dmg * 0.7)); _root["c" + target]._alpha = 100 * (_root["c" + target].health / _root.health); pickTarget(); } if (((((_root["c" + i]._x - _parent._x) > 150) | ((_root["c" + i]._x - _parent._x) < -150)) | ((_root["c" + i]._y - _parent._y) > 150)) | ((_root["c" + i]._y - _parent._y) < -150)) { target = 0; pickTarget(); } } else { pickTarget(); _root["BUL_" + _parent._name]._x = _parent._x; _root["BUL_" + _parent._name]._y = _parent._y; _root["BUL_" + _parent._name]._visible = false; } } function pickTarget() { if ((((((target == 0) | (distancex > this.range)) | (distancex < (-this.range))) | (distancey > this.range)) | (distancey < (-this.range))) | (_root["c" + target].active == false)) { target++; } else if (target > 8) { target = 0; pickTarget(); } } pickTarget(); bulspawned = new Boolean(false); target = new Number(0); distancex = new Number(0); distancey = new Number(0); } onClipEvent (enterFrame) { if (target == 0) { this._rotation = this._rotation + 5; pickTarget(); } else { x = _root["c" + target]._x - _parent._x; y = (_root["c" + target]._y - _parent._y) * -1; angle = Math.atan(y / x) / 0.0174532925199433 /* Math.PI/180 */; if (x < 0) { angle = angle + 180; } if ((x >= 0) && (y < 0)) { angle = angle + 360; } this._rotation = angle * -1; getDist(_parent._x, _parent._y, _root["c" + target]._x, _root["c" + target]._y); moveBullet(); } }
Symbol 70 MovieClip [tower] Frame 30
turret.dmg = 9000; turret.nxtdmg = "n/a"; nxtprice = "n/a"; turret._y = -12.5; stop(); upgradeable = false; nam = "Living Tower"; turret.range = 215; nextrange = "n/a";
Symbol 70 MovieClip [tower] Frame 31
gotoAndStop (18);
Symbol 70 MovieClip [tower] Frame 32
turret.dmg = 9090; turret.range = 150; nextrange = 100; turret.nxtdmg = 15050; nxtprice = 5000; turret._y = -7.5; stop(); upgradeable = true; nam = "Ultimate Armed Tower"; stop();
Instance of Symbol 10 MovieClip [turret] "turret" in Symbol 70 MovieClip [tower] Frame 32
onClipEvent (load) { function getDist(x1, y1, x2, y2) { distancex = x2 - x1; distancey = y2 - y1; } function moveBullet() { if ((((((target == 0) | (distancex > this.range)) | (distancex < (-this.range))) | (distancey > this.range)) | (distancey < (-this.range))) | (_root["c" + target].active == false)) { pickTarget(); } else if ((target > 0) & (_root["c" + target].active == true)) { _root["BUL_" + _parent._name]._visible = true; _root["BUL_" + _parent._name]._x = _root["BUL_" + _parent._name]._x + ((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) / 4); _root["BUL_" + _parent._name]._y = _root["BUL_" + _parent._name]._y + ((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) / 4); if ((((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) < 1) & ((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) > -1)) | (((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) < 1) & ((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) > -1))) { _root["BUL_" + _parent._name]._x = _parent._x; _root["BUL_" + _parent._name]._y = _parent._y; _root["BUL_" + _parent._name]._visible = false; this.play(); _root["c" + target].health = _root["c" + target].health - (random(dmg * 0.3) + (dmg * 0.7)); _root["c" + target]._alpha = 100 * (_root["c" + target].health / _root.health); pickTarget(); } if (((((_root["c" + i]._x - _parent._x) > 150) | ((_root["c" + i]._x - _parent._x) < -150)) | ((_root["c" + i]._y - _parent._y) > 150)) | ((_root["c" + i]._y - _parent._y) < -150)) { target = 0; pickTarget(); } } else { pickTarget(); _root["BUL_" + _parent._name]._x = _parent._x; _root["BUL_" + _parent._name]._y = _parent._y; _root["BUL_" + _parent._name]._visible = false; } } function pickTarget() { if ((((((target == 0) | (distancex > this.range)) | (distancex < (-this.range))) | (distancey > this.range)) | (distancey < (-this.range))) | (_root["c" + target].active == false)) { target++; } else if (target > 8) { target = 0; pickTarget(); } } pickTarget(); bulspawned = new Boolean(false); target = new Number(0); distancex = new Number(0); distancey = new Number(0); } onClipEvent (enterFrame) { if (target == 0) { this._rotation = this._rotation + 5; pickTarget(); } else { x = _root["c" + target]._x - _parent._x; y = (_root["c" + target]._y - _parent._y) * -1; angle = Math.atan(y / x) / 0.0174532925199433 /* Math.PI/180 */; if (x < 0) { angle = angle + 180; } if ((x >= 0) && (y < 0)) { angle = angle + 360; } this._rotation = angle * -1; getDist(_parent._x, _parent._y, _root["c" + target]._x, _root["c" + target]._y); moveBullet(); } if (bulspawned == false) { _root.attachMovie("bullet", "BUL_" + _parent._name, 700 + _root.num); _root["BUL_" + _parent._name]._x = _parent._x; _root["BUL_" + _parent._name]._y = _parent._y; _root["BUL_" + _parent._name]._visible = false; _root["BUL_" + _parent._name].blendMode = "invert"; _root["BUL_" + _parent._name].gotoAndStop(4); _root.num++; bulspawned = true; } }
Symbol 70 MovieClip [tower] Frame 33
turret.dmg = 15050; turret.nxtdmg = 909090 /* 0x0DDF22 */; nxtprice = 15000; turret._y = -7.5; stop(); upgradeable = true; nam = "Flower Power Tower"; turret.range = 100; nextrange = 90;
Instance of Symbol 10 MovieClip [turret] "turret" in Symbol 70 MovieClip [tower] Frame 33
onClipEvent (load) { function getDist(x1, y1, x2, y2) { distancex = x2 - x1; distancey = y2 - y1; } function moveBullet() { if ((((((target == 0) | (distancex > this.range)) | (distancex < (-this.range))) | (distancey > this.range)) | (distancey < (-this.range))) | (_root["c" + target].active == false)) { pickTarget(); } else if ((target > 0) & (_root["c" + target].active == true)) { _root["BUL_" + _parent._name]._visible = true; _root["BUL_" + _parent._name]._x = _root["BUL_" + _parent._name]._x + ((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) / 4); _root["BUL_" + _parent._name]._y = _root["BUL_" + _parent._name]._y + ((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) / 4); if ((((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) < 1) & ((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) > -1)) | (((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) < 1) & ((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) > -1))) { _root["BUL_" + _parent._name]._x = _parent._x; _root["BUL_" + _parent._name]._y = _parent._y; _root["BUL_" + _parent._name]._visible = false; _root["c" + target].health = _root["c" + target].health - (random(dmg * 0.3) + (dmg * 0.7)); _root["c" + target]._alpha = 100 * (_root["c" + target].health / _root.health); pickTarget(); } if (((((_root["c" + i]._x - _parent._x) > 150) | ((_root["c" + i]._x - _parent._x) < -150)) | ((_root["c" + i]._y - _parent._y) > 150)) | ((_root["c" + i]._y - _parent._y) < -150)) { target = 0; pickTarget(); } } else { pickTarget(); _root["BUL_" + _parent._name]._x = _parent._x; _root["BUL_" + _parent._name]._y = _parent._y; _root["BUL_" + _parent._name]._visible = false; } } function pickTarget() { if ((((((target == 0) | (distancex > this.range)) | (distancex < (-this.range))) | (distancey > this.range)) | (distancey < (-this.range))) | (_root["c" + target].active == false)) { target++; } else if (target > 8) { target = 0; pickTarget(); } } pickTarget(); bulspawned = new Boolean(false); target = new Number(0); distancex = new Number(0); distancey = new Number(0); } onClipEvent (enterFrame) { if (target == 0) { this._rotation = this._rotation + 5; pickTarget(); } else { x = _root["c" + target]._x - _parent._x; y = (_root["c" + target]._y - _parent._y) * -1; angle = Math.atan(y / x) / 0.0174532925199433 /* Math.PI/180 */; if (x < 0) { angle = angle + 180; } if ((x >= 0) && (y < 0)) { angle = angle + 360; } this._rotation = angle * -1; getDist(_parent._x, _parent._y, _root["c" + target]._x, _root["c" + target]._y); moveBullet(); } }
Symbol 70 MovieClip [tower] Frame 34
turret.dmg = 909090 /* 0x0DDF22 */; turret.nxtdmg = "n/a"; nxtprice = "n/a"; turret._y = -12.5; stop(); upgradeable = false; nam = "TTHHE ULLTTIMMATTE TTOWWERR"; turret.range = 90; nextrange = "n/a";
Instance of Symbol 10 MovieClip [turret] "turret" in Symbol 70 MovieClip [tower] Frame 34
onClipEvent (load) { function getDist(x1, y1, x2, y2) { distancex = x2 - x1; distancey = y2 - y1; } function moveBullet() { if ((((((target == 0) | (distancex > this.range)) | (distancex < (-this.range))) | (distancey > this.range)) | (distancey < (-this.range))) | (_root["c" + target].active == false)) { pickTarget(); _root["BUL_" + _parent._name]._xscale = 150; _root["BUL_" + _parent._name]._yscale = 150; } else if ((target > 0) & (_root["c" + target].active == true)) { _root["BUL_" + _parent._name]._visible = true; _root["BUL_" + _parent._name]._x = _root["BUL_" + _parent._name]._x + ((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) / 5); _root["BUL_" + _parent._name]._y = _root["BUL_" + _parent._name]._y + ((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) / 5); if ((((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) < 1) & ((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) > -1)) | (((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) < 1) & ((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) > -1))) { _root["BUL_" + _parent._name]._x = _parent._x; _root["BUL_" + _parent._name]._y = _parent._y; _root["BUL_" + _parent._name]._visible = false; _root["c" + target].health = _root["c" + target].health - (random(dmg * 0.3) + (dmg * 0.7)); _root["c" + target]._alpha = 100 * (_root["c" + target].health / _root.health); pickTarget(); } if (((((_root["c" + i]._x - _parent._x) > 150) | ((_root["c" + i]._x - _parent._x) < -150)) | ((_root["c" + i]._y - _parent._y) > 150)) | ((_root["c" + i]._y - _parent._y) < -150)) { target = 0; pickTarget(); } } else { pickTarget(); _root["BUL_" + _parent._name]._x = _parent._x; _root["BUL_" + _parent._name]._y = _parent._y; _root["BUL_" + _parent._name]._visible = false; } } function pickTarget() { if ((((((target == 0) | (distancex > this.range)) | (distancex < (-this.range))) | (distancey > this.range)) | (distancey < (-this.range))) | (_root["c" + target].active == false)) { target++; } else if (target > 8) { target = 0; pickTarget(); } } pickTarget(); bulspawned = new Boolean(false); target = new Number(0); distancex = new Number(0); distancey = new Number(0); } onClipEvent (enterFrame) { if (target == 0) { this._rotation = this._rotation + 5; pickTarget(); } else { x = _root["c" + target]._x - _parent._x; y = (_root["c" + target]._y - _parent._y) * -1; angle = Math.atan(y / x) / 0.0174532925199433 /* Math.PI/180 */; if (x < 0) { angle = angle + 180; } if ((x >= 0) && (y < 0)) { angle = angle + 360; } this._rotation = angle * -1; getDist(_parent._x, _parent._y, _root["c" + target]._x, _root["c" + target]._y); moveBullet(); } }
Symbol 70 MovieClip [tower] Frame 36
turret.dmg = 40; turret.nxtdmg = "n/a"; nxtprice = "n/a"; turret._y = -12.5; stop(); upgradeable = false; nam = "Storm Tower"; turret.range = 100; nextrange = "n/a"; stop();
Instance of Symbol 69 MovieClip "turret" in Symbol 70 MovieClip [tower] Frame 36
onClipEvent (load) { function getDist(x1, y1, x2, y2) { distancex = x2 - x1; distancey = y2 - y1; } function moveBullet() { if ((((((target == 0) | (distancex > this.range)) | (distancex < (-this.range))) | (distancey > this.range)) | (distancey < (-this.range))) | (_root["c" + target].active == false)) { pickTarget(); } else if ((target > 0) & (_root["c" + target].active == true)) { _root["BUL_" + _parent._name]._visible = true; _root["BUL_" + _parent._name]._x = _root["BUL_" + _parent._name]._x + ((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) / 4); _root["BUL_" + _parent._name]._y = _root["BUL_" + _parent._name]._y + ((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) / 4); if ((((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) < 1) & ((_root["c" + target]._x - _root["BUL_" + _parent._name]._x) > -1)) | (((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) < 1) & ((_root["c" + target]._y - _root["BUL_" + _parent._name]._y) > -1))) { _root["BUL_" + _parent._name]._x = _parent._x; _root["BUL_" + _parent._name]._y = _parent._y; _root["BUL_" + _parent._name]._visible = false; _root["c" + target].health = _root["c" + target].health - (random(dmg * 0.3) + (dmg * 0.7)); _root["c" + target]._alpha = 100 * (_root["c" + target].health / _root.health); pickTarget(); } if (((((_root["c" + i]._x - _parent._x) > 150) | ((_root["c" + i]._x - _parent._x) < -150)) | ((_root["c" + i]._y - _parent._y) > 150)) | ((_root["c" + i]._y - _parent._y) < -150)) { target = 0; pickTarget(); } } else { pickTarget(); _root["BUL_" + _parent._name]._x = _parent._x; _root["BUL_" + _parent._name]._y = _parent._y; _root["BUL_" + _parent._name]._visible = false; } } function pickTarget() { if ((((((target == 0) | (distancex > this.range)) | (distancex < (-this.range))) | (distancey > this.range)) | (distancey < (-this.range))) | (_root["c" + target].active == false)) { target++; } else if (target > 8) { target = 0; pickTarget(); } } pickTarget(); bulspawned = new Boolean(false); target = new Number(0); distancex = new Number(0); distancey = new Number(0); } onClipEvent (enterFrame) { if (target == 0) { this._rotation = this._rotation + 5; pickTarget(); } else { getDist(_parent._x, _parent._y, _root["c" + target]._x, _root["c" + target]._y); moveBullet(); } if (bulspawned == false) { _root.attachMovie("bullet", "BUL_" + _parent._name, 700 + _root.num); _root["BUL_" + _parent._name]._x = _parent._x; _root["BUL_" + _parent._name]._y = _parent._y; _root["BUL_" + _parent._name]._visible = false; _root["BUL_" + _parent._name].blendMode = normal; _root["BUL_" + _parent._name].gotoAndStop(5); _root.num++; bulspawned = true; } }
Symbol 75 MovieClip [bullet] Frame 1
stop();
Symbol 75 MovieClip [bullet] Frame 2
stop();
Symbol 75 MovieClip [bullet] Frame 3
stop();
Symbol 75 MovieClip [bullet] Frame 4
stop();
Symbol 79 MovieClip [guide] Frame 1
this._visible = false;
Symbol 85 Button
on (release) { play(); }
Symbol 94 MovieClip Frame 1
_root.stop(); _root.start._visible = false; PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100; if (PercentLoaded != 100) { bar._xscale = PercentLoaded; } else { _root.start._visible = true; this._visible = false; }
Symbol 94 MovieClip Frame 2
gotoAndPlay (1);
Symbol 129 MovieClip Frame 1
stop();
Symbol 152 Button
on (release) { if (_root.money >= 18) { _root.MODE = 1; _root.SEL = 1; } }
Symbol 155 Button
on (release) { if (_root.money >= 10) { _root.MODE = 1; _root.SEL = 2; } }
Symbol 158 Button
on (release) { if (_root.money >= 15) { _root.MODE = 1; _root.SEL = 3; } }
Symbol 167 Button
on (release) { if (_root.money >= 3000) { _root.MODE = 1; _root.SEL = 4; } }
Symbol 173 Button
on (release) { if (_root.money >= 40) { _root.MODE = 1; _root.SEL = 5; } }
Symbol 179 Button
on (release) { if (upgradable) { if (_root.money >= upg_price) { _root[_root.SEL].nextFrame(); _root[_root.SEL].turret.active = false; _root.money = _root.money - upg_price; _root.selArrow._visible = false; gotoAndStop (1); } else { _root.mess.text = "Insufficient Funds to Upgrade Selected Tower."; _root.messtim = 3; } } else { _root.mess.text = "This Tower Cannot be Upgraded Any Further."; _root.messtim = 3; } }
Symbol 185 Button
on (release) { _root.MODE = 0; _root.SEL = 0; _root.selArrow._visible = false; gotoAndStop (1); }
Symbol 195 MovieClip Frame 1
_root.ex._visible = true; stop();
Symbol 195 MovieClip Frame 2
var upg_price; var nxt_dmg; var upgadable; _root.ex._visible = false;
Symbol 201 Button
on (rollOver) { if (MODE == 1) { _root.MODE = 0; _root.SEL = 0; } _root.guide_rect._x = -100; _root.guide_rect._y = -100; }

Library Items

Symbol 1 GraphicUsed by:3
Symbol 2 GraphicUsed by:3
Symbol 3 MovieClip [arrow]Uses:1 2
Symbol 4 GraphicUsed by:7
Symbol 5 GraphicUsed by:7
Symbol 6 GraphicUsed by:7
Symbol 7 ButtonUses:4 5 6Used by:70
Symbol 8 GraphicUsed by:70
Symbol 9 GraphicUsed by:10
Symbol 10 MovieClip [turret]Uses:9Used by:70
Symbol 11 GraphicUsed by:70
Symbol 12 GraphicUsed by:70
Symbol 13 GraphicUsed by:70
Symbol 14 GraphicUsed by:70
Symbol 15 GraphicUsed by:70
Symbol 16 GraphicUsed by:70
Symbol 17 ShapeTweeningUsed by:20
Symbol 18 ShapeTweeningUsed by:20
Symbol 19 GraphicUsed by:20
Symbol 20 MovieClipUses:17 18 19Used by:70
Symbol 21 GraphicUsed by:70
Symbol 22 GraphicUsed by:70
Symbol 23 GraphicUsed by:70
Symbol 24 GraphicUsed by:70
Symbol 25 GraphicUsed by:70
Symbol 26 GraphicUsed by:70
Symbol 27 GraphicUsed by:70
Symbol 28 GraphicUsed by:30
Symbol 29 GraphicUsed by:30
Symbol 30 MovieClipUses:28 29Used by:70
Symbol 31 GraphicUsed by:70
Symbol 32 GraphicUsed by:70
Symbol 33 GraphicUsed by:70
Symbol 34 GraphicUsed by:70
Symbol 35 GraphicUsed by:70
Symbol 36 GraphicUsed by:70
Symbol 37 GraphicUsed by:70
Symbol 38 GraphicUsed by:70
Symbol 39 GraphicUsed by:70
Symbol 40 GraphicUsed by:50
Symbol 41 GraphicUsed by:50
Symbol 42 GraphicUsed by:50
Symbol 43 GraphicUsed by:50
Symbol 44 GraphicUsed by:50
Symbol 45 GraphicUsed by:50
Symbol 46 GraphicUsed by:50
Symbol 47 GraphicUsed by:50
Symbol 48 GraphicUsed by:50
Symbol 49 GraphicUsed by:50
Symbol 50 MovieClipUses:40 41 42 43 44 45 46 47 48 49Used by:70
Symbol 51 GraphicUsed by:70
Symbol 52 GraphicUsed by:70
Symbol 53 GraphicUsed by:70
Symbol 54 GraphicUsed by:70
Symbol 55 GraphicUsed by:70
Symbol 56 GraphicUsed by:60
Symbol 57 ShapeTweeningUsed by:60
Symbol 58 ShapeTweeningUsed by:60
Symbol 59 GraphicUsed by:60
Symbol 60 MovieClipUses:56 57 58 59Used by:70
Symbol 61 GraphicUsed by:69
Symbol 62 GraphicUsed by:69
Symbol 63 GraphicUsed by:69
Symbol 64 GraphicUsed by:69
Symbol 65 GraphicUsed by:69
Symbol 66 GraphicUsed by:69
Symbol 67 GraphicUsed by:69
Symbol 68 GraphicUsed by:69
Symbol 69 MovieClipUses:61 62 63 64 65 66 67 68Used by:70
Symbol 70 MovieClip [tower]Uses:7 8 10 11 12 13 14 15 16 20 21 22 23 24 25 26 27 30 31 32 33 34 35 36 37 38 39 50 51 52 53 54 55 60 69
Symbol 71 GraphicUsed by:75
Symbol 72 GraphicUsed by:75
Symbol 73 GraphicUsed by:75
Symbol 74 GraphicUsed by:75
Symbol 75 MovieClip [bullet]Uses:71 72 73 74
Symbol 76 GraphicUsed by:77
Symbol 77 MovieClip [creature]Uses:76Used by:Timeline
Symbol 78 GraphicUsed by:79
Symbol 79 MovieClip [guide]Uses:78Used by:Timeline
Symbol 80 GraphicUsed by:Timeline
Symbol 81 FontUsed by:82 206 208
Symbol 82 TextUses:81Used by:Timeline
Symbol 83 GraphicUsed by:85
Symbol 84 GraphicUsed by:85
Symbol 85 ButtonUses:83 84Used by:Timeline
Symbol 86 FontUsed by:88
Symbol 87 FontUsed by:88
Symbol 88 TextUses:86 87Used by:Timeline
Symbol 89 GraphicUsed by:Timeline
Symbol 90 GraphicUsed by:91 94
Symbol 91 MovieClipUses:90Used by:94
Symbol 92 FontUsed by:93 169
Symbol 93 TextUses:92Used by:94
Symbol 94 MovieClipUses:91 90 93Used by:Timeline
Symbol 95 GraphicUsed by:96
Symbol 96 MovieClipUses:95Used by:Timeline
Symbol 97 GraphicUsed by:98
Symbol 98 MovieClipUses:97Used by:Timeline
Symbol 99 GraphicUsed by:100
Symbol 100 MovieClipUses:99Used by:Timeline
Symbol 101 GraphicUsed by:102
Symbol 102 MovieClipUses:101Used by:Timeline
Symbol 103 GraphicUsed by:104
Symbol 104 MovieClipUses:103Used by:Timeline
Symbol 105 GraphicUsed by:106
Symbol 106 MovieClipUses:105Used by:Timeline
Symbol 107 GraphicUsed by:108
Symbol 108 MovieClipUses:107Used by:Timeline
Symbol 109 GraphicUsed by:110
Symbol 110 MovieClipUses:109Used by:Timeline
Symbol 111 GraphicUsed by:112
Symbol 112 MovieClipUses:111Used by:Timeline
Symbol 113 GraphicUsed by:116
Symbol 114 FontUsed by:115 130 198
Symbol 115 TextUses:114Used by:116
Symbol 116 MovieClipUses:113 115Used by:Timeline
Symbol 117 FontUsed by:118
Symbol 118 EditableTextUses:117Used by:Timeline
Symbol 119 GraphicUsed by:120
Symbol 120 MovieClipUses:119Used by:Timeline
Symbol 121 GraphicUsed by:124
Symbol 122 FontUsed by:123
Symbol 123 TextUses:122Used by:124
Symbol 124 MovieClipUses:121 123Used by:Timeline
Symbol 125 FontUsed by:126 134 137 140 142 145 175 180 188 194 197
Symbol 126 TextUses:125Used by:Timeline
Symbol 127 GraphicUsed by:129
Symbol 128 GraphicUsed by:129
Symbol 129 MovieClipUses:127 128Used by:Timeline
Symbol 130 EditableTextUses:114Used by:Timeline
Symbol 131 GraphicUsed by:Timeline
Symbol 132 FontUsed by:133 136 139
Symbol 133 EditableTextUses:132Used by:Timeline
Symbol 134 TextUses:125Used by:Timeline
Symbol 135 GraphicUsed by:Timeline
Symbol 136 EditableTextUses:132Used by:Timeline
Symbol 137 TextUses:125Used by:Timeline
Symbol 138 GraphicUsed by:Timeline
Symbol 139 EditableTextUses:132Used by:Timeline
Symbol 140 TextUses:125Used by:Timeline
Symbol 141 GraphicUsed by:195
Symbol 142 TextUses:125Used by:195
Symbol 143 GraphicUsed by:144
Symbol 144 MovieClipUses:143Used by:195
Symbol 145 TextUses:125Used by:195
Symbol 146 FontUsed by:147 148 149 163 170 176
Symbol 147 TextUses:146Used by:195
Symbol 148 TextUses:146Used by:195
Symbol 149 TextUses:146Used by:195
Symbol 150 GraphicUsed by:152
Symbol 151 GraphicUsed by:152
Symbol 152 ButtonUses:150 151Used by:195
Symbol 153 GraphicUsed by:155
Symbol 154 GraphicUsed by:155
Symbol 155 ButtonUses:153 154Used by:195
Symbol 156 GraphicUsed by:158
Symbol 157 GraphicUsed by:158
Symbol 158 ButtonUses:156 157Used by:195
Symbol 159 GraphicUsed by:195
Symbol 160 FontUsed by:161 162 168 174 181 182 191 192 211
Symbol 161 TextUses:160Used by:195
Symbol 162 TextUses:160Used by:195
Symbol 163 TextUses:146Used by:195
Symbol 164 GraphicUsed by:195
Symbol 165 GraphicUsed by:167
Symbol 166 GraphicUsed by:167
Symbol 167 ButtonUses:165 166Used by:195
Symbol 168 TextUses:160Used by:195
Symbol 169 TextUses:92Used by:195
Symbol 170 TextUses:146Used by:195
Symbol 171 GraphicUsed by:173
Symbol 172 GraphicUsed by:173
Symbol 173 ButtonUses:171 172Used by:195
Symbol 174 TextUses:160Used by:195
Symbol 175 TextUses:125Used by:195
Symbol 176 EditableTextUses:146Used by:195
Symbol 177 GraphicUsed by:179
Symbol 178 GraphicUsed by:179
Symbol 179 ButtonUses:177 178Used by:195
Symbol 180 TextUses:125Used by:195
Symbol 181 TextUses:160Used by:195
Symbol 182 EditableTextUses:160Used by:195
Symbol 183 GraphicUsed by:185
Symbol 184 GraphicUsed by:185
Symbol 185 ButtonUses:183 184Used by:195
Symbol 186 FontUsed by:187 193
Symbol 187 EditableTextUses:186Used by:195
Symbol 188 TextUses:125Used by:195
Symbol 189 FontUsed by:190
Symbol 190 EditableTextUses:189Used by:195
Symbol 191 TextUses:160Used by:195
Symbol 192 EditableTextUses:160Used by:195
Symbol 193 EditableTextUses:186Used by:195
Symbol 194 TextUses:125Used by:195
Symbol 195 MovieClipUses:141 142 144 145 147 148 149 152 155 158 159 161 162 163 164 167 168 169 170 173 174 175 176 179 180 181 182 185 187 188 190 191 192 193 194Used by:Timeline
Symbol 196 GraphicUsed by:Timeline
Symbol 197 TextUses:125Used by:Timeline
Symbol 198 EditableTextUses:114Used by:Timeline
Symbol 199 GraphicUsed by:201
Symbol 200 GraphicUsed by:201
Symbol 201 ButtonUses:199 200Used by:Timeline
Symbol 202 FontUsed by:203
Symbol 203 TextUses:202Used by:204
Symbol 204 MovieClipUses:203Used by:Timeline
Symbol 205 GraphicUsed by:Timeline
Symbol 206 TextUses:81Used by:Timeline
Symbol 207 GraphicUsed by:Timeline
Symbol 208 TextUses:81Used by:Timeline
Symbol 209 FontUsed by:210
Symbol 210 EditableTextUses:209Used by:Timeline
Symbol 211 TextUses:160Used by:Timeline

Instance Names

"Start"Frame 1Symbol 85 Button
"p3"Frame 2Symbol 100 MovieClip
"castle"Frame 2Symbol 112 MovieClip
"main"Frame 2Symbol 116 MovieClip
"d1"Frame 2Symbol 79 MovieClip [guide]
"d2"Frame 2Symbol 79 MovieClip [guide]
"d3"Frame 2Symbol 79 MovieClip [guide]
"d4"Frame 2Symbol 79 MovieClip [guide]
"d5"Frame 2Symbol 79 MovieClip [guide]
"d6"Frame 2Symbol 79 MovieClip [guide]
"d7"Frame 2Symbol 79 MovieClip [guide]
"d8"Frame 2Symbol 79 MovieClip [guide]
"mess"Frame 2Symbol 118 EditableText
"c1"Frame 2Symbol 77 MovieClip [creature]
"c2"Frame 2Symbol 77 MovieClip [creature]
"c3"Frame 2Symbol 77 MovieClip [creature]
"c4"Frame 2Symbol 77 MovieClip [creature]
"c5"Frame 2Symbol 77 MovieClip [creature]
"c6"Frame 2Symbol 77 MovieClip [creature]
"c7"Frame 2Symbol 77 MovieClip [creature]
"c8"Frame 2Symbol 77 MovieClip [creature]
"guide_rect"Frame 2Symbol 129 MovieClip
"console"Frame 2Symbol 195 MovieClip
"ex"Frame 2Symbol 201 Button
"score"Frame 3Symbol 210 EditableText
"turret"Symbol 70 MovieClip [tower] Frame 5Symbol 10 MovieClip [turret]
"turret"Symbol 70 MovieClip [tower] Frame 6Symbol 10 MovieClip [turret]
"turret"Symbol 70 MovieClip [tower] Frame 7Symbol 10 MovieClip [turret]
"turret"Symbol 70 MovieClip [tower] Frame 8Symbol 10 MovieClip [turret]
"turret"Symbol 70 MovieClip [tower] Frame 9Symbol 10 MovieClip [turret]
"turret"Symbol 70 MovieClip [tower] Frame 10Symbol 10 MovieClip [turret]
"turret"Symbol 70 MovieClip [tower] Frame 13Symbol 10 MovieClip [turret]
"turret"Symbol 70 MovieClip [tower] Frame 14Symbol 10 MovieClip [turret]
"turret"Symbol 70 MovieClip [tower] Frame 15Symbol 10 MovieClip [turret]
"turret"Symbol 70 MovieClip [tower] Frame 16Symbol 10 MovieClip [turret]
"turret"Symbol 70 MovieClip [tower] Frame 17Symbol 10 MovieClip [turret]
"turret"Symbol 70 MovieClip [tower] Frame 18Symbol 10 MovieClip [turret]
"turret"Symbol 70 MovieClip [tower] Frame 19Symbol 10 MovieClip [turret]
"turret"Symbol 70 MovieClip [tower] Frame 21Symbol 10 MovieClip [turret]
"turret"Symbol 70 MovieClip [tower] Frame 23Symbol 10 MovieClip [turret]
"turret"Symbol 70 MovieClip [tower] Frame 24Symbol 10 MovieClip [turret]
"turret"Symbol 70 MovieClip [tower] Frame 25Symbol 10 MovieClip [turret]
"turret"Symbol 70 MovieClip [tower] Frame 26Symbol 10 MovieClip [turret]
"turret"Symbol 70 MovieClip [tower] Frame 27Symbol 10 MovieClip [turret]
"turret"Symbol 70 MovieClip [tower] Frame 28Symbol 10 MovieClip [turret]
"turret"Symbol 70 MovieClip [tower] Frame 29Symbol 10 MovieClip [turret]
"turret"Symbol 70 MovieClip [tower] Frame 32Symbol 10 MovieClip [turret]
"turret"Symbol 70 MovieClip [tower] Frame 33Symbol 10 MovieClip [turret]
"turret"Symbol 70 MovieClip [tower] Frame 34Symbol 10 MovieClip [turret]
"turret"Symbol 70 MovieClip [tower] Frame 36Symbol 69 MovieClip
"bar"Symbol 94 MovieClip Frame 1Symbol 91 MovieClip
"bar"Symbol 195 MovieClip Frame 1Symbol 144 MovieClip
"fire_btn"Symbol 195 MovieClip Frame 1Symbol 152 Button
"water_btn"Symbol 195 MovieClip Frame 1Symbol 155 Button
"nature_btn"Symbol 195 MovieClip Frame 1Symbol 158 Button
"upgrade_btn"Symbol 195 MovieClip Frame 2Symbol 179 Button
"dmgtxt"Symbol 195 MovieClip Frame 2Symbol 187 EditableText
"namtxt"Symbol 195 MovieClip Frame 2Symbol 190 EditableText
"rngtxt"Symbol 195 MovieClip Frame 2Symbol 193 EditableText

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata present, AS1/AS2.
SWFMetaData (77)Timeline Frame 1332 bytes "<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><rdf:Description rdf:about="" xmlns ..."
Protect (24)Timeline Frame 10 bytes ""
ExportAssets (56)Timeline Frame 1Symbol 3 as "arrow"
ExportAssets (56)Timeline Frame 1Symbol 10 as "turret"
ExportAssets (56)Timeline Frame 1Symbol 70 as "tower"
ExportAssets (56)Timeline Frame 1Symbol 75 as "bullet"
ExportAssets (56)Timeline Frame 1Symbol 77 as "creature"
ExportAssets (56)Timeline Frame 1Symbol 79 as "guide"

Dynamic Text Variables

_root.income*8Symbol 130 EditableText"<p align="center"></p>"
_root.livesSymbol 133 EditableText"<p align="center"><font face="Arial_24pt_st" size="24" color="#ff9900" letterSpacing="0.000000" kerning="1"><b>0</b></font></p>"
_root.timeremSymbol 136 EditableText"<p align="center"><font face="Arial_24pt_st" size="24" color="#ff9900" letterSpacing="0.000000" kerning="1"><b>0</b></font></p>"
_root.waveSymbol 139 EditableText"<p align="center"><font face="Arial_24pt_st" size="24" color="#ff9900" letterSpacing="0.000000" kerning="1"><b>1</b></font></p>"
upg_priceSymbol 176 EditableText"<p align="right"><font face="Tahoma_10pt_st" size="10" color="#ffcc00" letterSpacing="0.000000" kerning="1">30</font></p>"
nxt_dmgSymbol 182 EditableText"<p align="right"><font face="Tahoma_10pt_st" size="10" color="#ffffff" letterSpacing="0.000000" kerning="1"><b>000</b></font></p>"
nxt_rngSymbol 192 EditableText"<p align="right"><font face="Tahoma_10pt_st" size="10" color="#ffffff" letterSpacing="0.000000" kerning="1"><b>000</b></font></p>"
_root.moneySymbol 198 EditableText"<p align="center"><font face="Arial_12pt_st" size="12" color="#ff9900" letterSpacing="0.000000" kerning="1">50</font></p>"
_root.waveSymbol 210 EditableText"<p align="center"></p>"




http://swfchan.com/9/44525/info.shtml
Created: 6/5 -2019 23:29:23 Last modified: 6/5 -2019 23:29:23 Server time: 22/12 -2024 11:50:48