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

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

tower-defence(jx).swf

This is the info page for
Flash #7291

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


Text
How To Play

Blah blah blah blah blah

Please Wait While Loading..

main loop

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

Q

adjust the Quality

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

<p align="left"><font face="Arial" size="24" color="#ff9900" letterSpacing="0.000000" kerning="0"><b>0</b></font></p><p align="left"></p>

Citizens

<p align="left"><font face="Arial" size="24" color="#ff9900" letterSpacing="0.000000" kerning="0"><b>0</b></font></p><p align="left"></p>

Seconds

<p align="left"><font face="Arial" size="24" color="#ff9900" letterSpacing="0.000000" kerning="0"><b>1</b></font></p><p align="left"></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="left"><font face="Arial" size="10" color="#ffcc00" letterSpacing="0.000000" kerning="0">30</font></p><p align="left"></p>

Upgrade

dmg

<p align="left"><font face="Arial" size="10" color="#ffffff" letterSpacing="0.000000" kerning="0"><b>000</b></font></p><p align="left"></p>

<p align="left"><font face="Arial" size="9" color="#ff9900" letterSpacing="0.000000" kerning="0"><i>10000</i></font></p><p align="left"></p>

Tower Damage:

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

rang

<p align="left"><font face="Arial" size="10" color="#ffffff" letterSpacing="0.000000" kerning="0"><b>000</b></font></p><p align="left"></p>

<p align="left"><font face="Arial" size="9" color="#ff9900" letterSpacing="0.000000" kerning="0"><i>10000</i></font></p><p align="left"></p>

Range:

Money

<p align="left"><font face="Arial" size="12" color="#ff9900" letterSpacing="0.000000" kerning="0">1000000</font></p><p align="left"></p>

Press [SpaceBar] To Skip To Next Wave

Your Castle has been Invaded

You Scored:

