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

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

goulds-tower-defense.swf

This is the info page for
Flash #116040

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


Text
GAME
TICKER

An
Original
Gould Game
Created By Jason Thomas
Copyright 2008 Jason Thomas

Enemy
Control

M

MI

MIS

MISS

MISSI

MISSIO

MISSION

MISSION

C

MISSION

CO

MISSION

COM

MISSION

COMP

MISSION

COMPL

MISSION

COMPLE

MISSION

COMPLET

MISSION

COMPLETE

MISSION

COMPLETE

F

MISSION

COMPLETE

FI

MISSION

COMPLETE

FIN

MISSION

COMPLETE

FINA

MISSION

COMPLETE

FINAL

MISSION

COMPLETE

FINAL S

MISSION

COMPLETE

FINAL SC

MISSION

COMPLETE

FINAL SCO

MISSION

COMPLETE

FINAL SCOR

MISSION

COMPLETE

FINAL SCORE

MISSION

COMPLETE

FINAL SCORE:

MISSION

COMPLETE

FINAL SCORE:

Congratulations, you have
vanquished the invaders. The
city and the world are safe.

Credits

Credits

Credits

<p align="center"><font face="_typewriter" size="18" color="#ffffff" letterSpacing="0.000000" kerning="0"><b>Gould&apos;s Tower Defense <sbr />Credits</b></font></p><p align="center"></p><p align="center"><font face="_typewriter" size="16" color="#ffffff" letterSpacing="0.000000" kerning="0"><b>Created, Designed, <sbr />Programmed, and Tested By <sbr /></b>Jason Thomas</font></p><p align="center"></p><p align="center"><font face="_typewriter" size="16" color="#ffffff" letterSpacing="0.000000" kerning="0"><b>Additional Testers</b></font></p><p align="center"><font face="_typewriter" size="16" color="#ffffff" letterSpacing="0.000000" kerning="0">Joe Furry</font></p>

CONTINUE

CONTINUE

CONTINUE

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

GOULD'S TOWER DEFENSE

Send the Next Wave

Send the Next Wave

Send the Next Wave

<p align="left"><font face="Rockwell" size="16" color="#000000" letterSpacing="0.000000" kerning="1"><b>Score: 0</b></font></p>

<p align="left"><font face="Rockwell" size="16" color="#000000" letterSpacing="0.000000" kerning="1"><b>Lives: 20</b></font></p>

<p align="left"><font face="Rockwell" size="16" color="#000000" letterSpacing="0.000000" kerning="1"><b>Resources: &nbsp;0</b></font></p>

<p align="left"><font face="Rockwell" size="16" color="#000000" letterSpacing="0.000000" kerning="1"><b>R&amp;D: 0</b></font></p>

<p align="center"><font face="Rockwell" size="16" color="#000000" letterSpacing="0.000000" kerning="1"><b>LEVEL 0/40</b></font></p>

Std.

Std.

Std.

Adv.

Adv.

Adv.

R&D

R&D

R&D

G

Go

Gou

Goul

Gould

Gould'

Gould's

T

TO

TOW

TOWE

TOWER

TOWER

TOWER D

TOWER DE

TOWER DEF

TOWER DEFE

TOWER DEFEN

TOWER DEFENS

TOWER DEFENSE

Choose A Map

<p align="center"><font face="Rockwell" size="16" color="#999999" letterSpacing="0.000000" kerning="1">Map 1/7</font></p>

START

START

START

More Gould Games

More Gould Games

Cheat Mode

Cheat Mode

Cheat Mode

Standard Towers

Guard Tower

Damage: 8
Range: 80
Speed: Fast
Cost: 15 R
Land/Air

Stone Tower

Damage: 40
Range: 100
Speed: Medium
Cost: 30 R
Land

Alert Tower

Damage: 70
Range: 80
Speed: Medium
Cost: 50 R
Air

Power Tower

Damage: 500
Range: 120
Speed: Fast
Cost: 500 R
Land/Air

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

Advanced Towers

Main Tower

Damage: 1200
Range: 120
Speed: Fast
Cost: 1000 R
Land/Air

Main Tower

Base Tower

Damage: 3500
Range: 200
Speed: Slow
Cost: 1200 R
Land

Light Tower

Damage: 4000
Range: 150
Speed: Fast
Cost: 1500 R
Air

Heavy Tower

Damage: 3500
Range: 210
Speed: Medium
Cost: 1800 R
Land/Air

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

4

4

4

4

4

4

Tower Upgrade

SELL

SELL

SELL

UPGRADE

UPGRADE

UPGRADE

Current Status

Upgrade Status

<p align="left"><font face="Rockwell" size="12" color="#003333" letterSpacing="0.000000" kerning="1"><b>Damage: </b></font></p>

<p align="left"><font face="Rockwell" size="12" color="#003333" letterSpacing="0.000000" kerning="1"><b>Range:</b></font></p>

<p align="left"><font face="Rockwell" size="12" color="#003333" letterSpacing="0.000000" kerning="1"><b>Speed:</b></font></p>

<p align="left"><font face="Rockwell" size="12" color="#003333" letterSpacing="0.000000" kerning="1"><b>Damage:</b></font></p>

<p align="left"><font face="Rockwell" size="12" color="#003333" letterSpacing="0.000000" kerning="1"><b>Range:</b></font></p>

<p align="left"><font face="Rockwell" size="12" color="#003333" letterSpacing="0.000000" kerning="1"><b>Speed:</b></font></p>

<p align="left"><font face="Rockwell" size="12" color="#003333" letterSpacing="0.000000" kerning="1"><b>Upgrade Cost:</b></font></p>

<p align="left"><font face="Rockwell" size="12" color="#003333" letterSpacing="0.000000" kerning="1"><b>Level: </b></font></p>

<p align="left"><font face="Rockwell" size="12" color="#003333" letterSpacing="0.000000" kerning="1"><b>Level: </b></font></p>

<p align="left"><font face="Rockwell" size="12" color="#003333" letterSpacing="0.000000" kerning="1"><b>Sell Price: </b></font></p>

X

GEN.GOULD

4

Research and Development Center

Research

Research

Research

R&D: 10

Increase Tower
Upgrade Dam. 5%

Increase Tower
Upgrade Range 5%

R&D: 10

Increase Tower
Upgrade Dam. 10%

Increase Tower
Upgrade Range 10%

R&D: 18

4

4

4

4

4

4

4

4

4

M

MI

MIS

MISS

MISSI

MISSIO

MISSION

MISSION
F

MISSION
FA

MISSION
FAI

MISSION
FAIL

MISSION
FAILE

MISSION
FAILED

MISSION
FAILED

F

MISSION
FAILED

FI

MISSION
FAILED

FIN

MISSION
FAILED

FINA

MISSION
FAILED

FINAL

MISSION
FAILED

FINAL S

MISSION
FAILED

FINAL SC

MISSION
FAILED

FINAL SCO

MISSION
FAILED

FINAL SCOR

MISSION
FAILED

FINAL SCORE

MISSION
FAILED

FINAL SCORE:

MISSION
FAILED

FINAL SCORE:

The aliens have destroyed the
city.

Version 2.0

SPACE: View enemy life/tower upgrade level        CTRL: toggle grid

Enemy Life

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

SET

SET

ActionScript [AS1/AS2]

