Frame 1
stop();
Frame 2
stop();
var C = 2500;
var tp = 0;
var ton = 0;
var tt = 0;
var er = 50;
var ec = 1;
var ti = 0;
var bn = 1000;
var wait = 0;
var s = 5;
var ex = 30;
var nw = 30;
var cash = 50;
var ec = 10;
var ts = 0;
var lc = 0;
var lives = 31;
var score = 0;
var go = false;
var type = 1;
var lev = 0;
var tss = false;
var cl = 0;
var cd = 0;
var cuc = 0;
var cud = 0;
var nexttype = "Ground";
onEnterFrame = function () {
if ((((lev % 5) == 4) && (lev != 34)) && (lev != 49)) {
nexttype = "Flying";
} else if (((lev % 7) == 6) || (lev == 49)) {
nexttype = "Boss";
} else {
nexttype = "Ground";
}
if (((lev % 7) == 0) || (lev == 50)) {
type = 3;
} else if ((lev % 5) == 0) {
type = 2;
} else {
type = 1;
}
if (_root.ec <= 9) {
_root.ti++;
}
if ((_root.ti == 20) && (_root.ec <= 9)) {
if (type == 1) {
duplicateMovieClip ("e", "en" + er, er);
} else if (type == 2) {
duplicateMovieClip ("pl", "en" + er, er);
} else if (type == 3) {
duplicateMovieClip ("boss", "en" + er, er);
}
_root.ti = 0;
_root.er++;
if (_root.er == 500) {
_root.er = 50;
}
_root.ec++;
}
if (_root.tss == true) {
_root.cl = _root["t" + _root.ts].levels;
_root.cd = _root["t" + _root.ts].dmg;
_root.cuc = _root["t" + _root.ts].uc;
_root.cud = int(_root["t" + _root.ts].dmg * 1.5);
} else if (_root.tss == false) {
_root.cl = 0;
_root.cd = 0;
_root.cuc = 0;
_root.cud = 0;
}
};
Instance of Symbol 71 MovieClip "t" in Frame 2
onClipEvent (load) {
_x = _root._xmouse;
_y = _root._ymouse;
var tic = 0;
var shotready = false;
turretshot = new Sound(this);
turretshot.attachSound("shot");
var levels = 1;
var inrange = false;
var dmg = 10;
var uc = 20;
var ri = 20;
_root.tss = true;
_root.ts = number;
if (_name == "t") {
_x = -1000;
}
if (_x < -500) {
removeMovieClip("t");
}
}
onClipEvent (enterFrame) {
if (_root.go == true) {
removeMovieClip(this);
}
for (i in _root) {
if ((_root[i]._name.indexOf("en") != -1) && (_root[i].typ == 1)) {
if (ra.hitTest(_root[i]._x, _root[i]._y, true)) {
inrange = true;
adjside = (_x + ba._x) - _root[i]._x;
oppside = (_y + ba._y) - _root[i]._y;
angle = Math.atan2(-oppside, adjside);
angle = Math.round((angle / Math.PI) * 180);
ba._rotation = 270 - angle;
}
}
}
if ((shotready == true) && (inrange == true)) {
_root.bn++;
if (_root.bn >= 2000) {
_root.bn = 1000;
}
shotready = false;
inrange = false;
duplicateMovieClip (_root.b, "b" + _root.bn, _root.bn);
_root["b" + _root.bn]._x = _x;
_root["b" + _root.bn]._y = _y;
_root["b" + _root.bn]._rotation = 270 - angle;
_root["b" + _root.bn].sound = false;
_root["b" + _root.bn].dmg = dmg;
_root["b" + _root.bn].gotoAndStop(levels);
}
if (shotready == false) {
tic++;
}
if (tic >= 15) {
tic = 0;
shotready = true;
}
if (bu.overunit == true) {
ra.gotoAndStop(1);
} else if (((_root.ts != number) && (bu.overunit == false)) || (_root.tss == false)) {
ra.gotoAndStop(2);
}
if (bu.clickunit == true) {
_root.ts = number;
_root.tss = true;
bu.clickunit = false;
}
}
Instance of Symbol 84 MovieClip "e" in Frame 2
onClipEvent (load) {
_x = 437;
_y = 33.5;
var s = 3;
var xs = (-s);
var ys = 0;
var ex = ((el = _root.ex));
var paid = false;
eb.gotoAndStop(random(10));
var slow = false;
var sc = 0;
var stm = 0;
var typ = 1;
}
onClipEvent (enterFrame) {
if (_root.go == true) {
this.removeMovieClip();
}
if (_name == "e") {
_x = -1000;
}
if (_x <= -500) {
this.removeMovieClip();
}
elb._width = (el / ex) * 34;
sc++;
if (sc >= stm) {
slow = false;
}
if (slow == true) {
_x = (_x + (xs / 6));
_y = (_y + (ys / 6));
}
if (slow == false) {
_x = (_x + xs);
_y = (_y + ys);
}
if ((_x < -20) && (paid == false)) {
paid = true;
_root.lives = _root.lives - 1;
this.removeMovieClip();
}
if (_root.lives <= 0) {
_root.go = true;
_root.gotoAndStop(2);
}
if ((el <= 0) && (paid == false)) {
_root.cash = _root.cash + _root.lc;
_root.score = _root.score + ex;
paid = true;
}
if ((el <= 0) && (paid == true)) {
this.removeMovieClip();
}
if ((_x <= 65) && (_y <= 40)) {
eb._rotation = 270;
xs = 0;
ys = s;
}
if (((_y >= 190) && (_x <= 70)) && (_y <= 200)) {
eb._rotation = 180;
xs = s;
ys = 0;
}
if (((_x >= 410) && (_y >= 180)) && (_y <= 200)) {
eb._rotation = 270;
xs = 0;
ys = s;
}
if ((_y >= 372) && (_x >= 410)) {
eb._rotation = 0;
xs = -s;
ys = 0;
}
if (((_x <= 295) && (_x >= 250)) && (_y >= 372)) {
eb._rotation = 90;
xs = 0;
ys = -s;
}
if ((((_x <= 295) && (_x >= 280)) && (_y >= 262)) && (_y <= 272)) {
eb._rotation = 0;
xs = -s;
ys = 0;
}
if (((_x <= 195) && (_y >= 265)) && (_y <= 295)) {
eb._rotation = 270;
xs = 0;
ys = s;
}
if ((_x <= 195) && (_y >= 367)) {
eb._rotation = 0;
xs = -s;
ys = 0;
}
}
Instance of Symbol 96 MovieClip "b" in Frame 2
onClipEvent (load) {
explo.dmg = dmg;
var spd = 20;
turretshot = new Sound(this);
turretshot.attachSound("shot");
if (_name == "b") {
_x = -1000;
}
if (sound == false) {
turretshot.start();
sound = true;
}
}
onClipEvent (enterFrame) {
if (_root.go == true) {
removeMovieClip(this);
}
if ((((_x > 450) || (_x < 0)) || (_y < 0)) || (_y > 400)) {
this.removeMovieClip();
}
if (_rotation > 180) {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
}
for (i in _root) {
if (_root[i]._name.indexOf("en") != -1) {
if (_root[i].hitTest(this)) {
_root.hit = true;
_root[i].el = _root[i].el - dmg;
this.removeMovieClip();
}
}
}
}
Instance of Symbol 109 MovieClip "ft" in Frame 2
onClipEvent (enterFrame) {
if (_root.ton == 0) {
this.removeMovieClip();
}
if (_root.ton == 3) {
if (Key.isDown(37)) {
_rotation = (_rotation - 4);
}
if (Key.isDown(39)) {
_rotation = (_rotation + 4);
}
}
for (i in _root) {
if (_root[i]._name.indexOf("t") != -1) {
if (_root[i].bu.hitTest(ftb)) {
_root.tp = 0;
_root.tt = 1;
}
}
}
if (((((((((ftb.hitTest(_root.p) || (ftb.hitTest(_root.p1))) || (ftb.hitTest(_root.p2))) || (ftb.hitTest(_root.p3))) || (ftb.hitTest(_root.p4))) || (ftb.hitTest(_root.p5))) || (ftb.hitTest(_root.p6))) || (ftb.hitTest(_root.p7))) || (ftb.hitTest(_root.p8))) || (ftb.hitTest(_root.p9))) {
_root.tp = 0;
} else if ((_root.ton == 1) && (_root.tt == 0)) {
_root.tp = 1;
} else if ((_root.ton == 2) && (_root.tt == 0)) {
_root.tp = 2;
} else if ((_root.ton == 3) && (_root.tt == 0)) {
_root.tp = 3;
} else if ((_root.ton == 4) && (_root.tt == 0)) {
_root.tp = 4;
} else {
(_root.tp = 0);
(_root.tt = 0);
}
_x = _root._xmouse;
_y = _root._ymouse;
}
Instance of Symbol 121 MovieClip "t2" in Frame 2
onClipEvent (load) {
_x = _root._xmouse;
_y = _root._ymouse;
var tic = 0;
var shotready = false;
turretshot = new Sound(this);
turretshot.attachSound("shot");
var levels = 1;
var inrange = false;
var dmg = 45;
var uc = 50;
var ri = 30;
_root.tss = true;
_root.ts = number;
if (_name == "t2") {
_x = -1000;
}
if (_x < -500) {
removeMovieClip("t2");
}
}
onClipEvent (enterFrame) {
if (_root.go == true) {
removeMovieClip(this);
}
for (i in _root) {
if ((_root[i]._name.indexOf("en") != -1) && (_root[i].typ == 2)) {
if (ra.hitTest(_root[i]._x, _root[i]._y, true)) {
inrange = true;
adjside = (_x + ba._x) - _root[i]._x;
oppside = (_y + ba._y) - _root[i]._y;
angle = Math.atan2(-oppside, adjside);
angle = Math.round((angle / Math.PI) * 180);
ba._rotation = 270 - angle;
}
}
}
if ((shotready == true) && (inrange == true)) {
_root.bn++;
if (_root.bn >= 2000) {
_root.bn = 1000;
}
shotready = false;
inrange = false;
duplicateMovieClip (_root.m, "b" + _root.bn, _root.bn);
_root["b" + _root.bn]._x = _x;
_root["b" + _root.bn]._y = _y;
_root["b" + _root.bn]._rotation = ba._rotation;
_root["b" + _root.bn].sound = false;
_root["b" + _root.bn].dmg = dmg;
_root["b" + _root.bn].gotoAndStop(levels);
}
if (shotready == false) {
tic++;
}
if (tic >= 30) {
tic = 0;
shotready = true;
}
if (bu.overunit == true) {
ra.gotoAndStop(1);
} else if (((_root.ts != number) && (bu.overunit == false)) || (_root.tss == false)) {
ra.gotoAndStop(2);
}
if (bu.clickunit == true) {
_root.ts = number;
_root.tss = true;
bu.clickunit = false;
}
}
Instance of Symbol 129 MovieClip "m" in Frame 2
onClipEvent (load) {
var spd = 5;
var xs = 0;
var ys = 0;
turretshot = new Sound(this);
turretshot.attachSound("shot");
if (_name == "m") {
_x = -1000;
}
}
onClipEvent (enterFrame) {
if (_root.go == true) {
removeMovieClip(this);
}
if ((((_x > 450) || (_x < 0)) || (_y < 0)) || (_y > 400)) {
this.removeMovieClip();
}
if (sound == false) {
turretshot.start();
sound = true;
}
ys = ys + (spd * Math.cos((Math.PI/180) * _rotation));
xs = xs + (spd * Math.sin((Math.PI/180) * _rotation));
if (_rotation > 180) {
_y = (_y + ys);
_x = (_x - xs);
} else {
_y = (_y - ys);
_x = (_x + xs);
}
for (i in _root) {
if (_root[i]._name.indexOf("en") != -1) {
if (_root[i].hitTest(this)) {
_root[i].el = _root[i].el - dmg;
removeMovieClip(this);
}
}
}
}
Instance of Symbol 138 MovieClip "t3" in Frame 2
onClipEvent (load) {
_x = _root._xmouse;
_y = _root._ymouse;
_rotation = _root.ft._rotation;
var tic = 0;
var shotready = false;
turretshot = new Sound(this);
turretshot.attachSound("shot");
var levels = 1;
var inrange = false;
var dmg = 15;
var ri = 20;
var uc = 100;
_root.tss = true;
_root.ts = number;
if (_name == "t3") {
_x = -1000;
}
if (_x < -500) {
removeMovieClip("t3");
}
}
onClipEvent (enterFrame) {
if (_root.go == true) {
removeMovieClip(this);
}
for (i in _root) {
if (_root[i]._name.indexOf("en") != -1) {
if (ra.hitTest(_root[i]._x, _root[i]._y, true)) {
inrange = true;
}
}
}
if ((shotready == true) && (inrange == true)) {
_root.bn++;
if (_root.bn >= 2000) {
_root.bn = 1000;
}
shotready = false;
inrange = false;
duplicateMovieClip (_root.r, "r" + _root.bn, _root.bn);
_root["r" + _root.bn]._x = _x;
_root["r" + _root.bn]._y = _y;
_root["r" + _root.bn]._rotation = _rotation;
_root["r" + _root.bn].sound = false;
_root["r" + _root.bn].dmg = dmg;
_root["r" + _root.bn]._width = ra._width;
_root["r" + _root.bn]._height = ra._height;
_root["r" + _root.bn].gotoAndStop(levels);
}
if (shotready == false) {
tic++;
}
if (tic >= 15) {
tic = 0;
shotready = true;
}
if (bu.overunit == true) {
ra.gotoAndStop(1);
} else if (((_root.ts != number) && (bu.overunit == false)) || (_root.tss == false)) {
ra.gotoAndStop(2);
}
if (bu.clickunit == true) {
_root.ts = number;
_root.tss = true;
bu.clickunit = false;
}
}
Instance of Symbol 142 MovieClip "r" in Frame 2
onClipEvent (load) {
var rt = 0;
turretshot = new Sound(this);
turretshot.attachSound("shot");
if (_name == "r") {
_x = -1000;
}
}
onClipEvent (enterFrame) {
if (_root.go == true) {
removeMovieClip(this);
}
if (rt >= 1) {
this.removeMovieClip();
} else {
rt++;
}
if (_x < 0) {
this.removeMovieClip();
}
if (sound == false) {
turretshot.start();
sound = true;
}
for (i in _root) {
if (_root[i]._name.indexOf("en") != -1) {
if (this.hitTest(_root[i]._x, _root[i]._y, true)) {
_root[i].el = _root[i].el - dmg;
}
}
}
}
Instance of Symbol 157 MovieClip "t4" in Frame 2
onClipEvent (load) {
_x = _root._xmouse;
_y = _root._ymouse;
var tic = 0;
var shotready = false;
turretshot = new Sound(this);
turretshot.attachSound("shot");
var levels = 1;
var inrange = false;
var dmg = 1;
var uc = 100;
var ri = 15;
var stm = 20;
_root.tss = true;
_root.ts = number;
if (_name == "t4") {
_x = -1000;
}
if (_x < -500) {
removeMovieClip("t4");
}
}
onClipEvent (enterFrame) {
if (_root.go == true) {
removeMovieClip(this);
}
for (i in _root) {
if ((_root[i]._name.indexOf("en") != -1) && (_root[i].slow == false)) {
if (ra.hitTest(_root[i]._x, _root[i]._y, true)) {
inrange = true;
adjside = (_x + ba._x) - _root[i]._x;
oppside = (_y + ba._y) - _root[i]._y;
angle = Math.atan2(-oppside, adjside);
angle = Math.round((angle / Math.PI) * 180);
ba._rotation = 270 - angle;
}
}
}
if ((shotready == true) && (inrange == true)) {
_root.bn++;
if (_root.bn >= 2000) {
_root.bn = 1000;
}
shotready = false;
inrange = false;
duplicateMovieClip (_root.ic, "b" + _root.bn, _root.bn);
_root["b" + _root.bn]._x = _x;
_root["b" + _root.bn]._y = _y;
_root["b" + _root.bn]._rotation = ba._rotation;
_root["b" + _root.bn].sound = false;
_root["b" + _root.bn].dmg = dmg;
_root["b" + _root.bn].gotoAndStop(levels);
_root["b" + _root.bn].stm = stm;
}
if (shotready == false) {
tic++;
}
if (tic >= 20) {
tic = 0;
shotready = true;
}
if (bu.overunit == true) {
ra.gotoAndStop(1);
} else if (((_root.ts != number) && (bu.overunit == false)) || (_root.tss == false)) {
ra.gotoAndStop(2);
}
if (bu.clickunit == true) {
_root.ts = number;
_root.tss = true;
bu.clickunit = false;
}
}
Instance of Symbol 159 MovieClip "ic" in Frame 2
onClipEvent (load) {
var spd = 20;
turretshot = new Sound(this);
turretshot.attachSound("shot");
if (_name == "ic") {
_x = -1000;
}
if (sound == false) {
turretshot.start();
sound = true;
}
}
onClipEvent (enterFrame) {
if (_root.go == true) {
removeMovieClip(this);
}
if ((((_x > 450) || (_x < 0)) || (_y < 0)) || (_y > 400)) {
this.removeMovieClip();
}
if (_rotation > 180) {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
}
for (i in _root) {
if (_root[i]._name.indexOf("en") != -1) {
if (_root[i].hitTest(this)) {
_root[i].el = _root[i].el - dmg;
_root[i].slow = true;
_root[i].sc = 0;
_root[i].stm = stm;
removeMovieClip(this);
}
}
}
}
Instance of Symbol 162 MovieClip "pl" in Frame 2
onClipEvent (load) {
_x = 437;
_y = 33.5;
var s = 3;
var xs = (-s);
var ys = 0;
var ex = ((el = _root.ex));
var paid = false;
eb.gotoAndStop(random(10));
var slow = false;
var sc = 0;
var stm = 0;
var typ = 2;
}
onClipEvent (enterFrame) {
if (_root.go == true) {
this.removeMovieClip();
}
if (_name == "pl") {
_x = -1000;
}
if (_x <= -500) {
this.removeMovieClip();
}
elb._width = (el / ex) * 34;
sc++;
if (sc >= stm) {
slow = false;
}
if (slow == true) {
_x = (_x + (xs / 6));
_y = (_y + (ys / 6));
}
if (slow == false) {
_x = (_x + xs);
_y = (_y + ys);
}
if ((_x < -20) && (paid == false)) {
paid = true;
_root.lives = _root.lives - 1;
this.removeMovieClip();
}
if (_root.lives <= 0) {
_root.go = true;
_root.gotoAndStop(2);
}
if ((el <= 0) && (paid == false)) {
_root.cash = _root.cash + _root.lc;
_root.score = _root.score + ex;
paid = true;
}
if ((el <= 0) && (paid == true)) {
this.removeMovieClip();
}
if ((_x <= 65) && (_y <= 40)) {
eb._rotation = 270;
xs = 0;
ys = s;
}
if (((_y >= 190) && (_x <= 70)) && (_y <= 200)) {
eb._rotation = 180;
xs = s;
ys = 0;
}
if (((_x >= 410) && (_y >= 180)) && (_y <= 200)) {
eb._rotation = 270;
xs = 0;
ys = s;
}
if ((_y >= 372) && (_x >= 410)) {
eb._rotation = 0;
xs = -s;
ys = 0;
}
if (((_x <= 295) && (_x >= 250)) && (_y >= 372)) {
eb._rotation = 90;
xs = 0;
ys = -s;
}
if ((((_x <= 295) && (_x >= 280)) && (_y >= 262)) && (_y <= 272)) {
eb._rotation = 0;
xs = -s;
ys = 0;
}
if (((_x <= 195) && (_y >= 265)) && (_y <= 295)) {
eb._rotation = 270;
xs = 0;
ys = s;
}
if ((_x <= 195) && (_y >= 367)) {
eb._rotation = 0;
xs = -s;
ys = 0;
}
}
Instance of Symbol 169 MovieClip "boss" in Frame 2
onClipEvent (load) {
_x = 437;
_y = 33.5;
var s = 3;
var xs = (-s);
var ys = 0;
var ex = ((el = _root.ex * 5));
var paid = false;
eb.gotoAndStop(random(10));
var slow = false;
var sc = 0;
var stm = 0;
var typ = 1;
_root.ec = 10;
if (_root.lev == 50) {
end = true;
} else {
end = false;
}
}
onClipEvent (enterFrame) {
if (_root.go == true) {
this.removeMovieClip();
}
if (_name == "boss") {
_x = -1000;
}
if (_x <= -500) {
this.removeMovieClip();
}
elb._width = (el / ex) * 34;
sc++;
if (sc >= stm) {
slow = false;
}
if (slow == true) {
_x = (_x + (xs / 6));
_y = (_y + (ys / 6));
}
if (slow == false) {
_x = (_x + xs);
_y = (_y + ys);
}
if ((end == true) && (el <= 0)) {
_root.go = true;
_root.gotoAndStop(4);
}
if (((end == true) && (_x < -10)) && (_root.lives >= 2)) {
_root.go = true;
_root.gotoAndStop(4);
}
if ((_x < -20) && (paid == false)) {
paid = true;
_root.lives = _root.lives - 1;
this.removeMovieClip();
}
if (_root.lives <= 0) {
_root.go = true;
_root.gotoAndStop(3);
}
if ((el <= 0) && (paid == false)) {
_root.cash = _root.cash + _root.lc;
_root.score = _root.score + ex;
paid = true;
}
if ((el <= 0) && (paid == true)) {
this.removeMovieClip();
}
if ((_x <= 65) && (_y <= 40)) {
eb._rotation = 270;
xs = 0;
ys = s;
}
if (((_y >= 190) && (_x <= 70)) && (_y <= 200)) {
eb._rotation = 180;
xs = s;
ys = 0;
}
if (((_x >= 410) && (_y >= 180)) && (_y <= 200)) {
eb._rotation = 270;
xs = 0;
ys = s;
}
if ((_y >= 372) && (_x >= 410)) {
eb._rotation = 0;
xs = -s;
ys = 0;
}
if (((_x <= 295) && (_x >= 250)) && (_y >= 372)) {
eb._rotation = 90;
xs = 0;
ys = -s;
}
if ((((_x <= 295) && (_x >= 280)) && (_y >= 262)) && (_y <= 272)) {
eb._rotation = 0;
xs = -s;
ys = 0;
}
if (((_x <= 195) && (_y >= 265)) && (_y <= 295)) {
eb._rotation = 270;
xs = 0;
ys = s;
}
if ((_x <= 195) && (_y >= 367)) {
eb._rotation = 0;
xs = -s;
ys = 0;
}
}
Frame 3
stop();
Frame 4
stop();
Symbol 6 Button
on (press) {
getURL ("http://www.jexica.com", _blank);
}
Symbol 9 Button
on (release) {
_root.gotoAndPlay(2);
}
Symbol 19 Button
on (release) {
if (_root.cash >= 100) {
duplicateMovieClip (_root.ft, "ft", _root.bn);
ft.gotoAndStop(5);
_root.ft._rotation = 0;
_root.ton = 4;
}
}
Symbol 21 Button
on (press) {
_root.tss = false;
}
on (release) {
if (_root.tp == 1) {
_root.C++;
ft.gotoAndStop(1);
duplicateMovieClip ("t", "t" + C, C);
_root["t" + C].number = _root.C;
_root.cash = _root.cash - 20;
_root.ton = 0;
} else {
if (_root.tp == 2) {
_root.C++;
ft.gotoAndStop(1);
duplicateMovieClip ("t2", "t" + C, C);
_root["t" + C].number = _root.C;
_root.cash = _root.cash - 50;
_root.ton = 0;
}
if (_root.tp == 3) {
_root.C++;
ft.gotoAndStop(1);
duplicateMovieClip ("t3", "t" + C, C);
_root["t" + C].number = _root.C;
_root.cash = _root.cash - 100;
_root.ton = 0;
}
if (_root.tp == 4) {
_root.C++;
ft.gotoAndStop(1);
duplicateMovieClip ("t4", "t" + C, C);
_root["t" + C].number = _root.C;
_root.cash = _root.cash - 100;
_root.ton = 0;
}
}
}
Symbol 46 Button
on (release) {
if (_root.cash >= 100) {
duplicateMovieClip (_root.ft, "ft", _root.bn);
ft.gotoAndStop(4);
_root.ft._rotation = 0;
_root.ton = 3;
}
}
Symbol 54 Button
on (release) {
if (_root.cash >= 50) {
duplicateMovieClip (_root.ft, "ft", _root.bn);
ft.gotoAndStop(3);
_root.ft._rotation = 0;
_root.ton = 2;
}
}
Symbol 60 Button
on (release) {
if (_root.cash >= 20) {
duplicateMovieClip (_root.ft, "ft", _root.bn);
ft.gotoAndStop(2);
_root.ft._rotation = 0;
_root.ton = 1;
}
}
Symbol 63 MovieClip Frame 1
stop();
Symbol 63 MovieClip Frame 2
stop();
Symbol 70 MovieClip Frame 1
stop();
Symbol 70 MovieClip Frame 2
stop();
Symbol 70 MovieClip Frame 3
stop();
Symbol 70 MovieClip Frame 4
stop();
Symbol 70 MovieClip Frame 5
stop();
Symbol 70 MovieClip Frame 6
stop();
Instance of Symbol 64 MovieClip "bu" in Symbol 71 MovieClip Frame 1
onClipEvent (load) {
function __f_load(eventObj) {
var _local2 = false;
var _local1 = false;
}
this.addEventListener("load", __f_load);
}
on (rollOver) {
overunit = true;
}
on (rollOut) {
overunit = false;
}
on (press) {
clickunit = true;
_root.ft.gotoAndStop(1);
_root.ton = 0;
}
Symbol 81 MovieClip Frame 1
stop();
Symbol 81 MovieClip Frame 2
stop();
Symbol 81 MovieClip Frame 3
stop();
Symbol 81 MovieClip Frame 4
stop();
Symbol 81 MovieClip Frame 5
stop();
Symbol 81 MovieClip Frame 6
stop();
Symbol 81 MovieClip Frame 7
stop();
Symbol 81 MovieClip Frame 8
stop();
Symbol 81 MovieClip Frame 9
stop();
Symbol 89 Button
on (release) {
if ((_root.ec == 10) && (_root.lev != 50)) {
_root.lc++;
_root.lev++;
_root.ti = 0;
_root.ec = 0;
_root.cash = int(_root.cash * 1.05);
_root.ex = _root.nw;
_root.nw = int((_root.ex * (1 + (random(20) / 100))) + 5);
}
}
Symbol 96 MovieClip Frame 1
stop();
Symbol 96 MovieClip Frame 2
stop();
Symbol 96 MovieClip Frame 3
stop();
Symbol 96 MovieClip Frame 4
stop();
Symbol 96 MovieClip Frame 5
stop();
Symbol 96 MovieClip Frame 6
stop();
Symbol 109 MovieClip Frame 1
stop();
Symbol 109 MovieClip Frame 2
stop();
Symbol 109 MovieClip Frame 3
stop();
Symbol 109 MovieClip Frame 4
stop();
Symbol 109 MovieClip Frame 5
stop();
Symbol 114 MovieClip Frame 1
stop();
Symbol 114 MovieClip Frame 2
stop();
Symbol 120 MovieClip Frame 1
stop();
Symbol 120 MovieClip Frame 2
stop();
Symbol 120 MovieClip Frame 3
stop();
Symbol 120 MovieClip Frame 4
stop();
Symbol 120 MovieClip Frame 5
stop();
Symbol 120 MovieClip Frame 6
stop();
Instance of Symbol 115 MovieClip "bu" in Symbol 121 MovieClip Frame 1
onClipEvent (load) {
function __f_load(eventObj) {
var _local2 = false;
var _local1 = false;
}
this.addEventListener("load", __f_load);
}
on (rollOver) {
overunit = true;
}
on (rollOut) {
overunit = false;
}
on (press) {
clickunit = true;
_root.ft.gotoAndStop(1);
_root.ton = 0;
}
Symbol 129 MovieClip Frame 1
stop();
Symbol 129 MovieClip Frame 2
stop();
Symbol 129 MovieClip Frame 3
stop();
Symbol 129 MovieClip Frame 4
stop();
Symbol 129 MovieClip Frame 5
stop();
Symbol 129 MovieClip Frame 6
stop();
Symbol 134 MovieClip Frame 1
stop();
Symbol 134 MovieClip Frame 2
stop();
Symbol 137 MovieClip Frame 1
stop();
Symbol 137 MovieClip Frame 2
stop();
Symbol 137 MovieClip Frame 3
stop();
Symbol 137 MovieClip Frame 4
stop();
Symbol 137 MovieClip Frame 5
stop();
Symbol 137 MovieClip Frame 6
stop();
Instance of Symbol 131 MovieClip "bu" in Symbol 138 MovieClip Frame 1
onClipEvent (load) {
function __f_load(eventObj) {
var _local2 = false;
var _local1 = false;
}
this.addEventListener("load", __f_load);
}
on (rollOver) {
overunit = true;
}
on (rollOut) {
overunit = false;
}
on (press) {
clickunit = true;
_root.ft.gotoAndStop(1);
_root.ton = 0;
}
Symbol 142 MovieClip Frame 1
stop();
Symbol 142 MovieClip Frame 2
stop();
Symbol 142 MovieClip Frame 3
stop();
Symbol 154 MovieClip Frame 1
stop();
Symbol 154 MovieClip Frame 2
stop();
Instance of Symbol 155 MovieClip "bu" in Symbol 157 MovieClip Frame 1
onClipEvent (load) {
function __f_load(eventObj) {
var _local2 = false;
var _local1 = false;
}
this.addEventListener("load", __f_load);
}
on (rollOver) {
overunit = true;
}
on (rollOut) {
overunit = false;
}
on (press) {
clickunit = true;
_root.ft.gotoAndStop(1);
_root.ton = 0;
}
Symbol 177 Button
on (press) {
if (_root.tss == true) {
_root.cash = _root.cash + (_root["t" + _root.ts].uc * 0.75);
removeMovieClip(_root["t" + _root.ts]);
_root.tss = false;
}
}
Symbol 181 Button
on (press) {
if ((_root.cash >= _root["t" + _root.ts].uc) && (_root.tss == true)) {
_root.cash = _root.cash - _root["t" + _root.ts].uc;
_root["t" + _root.ts].levels++;
_root["t" + _root.ts].ba.gotoAndStop(_root["t" + _root.ts].levels);
_root["t" + _root.ts].dmg = int(_root["t" + _root.ts].dmg * 1.5);
_root["t" + _root.ts].ra._width = _root["t" + _root.ts].ra._width + _root["t" + _root.ts].ri;
_root["t" + _root.ts].ra._height = _root["t" + _root.ts].ra._height + _root["t" + _root.ts].ri;
_root["t" + _root.ts].stm = _root["t" + _root.ts].stm + 10;
_root["t" + _root.ts].uc = _root["t" + _root.ts].uc * 2;
}
}
Symbol 188 Button
on (release) {
_root.gotoAndPlay(2);
}