<p align="left"></p><p align="left"></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 = 60; health = 5; speed = 3; numtowers = 0; hit = false; num = 1; income = 1;
Frame 2
_root.attachMovie("arrow", "selArrow", 1000); stop();
Instance of Symbol 97 MovieClip in Frame 2
onClipEvent (load) { } onClipEvent (enterFrame) { if (_root.guide_rect.hitTest(this)) { _root.hit1 = true; } else { _root.hit1 = false; } }
Instance of Symbol 99 MovieClip in Frame 2
onClipEvent (load) { } onClipEvent (enterFrame) { if (_root.guide_rect.hitTest(this)) { _root.hit2 = true; } else { _root.hit2 = false; } }
Instance of Symbol 101 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 103 MovieClip in Frame 2
onClipEvent (load) { } onClipEvent (enterFrame) { if (_root.guide_rect.hitTest(this)) { _root.hit4 = true; } else { _root.hit4 = false; } }
Instance of Symbol 105 MovieClip in Frame 2
onClipEvent (load) { } onClipEvent (enterFrame) { if (_root.guide_rect.hitTest(this)) { _root.hit5 = true; } else { _root.hit5 = false; } }
Instance of Symbol 107 MovieClip in Frame 2
onClipEvent (load) { } onClipEvent (enterFrame) { if (_root.guide_rect.hitTest(this)) { _root.hit6 = true; } else { _root.hit6 = false; } }
Instance of Symbol 109 MovieClip in Frame 2
onClipEvent (load) { } onClipEvent (enterFrame) { if (_root.guide_rect.hitTest(this)) { _root.hit7 = true; } else { _root.hit7 = false; } }
Instance of Symbol 111 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 * 20000000) + (_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 80 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 80 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 80 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 80 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 80 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 80 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 80 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 80 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 123 MovieClip in Frame 2
on (release) { if (_root._quality != "HIGH") { _root._quality = "HIGH"; } else { _root._quality = "LOW"; } }
Instance of Symbol 199 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 5 MovieClip [bullet] Frame 1
stop();
Symbol 5 MovieClip [bullet] Frame 2
stop();
Symbol 5 MovieClip [bullet] Frame 3
stop();
Symbol 5 MovieClip [bullet] Frame 4
stop();
Symbol 9 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 12 MovieClip [turret] Frame 10
stop();
Symbol 76 MovieClip [tower] Frame 1
stop();
Symbol 76 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 12 MovieClip [turret] "turret" in Symbol 76 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.01745329; 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 76 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 12 MovieClip [turret] "turret" in Symbol 76 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.01745329; 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 76 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 12 MovieClip [turret] "turret" in Symbol 76 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.01745329; 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 76 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 12 MovieClip [turret] "turret" in Symbol 76 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.01745329; 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 76 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 12 MovieClip [turret] "turret" in Symbol 76 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.01745329; 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 76 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 12 MovieClip [turret] "turret" in Symbol 76 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.01745329; 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 76 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 76 MovieClip [tower] Frame 12
gotoAndStop (8);
Symbol 76 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 12 MovieClip [turret] "turret" in Symbol 76 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.01745329; 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 76 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 12 MovieClip [turret] "turret" in Symbol 76 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.01745329; 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 76 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 12 MovieClip [turret] "turret" in Symbol 76 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.01745329; 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 76 MovieClip [tower] Frame 16
turret.nxtdmg = 405; nxtprice = 160; turret._y = -12.5; stop(); upgradeable = true; nam = "Frost Tower"; turret.range = 180; nextrange = 200;
Instance of Symbol 12 MovieClip [turret] "turret" in Symbol 76 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.01745329; 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 76 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 12 MovieClip [turret] "turret" in Symbol 76 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.01745329; 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 76 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 12 MovieClip [turret] "turret" in Symbol 76 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.01745329; 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 76 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;
Symbol 76 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 76 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";
Symbol 76 MovieClip [tower] Frame 22
gotoAndStop (13);
Symbol 76 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 12 MovieClip [turret] "turret" in Symbol 76 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.01745329; 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 76 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 12 MovieClip [turret] "turret" in Symbol 76 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.01745329; 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 76 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 12 MovieClip [turret] "turret" in Symbol 76 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.01745329; 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 76 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 12 MovieClip [turret] "turret" in Symbol 76 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.01745329; 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 76 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 12 MovieClip [turret] "turret" in Symbol 76 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.01745329; 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 76 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 12 MovieClip [turret] "turret" in Symbol 76 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.01745329; 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 76 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 12 MovieClip [turret] "turret" in Symbol 76 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.01745329; 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 76 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 76 MovieClip [tower] Frame 31
gotoAndStop (18);
Symbol 76 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 12 MovieClip [turret] "turret" in Symbol 76 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.01745329; 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 76 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 12 MovieClip [turret] "turret" in Symbol 76 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.01745329; 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 76 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 12 MovieClip [turret] "turret" in Symbol 76 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.01745329; 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 76 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 75 MovieClip "turret" in Symbol 76 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 82 MovieClip [guide] Frame 1
this._visible = false;
Symbol 88 Button
on (release) { play(); }
Symbol 95 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 95 MovieClip Frame 2
gotoAndPlay (1);
Symbol 127 MovieClip Frame 1
stop();
Symbol 148 Button
on (release) { if (_root.money >= 18) { _root.MODE = 1; _root.SEL = 1; } }
Symbol 151 Button
on (release) { if (_root.money >= 10) { _root.MODE = 1; _root.SEL = 2; } }
Symbol 154 Button
on (release) { if (_root.money >= 15) { _root.MODE = 1; _root.SEL = 3; } }
Symbol 162 Button
on (release) { if (_root.money >= 3000) { _root.MODE = 1; _root.SEL = 4; } }
Symbol 168 Button
on (release) { if (_root.money >= 40) { _root.MODE = 1; _root.SEL = 5; } }
Symbol 174 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 180 Button
on (release) { _root.MODE = 0; _root.SEL = 0; _root.selArrow._visible = false; gotoAndStop (1); }
Symbol 189 MovieClip Frame 1
_root.ex._visible = true; stop();
Symbol 189 MovieClip Frame 2
var upg_price; var nxt_dmg; var upgadable; _root.ex._visible = false;
Symbol 197 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:5
Symbol 2 GraphicUsed by:5
Symbol 3 GraphicUsed by:5
Symbol 4 GraphicUsed by:5
Symbol 5 MovieClip [bullet]Uses:1 2 3 4
Symbol 6 GraphicUsed by:9
Symbol 7 GraphicUsed by:9
Symbol 8 GraphicUsed by:9
Symbol 9 ButtonUses:6 7 8Used by:76
Symbol 10 GraphicUsed by:76
Symbol 11 GraphicUsed by:12
Symbol 12 MovieClip [turret]Uses:11Used by:76
Symbol 13 GraphicUsed by:76
Symbol 14 GraphicUsed by:76
Symbol 15 GraphicUsed by:76
Symbol 16 GraphicUsed by:76
Symbol 17 GraphicUsed by:76
Symbol 18 GraphicUsed by:76
Symbol 19 ShapeTweeningUsed by:24
Symbol 20 GraphicUsed by:24
Symbol 21 ShapeTweeningUsed by:24
Symbol 22 GraphicUsed by:24
Symbol 23 GraphicUsed by:24
Symbol 24 MovieClipUses:19 20 21 22 23Used by:76
Symbol 25 GraphicUsed by:76
Symbol 26 GraphicUsed by:76
Symbol 27 GraphicUsed by:76
Symbol 28 GraphicUsed by:76
Symbol 29 GraphicUsed by:76
Symbol 30 GraphicUsed by:76
Symbol 31 GraphicUsed by:76
Symbol 32 GraphicUsed by:34
Symbol 33 GraphicUsed by:34
Symbol 34 MovieClipUses:32 33Used by:76
Symbol 35 GraphicUsed by:76
Symbol 36 GraphicUsed by:76
Symbol 37 GraphicUsed by:76
Symbol 38 GraphicUsed by:76
Symbol 39 GraphicUsed by:76
Symbol 40 GraphicUsed by:76
Symbol 41 GraphicUsed by:76
Symbol 42 GraphicUsed by:76
Symbol 43 GraphicUsed by:76
Symbol 44 GraphicUsed by:54
Symbol 45 GraphicUsed by:54
Symbol 46 GraphicUsed by:54
Symbol 47 GraphicUsed by:54
Symbol 48 GraphicUsed by:54
Symbol 49 GraphicUsed by:54
Symbol 50 GraphicUsed by:54
Symbol 51 GraphicUsed by:54
Symbol 52 GraphicUsed by:54
Symbol 53 GraphicUsed by:54
Symbol 54 MovieClipUses:44 45 46 47 48 49 50 51 52 53Used by:76
Symbol 55 GraphicUsed by:76
Symbol 56 GraphicUsed by:76
Symbol 57 GraphicUsed by:76
Symbol 58 GraphicUsed by:76
Symbol 59 GraphicUsed by:76
Symbol 60 GraphicUsed by:66
Symbol 61 ShapeTweeningUsed by:66
Symbol 62 GraphicUsed by:66
Symbol 63 ShapeTweeningUsed by:66
Symbol 64 GraphicUsed by:66
Symbol 65 GraphicUsed by:66
Symbol 66 MovieClipUses:60 61 62 63 64 65Used by:76
Symbol 67 GraphicUsed by:75
Symbol 68 GraphicUsed by:75
Symbol 69 GraphicUsed by:75
Symbol 70 GraphicUsed by:75
Symbol 71 GraphicUsed by:75
Symbol 72 GraphicUsed by:75
Symbol 73 GraphicUsed by:75
Symbol 74 GraphicUsed by:75
Symbol 75 MovieClipUses:67 68 69 70 71 72 73 74Used by:76
Symbol 76 MovieClip [tower]Uses:9 10 12 13 14 15 16 17 18 24 25 26 27 28 29 30 31 34 35 36 37 38 39 40 41 42 43 54 55 56 57 58 59 66 75
Symbol 77 GraphicUsed by:78
Symbol 78 MovieClip [arrow]Uses:77
Symbol 79 GraphicUsed by:80
Symbol 80 MovieClip [creature]Uses:79Used by:Timeline
Symbol 81 GraphicUsed by:82
Symbol 82 MovieClip [guide]Uses:81Used by:Timeline
Symbol 83 GraphicUsed by:Timeline
Symbol 84 FontUsed by:85 124 130 131 133 134 136 137 139 142 156 157 163 169 170 175 176 177 183 185 186 188 191 201 203 205
Symbol 85 TextUses:84Used by:Timeline
Symbol 86 GraphicUsed by:88
Symbol 87 GraphicUsed by:88
Symbol 88 ButtonUses:86 87Used by:Timeline
Symbol 89 FontUsed by:90 94 115 128 143 144 145 158 164 165 171 192 198
Symbol 90 TextUses:89Used by:Timeline
Symbol 91 GraphicUsed by:Timeline
Symbol 92 GraphicUsed by:93 95
Symbol 93 MovieClipUses:92Used by:95
Symbol 94 TextUses:89Used by:95
Symbol 95 MovieClipUses:93 92 94Used by:Timeline
Symbol 96 GraphicUsed by:97
Symbol 97 MovieClipUses:96Used by:Timeline
Symbol 98 GraphicUsed by:99
Symbol 99 MovieClipUses:98Used by:Timeline
Symbol 100 GraphicUsed by:101
Symbol 101 MovieClipUses:100Used by:Timeline
Symbol 102 GraphicUsed by:103
Symbol 103 MovieClipUses:102Used by:Timeline
Symbol 104 GraphicUsed by:105
Symbol 105 MovieClipUses:104Used by:Timeline
Symbol 106 GraphicUsed by:107
Symbol 107 MovieClipUses:106Used by:Timeline
Symbol 108 GraphicUsed by:109
Symbol 109 MovieClipUses:108Used by:Timeline
Symbol 110 GraphicUsed by:111
Symbol 111 MovieClipUses:110Used by:Timeline
Symbol 112 GraphicUsed by:113
Symbol 113 MovieClipUses:112Used by:Timeline
Symbol 114 GraphicUsed by:116
Symbol 115 TextUses:89Used by:116
Symbol 116 MovieClipUses:114 115Used by:Timeline
Symbol 117 FontUsed by:118 122 204
Symbol 118 EditableTextUses:117Used by:Timeline
Symbol 119 GraphicUsed by:120
Symbol 120 MovieClipUses:119Used by:Timeline
Symbol 121 GraphicUsed by:123
Symbol 122 TextUses:117Used by:123
Symbol 123 MovieClipUses:121 122Used by:Timeline
Symbol 124 TextUses:84Used by:Timeline
Symbol 125 GraphicUsed by:127
Symbol 126 GraphicUsed by:127
Symbol 127 MovieClipUses:125 126Used by:Timeline
Symbol 128 EditableTextUses:89Used by:Timeline
Symbol 129 GraphicUsed by:Timeline
Symbol 130 EditableTextUses:84Used by:Timeline
Symbol 131 TextUses:84Used by:Timeline
Symbol 132 GraphicUsed by:Timeline
Symbol 133 EditableTextUses:84Used by:Timeline
Symbol 134 TextUses:84Used by:Timeline
Symbol 135 GraphicUsed by:Timeline
Symbol 136 EditableTextUses:84Used by:Timeline
Symbol 137 TextUses:84Used by:Timeline
Symbol 138 GraphicUsed by:189
Symbol 139 TextUses:84Used by:189
Symbol 140 GraphicUsed by:141
Symbol 141 MovieClipUses:140Used by:189
Symbol 142 TextUses:84Used by:189
Symbol 143 TextUses:89Used by:189
Symbol 144 TextUses:89Used by:189
Symbol 145 TextUses:89Used by:189
Symbol 146 GraphicUsed by:148
Symbol 147 GraphicUsed by:148
Symbol 148 ButtonUses:146 147Used by:189
Symbol 149 GraphicUsed by:151
Symbol 150 GraphicUsed by:151
Symbol 151 ButtonUses:149 150Used by:189
Symbol 152 GraphicUsed by:154
Symbol 153 GraphicUsed by:154
Symbol 154 ButtonUses:152 153Used by:189
Symbol 155 GraphicUsed by:189
Symbol 156 TextUses:84Used by:189
Symbol 157 TextUses:84Used by:189
Symbol 158 TextUses:89Used by:189
Symbol 159 GraphicUsed by:189
Symbol 160 GraphicUsed by:162
Symbol 161 GraphicUsed by:162
Symbol 162 ButtonUses:160 161Used by:189
Symbol 163 TextUses:84Used by:189
Symbol 164 TextUses:89Used by:189
Symbol 165 TextUses:89Used by:189
Symbol 166 GraphicUsed by:168
Symbol 167 GraphicUsed by:168
Symbol 168 ButtonUses:166 167Used by:189
Symbol 169 TextUses:84Used by:189
Symbol 170 TextUses:84Used by:189
Symbol 171 EditableTextUses:89Used by:189
Symbol 172 GraphicUsed by:174
Symbol 173 GraphicUsed by:174
Symbol 174 ButtonUses:172 173Used by:189
Symbol 175 TextUses:84Used by:189
Symbol 176 TextUses:84Used by:189
Symbol 177 EditableTextUses:84Used by:189
Symbol 178 GraphicUsed by:180
Symbol 179 GraphicUsed by:180
Symbol 180 ButtonUses:178 179Used by:189
Symbol 181 FontUsed by:182 184 187
Symbol 182 EditableTextUses:181Used by:189
Symbol 183 TextUses:84Used by:189
Symbol 184 EditableTextUses:181Used by:189
Symbol 185 TextUses:84Used by:189
Symbol 186 EditableTextUses:84Used by:189
Symbol 187 EditableTextUses:181Used by:189
Symbol 188 TextUses:84Used by:189
Symbol 189 MovieClipUses:138 139 141 142 143 144 145 148 151 154 155 156 157 158 159 162 163 164 165 168 169 170 171 174 175 176 177 180 182 183 184 185 186 187 188Used by:Timeline
Symbol 190 GraphicUsed by:Timeline
Symbol 191 TextUses:84Used by:Timeline
Symbol 192 EditableTextUses:89Used by:Timeline
Symbol 193 FontUsed by:194
Symbol 194 EditableTextUses:193Used by:Timeline
Symbol 195 GraphicUsed by:197
Symbol 196 GraphicUsed by:197
Symbol 197 ButtonUses:195 196Used by:Timeline
Symbol 198 TextUses:89Used by:199
Symbol 199 MovieClipUses:198Used by:Timeline
Symbol 200 GraphicUsed by:Timeline
Symbol 201 TextUses:84Used by:Timeline
Symbol 202 GraphicUsed by:Timeline
Symbol 203 TextUses:84Used by:Timeline
Symbol 204 EditableTextUses:117Used by:Timeline
Symbol 205 TextUses:84Used by:Timeline

Instance Names

"Start"Frame 1Symbol 88 Button
"p3"Frame 2Symbol 101 MovieClip
"castle"Frame 2Symbol 113 MovieClip
"main"Frame 2Symbol 116 MovieClip
"d1"Frame 2Symbol 82 MovieClip [guide]
"d2"Frame 2Symbol 82 MovieClip [guide]
"d3"Frame 2Symbol 82 MovieClip [guide]
"d4"Frame 2Symbol 82 MovieClip [guide]
"d5"Frame 2Symbol 82 MovieClip [guide]
"d6"Frame 2Symbol 82 MovieClip [guide]
"d7"Frame 2Symbol 82 MovieClip [guide]
"d8"Frame 2Symbol 82 MovieClip [guide]
"mess"Frame 2Symbol 118 EditableText
"c1"Frame 2Symbol 80 MovieClip [creature]
"c2"Frame 2Symbol 80 MovieClip [creature]
"c3"Frame 2Symbol 80 MovieClip [creature]
"c4"Frame 2Symbol 80 MovieClip [creature]
"c5"Frame 2Symbol 80 MovieClip [creature]
"c6"Frame 2Symbol 80 MovieClip [creature]
"c7"Frame 2Symbol 80 MovieClip [creature]
"c8"Frame 2Symbol 80 MovieClip [creature]
"guide_rect"Frame 2Symbol 127 MovieClip
"console"Frame 2Symbol 189 MovieClip
"ex"Frame 2Symbol 197 Button
"score"Frame 3Symbol 204 EditableText
"turret"Symbol 76 MovieClip [tower] Frame 5Symbol 12 MovieClip [turret]
"turret"Symbol 76 MovieClip [tower] Frame 6Symbol 12 MovieClip [turret]
"turret"Symbol 76 MovieClip [tower] Frame 7Symbol 12 MovieClip [turret]
"turret"Symbol 76 MovieClip [tower] Frame 8Symbol 12 MovieClip [turret]
"turret"Symbol 76 MovieClip [tower] Frame 9Symbol 12 MovieClip [turret]
"turret"Symbol 76 MovieClip [tower] Frame 10Symbol 12 MovieClip [turret]
"turret"Symbol 76 MovieClip [tower] Frame 13Symbol 12 MovieClip [turret]
"turret"Symbol 76 MovieClip [tower] Frame 14Symbol 12 MovieClip [turret]
"turret"Symbol 76 MovieClip [tower] Frame 15Symbol 12 MovieClip [turret]
"turret"Symbol 76 MovieClip [tower] Frame 16Symbol 12 MovieClip [turret]
"turret"Symbol 76 MovieClip [tower] Frame 17Symbol 12 MovieClip [turret]
"turret"Symbol 76 MovieClip [tower] Frame 18Symbol 12 MovieClip [turret]
"turret"Symbol 76 MovieClip [tower] Frame 23Symbol 12 MovieClip [turret]
"turret"Symbol 76 MovieClip [tower] Frame 24Symbol 12 MovieClip [turret]
"turret"Symbol 76 MovieClip [tower] Frame 25Symbol 12 MovieClip [turret]
"turret"Symbol 76 MovieClip [tower] Frame 26Symbol 12 MovieClip [turret]
"turret"Symbol 76 MovieClip [tower] Frame 27Symbol 12 MovieClip [turret]
"turret"Symbol 76 MovieClip [tower] Frame 28Symbol 12 MovieClip [turret]
"turret"Symbol 76 MovieClip [tower] Frame 29Symbol 12 MovieClip [turret]
"turret"Symbol 76 MovieClip [tower] Frame 32Symbol 12 MovieClip [turret]
"turret"Symbol 76 MovieClip [tower] Frame 33Symbol 12 MovieClip [turret]
"turret"Symbol 76 MovieClip [tower] Frame 34Symbol 12 MovieClip [turret]
"turret"Symbol 76 MovieClip [tower] Frame 36Symbol 75 MovieClip
"bar"Symbol 95 MovieClip Frame 1Symbol 93 MovieClip
"bar"Symbol 189 MovieClip Frame 1Symbol 141 MovieClip
"fire_btn"Symbol 189 MovieClip Frame 1Symbol 148 Button
"water_btn"Symbol 189 MovieClip Frame 1Symbol 151 Button
"nature_btn"Symbol 189 MovieClip Frame 1Symbol 154 Button
"upgrade_btn"Symbol 189 MovieClip Frame 2Symbol 174 Button
"dmgtxt"Symbol 189 MovieClip Frame 2Symbol 182 EditableText
"namtxt"Symbol 189 MovieClip Frame 2Symbol 184 EditableText
"rngtxt"Symbol 189 MovieClip Frame 2Symbol 187 EditableText

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS1/AS2.
ExportAssets (56)Timeline Frame 1Symbol 5 as "bullet"
ExportAssets (56)Timeline Frame 1Symbol 12 as "turret"
ExportAssets (56)Timeline Frame 1Symbol 76 as "tower"
ExportAssets (56)Timeline Frame 1Symbol 78 as "arrow"
ExportAssets (56)Timeline Frame 1Symbol 80 as "creature"
ExportAssets (56)Timeline Frame 1Symbol 82 as "guide"

Dynamic Text Variables

_root.income*8Symbol 128 EditableText"<p align="left"></p><p align="left"></p>"
_root.livesSymbol 130 EditableText"<p align="left"><font face="Arial" size="24" color="#ff9900" letterSpacing="0.000000" kerning="0"><b>0</b></font></p><p align="left"></p>"
_root.timeremSymbol 133 EditableText"<p align="left"><font face="Arial" size="24" color="#ff9900" letterSpacing="0.000000" kerning="0"><b>0</b></font></p><p align="left"></p>"
_root.waveSymbol 136 EditableText"<p align="left"><font face="Arial" size="24" color="#ff9900" letterSpacing="0.000000" kerning="0"><b>1</b></font></p><p align="left"></p>"
upg_priceSymbol 171 EditableText"<p align="left"><font face="Arial" size="10" color="#ffcc00" letterSpacing="0.000000" kerning="0">30</font></p><p align="left"></p>"
nxt_dmgSymbol 177 EditableText"<p align="left"><font face="Arial" size="10" color="#ffffff" letterSpacing="0.000000" kerning="0"><b>000</b></font></p><p align="left"></p>"
nxt_rngSymbol 186 EditableText"<p align="left"><font face="Arial" size="10" color="#ffffff" letterSpacing="0.000000" kerning="0"><b>000</b></font></p><p align="left"></p>"
_root.moneySymbol 192 EditableText"<p align="left"><font face="Arial" size="12" color="#ff9900" letterSpacing="0.000000" kerning="0">1000000</font></p><p align="left"></p>"
_root.waveSymbol 204 EditableText"<p align="left"></p><p align="left"></p>"




http://swfchan.com/2/7291/info.shtml
Created: 12/6 -2019 20:49:23 Last modified: 12/6 -2019 20:49:23 Server time: 05/05 -2024 03:24:09