Frame 1
var gamestart = false; var sendwave = false; var land = false; var air = false; var deadboss = false; var killeden = 0; var gameover = false; var displayup = false; localInfo = SharedObject.getLocal("GTDUG"); var ugenlife = 0; var ugmode = false; var clevel = 0; var score = 0; var resources = 0; var lives = 20; var rad = 0; var dambonus = 0; var rangebonus = 0; var showupgrade = false; var upgradetower = false; var selltower = false; var ctlvl; var ctdam; var ctr; var cts; var ctsp; var ctulvl; var ctudam; var ctur; var ctus; var ctuc; _root.grid._visible = false; var GTnum = 1; var gtamnum = 1; var gtx = 0; var gty = 0; var gtunit = 0; var gtrange = 0; var gtdamage = 0; var gten = 0; var gtd = new Array(); gtd[1] = 22; gtd[2] = 55; gtd[3] = 150; gtd[4] = 510; var gtc = new Array(); gtc[1] = 26; gtc[2] = 67; gtc[3] = 80; gtc[4] = 140; var stamnum = 1; var stx = 0; var sty = 0; var stunit = 0; var strange = 0; var stdamage = 0; var sten; var std = new Array(); std[1] = 110; std[2] = 303; std[3] = 833; std[4] = 2291; var stc = new Array(); stc[1] = 63; stc[2] = 132; stc[3] = 277; stc[4] = 582; var atamnum = 1; var atx = 0; var aty = 0; var atunit = 0; var atrange = 0; var atdamage = 0; var aten; var atd = new Array(); atd[1] = 193; atd[2] = 531; atd[3] = 1460; atd[4] = 4015; var atc = new Array(); atc[1] = 105; atc[2] = 221; atc[3] = 464; atc[4] = 974; var ptamnum = 1; var ptx = 0; var pty = 0; var ptunit = 0; var ptrange = 0; var ptdamage = 0; var pten; var ptd = new Array(); ptd[1] = 1375; ptd[2] = 3438; ptd[3] = 7510; ptd[4] = 21000; var ptc = new Array(); ptc[1] = 550; ptc[2] = 1050; ptc[3] = 2000; ptc[4] = 3000; var mtamnum = 1; var mtx = 0; var mty = 0; var mtunit = 0; var mtrange = 0; var mtdamage = 0; var mten; var mtd = new Array(); mtd[1] = 3300; mtd[2] = 9075; mtd[3] = 19058; mtd[4] = 52408; var mtc = new Array(); mtc[1] = 1100; mtc[2] = 1800; mtc[3] = 2200; mtc[4] = 2800; var btamnum = 1; var btx = 0; var bty = 0; var btunit = 0; var btrange = 0; var btdamage = 0; var bten; var btd = new Array(); btd[1] = 7000; btd[2] = 14000; btd[3] = 28000; btd[4] = 56000; var btc = new Array(); btc[1] = 1000; btc[2] = 1200; btc[3] = 1600; btc[4] = 2000; var ltamnum = 1; var ltx = 0; var lty = 0; var ltunit = 0; var ltrange = 0; var ltdamage = 0; var lten; var ltd = new Array(); ltd[1] = 8000; ltd[2] = 16000; ltd[3] = 32000; ltd[4] = 80000 /* 0x013880 */; var ltc = new Array(); ltc[1] = 1500; ltc[2] = 1700; ltc[3] = 2000; ltc[4] = 2300; var htamnum = 1; var htx = 0; var hty = 0; var htunit = 0; var htrange = 0; var htdamage = 0; var hten; var htd = new Array(); htd[1] = 9625; htd[2] = 26469; htd[3] = 55584; htd[4] = 152856 /* 0x025518 */; var htc = new Array(); htc[1] = 1500; htc[2] = 2100; htc[3] = 2600; htc[4] = 3300; var enbarnum = 0; var deaden = 0; var cenlife = new Array(20); var cenlifemax = 0; var enreward = 0; var rinum = 1; var ctower; var cprice; var crange; var dragging = false; var dropok = false; var mapp = 1; var cmap = new Array(); var map1 = new Array("1", "0", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "0", "0", "0", "1", "1", "0", "1", "1", "0", "1", "1", "1", "1", "1", "1", "1", "1", "0", "1", "1", "0", "1", "1", "1", "1", "1", "1", "1", "1", "0", "1", "1", "0", "1", "1", "1", "1", "1", "1", "1", "1", "0", "0", "0", "0", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "0", "1"); var map2 = new Array("1", "0", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "0", "1", "1", "0", "0", "0", "1", "1", "1", "1", "1", "1", "0", "1", "1", "0", "1", "0", "0", "0", "0", "0", "1", "1", "0", "0", "0", "0", "1", "1", "1", "1", "1", "0", "1", "1", "0", "1", "1", "1", "1", "1", "1", "1", "1", "0", "1", "1", "0", "0", "0", "0", "1", "1", "0", "0", "0", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "0", "0", "0", "0", "0", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "0", "0", "0", "0", "1", "0", "1", "1", "0", "1", "1", "1", "1", "1", "1", "0", "0", "0", "0", "0", "0", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "0", "1"); var map3 = new Array("1", "0", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "0", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "0", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "0", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "0", "1"); var map4 = new Array("1", "0", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "0", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "0", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "1", "1", "0", "1", "1", "1", "1", "1", "1", "1", "1", "0", "1", "1", "0", "0", "0", "0", "1", "1", "0", "0", "0", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "0", "0", "0", "0", "1", "0", "1", "1", "0", "1", "1", "1", "1", "1", "1", "0", "0", "0", "0", "0", "0", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "0", "1"); var map5 = new Array("1", "0", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "1", "1", "0", "1", "1", "1", "1", "1", "1", "1", "1", "0", "1", "1", "0", "1", "1", "1", "1", "1", "1", "1", "1", "0", "1", "1", "0", "1", "1", "1", "1", "1", "1", "1", "1", "0", "1", "1", "0", "1", "1", "1", "1", "1", "1", "1", "1", "0", "1", "1", "0", "1", "1", "1", "1", "1", "1", "1", "1", "0", "1", "1", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "0", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "0", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "0", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "0", "1"); var map6 = new Array("1", "0", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "0", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "0", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "1", "1", "0", "1", "1", "1", "1", "1", "1", "1", "1", "0", "1", "1", "0", "0", "0", "0", "1", "1", "1", "1", "1", "0", "1", "1", "1", "1", "1", "0", "1", "1", "1", "1", "1", "0", "1", "1", "1", "1", "1", "0", "1", "1", "1", "1", "1", "0", "1", "1", "1", "1", "1", "0", "1", "1", "1", "1", "1", "0", "1", "1", "1", "1", "1", "0", "1", "1", "1", "1", "1", "0", "1", "1", "1", "1", "1", "0", "0", "0", "0", "0", "0", "0", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "0", "1"); var map7 = new Array("1", "0", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "1", "1", "0", "1", "0", "1", "0", "1", "0", "1", "1", "0", "1", "1", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "1", "1", "0", "1", "0", "1", "0", "1", "0", "1", "1", "0", "1", "1", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "1", "1", "0", "1", "0", "1", "0", "1", "0", "1", "1", "0", "1", "1", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "1", "1", "0", "1", "0", "1", "0", "1", "0", "1", "1", "0", "1", "1", "0", "1", "0", "1", "0", "1", "0", "1", "1", "0", "1", "1", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "0", "1"); dist = function (x1, y1, x2, y2) { xr = Math.abs(x1 - x2); yr = Math.abs(y1 - y2); h = Math.sqrt((xr * xr) + (yr * yr)); return(h); }; var kenum = 1; killexplode = function (x1, y1) { duplicateMovieClip (killexplosion, "ke" + kenum, 2000 + kenum); _root["ke" + kenum]._x = x1; _root["ke" + kenum]._y = y1; _root["ke" + kenum].gotoAndPlay(1); kenum = kenum + 1; if (kenum > 20) { kenum = 1; } }; var henum = 1; hitexplode = function (x1, y1) { duplicateMovieClip (hitexplosion, "he" + henum, 2100 + henum); _root["he" + henum]._x = x1; _root["he" + henum]._y = y1; _root["he" + henum].gotoAndPlay(1); henum = henum + 1; if (henum > 20) { henum = 1; } }; boss1.gotoAndStop(1); var artillery = new Sound(); artillery.attachSound("gtfire2"); artillery.setVolume(50); artfire = function () { artillery.start(); }; var mortar = new Sound(); mortar.attachSound("stfire"); mortar.setVolume(50); mortarfire = function () { mortar.start(); }; var missile = new Sound(); missile.attachSound("ptfire"); missile.setVolume(50); missfire = function () { missile.start(); }; var intro = new Sound(); intro.attachSound("peaceful"); intro.setVolume(50); playintro = function () { intro.start(); }; var attack = new Sound(); attack.attachSound("action1"); attack.setVolume(80); playattack = function () { attack.start(); };
Instance of Symbol 30 MovieClip in Frame 1
onClipEvent (enterFrame) { _root.leveltxt.text = ("LEVEL " + String(_root.clevel)) + "/40"; _root.scoretxt.text = "Score: " + String(_root.score); _root.lifetxt.text = "Lives: " + String(_root.lives); _root.resourcetxt.text = "Resources: " + String(_root.resources); _root.rdtxt.text = "R&D: " + String(_root.rad); if (_root.dragging == true) { _root.rangeindi._x = _root.ctower._x; _root.rangeindi._y = _root.ctower._y; } if (((_root.gameover == false) and (_root.gamestart == true)) and (_root.lives <= 0)) { _root.stdsheet._x = 900; _root.advsheet._x = 900; _root.radsheet._x = 900; _root.sendwave = false; _root.gameoversheet.gotoAndPlay(1); _root.gameoversheet._x = 500; _root.gameoversheet._y = 155; _root.gameover = true; } } onClipEvent (mouseDown) { if (_root.dragging == true) { if (_root.ctower._x > 490) { Mouse.show(); stopDrag(); _root.ctower._y = 900; _root.dragging = false; _root.rangeindi._y = 900; } else if ((((_root.ctower._x < 490) and (_root.ctower._x > 10)) and (_root.ctower._y > 10)) and (_root.ctower._y < 490)) { h = Math.round(((_root.ctower._x - 30) / 40) + 1); v = Math.round(((_root.ctower._y - 30) / 40) + 1); s = ((h + (v * 12)) - 12) - 1; if (_root.cmap[s] == 1) { _root.cmap[s] = 2; Mouse.show(); stopDrag(); _root.resources = _root.resources - _root.cprice; _root.rangeindi._y = 900; _root.ctower._x = -10 + (40 * h); _root.ctower._y = -10 + (40 * v); duplicateMovieClip (_root.ctower, "GT" + _root.GTnum, 30 + _root.GTnum); _root.GTnum = _root.GTnum + 1; _root.ctower._y = 900; _root.dragging = false; } } } } onClipEvent (keyDown) { if (Key.isDown(17)) { if (_root.grid._visible == false) { _root.grid._visible = true; } else { _root.grid._visible = false; } } if (Key.isDown(32)) { _root.displayup = true; } } onClipEvent (keyUp) { if (Key.isDown(32) != true) { _root.displayup = false; } }
Instance of Symbol 39 MovieClip in Frame 1
onClipEvent (load) { ms = 0; sec = 0; ennum = 1; } onClipEvent (enterFrame) { ms = ms + 1; if (ms >= 15) { ms = 0; sec = sec + 1; } if (_root.sendwave == false) { ennum = 1; } if ((_root.sendwave == true) and (ennum <= 20)) { if (ms == 0) { if (_root.clevel == 1) { _root.air = false; _root.land = true; _root.informer.text = " Alien Troop [LAND]: 20HP 2R\n NEXT WAVE: [LAND]: 60HP 2R"; _root.en1._x = 70; _root.en1._y = -20; duplicateMovieClip (_root.en1, "enem" + ennum, 300 + ennum); _root.en1._y = -50; if (_root.ugmode == true) { _root.cenlife[ennum] = _root.ugenlife; _root.cenmaxlife = _root.ugenlife; } else { _root.cenlife[ennum] = 20; _root.cenmaxlife = 20; } _root.cenreward = 2; _root.enbarnum = ennum; duplicateMovieClip (_root.enbar, "enbar" + ennum, 1000 + ennum); } else if (_root.clevel == 2) { _root.air = false; _root.land = true; _root.informer.text = "Alien Troop II [LAND]: 60HP 2R\nNEXT WAVE: [LAND] 100HP 4R"; _root.en1._x = 70; _root.en1._y = -20; duplicateMovieClip (_root.en1, "enem" + ennum, 300 + ennum); _root.en1._y = -50; if (_root.ugmode == true) { _root.cenlife[ennum] = _root.ugenlife; _root.cenmaxlife = _root.ugenlife; } else { _root.cenlife[ennum] = 60; _root.cenmaxlife = 60; } _root.cenreward = 2; _root.enbarnum = ennum; duplicateMovieClip (_root.enbar, "enbar" + ennum, 1000 + ennum); } else if (_root.clevel == 3) { _root.air = false; _root.land = true; _root.informer.text = " Alien Troop III [LAND]: 100HP 4R\nNEXT WAVE: [LAND]: 130HP 4R"; _root.en1._x = 70; _root.en1._y = -20; duplicateMovieClip (_root.en1, "enem" + ennum, 300 + ennum); _root.en1._y = -50; if (_root.ugmode == true) { _root.cenlife[ennum] = _root.ugenlife; _root.cenmaxlife = _root.ugenlife; } else { _root.cenlife[ennum] = 100; _root.cenmaxlife = 100; } _root.cenreward = 4; _root.enbarnum = ennum; duplicateMovieClip (_root.enbar, "enbar" + ennum, 1000 + ennum); } else if (_root.clevel == 4) { _root.air = false; _root.land = true; _root.informer.text = "Alien Troop IV [LAND]: 130HP 4R\nNEXT LEVEL: [AIR]: 102HP 6R"; _root.en1._x = 70; _root.en1._y = -20; duplicateMovieClip (_root.en1, "enem" + ennum, 300 + ennum); _root.en1._y = -50; if (_root.ugmode == true) { _root.cenlife[ennum] = _root.ugenlife; _root.cenmaxlife = _root.ugenlife; } else { _root.cenlife[ennum] = 130; _root.cenmaxlife = 130; } _root.cenreward = 4; _root.enbarnum = ennum; duplicateMovieClip (_root.enbar, "enbar" + ennum, 1000 + ennum); } else if (_root.clevel == 5) { _root.land = false; _root.air = true; _root.informer.text = "Alien Scout [AIR]: 102HP 6R\nNEXT WAVE: [LAND]: 153HP 6R"; _root.en2._x = 70; _root.en2._y = -20; duplicateMovieClip (_root.en2, "enem" + ennum, 300 + ennum); _root.en2._y = -50; if (_root.ugmode == true) { _root.cenlife[ennum] = _root.ugenlife; _root.cenmaxlife = _root.ugenlife; } else { _root.cenlife[ennum] = 102; _root.cenmaxlife = 102; } _root.cenreward = 6; _root.enbarnum = ennum; duplicateMovieClip (_root.enbar, "enbar" + ennum, 1000 + ennum); } else if (_root.clevel == 6) { _root.land = true; _root.air = false; _root.informer.text = "Alien Speck [LAND]: 153HP 6R\nNEXT WAVE: [LAND]: 230HP 8R"; _root.en3._x = 70; _root.en3._y = -20; duplicateMovieClip (_root.en3, "enem" + ennum, 300 + ennum); _root.en3._y = -50; if (_root.ugmode == true) { _root.cenlife[ennum] = _root.ugenlife; _root.cenmaxlife = _root.ugenlife; } else { _root.cenlife[ennum] = 153; _root.cenmaxlife = 153; } _root.cenreward = 6; _root.enbarnum = ennum; duplicateMovieClip (_root.enbar, "enbar" + ennum, 1000 + ennum); } else if (_root.clevel == 7) { _root.land = true; _root.air = false; _root.informer.text = "Alien Speck II [LAND]: 230HP 8R\nNEXT WAVE: [LAND]: 345HP 8R"; _root.en3._x = 70; _root.en3._y = -20; duplicateMovieClip (_root.en3, "enem" + ennum, 300 + ennum); _root.en3._y = -50; if (_root.ugmode == true) { _root.cenlife[ennum] = _root.ugenlife; _root.cenmaxlife = _root.ugenlife; } else { _root.cenlife[ennum] = 230; _root.cenmaxlife = 230; } _root.cenreward = 8; _root.enbarnum = ennum; duplicateMovieClip (_root.enbar, "enbar" + ennum, 1000 + ennum); } else if (_root.clevel == 8) { _root.land = true; _root.air = false; _root.informer.text = "Alien Speck III [LAND]: 345HP 8R\nNEXT WAVE: [LAND]: 468HP 10R"; _root.en3._x = 70; _root.en3._y = -20; duplicateMovieClip (_root.en3, "enem" + ennum, 300 + ennum); _root.en3._y = -50; if (_root.ugmode == true) { _root.cenlife[ennum] = _root.ugenlife; _root.cenmaxlife = _root.ugenlife; } else { _root.cenlife[ennum] = 345; _root.cenmaxlife = 345; } _root.cenreward = 8; _root.enbarnum = ennum; duplicateMovieClip (_root.enbar, "enbar" + ennum, 1000 + ennum); } else if (_root.clevel == 9) { _root.land = true; _root.air = false; _root.informer.text = "Alien Speck IV [LAND]: 468HP 10R\nNEXT WAVE: [AIR]: 585HP 10R"; _root.en3._x = 70; _root.en3._y = -20; duplicateMovieClip (_root.en3, "enem" + ennum, 300 + ennum); _root.en3._y = -50; if (_root.ugmode == true) { _root.cenlife[ennum] = _root.ugenlife; _root.cenmaxlife = _root.ugenlife; } else { _root.cenlife[ennum] = 468; _root.cenmaxlife = 468; } _root.cenreward = 10; _root.enbarnum = ennum; duplicateMovieClip (_root.enbar, "enbar" + ennum, 1000 + ennum); } else if (_root.clevel == 10) { _root.land = false; _root.air = true; _root.informer.text = "Alien Scout II [AIR]: 585HP 10R\nNEXT WAVE: [LAND]: 731HP 12R"; _root.en4._x = 70; _root.en4._y = -20; duplicateMovieClip (_root.en4, "enem" + ennum, 300 + ennum); _root.en4._y = -50; if (_root.ugmode == true) { _root.cenlife[ennum] = _root.ugenlife; _root.cenmaxlife = _root.ugenlife; } else { _root.cenlife[ennum] = 585; _root.cenmaxlife = 585; } _root.cenreward = 10; _root.enbarnum = ennum; duplicateMovieClip (_root.enbar, "enbar" + ennum, 1000 + ennum); } else if (_root.clevel == 11) { _root.land = true; _root.air = false; _root.informer.text = "Alien Mirth [LAND]: 731HP 12R\nNEXT WAVE: [LAND]: 914HP 12R"; _root.en5._x = 70; _root.en5._y = -20; duplicateMovieClip (_root.en5, "enem" + ennum, 300 + ennum); _root.en5._y = -50; if (_root.ugmode == true) { _root.cenlife[ennum] = _root.ugenlife; _root.cenmaxlife = _root.ugenlife; } else { _root.cenlife[ennum] = 731; _root.cenmaxlife = 731; } _root.cenreward = 12; _root.enbarnum = ennum; duplicateMovieClip (_root.enbar, "enbar" + ennum, 1000 + ennum); } else if (_root.clevel == 12) { _root.land = true; _root.air = false; _root.informer.text = "Alien Mirth II [LAND]: 914HP 12R\nNEXT WAVE: [LAND]: 1143HP 14R"; _root.en5._x = 70; _root.en5._y = -20; duplicateMovieClip (_root.en5, "enem" + ennum, 300 + ennum); _root.en5._y = -50; if (_root.ugmode == true) { _root.cenlife[ennum] = _root.ugenlife; _root.cenmaxlife = _root.ugenlife; } else { _root.cenlife[ennum] = 914; _root.cenmaxlife = 914; } _root.cenreward = 12; _root.enbarnum = ennum; duplicateMovieClip (_root.enbar, "enbar" + ennum, 1000 + ennum); } else if (_root.clevel == 13) { _root.land = true; _root.air = false; _root.informer.text = "Alien Mirth III [LAND]: 1143HP 14R\nNEXT WAVE: [LAND]: 1428HP 14R"; _root.en5._x = 70; _root.en5._y = -20; duplicateMovieClip (_root.en5, "enem" + ennum, 300 + ennum); _root.en5._y = -50; if (_root.ugmode == true) { _root.cenlife[ennum] = _root.ugenlife; _root.cenmaxlife = _root.ugenlife; } else { _root.cenlife[ennum] = 1143; _root.cenmaxlife = 1143; } _root.cenreward = 14; _root.enbarnum = ennum; duplicateMovieClip (_root.enbar, "enbar" + ennum, 1000 + ennum); } else if (_root.clevel == 14) { _root.land = true; _root.air = false; _root.informer.text = "Alien Mirth IV [LAND]: 1428HP 14R\nNEXT WAVE: [AIR]: 1520HP 16R"; _root.en5._x = 70; _root.en5._y = -20; duplicateMovieClip (_root.en5, "enem" + ennum, 300 + ennum); _root.en5._y = -50; if (_root.ugmode == true) { _root.cenlife[ennum] = _root.ugenlife; _root.cenmaxlife = _root.ugenlife; } else { _root.cenlife[ennum] = 1428; _root.cenmaxlife = 1428; } _root.cenreward = 14; _root.enbarnum = ennum; duplicateMovieClip (_root.enbar, "enbar" + ennum, 1000 + ennum); } else if (_root.clevel == 15) { _root.land = false; _root.air = true; _root.informer.text = "Alien Scout III [AIR]: 1520HP 16R\nNEXT WAVE: [LAND]: 1785HP 16R"; _root.en6._x = 70; _root.en6._y = -20; duplicateMovieClip (_root.en6, "enem" + ennum, 300 + ennum); _root.en6._y = -50; if (_root.ugmode == true) { _root.cenlife[ennum] = _root.ugenlife; _root.cenmaxlife = _root.ugenlife; } else { _root.cenlife[ennum] = 1520; _root.cenmaxlife = 1520; } _root.cenreward = 16; _root.enbarnum = ennum; duplicateMovieClip (_root.enbar, "enbar" + ennum, 1000 + ennum); } else if (_root.clevel == 16) { _root.land = true; _root.air = false; _root.informer.text = "Alien Leech [LAND]: 1785HP 16R\nNEXT WAVE: [LAND]: 2231HP 18R"; _root.en7._x = 70; _root.en7._y = -20; duplicateMovieClip (_root.en7, "enem" + ennum, 300 + ennum); _root.en7._y = -50; if (_root.ugmode == true) { _root.cenlife[ennum] = _root.ugenlife; _root.cenmaxlife = _root.ugenlife; } else { _root.cenlife[ennum] = 1785; _root.cenmaxlife = 1785; } _root.cenreward = 16; _root.enbarnum = ennum; duplicateMovieClip (_root.enbar, "enbar" + ennum, 1000 + ennum); } else if (_root.clevel == 17) { _root.land = true; _root.air = false; _root.informer.text = "Alien Leech II [LAND]: 2231HP 18R\nNEXT WAVE: [LAND]: 2789HP 18R"; _root.en7._x = 70; _root.en7._y = -20; duplicateMovieClip (_root.en7, "enem" + ennum, 300 + ennum); _root.en7._y = -50; if (_root.ugmode == true) { _root.cenlife[ennum] = _root.ugenlife; _root.cenmaxlife = _root.ugenlife; } else { _root.cenlife[ennum] = 2231; _root.cenmaxlife = 2231; } _root.cenreward = 18; _root.enbarnum = ennum; duplicateMovieClip (_root.enbar, "enbar" + ennum, 1000 + ennum); } else if (_root.clevel == 18) { _root.land = true; _root.air = false; _root.informer.text = "Alien Leech III [LAND]: 2789HP 14R\nNEXT WAVE: [LAND]: 3486HP 20R"; _root.en7._x = 70; _root.en7._y = -20; duplicateMovieClip (_root.en7, "enem" + ennum, 300 + ennum); _root.en7._y = -50; if (_root.ugmode == true) { _root.cenlife[ennum] = _root.ugenlife; _root.cenmaxlife = _root.ugenlife; } else { _root.cenlife[ennum] = 2789; _root.cenmaxlife = 2789; } _root.cenreward = 18; _root.enbarnum = ennum; duplicateMovieClip (_root.enbar, "enbar" + ennum, 1000 + ennum); } else if (_root.clevel == 19) { _root.land = true; _root.air = false; _root.informer.text = "Alien Leech IV [LAND]: 3486HP 14R\nNEXT WAVE: [BOSS]: 60,000HP 700R"; _root.en7._x = 70; _root.en7._y = -20; duplicateMovieClip (_root.en7, "enem" + ennum, 300 + ennum); _root.en7._y = -50; if (_root.ugmode == true) { _root.cenlife[ennum] = _root.ugenlife; _root.cenmaxlife = _root.ugenlife; } else { _root.cenlife[ennum] = 3486; _root.cenmaxlife = 3486; } _root.cenreward = 20; _root.enbarnum = ennum; duplicateMovieClip (_root.enbar, "enbar" + ennum, 1000 + ennum); } else if (_root.clevel == 20) { _root.boss1.gotoAndPlay(1); _root.land = true; _root.air = true; _root.informer.text = "Alien Destroyer [BOSS]: 60,000HP 700R\nNEXT WAVE: [LAND]: 4358HP 32R"; _root.boss1._x = 70; _root.boss1._y = -20; duplicateMovieClip (_root.boss1, "enem1", 301); _root.boss1._y = -50; if (_root.ugmode == true) { _root.cenlife[ennum] = _root.ugenlife; _root.cenmaxlife = _root.ugenlife; } else { _root.cenlife[1] = 60000; _root.cenmaxlife = 60000; } _root.cenreward = 700; _root.deaden = 19; _root.enbarnum = ennum; duplicateMovieClip (_root.enbar, "enbar" + ennum, 1000 + ennum); ennum = 30; } else if (_root.clevel == 21) { _root.land = true; _root.air = false; _root.informer.text = "Alien Globule [LAND]: 4358HP 32R\nNEXT WAVE: [LAND]: 5012HP 34R"; _root.en8._x = 70; _root.en8._y = -20; duplicateMovieClip (_root.en8, "enem" + ennum, 300 + ennum); _root.en8._y = -50; if (_root.ugmode == true) { _root.cenlife[ennum] = _root.ugenlife; _root.cenmaxlife = _root.ugenlife; } else { _root.cenlife[ennum] = 4358; _root.cenmaxlife = 4358; } _root.cenreward = 32; _root.enbarnum = ennum; duplicateMovieClip (_root.enbar, "enbar" + ennum, 1000 + ennum); } else if (_root.clevel == 22) { _root.land = true; _root.air = false; _root.informer.text = "Alien Globule II [LAND]: 5012HP 34R\nNEXT WAVE: [LAND]: 5764HP 36R"; _root.en8._x = 70; _root.en8._y = -20; duplicateMovieClip (_root.en8, "enem" + ennum, 300 + ennum); _root.en8._y = -50; if (_root.ugmode == true) { _root.cenlife[ennum] = _root.ugenlife; _root.cenmaxlife = _root.ugenlife; } else { _root.cenlife[ennum] = 5012; _root.cenmaxlife = 5012; } _root.cenreward = 34; _root.enbarnum = ennum; duplicateMovieClip (_root.enbar, "enbar" + ennum, 1000 + ennum); } else if (_root.clevel == 23) { _root.land = true; _root.air = false; _root.informer.text = "Alien Globule III [LAND]: 5764HP 36R\nNEXT WAVE: [LAND]: 6629HP 38R"; _root.en8._x = 70; _root.en8._y = -20; duplicateMovieClip (_root.en8, "enem" + ennum, 300 + ennum); _root.en8._y = -50; if (_root.ugmode == true) { _root.cenlife[ennum] = _root.ugenlife; _root.cenmaxlife = _root.ugenlife; } else { _root.cenlife[ennum] = 5764; _root.cenmaxlife = 5764; } _root.cenreward = 36; _root.enbarnum = ennum; duplicateMovieClip (_root.enbar, "enbar" + ennum, 1000 + ennum); } else if (_root.clevel == 24) { _root.land = true; _root.air = false; _root.informer.text = "Alien Globule IV [LAND]: 6629HP 38R\nNEXT WAVE: [AIR]: 7623HP 40R"; _root.en8._x = 70; _root.en8._y = -20; duplicateMovieClip (_root.en8, "enem" + ennum, 300 + ennum); _root.en8._y = -50; if (_root.ugmode == true) { _root.cenlife[ennum] = _root.ugenlife; _root.cenmaxlife = _root.ugenlife; } else { _root.cenlife[ennum] = 6629; _root.cenmaxlife = 6629; } _root.cenreward = 38; _root.enbarnum = ennum; duplicateMovieClip (_root.enbar, "enbar" + ennum, 1000 + ennum); } else if (_root.clevel == 25) { _root.land = false; _root.air = true; _root.informer.text = "Alien Seeker [AIR]: 7623HP 40R\nNEXT WAVE: [LAND]: 8766HP 42R"; _root.en9._x = 70; _root.en9._y = -20; duplicateMovieClip (_root.en9, "enem" + ennum, 300 + ennum); _root.en9._y = -50; if (_root.ugmode == true) { _root.cenlife[ennum] = _root.ugenlife; _root.cenmaxlife = _root.ugenlife; } else { _root.cenlife[ennum] = 7623; _root.cenmaxlife = 7623; } _root.cenreward = 40; _root.enbarnum = ennum; duplicateMovieClip (_root.enbar, "enbar" + ennum, 1000 + ennum); } else if (_root.clevel == 26) { _root.land = true; _root.air = false; _root.informer.text = "Alien Jelly [LAND]: 8766HP 42R\nNEXT WAVE: [LAND]: 10,081HP 44R"; _root.en10._x = 70; _root.en10._y = -20; duplicateMovieClip (_root.en10, "enem" + ennum, 300 + ennum); _root.en10._y = -50; if (_root.ugmode == true) { _root.cenlife[ennum] = _root.ugenlife; _root.cenmaxlife = _root.ugenlife; } else { _root.cenlife[ennum] = 8766; _root.cenmaxlife = 8766; } _root.cenreward = 42; _root.enbarnum = ennum; duplicateMovieClip (_root.enbar, "enbar" + ennum, 1000 + ennum); } else if (_root.clevel == 27) { _root.land = true; _root.air = false; _root.informer.text = "Alien Jelly II [LAND]: 10,081HP 44R\nNEXT WAVE: [LAND]: 11,593HP 46R"; _root.en10._x = 70; _root.en10._y = -20; duplicateMovieClip (_root.en10, "enem" + ennum, 300 + ennum); _root.en10._y = -50; if (_root.ugmode == true) { _root.cenlife[ennum] = _root.ugenlife; _root.cenmaxlife = _root.ugenlife; } else { _root.cenlife[ennum] = 10081; _root.cenmaxlife = 10081; } _root.cenreward = 44; _root.enbarnum = ennum; duplicateMovieClip (_root.enbar, "enbar" + ennum, 1000 + ennum); } else if (_root.clevel == 28) { _root.land = true; _root.air = false; _root.informer.text = "Alien Jelly III [LAND]: 11,593HP 46R\nNEXT WAVE: [LAND]: 13,332HP 48R"; _root.en10._x = 70; _root.en10._y = -20; duplicateMovieClip (_root.en10, "enem" + ennum, 300 + ennum); _root.en10._y = -50; if (_root.ugmode == true) { _root.cenlife[ennum] = _root.ugenlife; _root.cenmaxlife = _root.ugenlife; } else { _root.cenlife[ennum] = 11593; _root.cenmaxlife = 11593; } _root.cenreward = 46; _root.enbarnum = ennum; duplicateMovieClip (_root.enbar, "enbar" + ennum, 1000 + ennum); } else if (_root.clevel == 29) { _root.land = true; _root.air = false; _root.informer.text = "Alien Jelly IV [LAND]: 13,332HP 48R\nNEXT WAVE: [AIR]: 15,332HP 50R"; _root.en10._x = 70; _root.en10._y = -20; duplicateMovieClip (_root.en10, "enem" + ennum, 300 + ennum); _root.en10._y = -50; if (_root.ugmode == true) { _root.cenlife[ennum] = _root.ugenlife; _root.cenmaxlife = _root.ugenlife; } else { _root.cenlife[ennum] = 13332; _root.cenmaxlife = 13332; } _root.cenreward = 48; _root.enbarnum = ennum; duplicateMovieClip (_root.enbar, "enbar" + ennum, 1000 + ennum); } else if (_root.clevel == 30) { _root.land = false; _root.air = true; _root.informer.text = "Alien Seeker II [AIR]: 15,332HP 50R\nNEXT WAVE: [LAND]: 18,398HP 60R"; _root.en11._x = 70; _root.en11._y = -20; duplicateMovieClip (_root.en11, "enem" + ennum, 300 + ennum); _root.en11._y = -50; if (_root.ugmode == true) { _root.cenlife[ennum] = _root.ugenlife; _root.cenmaxlife = _root.ugenlife; } else { _root.cenlife[ennum] = 15332; _root.cenmaxlife = 15332; } _root.cenreward = 50; _root.enbarnum = ennum; duplicateMovieClip (_root.enbar, "enbar" + ennum, 1000 + ennum); } else if (_root.clevel == 31) { _root.land = true; _root.air = false; _root.informer.text = "Alien Eye [LAND]: 18,398HP 60R\nNEXT WAVE: [LAND]: 22,078HP 64R"; _root.en12._x = 70; _root.en12._y = -20; duplicateMovieClip (_root.en12, "enem" + ennum, 300 + ennum); _root.en12._y = -50; if (_root.ugmode == true) { _root.cenlife[ennum] = _root.ugenlife; _root.cenmaxlife = _root.ugenlife; } else { _root.cenlife[ennum] = 18398; _root.cenmaxlife = 18398; } _root.cenreward = 60; _root.enbarnum = ennum; duplicateMovieClip (_root.enbar, "enbar" + ennum, 1000 + ennum); } else if (_root.clevel == 32) { _root.land = true; _root.air = false; _root.informer.text = "Alien Eye II [LAND]: 22,078HP 64R\nNEXT WAVE: [LAND]: 26,494HP 70R"; _root.en12._x = 70; _root.en12._y = -20; duplicateMovieClip (_root.en12, "enem" + ennum, 300 + ennum); _root.en12._y = -50; if (_root.ugmode == true) { _root.cenlife[ennum] = _root.ugenlife; _root.cenmaxlife = _root.ugenlife; } else { _root.cenlife[ennum] = 22078; _root.cenmaxlife = 22078; } _root.cenreward = 64; _root.enbarnum = ennum; duplicateMovieClip (_root.enbar, "enbar" + ennum, 1000 + ennum); } else if (_root.clevel == 33) { _root.land = true; _root.air = false; _root.informer.text = "Alien Eye III [LAND]: 26,494HP 70R\nNEXT WAVE: [LAND]: 31,793HP 74R"; _root.en12._x = 70; _root.en12._y = -20; duplicateMovieClip (_root.en12, "enem" + ennum, 300 + ennum); _root.en12._y = -50; if (_root.ugmode == true) { _root.cenlife[ennum] = _root.ugenlife; _root.cenmaxlife = _root.ugenlife; } else { _root.cenlife[ennum] = 26494; _root.cenmaxlife = 26494; } _root.cenreward = 70; _root.enbarnum = ennum; duplicateMovieClip (_root.enbar, "enbar" + ennum, 1000 + ennum); } else if (_root.clevel == 34) { _root.land = true; _root.air = false; _root.informer.text = "Alien Eye IV [LAND]: 31,793HP 74R\nNEXT WAVE: [AIR]: 38,152HP 78R"; _root.en12._x = 70; _root.en12._y = -20; duplicateMovieClip (_root.en12, "enem" + ennum, 300 + ennum); _root.en12._y = -50; if (_root.ugmode == true) { _root.cenlife[ennum] = _root.ugenlife; _root.cenmaxlife = _root.ugenlife; } else { _root.cenlife[ennum] = 31793; _root.cenmaxlife = 31793; } _root.cenreward = 74; _root.enbarnum = ennum; duplicateMovieClip (_root.enbar, "enbar" + ennum, 1000 + ennum); } else if (_root.clevel == 35) { _root.land = false; _root.air = true; _root.informer.text = "Alien Seeker III [AIR]: 38,152HP 78R\nNEXT WAVE: [LAND]: 45,782HP 82R"; _root.en13._x = 70; _root.en13._y = -20; duplicateMovieClip (_root.en13, "enem" + ennum, 300 + ennum); _root.en13._y = -50; if (_root.ugmode == true) { _root.cenlife[ennum] = _root.ugenlife; _root.cenmaxlife = _root.ugenlife; } else { _root.cenlife[ennum] = 38152; _root.cenmaxlife = 38152; } _root.cenreward = 78; _root.enbarnum = ennum; duplicateMovieClip (_root.enbar, "enbar" + ennum, 1000 + ennum); } else if (_root.clevel == 36) { _root.land = true; _root.air = false; _root.informer.text = "Alien Spawn [LAND]: 45,782HP 82R\nNEXT WAVE: [LAND]: 54,938HP 86R"; _root.en14._x = 70; _root.en14._y = -20; duplicateMovieClip (_root.en14, "enem" + ennum, 300 + ennum); _root.en14._y = -50; if (_root.ugmode == true) { _root.cenlife[ennum] = _root.ugenlife; _root.cenmaxlife = _root.ugenlife; } else { _root.cenlife[ennum] = 45782; _root.cenmaxlife = 45782; } _root.cenreward = 82; _root.enbarnum = ennum; duplicateMovieClip (_root.enbar, "enbar" + ennum, 1000 + ennum); } else if (_root.clevel == 37) { _root.land = true; _root.air = false; _root.informer.text = "Alien Spawn II [LAND]: 54,938HP 86R\nNEXT WAVE: [LAND]: 65,926HP 90R"; _root.en14._x = 70; _root.en14._y = -20; duplicateMovieClip (_root.en14, "enem" + ennum, 300 + ennum); _root.en14._y = -50; if (_root.ugmode == true) { _root.cenlife[ennum] = _root.ugenlife; _root.cenmaxlife = _root.ugenlife; } else { _root.cenlife[ennum] = 54938; _root.cenmaxlife = 54938; } _root.cenreward = 86; _root.enbarnum = ennum; duplicateMovieClip (_root.enbar, "enbar" + ennum, 1000 + ennum); } else if (_root.clevel == 38) { _root.land = true; _root.air = false; _root.informer.text = "Alien Spawn III [LAND]: 65,926HP 90R\nNEXT WAVE: [LAND]: 79,111HP 94R"; _root.en14._x = 70; _root.en14._y = -20; duplicateMovieClip (_root.en14, "enem" + ennum, 300 + ennum); _root.en14._y = -50; if (_root.ugmode == true) { _root.cenlife[ennum] = _root.ugenlife; _root.cenmaxlife = _root.ugenlife; } else { _root.cenlife[ennum] = 65926 /* 0x010186 */; _root.cenmaxlife = 65926 /* 0x010186 */; } _root.cenreward = 90; _root.enbarnum = ennum; duplicateMovieClip (_root.enbar, "enbar" + ennum, 1000 + ennum); } else if (_root.clevel == 39) { _root.land = true; _root.air = false; _root.informer.text = "Alien Spawn IV [LAND]: 79,111HP 94R\nNEXT WAVE: [BOSS]: 2,000,000HP 3000R"; _root.en14._x = 70; _root.en14._y = -20; duplicateMovieClip (_root.en14, "enem" + ennum, 300 + ennum); _root.en14._y = -50; if (_root.ugmode == true) { _root.cenlife[ennum] = _root.ugenlife; _root.cenmaxlife = _root.ugenlife; } else { _root.cenlife[ennum] = 79111 /* 0x013507 */; _root.cenmaxlife = 79111 /* 0x013507 */; } _root.cenreward = 94; _root.enbarnum = ennum; duplicateMovieClip (_root.enbar, "enbar" + ennum, 1000 + ennum); } else if (_root.clevel == 40) { _root.land = true; _root.air = true; _root.informer.text = "Alien Mother [BOSS]: 2,000,000HP 3000R"; _root.boss2._x = 70; _root.boss2._y = -20; duplicateMovieClip (_root.boss2, "enem" + ennum, 300 + ennum); _root.boss2._y = -50; if (_root.ugmode == true) { _root.cenlife[ennum] = _root.ugenlife; _root.cenmaxlife = _root.ugenlife; } else { _root.cenlife[ennum] = 2000000 /* 0x1E8480 */; _root.cenmaxlife = 2000000 /* 0x1E8480 */; } _root.cenreward = 3000; _root.deaden = 19; _root.enbarnum = ennum; duplicateMovieClip (_root.enbar, "enbar" + ennum, 1000 + ennum); ennum = 30; } ennum = ennum + 1; } } if (_root.sendwave == true) { t = 1; while (t <= 21) { if (((_root.cenlife[t] <= 0) and (_root.cenlife[t] != undefined)) and (_root["enem" + t] != undefined)) { _root.killexplode(_root["enem" + t]._x, _root["enem" + t]._y); removeMovieClip(_root["enem" + t]); removeMovieClip(_root["enbar" + t]); _root.score = _root.score + (5 * _root.clevel); _root.resources = _root.resources + _root.cenreward; _root.deaden = _root.deaden + 1; _root.killeden = _root.killeden + 1; } t = t + 1; } if (_root.deaden >= 20) { ennum = 1; _root.sendwave = false; _root.deadboss = false; _root.deaden = 0; _root.resources = _root.resources + Math.round(_root.resources * 0.05); if (_root.clevel == 40) { _root.score = _root.score + (((_root.lives * 1000) + (_root.resources * 3)) + (_root.rad * 200)); _root.stdsheet._x = 900; _root.advsheet._x = 900; _root.radsheet._x = 900; _root.gamecompletesheet.gotoAndPlay(1); _root.gamecompletesheet._x = 500; _root.gamecompletesheet._y = 155; _root.localInfo.data.ug = true; } if (_root.killeden == 20) { _root.rad = _root.rad + 1; _root.resources = _root.resources + (3 * _root.clevel); } _root.killeden = 0; } } }
Instance of Symbol 41 MovieClip "enbar" in Frame 1
onClipEvent (load) { enemy = _root.enbarnum; this.gotoAndStop(1); showbar = false; } onClipEvent (enterFrame) { if (showbar == true) { this._x = _root["enem" + enemy]._x; this._y = _root["enem" + enemy]._y - 5; } else { this._x = -100; } frame = 31 - Math.round((_root.cenlife[enemy] / _root.cenmaxlife) * 30); this.gotoAndStop(frame); if (_root.sendwave == false) { removeMovieClip(this); } } onClipEvent (keyDown) { showbar = true; } onClipEvent (keyUp) { showbar = false; }
Instance of Symbol 43 MovieClip "stammo" in Frame 1
onClipEvent (load) { travel = 0; } onClipEvent (enterFrame) { xr = _root["enem" + enemy]._x - this._x; yr = _root["enem" + enemy]._y - this._y; unit = _root.dist(this._x, this._y, _root["enem" + enemy]._x, _root["enem" + enemy]._y); if ((this._name != "stammo") and (this._x > -10)) { xm = this._x; ym = this._y; this._x = this._x + ((xr / unit) * 5); this._y = this._y + ((yr / unit) * 5); if ((xr < 0) and (yr < 0)) { angle = (Math.atan((yr / unit) / (xr / unit)) * 180) / 3.14; this._rotation = 270 + Math.round(angle); } else if ((xr < 0) and (yr > 0)) { angle = (Math.atan((xr / unit) / (yr / unit)) * 180) / 3.14; this._rotation = 180 + Math.abs(Math.round(angle)); } else if ((xr > 0) and (yr > 0)) { angle = (Math.atan((yr / unit) / (xr / unit)) * 180) / 3.14; this._rotation = 90 + Math.abs(Math.round(angle)); } else if ((xr > 0) and (yr < 0)) { angle = (Math.atan((xr / unit) / (yr / unit)) * 180) / 3.14; this._rotation = Math.abs(Math.round(angle)); } else if ((xr == 0) and (yr > 0)) { this._rotation = 180; } else if ((yr == 0) and (xr > 0)) { this._rotation = 90; } else if ((yr == 0) and (xr < 0)) { this._rotation = 270; } if ((xm == this._x) and (ym == this._y)) { _root.hitexplode(this._x, this._y); removeMovieClip(this); } } t = 1; while (t <= 20) { if (((Math.abs(this._x - _root["enem" + t]._x) <= 12) and (Math.abs(this._y - _root["enem" + t]._y) <= 12)) and (_root["enem" + t] != undefined)) { i = 1; while (i <= 20) { if ((((i != t) and (Math.abs(_root["enem" + t]._x - _root["enem" + i]._x) <= 30)) and (Math.abs(_root["enem" + t]._y - _root["enem" + i]._y) <= 30)) and (_root["enem" + i] != undefined)) { _root.cenlife[i] = _root.cenlife[i] - (damage / 2); } i = i + 1; } _root.cenlife[t] = _root.cenlife[t] - damage; if (_root.cenlife[t] > 0) { _root.hitexplode(_root["enem" + t]._x, _root["enem" + t]._y); } removeMovieClip(this); t = 21; } t = t + 1; } }
Instance of Symbol 45 MovieClip "en6" in Frame 1
onClipEvent (load) { dir = 3; } onClipEvent (enterFrame) { h = Math.round(((this._x - 30) / 40) + 1); v = Math.round(((this._y - 30) / 40) + 1); s = ((h + (v * 12)) - 12) - 1; rand = random(2); rand2 = random(3); if (this._y > 510) { removeMovieClip(this); _root.deaden = _root.deaden + 1; _root.lives = _root.lives - 1; } else if ((_root.sendwave == true) and (this._name != "en6")) { if (dir == 1) { this._y = this._y - 2; } if (dir == 2) { this._x = this._x + 2; } if (dir == 3) { this._y = this._y + 2; } if (this._y <= 0) { } else if (this._y >= 470) { } else if (((dir == 1) and ((_root.cmap[s - 12] != 0) or (_root.cmap[s + 1] == 0))) and (((this._y + 10) % 40) == 0)) { if ((_root.cmap[s + 1] == 0) and (_root.cmap[s - 12] == 0)) { if (rand == 1) { dir = 2; } else { dir = 1; } } else if (_root.cmap[s + 1] == 0) { dir = 2; } else { dir = 3; } } else if (((dir == 2) and (((_root.cmap[s + 1] != 0) or (_root.cmap[s - 12] == 0)) or (_root.cmap[s + 12] == 0))) and (((this._x + 10) % 40) == 0)) { if (((_root.cmap[s + 12] == 0) and (_root.cmap[s - 12] == 0)) and (_root.cmap[s + 1] == 0)) { if (rand2 == 1) { dir = 1; } else if (rand2 == 2) { dir = 3; } else { dir = 2; } } else if ((_root.cmap[s - 12] == 0) and (_root.cmap[s + 1] == 0)) { if (rand == 1) { dir = 1; } else { dir = 2; } } else if ((_root.cmap[s + 12] == 0) and (_root.cmap[s + 1] == 0)) { if (rand == 1) { dir = 3; } else { dir = 2; } } else if ((_root.cmap[s + 12] == 0) and (_root.cmap[s - 12] == 0)) { if (rand == 1) { dir = 3; } else { dir = 1; } } else if (_root.cmap[s + 12] == 0) { dir = 3; } else if (_root.cmap[s - 12] == 0) { dir = 1; } } else if (((dir == 3) and ((_root.cmap[s + 12] != 0) or (_root.cmap[s + 1] == 0))) and (((this._y + 10) % 40) == 0)) { if ((_root.cmap[s + 1] == 0) and (_root.cmap[s + 12] == 0)) { if (rand == 1) { dir = 2; } else { dir = 3; } } else if (_root.cmap[s + 1] == 0) { dir = 2; } else { dir = 1; } } } }
Instance of Symbol 47 MovieClip "mtammo" in Frame 1
onClipEvent (load) { travel = 0; } onClipEvent (enterFrame) { xr = _root["enem" + enemy]._x - this._x; yr = _root["enem" + enemy]._y - this._y; unit = _root.dist(this._x, this._y, _root["enem" + enemy]._x, _root["enem" + enemy]._y); if ((this._name != "mtammo") and (this._x > -10)) { xm = this._x; ym = this._y; this._x = this._x + ((xr / unit) * 5); this._y = this._y + ((yr / unit) * 5); if ((xm == this._x) and (ym == this._y)) { _root.hitexplode(this._x, this._y); removeMovieClip(this); } } t = 1; while (t <= 20) { if (((Math.abs(this._x - _root["enem" + t]._x) <= 12) and (Math.abs(this._y - _root["enem" + t]._y) <= 12)) and (_root["enem" + t] != undefined)) { _root.cenlife[t] = _root.cenlife[t] - damage; if (_root.cenlife[t] > 0) { _root.hitexplode(_root["enem" + t]._x, _root["enem" + t]._y); } removeMovieClip(this); t = 21; } t = t + 1; } }
Instance of Symbol 51 MovieClip "en7" in Frame 1
onClipEvent (load) { dir = 3; } onClipEvent (enterFrame) { h = Math.round(((this._x - 30) / 40) + 1); v = Math.round(((this._y - 30) / 40) + 1); s = ((h + (v * 12)) - 12) - 1; rand = random(2); rand2 = random(3); if (this._y > 510) { removeMovieClip(this); _root.deaden = _root.deaden + 1; _root.lives = _root.lives - 1; } else if ((_root.sendwave == true) and (this._name != "en7")) { if (dir == 1) { this._y = this._y - 2; } if (dir == 2) { this._x = this._x + 2; } if (dir == 3) { this._y = this._y + 2; } if (this._y <= 0) { } else if (this._y >= 470) { } else if (((dir == 1) and ((_root.cmap[s - 12] != 0) or (_root.cmap[s + 1] == 0))) and (((this._y + 10) % 40) == 0)) { if ((_root.cmap[s + 1] == 0) and (_root.cmap[s - 12] == 0)) { if (rand == 1) { dir = 2; } else { dir = 1; } } else if (_root.cmap[s + 1] == 0) { dir = 2; } else { dir = 3; } } else if (((dir == 2) and (((_root.cmap[s + 1] != 0) or (_root.cmap[s - 12] == 0)) or (_root.cmap[s + 12] == 0))) and (((this._x + 10) % 40) == 0)) { if (((_root.cmap[s + 12] == 0) and (_root.cmap[s - 12] == 0)) and (_root.cmap[s + 1] == 0)) { if (rand2 == 1) { dir = 1; } else if (rand2 == 2) { dir = 3; } else { dir = 2; } } else if ((_root.cmap[s - 12] == 0) and (_root.cmap[s + 1] == 0)) { if (rand == 1) { dir = 1; } else { dir = 2; } } else if ((_root.cmap[s + 12] == 0) and (_root.cmap[s + 1] == 0)) { if (rand == 1) { dir = 3; } else { dir = 2; } } else if ((_root.cmap[s + 12] == 0) and (_root.cmap[s - 12] == 0)) { if (rand == 1) { dir = 3; } else { dir = 1; } } else if (_root.cmap[s + 12] == 0) { dir = 3; } else if (_root.cmap[s - 12] == 0) { dir = 1; } } else if (((dir == 3) and ((_root.cmap[s + 12] != 0) or (_root.cmap[s + 1] == 0))) and (((this._y + 10) % 40) == 0)) { if ((_root.cmap[s + 1] == 0) and (_root.cmap[s + 12] == 0)) { if (rand == 1) { dir = 2; } else { dir = 3; } } else if (_root.cmap[s + 1] == 0) { dir = 2; } else { dir = 1; } } } }
Instance of Symbol 62 MovieClip "boss1" in Frame 1
onClipEvent (load) { dir = 3; } onClipEvent (enterFrame) { h = Math.round(((this._x - 30) / 40) + 1); v = Math.round(((this._y - 30) / 40) + 1); s = ((h + (v * 12)) - 12) - 1; rand = random(2); rand2 = random(3); if (this._y > 510) { removeMovieClip(this); _root.deaden = 20; _root.lives = _root.lives - 1; } else if ((_root.sendwave == true) and (this._name != "boss1")) { if (dir == 1) { this._y = this._y - 1; } if (dir == 2) { this._x = this._x + 1; } if (dir == 3) { this._y = this._y + 1; } if (this._y <= 0) { } else if (this._y >= 470) { } else if (((dir == 1) and ((_root.cmap[s - 12] != 0) or (_root.cmap[s + 1] == 0))) and (((this._y + 10) % 40) == 0)) { if ((_root.cmap[s + 1] == 0) and (_root.cmap[s - 12] == 0)) { if (rand == 1) { dir = 2; } else { dir = 1; } } else if (_root.cmap[s + 1] == 0) { dir = 2; } else { dir = 3; } } else if (((dir == 2) and (((_root.cmap[s + 1] != 0) or (_root.cmap[s - 12] == 0)) or (_root.cmap[s + 12] == 0))) and (((this._x + 10) % 40) == 0)) { if (((_root.cmap[s + 12] == 0) and (_root.cmap[s - 12] == 0)) and (_root.cmap[s + 1] == 0)) { if (rand2 == 1) { dir = 1; } else if (rand2 == 2) { dir = 3; } else { dir = 2; } } else if ((_root.cmap[s - 12] == 0) and (_root.cmap[s + 1] == 0)) { if (rand == 1) { dir = 1; } else { dir = 2; } } else if ((_root.cmap[s + 12] == 0) and (_root.cmap[s + 1] == 0)) { if (rand == 1) { dir = 3; } else { dir = 2; } } else if ((_root.cmap[s + 12] == 0) and (_root.cmap[s - 12] == 0)) { if (rand == 1) { dir = 3; } else { dir = 1; } } else if (_root.cmap[s + 12] == 0) { dir = 3; } else if (_root.cmap[s - 12] == 0) { dir = 1; } } else if (((dir == 3) and ((_root.cmap[s + 12] != 0) or (_root.cmap[s + 1] == 0))) and (((this._y + 10) % 40) == 0)) { if ((_root.cmap[s + 1] == 0) and (_root.cmap[s + 12] == 0)) { if (rand == 1) { dir = 2; } else { dir = 3; } } else if (_root.cmap[s + 1] == 0) { dir = 2; } else { dir = 1; } } } }
Instance of Symbol 64 MovieClip "btammo" in Frame 1
onClipEvent (load) { travel = 0; } onClipEvent (enterFrame) { xr = _root["enem" + enemy]._x - this._x; yr = _root["enem" + enemy]._y - this._y; unit = _root.dist(this._x, this._y, _root["enem" + enemy]._x, _root["enem" + enemy]._y); if ((this._name != "btammo") and (this._x > -10)) { xm = this._x; ym = this._y; this._x = this._x + ((xr / unit) * 5); this._y = this._y + ((yr / unit) * 5); if ((xr < 0) and (yr < 0)) { angle = (Math.atan((yr / unit) / (xr / unit)) * 180) / 3.14; this._rotation = 270 + Math.round(angle); } else if ((xr < 0) and (yr > 0)) { angle = (Math.atan((xr / unit) / (yr / unit)) * 180) / 3.14; this._rotation = 180 + Math.abs(Math.round(angle)); } else if ((xr > 0) and (yr > 0)) { angle = (Math.atan((yr / unit) / (xr / unit)) * 180) / 3.14; this._rotation = 90 + Math.abs(Math.round(angle)); } else if ((xr > 0) and (yr < 0)) { angle = (Math.atan((xr / unit) / (yr / unit)) * 180) / 3.14; this._rotation = Math.abs(Math.round(angle)); } else if ((xr == 0) and (yr > 0)) { this._rotation = 180; } else if ((yr == 0) and (xr > 0)) { this._rotation = 90; } else if ((yr == 0) and (xr < 0)) { this._rotation = 270; } if ((xm == this._x) and (ym == this._y)) { _root.hitexplode(this._x, this._y); removeMovieClip(this); } } t = 1; while (t <= 20) { if (((Math.abs(this._x - _root["enem" + t]._x) <= 12) and (Math.abs(this._y - _root["enem" + t]._y) <= 12)) and (_root["enem" + t] != undefined)) { i = 1; while (i <= 20) { if ((((i != t) and (Math.abs(this._x - _root["enem" + i]._x) <= 30)) and (Math.abs(this._y - _root["enem" + i]._y) <= 30)) and (_root["enem" + i] != undefined)) { _root.cenlife[i] = _root.cenlife[i] - (damage / 2); } i = i + 1; } _root.cenlife[t] = _root.cenlife[t] - damage; if (_root.cenlife[t] > 0) { _root.hitexplode(_root["enem" + t]._x, _root["enem" + t]._y); } removeMovieClip(this); t = 21; } t = t + 1; } }
Instance of Symbol 70 MovieClip "boss2" in Frame 1
onClipEvent (load) { dir = 3; } onClipEvent (enterFrame) { h = Math.round(((this._x - 30) / 40) + 1); v = Math.round(((this._y - 30) / 40) + 1); s = ((h + (v * 12)) - 12) - 1; rand = random(2); rand2 = random(3); if (this._y > 510) { removeMovieClip(this); _root.deaden = 20; _root.lives = _root.lives - 1; } else if ((_root.sendwave == true) and (this._name != "boss2")) { if (dir == 1) { this._y = this._y - 1; } if (dir == 2) { this._x = this._x + 1; } if (dir == 3) { this._y = this._y + 1; } if (this._y <= 0) { } else if (this._y >= 470) { } else if (((dir == 1) and ((_root.cmap[s - 12] != 0) or (_root.cmap[s + 1] == 0))) and (((this._y + 10) % 40) == 0)) { if ((_root.cmap[s + 1] == 0) and (_root.cmap[s - 12] == 0)) { if (rand == 1) { dir = 2; } else { dir = 1; } } else if (_root.cmap[s + 1] == 0) { dir = 2; } else { dir = 3; } } else if (((dir == 2) and (((_root.cmap[s + 1] != 0) or (_root.cmap[s - 12] == 0)) or (_root.cmap[s + 12] == 0))) and (((this._x + 10) % 40) == 0)) { if (((_root.cmap[s + 12] == 0) and (_root.cmap[s - 12] == 0)) and (_root.cmap[s + 1] == 0)) { if (rand2 == 1) { dir = 1; } else if (rand2 == 2) { dir = 3; } else { dir = 2; } } else if ((_root.cmap[s - 12] == 0) and (_root.cmap[s + 1] == 0)) { if (rand == 1) { dir = 1; } else { dir = 2; } } else if ((_root.cmap[s + 12] == 0) and (_root.cmap[s + 1] == 0)) { if (rand == 1) { dir = 3; } else { dir = 2; } } else if ((_root.cmap[s + 12] == 0) and (_root.cmap[s - 12] == 0)) { if (rand == 1) { dir = 3; } else { dir = 1; } } else if (_root.cmap[s + 12] == 0) { dir = 3; } else if (_root.cmap[s - 12] == 0) { dir = 1; } } else if (((dir == 3) and ((_root.cmap[s + 12] != 0) or (_root.cmap[s + 1] == 0))) and (((this._y + 10) % 40) == 0)) { if ((_root.cmap[s + 1] == 0) and (_root.cmap[s + 12] == 0)) { if (rand == 1) { dir = 2; } else { dir = 3; } } else if (_root.cmap[s + 1] == 0) { dir = 2; } else { dir = 1; } } } }
Instance of Symbol 175 MovieClip "rangeindi" in Frame 1
onClipEvent (load) { this.gotoAndStop(1); }
Instance of Symbol 365 MovieClip "GToriginal" in Frame 1
onClipEvent (load) { consider = false; ulvl = 0; damage = 8; range = 80; speed = 1; cost = 15; upgradeclick = 0; clicked = false; ranged = false; rangetick = 0; timer = 100; } onClipEvent (mouseDown) { if ((((clicked == false) and (Math.abs(_root._xmouse - this._x) <= 20)) and (Math.abs(_root._ymouse - this._y) <= 20)) and (this._name != "GToriginal")) { clicked = true; ranged = true; consider = true; _root.showupgrade = true; _root.ctlvl = ulvl; _root.ctdam = damage; _root.ctr = range; _root.cts = speed; _root.ctsp = Math.round(cost / 2); _root.ctulvl = ulvl + 1; _root.ctudam = Math.round(_root.gtd[_root.ctulvl] + (_root.gtd[_root.ctulvl] * _root.dambonus)); _root.ctur = Math.round((range + 2) + ((range + 2) * _root.rangebonus)); _root.ctus = speed; _root.ctuc = _root.gtc[_root.ctulvl]; } else if (((((((clicked == true) and ((Math.abs(_root._xmouse - this._x) > 20) or (Math.abs(_root._ymouse - this._y) > 20))) and (ranged == false)) and ((_root._xmouse < 500) or ((_root._xmouse > 500) and ((_root._ymouse < 155) or (_root._ymouse > 400))))) and (_root._ymouse > 10)) and (_root._ymouse < 490)) and (_root._xmouse < 790)) { _root.rangeindi._y = 900; clicked = false; consider = false; h = Math.round(((_root._xmouse - 30) / 40) + 1); v = Math.round(((_root._ymouse - 30) / 40) + 1); s = ((h + (v * 12)) - 12) - 1; if (((_root.cmap[s] == 0) or (_root.cmap[s] == 1)) or (_root.cmap[s] == undefined)) { _root.showupgrade = false; } } } onClipEvent (enterFrame) { if (_root.displayup == true) { uplvltxt.text = String(ulvl); } else { uplvltxt.text = ""; } timer = timer + 1; rangetick = rangetick + 1; if ((rangetick == 2) and (ranged == true)) { _root.rangeindi._x = this._x; _root.rangeindi._y = this._y; _root.rangeindi.gotoAndStop(range - 79); ranged = false; } if (rangetick >= 2) { rangetick = 0; } if (((_root.sendwave == true) and (timer >= 20)) and (this._name != "GToriginal")) { t = 1; while (t <= 21) { if ((_root.dist(this._x, this._y, _root["enem" + t]._x, _root["enem" + t]._y) <= (range + 10)) and (_root["enem" + t]._name != undefined)) { _root.artfire(); duplicateMovieClip (_root.gtammo, "gtammo" + _root.gtamnum, 400 + _root.gtamnum); _root["gtammo" + _root.gtamnum]._x = this._x; _root["gtammo" + _root.gtamnum]._y = this._y; _root["gtammo" + _root.gtamnum].enemy = t; _root["gtammo" + _root.gtamnum].damage = damage; _root["gtammo" + _root.gtamnum].xr = _root["enem" + t]._x - this._x; _root["gtammo" + _root.gtamnum].yr = _root["enem" + t]._y - this._y; _root["gtammo" + _root.gtamnum].unit = _root.dist(this._x, this._y, _root["enem" + t]._x, _root["enem" + t]._y); _root["gtammo" + _root.gtamnum].range = range; timer = 0; t = 30; _root.gtamnum = _root.gtamnum + 1; if (_root.gtamnum >= 50) { _root.gtamnum = 1; } } t = t + 1; } } if (consider == true) { if (_root.selltower == true) { consider = false; clicked = false; _root.rangeindi._y = 900; _root.upgradetower = false; _root.selltower = false; _root.showupgrade = false; loc = ((this._x + 10) / 40) - 1; loc = loc + ((((this._y + 10) / 40) - 1) * 12); _root.cmap[loc] = "1"; removeMovieClip(this); } if (_root.upgradetower == true) { consider = false; clicked = false; _root.rangeindi._y = 900; _root.upgradetower = false; _root.showupgrade = false; ulvl = _root.ctulvl; damage = _root.ctudam; range = _root.ctur; speed = _root.ctus; cost = cost + _root.ctuc; } } }
Instance of Symbol 368 MovieClip "SToriginal" in Frame 1
onClipEvent (load) { consider = false; ulvl = 0; damage = 40; range = 100; speed = 3; cost = 30; clicked = false; ranged = false; rangetick = 0; timer = 100; } onClipEvent (mouseDown) { if ((((clicked == false) and (Math.abs(_root._xmouse - this._x) <= 20)) and (Math.abs(_root._ymouse - this._y) <= 20)) and (this._name != "SToriginal")) { clicked = true; ranged = true; consider = true; _root.showupgrade = true; _root.ctlvl = ulvl; _root.ctdam = damage; _root.ctr = range; _root.cts = speed; _root.ctsp = Math.round(cost / 2); _root.ctulvl = ulvl + 1; _root.ctudam = Math.round(_root.std[_root.ctulvl] + (_root.std[_root.ctulvl] * _root.dambonus)); _root.ctur = Math.round((range + 10) + ((range + 10) * _root.rangebonus)); _root.ctus = speed; _root.ctuc = _root.stc[_root.ctulvl]; } else if (((((((clicked == true) and ((Math.abs(_root._xmouse - this._x) > 20) or (Math.abs(_root._ymouse - this._y) > 20))) and (ranged == false)) and ((_root._xmouse < 500) or ((_root._xmouse > 500) and ((_root._ymouse < 155) or (_root._ymouse > 400))))) and (_root._ymouse > 10)) and (_root._ymouse < 490)) and (_root._xmouse < 790)) { _root.rangeindi._y = 900; clicked = false; consider = false; h = Math.round(((_root._xmouse - 30) / 40) + 1); v = Math.round(((_root._ymouse - 30) / 40) + 1); s = ((h + (v * 12)) - 12) - 1; if (((_root.cmap[s] == 0) or (_root.cmap[s] == 1)) or (_root.cmap[s] == undefined)) { _root.showupgrade = false; } } } onClipEvent (enterFrame) { if (_root.displayup == true) { uplvltxt.text = String(ulvl); } else { uplvltxt.text = ""; } timer = timer + 1; rangetick = rangetick + 1; if ((rangetick == 2) and (ranged == true)) { _root.rangeindi._x = this._x; _root.rangeindi._y = this._y; _root.rangeindi.gotoAndStop(range - 79); ranged = false; } if (rangetick >= 2) { rangetick = 0; } if ((((_root.land == true) and (_root.sendwave == true)) and (timer >= 35)) and (this._name != "SToriginal")) { t = 1; while (t <= 21) { if ((_root.dist(this._x, this._y, _root["enem" + t]._x, _root["enem" + t]._y) <= (range + 10)) and (_root["enem" + t] != undefined)) { _root.mortarfire(); duplicateMovieClip (_root.stammo, "stammo" + _root.stamnum, 450 + _root.stamnum); _root["stammo" + _root.stamnum]._x = this._x; _root["stammo" + _root.stamnum]._y = this._y; _root["stammo" + _root.stamnum].enemy = t; _root["stammo" + _root.stamnum].damage = damage; _root["stammo" + _root.stamnum].xr = _root["enem" + t]._x - this._x; _root["stammo" + _root.stamnum].yr = _root["enem" + t]._y - this._y; _root["stammo" + _root.stamnum].unit = _root.dist(this._x, this._y, _root["enem" + t]._x, _root["enem" + t]._y); _root["stammo" + _root.stamnum].range = range; timer = 0; t = 30; _root.stamnum = _root.stamnum + 1; if (_root.stamnum >= 50) { _root.stamnum = 1; } } t = t + 1; } } if (consider == true) { if (_root.selltower == true) { consider = false; clicked = false; _root.rangeindi._y = 900; _root.upgradetower = false; _root.selltower = false; _root.showupgrade = false; loc = ((this._x + 10) / 40) - 1; loc = loc + ((((this._y + 10) / 40) - 1) * 12); _root.cmap[loc] = "1"; removeMovieClip(this); } if (_root.upgradetower == true) { consider = false; clicked = false; _root.rangeindi._y = 900; _root.upgradetower = false; _root.showupgrade = false; ulvl = _root.ctulvl; damage = _root.ctudam; range = _root.ctur; speed = _root.ctus; cost = cost + _root.ctuc; } } }
Instance of Symbol 375 MovieClip "PToriginal" in Frame 1
onClipEvent (load) { consider = false; ulvl = 0; damage = 500; range = 120; speed = 1; cost = 500; clicked = false; ranged = false; rangetick = 0; timer = 100; } onClipEvent (mouseDown) { if ((((clicked == false) and (Math.abs(_root._xmouse - this._x) <= 20)) and (Math.abs(_root._ymouse - this._y) <= 20)) and (this._name != "PToriginal")) { clicked = true; ranged = true; consider = true; _root.showupgrade = true; _root.ctlvl = ulvl; _root.ctdam = damage; _root.ctr = range; _root.cts = speed; _root.ctsp = Math.round(cost / 2); _root.ctulvl = ulvl + 1; _root.ctudam = Math.round(_root.ptd[_root.ctulvl] + (_root.ptd[_root.ctulvl] * _root.dambonus)); _root.ctur = Math.round((range + 10) + ((range + 10) * _root.rangebonus)); _root.ctus = speed; _root.ctuc = _root.ptc[_root.ctulvl]; } else if (((((((clicked == true) and ((Math.abs(_root._xmouse - this._x) > 20) or (Math.abs(_root._ymouse - this._y) > 20))) and (ranged == false)) and ((_root._xmouse < 500) or ((_root._xmouse > 500) and ((_root._ymouse < 155) or (_root._ymouse > 400))))) and (_root._ymouse > 10)) and (_root._ymouse < 490)) and (_root._xmouse < 790)) { _root.rangeindi._y = 900; clicked = false; consider = false; h = Math.round(((_root._xmouse - 30) / 40) + 1); v = Math.round(((_root._ymouse - 30) / 40) + 1); s = ((h + (v * 12)) - 12) - 1; if (((_root.cmap[s] == 0) or (_root.cmap[s] == 1)) or (_root.cmap[s] == undefined)) { _root.showupgrade = false; } } } onClipEvent (enterFrame) { if (_root.displayup == true) { uplvltxt.text = String(ulvl); } else { uplvltxt.text = ""; } timer = timer + 1; rangetick = rangetick + 1; if ((rangetick == 2) and (ranged == true)) { _root.rangeindi._x = this._x; _root.rangeindi._y = this._y; _root.rangeindi.gotoAndStop(range - 79); ranged = false; } if (rangetick >= 2) { rangetick = 0; } if (((_root.sendwave == true) and (timer >= 20)) and (this._name != "PToriginal")) { t = 1; while (t <= 21) { if ((_root.dist(this._x, this._y, _root["enem" + t]._x, _root["enem" + t]._y) <= (range + 10)) and (_root["enem" + t] != undefined)) { _root.missfire(); duplicateMovieClip (_root.ptammo, "ptammo" + _root.ptamnum, 550 + _root.ptamnum); _root["ptammo" + _root.ptamnum]._x = this._x; _root["ptammo" + _root.ptamnum]._y = this._y; _root["ptammo" + _root.ptamnum].enemy = t; _root["ptammo" + _root.ptamnum].damage = damage; _root["ptammo" + _root.ptamnum].xr = _root["enem" + t]._x - this._x; _root["ptammo" + _root.ptamnum].yr = _root["enem" + t]._y - this._y; _root["ptammo" + _root.ptamnum].unit = _root.dist(this._x, this._y, _root["enem" + t]._x, _root["enem" + t]._y); _root["ptammo" + _root.ptamnum].range = range; timer = 0; t = 30; _root.ptamnum = _root.ptamnum + 1; if (_root.ptamnum >= 50) { _root.ptamnum = 1; } } t = t + 1; } } if (consider == true) { if (_root.selltower == true) { consider = false; clicked = false; _root.rangeindi._y = 900; _root.upgradetower = false; _root.selltower = false; _root.showupgrade = false; loc = ((this._x + 10) / 40) - 1; loc = loc + ((((this._y + 10) / 40) - 1) * 12); _root.cmap[loc] = "1"; removeMovieClip(this); } if (_root.upgradetower == true) { consider = false; clicked = false; _root.rangeindi._y = 900; _root.upgradetower = false; _root.showupgrade = false; ulvl = _root.ctulvl; damage = _root.ctudam; range = _root.ctur; speed = _root.ctus; cost = cost + _root.ctuc; } } }
Instance of Symbol 382 MovieClip "AToriginal" in Frame 1
onClipEvent (load) { consider = false; ulvl = 0; damage = 70; range = 80; speed = 2; cost = 50; upgradeclick = 0; clicked = false; ranged = false; rangetick = 0; timer = 100; } onClipEvent (mouseDown) { if ((((clicked == false) and (Math.abs(_root._xmouse - this._x) <= 20)) and (Math.abs(_root._ymouse - this._y) <= 20)) and (this._name != "AToriginal")) { clicked = true; ranged = true; consider = true; _root.showupgrade = true; _root.ctlvl = ulvl; _root.ctdam = damage; _root.ctr = range; _root.cts = speed; _root.ctsp = Math.round(cost / 2); _root.ctulvl = ulvl + 1; _root.ctudam = Math.round(_root.atd[_root.ctulvl] + (_root.atd[_root.ctulvl] * _root.dambonus)); _root.ctur = Math.round((range + 10) + ((range + 10) * _root.rangebonus)); _root.ctus = speed; _root.ctuc = _root.atc[_root.ctulvl]; } else if (((((((clicked == true) and ((Math.abs(_root._xmouse - this._x) > 20) or (Math.abs(_root._ymouse - this._y) > 20))) and (ranged == false)) and ((_root._xmouse < 500) or ((_root._xmouse > 500) and ((_root._ymouse < 155) or (_root._ymouse > 400))))) and (_root._ymouse > 10)) and (_root._ymouse < 490)) and (_root._xmouse < 790)) { _root.rangeindi._y = 900; clicked = false; consider = false; h = Math.round(((_root._xmouse - 30) / 40) + 1); v = Math.round(((_root._ymouse - 30) / 40) + 1); s = ((h + (v * 12)) - 12) - 1; if (((_root.cmap[s] == 0) or (_root.cmap[s] == 1)) or (_root.cmap[s] == undefined)) { _root.showupgrade = false; } } } onClipEvent (enterFrame) { if (_root.displayup == true) { uplvltxt.text = String(ulvl); } else { uplvltxt.text = ""; } timer = timer + 1; rangetick = rangetick + 1; if ((rangetick == 2) and (ranged == true)) { _root.rangeindi._x = this._x; _root.rangeindi._y = this._y; _root.rangeindi.gotoAndStop(range - 79); ranged = false; } if (rangetick >= 2) { rangetick = 0; } if ((((_root.air == true) and (_root.sendwave == true)) and (timer >= 35)) and (this._name != "AToriginal")) { t = 1; while (t <= 21) { if ((_root.dist(this._x, this._y, _root["enem" + t]._x, _root["enem" + t]._y) <= (range + 10)) and (_root["enem" + t] != undefined)) { _root.artfire(); duplicateMovieClip (_root.atammo, "atammo" + _root.atamnum, 500 + _root.atamnum); _root["atammo" + _root.atamnum]._x = this._x; _root["atammo" + _root.atamnum]._y = this._y; _root["atammo" + _root.atamnum].enemy = t; _root["atammo" + _root.atamnum].damage = damage; _root["atammo" + _root.atamnum].xr = _root["enem" + t]._x - this._x; _root["atammo" + _root.atamnum].yr = _root["enem" + t]._y - this._y; _root["atammo" + _root.atamnum].unit = _root.dist(this._x, this._y, _root["enem" + t]._x, _root["enem" + t]._y); _root["atammo" + _root.atamnum].range = range; timer = 0; if ((_root.atx < 0) and (_root.aty < 0)) { angle = (Math.atan((_root.aty / _root.atunit) / (_root.atx / _root.atunit)) * 180) / 3.14; atgun._rotation = 270 + Math.round(angle); } else if ((_root.atx < 0) and (_root.aty > 0)) { angle = (Math.atan((_root.atx / _root.atunit) / (_root.aty / _root.atunit)) * 180) / 3.14; atgun._rotation = 180 + Math.abs(Math.round(angle)); } else if ((_root.atx > 0) and (_root.aty > 0)) { angle = (Math.atan((_root.aty / _root.atunit) / (_root.atx / _root.atunit)) * 180) / 3.14; atgun._rotation = 90 + Math.abs(Math.round(angle)); } else if ((_root.atx > 0) and (_root.aty < 0)) { angle = (Math.atan((_root.atx / _root.atunit) / (_root.aty / _root.atunit)) * 180) / 3.14; atgun._rotation = Math.abs(Math.round(angle)); } t = 30; _root.atamnum = _root.atamnum + 1; if (_root.atamnum >= 50) { _root.atamnum = 1; } } t = t + 1; } } if (((_root.air == true) and (_root.sendwave == true)) and (this._name != "AToriginal")) { t = 1; while (t <= 21) { if ((_root.dist(this._x, this._y, _root["enem" + t]._x, _root["enem" + t]._y) <= (range + 10)) and (_root["enem" + t] != undefined)) { aimx = _root["enem" + t]._x - this._x; aimy = _root["enem" + t]._y - this._y; aimunit = _root.dist(this._x, this._y, _root["enem" + t]._x, _root["enem" + t]._y); if ((aimx < 0) and (aimy < 0)) { angle = (Math.atan((aimy / aimunit) / (aimx / aimunit)) * 180) / 3.14; atgun._rotation = 270 + Math.round(angle); } else if ((aimx < 0) and (aimy > 0)) { angle = (Math.atan((aimx / aimunit) / (aimy / aimunit)) * 180) / 3.14; atgun._rotation = 180 + Math.abs(Math.round(angle)); } else if ((aimx > 0) and (aimy > 0)) { angle = (Math.atan((aimy / aimunit) / (aimx / aimunit)) * 180) / 3.14; atgun._rotation = 90 + Math.abs(Math.round(angle)); } else if ((aimx > 0) and (aimy < 0)) { angle = (Math.atan((aimx / aimunit) / (aimy / aimunit)) * 180) / 3.14; atgun._rotation = Math.abs(Math.round(angle)); } t = 30; } t = t + 1; } } if (consider == true) { if (_root.selltower == true) { consider = false; clicked = false; _root.rangeindi._y = 900; _root.upgradetower = false; _root.selltower = false; _root.showupgrade = false; loc = ((this._x + 10) / 40) - 1; loc = loc + ((((this._y + 10) / 40) - 1) * 12); _root.cmap[loc] = "1"; removeMovieClip(this); } if (_root.upgradetower == true) { consider = false; clicked = false; _root.rangeindi._y = 900; _root.upgradetower = false; _root.showupgrade = false; ulvl = _root.ctulvl; damage = _root.ctudam; range = _root.ctur; speed = _root.ctus; cost = cost + _root.ctuc; } } }
Instance of Symbol 386 MovieClip "en1" in Frame 1
onClipEvent (load) { dir = 3; rota = 1; } onClipEvent (enterFrame) { h = Math.round(((this._x - 30) / 40) + 1); v = Math.round(((this._y - 30) / 40) + 1); s = ((h + (v * 12)) - 12) - 1; rand = random(2); rand2 = random(3); if (this._y > 510) { removeMovieClip(this); _root.deaden = _root.deaden + 1; _root.lives = _root.lives - 1; } else if ((_root.sendwave == true) and (this._name != "en1")) { if (dir == 1) { this._y = this._y - 2; } if (dir == 2) { this._x = this._x + 2; } if (dir == 3) { this._y = this._y + 2; } if (this._y <= 0) { } else if (this._y >= 470) { } else if (((dir == 1) and ((_root.cmap[s - 12] != 0) or (_root.cmap[s + 1] == 0))) and (((this._y + 10) % 40) == 0)) { if ((_root.cmap[s + 1] == 0) and (_root.cmap[s - 12] == 0)) { if (rand == 1) { dir = 2; } else { dir = 1; } } else if (_root.cmap[s + 1] == 0) { dir = 2; } else { dir = 3; } } else if (((dir == 2) and (((_root.cmap[s + 1] != 0) or (_root.cmap[s - 12] == 0)) or (_root.cmap[s + 12] == 0))) and (((this._x + 10) % 40) == 0)) { if (((_root.cmap[s + 12] == 0) and (_root.cmap[s - 12] == 0)) and (_root.cmap[s + 1] == 0)) { if (rand2 == 1) { dir = 1; } else if (rand2 == 2) { dir = 3; } else { dir = 2; } } else if ((_root.cmap[s - 12] == 0) and (_root.cmap[s + 1] == 0)) { if (rand == 1) { dir = 1; } else { dir = 2; } } else if ((_root.cmap[s + 12] == 0) and (_root.cmap[s + 1] == 0)) { if (rand == 1) { dir = 3; } else { dir = 2; } } else if ((_root.cmap[s + 12] == 0) and (_root.cmap[s - 12] == 0)) { if (rand == 1) { dir = 3; } else { dir = 1; } } else if (_root.cmap[s + 12] == 0) { dir = 3; } else if (_root.cmap[s - 12] == 0) { dir = 1; } } else if (((dir == 3) and ((_root.cmap[s + 12] != 0) or (_root.cmap[s + 1] == 0))) and (((this._y + 10) % 40) == 0)) { if ((_root.cmap[s + 1] == 0) and (_root.cmap[s + 12] == 0)) { if (rand == 1) { dir = 2; } else { dir = 3; } } else if (_root.cmap[s + 1] == 0) { dir = 2; } else { dir = 1; } } } }
Instance of Symbol 388 MovieClip "gtammo" in Frame 1
onClipEvent (load) { travel = 0; } onClipEvent (enterFrame) { xr = _root["enem" + enemy]._x - this._x; yr = _root["enem" + enemy]._y - this._y; unit = _root.dist(this._x, this._y, _root["enem" + enemy]._x, _root["enem" + enemy]._y); if ((this._name != "gtammo") and (this._x > -10)) { xm = this._x; ym = this._y; this._x = this._x + ((xr / unit) * 5); this._y = this._y + ((yr / unit) * 5); } t = 1; while (t <= 20) { if (((Math.abs(this._x - _root["enem" + t]._x) <= 12) and (Math.abs(this._y - _root["enem" + t]._y) <= 12)) and (_root["enem" + t]._name != undefined)) { _root.cenlife[t] = _root.cenlife[t] - damage; if (_root.cenlife[t] > 0) { _root.hitexplode(_root["enem" + t]._x, _root["enem" + t]._y); } removeMovieClip(this); t = 25; } else if ((xm == this._x) and (ym == this._y)) { _root.hitexplode(this._x, this._y); removeMovieClip(this); } t = t + 1; } }
Instance of Symbol 390 MovieClip "en2" in Frame 1
onClipEvent (load) { dir = 3; } onClipEvent (enterFrame) { h = Math.round(((this._x - 30) / 40) + 1); v = Math.round(((this._y - 30) / 40) + 1); s = ((h + (v * 12)) - 12) - 1; rand = random(3); rand2 = random(4); if (this._y > 520) { removeMovieClip(this); _root.deaden = _root.deaden + 1; _root.lives = _root.lives - 1; } else if ((_root.sendwave == true) and (this._name != "en2")) { if (dir == 1) { this._y = this._y - 2; } if (dir == 2) { this._x = this._x + 2; } if (dir == 3) { this._y = this._y + 2; } if (this._y <= 0) { } else if (this._y >= 470) { } else if (((dir == 1) and ((_root.cmap[s - 12] != 0) or (_root.cmap[s + 1] == 0))) and (((this._y + 10) % 40) == 0)) { if ((_root.cmap[s + 1] == 0) and (_root.cmap[s - 12] == 0)) { if (rand == 1) { dir = 2; } else { dir = 1; } } else if (_root.cmap[s + 1] == 0) { dir = 2; } else { dir = 3; } } else if (((dir == 2) and (((_root.cmap[s + 1] != 0) or (_root.cmap[s - 12] == 0)) or (_root.cmap[s + 12] == 0))) and (((this._x + 10) % 40) == 0)) { if (((_root.cmap[s + 12] == 0) and (_root.cmap[s - 12] == 0)) and (_root.cmap[s + 1] == 0)) { if (rand2 == 1) { dir = 1; } else if (rand2 == 2) { dir = 3; } else { dir = 2; } } else if ((_root.cmap[s - 12] == 0) and (_root.cmap[s + 1] == 0)) { if (rand == 1) { dir = 1; } else { dir = 2; } } else if ((_root.cmap[s + 12] == 0) and (_root.cmap[s + 1] == 0)) { if (rand == 1) { dir = 3; } else { dir = 2; } } else if ((_root.cmap[s + 12] == 0) and (_root.cmap[s - 12] == 0)) { if (rand == 1) { dir = 3; } else { dir = 1; } } else if (_root.cmap[s + 12] == 0) { dir = 3; } else if (_root.cmap[s - 12] == 0) { dir = 1; } } else if (((dir == 3) and ((_root.cmap[s + 12] != 0) or (_root.cmap[s + 1] == 0))) and (((this._y + 10) % 40) == 0)) { if ((_root.cmap[s + 1] == 0) and (_root.cmap[s + 12] == 0)) { if (rand == 1) { dir = 2; } else { dir = 3; } } else if (_root.cmap[s + 1] == 0) { dir = 2; } else { dir = 1; } } } }
Instance of Symbol 392 MovieClip "en4" in Frame 1
onClipEvent (load) { dir = 3; } onClipEvent (enterFrame) { h = Math.round(((this._x - 30) / 40) + 1); v = Math.round(((this._y - 30) / 40) + 1); s = ((h + (v * 12)) - 12) - 1; rand = random(2); rand2 = random(3); if (this._y > 510) { removeMovieClip(this); _root.deaden = _root.deaden + 1; _root.lives = _root.lives - 1; } else if ((_root.sendwave == true) and (this._name != "en4")) { if (dir == 1) { this._y = this._y - 2; } if (dir == 2) { this._x = this._x + 2; } if (dir == 3) { this._y = this._y + 2; } if (this._y <= 0) { } else if (this._y >= 470) { } else if (((dir == 1) and ((_root.cmap[s - 12] != 0) or (_root.cmap[s + 1] == 0))) and (((this._y + 10) % 40) == 0)) { if ((_root.cmap[s + 1] == 0) and (_root.cmap[s - 12] == 0)) { if (rand == 1) { dir = 2; } else { dir = 1; } } else if (_root.cmap[s + 1] == 0) { dir = 2; } else { dir = 3; } } else if (((dir == 2) and (((_root.cmap[s + 1] != 0) or (_root.cmap[s - 12] == 0)) or (_root.cmap[s + 12] == 0))) and (((this._x + 10) % 40) == 0)) { if (((_root.cmap[s + 12] == 0) and (_root.cmap[s - 12] == 0)) and (_root.cmap[s + 1] == 0)) { if (rand2 == 1) { dir = 1; } else if (rand2 == 2) { dir = 3; } else { dir = 2; } } else if ((_root.cmap[s - 12] == 0) and (_root.cmap[s + 1] == 0)) { if (rand == 1) { dir = 1; } else { dir = 2; } } else if ((_root.cmap[s + 12] == 0) and (_root.cmap[s + 1] == 0)) { if (rand == 1) { dir = 3; } else { dir = 2; } } else if ((_root.cmap[s + 12] == 0) and (_root.cmap[s - 12] == 0)) { if (rand == 1) { dir = 3; } else { dir = 1; } } else if (_root.cmap[s + 12] == 0) { dir = 3; } else if (_root.cmap[s - 12] == 0) { dir = 1; } } else if (((dir == 3) and ((_root.cmap[s + 12] != 0) or (_root.cmap[s + 1] == 0))) and (((this._y + 10) % 40) == 0)) { if ((_root.cmap[s + 1] == 0) and (_root.cmap[s + 12] == 0)) { if (rand == 1) { dir = 2; } else { dir = 3; } } else if (_root.cmap[s + 1] == 0) { dir = 2; } else { dir = 1; } } } }
Instance of Symbol 396 MovieClip "en5" in Frame 1
onClipEvent (load) { dir = 3; } onClipEvent (enterFrame) { h = Math.round(((this._x - 30) / 40) + 1); v = Math.round(((this._y - 30) / 40) + 1); s = ((h + (v * 12)) - 12) - 1; rand = random(2); rand2 = random(3); if (this._y > 510) { removeMovieClip(this); _root.deaden = _root.deaden + 1; _root.lives = _root.lives - 1; } else if ((_root.sendwave == true) and (this._name != "en5")) { if (dir == 1) { this._y = this._y - 2; } if (dir == 2) { this._x = this._x + 2; } if (dir == 3) { this._y = this._y + 2; } if (this._y <= 0) { } else if (this._y >= 470) { } else if (((dir == 1) and ((_root.cmap[s - 12] != 0) or (_root.cmap[s + 1] == 0))) and (((this._y + 10) % 40) == 0)) { if ((_root.cmap[s + 1] == 0) and (_root.cmap[s - 12] == 0)) { if (rand == 1) { dir = 2; } else { dir = 1; } } else if (_root.cmap[s + 1] == 0) { dir = 2; } else { dir = 3; } } else if (((dir == 2) and (((_root.cmap[s + 1] != 0) or (_root.cmap[s - 12] == 0)) or (_root.cmap[s + 12] == 0))) and (((this._x + 10) % 40) == 0)) { if (((_root.cmap[s + 12] == 0) and (_root.cmap[s - 12] == 0)) and (_root.cmap[s + 1] == 0)) { if (rand2 == 1) { dir = 1; } else if (rand2 == 2) { dir = 3; } else { dir = 2; } } else if ((_root.cmap[s - 12] == 0) and (_root.cmap[s + 1] == 0)) { if (rand == 1) { dir = 1; } else { dir = 2; } } else if ((_root.cmap[s + 12] == 0) and (_root.cmap[s + 1] == 0)) { if (rand == 1) { dir = 3; } else { dir = 2; } } else if ((_root.cmap[s + 12] == 0) and (_root.cmap[s - 12] == 0)) { if (rand == 1) { dir = 3; } else { dir = 1; } } else if (_root.cmap[s + 12] == 0) { dir = 3; } else if (_root.cmap[s - 12] == 0) { dir = 1; } } else if (((dir == 3) and ((_root.cmap[s + 12] != 0) or (_root.cmap[s + 1] == 0))) and (((this._y + 10) % 40) == 0)) { if ((_root.cmap[s + 1] == 0) and (_root.cmap[s + 12] == 0)) { if (rand == 1) { dir = 2; } else { dir = 3; } } else if (_root.cmap[s + 1] == 0) { dir = 2; } else { dir = 1; } } } }
Instance of Symbol 434 MovieClip "upgradesheet" in Frame 1
onClipEvent (enterFrame) { if (_root.showupgrade == true) { this._x = 500; this._y = 155; _root.stdsheet._x = 900; _root.advsheet._x = 900; _root.radsheet._x = 900; ctlvltxt.text = "Level: " + String(_root.ctlvl); ctdamtxt.text = "Damage: " + String(_root.ctdam); ctrtxt.text = "Range: " + String(_root.ctr); if (_root.cts == 1) { ctstxt.text = "Speed: Fast"; } else if (_root.cts == 2) { ctstxt.text = "Speed: Medium"; } else if (_root.cts == 3) { ctstxt.text = "Speed: Slow"; } else { ctstxt.text = "Unknown"; } ctsptxt.text = "Sell Price: " + String(_root.ctsp); if (_root.ctulvl <= 4) { ctulvltxt.text = "Level: " + String(_root.ctulvl); ctudamtxt.text = "Damage: " + String(_root.ctudam); cturtxt.text = "Range: " + String(_root.ctur); if (_root.ctus == 1) { ctustxt.text = "Speed: Fast"; } else if (_root.ctus == 2) { ctustxt.text = "Speed: Medium"; } else if (_root.ctus == 3) { ctustxt.text = "Speed: Slow"; } else { ctustxt.text = "Speed: Unknown"; } ctuctxt.text = "Upgrade Cost: " + String(_root.ctuc); } else if (_root.ctulvl > 4) { ctulvltxt.text = ""; ctudamtxt.text = ""; cturtxt.text = "No More Upgrades"; ctustxt.text = ""; ctuctxt.text = ""; } } else { this._x = 900; } }
Instance of Symbol 436 MovieClip "atammo" in Frame 1
onClipEvent (load) { travel = 0; } onClipEvent (enterFrame) { xr = _root["enem" + enemy]._x - this._x; yr = _root["enem" + enemy]._y - this._y; unit = _root.dist(this._x, this._y, _root["enem" + enemy]._x, _root["enem" + enemy]._y); if ((this._name != "atammo") and (this._x > -10)) { xm = this._x; ym = this._y; this._x = this._x + ((xr / unit) * 5); this._y = this._y + ((yr / unit) * 5); if ((xm == this._x) and (ym == this._y)) { _root.hitexplode(this._x, this._y); removeMovieClip(this); } } t = 1; while (t <= 20) { if (((Math.abs(this._x - _root["enem" + t]._x) <= 12) and (Math.abs(this._y - _root["enem" + t]._y) <= 12)) and (_root["enem" + t] != undefined)) { _root.cenlife[t] = _root.cenlife[t] - damage; if (_root.cenlife[t] > 0) { _root.hitexplode(_root["enem" + t]._x, _root["enem" + t]._y); } removeMovieClip(this); t = 21; } t = t + 1; } }
Instance of Symbol 440 MovieClip "en3" in Frame 1
onClipEvent (load) { dir = 3; } onClipEvent (enterFrame) { h = Math.round(((this._x - 30) / 40) + 1); v = Math.round(((this._y - 30) / 40) + 1); s = ((h + (v * 12)) - 12) - 1; rand = random(3); rand2 = random(4); if (this._y > 520) { removeMovieClip(this); _root.deaden = _root.deaden + 1; _root.lives = _root.lives - 1; } else if ((_root.sendwave == true) and (this._name != "en3")) { if (dir == 1) { this._y = this._y - 2; } if (dir == 2) { this._x = this._x + 2; } if (dir == 3) { this._y = this._y + 2; } if (this._y <= 0) { } else if (this._y >= 470) { } else if (((dir == 1) and ((_root.cmap[s - 12] != 0) or (_root.cmap[s + 1] == 0))) and (((this._y + 10) % 40) == 0)) { if ((_root.cmap[s + 1] == 0) and (_root.cmap[s - 12] == 0)) { if (rand == 1) { dir = 2; } else { dir = 1; } } else if (_root.cmap[s + 1] == 0) { dir = 2; } else { dir = 3; } } else if (((dir == 2) and (((_root.cmap[s + 1] != 0) or (_root.cmap[s - 12] == 0)) or (_root.cmap[s + 12] == 0))) and (((this._x + 10) % 40) == 0)) { if (((_root.cmap[s + 12] == 0) and (_root.cmap[s - 12] == 0)) and (_root.cmap[s + 1] == 0)) { if (rand2 == 1) { dir = 1; } else if (rand2 == 2) { dir = 3; } else { dir = 2; } } else if ((_root.cmap[s - 12] == 0) and (_root.cmap[s + 1] == 0)) { if (rand == 1) { dir = 1; } else { dir = 2; } } else if ((_root.cmap[s + 12] == 0) and (_root.cmap[s + 1] == 0)) { if (rand == 1) { dir = 3; } else { dir = 2; } } else if ((_root.cmap[s + 12] == 0) and (_root.cmap[s - 12] == 0)) { if (rand == 1) { dir = 3; } else { dir = 1; } } else if (_root.cmap[s + 12] == 0) { dir = 3; } else if (_root.cmap[s - 12] == 0) { dir = 1; } } else if (((dir == 3) and ((_root.cmap[s + 12] != 0) or (_root.cmap[s + 1] == 0))) and (((this._y + 10) % 40) == 0)) { if ((_root.cmap[s + 1] == 0) and (_root.cmap[s + 12] == 0)) { if (rand == 1) { dir = 2; } else { dir = 3; } } else if (_root.cmap[s + 1] == 0) { dir = 2; } else { dir = 1; } } } }
Instance of Symbol 446 MovieClip "MToriginal" in Frame 1
onClipEvent (load) { consider = false; ulvl = 0; damage = 1200; range = 120; speed = 1; cost = 1200; upgradeclick = 0; clicked = false; ranged = false; rangetick = 0; timer = 100; } onClipEvent (mouseDown) { if ((((clicked == false) and (Math.abs(_root._xmouse - this._x) <= 20)) and (Math.abs(_root._ymouse - this._y) <= 20)) and (this._name != "MToriginal")) { clicked = true; ranged = true; consider = true; _root.showupgrade = true; _root.ctlvl = ulvl; _root.ctdam = damage; _root.ctr = range; _root.cts = speed; _root.ctsp = Math.round(cost / 2); _root.ctulvl = ulvl + 1; _root.ctudam = Math.round(_root.mtd[_root.ctulvl] + (_root.mtd[_root.ctulvl] * _root.dambonus)); _root.ctur = Math.round((range + 2) + ((range + 2) * _root.rangebonus)); _root.ctus = speed; _root.ctuc = _root.mtc[_root.ctulvl]; } else if (((((((clicked == true) and ((Math.abs(_root._xmouse - this._x) > 20) or (Math.abs(_root._ymouse - this._y) > 20))) and (ranged == false)) and ((_root._xmouse < 500) or ((_root._xmouse > 500) and ((_root._ymouse < 155) or (_root._ymouse > 400))))) and (_root._ymouse > 10)) and (_root._ymouse < 490)) and (_root._xmouse < 790)) { _root.rangeindi._y = 900; clicked = false; consider = false; h = Math.round(((_root._xmouse - 30) / 40) + 1); v = Math.round(((_root._ymouse - 30) / 40) + 1); s = ((h + (v * 12)) - 12) - 1; if (((_root.cmap[s] == 0) or (_root.cmap[s] == 1)) or (_root.cmap[s] == undefined)) { _root.showupgrade = false; } } } onClipEvent (enterFrame) { if (_root.displayup == true) { uplvltxt.text = String(ulvl); } else { uplvltxt.text = ""; } timer = timer + 1; rangetick = rangetick + 1; if ((rangetick == 2) and (ranged == true)) { _root.rangeindi._x = this._x; _root.rangeindi._y = this._y; _root.rangeindi.gotoAndStop(range - 79); ranged = false; } if (rangetick >= 2) { rangetick = 0; } if (((_root.sendwave == true) and (timer >= 20)) and (this._name != "MToriginal")) { t = 1; while (t <= 21) { if ((_root.dist(this._x, this._y, _root["enem" + t]._x, _root["enem" + t]._y) <= (range + 10)) and (_root["enem" + t] != undefined)) { _root.artfire(); duplicateMovieClip (_root.mtammo, "mtammo" + _root.mtamnum, 600 + _root.mtamnum); _root["mtammo" + _root.mtamnum]._x = this._x; _root["mtammo" + _root.mtamnum]._y = this._y; _root["mtammo" + _root.mtamnum].enemy = t; _root["mtammo" + _root.mtamnum].damage = damage; _root["mtammo" + _root.mtamnum].xr = _root["enem" + t]._x - this._x; _root["mtammo" + _root.mtamnum].yr = _root["enem" + t]._y - this._y; _root["mtammo" + _root.mtamnum].unit = _root.dist(this._x, this._y, _root["enem" + t]._x, _root["enem" + t]._y); _root["mtammo" + _root.mtamnum].range = range; timer = 0; if ((_root.mtx < 0) and (_root.mty < 0)) { angle = (Math.atan((_root.mty / _root.mtunit) / (_root.mtx / _root.mtunit)) * 180) / 3.14; mtgun._rotation = 270 + Math.round(angle); } else if ((_root.mtx < 0) and (_root.mty > 0)) { angle = (Math.atan((_root.mtx / _root.mtunit) / (_root.mty / _root.mtunit)) * 180) / 3.14; mtgun._rotation = 180 + Math.abs(Math.round(angle)); } else if ((_root.mtx > 0) and (_root.mty > 0)) { angle = (Math.atan((_root.mty / _root.mtunit) / (_root.mtx / _root.mtunit)) * 180) / 3.14; mtgun._rotation = 90 + Math.abs(Math.round(angle)); } else if ((_root.mtx > 0) and (_root.mty < 0)) { angle = (Math.atan((_root.mtx / _root.mtunit) / (_root.mty / _root.mtunit)) * 180) / 3.14; mtgun._rotation = Math.abs(Math.round(angle)); } t = 30; _root.mtamnum = _root.mtamnum + 1; if (_root.mtamnum >= 50) { _root.mtamnum = 1; } } t = t + 1; } } if ((_root.sendwave == true) and (this._name != "MToriginal")) { t = 1; while (t <= 21) { if ((_root.dist(this._x, this._y, _root["enem" + t]._x, _root["enem" + t]._y) <= (range + 10)) and (_root["enem" + t] != undefined)) { aimx = _root["enem" + t]._x - this._x; aimy = _root["enem" + t]._y - this._y; aimunit = _root.dist(this._x, this._y, _root["enem" + t]._x, _root["enem" + t]._y); if ((aimx < 0) and (aimy < 0)) { angle = (Math.atan((aimy / aimunit) / (aimx / aimunit)) * 180) / 3.14; mtgun._rotation = 270 + Math.round(angle); } else if ((aimx < 0) and (aimy > 0)) { angle = (Math.atan((aimx / aimunit) / (aimy / aimunit)) * 180) / 3.14; mtgun._rotation = 180 + Math.abs(Math.round(angle)); } else if ((aimx > 0) and (aimy > 0)) { angle = (Math.atan((aimy / aimunit) / (aimx / aimunit)) * 180) / 3.14; mtgun._rotation = 90 + Math.abs(Math.round(angle)); } else if ((aimx > 0) and (aimy < 0)) { angle = (Math.atan((aimx / aimunit) / (aimy / aimunit)) * 180) / 3.14; mtgun._rotation = Math.abs(Math.round(angle)); } t = 30; } t = t + 1; } } if (consider == true) { if (_root.selltower == true) { consider = false; clicked = false; _root.rangeindi._y = 900; _root.upgradetower = false; _root.selltower = false; _root.showupgrade = false; loc = ((this._x + 10) / 40) - 1; loc = loc + ((((this._y + 10) / 40) - 1) * 12); _root.cmap[loc] = "1"; removeMovieClip(this); } if (_root.upgradetower == true) { consider = false; clicked = false; _root.rangeindi._y = 900; _root.upgradetower = false; _root.showupgrade = false; ulvl = _root.ctulvl; damage = _root.ctudam; range = _root.ctur; speed = _root.ctus; cost = cost + _root.ctuc; } } }
Instance of Symbol 450 MovieClip "en8" in Frame 1
onClipEvent (load) { dir = 3; } onClipEvent (enterFrame) { h = Math.round(((this._x - 30) / 40) + 1); v = Math.round(((this._y - 30) / 40) + 1); s = ((h + (v * 12)) - 12) - 1; rand = random(2); rand2 = random(3); if (this._y > 510) { removeMovieClip(this); _root.deaden = _root.deaden + 1; _root.lives = _root.lives - 1; } else if ((_root.sendwave == true) and (this._name != "en8")) { if (dir == 1) { this._y = this._y - 2; } if (dir == 2) { this._x = this._x + 2; } if (dir == 3) { this._y = this._y + 2; } if (this._y <= 0) { } else if (this._y >= 470) { } else if (((dir == 1) and ((_root.cmap[s - 12] != 0) or (_root.cmap[s + 1] == 0))) and (((this._y + 10) % 40) == 0)) { if ((_root.cmap[s + 1] == 0) and (_root.cmap[s - 12] == 0)) { if (rand == 1) { dir = 2; } else { dir = 1; } } else if (_root.cmap[s + 1] == 0) { dir = 2; } else { dir = 3; } } else if (((dir == 2) and (((_root.cmap[s + 1] != 0) or (_root.cmap[s - 12] == 0)) or (_root.cmap[s + 12] == 0))) and (((this._x + 10) % 40) == 0)) { if (((_root.cmap[s + 12] == 0) and (_root.cmap[s - 12] == 0)) and (_root.cmap[s + 1] == 0)) { if (rand2 == 1) { dir = 1; } else if (rand2 == 2) { dir = 3; } else { dir = 2; } } else if ((_root.cmap[s - 12] == 0) and (_root.cmap[s + 1] == 0)) { if (rand == 1) { dir = 1; } else { dir = 2; } } else if ((_root.cmap[s + 12] == 0) and (_root.cmap[s + 1] == 0)) { if (rand == 1) { dir = 3; } else { dir = 2; } } else if ((_root.cmap[s + 12] == 0) and (_root.cmap[s - 12] == 0)) { if (rand == 1) { dir = 3; } else { dir = 1; } } else if (_root.cmap[s + 12] == 0) { dir = 3; } else if (_root.cmap[s - 12] == 0) { dir = 1; } } else if (((dir == 3) and ((_root.cmap[s + 12] != 0) or (_root.cmap[s + 1] == 0))) and (((this._y + 10) % 40) == 0)) { if ((_root.cmap[s + 1] == 0) and (_root.cmap[s + 12] == 0)) { if (rand == 1) { dir = 2; } else { dir = 3; } } else if (_root.cmap[s + 1] == 0) { dir = 2; } else { dir = 1; } } } }
Instance of Symbol 452 MovieClip "en9" in Frame 1
onClipEvent (load) { dir = 3; } onClipEvent (enterFrame) { h = Math.round(((this._x - 30) / 40) + 1); v = Math.round(((this._y - 30) / 40) + 1); s = ((h + (v * 12)) - 12) - 1; rand = random(2); rand2 = random(3); if (this._y > 510) { removeMovieClip(this); _root.deaden = _root.deaden + 1; _root.lives = _root.lives - 1; } else if ((_root.sendwave == true) and (this._name != "en9")) { if (dir == 1) { this._y = this._y - 2; } if (dir == 2) { this._x = this._x + 2; } if (dir == 3) { this._y = this._y + 2; } if (this._y <= 0) { } else if (this._y >= 470) { } else if (((dir == 1) and ((_root.cmap[s - 12] != 0) or (_root.cmap[s + 1] == 0))) and (((this._y + 10) % 40) == 0)) { if ((_root.cmap[s + 1] == 0) and (_root.cmap[s - 12] == 0)) { if (rand == 1) { dir = 2; } else { dir = 1; } } else if (_root.cmap[s + 1] == 0) { dir = 2; } else { dir = 3; } } else if (((dir == 2) and (((_root.cmap[s + 1] != 0) or (_root.cmap[s - 12] == 0)) or (_root.cmap[s + 12] == 0))) and (((this._x + 10) % 40) == 0)) { if (((_root.cmap[s + 12] == 0) and (_root.cmap[s - 12] == 0)) and (_root.cmap[s + 1] == 0)) { if (rand2 == 1) { dir = 1; } else if (rand2 == 2) { dir = 3; } else { dir = 2; } } else if ((_root.cmap[s - 12] == 0) and (_root.cmap[s + 1] == 0)) { if (rand == 1) { dir = 1; } else { dir = 2; } } else if ((_root.cmap[s + 12] == 0) and (_root.cmap[s + 1] == 0)) { if (rand == 1) { dir = 3; } else { dir = 2; } } else if ((_root.cmap[s + 12] == 0) and (_root.cmap[s - 12] == 0)) { if (rand == 1) { dir = 3; } else { dir = 1; } } else if (_root.cmap[s + 12] == 0) { dir = 3; } else if (_root.cmap[s - 12] == 0) { dir = 1; } } else if (((dir == 3) and ((_root.cmap[s + 12] != 0) or (_root.cmap[s + 1] == 0))) and (((this._y + 10) % 40) == 0)) { if ((_root.cmap[s + 1] == 0) and (_root.cmap[s + 12] == 0)) { if (rand == 1) { dir = 2; } else { dir = 3; } } else if (_root.cmap[s + 1] == 0) { dir = 2; } else { dir = 1; } } } }
Instance of Symbol 485 MovieClip "LToriginal" in Frame 1
onClipEvent (load) { consider = false; ulvl = 0; damage = 4000; range = 150; speed = 1; cost = 1500; clicked = false; ranged = false; rangetick = 0; timer = 100; } onClipEvent (mouseDown) { if ((((clicked == false) and (Math.abs(_root._xmouse - this._x) <= 20)) and (Math.abs(_root._ymouse - this._y) <= 20)) and (this._name != "LToriginal")) { clicked = true; ranged = true; consider = true; _root.showupgrade = true; _root.ctlvl = ulvl; _root.ctdam = damage; _root.ctr = range; _root.cts = speed; _root.ctsp = Math.round(cost / 2); _root.ctulvl = ulvl + 1; _root.ctudam = Math.round(_root.ltd[_root.ctulvl] + (_root.ltd[_root.ctulvl] * _root.dambonus)); _root.ctur = Math.round((range + 10) + ((range + 10) * _root.rangebonus)); _root.ctus = speed; _root.ctuc = _root.ltc[_root.ctulvl]; } else if (((((((clicked == true) and ((Math.abs(_root._xmouse - this._x) > 20) or (Math.abs(_root._ymouse - this._y) > 20))) and (ranged == false)) and ((_root._xmouse < 500) or ((_root._xmouse > 500) and ((_root._ymouse < 155) or (_root._ymouse > 400))))) and (_root._ymouse > 10)) and (_root._ymouse < 490)) and (_root._xmouse < 790)) { _root.rangeindi._y = 900; clicked = false; consider = false; h = Math.round(((_root._xmouse - 30) / 40) + 1); v = Math.round(((_root._ymouse - 30) / 40) + 1); s = ((h + (v * 12)) - 12) - 1; if (((_root.cmap[s] == 0) or (_root.cmap[s] == 1)) or (_root.cmap[s] == undefined)) { _root.showupgrade = false; } } } onClipEvent (enterFrame) { if (_root.displayup == true) { uplvltxt.text = String(ulvl); } else { uplvltxt.text = ""; } timer = timer + 1; rangetick = rangetick + 1; if ((rangetick == 2) and (ranged == true)) { _root.rangeindi._x = this._x; _root.rangeindi._y = this._y; _root.rangeindi.gotoAndStop(range - 79); ranged = false; } if (rangetick >= 2) { rangetick = 0; } if ((((_root.air == true) and (_root.sendwave == true)) and (timer >= 20)) and (this._name != "LToriginal")) { t = 1; while (t <= 21) { if ((_root.dist(this._x, this._y, _root["enem" + t]._x, _root["enem" + t]._y) <= (range + 10)) and (_root["enem" + t] != undefined)) { _root.missfire(); duplicateMovieClip (_root.ltammo, "ltammo" + _root.ltamnum, 550 + _root.ltamnum); _root["ltammo" + _root.ltamnum]._x = this._x; _root["ltammo" + _root.ltamnum]._y = this._y; _root["ltammo" + _root.ltamnum].enemy = t; _root["ltammo" + _root.ltamnum].damage = damage; _root["ltammo" + _root.ltamnum].xr = _root["enem" + t]._x - this._x; _root["ltammo" + _root.ltamnum].yr = _root["enem" + t]._y - this._y; _root["ltammo" + _root.ltamnum].unit = _root.dist(this._x, this._y, _root["enem" + t]._x, _root["enem" + t]._y); _root["ltammo" + _root.ltamnum].range = range; timer = 0; t = 30; _root.ltamnum = _root.ltamnum + 1; if (_root.ltamnum >= 50) { _root.ltamnum = 1; } } t = t + 1; } } if (consider == true) { if (_root.selltower == true) { consider = false; clicked = false; _root.rangeindi._y = 900; _root.upgradetower = false; _root.selltower = false; _root.showupgrade = false; loc = ((this._x + 10) / 40) - 1; loc = loc + ((((this._y + 10) / 40) - 1) * 12); _root.cmap[loc] = "1"; removeMovieClip(this); } if (_root.upgradetower == true) { consider = false; clicked = false; _root.rangeindi._y = 900; _root.upgradetower = false; _root.showupgrade = false; ulvl = _root.ctulvl; damage = _root.ctudam; range = _root.ctur; speed = _root.ctus; cost = cost + _root.ctuc; } } }
Instance of Symbol 492 MovieClip "HToriginal" in Frame 1
onClipEvent (load) { consider = false; ulvl = 0; damage = 3500; range = 210; speed = 2; cost = 1800; clicked = false; ranged = false; rangetick = 0; timer = 100; } onClipEvent (mouseDown) { if ((((clicked == false) and (Math.abs(_root._xmouse - this._x) <= 20)) and (Math.abs(_root._ymouse - this._y) <= 20)) and (this._name != "HToriginal")) { clicked = true; ranged = true; consider = true; _root.showupgrade = true; _root.ctlvl = ulvl; _root.ctdam = damage; _root.ctr = range; _root.cts = speed; _root.ctsp = Math.round(cost / 2); _root.ctulvl = ulvl + 1; _root.ctudam = Math.round(_root.htd[_root.ctulvl] + (_root.htd[_root.ctulvl] * _root.dambonus)); _root.ctur = Math.round((range + 10) + ((range + 10) * _root.rangebonus)); _root.ctus = speed; _root.ctuc = _root.htc[_root.ctulvl]; } else if (((((((clicked == true) and ((Math.abs(_root._xmouse - this._x) > 20) or (Math.abs(_root._ymouse - this._y) > 20))) and (ranged == false)) and ((_root._xmouse < 500) or ((_root._xmouse > 500) and ((_root._ymouse < 155) or (_root._ymouse > 400))))) and (_root._ymouse > 10)) and (_root._ymouse < 490)) and (_root._xmouse < 790)) { _root.rangeindi._y = 900; clicked = false; consider = false; h = Math.round(((_root._xmouse - 30) / 40) + 1); v = Math.round(((_root._ymouse - 30) / 40) + 1); s = ((h + (v * 12)) - 12) - 1; if (((_root.cmap[s] == 0) or (_root.cmap[s] == 1)) or (_root.cmap[s] == undefined)) { _root.showupgrade = false; } } } onClipEvent (enterFrame) { if (_root.displayup == true) { uplvltxt.text = String(ulvl); } else { uplvltxt.text = ""; } timer = timer + 1; rangetick = rangetick + 1; if ((rangetick == 2) and (ranged == true)) { _root.rangeindi._x = this._x; _root.rangeindi._y = this._y; _root.rangeindi.gotoAndStop(range - 79); ranged = false; } if (rangetick >= 2) { rangetick = 0; } if (((_root.sendwave == true) and (timer >= 35)) and (this._name != "HToriginal")) { t = 1; while (t <= 21) { if ((_root.dist(this._x, this._y, _root["enem" + t]._x, _root["enem" + t]._y) <= range) and (_root["enem" + t] != undefined)) { _root.missfire(); duplicateMovieClip (_root.htammo, "htammo" + _root.htamnum, 550 + _root.htamnum); _root["htammo" + _root.htamnum]._x = this._x; _root["htammo" + _root.htamnum]._y = this._y; _root["htammo" + _root.htamnum].enemy = t; _root["htammo" + _root.htamnum].damage = damage; _root["htammo" + _root.htamnum].xr = _root["enem" + t]._x - this._x; _root["htammo" + _root.htamnum].yr = _root["enem" + t]._y - this._y; _root["htammo" + _root.htamnum].unit = _root.dist(this._x, this._y, _root["enem" + t]._x, _root["enem" + t]._y); _root["htammo" + _root.htamnum].range = range; timer = 0; t = 30; _root.htamnum = _root.htamnum + 1; if (_root.htamnum >= 50) { _root.htamnum = 1; } } t = t + 1; } } if (consider == true) { if (_root.selltower == true) { consider = false; clicked = false; _root.rangeindi._y = 900; _root.upgradetower = false; _root.selltower = false; _root.showupgrade = false; loc = ((this._x + 10) / 40) - 1; loc = loc + ((((this._y + 10) / 40) - 1) * 12); _root.cmap[loc] = "1"; removeMovieClip(this); } if (_root.upgradetower == true) { consider = false; clicked = false; _root.rangeindi._y = 900; _root.upgradetower = false; _root.showupgrade = false; ulvl = _root.ctulvl; damage = _root.ctudam; range = _root.ctur; speed = _root.ctus; cost = cost + _root.ctuc; } } }
Instance of Symbol 495 MovieClip "ptammo" in Frame 1
onClipEvent (load) { travel = 0; } onClipEvent (enterFrame) { xr = _root["enem" + enemy]._x - this._x; yr = _root["enem" + enemy]._y - this._y; unit = _root.dist(this._x, this._y, _root["enem" + enemy]._x, _root["enem" + enemy]._y); if ((this._name != "ptammo") and (this._x > -10)) { xm = this._x; ym = this._y; this._x = this._x + ((xr / unit) * 5); this._y = this._y + ((yr / unit) * 5); if ((xr < 0) and (yr < 0)) { angle = (Math.atan((yr / unit) / (xr / unit)) * 180) / 3.14; this._rotation = 270 + Math.round(angle); } else if ((xr < 0) and (yr > 0)) { angle = (Math.atan((xr / unit) / (yr / unit)) * 180) / 3.14; this._rotation = 180 + Math.abs(Math.round(angle)); } else if ((xr > 0) and (yr > 0)) { angle = (Math.atan((yr / unit) / (xr / unit)) * 180) / 3.14; this._rotation = 90 + Math.abs(Math.round(angle)); } else if ((xr > 0) and (yr < 0)) { angle = (Math.atan((xr / unit) / (yr / unit)) * 180) / 3.14; this._rotation = Math.abs(Math.round(angle)); } else if ((xr == 0) and (yr > 0)) { this._rotation = 180; } else if ((yr == 0) and (xr > 0)) { this._rotation = 90; } else if ((yr == 0) and (xr < 0)) { this._rotation = 270; } if ((xm == this._x) and (ym == this._y)) { _root.hitexplode(this._x, this._y); removeMovieClip(this); } } t = 1; while (t <= 20) { if (((Math.abs(this._x - _root["enem" + t]._x) <= 12) and (Math.abs(this._y - _root["enem" + t]._y) <= 12)) and (_root["enem" + t] != undefined)) { _root.cenlife[t] = _root.cenlife[t] - damage; if (_root.cenlife[t] > 0) { _root.hitexplode(_root["enem" + t]._x, _root["enem" + t]._y); } removeMovieClip(this); t = 21; } t = t + 1; } }
Instance of Symbol 495 MovieClip "ltammo" in Frame 1
onClipEvent (load) { travel = 0; } onClipEvent (enterFrame) { xr = _root["enem" + enemy]._x - this._x; yr = _root["enem" + enemy]._y - this._y; unit = _root.dist(this._x, this._y, _root["enem" + enemy]._x, _root["enem" + enemy]._y); if ((this._name != "ltammo") and (this._x > -10)) { xm = this._x; ym = this._y; this._x = this._x + ((xr / unit) * 5); this._y = this._y + ((yr / unit) * 5); if ((xr < 0) and (yr < 0)) { angle = (Math.atan((yr / unit) / (xr / unit)) * 180) / 3.14; this._rotation = 270 + Math.round(angle); } else if ((xr < 0) and (yr > 0)) { angle = (Math.atan((xr / unit) / (yr / unit)) * 180) / 3.14; this._rotation = 180 + Math.abs(Math.round(angle)); } else if ((xr > 0) and (yr > 0)) { angle = (Math.atan((yr / unit) / (xr / unit)) * 180) / 3.14; this._rotation = 90 + Math.abs(Math.round(angle)); } else if ((xr > 0) and (yr < 0)) { angle = (Math.atan((xr / unit) / (yr / unit)) * 180) / 3.14; this._rotation = Math.abs(Math.round(angle)); } else if ((xr == 0) and (yr > 0)) { this._rotation = 180; } else if ((yr == 0) and (xr > 0)) { this._rotation = 90; } else if ((yr == 0) and (xr < 0)) { this._rotation = 270; } if ((xm == this._x) and (ym == this._y)) { _root.hitexplode(this._x, this._y); removeMovieClip(this); } } t = 1; while (t <= 20) { if (((Math.abs(this._x - _root["enem" + t]._x) <= 12) and (Math.abs(this._y - _root["enem" + t]._y) <= 12)) and (_root["enem" + t] != undefined)) { _root.cenlife[t] = _root.cenlife[t] - damage; if (_root.cenlife[t] > 0) { _root.hitexplode(_root["enem" + t]._x, _root["enem" + t]._y); } removeMovieClip(this); t = 21; } t = t + 1; } }
Instance of Symbol 498 MovieClip "BToriginal" in Frame 1
onClipEvent (load) { consider = false; ulvl = 0; damage = 3500; range = 200; speed = 3; cost = 1200; clicked = false; ranged = false; rangetick = 0; timer = 100; } onClipEvent (mouseDown) { if ((((clicked == false) and (Math.abs(_root._xmouse - this._x) <= 20)) and (Math.abs(_root._ymouse - this._y) <= 20)) and (this._name != "BToriginal")) { clicked = true; ranged = true; consider = true; _root.showupgrade = true; _root.ctlvl = ulvl; _root.ctdam = damage; _root.ctr = range; _root.cts = speed; _root.ctsp = Math.round(cost / 2); _root.ctulvl = ulvl + 1; _root.ctudam = Math.round(_root.btd[_root.ctulvl] + (_root.btd[_root.ctulvl] * _root.dambonus)); _root.ctur = Math.round((range + 10) + ((range + 10) * _root.rangebonus)); _root.ctus = speed; _root.ctuc = _root.btc[_root.ctulvl]; } else if (((((((clicked == true) and ((Math.abs(_root._xmouse - this._x) > 20) or (Math.abs(_root._ymouse - this._y) > 20))) and (ranged == false)) and ((_root._xmouse < 500) or ((_root._xmouse > 500) and ((_root._ymouse < 155) or (_root._ymouse > 400))))) and (_root._ymouse > 10)) and (_root._ymouse < 490)) and (_root._xmouse < 790)) { _root.rangeindi._y = 900; clicked = false; consider = false; h = Math.round(((_root._xmouse - 30) / 40) + 1); v = Math.round(((_root._ymouse - 30) / 40) + 1); s = ((h + (v * 12)) - 12) - 1; if (((_root.cmap[s] == 0) or (_root.cmap[s] == 1)) or (_root.cmap[s] == undefined)) { _root.showupgrade = false; } } } onClipEvent (enterFrame) { if (_root.displayup == true) { uplvltxt.text = String(ulvl); } else { uplvltxt.text = ""; } timer = timer + 1; rangetick = rangetick + 1; if ((rangetick == 2) and (ranged == true)) { _root.rangeindi._x = this._x; _root.rangeindi._y = this._y; _root.rangeindi.gotoAndStop(range - 79); ranged = false; } if (rangetick >= 2) { rangetick = 0; } if ((((_root.land == true) and (_root.sendwave == true)) and (timer >= 50)) and (this._name != "BToriginal")) { t = 1; while (t <= 21) { if ((_root.dist(this._x, this._y, _root["enem" + t]._x, _root["enem" + t]._y) <= (range + 10)) and (_root["enem" + t] != undefined)) { _root.mortarfire(); duplicateMovieClip (_root.btammo, "btammo" + _root.btamnum, 550 + _root.btamnum); _root["btammo" + _root.btamnum]._x = this._x; _root["btammo" + _root.btamnum]._y = this._y; _root["btammo" + _root.btamnum].enemy = t; _root["btammo" + _root.btamnum].damage = damage; _root["btammo" + _root.btamnum].xr = _root["enem" + t]._x - this._x; _root["btammo" + _root.btamnum].yr = _root["enem" + t]._y - this._y; _root["btammo" + _root.btamnum].unit = _root.dist(this._x, this._y, _root["enem" + t]._x, _root["enem" + t]._y); _root["btammo" + _root.btamnum].range = range; timer = 0; t = 30; _root.btamnum = _root.btamnum + 1; if (_root.btamnum >= 50) { _root.btamnum = 1; } } t = t + 1; } } if (consider == true) { if (_root.selltower == true) { consider = false; clicked = false; _root.rangeindi._y = 900; _root.upgradetower = false; _root.selltower = false; _root.showupgrade = false; loc = ((this._x + 10) / 40) - 1; loc = loc + ((((this._y + 10) / 40) - 1) * 12); _root.cmap[loc] = "1"; removeMovieClip(this); } if (_root.upgradetower == true) { consider = false; clicked = false; _root.rangeindi._y = 900; _root.upgradetower = false; _root.showupgrade = false; ulvl = _root.ctulvl; damage = _root.ctudam; range = _root.ctur; speed = _root.ctus; cost = cost + _root.ctuc; } } }
Instance of Symbol 501 MovieClip "htammo" in Frame 1
onClipEvent (load) { travel = 0; } onClipEvent (enterFrame) { xr = _root["enem" + enemy]._x - this._x; yr = _root["enem" + enemy]._y - this._y; unit = _root.dist(this._x, this._y, _root["enem" + enemy]._x, _root["enem" + enemy]._y); if ((this._name != "htammo") and (this._x > -10)) { xm = this._x; ym = this._y; this._x = this._x + ((xr / unit) * 5); this._y = this._y + ((yr / unit) * 5); if ((xr < 0) and (yr < 0)) { angle = (Math.atan((yr / unit) / (xr / unit)) * 180) / 3.14; this._rotation = 270 + Math.round(angle); } else if ((xr < 0) and (yr > 0)) { angle = (Math.atan((xr / unit) / (yr / unit)) * 180) / 3.14; this._rotation = 180 + Math.abs(Math.round(angle)); } else if ((xr > 0) and (yr > 0)) { angle = (Math.atan((yr / unit) / (xr / unit)) * 180) / 3.14; this._rotation = 90 + Math.abs(Math.round(angle)); } else if ((xr > 0) and (yr < 0)) { angle = (Math.atan((xr / unit) / (yr / unit)) * 180) / 3.14; this._rotation = Math.abs(Math.round(angle)); } else if ((xr == 0) and (yr > 0)) { this._rotation = 180; } else if ((yr == 0) and (xr > 0)) { this._rotation = 90; } else if ((yr == 0) and (xr < 0)) { this._rotation = 270; } if ((xm == this._x) and (ym == this._y)) { _root.hitexplode(this._x, this._y); removeMovieClip(this); } } t = 1; while (t <= 20) { if (((Math.abs(this._x - _root["enem" + t]._x) <= 12) and (Math.abs(this._y - _root["enem" + t]._y) <= 12)) and (_root["enem" + t] != undefined)) { _root.cenlife[t] = _root.cenlife[t] - damage; if (_root.cenlife[t] > 0) { _root.hitexplode(_root["enem" + t]._x, _root["enem" + t]._y); } removeMovieClip(this); t = 21; } t = t + 1; } }
Instance of Symbol 503 MovieClip "en11" in Frame 1
onClipEvent (load) { dir = 3; } onClipEvent (enterFrame) { h = Math.round(((this._x - 30) / 40) + 1); v = Math.round(((this._y - 30) / 40) + 1); s = ((h + (v * 12)) - 12) - 1; rand = random(2); rand2 = random(3); if (this._y > 510) { removeMovieClip(this); _root.deaden = _root.deaden + 1; _root.lives = _root.lives - 1; } else if ((_root.sendwave == true) and (this._name != "en11")) { if (dir == 1) { this._y = this._y - 2; } if (dir == 2) { this._x = this._x + 2; } if (dir == 3) { this._y = this._y + 2; } if (this._y <= 0) { } else if (this._y >= 470) { } else if (((dir == 1) and ((_root.cmap[s - 12] != 0) or (_root.cmap[s + 1] == 0))) and (((this._y + 10) % 40) == 0)) { if ((_root.cmap[s + 1] == 0) and (_root.cmap[s - 12] == 0)) { if (rand == 1) { dir = 2; } else { dir = 1; } } else if (_root.cmap[s + 1] == 0) { dir = 2; } else { dir = 3; } } else if (((dir == 2) and (((_root.cmap[s + 1] != 0) or (_root.cmap[s - 12] == 0)) or (_root.cmap[s + 12] == 0))) and (((this._x + 10) % 40) == 0)) { if (((_root.cmap[s + 12] == 0) and (_root.cmap[s - 12] == 0)) and (_root.cmap[s + 1] == 0)) { if (rand2 == 1) { dir = 1; } else if (rand2 == 2) { dir = 3; } else { dir = 2; } } else if ((_root.cmap[s - 12] == 0) and (_root.cmap[s + 1] == 0)) { if (rand == 1) { dir = 1; } else { dir = 2; } } else if ((_root.cmap[s + 12] == 0) and (_root.cmap[s + 1] == 0)) { if (rand == 1) { dir = 3; } else { dir = 2; } } else if ((_root.cmap[s + 12] == 0) and (_root.cmap[s - 12] == 0)) { if (rand == 1) { dir = 3; } else { dir = 1; } } else if (_root.cmap[s + 12] == 0) { dir = 3; } else if (_root.cmap[s - 12] == 0) { dir = 1; } } else if (((dir == 3) and ((_root.cmap[s + 12] != 0) or (_root.cmap[s + 1] == 0))) and (((this._y + 10) % 40) == 0)) { if ((_root.cmap[s + 1] == 0) and (_root.cmap[s + 12] == 0)) { if (rand == 1) { dir = 2; } else { dir = 3; } } else if (_root.cmap[s + 1] == 0) { dir = 2; } else { dir = 1; } } } }
Instance of Symbol 505 MovieClip "en13" in Frame 1
onClipEvent (load) { dir = 3; } onClipEvent (enterFrame) { h = Math.round(((this._x - 30) / 40) + 1); v = Math.round(((this._y - 30) / 40) + 1); s = ((h + (v * 12)) - 12) - 1; rand = random(2); rand2 = random(3); if (this._y > 510) { removeMovieClip(this); _root.deaden = _root.deaden + 1; _root.lives = _root.lives - 1; } else if ((_root.sendwave == true) and (this._name != "en13")) { if (dir == 1) { this._y = this._y - 2; } if (dir == 2) { this._x = this._x + 2; } if (dir == 3) { this._y = this._y + 2; } if (this._y <= 0) { } else if (this._y >= 470) { } else if (((dir == 1) and ((_root.cmap[s - 12] != 0) or (_root.cmap[s + 1] == 0))) and (((this._y + 10) % 40) == 0)) { if ((_root.cmap[s + 1] == 0) and (_root.cmap[s - 12] == 0)) { if (rand == 1) { dir = 2; } else { dir = 1; } } else if (_root.cmap[s + 1] == 0) { dir = 2; } else { dir = 3; } } else if (((dir == 2) and (((_root.cmap[s + 1] != 0) or (_root.cmap[s - 12] == 0)) or (_root.cmap[s + 12] == 0))) and (((this._x + 10) % 40) == 0)) { if (((_root.cmap[s + 12] == 0) and (_root.cmap[s - 12] == 0)) and (_root.cmap[s + 1] == 0)) { if (rand2 == 1) { dir = 1; } else if (rand2 == 2) { dir = 3; } else { dir = 2; } } else if ((_root.cmap[s - 12] == 0) and (_root.cmap[s + 1] == 0)) { if (rand == 1) { dir = 1; } else { dir = 2; } } else if ((_root.cmap[s + 12] == 0) and (_root.cmap[s + 1] == 0)) { if (rand == 1) { dir = 3; } else { dir = 2; } } else if ((_root.cmap[s + 12] == 0) and (_root.cmap[s - 12] == 0)) { if (rand == 1) { dir = 3; } else { dir = 1; } } else if (_root.cmap[s + 12] == 0) { dir = 3; } else if (_root.cmap[s - 12] == 0) { dir = 1; } } else if (((dir == 3) and ((_root.cmap[s + 12] != 0) or (_root.cmap[s + 1] == 0))) and (((this._y + 10) % 40) == 0)) { if ((_root.cmap[s + 1] == 0) and (_root.cmap[s + 12] == 0)) { if (rand == 1) { dir = 2; } else { dir = 3; } } else if (_root.cmap[s + 1] == 0) { dir = 2; } else { dir = 1; } } } }
Instance of Symbol 511 MovieClip "en10" in Frame 1
onClipEvent (load) { dir = 3; } onClipEvent (enterFrame) { h = Math.round(((this._x - 30) / 40) + 1); v = Math.round(((this._y - 30) / 40) + 1); s = ((h + (v * 12)) - 12) - 1; rand = random(2); rand2 = random(3); if (this._y > 510) { removeMovieClip(this); _root.deaden = _root.deaden + 1; _root.lives = _root.lives - 1; } else if ((_root.sendwave == true) and (this._name != "en10")) { if (dir == 1) { this._y = this._y - 2; } if (dir == 2) { this._x = this._x + 2; } if (dir == 3) { this._y = this._y + 2; } if (this._y <= 0) { } else if (this._y >= 470) { } else if (((dir == 1) and ((_root.cmap[s - 12] != 0) or (_root.cmap[s + 1] == 0))) and (((this._y + 10) % 40) == 0)) { if ((_root.cmap[s + 1] == 0) and (_root.cmap[s - 12] == 0)) { if (rand == 1) { dir = 2; } else { dir = 1; } } else if (_root.cmap[s + 1] == 0) { dir = 2; } else { dir = 3; } } else if (((dir == 2) and (((_root.cmap[s + 1] != 0) or (_root.cmap[s - 12] == 0)) or (_root.cmap[s + 12] == 0))) and (((this._x + 10) % 40) == 0)) { if (((_root.cmap[s + 12] == 0) and (_root.cmap[s - 12] == 0)) and (_root.cmap[s + 1] == 0)) { if (rand2 == 1) { dir = 1; } else if (rand2 == 2) { dir = 3; } else { dir = 2; } } else if ((_root.cmap[s - 12] == 0) and (_root.cmap[s + 1] == 0)) { if (rand == 1) { dir = 1; } else { dir = 2; } } else if ((_root.cmap[s + 12] == 0) and (_root.cmap[s + 1] == 0)) { if (rand == 1) { dir = 3; } else { dir = 2; } } else if ((_root.cmap[s + 12] == 0) and (_root.cmap[s - 12] == 0)) { if (rand == 1) { dir = 3; } else { dir = 1; } } else if (_root.cmap[s + 12] == 0) { dir = 3; } else if (_root.cmap[s - 12] == 0) { dir = 1; } } else if (((dir == 3) and ((_root.cmap[s + 12] != 0) or (_root.cmap[s + 1] == 0))) and (((this._y + 10) % 40) == 0)) { if ((_root.cmap[s + 1] == 0) and (_root.cmap[s + 12] == 0)) { if (rand == 1) { dir = 2; } else { dir = 3; } } else if (_root.cmap[s + 1] == 0) { dir = 2; } else { dir = 1; } } } }
Instance of Symbol 519 MovieClip "en12" in Frame 1
onClipEvent (load) { dir = 3; } onClipEvent (enterFrame) { h = Math.round(((this._x - 30) / 40) + 1); v = Math.round(((this._y - 30) / 40) + 1); s = ((h + (v * 12)) - 12) - 1; rand = random(2); rand2 = random(3); if (this._y > 510) { removeMovieClip(this); _root.deaden = _root.deaden + 1; _root.lives = _root.lives - 1; } else if ((_root.sendwave == true) and (this._name != "en12")) { if (dir == 1) { this._y = this._y - 2; } if (dir == 2) { this._x = this._x + 2; } if (dir == 3) { this._y = this._y + 2; } if (this._y <= 0) { } else if (this._y >= 470) { } else if (((dir == 1) and ((_root.cmap[s - 12] != 0) or (_root.cmap[s + 1] == 0))) and (((this._y + 10) % 40) == 0)) { if ((_root.cmap[s + 1] == 0) and (_root.cmap[s - 12] == 0)) { if (rand == 1) { dir = 2; } else { dir = 1; } } else if (_root.cmap[s + 1] == 0) { dir = 2; } else { dir = 3; } } else if (((dir == 2) and (((_root.cmap[s + 1] != 0) or (_root.cmap[s - 12] == 0)) or (_root.cmap[s + 12] == 0))) and (((this._x + 10) % 40) == 0)) { if (((_root.cmap[s + 12] == 0) and (_root.cmap[s - 12] == 0)) and (_root.cmap[s + 1] == 0)) { if (rand2 == 1) { dir = 1; } else if (rand2 == 2) { dir = 3; } else { dir = 2; } } else if ((_root.cmap[s - 12] == 0) and (_root.cmap[s + 1] == 0)) { if (rand == 1) { dir = 1; } else { dir = 2; } } else if ((_root.cmap[s + 12] == 0) and (_root.cmap[s + 1] == 0)) { if (rand == 1) { dir = 3; } else { dir = 2; } } else if ((_root.cmap[s + 12] == 0) and (_root.cmap[s - 12] == 0)) { if (rand == 1) { dir = 3; } else { dir = 1; } } else if (_root.cmap[s + 12] == 0) { dir = 3; } else if (_root.cmap[s - 12] == 0) { dir = 1; } } else if (((dir == 3) and ((_root.cmap[s + 12] != 0) or (_root.cmap[s + 1] == 0))) and (((this._y + 10) % 40) == 0)) { if ((_root.cmap[s + 1] == 0) and (_root.cmap[s + 12] == 0)) { if (rand == 1) { dir = 2; } else { dir = 3; } } else if (_root.cmap[s + 1] == 0) { dir = 2; } else { dir = 1; } } } }
Instance of Symbol 527 MovieClip "en14" in Frame 1
onClipEvent (load) { dir = 3; } onClipEvent (enterFrame) { h = Math.round(((this._x - 30) / 40) + 1); v = Math.round(((this._y - 30) / 40) + 1); s = ((h + (v * 12)) - 12) - 1; rand = random(2); rand2 = random(3); if (this._y > 510) { removeMovieClip(this); _root.deaden = _root.deaden + 1; _root.lives = _root.lives - 1; } else if ((_root.sendwave == true) and (this._name != "en14")) { if (dir == 1) { this._y = this._y - 2; } if (dir == 2) { this._x = this._x + 2; } if (dir == 3) { this._y = this._y + 2; } if (this._y <= 0) { } else if (this._y >= 470) { } else if (((dir == 1) and ((_root.cmap[s - 12] != 0) or (_root.cmap[s + 1] == 0))) and (((this._y + 10) % 40) == 0)) { if ((_root.cmap[s + 1] == 0) and (_root.cmap[s - 12] == 0)) { if (rand == 1) { dir = 2; } else { dir = 1; } } else if (_root.cmap[s + 1] == 0) { dir = 2; } else { dir = 3; } } else if (((dir == 2) and (((_root.cmap[s + 1] != 0) or (_root.cmap[s - 12] == 0)) or (_root.cmap[s + 12] == 0))) and (((this._x + 10) % 40) == 0)) { if (((_root.cmap[s + 12] == 0) and (_root.cmap[s - 12] == 0)) and (_root.cmap[s + 1] == 0)) { if (rand2 == 1) { dir = 1; } else if (rand2 == 2) { dir = 3; } else { dir = 2; } } else if ((_root.cmap[s - 12] == 0) and (_root.cmap[s + 1] == 0)) { if (rand == 1) { dir = 1; } else { dir = 2; } } else if ((_root.cmap[s + 12] == 0) and (_root.cmap[s + 1] == 0)) { if (rand == 1) { dir = 3; } else { dir = 2; } } else if ((_root.cmap[s + 12] == 0) and (_root.cmap[s - 12] == 0)) { if (rand == 1) { dir = 3; } else { dir = 1; } } else if (_root.cmap[s + 12] == 0) { dir = 3; } else if (_root.cmap[s - 12] == 0) { dir = 1; } } else if (((dir == 3) and ((_root.cmap[s + 12] != 0) or (_root.cmap[s + 1] == 0))) and (((this._y + 10) % 40) == 0)) { if ((_root.cmap[s + 1] == 0) and (_root.cmap[s + 12] == 0)) { if (rand == 1) { dir = 2; } else { dir = 3; } } else if (_root.cmap[s + 1] == 0) { dir = 2; } else { dir = 1; } } } }
Symbol 164 Button
on (release) { _root.gamecompletesheet._x = 900; _root.creditsheet._x = 500; _root.creditsheet._y = 155; }
Symbol 165 MovieClip Frame 53
stop(); finalscore.text = "FINAL SCORE: " + _root.score;
Symbol 172 Button
on (release) { _root.score = 0; _root.lives = 20; _root.resources = 0; _root.rad = 0; _root.clevel = 0; _root.gamestart = false; _root.gameover = false; _root.rangeindi._y = 1000; _root.deaden = 0; _root.killeden = 0; _root.dambonus = 0; _root.rangebonus = 0; _root.showupgrade = false; _root.upgradetower = false; _root.selltower = false; _root.mapa._x = 10; _root.mapa._y = 10; _root.mapp = 1; _root.mapb._x = -500; _root.mapc._x = -500; _root.mapd._x = -500; _root.mape._x = -500; _root.mapf._x = -500; _root.gamecompletesheet._x = 900; _root.creditsheet._x = 900; _root.introsheet.gotoAndPlay(1); _root.introsheet._x = 500; t = 1; while (t <= 200) { removeMovieClip(_root["enem" + t]); removeMovieClip(_root["GT" + t]); t = t + 1; } }
Symbol 187 Button
on (release) { if (((_root.gamestart == true) and (_root.sendwave == false)) and (_root.clevel < 40)) { _root.sendwave = true; _root.clevel = _root.clevel + 1; } }
Symbol 201 Button
on (release) { if (gamestart == true) { _root.advsheet._x = 900; _root.upgradesheet._x = 900; _root.radsheet._x = 900; _root.stdsheet._x = 500; _root.stdsheet._y = 155; } }
Symbol 208 Button
on (release) { if (gamestart == true) { _root.stdsheet._x = 900; _root.upgradesheet._x = 900; _root.radsheet._x = 900; _root.advsheet._x = 500; _root.advsheet._y = 155; } }
Symbol 215 Button
on (release) { if (gamestart == true) { _root.stdsheet._x = 900; _root.advsheet._x = 900; _root.upgradesheet._y = 900; _root.radsheet._x = 500; _root.radsheet._y = 155; } }
Symbol 261 Button
on (release) { if (_root.mapp == 1) { _root.mapp = 7; _root.mapa._x = -500; _root.mapg._x = 10; _root.mapg._y = 10; } else if (_root.mapp == 2) { _root.mapp = 1; _root.mapb._x = -500; _root.mapa._x = 10; _root.mapa._y = 10; } else if (_root.mapp == 3) { _root.mapp = 2; _root.mapc._x = -500; _root.mapb._x = 10; _root.mapb._y = 10; } else if (_root.mapp == 4) { _root.mapp = 3; _root.mapd._x = -500; _root.mapc._x = 10; _root.mapc._y = 10; } else if (_root.mapp == 5) { _root.mapp = 4; _root.mape._x = -500; _root.mapd._x = 10; _root.mapd._y = 10; } else if (_root.mapp == 6) { _root.mapp = 5; _root.mapf._x = -500; _root.mape._x = 10; _root.mape._y = 10; } else if (_root.mapp == 7) { _root.mapp = 6; _root.mapg._x = -500; _root.mapf._x = 10; _root.mapf._y = 10; } maptxt.text = ("Map " + String(_root.mapp)) + "/7"; }
Symbol 262 Button
on (release) { if (_root.mapp == 1) { _root.mapp = 2; _root.mapa._x = -500; _root.mapb._x = 10; _root.mapb._y = 10; } else if (_root.mapp == 2) { _root.mapp = 3; _root.mapb._x = -500; _root.mapc._x = 10; _root.mapc._y = 10; } else if (_root.mapp == 3) { _root.mapp = 4; _root.mapc._x = -500; _root.mapd._x = 10; _root.mapd._y = 10; } else if (_root.mapp == 4) { _root.mapp = 5; _root.mapd._x = -500; _root.mape._x = 10; _root.mape._y = 10; } else if (_root.mapp == 5) { _root.mapp = 6; _root.mape._x = -500; _root.mapf._x = 10; _root.mapf._y = 10; } else if (_root.mapp == 6) { _root.mapp = 7; _root.mapf._x = -500; _root.mapg._x = 10; _root.mapg._y = 10; } else if (_root.mapp == 7) { _root.mapp = 1; _root.mapg._x = -500; _root.mapa._x = 10; _root.mapa._y = 10; } maptxt.text = ("Map " + String(_root.mapp)) + "/7"; }
Symbol 270 Button
on (release) { this.gotoAndStop(55); _root.gamestart = true; if (_root.mapp == 1) { _root.cmap = new Array("1", "0", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "0", "0", "0", "1", "1", "0", "1", "1", "0", "1", "1", "1", "1", "1", "1", "1", "1", "0", "1", "1", "0", "1", "1", "1", "1", "1", "1", "1", "1", "0", "1", "1", "0", "1", "1", "1", "1", "1", "1", "1", "1", "0", "0", "0", "0", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "0", "1"); _root.resources = 100; } if (_root.mapp == 2) { _root.cmap = new Array("1", "0", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "0", "1", "1", "0", "0", "0", "1", "1", "1", "1", "1", "1", "0", "1", "1", "0", "1", "0", "0", "0", "0", "0", "1", "1", "0", "0", "0", "0", "1", "1", "1", "1", "1", "0", "1", "1", "0", "1", "1", "1", "1", "1", "1", "1", "1", "0", "1", "1", "0", "0", "0", "0", "1", "1", "0", "0", "0", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "0", "0", "0", "0", "0", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "0", "0", "0", "0", "1", "0", "1", "1", "0", "1", "1", "1", "1", "1", "1", "0", "0", "0", "0", "0", "0", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "0", "1"); _root.resources = 100; } if (_root.mapp == 3) { _root.cmap = new Array("1", "0", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "0", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "0", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "0", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "0", "1"); _root.resources = 100; } if (_root.mapp == 4) { _root.cmap = new Array("1", "0", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "0", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "0", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "1", "1", "0", "1", "1", "1", "1", "1", "1", "1", "1", "0", "1", "1", "0", "0", "0", "0", "1", "1", "0", "0", "0", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "0", "0", "0", "0", "1", "0", "1", "1", "0", "1", "1", "1", "1", "1", "1", "0", "0", "0", "0", "0", "0", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "0", "1"); _root.resources = 100; } if (_root.mapp == 5) { _root.cmap = new Array("1", "0", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "1", "1", "0", "1", "1", "1", "1", "1", "1", "1", "1", "0", "1", "1", "0", "1", "1", "1", "1", "1", "1", "1", "1", "0", "1", "1", "0", "1", "1", "1", "1", "1", "1", "1", "1", "0", "1", "1", "0", "1", "1", "1", "1", "1", "1", "1", "1", "0", "1", "1", "0", "1", "1", "1", "1", "1", "1", "1", "1", "0", "1", "1", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "0", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "0", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "0", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "0", "1"); _root.resources = 100; } if (_root.mapp == 6) { _root.cmap = new Array("1", "0", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "0", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "0", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "1", "1", "0", "1", "1", "1", "1", "1", "1", "1", "1", "0", "1", "1", "0", "0", "0", "0", "1", "1", "1", "1", "1", "0", "1", "1", "1", "1", "1", "0", "1", "1", "1", "1", "1", "0", "1", "1", "1", "1", "1", "0", "1", "1", "1", "1", "1", "0", "1", "1", "1", "1", "1", "0", "1", "1", "1", "1", "1", "0", "1", "1", "1", "1", "1", "0", "1", "1", "1", "1", "1", "0", "1", "1", "1", "1", "1", "0", "0", "0", "0", "0", "0", "0", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "0", "1"); _root.resources = 100; } if (_root.mapp == 7) { _root.cmap = new Array("1", "0", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "1", "1", "0", "1", "0", "1", "0", "1", "0", "1", "1", "0", "1", "1", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "1", "1", "0", "1", "0", "1", "0", "1", "0", "1", "1", "0", "1", "1", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "1", "1", "0", "1", "0", "1", "0", "1", "0", "1", "1", "0", "1", "1", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "1", "1", "0", "1", "0", "1", "0", "1", "0", "1", "1", "0", "1", "1", "0", "1", "0", "1", "0", "1", "0", "1", "1", "0", "1", "1", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "0", "1"); _root.resources = 100; } _root.ugsetlife._y = 600; _root.ugmode = false; }
Symbol 273 Button
on (release) { getURL ("http://gouldgames.googlepages.com"); }
Symbol 280 Button
on (release) { this.gotoAndStop(55); _root.gamestart = true; if (_root.mapp == 1) { _root.cmap = new Array("1", "0", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "0", "0", "0", "1", "1", "0", "1", "1", "0", "1", "1", "1", "1", "1", "1", "1", "1", "0", "1", "1", "0", "1", "1", "1", "1", "1", "1", "1", "1", "0", "1", "1", "0", "1", "1", "1", "1", "1", "1", "1", "1", "0", "0", "0", "0", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "0", "1"); _root.resources = 1000000 /* 0x0F4240 */; } if (_root.mapp == 2) { _root.cmap = new Array("1", "0", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "0", "1", "1", "0", "0", "0", "1", "1", "1", "1", "1", "1", "0", "1", "1", "0", "1", "0", "0", "0", "0", "0", "1", "1", "0", "0", "0", "0", "1", "1", "1", "1", "1", "0", "1", "1", "0", "1", "1", "1", "1", "1", "1", "1", "1", "0", "1", "1", "0", "0", "0", "0", "1", "1", "0", "0", "0", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "0", "0", "0", "0", "0", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "0", "0", "0", "0", "1", "0", "1", "1", "0", "1", "1", "1", "1", "1", "1", "0", "0", "0", "0", "0", "0", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "0", "1"); _root.resources = 100; } if (_root.mapp == 3) { _root.cmap = new Array("1", "0", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "0", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "0", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "0", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "0", "1"); _root.resources = 100; } if (_root.mapp == 4) { _root.cmap = new Array("1", "0", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "0", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "0", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "1", "1", "0", "1", "1", "1", "1", "1", "1", "1", "1", "0", "1", "1", "0", "0", "0", "0", "1", "1", "0", "0", "0", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "1", "1", "0", "0", "0", "0", "0", "1", "0", "1", "1", "0", "1", "1", "1", "1", "1", "1", "0", "0", "0", "0", "0", "0", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "0", "1"); _root.resources = 100; } if (_root.mapp == 5) { _root.cmap = new Array("1", "0", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "1", "1", "0", "1", "1", "1", "1", "1", "1", "1", "1", "0", "1", "1", "0", "1", "1", "1", "1", "1", "1", "1", "1", "0", "1", "1", "0", "1", "1", "1", "1", "1", "1", "1", "1", "0", "1", "1", "0", "1", "1", "1", "1", "1", "1", "1", "1", "0", "1", "1", "0", "1", "1", "1", "1", "1", "1", "1", "1", "0", "1", "1", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "0", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "0", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "0", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "0", "1"); _root.resources = 100; } if (_root.mapp == 6) { _root.cmap = new Array("1", "0", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "0", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "0", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "1", "1", "0", "1", "1", "1", "1", "1", "1", "1", "1", "0", "1", "1", "0", "0", "0", "0", "1", "1", "1", "1", "1", "0", "1", "1", "1", "1", "1", "0", "1", "1", "1", "1", "1", "0", "1", "1", "1", "1", "1", "0", "1", "1", "1", "1", "1", "0", "1", "1", "1", "1", "1", "0", "1", "1", "1", "1", "1", "0", "1", "1", "1", "1", "1", "0", "1", "1", "1", "1", "1", "0", "1", "1", "1", "1", "1", "0", "0", "0", "0", "0", "0", "0", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "0", "1"); _root.resources = 100; } if (_root.mapp == 7) { _root.cmap = new Array("1", "0", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "1", "1", "0", "1", "0", "1", "0", "1", "0", "1", "1", "0", "1", "1", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "1", "1", "0", "1", "0", "1", "0", "1", "0", "1", "1", "0", "1", "1", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "1", "1", "0", "1", "0", "1", "0", "1", "0", "1", "1", "0", "1", "1", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "1", "1", "0", "1", "0", "1", "0", "1", "0", "1", "1", "0", "1", "1", "0", "1", "0", "1", "0", "1", "0", "1", "1", "0", "1", "1", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "0", "1"); _root.resources = 100; } _root.resources = 10000000 /* 0x989680 */; _root.rad = 10000000 /* 0x989680 */; _root.ugsetlife._x = 500; _root.ugsetlife._y = 445; _root.ugmode = true; }
Symbol 281 MovieClip Frame 54
if (_root.localInfo.data.ug == true) { ugbutton._visible = true; } else { ugbutton._visible = false; } stop();
Symbol 294 Button
on (rollOver) { towertxt.text = " The Guard Tower is a wooden tower. Weak artillery fire is its only defense against ground units."; } on (rollOut) { towertxt.text = ""; } on (release) { if (_root.resources >= 15) { Mouse.hide(); _root.ctower = _root.GToriginal; startDrag (_root.ctower, true); _root.dragging = true; _root.cprice = 15; _root.rangeindi.gotoAndStop(1); } }
Symbol 303 Button
on (rollOver) { towertxt.text = " The Stone Tower is a concrete bunker that uses mortar shells. Its rate of fire is low but the splash damage of the mortar shells more than makes up for it."; } on (rollOut) { towertxt.text = ""; } on (release) { if (_root.resources >= 30) { Mouse.hide(); _root.ctower = _root.SToriginal; startDrag (_root.ctower, true); _root.dragging = true; _root.cprice = 30; _root.rangeindi.gotoAndStop(21); } }
Symbol 312 Button
on (rollOver) { towertxt.text = " The Alert Tower is an anti-aircraft bunker, dealing high damage to air units."; } on (rollOut) { towertxt.text = ""; } on (release) { if (_root.resources >= 50) { Mouse.hide(); _root.ctower = _root.AToriginal; startDrag (_root.ctower, true); _root.dragging = true; _root.cprice = 50; _root.rangeindi.gotoAndStop(1); } }
Symbol 318 Button
on (rollOver) { towertxt.text = " The Power Tower is a small missile launching station. It deals out large amounts of damage at a quick rate, annihilating all enemies that venture too close."; } on (rollOut) { towertxt.text = ""; } on (release) { if (_root.resources >= 500) { Mouse.hide(); _root.ctower = _root.PToriginal; startDrag (_root.ctower, true); _root.dragging = true; _root.cprice = 500; _root.rangeindi.gotoAndStop(41); } }
Symbol 333 Button
on (rollOver) { towertxt.text = " The Main Tower is a high-grade artillery tower capable of attacking all enemy units."; } on (rollOut) { towertxt.text = ""; } on (release) { if (_root.resources >= 1000) { Mouse.hide(); _root.ctower = _root.MToriginal; startDrag (_root.ctower, true); _root.dragging = true; _root.cprice = 1000; _root.rangeindi.gotoAndStop(41); } }
Symbol 342 Button
on (rollOver) { towertxt.text = " The Base Tower is a high-grade concrete bunker. It uses large mortar shells to do area damage."; } on (rollOut) { towertxt.text = ""; } on (release) { if (_root.resources >= 1200) { Mouse.hide(); _root.ctower = _root.BToriginal; startDrag (_root.ctower, true); _root.dragging = true; _root.cprice = 1200; _root.rangeindi.gotoAndStop(121); } }
Symbol 351 Button
on (rollOver) { towertxt.text = " The Light Tower is a light missile launch facility."; } on (rollOut) { towertxt.text = ""; } on (release) { if (_root.resources >= 1500) { Mouse.hide(); _root.ctower = _root.LToriginal; startDrag (_root.ctower, true); _root.dragging = true; _root.cprice = 1500; _root.rangeindi.gotoAndStop(71); } }
Symbol 360 Button
on (rollOver) { towertxt.text = " The Heavy Tower is an advanced heavy missile launch facility."; } on (rollOut) { towertxt.text = ""; } on (release) { if (_root.resources >= 1800) { Mouse.hide(); _root.ctower = _root.HToriginal; startDrag (_root.ctower, true); _root.dragging = true; _root.cprice = 1800; _root.rangeindi.gotoAndStop(131); } }
Symbol 406 Button
on (release) { _root.resources = _root.resources + _root.ctsp; _root.selltower = true; _root.upgradesheet._x = 900; }
Symbol 414 Button
on (release) { if (_root.ctulvl <= 4) { if (_root.resources >= _root.ctuc) { _root.resources = _root.resources - _root.ctuc; _root.upgradetower = true; _root.upgradesheet._x = 900; } } }
Symbol 462 Button
on (release) { if (_root.rad >= 10) { _root.rad = _root.rad - 10; _root.dambonus = _root.dambonus + 0.05; } }
Symbol 463 Button
on (release) { if (_root.rad >= 10) { _root.rad = _root.rad - 10; _root.rangebonus = _root.rangebonus + 0.05; } }
Symbol 464 Button
on (release) { if (_root.rad >= 18) { _root.rad = _root.rad - 18; _root.dambonus = _root.dambonus + 0.1; } }
Symbol 465 Button
on (release) { if (_root.rad >= 18) { _root.rad = _root.rad - 18; _root.rangebonus = _root.rangebonus + 0.1; } }
Symbol 566 Button
on (release) { _root.score = 0; _root.lives = 20; _root.resources = 0; _root.rad = 0; _root.clevel = 0; _root.gamestart = false; _root.gameover = false; _root.deaden = 0; _root.killeden = 0; _root.rangeindi._y = 1000; _root.dambonus = 0; _root.rangebonus = 0; _root.showupgrade = false; _root.upgradetower = false; _root.selltower = false; _root.mapa._x = 10; _root.mapa._y = 10; _root.mapp = 1; _root.mapb._x = -500; _root.mapc._x = -500; _root.mapd._x = -500; _root.mape._x = -500; _root.mapf._x = -500; _root.gameoversheet._x = 900; _root.introsheet.gotoAndPlay(1); _root.introsheet._x = 500; t = 1; while (t <= 200) { removeMovieClip(_root["enem" + t]); removeMovieClip(_root["GT" + t]); t = t + 1; } }
Symbol 568 MovieClip Frame 50
stop(); finalscore.text = "FINAL SCORE: " + _root.score;
Symbol 572 MovieClip Frame 11
stop();
Symbol 575 MovieClip Frame 11
stop();
Symbol 609 Button
on (release) { _root.ugenlife = parseInt(setlifetxt.text); }

