Frame 1
Stage.showMenu = false;
_root.sound = 1;
fscommand ("allowscale", false);
_root.ver = 0;
_quality = "MEDIUM";
stop();
Instance of Symbol 166 MovieClip "micon" in Frame 1
onClipEvent (mouseMove) {
this._x = _root._xmouse;
this._y = _root._ymouse;
Mouse.hide();
}
onClipEvent (mouseDown) {
if ((_root.events._currentframe == 7) || (_root.events._currentframe == 8)) {
_root.events.nextFrame();
}
}
onClipEvent (enterFrame) {
if ((this._currentframe > 1) && (_root.tow_num == 15)) {
_root.msg.gotoAndPlay(2);
this.gotoAndStop(1);
}
if (_root.ver == 1) {
if (Key.isDown(27)) {
fscommand ("quit");
}
fscommand ("fullscreen", "true");
}
}
Frame 2
_quality = "LOW";
_root.free_1 = 1;
_root.free_2 = 1;
_root.free_3 = 1;
_root.free_4 = 1;
_root.free_5 = 1;
_root.free_6 = 1;
_root.free_7 = 1;
_root.free_8 = 1;
_root.free_9 = 1;
_root.free_10 = 1;
_root.free_11 = 1;
_root.free_12 = 1;
_root.free_13 = 1;
_root.free_14 = 1;
_root.free_15 = 1;
_root.free = 16;
_root.en_free = 6;
_root._crnt_en = -1;
_root.piercing = 0;
_root.scr_spd = 8;
_root.rnd = 1;
_root.level = 1;
_root.tow_num = 0;
_root.hp = 100;
_root.gold = 30;
_root.spam = 250;
_root.pau = 0;
_root.sel = 0;
_root.build_speed = 1;
_root.ready = 0;
_root.global_arm = 1;
onEnterFrame = function () {
if (_root.free_1 == 1) {
_root.free = 1;
}
if (_root.free_2 == 1) {
_root.free = 2;
}
if (_root.free_3 == 1) {
_root.free = 3;
}
if (_root.free_4 == 1) {
_root.free = 4;
}
if (_root.free_5 == 1) {
_root.free = 5;
}
if (_root.free_6 == 1) {
_root.free = 6;
}
if (_root.free_7 == 1) {
_root.free = 7;
}
if (_root.free_8 == 1) {
_root.free = 8;
}
if (_root.free_9 == 1) {
_root.free = 9;
}
if (_root.free_10 == 1) {
_root.free = 10;
}
if (_root.free_11 == 1) {
_root.free = 11;
}
if (_root.free_12 == 1) {
_root.free = 12;
}
if (_root.free_13 == 1) {
_root.free = 13;
}
if (_root.free_14 == 1) {
_root.free = 14;
}
if (_root.free_15 == 1) {
_root.free = 15;
}
_root.po = _root.tow_num + " / 15";
_root.lvl_cost = _root.level * 100;
if (_root.pau == 0) {
_root.spam_dis = Math.round(_root.spam / 25);
if (_root.spam > 0) {
_root.nxt_att.gotoAndStop(1);
_root.enemies = 1;
_root.kills = 0;
_root.spam--;
_root.lvl.duper.cnt = 0;
} else {
_root.nxt_att.gotoAndStop(2);
if (_root.kills == 9) {
_root.gold = _root.gold + ((10 * _root.rnd) + 20);
_root.wait = _root.wait - 0.5;
_root.screen.play();
_root.rnd++;
_root.spam = 250;
}
}
}
};
Instance of Symbol 334 MovieClip "lvl" in Frame 2
onClipEvent (load) {
this._x = 0;
this._y = 0;
}
onClipEvent (enterFrame) {
if (((((t_l == 1) && (t_r == 1)) && (t_d == 1)) && (t_u == 1)) && (_root.events._currentframe == 2)) {
_root.events.nextFrame();
}
if (_root.ready == 0) {
_root.spam = 250;
}
if (_root.sel == 1) {
_root.disp.gotoAndStop(2);
_root.dis_pic.cover.gotoAndStop(2);
}
if (_root.sel > 1) {
_root.disp.gotoAndStop(1);
_root.dis_pic.gotoAndStop(1);
} else {
_root.sel = 0;
}
e = 1;
while (e < 19) {
_root.lvl["tow" + e].onMouseDown = function () {
if (((_root.pau == 0) && (_root._ymouse < 350)) && (this._currentframe == 1)) {
if ((this.dis._currentframe == 1) && (this.inside.hitTest(_root._xmouse, _root._ymouse, true))) {
_root.sfx.gotoAndStop(this.sel_snd);
this.dis.gotoAndStop(2);
} else {
if (_root.dis_pic._currentframe == this.pic) {
_root.disp.gotoAndStop(1);
_root.dis_pic.gotoAndStop(1);
}
this.dis.gotoAndStop(1);
}
}
};
_root.lvl["tow" + e].onEnterFrame = function () {
if ((_root.pau == 0) && (this._currentframe == 1)) {
if (this.hp <= 0) {
this.gotoAndStop(2);
}
if (this._alpha < 100) {
this.dust.play();
this.hp = this.hp + _root.build_speed;
this._alpha = (this.hp / this.max_hp) * 100;
} else if (this.snd == undefined) {
this._alpha = 100;
this.hp = this.max_hp;
this.dust._alpha = 0;
this.dust.stop();
_root.sfx.gotoAndStop(8);
this.snd = 1;
}
}
};
_root.lvl["en" + e].onMouseDown = function () {
if (((_root.pau == 0) && (_root._ymouse < 350)) && (this._currentframe == 1)) {
if ((this.dis._currentframe == 1) && (this.inside.hitTest(_root._xmouse, _root._ymouse, true))) {
_root.sfx.gotoAndStop(50 + _root.rnd);
this.dis.gotoAndStop(2);
} else {
if (_root.dis_pic._currentframe == this.pic) {
_root.disp.gotoAndStop(1);
_root.dis_pic.gotoAndStop(1);
}
this.dis.gotoAndStop(1);
}
}
};
_root.lvl["en" + e].onEnterFrame = function () {
if ((((this._x > (this.xloc - this.spd)) && (this._y > (this.yloc - this.spd))) && (this._x < (this.xloc + this.spd))) && (this._y < (this.yloc + this.spd))) {
if (this.t == 4) {
this.yloc = 600;
}
if (this.t == 3) {
this.t = 4;
this.xloc = 360 + random(65);
this.yloc = 310 + random(65);
}
if (this.t == 2) {
this.t = 3;
this.xloc = 150 - random(65);
this.yloc = 310 + random(65);
}
if (this.t == 1) {
this.t = 2;
this.xloc = 140 - random(65);
this.yloc = 560 + random(65);
}
if (this.t == 0) {
this.t = 1;
this.xloc = 560 + random(65);
this.yloc = 560 + random(65);
}
}
this.Xd = this.xloc - this._x;
this.Yd = this.yloc - this._y;
this.radAngle = Math.atan2(this.Yd, this.Xd);
this._rotation = int(((this.radAngle * 360) / (Math.PI*2)) + 90);
if ((_root.pau == 0) && (this._currentframe == 1)) {
if (this.hp <= 0) {
if (!this.inside.hitTest(_root.lvl.nd)) {
_root.gold = _root.gold + Math.round((3 * _root.rnd) * _root.gold_var);
}
this.gotoAndStop(2);
}
if (this.slow_cnt > 0) {
if (_root.rnd < 11) {
this.inside.gotoAndStop((2 * _root.rnd) + 1);
} else {
this.inside.gotoAndStop((2 * _root.rnd) + 1) - 10;
}
this.spd = this.maxspd / 2;
this.slow_cnt--;
} else {
if (_root.rnd < 11) {
this.inside.gotoAndStop(2 * _root.rnd);
} else {
this.inside.gotoAndStop(2 * _root.rnd) - 10;
}
this.spd = this.maxspd;
}
if (this.inside.hitTest(_root.lvl.nd)) {
_root.lvl.tow1.hp = _root.lvl.tow1.hp - ((random(this.dam * 2) + this.dam) * 2);
this.hp = 0;
this.spd = 0;
}
if (this._rotation > 180) {
this._y = this._y + (this.spd * Math.cos((Math.PI/180) * this._rotation));
this._x = this._x - (this.spd * Math.sin((Math.PI/180) * this._rotation));
} else {
this._y = this._y - (this.spd * Math.cos((Math.PI/180) * this._rotation));
this._x = this._x + (this.spd * Math.sin((Math.PI/180) * this._rotation));
}
}
};
e++;
}
if (_root.pau == 0) {
if (_root.nam == "tow_no1") {
_root.free = 1;
}
if (_root.nam == "tow_no2") {
_root.free = 2;
}
if (_root.nam == "tow_no3") {
_root.free = 3;
}
if (_root.nam == "tow_no4") {
_root.free = 4;
}
if (_root.nam == "tow_no5") {
_root.free = 5;
}
if (_root.nam == "tow_no6") {
_root.free = 6;
}
if (_root.nam == "tow_no7") {
_root.free = 7;
}
if (_root.nam == "tow_no8") {
_root.free = 8;
}
if (_root.nam == "tow_no9") {
_root.free = 9;
}
if (_root.nam == "tow_no10") {
_root.free = 10;
}
if (_root.nam == "tow_no11") {
_root.free = 11;
}
if (_root.nam == "tow_no12") {
_root.free = 12;
}
if (_root.nam == "tow_no13") {
_root.free = 13;
}
if (_root.nam == "tow_no14") {
_root.free = 14;
}
if (_root.nam == "tow_no15") {
_root.free = 15;
}
if (_root.con_cnt > 11) {
_root.con_cnt = 1;
}
if (_root.events._currentframe > 1) {
if (((_root._xmouse > 530) || (Key.isDown(39))) && (this._x > -400)) {
t_r = 1;
this._x = this._x - _root.scr_spd;
}
if (((_root._xmouse < 20) || (Key.isDown(37))) && (this._x < 94)) {
t_l = 1;
this._x = this._x + _root.scr_spd;
}
if (((_root._ymouse > 455) || (Key.isDown(40))) && (this._y > -600)) {
t_d = 1;
this._y = this._y - _root.scr_spd;
}
if (((_root._ymouse < 20) || (Key.isDown(38))) && (this._y < 200)) {
t_u = 1;
this._y = this._y + _root.scr_spd;
}
}
}
}
Instance of Symbol 573 MovieClip in Frame 2
onClipEvent (enterFrame) {
if (_root.in_menu._currentframe <= 3) {
if (_root.sound == 1) {
if (this._currentframe == 1) {
this.play();
}
} else {
stopAllSounds();
_root.stopper.play();
this.gotoAndStop(1);
}
} else {
this.gotoAndStop(1);
}
}
Frame 3
stop();
gotoAndStop (2);
Symbol 17 MovieClip Frame 1
_root.bytesLoaded = _root.getBytesLoaded();
_root.bytesTotal = _root.getBytesTotal();
_root.percentLoaded = Math.round(100 * (_root.bytesLoaded / _root.bytesTotal));
_root.percentLoadedText = _root.percentLoaded + "%";
_root.men.loa.bar.gotoAndStop(_root.percentLoaded);
Symbol 17 MovieClip Frame 2
if (_root.percentLoaded == 100) {
_root.men.nextFrame();
}
Symbol 19 Button
on (release) {
getURL ("http://www.armorgames.com", "blank");
}
Symbol 26 MovieClip Frame 81
_root.men.nextFrame();
_root.play();
Symbol 49 MovieClip Frame 185
_root.men.nextFrame();
Symbol 50 MovieClip Frame 1
_root.c_x = 275;
_root.c_y = 200;
cnt = 1;
onEnterFrame = function () {
duplicateMovieClip (this.star, "s" + cnt, cnt);
cnt++;
duplicateMovieClip (this.star, "s" + cnt, cnt);
cnt++;
if (cnt > 100) {
cnt = 1;
}
};
Instance of Symbol 31 MovieClip "star" in Symbol 50 MovieClip Frame 1
onClipEvent (load) {
if (this._name == "star") {
} else {
this.gotoAndStop(1);
this._rotation = random(360);
this._x = this._x + (random(10) - 5);
this._y = this._y + (random(10) - 5);
}
}
onClipEvent (enterFrame) {
if (this._name == "star") {
} else {
xcalc = Math.pow(this._x - _root.c_x, 2);
this._width = this._width + 5;
this._height = this._width;
this._x = this._x + ((this._x - _root.c_x) / 3);
this._y = this._y + ((this._y - _root.c_y) / 3);
}
}
Instance of Symbol 49 MovieClip in Symbol 50 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(1000);
}
Symbol 74 Button
on (press, keyPress "t") {
_root.men.gotoAndStop(5);
}
Symbol 75 Button
on (press, keyPress "o") {
play();
}
Symbol 76 Button
on (press, keyPress "p") {
getURL ("http://www.armorgames.com", "blank");
}
Symbol 79 MovieClip Frame 25
stop();
Symbol 79 MovieClip Frame 49
_root.men.poo.gotoAndStop(2);
Symbol 83 Button
on (press, keyPress "s") {
if (_root.sound == 1) {
_root.sound = 0;
} else {
_root.sound = 1;
}
}
Symbol 85 Button
on (press, keyPress "d") {
play();
}
Symbol 87 Button
on (press, keyPress "h") {
_quality = "HIGH";
}
Symbol 89 Button
on (press, keyPress "m") {
_quality = "MEDIUM";
}
Symbol 91 Button
on (press, keyPress "l") {
_quality = "LOW";
}
Symbol 92 MovieClip Frame 25
stop();
Symbol 92 MovieClip Frame 49
_root.men.poo.gotoAndStop(1);
Symbol 93 MovieClip Frame 1
stop();
Symbol 120 MovieClip Frame 1
stop();
stopAllSounds();
_root.createEmptyMovieClip("mommy", 123666);
loadMovie ("http://www.ucfd.net/ucfd/images/ucfd_milLogo2.gif", _root.mommy);
_root.mommy._x = -1200;
_root.mommy._y = -1200;
Symbol 120 MovieClip Frame 4
stop();
count = 0;
total_count = 2;
_root.cnt = 1;
onEnterFrame = function () {
if (_root.cnt > 18) {
_root.cnt = 1;
}
count++;
if (count >= total_count) {
_root.cnt++;
duplicateMovieClip (_root.men.rain, "rain" + _root.cnt, _root.cnt);
_root.cnt++;
duplicateMovieClip (_root.men.rain, "rain" + _root.cnt, _root.cnt);
_root.cnt++;
duplicateMovieClip (_root.men.rain, "rain" + _root.cnt, _root.cnt);
_root.cnt++;
duplicateMovieClip (_root.men.rain, "rain" + _root.cnt, _root.cnt);
count = 0;
}
updateAfterEvent();
};
Instance of Symbol 93 MovieClip "poo" in Symbol 120 MovieClip Frame 4
onClipEvent (load) {
this.swapDepths(1000);
}
Instance of Symbol 97 MovieClip "rain" in Symbol 120 MovieClip Frame 4
onClipEvent (load) {
this._x = random(550);
gotoAndStop(random(3) + 1);
this.spd = random(40) + 20;
}
onClipEvent (enterFrame) {
if (_root.men._currentframe == 5) {
this._visible = false;
}
}
Instance of Symbol 99 MovieClip in Symbol 120 MovieClip Frame 4
onClipEvent (enterFrame) {
i = 1;
while (i < 20) {
_root.men["rain" + i].onEnterFrame = function () {
this._y = this._y + this.spd;
};
i++;
}
}
Instance of Symbol 101 MovieClip in Symbol 120 MovieClip Frame 4
onClipEvent (enterFrame) {
if (_root.sound == 1) {
if (this._currentframe == 1) {
this.play();
}
} else {
stopAllSounds();
this.gotoAndStop(1);
}
}
Symbol 120 MovieClip Frame 5
onMouseDown = function () {
stopAllSounds();
_root.gotoAndStop(2);
};
onKeyDown = function () {
stopAllSounds();
_root.gotoAndStop(2);
};
removeMovieClip("poo");
Symbol 123 MovieClip Frame 1
stopAllSounds();
stop();
Symbol 123 MovieClip Frame 2
stopAllSounds();
stop();
Symbol 158 MovieClip Frame 1
stop();
Symbol 158 MovieClip Frame 2
gotoAndStop (1);
Symbol 158 MovieClip Frame 3
gotoAndStop (1);
Symbol 158 MovieClip Frame 4
gotoAndStop (1);
Symbol 158 MovieClip Frame 5
gotoAndStop (1);
Symbol 158 MovieClip Frame 6
gotoAndStop (1);
Symbol 158 MovieClip Frame 7
gotoAndStop (1);
Symbol 158 MovieClip Frame 8
gotoAndStop (1);
Symbol 158 MovieClip Frame 9
gotoAndStop (1);
Symbol 158 MovieClip Frame 10
gotoAndStop (1);
Symbol 158 MovieClip Frame 11
gotoAndStop (1);
Symbol 158 MovieClip Frame 12
gotoAndStop (1);
Symbol 158 MovieClip Frame 13
gotoAndStop (1);
Symbol 158 MovieClip Frame 14
gotoAndStop (1);
Symbol 158 MovieClip Frame 15
gotoAndStop (1);
Symbol 158 MovieClip Frame 16
gotoAndStop (1);
Symbol 158 MovieClip Frame 17
gotoAndStop (1);
Symbol 158 MovieClip Frame 51
gotoAndStop (1);
Symbol 158 MovieClip Frame 52
gotoAndStop (1);
Symbol 158 MovieClip Frame 53
gotoAndStop (1);
Symbol 158 MovieClip Frame 54
gotoAndStop (1);
Symbol 158 MovieClip Frame 55
gotoAndStop (1);
Symbol 158 MovieClip Frame 56
gotoAndStop (1);
Symbol 158 MovieClip Frame 57
gotoAndStop (1);
Symbol 158 MovieClip Frame 58
gotoAndStop (1);
Symbol 158 MovieClip Frame 59
gotoAndStop (1);
Symbol 158 MovieClip Frame 60
gotoAndStop (1);
Symbol 158 MovieClip Frame 61
gotoAndStop (1);
Symbol 158 MovieClip Frame 62
gotoAndStop (1);
Symbol 158 MovieClip Frame 63
gotoAndStop (1);
Symbol 158 MovieClip Frame 64
gotoAndStop (1);
Symbol 158 MovieClip Frame 65
gotoAndStop (1);
Symbol 158 MovieClip Frame 66
gotoAndStop (1);
Symbol 158 MovieClip Frame 67
gotoAndStop (1);
Symbol 158 MovieClip Frame 68
gotoAndStop (1);
Symbol 158 MovieClip Frame 69
gotoAndStop (1);
Symbol 158 MovieClip Frame 70
gotoAndStop (1);
Symbol 158 MovieClip Frame 101
gotoAndStop (1);
Symbol 158 MovieClip Frame 102
gotoAndStop (1);
Symbol 158 MovieClip Frame 103
gotoAndStop (1);
Symbol 158 MovieClip Frame 104
gotoAndStop (1);
Symbol 158 MovieClip Frame 105
gotoAndStop (1);
Symbol 158 MovieClip Frame 106
gotoAndStop (1);
Symbol 158 MovieClip Frame 107
gotoAndStop (1);
Symbol 158 MovieClip Frame 108
gotoAndStop (1);
Symbol 158 MovieClip Frame 109
gotoAndStop (1);
Symbol 158 MovieClip Frame 110
gotoAndStop (1);
Symbol 158 MovieClip Frame 111
gotoAndStop (1);
Symbol 158 MovieClip Frame 112
gotoAndStop (1);
Symbol 158 MovieClip Frame 113
gotoAndStop (1);
Symbol 158 MovieClip Frame 114
gotoAndStop (1);
Symbol 158 MovieClip Frame 115
gotoAndStop (1);
Symbol 158 MovieClip Frame 116
gotoAndStop (1);
Symbol 158 MovieClip Frame 117
gotoAndStop (1);
Symbol 158 MovieClip Frame 118
gotoAndStop (1);
Symbol 158 MovieClip Frame 119
gotoAndStop (1);
Symbol 158 MovieClip Frame 120
gotoAndStop (1);
Symbol 160 MovieClip Frame 1
stop();
Symbol 166 MovieClip Frame 1
stop();
Symbol 236 MovieClip Frame 2
stop();
Symbol 236 MovieClip Frame 4
stop();
Symbol 236 MovieClip Frame 10
stop();
Symbol 236 MovieClip Frame 22
stop();
Symbol 236 MovieClip Frame 24
stop();
Symbol 236 MovieClip Frame 30
stop();
Symbol 239 MovieClip Frame 1
stop();
Symbol 239 MovieClip Frame 2
if (_parent.hitTest(_root.screen)) {
_root.sfx.gotoAndStop(13);
}
Symbol 239 MovieClip Frame 8
if (_parent.hitTest(_root.screen)) {
_root.sfx.gotoAndStop(11);
}
Symbol 243 MovieClip Frame 1
stop();
_root.sel--;
Symbol 243 MovieClip Frame 2
_root.sel++;
Instance of Symbol 242 MovieClip in Symbol 243 MovieClip Frame 2
onClipEvent (enterFrame) {
if ((_root.upgrade == 1) && (_parent._parent.typ == 1)) {
_parent._parent.snd = undefined;
_parent._parent.hp = 2;
_parent._parent._alpha = 50;
_parent._parent.lvl++;
_root.upgrade = 0;
}
if (_root.sell == 1) {
_root["free_" + _parent._parent.free_no] = 1;
if (_root.dis_pic._currentframe == _parent._parent.pic) {
_root.disp.gotoAndStop(1);
_root.dis_pic.gotoAndStop(1);
}
_root.sell = 0;
_parent._parent.removeMovieClip();
} else {
_root.disp.gotoAndStop(2);
_root.dis_pic.gotoAndStop(_parent._parent.pic);
_root.dis_lvl = _parent._parent.lvl;
_root.dis_snd = _parent._parent.snd;
_root.dis_arm = _parent._parent.arm;
_root.dis_dam = (_parent._parent.dam + " - ") + (_parent._parent.dam * 3);
_root.dis_hp = (Math.round(_parent._parent.hp) + " / ") + _parent._parent.max_hp;
this._width = (_parent._parent.hp / _parent._parent.max_hp) * 25;
}
}
Symbol 245 MovieClip Frame 19
stop();
_root["en_free_" + _parent._parent.free_no] = 1;
_parent._parent.removeMovieClip();
Symbol 246 MovieClip Frame 19
stop();
_root["en_free_" + _parent._parent.free_no] = 1;
_parent._parent.removeMovieClip();
Symbol 248 MovieClip Frame 19
stop();
_root["en_free_" + _parent._parent.free_no] = 1;
_parent._parent.removeMovieClip();
Symbol 249 MovieClip Frame 19
stop();
_root["en_free_" + _parent._parent.free_no] = 1;
_parent._parent.removeMovieClip();
Symbol 250 MovieClip Frame 15
stop();
_root["en_free_" + _parent._parent.free_no] = 1;
_parent._parent.removeMovieClip();
Symbol 251 MovieClip Frame 19
stop();
_root["en_free_" + _parent._parent.free_no] = 1;
_parent._parent.removeMovieClip();
Symbol 253 MovieClip Frame 19
stop();
_root["en_free_" + _parent._parent.free_no] = 1;
_parent._parent.removeMovieClip();
Symbol 254 MovieClip Frame 19
stop();
_root["en_free_" + _parent._parent.free_no] = 1;
_parent._parent.removeMovieClip();
Symbol 255 MovieClip Frame 19
stop();
_root["en_free_" + _parent._parent.free_no] = 1;
_parent._parent.removeMovieClip();
Symbol 256 MovieClip Frame 19
stop();
_root["en_free_" + _parent._parent.free_no] = 1;
_parent._parent.removeMovieClip();
Symbol 257 MovieClip Frame 2
stop();
Symbol 257 MovieClip Frame 4
stop();
Symbol 257 MovieClip Frame 6
stop();
Symbol 257 MovieClip Frame 8
stop();
Symbol 257 MovieClip Frame 10
stop();
Symbol 257 MovieClip Frame 12
stop();
Symbol 257 MovieClip Frame 14
stop();
Symbol 257 MovieClip Frame 16
stop();
Symbol 257 MovieClip Frame 18
stop();
Symbol 257 MovieClip Frame 20
stop();
Symbol 257 MovieClip Frame 22
stop();
Symbol 257 MovieClip Frame 24
stop();
Symbol 257 MovieClip Frame 26
stop();
Symbol 257 MovieClip Frame 28
stop();
Symbol 257 MovieClip Frame 30
stop();
Symbol 257 MovieClip Frame 32
stop();
Symbol 257 MovieClip Frame 34
stop();
Symbol 257 MovieClip Frame 36
stop();
Symbol 257 MovieClip Frame 38
stop();
Symbol 257 MovieClip Frame 40
stop();
Symbol 258 MovieClip Frame 1
stop();
Instance of Symbol 239 MovieClip "gun_up" in Symbol 258 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((((_root.pau == 0) && (this._currentframe == 1)) && (_parent._alpha == 100)) && ((_root.rnd == 5) || (_root.rnd == 15))) {
i = 3;
while (i < 19) {
if (((((!this.end4.hitTest(_root.lvl["tow" + i].dust)) && (!this.end5.hitTest(_root.lvl["tow" + i].dust))) && (!this.end3.hitTest(_root.lvl["tow" + i].dust))) && (!this.end.hitTest(_root.lvl["tow" + i].dust))) && (!this.end2.hitTest(_root.lvl["tow" + i].dust))) {
this._rotation = this._rotation + 0.5;
} else if (_root.lvl["tow" + i]._currentframe == 1) {
this.play();
_root.lvl["tow" + i].hp = _root.lvl["tow" + i].hp - ((random(_parent.dam * 2) + _parent.dam) / _root.global_arm);
}
i++;
}
}
}
Instance of Symbol 243 MovieClip "dis" in Symbol 258 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = (-_parent._rotation) - 180;
}
Symbol 258 MovieClip Frame 2
if (this.hitTest(_root.screen)) {
_root.sfx.gotoAndStop(100 + _root.rnd);
}
_root.kills++;
this.dis.gotoAndStop(1);
Symbol 261 Button
on (press) {
_root.tow_num++;
_root.sfx.gotoAndStop(4);
_root.place_x = _parent._x;
_root.place_y = _parent._y;
_root.lay = _root.free + 40;
if (_root.micon._currentframe == 2) {
if (_root.events._currentframe == 4) {
_root.events.nextFrame();
}
duplicateMovieClip (_root.lvl.aro, "tow" + (_root.free + 2), _root.lay);
_root.gold = _root.gold - 10;
} else if (_root.micon._currentframe == 3) {
duplicateMovieClip (_root.lvl.ice, "tow" + (_root.free + 2), _root.lay);
_root.gold = _root.gold - 50;
} else if (_root.micon._currentframe == 4) {
duplicateMovieClip (_root.lvl.lig, "tow" + (_root.free + 2), _root.lay);
_root.gold = _root.gold - 60;
} else if (_root.micon._currentframe == 5) {
duplicateMovieClip (_root.lvl.fir, "tow" + (_root.free + 2), _root.lay);
_root.gold = _root.gold - 50;
} else {
duplicateMovieClip (_root.lvl.ult, "tow" + (_root.free + 2), _root.lay);
_root.gold = _root.gold - 100;
}
_root.tower_cnt++;
if (Key.isDown(16) && (((_root.micon._currentframe == 2) && (_root.gold >= 10)) || ((_root.micon._currentframe > 2) && (_root.gold >= 50)))) {
} else {
_root.micon.gotoAndStop(1);
}
}
Symbol 263 MovieClip Frame 1
stop();
Instance of Symbol 262 MovieClip in Symbol 263 MovieClip Frame 1
onClipEvent (mouseMove) {
if (((_root._ymouse < 425) && (_root.micon._currentframe > 1)) && (_root.pau == 0)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
Symbol 272 MovieClip Frame 1
stop();
Symbol 272 MovieClip Frame 2
if (_parent.hitTest(_root.screen)) {
_root.sfx.gotoAndStop(2);
}
Symbol 283 MovieClip Frame 10
stop();
_parent._parent.removeMovieClip();
Symbol 284 MovieClip Frame 1
stop();
Instance of Symbol 272 MovieClip "gun_up" in Symbol 284 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((_root.pau == 0) && (this._currentframe == 1)) && (_parent._alpha == 100)) {
i = 1;
while (i < 11) {
if (((((!this.end5.hitTest(_root.lvl["en" + i].inside)) && (!this.end4.hitTest(_root.lvl["en" + i].inside))) && (!this.end3.hitTest(_root.lvl["en" + i].inside))) && (!this.end.hitTest(_root.lvl["en" + i].inside))) && (!this.end2.hitTest(_root.lvl["en" + i].inside))) {
this._rotation = this._rotation + 2;
} else if (_root.lvl["en" + i]._currentframe == 1) {
this.play();
_root.lvl["en" + i].hp = _root.lvl["en" + i].hp - ((random(_parent.dam * 2) + _parent.dam) / (Math.round(_root.rnd / 11) + 1));
}
i++;
}
}
}
Symbol 284 MovieClip Frame 2
if (_parent.hitTest(_root.screen)) {
_root.sfx.gotoAndStop(5);
}
_root["free_" + this.free_no] = 1;
_root.sel = 0;
_root.tow_num--;
this.dis.gotoAndStop(1);
if (_root.dis_pic._currentframe == _parent.pic) {
_root.disp.gotoAndStop(1);
_root.dis_pic.gotoAndStop(1);
}
Symbol 301 MovieClip Frame 1
stop();
Symbol 301 MovieClip Frame 2
if (_parent.hitTest(_root.screen)) {
_root.sfx.gotoAndStop(3);
}
Symbol 304 MovieClip Frame 1
stop();
Instance of Symbol 301 MovieClip "gun_up" in Symbol 304 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((_root.pau == 0) && (this._currentframe == 1)) && (_parent._alpha == 100)) {
i = 1;
while (i < 11) {
if (((((!this.end5.hitTest(_root.lvl["en" + i].inside)) && (!this.end4.hitTest(_root.lvl["en" + i].inside))) && (!this.end3.hitTest(_root.lvl["en" + i].inside))) && (!this.end.hitTest(_root.lvl["en" + i].inside))) && (!this.end2.hitTest(_root.lvl["en" + i].inside))) {
this._rotation = this._rotation + 2;
} else if (_root.lvl["en" + i]._currentframe == 1) {
this.play();
_root.lvl["en" + i].slow_cnt = (random(_parent.dam * 2) + _parent.dam) * 5;
_root.lvl["en" + i].hp = _root.lvl["en" + i].hp - ((random(_parent.dam * 2) + _parent.dam) / (Math.round(_root.rnd / 11) + 1));
}
i++;
}
}
}
Symbol 304 MovieClip Frame 2
if (_parent.hitTest(_root.screen)) {
_root.sfx.gotoAndStop(5);
}
_root["free_" + this.free_no] = 1;
_root.sel = 0;
_root.tow_num--;
this.dis.gotoAndStop(1);
if (_root.dis_pic._currentframe == _parent.pic) {
_root.disp.gotoAndStop(1);
_root.dis_pic.gotoAndStop(1);
}
Symbol 307 MovieClip Frame 1
stop();
Symbol 307 MovieClip Frame 2
if (_parent.hitTest(_root.screen)) {
_root.sfx.gotoAndStop(5);
}
_root.in_menu.gotoAndStop(4);
_root.sel = 0;
_root.tow_num--;
this.dis.gotoAndStop(1);
if (_root.dis_pic._currentframe == _parent.pic) {
_root.disp.gotoAndStop(1);
_root.dis_pic.gotoAndStop(1);
}
Symbol 318 MovieClip Frame 1
stop();
Symbol 318 MovieClip Frame 2
if (_parent.hitTest(_root.screen)) {
_root.sfx.gotoAndStop(9);
}
Symbol 319 MovieClip Frame 1
stop();
Instance of Symbol 318 MovieClip "gun_up" in Symbol 319 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((_root.pau == 0) && (this._currentframe == 1)) && (_parent._alpha == 100)) {
i = 1;
while (i < 11) {
if (((((!this.end5.hitTest(_root.lvl["en" + i].inside)) && (!this.end4.hitTest(_root.lvl["en" + i].inside))) && (!this.end3.hitTest(_root.lvl["en" + i].inside))) && (!this.end.hitTest(_root.lvl["en" + i].inside))) && (!this.end2.hitTest(_root.lvl["en" + i].inside))) {
this._rotation = this._rotation + 2;
} else if (_root.lvl["en" + i]._currentframe == 1) {
this.play();
_root.lvl["en" + i].hp = _root.lvl["en" + i].hp - ((random(_parent.dam * 2) + _parent.dam) / (Math.round(_root.rnd / 11) + 1));
}
i++;
}
}
}
Symbol 319 MovieClip Frame 2
if (_parent.hitTest(_root.screen)) {
_root.sfx.gotoAndStop(5);
}
_root["free_" + this.free_no] = 1;
_root.sel = 0;
_root.tow_num--;
this.dis.gotoAndStop(1);
if (_root.dis_pic._currentframe == _parent.pic) {
_root.disp.gotoAndStop(1);
_root.dis_pic.gotoAndStop(1);
}
Symbol 322 MovieClip Frame 1
stop();
Symbol 322 MovieClip Frame 2
if (_parent.hitTest(_root.screen)) {
_root.sfx.gotoAndStop(10);
}
Symbol 322 MovieClip Frame 8
if (_parent.hitTest(_root.screen)) {
_root.sfx.gotoAndStop(11);
}
Symbol 323 MovieClip Frame 1
stop();
Instance of Symbol 322 MovieClip "gun_up" in Symbol 323 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((_root.pau == 0) && (this._currentframe == 1)) && (_parent._alpha == 100)) {
i = 1;
while (i < 11) {
if (((((!this.end4.hitTest(_root.lvl["en" + i].inside)) && (!this.end5.hitTest(_root.lvl["en" + i].inside))) && (!this.end3.hitTest(_root.lvl["en" + i].inside))) && (!this.end.hitTest(_root.lvl["en" + i].inside))) && (!this.end2.hitTest(_root.lvl["en" + i].inside))) {
this._rotation = this._rotation + 0.5;
} else if (_root.lvl["en" + i]._currentframe == 1) {
this.play();
_root.lvl["en" + i].hp = _root.lvl["en" + i].hp - ((random(_parent.dam * 2) + _parent.dam) / (Math.round(_root.rnd / 11) + 1));
}
i++;
}
}
}
Symbol 323 MovieClip Frame 2
if (_parent.hitTest(_root.screen)) {
_root.sfx.gotoAndStop(5);
}
_root["free_" + this.free_no] = 1;
_root.sel = 0;
_root.tow_num--;
this.dis.gotoAndStop(1);
if (_root.dis_pic._currentframe == _parent.pic) {
_root.disp.gotoAndStop(1);
_root.dis_pic.gotoAndStop(1);
}
Symbol 329 MovieClip Frame 1
stop();
Symbol 329 MovieClip Frame 2
if (_parent.hitTest(_root.screen)) {
_root.sfx.gotoAndStop(10);
}
Symbol 330 MovieClip Frame 1
stop();
Instance of Symbol 329 MovieClip "gun_up" in Symbol 330 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((_root.pau == 0) && (this._currentframe == 1)) && (_parent._alpha == 100)) {
i = 1;
while (i < 11) {
if (((((!this.end5.hitTest(_root.lvl["en" + i].inside)) && (!this.end4.hitTest(_root.lvl["en" + i].inside))) && (!this.end3.hitTest(_root.lvl["en" + i].inside))) && (!this.end.hitTest(_root.lvl["en" + i].inside))) && (!this.end2.hitTest(_root.lvl["en" + i].inside))) {
this._rotation = this._rotation + 0.5;
} else if (_root.lvl["en" + i]._currentframe == 1) {
this.play();
_root.lvl["en" + i].hp = _root.lvl["en" + i].hp - ((random(_parent.dam * 2) + _parent.dam) / ((Math.round(_root.rnd / 11) + 1) / (_root.piercing + 1)));
}
i++;
}
}
}
Symbol 330 MovieClip Frame 2
if (_parent.hitTest(_root.screen)) {
_root.sfx.gotoAndStop(5);
}
_root["free_" + this.free_no] = 1;
_root[("tow_no" + this.free_no) - 1].free = 1;
_root.sel = 0;
_root.tow_num--;
this.dis.gotoAndStop(1);
if (_root.dis_pic._currentframe == _parent.pic) {
_root.disp.gotoAndStop(1);
_root.dis_pic.gotoAndStop(1);
}
Instance of Symbol 258 MovieClip "duper" in Symbol 334 MovieClip Frame 1
onClipEvent (load) {
typ = 0;
_root.sel++;
this.t = 0;
this.xloc = 550 + random(75);
this.yloc = 100 + random(75);
this.cr = 0;
this._y = random(60) + 120;
_root.enemies++;
this.slow_cnt = 0;
this.hp = 20 * _root.rnd;
this.max_hp = this.hp;
this.time = 0;
_rotation = 90;
this.maxspd = (_root.rnd / 4) + 0.75;
this.spd = 1;
this.pic = 10 + _root.rnd;
this.dam = Math.round(_root.rnd / 1.5);
this.arm = Math.round(_root.rnd / 11) + 1;
this.lvl = _root.rnd;
if (_root.rnd == 15) {
this.dam = Math.round(this.dam * 1.5);
}
if (_root.rnd > 10) {
this.pic = _root.rnd;
this.hp = Math.round(this.hp * 1.5);
this.max_hp = this.hp;
}
if ((_root.rnd == 8) || (_root.rnd == 18)) {
this.hp = this.hp + 100;
this.max_hp = this.hp;
this.arm = this.arm + 4;
}
if ((_root.rnd == 6) || (_root.rnd == 16)) {
this.maxspd = this.maxspd * 2;
}
if ((_root.rnd == 10) || (_root.rnd == 20)) {
this.hp = Math.round(this.hp * 1.5);
this.max_hp = this.hp;
this.arm++;
}
}
onClipEvent (enterFrame) {
if (this._name == "duper") {
time++;
if ((((time >= 50) && (_root.spam <= 0)) && (_root.pau == 0)) && (this._currentframe == 1)) {
if (_root.enemies < 10) {
duplicateMovieClip (this, "en" + _root.enemies, _root.enemies);
}
time = random(10);
}
}
}
Instance of Symbol 284 MovieClip "aro" in Symbol 334 MovieClip Frame 1
onClipEvent (load) {
this.free_no = _root.free;
_root["free_" + this.free_no] = 0;
typ = 1;
_root.sel++;
_alpha = 1;
this.pic = 3;
this.sel_snd = 6;
this._x = _root.place_x;
this._y = _root.place_y;
this.hp = 1;
this.lvl = 1;
}
onClipEvent (enterFrame) {
this.max_hp = this.lvl * 20;
this.dam = this.lvl;
this.arm = _root.global_arm;
}
Instance of Symbol 304 MovieClip "ice" in Symbol 334 MovieClip Frame 1
onClipEvent (load) {
this.free_no = _root.free;
_root["free_" + this.free_no] = 0;
typ = 1;
_root.sel++;
_alpha = 1;
this.sel_snd = 7;
this._x = _root.place_x;
this._y = _root.place_y;
this.hp = 1;
this.pic = 2;
this.lvl = 1;
}
onClipEvent (enterFrame) {
this.max_hp = 90 + (this.lvl * 10);
this.dam = this.lvl * 3;
this.arm = _root.global_arm;
}
Instance of Symbol 307 MovieClip "tow1" in Symbol 334 MovieClip Frame 1
onClipEvent (load) {
typ = 1;
_root.sel++;
this.snd = 1;
this.sel_snd = 6;
this.pic = 7;
this.dam = 0;
this.lvl = 1;
this.max_hp = (50 * this.lvl) + 50;
this.hp = this.max_hp;
this.arm = 1;
}
onClipEvent (enterFrame) {
this.max_hp = (50 * this.lvl) + 50;
}
Instance of Symbol 319 MovieClip "lig" in Symbol 334 MovieClip Frame 1
onClipEvent (load) {
this.free_no = _root.free;
_root["free_" + this.free_no] = 0;
typ = 1;
_root.sel++;
_alpha = 1;
this.sel_snd = 7;
this._x = _root.place_x;
this._y = _root.place_y;
this.hp = 1;
this.pic = 4;
this.lvl = 1;
}
onClipEvent (enterFrame) {
this.max_hp = 100 + (this.lvl * 20);
this.dam = (this.lvl + 2) * 4;
this.arm = _root.global_arm;
}
Instance of Symbol 323 MovieClip "fir" in Symbol 334 MovieClip Frame 1
onClipEvent (load) {
this.free_no = _root.free;
_root["free_" + this.free_no] = 0;
typ = 1;
_root.sel++;
_alpha = 1;
this.sel_snd = 7;
this._x = _root.place_x;
this._y = _root.place_y;
this.hp = 1;
this.pic = 5;
this.lvl = 1;
}
onClipEvent (enterFrame) {
this.max_hp = 90 + (this.lvl * 10);
this.dam = (this.lvl + 1) * 3;
this.arm = _root.global_arm;
}
Instance of Symbol 330 MovieClip "ult" in Symbol 334 MovieClip Frame 1
onClipEvent (load) {
this.free_no = _root.free;
_root["free_" + this.free_no] = 0;
typ = 1;
_root.sel++;
_alpha = 1;
this.sel_snd = 7;
this._x = _root.place_x;
this._y = _root.place_y;
this.hp = 2;
this.pic = 8;
this.lvl = 1;
}
onClipEvent (enterFrame) {
this.max_hp = (20 * this.lvl) + 130;
this.dam = 5 * ((this.lvl * 2) + 3);
this.arm = _root.global_arm;
}
Instance of Symbol 333 MovieClip "tow2" in Symbol 334 MovieClip Frame 1
onClipEvent (load) {
typ = 1;
_root.sel++;
this.snd = 1;
this.sel_snd = 6;
this.pic = 6;
this.dam = 0;
this.hp = 100;
this.lvl = 1;
}
onClipEvent (enterFrame) {
this.max_hp = 90 + (this.lvl * 10);
this.arm = _root.global_arm;
}
Symbol 338 Button
on (press) {
gotoAndStop (9);
}
Symbol 342 MovieClip Frame 210
stop();
Symbol 346 MovieClip Frame 160
stop();
Symbol 349 MovieClip Frame 210
stop();
Symbol 352 MovieClip Frame 215
stop();
Symbol 355 MovieClip Frame 265
stop();
Symbol 358 MovieClip Frame 170
stop();
Symbol 361 MovieClip Frame 110
stop();
Symbol 362 MovieClip Frame 1
stop();
Symbol 362 MovieClip Frame 2
stop();
Symbol 362 MovieClip Frame 3
stop();
Symbol 362 MovieClip Frame 4
stop();
Symbol 362 MovieClip Frame 5
stop();
Symbol 362 MovieClip Frame 6
stop();
Symbol 362 MovieClip Frame 7
stop();
Symbol 362 MovieClip Frame 8
stop();
Symbol 362 MovieClip Frame 9
stop();
_root.ready = 1;
Symbol 379 Button
on (press) {
_root.gold_var = 3;
_root.dif = 3;
nextFrame();
}
Symbol 380 Button
on (press) {
_root.gold_var = 2;
_root.dif = 2;
nextFrame();
}
Symbol 381 Button
on (press) {
_root.gold_var = 0.75;
_root.dif = 1;
nextFrame();
}
Symbol 439 MovieClip Frame 99
stop();
Symbol 439 MovieClip Frame 100
stop();
_root.events.nextFrame();
Symbol 439 MovieClip Frame 200
stop();
Symbol 439 MovieClip Frame 300
stop();
Symbol 439 MovieClip Frame 400
stop();
Symbol 439 MovieClip Frame 500
stop();
Symbol 439 MovieClip Frame 600
stop();
Symbol 439 MovieClip Frame 700
stop();
Symbol 439 MovieClip Frame 800
stop();
Symbol 439 MovieClip Frame 900
stop();
Symbol 439 MovieClip Frame 1000
stop();
Symbol 439 MovieClip Frame 1100
stop();
_root.events.nextFrame();
Symbol 439 MovieClip Frame 1200
stop();
Symbol 439 MovieClip Frame 1300
stop();
Symbol 439 MovieClip Frame 1400
stop();
Symbol 439 MovieClip Frame 1500
stop();
Symbol 439 MovieClip Frame 1600
stop();
Symbol 439 MovieClip Frame 1700
stop();
Symbol 439 MovieClip Frame 1800
stop();
Symbol 439 MovieClip Frame 1900
stop();
Symbol 439 MovieClip Frame 2000
stop();
Symbol 439 MovieClip Frame 2001
stop();
_root.in_menu.gotoAndStop(5);
Symbol 445 Button
on (press) {
if (_root.pau == 0) {
_root.sfx.gotoAndStop(15);
_root.in_menu.gotoAndStop(2);
} else {
_root.in_menu.gotoAndStop(1);
}
}
Symbol 461 MovieClip Frame 1
stop();
Instance of Symbol 160 MovieClip in Symbol 461 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pau == 0) {
if (this.hitTest(_root.micon.touch)) {
_parent.gotoAndStop(2);
} else if (_parent._currentframe == 2) {
_parent.gotoAndStop(1);
}
}
}
Instance of Symbol 160 MovieClip in Symbol 461 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pau == 0) {
if (this.hitTest(_root.micon.touch)) {
_parent.gotoAndStop(3);
} else if (_parent._currentframe == 3) {
_parent.gotoAndStop(1);
}
}
}
Instance of Symbol 160 MovieClip in Symbol 461 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pau == 0) {
if (this.hitTest(_root.micon.touch)) {
_parent.gotoAndStop(4);
} else if (_parent._currentframe == 4) {
_parent.gotoAndStop(1);
}
}
}
Instance of Symbol 160 MovieClip in Symbol 461 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pau == 0) {
if (this.hitTest(_root.micon.touch)) {
_parent.gotoAndStop(5);
} else if (_parent._currentframe == 5) {
_parent.gotoAndStop(1);
}
}
}
Instance of Symbol 160 MovieClip in Symbol 461 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pau == 0) {
if (this.hitTest(_root.micon.touch)) {
_parent.gotoAndStop(6);
} else if (_parent._currentframe == 6) {
_parent.gotoAndStop(1);
}
}
}
Symbol 462 Button
on (press) {
if (_root.events._currentframe == 3) {
_root.events.nextFrame();
}
if (_root.gold >= 10) {
_root.micon.gotoAndStop(2);
} else {
_root.msg.gotoAndPlay(40);
}
}
Symbol 463 Button
on (press) {
if (_root.gold >= 50) {
if (_root.level >= 2) {
_root.micon.gotoAndStop(3);
} else {
_root.msg.gotoAndPlay(80);
}
} else {
_root.msg.gotoAndPlay(40);
}
}
Symbol 464 Button
on (press) {
if (_root.gold >= 60) {
if (_root.level >= 3) {
_root.micon.gotoAndStop(4);
} else {
_root.msg.gotoAndPlay(80);
}
} else {
_root.msg.gotoAndPlay(40);
}
}
Symbol 465 Button
on (press) {
if (_root.gold >= 100) {
if (_root.level >= 4) {
_root.micon.gotoAndStop(7);
} else {
_root.msg.gotoAndPlay(80);
}
} else {
_root.msg.gotoAndPlay(40);
}
}
Symbol 466 Button
on (press) {
if (_root.gold >= 50) {
if (_root.level >= 2) {
_root.micon.gotoAndStop(5);
} else {
_root.msg.gotoAndPlay(80);
}
} else {
_root.msg.gotoAndPlay(40);
}
}
Symbol 467 Button
on (press) {
_root.micon.gotoAndStop(1);
}
Symbol 499 MovieClip Frame 1
stop();
Instance of Symbol 160 MovieClip in Symbol 499 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pau == 0) {
if (this.hitTest(_root.micon.touch)) {
_parent.gotoAndStop(2);
} else if (_parent._currentframe == 2) {
_parent.gotoAndStop(1);
}
}
}
Instance of Symbol 160 MovieClip in Symbol 499 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pau == 0) {
if (this.hitTest(_root.micon.touch)) {
_parent.gotoAndStop(3);
} else if (_parent._currentframe == 3) {
_parent.gotoAndStop(1);
}
}
}
Symbol 500 Button
on (press) {
if (_root.dis_snd == 1) {
if (_root.gold >= 100) {
if (_root.dis_lvl < 5) {
_root.upgrade = 1;
_root.gold = _root.gold - 100;
} else {
_root.msg.gotoAndPlay(120);
}
} else {
_root.msg.gotoAndPlay(40);
}
}
}
Symbol 501 Button
on (press) {
if (_root.dis_snd == 1) {
if (_root.gold >= 100) {
if (_root.dis_lvl < 5) {
_root.upgrade = 1;
_root.gold = _root.gold - 100;
} else {
_root.msg.gotoAndPlay(120);
}
} else {
_root.msg.gotoAndPlay(40);
}
}
}
Symbol 502 Button
on (press) {
if (_root.dis_snd == 1) {
_root.sel = 0;
_root.sell = 1;
_root.gold = _root.gold + ((100 * _root.dis_lvl) - 50);
_root.tow_num--;
}
}
Symbol 506 Button
on (press) {
if (_root.dis_snd == 1) {
if (_root.gold >= 20) {
if (_root.dis_lvl < 5) {
_root.upgrade = 1;
_root.gold = _root.gold - 20;
} else {
_root.msg.gotoAndPlay(120);
}
} else {
_root.msg.gotoAndPlay(40);
}
}
}
Symbol 508 Button
on (press) {
if (_root.dis_snd == 1) {
_root.sel = 0;
_root.sell = 1;
_root.gold = _root.gold + ((20 * _root.dis_lvl) - 10);
_root.tow_num--;
}
}
Symbol 512 Button
on (press) {
if (_root.dis_snd == 1) {
_root.sel = 0;
_root.sell = 1;
_root.gold = _root.gold + ((120 * _root.dis_lvl) - 60);
_root.tow_num--;
}
}
Symbol 513 Button
on (press) {
if (_root.dis_snd == 1) {
if (_root.gold >= 120) {
if (_root.dis_lvl < 5) {
_root.upgrade = 1;
_root.gold = _root.gold - 120;
} else {
_root.msg.gotoAndPlay(120);
}
} else {
_root.msg.gotoAndPlay(40);
}
}
}
Symbol 528 MovieClip Frame 1
stop();
Instance of Symbol 160 MovieClip in Symbol 528 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pau == 0) {
if (this.hitTest(_root.micon.touch)) {
_parent.gotoAndStop(2);
} else if (_parent._currentframe == 2) {
_parent.gotoAndStop(1);
}
}
}
Instance of Symbol 160 MovieClip in Symbol 528 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pau == 0) {
if (this.hitTest(_root.micon.touch)) {
_parent.gotoAndStop(3);
} else if (_parent._currentframe == 3) {
_parent.gotoAndStop(1);
}
}
}
Instance of Symbol 160 MovieClip in Symbol 528 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pau == 0) {
if (this.hitTest(_root.micon.touch)) {
_parent.gotoAndStop(4);
} else if (_parent._currentframe == 4) {
_parent.gotoAndStop(1);
}
}
}
Instance of Symbol 160 MovieClip in Symbol 528 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.micon.touch)) {
_parent.gotoAndStop(5);
} else if (_parent._currentframe == 5) {
_parent.gotoAndStop(1);
}
}
Instance of Symbol 160 MovieClip in Symbol 528 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.micon.touch)) {
_parent.gotoAndStop(6);
} else if (_parent._currentframe == 6) {
_parent.gotoAndStop(1);
}
}
Instance of Symbol 160 MovieClip in Symbol 528 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pau == 0) {
if (this.hitTest(_root.micon.touch)) {
_parent.gotoAndStop(5);
} else if (_parent._currentframe == 5) {
_parent.gotoAndStop(1);
}
}
}
Symbol 530 Button
on (press) {
if (_root.gold >= 50) {
if (_root.build_speed < 10) {
_root.sfx.gotoAndStop(14);
_root.gold = _root.gold - 50;
_root.build_speed++;
} else {
_root.msg.gotoAndPlay(120);
}
} else {
_root.msg.gotoAndPlay(40);
}
}
Symbol 531 Button
on (press) {
if (_root.gold >= 100) {
if (_root.global_arm < 5) {
_root.sfx.gotoAndStop(14);
_root.gold = _root.gold - 100;
_root.global_arm++;
} else {
_root.msg.gotoAndPlay(120);
}
} else {
_root.msg.gotoAndPlay(40);
}
}
Symbol 532 Button
on (press) {
if (_root.gold >= (_root.level * 100)) {
if (_root.level < 4) {
_root.sfx.gotoAndStop(14);
_root.gold = _root.gold - (_root.level * 100);
_root.level++;
} else {
_root.msg.gotoAndPlay(120);
}
} else {
_root.msg.gotoAndPlay(40);
}
}
Symbol 536 Button
on (press) {
if (_root.gold >= 500) {
if (_root.piercing == 0) {
_root.sfx.gotoAndStop(14);
_root.gold = _root.gold - 500;
_root.piercing = 1;
} else {
_root.msg.gotoAndPlay(120);
}
} else {
_root.msg.gotoAndPlay(40);
}
}
Symbol 542 MovieClip Frame 1
stop();
Instance of Symbol 160 MovieClip in Symbol 542 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pau == 0) {
if (this.hitTest(_root.micon.touch)) {
_parent.gotoAndStop(2);
} else if (_parent._currentframe == 2) {
_parent.gotoAndStop(1);
}
}
}
Symbol 543 Button
on (press) {
if (_root.dis_snd == 1) {
if (_root.gold >= 50) {
if (_root.dis_lvl < 5) {
_root.upgrade = 1;
_root.gold = _root.gold - 50;
} else {
_root.msg.gotoAndPlay(120);
}
} else {
_root.msg.gotoAndPlay(40);
}
}
}
Symbol 545 Button
on (press) {
if (_root.dis_snd == 1) {
_root.sel = 0;
_root.sell = 1;
_root.gold = _root.gold + ((200 * _root.dis_lvl) - 100);
_root.tow_num--;
}
}
Symbol 546 Button
on (press) {
if (_root.dis_snd == 1) {
if (_root.gold >= 200) {
if (_root.dis_lvl < 5) {
_root.upgrade = 1;
_root.gold = _root.gold - 200;
} else {
_root.msg.gotoAndPlay(120);
}
} else {
_root.msg.gotoAndPlay(40);
}
}
}
Symbol 572 MovieClip Frame 1
stop();
Symbol 572 MovieClip Frame 6
if (_root.events._currentframe == 5) {
_root.events.nextFrame();
}
Symbol 572 MovieClip Frame 7
if (_root.events._currentframe == 6) {
_root.events.nextFrame();
}
Symbol 585 MovieClip Frame 1
stop();
Symbol 585 MovieClip Frame 39
stop();
gotoAndStop (1);
Symbol 585 MovieClip Frame 79
stop();
gotoAndStop (1);
Symbol 585 MovieClip Frame 119
stop();
gotoAndStop (1);
Symbol 585 MovieClip Frame 159
stop();
gotoAndStop (1);
Symbol 594 MovieClip Frame 1
stop();
Symbol 604 Button
on (press, keyPress "r") {
gotoAndStop (1);
}
Symbol 605 Button
on (press, keyPress "e") {
stopAllSounds();
_root.gotoAndStop(1);
}
Symbol 606 Button
on (press, keyPress "s") {
stopAllSounds();
_root.play();
}
Symbol 607 Button
on (press, keyPress "o") {
gotoAndStop (3);
}
Symbol 615 Button
on (press, keyPress "b") {
gotoAndStop (2);
}
Symbol 617 MovieClip Frame 1
stopAllSounds();
Symbol 617 MovieClip Frame 100
_root.gotoAndStop(1);
_root.men.gotoAndStop(4);
Symbol 620 MovieClip Frame 1
stopAllSounds();
Symbol 620 MovieClip Frame 300
stop();
_root.gotoAndStop(1);
Symbol 621 MovieClip Frame 1
stop();
_root.pau = 0;
if (((((((((((((((((((((_root.screen._currentframe != 99) && (_root.screen._currentframe != 100)) && (_root.screen._currentframe != 200)) && (_root.screen._currentframe != 300)) && (_root.screen._currentframe != 400)) && (_root.screen._currentframe != 500)) && (_root.screen._currentframe != 600)) && (_root.screen._currentframe != 700)) && (_root.screen._currentframe != 800)) && (_root.screen._currentframe != 900)) && (_root.screen._currentframe != 1000)) && (_root.screen._currentframe != 1100)) && (_root.screen._currentframe != 1200)) && (_root.screen._currentframe != 1300)) && (_root.screen._currentframe != 1400)) && (_root.screen._currentframe != 1500)) && (_root.screen._currentframe != 1600)) && (_root.screen._currentframe != 1700)) && (_root.screen._currentframe != 1800)) && (_root.screen._currentframe != 1900)) && (_root.screen._currentframe != 2000)) {
_root.screen.play();
}
Symbol 621 MovieClip Frame 2
_root.pau = 1;
_root.micon.gotoAndStop(1);
_root.screen.stop();
Symbol 621 MovieClip Frame 4
_root.pau = 1;
_root.micon.gotoAndStop(1);
_root.screen.gotoAndStop(1);
Symbol 621 MovieClip Frame 5
_root.pau = 1;
_root.micon.gotoAndStop(1);
_root.screen.gotoAndStop(1);