Library Items

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

Instance Names

"mapg"Frame 1Symbol 11 MovieClip
"mapb"Frame 1Symbol 14 MovieClip
"mapc"Frame 1Symbol 17 MovieClip
"mapd"Frame 1Symbol 20 MovieClip
"mape"Frame 1Symbol 23 MovieClip
"mapf"Frame 1Symbol 26 MovieClip
"mapa"Frame 1Symbol 35 MovieClip
"enbar"Frame 1Symbol 41 MovieClip
"stammo"Frame 1Symbol 43 MovieClip
"en6"Frame 1Symbol 45 MovieClip
"mtammo"Frame 1Symbol 47 MovieClip
"en7"Frame 1Symbol 51 MovieClip
"boss1"Frame 1Symbol 62 MovieClip
"btammo"Frame 1Symbol 64 MovieClip
"boss2"Frame 1Symbol 70 MovieClip
"gamecompletesheet"Frame 1Symbol 165 MovieClip
"creditsheet"Frame 1Symbol 173 MovieClip
"rangeindi"Frame 1Symbol 175 MovieClip
"informer"Frame 1Symbol 177 EditableText
"scoretxt"Frame 1Symbol 189 EditableText
"lifetxt"Frame 1Symbol 190 EditableText
"resourcetxt"Frame 1Symbol 191 EditableText
"rdtxt"Frame 1Symbol 192 EditableText
"leveltxt"Frame 1Symbol 194 EditableText
"land"Frame 1Symbol 201 Button
"air"Frame 1Symbol 208 Button
"landair"Frame 1Symbol 215 Button
"introsheet"Frame 1Symbol 281 MovieClip
"stdsheet"Frame 1Symbol 320 MovieClip
"advsheet"Frame 1Symbol 362 MovieClip
"GToriginal"Frame 1Symbol 365 MovieClip
"SToriginal"Frame 1Symbol 368 MovieClip
"PToriginal"Frame 1Symbol 375 MovieClip
"AToriginal"Frame 1Symbol 382 MovieClip
"en1"Frame 1Symbol 386 MovieClip
"gtammo"Frame 1Symbol 388 MovieClip
"en2"Frame 1Symbol 390 MovieClip
"en4"Frame 1Symbol 392 MovieClip
"en5"Frame 1Symbol 396 MovieClip
"upgradesheet"Frame 1Symbol 434 MovieClip
"atammo"Frame 1Symbol 436 MovieClip
"en3"Frame 1Symbol 440 MovieClip
"MToriginal"Frame 1Symbol 446 MovieClip
"en8"Frame 1Symbol 450 MovieClip
"en9"Frame 1Symbol 452 MovieClip
"radsheet"Frame 1Symbol 474 MovieClip
"LToriginal"Frame 1Symbol 485 MovieClip
"HToriginal"Frame 1Symbol 492 MovieClip
"ptammo"Frame 1Symbol 495 MovieClip
"ltammo"Frame 1Symbol 495 MovieClip
"BToriginal"Frame 1Symbol 498 MovieClip
"htammo"Frame 1Symbol 501 MovieClip
"en11"Frame 1Symbol 503 MovieClip
"en13"Frame 1Symbol 505 MovieClip
"en10"Frame 1Symbol 511 MovieClip
"en12"Frame 1Symbol 519 MovieClip
"en14"Frame 1Symbol 527 MovieClip
"gameoversheet"Frame 1Symbol 568 MovieClip
"killexplosion"Frame 1Symbol 572 MovieClip
"hitexplosion"Frame 1Symbol 575 MovieClip
"grid"Frame 1Symbol 600 MovieClip
"ugsetlife"Frame 1Symbol 610 MovieClip
"finalscore"Symbol 165 MovieClip Frame 53Symbol 159 EditableText
"maptxt"Symbol 281 MovieClip Frame 54Symbol 263 EditableText
"ugbutton"Symbol 281 MovieClip Frame 54Symbol 280 Button
"towertxt"Symbol 320 MovieClip Frame 1Symbol 319 EditableText
"towertxt"Symbol 362 MovieClip Frame 1Symbol 361 EditableText
"uplvltxt"Symbol 365 MovieClip Frame 1Symbol 364 EditableText
"uplvltxt"Symbol 368 MovieClip Frame 1Symbol 367 EditableText
"uplvltxt"Symbol 375 MovieClip Frame 1Symbol 370 EditableText
"uplvltxt"Symbol 375 MovieClip Frame 20Symbol 372 EditableText
"uplvltxt"Symbol 375 MovieClip Frame 40Symbol 374 EditableText
"atgun"Symbol 382 MovieClip Frame 1Symbol 380 MovieClip
"uplvltxt"Symbol 382 MovieClip Frame 1Symbol 381 EditableText
"ctdamtxt"Symbol 434 MovieClip Frame 1Symbol 418 EditableText
"ctrtxt"Symbol 434 MovieClip Frame 1Symbol 419 EditableText
"ctstxt"Symbol 434 MovieClip Frame 1Symbol 420 EditableText
"ctudamtxt"Symbol 434 MovieClip Frame 1Symbol 421 EditableText
"cturtxt"Symbol 434 MovieClip Frame 1Symbol 422 EditableText
"ctustxt"Symbol 434 MovieClip Frame 1Symbol 423 EditableText
"ctuctxt"Symbol 434 MovieClip Frame 1Symbol 424 EditableText
"ctlvltxt"Symbol 434 MovieClip Frame 1Symbol 425 EditableText
"ctulvltxt"Symbol 434 MovieClip Frame 1Symbol 426 EditableText
"ctsptxt"Symbol 434 MovieClip Frame 1Symbol 427 EditableText
"mtgun"Symbol 446 MovieClip Frame 1Symbol 443 MovieClip
"uplvltxt"Symbol 446 MovieClip Frame 1Symbol 445 EditableText
"uplvltxt"Symbol 485 MovieClip Frame 1Symbol 476 EditableText
"uplvltxt"Symbol 485 MovieClip Frame 5Symbol 478 EditableText
"uplvltxt"Symbol 485 MovieClip Frame 10Symbol 480 EditableText
"uplvltxt"Symbol 485 MovieClip Frame 15Symbol 482 EditableText
"uplvltxt"Symbol 485 MovieClip Frame 20Symbol 484 EditableText
"uplvltxt"Symbol 492 MovieClip Frame 1Symbol 487 EditableText
"uplvltxt"Symbol 492 MovieClip Frame 20Symbol 489 EditableText
"uplvltxt"Symbol 492 MovieClip Frame 35Symbol 491 EditableText
"uplvltxt"Symbol 498 MovieClip Frame 1Symbol 497 EditableText
"finalscore"Symbol 568 MovieClip Frame 27Symbol 543 EditableText
"finalscore"Symbol 568 MovieClip Frame 29Symbol 545 EditableText
"finalscore"Symbol 568 MovieClip Frame 31Symbol 547 EditableText
"finalscore"Symbol 568 MovieClip Frame 33Symbol 549 EditableText
"finalscore"Symbol 568 MovieClip Frame 35Symbol 551 EditableText
"finalscore"Symbol 568 MovieClip Frame 37Symbol 553 EditableText
"finalscore"Symbol 568 MovieClip Frame 39Symbol 555 EditableText
"finalscore"Symbol 568 MovieClip Frame 41Symbol 557 EditableText
"finalscore"Symbol 568 MovieClip Frame 43Symbol 559 EditableText
"finalscore"Symbol 568 MovieClip Frame 45Symbol 561 EditableText
"finalscore"Symbol 568 MovieClip Frame 47Symbol 563 EditableText
"finalscore"Symbol 568 MovieClip Frame 50Symbol 565 EditableText
"setlifetxt"Symbol 610 MovieClip Frame 1Symbol 603 EditableText

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS1/AS2.
ExportAssets (56)Timeline Frame 1Symbol 1 as "stfire"
ExportAssets (56)Timeline Frame 1Symbol 2 as "ptfire"
ExportAssets (56)Timeline Frame 1Symbol 3 as "peaceful"
ExportAssets (56)Timeline Frame 1Symbol 4 as "gtfire2"
ExportAssets (56)Timeline Frame 1Symbol 5 as "gtfire"
ExportAssets (56)Timeline Frame 1Symbol 6 as "action1"
ExportAssets (56)Timeline Frame 1Symbol 7 as "click"




http://swfchan.com/24/116040/info.shtml
Created: 9/3 -2019 04:08:44 Last modified: 9/3 -2019 04:08:44 Server time: 03/05 -2024 09:57:55