Frame 1
urlStart = _url.indexOf("://") + 3;
urlEnd = _url.indexOf("/", urlStart);
domain = _url.substring(urlStart, urlEnd);
LastDot = domain.lastIndexOf(".") - 1;
domEnd = domain.lastIndexOf(".", LastDot) + 1;
domain = domain.substring(domEnd, domain.length);
stop();
Instance of Symbol 329 MovieClip "loader" in Frame 1
onClipEvent (enterFrame) {
percent = _root.getBytesLoaded() / _root.getBytesTotal();
_root.loader.bar._width = percent * 210;
if (percent == 1) {
_root.gotoAndStop(3);
}
}
Frame 4
function __com_mochibot__(swfid, mc, lv, trk) {
var x;
var g;
var s;
var fv;
var sb;
var u;
var res;
var mb;
var mbc;
var pv;
mb = "__mochibot__";
mbc = "mochibot.com";
g = (_global ? (_global) : (_level0._root));
if (g[mb + swfid]) {
return(g[mb + swfid]);
}
s = System.security;
x = mc._root.getSWFVersion;
fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5)));
if (!s) {
s = {};
}
sb = s.sandboxType;
if (sb == "localWithFile") {
return(null);
}
x = s.allowDomain;
if (x) {
s.allowDomain(mbc);
}
x = s.allowInsecureDomain;
if (x) {
s.allowInsecureDomain(mbc);
}
pv = ((fv == 5) ? (getVersion()) : (System.capabilities.version));
u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=8&fv=") + fv) + "&v=") + escape(pv)) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "")) + (trk ? "&t=1" : "");
lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv))));
g[mb + "level"] = lv;
if (fv == 5) {
res = "_level" + lv;
if (!eval (res)) {
loadMovieNum (u, lv);
}
} else {
res = mc.createEmptyMovieClip(mb + swfid, lv);
res.loadMovie(u);
}
return(res);
}
__com_mochibot__("1710d3cf", this, 10301, true);
var myMenu = new ContextMenu();
myMenu.hideBuiltInItems();
_root.menu = myMenu;
Mouse.hide();
trace(mouseListner);
if (mouseListner == undefined) {
var mouseListener = new Object();
Mouse.addListener(mouseListener);
}
archer_cookie = SharedObject.getLocal("CookieArcher");
if (archer_cookie.data.traces == undefined) {
archer_cookie.data.traces = new Array(4);
archer_cookie.data.availables = new Array(0, 0, 0, 0);
archer_cookie.data.current_wave = 1;
archer_cookie.data.CoolDownTimes = new Array(0.07, 0.07, 0.07, 0.07);
archer_cookie.data.ActiveTimes = new Array(1, 0.5, 0.5, 1);
archer_cookie.data.Color_changing = false;
archer_cookie.data.quality = "medium";
}
stop();
_quality = archer_cookie.data.quality;
if (_quality == "MEDIUM") {
qualitytext.text = "Med";
}
if (_quality == "LOW") {
qualitytext.text = "low";
}
if (_quality == "HIGH") {
qualitytext.text = "HIgH";
}
current_wave = archer_cookie.data.current_wave;
reminder._visible = false;
gameinstr._visible = false;
recon._visible = false;
GameEnded._visible = false;
if (current_wave == 33) {
GameEnded._visible = true;
}
t = 0;
while (t < 4) {
this["n_disp_" + t]._visible = false;
if (archer_cookie.data.availables[t] == 0) {
this["s_disp_" + t]._visible = false;
this["u_disp_" + t]._visible = true;
this["b_disp_" + t].enabled = false;
} else {
if (_root.archer_cookie.data.traces[t].length != 31) {
reminder._visible = true;
this["n_disp_" + t]._visible = true;
}
this["u_disp_" + t]._visible = false;
this["s_disp_" + t]._visible = true;
this["b_disp_" + t].enabled = true;
}
m = 0;
while (m < 4) {
if (m != t) {
this["s_disp_" + t]["maskee_" + m]._visible = false;
}
m++;
}
archer_cookie = SharedObject.getLocal("CookieArcher");
this["s_disp_" + t].canvas.clear();
this["s_disp_" + t].canvas2.clear();
this["s_disp_" + t].canvas.lineStyle(15, 16777215);
X = 0;
Y = 0;
i = 0;
while (i < _root.archer_cookie.data.traces[t].length) {
X = X + _root.archer_cookie.data.traces[t][i].x;
Y = Y + _root.archer_cookie.data.traces[t][i].y;
i++;
}
p = new point(X / _root.archer_cookie.data.traces[t].length, Y / _root.archer_cookie.data.traces[t].length, 0);
p.x = p.x - 100;
p.y = p.y - 100;
this["s_disp_" + t].canvas.moveTo((_root.archer_cookie.data.traces[t][0].x - p.x) * 0.2, (_root.archer_cookie.data.traces[t][0].y - p.y) * 0.2);
this["s_disp_" + t].canvas2.moveTo((_root.archer_cookie.data.traces[t][0].x - p.x) * 0.2, (_root.archer_cookie.data.traces[t][0].y - p.y) * 0.2);
i = 0;
while (i < _root.archer_cookie.data.traces[t].length) {
this["s_disp_" + t].canvas.lineStyle(5, 0);
this["s_disp_" + t].canvas2.lineStyle(5, 0);
this["s_disp_" + t].canvas.lineTo((_root.archer_cookie.data.traces[t][i].x - p.x) * 0.2, (_root.archer_cookie.data.traces[t][i].y - p.y) * 0.2);
this["s_disp_" + t].canvas2.lineTo((_root.archer_cookie.data.traces[t][i].x - p.x) * 0.2, (_root.archer_cookie.data.traces[t][i].y - p.y) * 0.2);
i++;
}
this["s_disp_" + t]["maskee_" + t].cacheAsBitmap = true;
this["s_disp_" + t].canvas.cacheAsBitmap = true;
this["s_disp_" + t]["maskee_" + t].setMask(this["s_disp_" + t].canvas);
t++;
}
if (MusicMenuSound == undefined) {
MusicPlaying = true;
MusicMenuSound = new Sound();
MusicMenuSound.attachSound("music_menu.wav");
MusicMenuSound.start(0, 9999999);
PotClickSound = new Sound();
PotClickSound.attachSound("OneClick.wav");
ColorLockSound = new Sound();
ColorLockSound.attachSound("ColorLock.wav");
}
if (MusicPlaying == false) {
MusicMenuSound.start(0, 9999999);
MusicPlaying = true;
}
Frame 5
trace("POLLASTRE");
_root.gotoAndPlay("ff");
Frame 6
function check_patterns() {
dists = new Array(17);
p = 0;
while (p < 17) {
revdist = 0;
dists[p] = 0;
i = 0;
while (i < 31) {
dists[p] = dists[p] + Math.sqrt(Math.pow(eval ("pattern" + p)[i].x - norm_line[i].x, 2) + Math.pow(eval ("pattern" + p)[i].y - norm_line[i].y, 2));
i++;
}
i = 0;
while (i < 31) {
revdist = revdist + Math.sqrt(Math.pow(eval ("pattern" + p)[i].x - norm_line[30 - i].x, 2) + Math.pow(eval ("pattern" + p)[i].y - norm_line[30 - i].y, 2));
i++;
}
if (dists[p] > revdist) {
dists[p] = revdist;
}
p++;
}
min = dists[0];
pmin = 0;
p = 0;
while (p < 17) {
if (dists[p] < min) {
min = dists[p];
pmin = p;
}
p++;
}
if (min <= 1500) {
switch (pmin) {
case 0 :
trace("GAMMA");
break;
case 1 :
trace("ALPHA");
break;
case 2 :
trace("BETHA");
break;
case 3 :
trace("ETHA");
break;
case 4 :
trace("OMEGA");
break;
case 5 :
trace("EPSILON");
break;
case 6 :
trace("DELTA");
break;
case 7 :
trace("PHI");
break;
case 8 :
trace("MU");
break;
case 9 :
trace("BIG OMEGA");
break;
case 10 :
trace("BIG ALPHA");
break;
case 11 :
trace("BIG GAMMA");
break;
case 12 :
trace("BIG SIGMA");
break;
case 13 :
trace("BIG DELTA");
break;
case 14 :
trace("RHO");
break;
case 15 :
trace("SIGMA");
break;
case 16 :
trace("TAU");
}
} else {
trace("NADAAAAA");
}
}
function print_pattern() {
i = 0;
while (i < 31) {
trace(((((("pattern7[" + i) + "]=new point(") + (Math.round(norm_line[i].x * 100) / 100)) + ",") + (Math.round(norm_line[i].y * 100) / 100)) + ",0);");
i++;
}
}
function resize_line() {
if ((xmax - xmin) > (ymax - ymin)) {
diam = xmax - xmin;
} else {
diam = ymax - ymin;
}
scale = 200 / diam;
scaled_line = new Array();
i = 0;
while (i < raw_line.length) {
p = new point((raw_line[i].x - xmin) * scale, (raw_line[i].y - ymin) * scale, raw_line[i].dl * scale);
scaled_line.push(p);
i++;
}
line_length = line_length * scale;
}
function normalize_line() {
step = line_length / 30;
norm_line = new Array();
norm_line.push(scaled_line[0]);
curr_step = 0;
i = 0;
while (i < scaled_line.length) {
if ((curr_step + scaled_line[i + 1].dl) > step) {
alp = (step - curr_step) / scaled_line[i + 1].dl;
scaled_line[i] = new point(((1 - alp) * scaled_line[i].x) + (alp * scaled_line[i + 1].x), ((1 - alp) * scaled_line[i].y) + (alp * scaled_line[i + 1].y), scaled_line[i + 1].dl - (step - curr_step));
norm_line.push(scaled_line[i]);
scaled_line[i + 1].dl = scaled_line[i + 1].dl - (step - curr_step);
i = i - 1;
curr_step = 0;
} else {
curr_step = curr_step + scaled_line[i + 1].dl;
}
i++;
}
if (norm_line.length < 31) {
norm_line.push(scaled_line[scaled_line.length - 1]);
}
}
function draw_points(line, ox, oy, color, size) {
Xmin = 1000;
Xmax = -1000;
Ymin = 1000;
Ymax = -1000;
i = 0;
while (i < line.length) {
if (line[i].x < Xmin) {
Xmin = line[i].x;
}
if (line[i].x > Xmax) {
Xmax = line[i].x;
}
if (line[i].y < Ymin) {
Ymin = line[i].y;
}
if (line[i].y > Ymax) {
Ymax = line[i].y;
}
i++;
}
trace((Ymax + " ") + Ymin);
p = new point(((Xmax - Xmin) / 2) - 100, ((Ymax - Ymin) / 2) - 100, 0);
temp_canvas.moveTo(ox + ((line[0].x - p.x) / size), oy + ((line[0].y - p.y) / size));
temp_canvas.lineStyle(10, 0, 100, true, "normal", "round", "round", 1);
sinecount = 3 + (Math.random() * 2);
i = 0;
while (i < line.length) {
sinecount = sinecount + (Math.random() / 5);
temp_canvas.lineStyle(((Math.sin(sinecount) * 8) / size) + (20 / size), color);
temp_canvas.lineTo(ox + ((line[i].x - p.x) / size), oy + ((line[i].y - p.y) / size));
i++;
}
}
save_btn._visible = false;
brush_cursor._visible = false;
Howtoing = false;
Instructions._visible = false;
pattern0 = new Array();
pattern0[0] = new point(0, 0, 0);
pattern0[1] = new point(8.16, 12.74, 0);
pattern0[2] = new point(16.92, 25.39, 0);
pattern0[3] = new point(25.61, 38.09, 0);
pattern0[4] = new point(33.78, 51.11, 0);
pattern0[5] = new point(41.77, 64.22, 0);
pattern0[6] = new point(50.59, 76.82, 0);
pattern0[7] = new point(58.51, 90.01, 0);
pattern0[8] = new point(66.67, 103.06, 0);
pattern0[9] = new point(74.42, 116.35, 0);
pattern0[10] = new point(82.51, 129.41, 0);
pattern0[11] = new point(90.47, 142.53, 0);
pattern0[12] = new point(98.35, 155.7, 0);
pattern0[13] = new point(104.64, 169.53, 0);
pattern0[14] = new point(104.64, 184.92, 0);
pattern0[15] = new point(98.64, 197.35, 0);
pattern0[16] = new point(84.03, 199.85, 0);
pattern0[17] = new point(70.08, 193.95, 0);
pattern0[18] = new point(57.93, 184.66, 0);
pattern0[19] = new point(48.99, 172.15, 0);
pattern0[20] = new point(44.42, 157.46, 0);
pattern0[21] = new point(39.55, 142.9, 0);
pattern0[22] = new point(38.41, 127.58, 0);
pattern0[23] = new point(39.37, 112.24, 0);
pattern0[24] = new point(43.92, 97.65, 0);
pattern0[25] = new point(51.3, 84.15, 0);
pattern0[26] = new point(57.83, 70.22, 0);
pattern0[27] = new point(64.53, 56.37, 0);
pattern0[28] = new point(72.44, 43.2, 0);
pattern0[29] = new point(81.68, 31.04, 0);
pattern0[30] = new point(90.07, 19.87, 0);
pattern1 = new Array();
pattern1[0] = new point(180.85, 0, 0);
pattern1[1] = new point(170.78, 16.16, 0);
pattern1[2] = new point(159.48, 31.5, 0);
pattern1[3] = new point(150.92, 48.05, 0);
pattern1[4] = new point(139.88, 63.58, 0);
pattern1[5] = new point(129.4, 79.51, 0);
pattern1[6] = new point(120.63, 96.39, 0);
pattern1[7] = new point(107.14, 109.88, 0);
pattern1[8] = new point(93.66, 123.36, 0);
pattern1[9] = new point(80.62, 137.03, 0);
pattern1[10] = new point(66.13, 149.34, 0);
pattern1[11] = new point(49.83, 159.13, 0);
pattern1[12] = new point(32.21, 165.96, 0);
pattern1[13] = new point(14.9, 161.71, 0);
pattern1[14] = new point(2.13, 149.28, 0);
pattern1[15] = new point(0, 130.56, 0);
pattern1[16] = new point(1.75, 111.77, 0);
pattern1[17] = new point(9.51, 94.75, 0);
pattern1[18] = new point(21.81, 81.38, 0);
pattern1[19] = new point(37.64, 72.34, 0);
pattern1[20] = new point(56.71, 72.34, 0);
pattern1[21] = new point(73.73, 80.48, 0);
pattern1[22] = new point(89, 91.13, 0);
pattern1[23] = new point(101.12, 105.74, 0);
pattern1[24] = new point(113.66, 120.04, 0);
pattern1[25] = new point(125.55, 134.78, 0);
pattern1[26] = new point(138.87, 148.06, 0);
pattern1[27] = new point(151.68, 162.12, 0);
pattern1[28] = new point(166.03, 174.54, 0);
pattern1[29] = new point(180.04, 187.4, 0);
pattern1[30] = new point(193.62, 200, 0);
pattern2 = new Array();
pattern2[0] = new point(23.33, 200, 0);
pattern2[1] = new point(14.77, 182.98, 0);
pattern2[2] = new point(10.52, 164.26, 0);
pattern2[3] = new point(7.38, 145.33, 0);
pattern2[4] = new point(4.39, 126.37, 0);
pattern2[5] = new point(2.58, 107.27, 0);
pattern2[6] = new point(1.36, 88.11, 0);
pattern2[7] = new point(0, 68.96, 0);
pattern2[8] = new point(0, 49.76, 0);
pattern2[9] = new point(4.44, 31.14, 0);
pattern2[10] = new point(14.2, 14.69, 0);
pattern2[11] = new point(29.88, 4.11, 0);
pattern2[12] = new point(48.34, 0, 0);
pattern2[13] = new point(66.31, 5.71, 0);
pattern2[14] = new point(79.93, 18.78, 0);
pattern2[15] = new point(87.78, 36.1, 0);
pattern2[16] = new point(86.51, 54.75, 0);
pattern2[17] = new point(72.96, 67.16, 0);
pattern2[18] = new point(54.7, 65.04, 0);
pattern2[19] = new point(45.67, 54.44, 0);
pattern2[20] = new point(64.69, 55.89, 0);
pattern2[21] = new point(82.76, 62.34, 0);
pattern2[22] = new point(99.38, 71.81, 0);
pattern2[23] = new point(114.6, 83.49, 0);
pattern2[24] = new point(124.44, 99.51, 0);
pattern2[25] = new point(115.89, 114.76, 0);
pattern2[26] = new point(97.25, 118.96, 0);
pattern2[27] = new point(78.17, 119.54, 0);
pattern2[28] = new point(59.24, 116.67, 0);
pattern2[29] = new point(40.31, 114.44, 0);
pattern2[30] = new point(21.11, 114.44, 0);
pattern3 = new Array();
pattern3[0] = new point(0, 0, 0);
pattern3[1] = new point(3.27, 14.07, 0);
pattern3[2] = new point(6.42, 28.18, 0);
pattern3[3] = new point(7.64, 42.53, 0);
pattern3[4] = new point(9.59, 56.85, 0);
pattern3[5] = new point(10.93, 71.25, 0);
pattern3[6] = new point(13.32, 85.48, 0);
pattern3[7] = new point(17.31, 99.1, 0);
pattern3[8] = new point(23.41, 98.43, 0);
pattern3[9] = new point(23.41, 83.97, 0);
pattern3[10] = new point(23.41, 69.51, 0);
pattern3[11] = new point(22.44, 55.12, 0);
pattern3[12] = new point(26.42, 41.28, 0);
pattern3[13] = new point(32.2, 28.39, 0);
pattern3[14] = new point(44.84, 24.39, 0);
pattern3[15] = new point(58.82, 25.09, 0);
pattern3[16] = new point(70.19, 33.12, 0);
pattern3[17] = new point(75.92, 46.21, 0);
pattern3[18] = new point(76.84, 60.61, 0);
pattern3[19] = new point(76.76, 75.03, 0);
pattern3[20] = new point(74.75, 89.34, 0);
pattern3[21] = new point(73.05, 103.7, 0);
pattern3[22] = new point(70.95, 118.01, 0);
pattern3[23] = new point(67.45, 132, 0);
pattern3[24] = new point(64.72, 146.17, 0);
pattern3[25] = new point(64.08, 160.58, 0);
pattern3[26] = new point(62.51, 174.87, 0);
pattern3[27] = new point(68.07, 188.07, 0);
pattern3[28] = new point(79.55, 196.63, 0);
pattern3[29] = new point(93.08, 200, 0);
pattern3[30] = new point(107.32, 199.02, 0);
pattern4 = new Array();
pattern4[0] = new point(20.9, 0, 0);
pattern4[1] = new point(10.86, 10.99, 0);
pattern4[2] = new point(2.75, 24.58, 0);
pattern4[3] = new point(0, 40.34, 0);
pattern4[4] = new point(0, 56.55, 0);
pattern4[5] = new point(6.81, 70.99, 0);
pattern4[6] = new point(18.27, 82.45, 0);
pattern4[7] = new point(31.18, 91.93, 0);
pattern4[8] = new point(45.39, 99.41, 0);
pattern4[9] = new point(61.34, 101.49, 0);
pattern4[10] = new point(77.4, 100.57, 0);
pattern4[11] = new point(91.87, 94.2, 0);
pattern4[12] = new point(100.91, 81.18, 0);
pattern4[13] = new point(105.97, 66.42, 0);
pattern4[14] = new point(105.97, 50.21, 0);
pattern4[15] = new point(105.97, 34, 0);
pattern4[16] = new point(104.48, 28.48, 0);
pattern4[17] = new point(104.82, 44.65, 0);
pattern4[18] = new point(110.43, 59.63, 0);
pattern4[19] = new point(118.8, 73.43, 0);
pattern4[20] = new point(127.36, 87.06, 0);
pattern4[21] = new point(140.07, 96.79, 0);
pattern4[22] = new point(153.71, 104.45, 0);
pattern4[23] = new point(169.76, 103.61, 0);
pattern4[24] = new point(183.39, 95.71, 0);
pattern4[25] = new point(196.36, 88.71, 0);
pattern4[26] = new point(200, 74.01, 0);
pattern4[27] = new point(200, 57.8, 0);
pattern4[28] = new point(195.81, 42.36, 0);
pattern4[29] = new point(188.87, 28.48, 0);
pattern4[30] = new point(180.6, 17.91, 0);
pattern5 = new Array();
pattern5[0] = new point(121.33, 0, 0);
pattern5[1] = new point(105.87, 0, 0);
pattern5[2] = new point(90.41, 0, 0);
pattern5[3] = new point(74.95, 0, 0);
pattern5[4] = new point(59.96, 3.57, 0);
pattern5[5] = new point(47.15, 12.12, 0);
pattern5[6] = new point(34.27, 20.2, 0);
pattern5[7] = new point(22.18, 29.39, 0);
pattern5[8] = new point(13.61, 42.25, 0);
pattern5[9] = new point(9.33, 56.94, 0);
pattern5[10] = new point(10.7, 72.08, 0);
pattern5[11] = new point(18.63, 85.28, 0);
pattern5[12] = new point(28.06, 97.38, 0);
pattern5[13] = new point(41.17, 105.27, 0);
pattern5[14] = new point(54.73, 112.35, 0);
pattern5[15] = new point(69.85, 114.67, 0);
pattern5[16] = new point(57.2, 110.67, 0);
pattern5[17] = new point(41.99, 112.22, 0);
pattern5[18] = new point(27.56, 117.55, 0);
pattern5[19] = new point(14.87, 126.08, 0);
pattern5[20] = new point(4.33, 136.84, 0);
pattern5[21] = new point(0, 151.56, 0);
pattern5[22] = new point(1.35, 166.7, 0);
pattern5[23] = new point(8.97, 180.12, 0);
pattern5[24] = new point(19.72, 190.53, 0);
pattern5[25] = new point(34.08, 195.88, 0);
pattern5[26] = new point(49.24, 198.92, 0);
pattern5[27] = new point(64.6, 200, 0);
pattern5[28] = new point(80.06, 199.99, 0);
pattern5[29] = new point(95.39, 198.15, 0);
pattern5[30] = new point(106.67, 190.67, 0);
pattern6 = new Array();
pattern6[0] = new point(74.18, 5.63, 0);
pattern6[1] = new point(60.17, 0, 0);
pattern6[2] = new point(44.84, 0, 0);
pattern6[3] = new point(30.34, 4.09, 0);
pattern6[4] = new point(18.44, 13.34, 0);
pattern6[5] = new point(12.21, 26.74, 0);
pattern6[6] = new point(13.8, 41.69, 0);
pattern6[7] = new point(21.89, 54.69, 0);
pattern6[8] = new point(31.01, 67.02, 0);
pattern6[9] = new point(41.04, 78.6, 0);
pattern6[10] = new point(51.7, 89.59, 0);
pattern6[11] = new point(60.68, 102, 0);
pattern6[12] = new point(70.49, 113.71, 0);
pattern6[13] = new point(78.42, 126.78, 0);
pattern6[14] = new point(85.24, 140.49, 0);
pattern6[15] = new point(91.58, 154.35, 0);
pattern6[16] = new point(95.77, 168.99, 0);
pattern6[17] = new point(95.77, 184.32, 0);
pattern6[18] = new point(88.83, 197.43, 0);
pattern6[19] = new point(74.07, 200, 0);
pattern6[20] = new point(58.96, 198.05, 0);
pattern6[21] = new point(44.51, 192.93, 0);
pattern6[22] = new point(30.37, 187.14, 0);
pattern6[23] = new point(16.81, 180.22, 0);
pattern6[24] = new point(4.93, 170.77, 0);
pattern6[25] = new point(0, 156.61, 0);
pattern6[26] = new point(3.64, 142.01, 0);
pattern6[27] = new point(11.29, 128.94, 0);
pattern6[28] = new point(24.31, 120.9, 0);
pattern6[29] = new point(38.09, 114.29, 0);
pattern6[30] = new point(50.7, 107.04, 0);
pattern7 = new Array();
pattern7[0] = new point(9.88, 0, 0);
pattern7[1] = new point(6.66, 14.82, 0);
pattern7[2] = new point(0.86, 29.04, 0);
pattern7[3] = new point(0, 44.35, 0);
pattern7[4] = new point(0.77, 59.57, 0);
pattern7[5] = new point(9.9, 71.37, 0);
pattern7[6] = new point(20.84, 81.4, 0);
pattern7[7] = new point(34.71, 87.96, 0);
pattern7[8] = new point(49.46, 91.79, 0);
pattern7[9] = new point(64.41, 91.25, 0);
pattern7[10] = new point(77.39, 83.11, 0);
pattern7[11] = new point(89.03, 73.25, 0);
pattern7[12] = new point(96.73, 60.01, 0);
pattern7[13] = new point(97.53, 44.71, 0);
pattern7[14] = new point(95.37, 29.62, 0);
pattern7[15] = new point(88.47, 16.66, 0);
pattern7[16] = new point(80.05, 4.84, 0);
pattern7[17] = new point(66.72, 3.65, 0);
pattern7[18] = new point(60.83, 17.19, 0);
pattern7[19] = new point(60.49, 32.55, 0);
pattern7[20] = new point(58.74, 47.74, 0);
pattern7[21] = new point(55.82, 62.85, 0);
pattern7[22] = new point(54.32, 78.13, 0);
pattern7[23] = new point(53.09, 93.41, 0);
pattern7[24] = new point(53.09, 108.81, 0);
pattern7[25] = new point(53.09, 124.22, 0);
pattern7[26] = new point(53.09, 139.62, 0);
pattern7[27] = new point(53.09, 155.02, 0);
pattern7[28] = new point(53.09, 170.43, 0);
pattern7[29] = new point(53.09, 185.83, 0);
pattern7[30] = new point(51.85, 200, 0);
pattern8 = new Array();
pattern8[0] = new point(0, 200, 0);
pattern8[1] = new point(6.85, 186.29, 0);
pattern8[2] = new point(13.75, 172.5, 0);
pattern8[3] = new point(22.03, 158.88, 0);
pattern8[4] = new point(27.31, 143.92, 0);
pattern8[5] = new point(35.43, 130.19, 0);
pattern8[6] = new point(38.75, 114.54, 0);
pattern8[7] = new point(41.76, 98.84, 0);
pattern8[8] = new point(42.65, 82.89, 0);
pattern8[9] = new point(44.96, 67.43, 0);
pattern8[10] = new point(45.59, 51.58, 0);
pattern8[11] = new point(45.59, 35.57, 0);
pattern8[12] = new point(45.59, 19.57, 0);
pattern8[13] = new point(45.59, 3.56, 0);
pattern8[14] = new point(45.59, 12.44, 0);
pattern8[15] = new point(45.71, 28.43, 0);
pattern8[16] = new point(49.2, 43.99, 0);
pattern8[17] = new point(55.36, 58.74, 0);
pattern8[18] = new point(65.18, 71.07, 0);
pattern8[19] = new point(80.43, 73.53, 0);
pattern8[20] = new point(93.3, 64.71, 0);
pattern8[21] = new point(103.94, 53.65, 0);
pattern8[22] = new point(112.27, 40.16, 0);
pattern8[23] = new point(118.59, 26.06, 0);
pattern8[24] = new point(123.53, 11.27, 0);
pattern8[25] = new point(123.43, 13.54, 0);
pattern8[26] = new point(122.06, 29.32, 0);
pattern8[27] = new point(126.27, 44.56, 0);
pattern8[28] = new point(133.09, 58.84, 0);
pattern8[29] = new point(142.65, 70.76, 0);
pattern8[30] = new point(157.35, 72.06, 0);
pattern9 = new Array();
pattern9[0] = new point(0, 167.86, 0);
pattern9[1] = new point(20.76, 167.86, 0);
pattern9[2] = new point(41.52, 167.86, 0);
pattern9[3] = new point(62.29, 167.86, 0);
pattern9[4] = new point(83.05, 167.86, 0);
pattern9[5] = new point(80.79, 161.15, 0);
pattern9[6] = new point(64.74, 148.11, 0);
pattern9[7] = new point(52.25, 132.49, 0);
pattern9[8] = new point(40.33, 115.59, 0);
pattern9[9] = new point(30.05, 97.61, 0);
pattern9[10] = new point(26.79, 77.62, 0);
pattern9[11] = new point(29.92, 57.8, 0);
pattern9[12] = new point(42.82, 41.98, 0);
pattern9[13] = new point(59.21, 29.57, 0);
pattern9[14] = new point(76.37, 18.38, 0);
pattern9[15] = new point(94.75, 8.88, 0);
pattern9[16] = new point(114.1, 1.79, 0);
pattern9[17] = new point(134.01, 1.82, 0);
pattern9[18] = new point(152.25, 11.34, 0);
pattern9[19] = new point(164.19, 26.4, 0);
pattern9[20] = new point(174.62, 44, 0);
pattern9[21] = new point(180.36, 63.56, 0);
pattern9[22] = new point(179.83, 84.25, 0);
pattern9[23] = new point(172.29, 102.71, 0);
pattern9[24] = new point(164.29, 120.6, 0);
pattern9[25] = new point(155.36, 138.44, 0);
pattern9[26] = new point(142.86, 150.88, 0);
pattern9[27] = new point(137.71, 155.36, 0);
pattern9[28] = new point(158.48, 155.36, 0);
pattern9[29] = new point(179.24, 155.36, 0);
pattern9[30] = new point(200, 155.36, 0);
pattern10 = new Array();
pattern10[0] = new point(0, 166.37, 0);
pattern10[1] = new point(14.65, 166.37, 0);
pattern10[2] = new point(29.3, 166.37, 0);
pattern10[3] = new point(40.71, 163.13, 0);
pattern10[4] = new point(46.39, 150.07, 0);
pattern10[5] = new point(54.16, 138.05, 0);
pattern10[6] = new point(60.78, 125.04, 0);
pattern10[7] = new point(67.76, 112.52, 0);
pattern10[8] = new point(72.53, 99.19, 0);
pattern10[9] = new point(77.17, 85.3, 0);
pattern10[10] = new point(82.71, 71.75, 0);
pattern10[11] = new point(87.68, 58.28, 0);
pattern10[12] = new point(92.04, 45.29, 0);
pattern10[13] = new point(93.81, 31.37, 0);
pattern10[14] = new point(95.58, 17.45, 0);
pattern10[15] = new point(97.35, 3.54, 0);
pattern10[16] = new point(102.65, 8.19, 0);
pattern10[17] = new point(108.63, 21.48, 0);
pattern10[18] = new point(115.42, 34.37, 0);
pattern10[19] = new point(121.49, 47.7, 0);
pattern10[20] = new point(128.61, 60.18, 0);
pattern10[21] = new point(135.45, 73.08, 0);
pattern10[22] = new point(140.72, 85.87, 0);
pattern10[23] = new point(146.17, 99.42, 0);
pattern10[24] = new point(151.32, 112.38, 0);
pattern10[25] = new point(155.03, 126, 0);
pattern10[26] = new point(160.19, 138.95, 0);
pattern10[27] = new point(162.83, 152.51, 0);
pattern10[28] = new point(170.7, 159.29, 0);
pattern10[29] = new point(185.35, 159.29, 0);
pattern10[30] = new point(200, 159.29, 0);
pattern11 = new Array();
pattern11[0] = new point(24.19, 200, 0);
pattern11[1] = new point(22.13, 188.38, 0);
pattern11[2] = new point(19.5, 176.71, 0);
pattern11[3] = new point(16.13, 165.23, 0);
pattern11[4] = new point(15.33, 153.27, 0);
pattern11[5] = new point(14.52, 141.32, 0);
pattern11[6] = new point(12.48, 129.53, 0);
pattern11[7] = new point(11.29, 117.64, 0);
pattern11[8] = new point(11.29, 105.62, 0);
pattern11[9] = new point(11.29, 93.61, 0);
pattern11[10] = new point(11.29, 81.59, 0);
pattern11[11] = new point(10.27, 69.66, 0);
pattern11[12] = new point(9.68, 57.69, 0);
pattern11[13] = new point(8.06, 45.87, 0);
pattern11[14] = new point(6.45, 34.11, 0);
pattern11[15] = new point(4.84, 23.71, 0);
pattern11[16] = new point(0, 14.64, 0);
pattern11[17] = new point(0, 2.62, 0);
pattern11[18] = new point(11.01, 1.61, 0);
pattern11[19] = new point(23.03, 1.61, 0);
pattern11[20] = new point(35.04, 1.61, 0);
pattern11[21] = new point(47.06, 1.61, 0);
pattern11[22] = new point(58.97, 1.16, 0);
pattern11[23] = new point(70.72, 0, 0);
pattern11[24] = new point(82.73, 0, 0);
pattern11[25] = new point(94.75, 0, 0);
pattern11[26] = new point(106.77, 0, 0);
pattern11[27] = new point(114.52, 4.27, 0);
pattern11[28] = new point(114.52, 16.29, 0);
pattern11[29] = new point(114.52, 28.3, 0);
pattern11[30] = new point(114.52, 40.32, 0);
pattern12 = new Array();
pattern12[0] = new point(200, 0, 0);
pattern12[1] = new point(177.69, 1.17, 0);
pattern12[2] = new point(155.33, 1.31, 0);
pattern12[3] = new point(132.95, 1.31, 0);
pattern12[4] = new point(110.59, 1.69, 0);
pattern12[5] = new point(88.27, 3.22, 0);
pattern12[6] = new point(65.95, 4.81, 0);
pattern12[7] = new point(43.6, 5.31, 0);
pattern12[8] = new point(21.36, 7.79, 0);
pattern12[9] = new point(0.9, 8.29, 0);
pattern12[10] = new point(18.81, 21.62, 0);
pattern12[11] = new point(36.74, 35, 0);
pattern12[12] = new point(54.45, 48.61, 0);
pattern12[13] = new point(72.23, 62.09, 0);
pattern12[14] = new point(87.85, 76.36, 0);
pattern12[15] = new point(97.42, 92.81, 0);
pattern12[16] = new point(79.91, 105.17, 0);
pattern12[17] = new point(65.82, 122.19, 0);
pattern12[18] = new point(47.3, 134.46, 0);
pattern12[19] = new point(32.84, 151.32, 0);
pattern12[20] = new point(16.99, 163.57, 0);
pattern12[21] = new point(5.23, 176.47, 0);
pattern12[22] = new point(19.76, 176.47, 0);
pattern12[23] = new point(42.13, 176.47, 0);
pattern12[24] = new point(64.48, 176.79, 0);
pattern12[25] = new point(86.57, 180.27, 0);
pattern12[26] = new point(108.51, 184.5, 0);
pattern12[27] = new point(130.53, 188.24, 0);
pattern12[28] = new point(152.91, 188.24, 0);
pattern12[29] = new point(174.63, 192.68, 0);
pattern12[30] = new point(196.08, 197.39, 0);
pattern13 = new Array();
pattern13[0] = new point(6.02, 186.47, 0);
pattern13[1] = new point(8.51, 166.95, 0);
pattern13[2] = new point(14.56, 148.06, 0);
pattern13[3] = new point(23.57, 130.41, 0);
pattern13[4] = new point(32.15, 112.57, 0);
pattern13[5] = new point(38.69, 93.82, 0);
pattern13[6] = new point(44.74, 74.91, 0);
pattern13[7] = new point(51.95, 56.42, 0);
pattern13[8] = new point(59.89, 38.21, 0);
pattern13[9] = new point(67.32, 20.07, 0);
pattern13[10] = new point(72.18, 2.53, 0);
pattern13[11] = new point(80.95, 14.62, 0);
pattern13[12] = new point(89.44, 32.43, 0);
pattern13[13] = new point(98.47, 50.03, 0);
pattern13[14] = new point(107.03, 67.94, 0);
pattern13[15] = new point(115.81, 85.75, 0);
pattern13[16] = new point(123.46, 104.07, 0);
pattern13[17] = new point(131.81, 122.08, 0);
pattern13[18] = new point(140.62, 139.88, 0);
pattern13[19] = new point(148.26, 158.18, 0);
pattern13[20] = new point(153.73, 176.46, 0);
pattern13[21] = new point(162.41, 194.2, 0);
pattern13[22] = new point(156.95, 195.02, 0);
pattern13[23] = new point(138.68, 187.43, 0);
pattern13[24] = new point(118.97, 185.63, 0);
pattern13[25] = new point(99.16, 184.96, 0);
pattern13[26] = new point(79.3, 184.96, 0);
pattern13[27] = new point(59.43, 184.96, 0);
pattern13[28] = new point(39.72, 183.46, 0);
pattern13[29] = new point(19.86, 183.46, 0);
pattern13[30] = new point(0, 183.46, 0);
pattern14 = new Array();
pattern14[0] = new point(24.56, 84.21, 0);
pattern14[1] = new point(36.43, 83.54, 0);
pattern14[2] = new point(47.45, 78.83, 0);
pattern14[3] = new point(55.01, 69.55, 0);
pattern14[4] = new point(60.2, 58.83, 0);
pattern14[5] = new point(65.64, 48.17, 0);
pattern14[6] = new point(70.18, 37.16, 0);
pattern14[7] = new point(70.18, 25.13, 0);
pattern14[8] = new point(65.14, 14.38, 0);
pattern14[9] = new point(55.69, 7.45, 0);
pattern14[10] = new point(44.92, 2.69, 0);
pattern14[11] = new point(33.46, 0, 0);
pattern14[12] = new point(21.76, 1.4, 0);
pattern14[13] = new point(12.98, 9.13, 0);
pattern14[14] = new point(7.8, 19.88, 0);
pattern14[15] = new point(2.99, 30.86, 0);
pattern14[16] = new point(1.75, 42.6, 0);
pattern14[17] = new point(0, 54.46, 0);
pattern14[18] = new point(0, 66.49, 0);
pattern14[19] = new point(1.33, 78.33, 0);
pattern14[20] = new point(4.5, 89.94, 0);
pattern14[21] = new point(7.47, 101.59, 0);
pattern14[22] = new point(10.89, 113.12, 0);
pattern14[23] = new point(15.63, 124.18, 0);
pattern14[24] = new point(20.99, 134.95, 0);
pattern14[25] = new point(26.04, 145.87, 0);
pattern14[26] = new point(31.04, 156.81, 0);
pattern14[27] = new point(36.03, 167.73, 0);
pattern14[28] = new point(40.34, 178.94, 0);
pattern14[29] = new point(43.86, 190.14, 0);
pattern14[30] = new point(47.37, 200, 0);
pattern15 = new Array();
pattern15[0] = new point(71.74, 0, 0);
pattern15[1] = new point(85.95, 5.9, 0);
pattern15[2] = new point(96.84, 17.19, 0);
pattern15[3] = new point(107.43, 28.85, 0);
pattern15[4] = new point(115.5, 42.41, 0);
pattern15[5] = new point(123.62, 55.94, 0);
pattern15[6] = new point(126.09, 71.46, 0);
pattern15[7] = new point(123.91, 86.95, 0);
pattern15[8] = new point(111.69, 95.24, 0);
pattern15[9] = new point(95.94, 95.65, 0);
pattern15[10] = new point(81.04, 91.61, 0);
pattern15[11] = new point(66.87, 84.52, 0);
pattern15[12] = new point(52.19, 80.01, 0);
pattern15[13] = new point(38.81, 71.53, 0);
pattern15[14] = new point(25.63, 62.74, 0);
pattern15[15] = new point(12.53, 53.84, 0);
pattern15[16] = new point(0.53, 43.74, 0);
pattern15[17] = new point(2.19, 30.4, 0);
pattern15[18] = new point(13.55, 21.57, 0);
pattern15[19] = new point(27.17, 14.4, 0);
pattern15[20] = new point(42.11, 9.24, 0);
pattern15[21] = new point(57.48, 5.46, 0);
pattern15[22] = new point(73.22, 4.35, 0);
pattern15[23] = new point(89.07, 4.35, 0);
pattern15[24] = new point(104.92, 4.35, 0);
pattern15[25] = new point(120.76, 4.35, 0);
pattern15[26] = new point(136.61, 4.35, 0);
pattern15[27] = new point(152.46, 4.35, 0);
pattern15[28] = new point(168.31, 4.35, 0);
pattern15[29] = new point(184.15, 4.35, 0);
pattern15[30] = new point(200, 4.35, 0);
pattern16 = new Array();
pattern16[0] = new point(0, 0, 0);
pattern16[1] = new point(15.9, 5, 0);
pattern16[2] = new point(32.46, 10.48, 0);
pattern16[3] = new point(49.6, 12.5, 0);
pattern16[4] = new point(66.82, 15.72, 0);
pattern16[5] = new point(84.11, 18.6, 0);
pattern16[6] = new point(101.4, 21.48, 0);
pattern16[7] = new point(118.74, 24.11, 0);
pattern16[8] = new point(136.2, 25, 0);
pattern16[9] = new point(153.61, 26.22, 0);
pattern16[10] = new point(171.02, 27.5, 0);
pattern16[11] = new point(188.55, 27.5, 0);
pattern16[12] = new point(193.92, 27.5, 0);
pattern16[13] = new point(176.39, 27.5, 0);
pattern16[14] = new point(158.86, 27.5, 0);
pattern16[15] = new point(141.33, 27.5, 0);
pattern16[16] = new point(123.8, 27.5, 0);
pattern16[17] = new point(106.68, 30, 0);
pattern16[18] = new point(91.22, 36.89, 0);
pattern16[19] = new point(76.47, 46.03, 0);
pattern16[20] = new point(65, 58.81, 0);
pattern16[21] = new point(60, 74.71, 0);
pattern16[22] = new point(57.5, 91.84, 0);
pattern16[23] = new point(57.5, 109.37, 0);
pattern16[24] = new point(64.59, 124.59, 0);
pattern16[25] = new point(76.6, 135.8, 0);
pattern16[26] = new point(91.62, 144.56, 0);
pattern16[27] = new point(106.94, 152.5, 0);
pattern16[28] = new point(122.71, 158.85, 0);
pattern16[29] = new point(139.97, 160, 0);
pattern16[30] = new point(157.5, 160, 0);
OneSound = new Sound();
OneSound.attachSound("507530_SOUNDDOGS_Ma.mp3");
ThreeSound = new Sound();
ThreeSound.attachSound("507535_SOUNDDOGS_Ma.mp3");
this.createEmptyMovieClip("canvas_mc2", this.getNextHighestDepth());
this.createEmptyMovieClip("temp_canvas", this.getNextHighestDepth());
_root.canvas_mc2.filters = [new flash.filters.GlowFilter(0, 100, 3, 3, 100, 2, true, false)];
_root.temp_canvas.filters = [new flash.filters.GlowFilter(0, 100, 1.5, 1.5, 100, 2, true, false), new flash.filters.DropShadowFilter(2, 45, 0, 0.5, 4, 4, 1, 1)];
this.createEmptyMovieClip("canvas_mc_fx", this.getNextHighestDepth());
ind = 0;
usefultrace = false;
colour = 0;
nextcolour = 0;
pas = 0;
temp_patterns = new Array(3);
created_pattern = new Array();
t = 0;
while (t < 3) {
temp_patterns[t] = new Array();
t++;
}
canvas_mc_fx.onEnterFrame = function () {
if (this.removing == true) {
canvas_mc2.clear();
canvas_mc2.lineStyle(10, 0, 100, true, "normal", "round", "round", 1);
canvas_mc2.moveTo(raw_line[ind].x, raw_line[ind].y);
i = ind;
while (i < raw_line.length) {
canvas_mc2.lineStyle(raw_line[i].w, colortable[colour]);
canvas_mc2.lineTo(raw_line[i].x, raw_line[i].y);
i++;
}
col = new Color(canvas_mc_fx);
col.setRGB(colortable[colour]);
if (_root.usefultrace == true) {
canvas_mc_fx.attachMovie("explosion", "explosion" + ind, _root.canvas_mc_fx.getNextHighestDepth());
canvas_mc_fx["explosion" + ind]._x = raw_line[ind].x;
canvas_mc_fx["explosion" + ind]._y = raw_line[ind].y;
canvas_mc_fx["explosion" + ind]._xscale = raw_line[ind].w * 5;
canvas_mc_fx["explosion" + ind]._yscale = raw_line[ind].w * 5;
}
ind = ind + Math.max(Math.floor(raw_line.length / 15), 4);
} else {
ind = 0;
}
if ((this.removing == true) && (ind > (raw_line.length - 1))) {
canvas_mc2.clear();
ind = 0;
this.removing = false;
this.clear();
}
};
mouseListener.onMouseDown = function () {
if (_root.canvas_view.hitTest(_root._xmouse, _root._ymouse) && (Howtoing == false)) {
usefultrace = false;
colour = nextcolour;
_root.canvas_mc_fx.removing = false;
_root.canvas_mc_fx.clear();
_root.canvas_mc2.clear();
this.isDrawing = true;
line_length = 0;
xmin = 640;
xmax = 0;
ymin = 480;
ymax = 0;
linecount = 0;
sinecount = 3 + (Math.random() * 2);
raw_line = new Array();
brush_size = 15;
canvas_mc2.lineStyle(10, 0, 100, true, "normal", "round", "round", 1);
canvas_mc2.moveTo(_xmouse, _ymouse);
}
};
mouseListener.onMouseMove = function () {
if (_root.canvas_view.hitTest(_root._xmouse, _root._ymouse) && (Howtoing == false)) {
Mouse.hide();
brush_cursor._visible = true;
normal_cursor._visible = false;
} else {
Mouse.hide();
brush_cursor._visible = false;
normal_cursor._visible = true;
}
if (this.isDrawing) {
if ((raw_line[raw_line.length - 1].x != Math.round(_xmouse)) || (raw_line[raw_line.length - 1].y != Math.round(_ymouse))) {
if (Math.round(_xmouse) > xmax) {
xmax = Math.round(_xmouse);
}
if (Math.round(_xmouse) < xmin) {
xmin = Math.round(_xmouse);
}
if (Math.round(_ymouse) > ymax) {
ymax = Math.round(_ymouse);
}
if (Math.round(_ymouse) < ymin) {
ymin = Math.round(_ymouse);
}
linecount = linecount + 1;
p = new point(Math.round(_xmouse), Math.round(_ymouse));
raw_line.push(p);
if (raw_line.length > 1) {
dl = Math.sqrt(Math.pow(raw_line[raw_line.length - 1].x - raw_line[raw_line.length - 2].x, 2) + Math.pow(raw_line[raw_line.length - 1].y - raw_line[raw_line.length - 2].y, 2));
} else {
dl = 0;
}
raw_line[raw_line.length - 1].dl = dl;
line_length = line_length + dl;
}
sinecount = sinecount + (Math.random() / 5);
brush_size = (Math.sin(sinecount) * 7) + 17;
raw_line[raw_line.length - 1].w = brush_size;
canvas_mc2.lineStyle(brush_size, colortable[colour]);
canvas_mc2.lineTo(_xmouse, _ymouse);
}
updateAfterEvent();
};
mouseListener.onMouseUp = function () {
if (this.isDrawing == true) {
this.isDrawing = false;
resize_line();
normalize_line();
check_patterns();
if (min < 1000) {
trace("too similar to " + pmin);
removeMovieClip(TooSimilar.holder.symbol);
TooSimilar.holder.attachMovie("symbol" + pmin, "symbol", 1);
TooSimilar.play();
} else if (norm_line.length > 2) {
trace("LENGHTO " + norm_line.length);
temp_patterns[pas] = norm_line;
if (pas != 2) {
ThreeSound.start(0, 1);
}
draw_points(temp_patterns[pas], _root["disp" + pas]._x, _root["disp" + pas]._y, 16777215, 2.5);
pas = pas + 1;
}
if (pas == 3) {
OneSound.start(0, 1);
save_btn._visible = true;
i = 0;
while (i < 31) {
trace("X " + temp_patterns[0][i].x);
p = new point((temp_patterns[0][i].x + temp_patterns[1][i].x) + temp_patterns[2][i].x, (temp_patterns[0][i].y + temp_patterns[1][i].y) + temp_patterns[2][i].y, temp_patterns[0][i]);
p.x = p.x / 3;
p.y = p.y / 3;
created_pattern.push(p);
i++;
}
draw_points(created_pattern, _root.displast._x, _root.displast._y, 16767296, 1.15);
}
_root.canvas_mc_fx.removing = true;
}
};
colortable = new Array("0xFFFFFF", "0xFF0000", "0x3399FF", "0xFFCC00", "0x006600");
var currentcolor;
Frame 7
function check_patterns() {
active_specials = 4;
dists = new Array(17 + active_specials);
p = 0;
while (p < 17) {
revdist = 0;
dists[p] = 0;
i = 0;
while (i < 31) {
dists[p] = dists[p] + Math.sqrt(Math.pow(eval ("pattern" + p)[i].x - norm_line[i].x, 2) + Math.pow(eval ("pattern" + p)[i].y - norm_line[i].y, 2));
i++;
}
i = 0;
while (i < 31) {
revdist = revdist + Math.sqrt(Math.pow(eval ("pattern" + p)[i].x - norm_line[30 - i].x, 2) + Math.pow(eval ("pattern" + p)[i].y - norm_line[30 - i].y, 2));
i++;
}
if (dists[p] > revdist) {
dists[p] = revdist;
}
p++;
}
p = 0;
while (p < active_specials) {
revdist = 0;
dists[17 + p] = 0;
i = 0;
while (i < 31) {
dists[17 + p] = dists[17 + p] + Math.sqrt(Math.pow(_root.archer_cookie.data.traces[p][i].x - norm_line[i].x, 2) + Math.pow(_root.archer_cookie.data.traces[p][i].y - norm_line[i].y, 2));
i++;
}
i = 0;
while (i < 31) {
revdist = revdist + Math.sqrt(Math.pow(_root.archer_cookie.data.traces[p][i].x - norm_line[30 - i].x, 2) + Math.pow(_root.archer_cookie.data.traces[p][i].y - norm_line[30 - i].y, 2));
i++;
}
if (dists[17 + p] > revdist) {
dists[17 + p] = revdist;
}
p++;
}
min = dists[0];
pmin = 0;
p = 0;
while (p < (17 + active_specials)) {
if (dists[p] < min) {
min = dists[p];
pmin = p;
}
p++;
}
trace(pmin);
if (min <= 1500) {
switch (pmin) {
case 0 :
trace("GAMMA");
break;
case 1 :
trace("ALPHA");
break;
case 2 :
trace("BETHA");
break;
case 7 :
trace("ETHA");
break;
case 4 :
trace("OMEGA");
break;
case 5 :
trace("EPSILON");
break;
case 6 :
trace("DELTA");
break;
case 3 :
trace("PHI");
break;
case 8 :
trace("MU");
break;
case 9 :
trace("BIG OMEGA");
break;
case 10 :
trace("BIG ALPHA");
break;
case 11 :
trace("BIG GAMMA");
break;
case 12 :
trace("BIG SIGMA");
break;
case 13 :
trace("BIG DELTA");
break;
case 14 :
trace("RHO");
break;
case 15 :
trace("SIGMA");
break;
case 16 :
trace("TAU");
break;
case 17 :
trace("SPECIAL 0");
break;
case 18 :
trace("SPECIAL 1");
break;
case 19 :
trace("SPECIAL 2");
break;
case 20 :
trace("SPECIAL 3");
}
if (pmin < 17) {
if (b_and_w <= 0) {
kill_enemies(mouseListener.enemies[pmin][colour]);
mouseListener.enemies[pmin][colour] = new Array();
} else {
trace("HINEM");
tokill = new Array();
i = 0;
while (i < 7) {
k = 0;
while (k < mouseListener.enemies[pmin][i].length) {
tokill.push(mouseListener.enemies[pmin][i][k]);
k++;
}
mouseListener.enemies[pmin][i] = new Array();
i++;
}
kill_enemies(tokill);
}
} else {
kill_with_special(pmin);
}
} else {
trace("NADAAAAA");
}
}
function print_pattern() {
i = 0;
while (i < 31) {
trace(((((("pattern7[" + i) + "]=new point(") + (Math.round(norm_line[i].x * 100) / 100)) + ",") + (Math.round(norm_line[i].y * 100) / 100)) + ",0);");
i++;
}
}
function resize_line() {
if ((xmax - xmin) > (ymax - ymin)) {
diam = xmax - xmin;
} else {
diam = ymax - ymin;
}
scale = 200 / diam;
scaled_line = new Array();
i = 0;
while (i < raw_line.length) {
p = new point((raw_line[i].x - xmin) * scale, (raw_line[i].y - ymin) * scale, raw_line[i].dl * scale);
scaled_line.push(p);
i++;
}
line_length = line_length * scale;
draw_points(scaled_line);
}
function normalize_line() {
step = line_length / 30;
norm_line = new Array();
norm_line.push(scaled_line[0]);
curr_step = 0;
i = 0;
while (i < scaled_line.length) {
if ((curr_step + scaled_line[i + 1].dl) > step) {
alp = (step - curr_step) / scaled_line[i + 1].dl;
scaled_line[i] = new point(((1 - alp) * scaled_line[i].x) + (alp * scaled_line[i + 1].x), ((1 - alp) * scaled_line[i].y) + (alp * scaled_line[i + 1].y), scaled_line[i + 1].dl - (step - curr_step));
norm_line.push(scaled_line[i]);
scaled_line[i + 1].dl = scaled_line[i + 1].dl - (step - curr_step);
i = i - 1;
curr_step = 0;
} else {
curr_step = curr_step + scaled_line[i + 1].dl;
}
i++;
}
if (norm_line.length < 31) {
norm_line.push(scaled_line[scaled_line.length - 1]);
}
}
function kill_with_special(spe) {
_root.attachMovie("special_alert", "special_alert", _root.getNextHighestDepth());
_root.special_alert._x = 350;
_root.special_alert._y = 240;
if ((((lower_tab.s_disp_0.action_timer.circ2.val == 0) && (lower_tab.s_disp_1.action_timer.circ2.val == 0)) && (lower_tab.s_disp_2.action_timer.circ2.val == 0)) && (lower_tab.s_disp_3.action_timer.circ2.val == 0)) {
allowero = true;
} else {
_root.special_alert.effect_name.text = "NoT Two spells sImulTAneously!";
allowero = false;
}
if (allowero == false) {
UnableSound.start(0, 1);
}
if ((spe == 17) && (allowero == true)) {
if (Math.abs(lower_tab.s_disp_0.cooldown_timer.circ2.val) < 0.3) {
SpecialAlertSound.start(0, 1);
_root.special_alert.effect_name.text = "CoLor LIgTHnIng";
lower_tab.s_disp_0.cooldown_timer.circ2.val = 100;
d = _root.holder.getNextHighestDepth();
_root.holder.attachMovie("color_boom", "color_boom" + d, _root.holder.getNextHighestDepth());
_root.holder["color_boom" + d]._x = 550;
_root.holder["color_boom" + d]._y = 210;
_root.holder["color_boom" + d].d = d;
c = new Color(_root.holder["color_boom" + d].l_effect);
c.setRGB(_root.colortable[_root.colour]);
} else {
_root.special_alert.effect_name.text = "NoT reAdy YeT";
UnableSound.start(0, 1);
}
}
if ((spe == 18) && (allowero == true)) {
if (Math.abs(lower_tab.s_disp_1.cooldown_timer.circ2.val) < 0.3) {
SpecialAlertSound.start(0, 1);
_root.special_alert.effect_name.text = "TIme Freeze";
lower_tab.s_disp_1.action_timer.circ2.val = 100;
MusicSound.setVolume(10);
NoTimeSound.start(0, 50);
timestop = 100 / ActiveTimes[1];
} else {
_root.special_alert.effect_name.text = "NoT reAdy YeT";
UnableSound.start(0, 1);
}
}
if ((spe == 19) && (allowero == true)) {
if (Math.abs(lower_tab.s_disp_2.cooldown_timer.circ2.val) < 0.1) {
SpecialAlertSound.start(0, 1);
_root.special_alert.effect_name.text = "BlAck And WHITE";
lower_tab.s_disp_2.action_timer.circ2.val = 100;
BWSound.start(0, 1);
b_and_w = 100 / ActiveTimes[2];
bw = new Array(0.3086, 0.6094, 0.082, 0, 0, 0.3086, 0.6094, 0.082, 0, 0, 0.3086, 0.6094, 0.082, 0, 0, 0, 0, 0, 1, 0);
_root.filters = [new flash.filters.ColorMatrixFilter(bw)];
} else {
_root.special_alert.effect_name.text = "NoT reAdy YeT";
UnableSound.start(0, 1);
}
}
if ((spe == 20) && (allowero == true)) {
if (Math.abs(lower_tab.s_disp_3.cooldown_timer.circ2.val) < 0.1) {
SpecialAlertSound.start(0, 1);
_root.attachMovie("special_alert", "special_alert", _root.getNextHighestDepth());
_root.special_alert._x = 350;
_root.special_alert._y = 240;
_root.special_alert.effect_name.text = "Wall repearIng";
lower_tab.s_disp_3.cooldown_timer.circ2.val = 100;
_root.wall.play();
} else {
_root.special_alert.effect_name.text = "NoT reAdy YeT";
UnableSound.start(0, 1);
}
}
fr = new TextFormat();
fr.color = _root.colortable[_root.colour];
_root.special_alert.effect_name.setTextFormat(fr);
}
function kill_enemies(enemies) {
if (enemies.length != 0) {
_root.usefultrace = true;
if (timestop < 2) {
BowSound.start(0, 1);
} else {
ShootSpeSound.start(0, 1);
}
}
e = 0;
while (e < enemies.length) {
trace("!SATANET");
d = _root.holder["enemy" + enemies[e]].nombre;
_root.holder["enemy" + enemies[e]].d = d;
_root.holder.attachMovie("arrow", "arrow" + d, d);
_root.holder["arrow" + d]._y = _root["aq" + colour]._y;
_root.holder["arrow" + d]._x = _root["aq" + colour]._x;
shoot_arrow(_root.holder["arrow" + d], _root["aq" + colour], _root.holder["enemy" + enemies[e]]);
e++;
}
}
function shoot_arrow(arrow, shooter, target) {
trace(target.vel + " DSFASDFASDFASDFDSFAF");
arrow._visible = false;
x0 = arrow._x;
y0 = arrow._y;
ax = 0;
ay = 2;
vy = -25;
yen = target._y - y0;
t = ((-vy) + Math.sqrt(Math.pow(vy, 2) + ((2 * ay) * yen))) / ay;
if (target.shooting == false) {
ven = target.vel;
} else {
ven = 0;
}
xen = target._x - x0;
vx = (xen / t) - ven;
shooter.arms._rotation = ((180 * Math.atan2(vy, vx)) / Math.PI) + 30;
arrow.vx = vx;
arrow.vy = vy;
arrow.ax = 0;
arrow.ay = ay;
arrow._y = arrow._y - 20;
xen = target._x;
yen = target._y;
_root.attachMovie("shadow_arrow", "shadow_arrow" + d, _root.getNextHighestDepth());
_root["shadow_arrow" + d]._visible = false;
_root["shadow_arrow" + d]._x = shooter._x;
_root["shadow_arrow" + d]._y = shooter._y - 20;
_root["shadow_arrow" + d].onEnterFrame = function () {
if (arrow._x == undefined) {
removeMovieClip(this);
}
if ((arrow._visible == false) && (this._visible == true)) {
this._visible = false;
} else if ((arrow._visible == true) && (this._visible == false)) {
this._visible = true;
}
this._x = arrow._x;
this._y = ((((yen - y0) / (xen - x0)) * this._x) + (y0 - (((yen - y0) / (xen - x0)) * x0))) + 15;
};
_root["shadow_arrow" + d]._rotation = (180 * Math.atan2(y0 - yen, x0 - xen)) / Math.PI;
}
pattern0 = new Array();
pattern0[0] = new point(0, 0, 0);
pattern0[1] = new point(8.16, 12.74, 0);
pattern0[2] = new point(16.92, 25.39, 0);
pattern0[3] = new point(25.61, 38.09, 0);
pattern0[4] = new point(33.78, 51.11, 0);
pattern0[5] = new point(41.77, 64.22, 0);
pattern0[6] = new point(50.59, 76.82, 0);
pattern0[7] = new point(58.51, 90.01, 0);
pattern0[8] = new point(66.67, 103.06, 0);
pattern0[9] = new point(74.42, 116.35, 0);
pattern0[10] = new point(82.51, 129.41, 0);
pattern0[11] = new point(90.47, 142.53, 0);
pattern0[12] = new point(98.35, 155.7, 0);
pattern0[13] = new point(104.64, 169.53, 0);
pattern0[14] = new point(104.64, 184.92, 0);
pattern0[15] = new point(98.64, 197.35, 0);
pattern0[16] = new point(84.03, 199.85, 0);
pattern0[17] = new point(70.08, 193.95, 0);
pattern0[18] = new point(57.93, 184.66, 0);
pattern0[19] = new point(48.99, 172.15, 0);
pattern0[20] = new point(44.42, 157.46, 0);
pattern0[21] = new point(39.55, 142.9, 0);
pattern0[22] = new point(38.41, 127.58, 0);
pattern0[23] = new point(39.37, 112.24, 0);
pattern0[24] = new point(43.92, 97.65, 0);
pattern0[25] = new point(51.3, 84.15, 0);
pattern0[26] = new point(57.83, 70.22, 0);
pattern0[27] = new point(64.53, 56.37, 0);
pattern0[28] = new point(72.44, 43.2, 0);
pattern0[29] = new point(81.68, 31.04, 0);
pattern0[30] = new point(90.07, 19.87, 0);
pattern1 = new Array();
pattern1[0] = new point(180.85, 0, 0);
pattern1[1] = new point(170.78, 16.16, 0);
pattern1[2] = new point(159.48, 31.5, 0);
pattern1[3] = new point(150.92, 48.05, 0);
pattern1[4] = new point(139.88, 63.58, 0);
pattern1[5] = new point(129.4, 79.51, 0);
pattern1[6] = new point(120.63, 96.39, 0);
pattern1[7] = new point(107.14, 109.88, 0);
pattern1[8] = new point(93.66, 123.36, 0);
pattern1[9] = new point(80.62, 137.03, 0);
pattern1[10] = new point(66.13, 149.34, 0);
pattern1[11] = new point(49.83, 159.13, 0);
pattern1[12] = new point(32.21, 165.96, 0);
pattern1[13] = new point(14.9, 161.71, 0);
pattern1[14] = new point(2.13, 149.28, 0);
pattern1[15] = new point(0, 130.56, 0);
pattern1[16] = new point(1.75, 111.77, 0);
pattern1[17] = new point(9.51, 94.75, 0);
pattern1[18] = new point(21.81, 81.38, 0);
pattern1[19] = new point(37.64, 72.34, 0);
pattern1[20] = new point(56.71, 72.34, 0);
pattern1[21] = new point(73.73, 80.48, 0);
pattern1[22] = new point(89, 91.13, 0);
pattern1[23] = new point(101.12, 105.74, 0);
pattern1[24] = new point(113.66, 120.04, 0);
pattern1[25] = new point(125.55, 134.78, 0);
pattern1[26] = new point(138.87, 148.06, 0);
pattern1[27] = new point(151.68, 162.12, 0);
pattern1[28] = new point(166.03, 174.54, 0);
pattern1[29] = new point(180.04, 187.4, 0);
pattern1[30] = new point(193.62, 200, 0);
pattern2 = new Array();
pattern2[0] = new point(23.33, 200, 0);
pattern2[1] = new point(14.77, 182.98, 0);
pattern2[2] = new point(10.52, 164.26, 0);
pattern2[3] = new point(7.38, 145.33, 0);
pattern2[4] = new point(4.39, 126.37, 0);
pattern2[5] = new point(2.58, 107.27, 0);
pattern2[6] = new point(1.36, 88.11, 0);
pattern2[7] = new point(0, 68.96, 0);
pattern2[8] = new point(0, 49.76, 0);
pattern2[9] = new point(4.44, 31.14, 0);
pattern2[10] = new point(14.2, 14.69, 0);
pattern2[11] = new point(29.88, 4.11, 0);
pattern2[12] = new point(48.34, 0, 0);
pattern2[13] = new point(66.31, 5.71, 0);
pattern2[14] = new point(79.93, 18.78, 0);
pattern2[15] = new point(87.78, 36.1, 0);
pattern2[16] = new point(86.51, 54.75, 0);
pattern2[17] = new point(72.96, 67.16, 0);
pattern2[18] = new point(54.7, 65.04, 0);
pattern2[19] = new point(45.67, 54.44, 0);
pattern2[20] = new point(64.69, 55.89, 0);
pattern2[21] = new point(82.76, 62.34, 0);
pattern2[22] = new point(99.38, 71.81, 0);
pattern2[23] = new point(114.6, 83.49, 0);
pattern2[24] = new point(124.44, 99.51, 0);
pattern2[25] = new point(115.89, 114.76, 0);
pattern2[26] = new point(97.25, 118.96, 0);
pattern2[27] = new point(78.17, 119.54, 0);
pattern2[28] = new point(59.24, 116.67, 0);
pattern2[29] = new point(40.31, 114.44, 0);
pattern2[30] = new point(21.11, 114.44, 0);
pattern3 = new Array();
pattern3[0] = new point(0, 0, 0);
pattern3[1] = new point(3.27, 14.07, 0);
pattern3[2] = new point(6.42, 28.18, 0);
pattern3[3] = new point(7.64, 42.53, 0);
pattern3[4] = new point(9.59, 56.85, 0);
pattern3[5] = new point(10.93, 71.25, 0);
pattern3[6] = new point(13.32, 85.48, 0);
pattern3[7] = new point(17.31, 99.1, 0);
pattern3[8] = new point(23.41, 98.43, 0);
pattern3[9] = new point(23.41, 83.97, 0);
pattern3[10] = new point(23.41, 69.51, 0);
pattern3[11] = new point(22.44, 55.12, 0);
pattern3[12] = new point(26.42, 41.28, 0);
pattern3[13] = new point(32.2, 28.39, 0);
pattern3[14] = new point(44.84, 24.39, 0);
pattern3[15] = new point(58.82, 25.09, 0);
pattern3[16] = new point(70.19, 33.12, 0);
pattern3[17] = new point(75.92, 46.21, 0);
pattern3[18] = new point(76.84, 60.61, 0);
pattern3[19] = new point(76.76, 75.03, 0);
pattern3[20] = new point(74.75, 89.34, 0);
pattern3[21] = new point(73.05, 103.7, 0);
pattern3[22] = new point(70.95, 118.01, 0);
pattern3[23] = new point(67.45, 132, 0);
pattern3[24] = new point(64.72, 146.17, 0);
pattern3[25] = new point(64.08, 160.58, 0);
pattern3[26] = new point(62.51, 174.87, 0);
pattern3[27] = new point(68.07, 188.07, 0);
pattern3[28] = new point(79.55, 196.63, 0);
pattern3[29] = new point(93.08, 200, 0);
pattern3[30] = new point(107.32, 199.02, 0);
pattern4 = new Array();
pattern4[0] = new point(20.9, 0, 0);
pattern4[1] = new point(10.86, 10.99, 0);
pattern4[2] = new point(2.75, 24.58, 0);
pattern4[3] = new point(0, 40.34, 0);
pattern4[4] = new point(0, 56.55, 0);
pattern4[5] = new point(6.81, 70.99, 0);
pattern4[6] = new point(18.27, 82.45, 0);
pattern4[7] = new point(31.18, 91.93, 0);
pattern4[8] = new point(45.39, 99.41, 0);
pattern4[9] = new point(61.34, 101.49, 0);
pattern4[10] = new point(77.4, 100.57, 0);
pattern4[11] = new point(91.87, 94.2, 0);
pattern4[12] = new point(100.91, 81.18, 0);
pattern4[13] = new point(105.97, 66.42, 0);
pattern4[14] = new point(105.97, 50.21, 0);
pattern4[15] = new point(105.97, 34, 0);
pattern4[16] = new point(104.48, 28.48, 0);
pattern4[17] = new point(104.82, 44.65, 0);
pattern4[18] = new point(110.43, 59.63, 0);
pattern4[19] = new point(118.8, 73.43, 0);
pattern4[20] = new point(127.36, 87.06, 0);
pattern4[21] = new point(140.07, 96.79, 0);
pattern4[22] = new point(153.71, 104.45, 0);
pattern4[23] = new point(169.76, 103.61, 0);
pattern4[24] = new point(183.39, 95.71, 0);
pattern4[25] = new point(196.36, 88.71, 0);
pattern4[26] = new point(200, 74.01, 0);
pattern4[27] = new point(200, 57.8, 0);
pattern4[28] = new point(195.81, 42.36, 0);
pattern4[29] = new point(188.87, 28.48, 0);
pattern4[30] = new point(180.6, 17.91, 0);
pattern5 = new Array();
pattern5[0] = new point(121.33, 0, 0);
pattern5[1] = new point(105.87, 0, 0);
pattern5[2] = new point(90.41, 0, 0);
pattern5[3] = new point(74.95, 0, 0);
pattern5[4] = new point(59.96, 3.57, 0);
pattern5[5] = new point(47.15, 12.12, 0);
pattern5[6] = new point(34.27, 20.2, 0);
pattern5[7] = new point(22.18, 29.39, 0);
pattern5[8] = new point(13.61, 42.25, 0);
pattern5[9] = new point(9.33, 56.94, 0);
pattern5[10] = new point(10.7, 72.08, 0);
pattern5[11] = new point(18.63, 85.28, 0);
pattern5[12] = new point(28.06, 97.38, 0);
pattern5[13] = new point(41.17, 105.27, 0);
pattern5[14] = new point(54.73, 112.35, 0);
pattern5[15] = new point(69.85, 114.67, 0);
pattern5[16] = new point(57.2, 110.67, 0);
pattern5[17] = new point(41.99, 112.22, 0);
pattern5[18] = new point(27.56, 117.55, 0);
pattern5[19] = new point(14.87, 126.08, 0);
pattern5[20] = new point(4.33, 136.84, 0);
pattern5[21] = new point(0, 151.56, 0);
pattern5[22] = new point(1.35, 166.7, 0);
pattern5[23] = new point(8.97, 180.12, 0);
pattern5[24] = new point(19.72, 190.53, 0);
pattern5[25] = new point(34.08, 195.88, 0);
pattern5[26] = new point(49.24, 198.92, 0);
pattern5[27] = new point(64.6, 200, 0);
pattern5[28] = new point(80.06, 199.99, 0);
pattern5[29] = new point(95.39, 198.15, 0);
pattern5[30] = new point(106.67, 190.67, 0);
pattern6 = new Array();
pattern6[0] = new point(74.18, 5.63, 0);
pattern6[1] = new point(60.17, 0, 0);
pattern6[2] = new point(44.84, 0, 0);
pattern6[3] = new point(30.34, 4.09, 0);
pattern6[4] = new point(18.44, 13.34, 0);
pattern6[5] = new point(12.21, 26.74, 0);
pattern6[6] = new point(13.8, 41.69, 0);
pattern6[7] = new point(21.89, 54.69, 0);
pattern6[8] = new point(31.01, 67.02, 0);
pattern6[9] = new point(41.04, 78.6, 0);
pattern6[10] = new point(51.7, 89.59, 0);
pattern6[11] = new point(60.68, 102, 0);
pattern6[12] = new point(70.49, 113.71, 0);
pattern6[13] = new point(78.42, 126.78, 0);
pattern6[14] = new point(85.24, 140.49, 0);
pattern6[15] = new point(91.58, 154.35, 0);
pattern6[16] = new point(95.77, 168.99, 0);
pattern6[17] = new point(95.77, 184.32, 0);
pattern6[18] = new point(88.83, 197.43, 0);
pattern6[19] = new point(74.07, 200, 0);
pattern6[20] = new point(58.96, 198.05, 0);
pattern6[21] = new point(44.51, 192.93, 0);
pattern6[22] = new point(30.37, 187.14, 0);
pattern6[23] = new point(16.81, 180.22, 0);
pattern6[24] = new point(4.93, 170.77, 0);
pattern6[25] = new point(0, 156.61, 0);
pattern6[26] = new point(3.64, 142.01, 0);
pattern6[27] = new point(11.29, 128.94, 0);
pattern6[28] = new point(24.31, 120.9, 0);
pattern6[29] = new point(38.09, 114.29, 0);
pattern6[30] = new point(50.7, 107.04, 0);
pattern7 = new Array();
pattern7[0] = new point(9.88, 0, 0);
pattern7[1] = new point(6.66, 14.82, 0);
pattern7[2] = new point(0.86, 29.04, 0);
pattern7[3] = new point(0, 44.35, 0);
pattern7[4] = new point(0.77, 59.57, 0);
pattern7[5] = new point(9.9, 71.37, 0);
pattern7[6] = new point(20.84, 81.4, 0);
pattern7[7] = new point(34.71, 87.96, 0);
pattern7[8] = new point(49.46, 91.79, 0);
pattern7[9] = new point(64.41, 91.25, 0);
pattern7[10] = new point(77.39, 83.11, 0);
pattern7[11] = new point(89.03, 73.25, 0);
pattern7[12] = new point(96.73, 60.01, 0);
pattern7[13] = new point(97.53, 44.71, 0);
pattern7[14] = new point(95.37, 29.62, 0);
pattern7[15] = new point(88.47, 16.66, 0);
pattern7[16] = new point(80.05, 4.84, 0);
pattern7[17] = new point(66.72, 3.65, 0);
pattern7[18] = new point(60.83, 17.19, 0);
pattern7[19] = new point(60.49, 32.55, 0);
pattern7[20] = new point(58.74, 47.74, 0);
pattern7[21] = new point(55.82, 62.85, 0);
pattern7[22] = new point(54.32, 78.13, 0);
pattern7[23] = new point(53.09, 93.41, 0);
pattern7[24] = new point(53.09, 108.81, 0);
pattern7[25] = new point(53.09, 124.22, 0);
pattern7[26] = new point(53.09, 139.62, 0);
pattern7[27] = new point(53.09, 155.02, 0);
pattern7[28] = new point(53.09, 170.43, 0);
pattern7[29] = new point(53.09, 185.83, 0);
pattern7[30] = new point(51.85, 200, 0);
pattern8 = new Array();
pattern8[0] = new point(0, 200, 0);
pattern8[1] = new point(6.85, 186.29, 0);
pattern8[2] = new point(13.75, 172.5, 0);
pattern8[3] = new point(22.03, 158.88, 0);
pattern8[4] = new point(27.31, 143.92, 0);
pattern8[5] = new point(35.43, 130.19, 0);
pattern8[6] = new point(38.75, 114.54, 0);
pattern8[7] = new point(41.76, 98.84, 0);
pattern8[8] = new point(42.65, 82.89, 0);
pattern8[9] = new point(44.96, 67.43, 0);
pattern8[10] = new point(45.59, 51.58, 0);
pattern8[11] = new point(45.59, 35.57, 0);
pattern8[12] = new point(45.59, 19.57, 0);
pattern8[13] = new point(45.59, 3.56, 0);
pattern8[14] = new point(45.59, 12.44, 0);
pattern8[15] = new point(45.71, 28.43, 0);
pattern8[16] = new point(49.2, 43.99, 0);
pattern8[17] = new point(55.36, 58.74, 0);
pattern8[18] = new point(65.18, 71.07, 0);
pattern8[19] = new point(80.43, 73.53, 0);
pattern8[20] = new point(93.3, 64.71, 0);
pattern8[21] = new point(103.94, 53.65, 0);
pattern8[22] = new point(112.27, 40.16, 0);
pattern8[23] = new point(118.59, 26.06, 0);
pattern8[24] = new point(123.53, 11.27, 0);
pattern8[25] = new point(123.43, 13.54, 0);
pattern8[26] = new point(122.06, 29.32, 0);
pattern8[27] = new point(126.27, 44.56, 0);
pattern8[28] = new point(133.09, 58.84, 0);
pattern8[29] = new point(142.65, 70.76, 0);
pattern8[30] = new point(157.35, 72.06, 0);
pattern9 = new Array();
pattern9[0] = new point(0, 167.86, 0);
pattern9[1] = new point(20.76, 167.86, 0);
pattern9[2] = new point(41.52, 167.86, 0);
pattern9[3] = new point(62.29, 167.86, 0);
pattern9[4] = new point(83.05, 167.86, 0);
pattern9[5] = new point(80.79, 161.15, 0);
pattern9[6] = new point(64.74, 148.11, 0);
pattern9[7] = new point(52.25, 132.49, 0);
pattern9[8] = new point(40.33, 115.59, 0);
pattern9[9] = new point(30.05, 97.61, 0);
pattern9[10] = new point(26.79, 77.62, 0);
pattern9[11] = new point(29.92, 57.8, 0);
pattern9[12] = new point(42.82, 41.98, 0);
pattern9[13] = new point(59.21, 29.57, 0);
pattern9[14] = new point(76.37, 18.38, 0);
pattern9[15] = new point(94.75, 8.88, 0);
pattern9[16] = new point(114.1, 1.79, 0);
pattern9[17] = new point(134.01, 1.82, 0);
pattern9[18] = new point(152.25, 11.34, 0);
pattern9[19] = new point(164.19, 26.4, 0);
pattern9[20] = new point(174.62, 44, 0);
pattern9[21] = new point(180.36, 63.56, 0);
pattern9[22] = new point(179.83, 84.25, 0);
pattern9[23] = new point(172.29, 102.71, 0);
pattern9[24] = new point(164.29, 120.6, 0);
pattern9[25] = new point(155.36, 138.44, 0);
pattern9[26] = new point(142.86, 150.88, 0);
pattern9[27] = new point(137.71, 155.36, 0);
pattern9[28] = new point(158.48, 155.36, 0);
pattern9[29] = new point(179.24, 155.36, 0);
pattern9[30] = new point(200, 155.36, 0);
pattern10 = new Array();
pattern10[0] = new point(0, 166.37, 0);
pattern10[1] = new point(14.65, 166.37, 0);
pattern10[2] = new point(29.3, 166.37, 0);
pattern10[3] = new point(40.71, 163.13, 0);
pattern10[4] = new point(46.39, 150.07, 0);
pattern10[5] = new point(54.16, 138.05, 0);
pattern10[6] = new point(60.78, 125.04, 0);
pattern10[7] = new point(67.76, 112.52, 0);
pattern10[8] = new point(72.53, 99.19, 0);
pattern10[9] = new point(77.17, 85.3, 0);
pattern10[10] = new point(82.71, 71.75, 0);
pattern10[11] = new point(87.68, 58.28, 0);
pattern10[12] = new point(92.04, 45.29, 0);
pattern10[13] = new point(93.81, 31.37, 0);
pattern10[14] = new point(95.58, 17.45, 0);
pattern10[15] = new point(97.35, 3.54, 0);
pattern10[16] = new point(102.65, 8.19, 0);
pattern10[17] = new point(108.63, 21.48, 0);
pattern10[18] = new point(115.42, 34.37, 0);
pattern10[19] = new point(121.49, 47.7, 0);
pattern10[20] = new point(128.61, 60.18, 0);
pattern10[21] = new point(135.45, 73.08, 0);
pattern10[22] = new point(140.72, 85.87, 0);
pattern10[23] = new point(146.17, 99.42, 0);
pattern10[24] = new point(151.32, 112.38, 0);
pattern10[25] = new point(155.03, 126, 0);
pattern10[26] = new point(160.19, 138.95, 0);
pattern10[27] = new point(162.83, 152.51, 0);
pattern10[28] = new point(170.7, 159.29, 0);
pattern10[29] = new point(185.35, 159.29, 0);
pattern10[30] = new point(200, 159.29, 0);
pattern11 = new Array();
pattern11[0] = new point(24.19, 200, 0);
pattern11[1] = new point(22.13, 188.38, 0);
pattern11[2] = new point(19.5, 176.71, 0);
pattern11[3] = new point(16.13, 165.23, 0);
pattern11[4] = new point(15.33, 153.27, 0);
pattern11[5] = new point(14.52, 141.32, 0);
pattern11[6] = new point(12.48, 129.53, 0);
pattern11[7] = new point(11.29, 117.64, 0);
pattern11[8] = new point(11.29, 105.62, 0);
pattern11[9] = new point(11.29, 93.61, 0);
pattern11[10] = new point(11.29, 81.59, 0);
pattern11[11] = new point(10.27, 69.66, 0);
pattern11[12] = new point(9.68, 57.69, 0);
pattern11[13] = new point(8.06, 45.87, 0);
pattern11[14] = new point(6.45, 34.11, 0);
pattern11[15] = new point(4.84, 23.71, 0);
pattern11[16] = new point(0, 14.64, 0);
pattern11[17] = new point(0, 2.62, 0);
pattern11[18] = new point(11.01, 1.61, 0);
pattern11[19] = new point(23.03, 1.61, 0);
pattern11[20] = new point(35.04, 1.61, 0);
pattern11[21] = new point(47.06, 1.61, 0);
pattern11[22] = new point(58.97, 1.16, 0);
pattern11[23] = new point(70.72, 0, 0);
pattern11[24] = new point(82.73, 0, 0);
pattern11[25] = new point(94.75, 0, 0);
pattern11[26] = new point(106.77, 0, 0);
pattern11[27] = new point(114.52, 4.27, 0);
pattern11[28] = new point(114.52, 16.29, 0);
pattern11[29] = new point(114.52, 28.3, 0);
pattern11[30] = new point(114.52, 40.32, 0);
pattern12 = new Array();
pattern12[0] = new point(200, 0, 0);
pattern12[1] = new point(177.69, 1.17, 0);
pattern12[2] = new point(155.33, 1.31, 0);
pattern12[3] = new point(132.95, 1.31, 0);
pattern12[4] = new point(110.59, 1.69, 0);
pattern12[5] = new point(88.27, 3.22, 0);
pattern12[6] = new point(65.95, 4.81, 0);
pattern12[7] = new point(43.6, 5.31, 0);
pattern12[8] = new point(21.36, 7.79, 0);
pattern12[9] = new point(0.9, 8.29, 0);
pattern12[10] = new point(18.81, 21.62, 0);
pattern12[11] = new point(36.74, 35, 0);
pattern12[12] = new point(54.45, 48.61, 0);
pattern12[13] = new point(72.23, 62.09, 0);
pattern12[14] = new point(87.85, 76.36, 0);
pattern12[15] = new point(97.42, 92.81, 0);
pattern12[16] = new point(79.91, 105.17, 0);
pattern12[17] = new point(65.82, 122.19, 0);
pattern12[18] = new point(47.3, 134.46, 0);
pattern12[19] = new point(32.84, 151.32, 0);
pattern12[20] = new point(16.99, 163.57, 0);
pattern12[21] = new point(5.23, 176.47, 0);
pattern12[22] = new point(19.76, 176.47, 0);
pattern12[23] = new point(42.13, 176.47, 0);
pattern12[24] = new point(64.48, 176.79, 0);
pattern12[25] = new point(86.57, 180.27, 0);
pattern12[26] = new point(108.51, 184.5, 0);
pattern12[27] = new point(130.53, 188.24, 0);
pattern12[28] = new point(152.91, 188.24, 0);
pattern12[29] = new point(174.63, 192.68, 0);
pattern12[30] = new point(196.08, 197.39, 0);
pattern13 = new Array();
pattern13[0] = new point(6.02, 186.47, 0);
pattern13[1] = new point(8.51, 166.95, 0);
pattern13[2] = new point(14.56, 148.06, 0);
pattern13[3] = new point(23.57, 130.41, 0);
pattern13[4] = new point(32.15, 112.57, 0);
pattern13[5] = new point(38.69, 93.82, 0);
pattern13[6] = new point(44.74, 74.91, 0);
pattern13[7] = new point(51.95, 56.42, 0);
pattern13[8] = new point(59.89, 38.21, 0);
pattern13[9] = new point(67.32, 20.07, 0);
pattern13[10] = new point(72.18, 2.53, 0);
pattern13[11] = new point(80.95, 14.62, 0);
pattern13[12] = new point(89.44, 32.43, 0);
pattern13[13] = new point(98.47, 50.03, 0);
pattern13[14] = new point(107.03, 67.94, 0);
pattern13[15] = new point(115.81, 85.75, 0);
pattern13[16] = new point(123.46, 104.07, 0);
pattern13[17] = new point(131.81, 122.08, 0);
pattern13[18] = new point(140.62, 139.88, 0);
pattern13[19] = new point(148.26, 158.18, 0);
pattern13[20] = new point(153.73, 176.46, 0);
pattern13[21] = new point(162.41, 194.2, 0);
pattern13[22] = new point(156.95, 195.02, 0);
pattern13[23] = new point(138.68, 187.43, 0);
pattern13[24] = new point(118.97, 185.63, 0);
pattern13[25] = new point(99.16, 184.96, 0);
pattern13[26] = new point(79.3, 184.96, 0);
pattern13[27] = new point(59.43, 184.96, 0);
pattern13[28] = new point(39.72, 183.46, 0);
pattern13[29] = new point(19.86, 183.46, 0);
pattern13[30] = new point(0, 183.46, 0);
pattern14 = new Array();
pattern14[0] = new point(24.56, 84.21, 0);
pattern14[1] = new point(36.43, 83.54, 0);
pattern14[2] = new point(47.45, 78.83, 0);
pattern14[3] = new point(55.01, 69.55, 0);
pattern14[4] = new point(60.2, 58.83, 0);
pattern14[5] = new point(65.64, 48.17, 0);
pattern14[6] = new point(70.18, 37.16, 0);
pattern14[7] = new point(70.18, 25.13, 0);
pattern14[8] = new point(65.14, 14.38, 0);
pattern14[9] = new point(55.69, 7.45, 0);
pattern14[10] = new point(44.92, 2.69, 0);
pattern14[11] = new point(33.46, 0, 0);
pattern14[12] = new point(21.76, 1.4, 0);
pattern14[13] = new point(12.98, 9.13, 0);
pattern14[14] = new point(7.8, 19.88, 0);
pattern14[15] = new point(2.99, 30.86, 0);
pattern14[16] = new point(1.75, 42.6, 0);
pattern14[17] = new point(0, 54.46, 0);
pattern14[18] = new point(0, 66.49, 0);
pattern14[19] = new point(1.33, 78.33, 0);
pattern14[20] = new point(4.5, 89.94, 0);
pattern14[21] = new point(7.47, 101.59, 0);
pattern14[22] = new point(10.89, 113.12, 0);
pattern14[23] = new point(15.63, 124.18, 0);
pattern14[24] = new point(20.99, 134.95, 0);
pattern14[25] = new point(26.04, 145.87, 0);
pattern14[26] = new point(31.04, 156.81, 0);
pattern14[27] = new point(36.03, 167.73, 0);
pattern14[28] = new point(40.34, 178.94, 0);
pattern14[29] = new point(43.86, 190.14, 0);
pattern14[30] = new point(47.37, 200, 0);
pattern15 = new Array();
pattern15[0] = new point(71.74, 0, 0);
pattern15[1] = new point(85.95, 5.9, 0);
pattern15[2] = new point(96.84, 17.19, 0);
pattern15[3] = new point(107.43, 28.85, 0);
pattern15[4] = new point(115.5, 42.41, 0);
pattern15[5] = new point(123.62, 55.94, 0);
pattern15[6] = new point(126.09, 71.46, 0);
pattern15[7] = new point(123.91, 86.95, 0);
pattern15[8] = new point(111.69, 95.24, 0);
pattern15[9] = new point(95.94, 95.65, 0);
pattern15[10] = new point(81.04, 91.61, 0);
pattern15[11] = new point(66.87, 84.52, 0);
pattern15[12] = new point(52.19, 80.01, 0);
pattern15[13] = new point(38.81, 71.53, 0);
pattern15[14] = new point(25.63, 62.74, 0);
pattern15[15] = new point(12.53, 53.84, 0);
pattern15[16] = new point(0.53, 43.74, 0);
pattern15[17] = new point(2.19, 30.4, 0);
pattern15[18] = new point(13.55, 21.57, 0);
pattern15[19] = new point(27.17, 14.4, 0);
pattern15[20] = new point(42.11, 9.24, 0);
pattern15[21] = new point(57.48, 5.46, 0);
pattern15[22] = new point(73.22, 4.35, 0);
pattern15[23] = new point(89.07, 4.35, 0);
pattern15[24] = new point(104.92, 4.35, 0);
pattern15[25] = new point(120.76, 4.35, 0);
pattern15[26] = new point(136.61, 4.35, 0);
pattern15[27] = new point(152.46, 4.35, 0);
pattern15[28] = new point(168.31, 4.35, 0);
pattern15[29] = new point(184.15, 4.35, 0);
pattern15[30] = new point(200, 4.35, 0);
pattern16 = new Array();
pattern16[0] = new point(0, 0, 0);
pattern16[1] = new point(15.9, 5, 0);
pattern16[2] = new point(32.46, 10.48, 0);
pattern16[3] = new point(49.6, 12.5, 0);
pattern16[4] = new point(66.82, 15.72, 0);
pattern16[5] = new point(84.11, 18.6, 0);
pattern16[6] = new point(101.4, 21.48, 0);
pattern16[7] = new point(118.74, 24.11, 0);
pattern16[8] = new point(136.2, 25, 0);
pattern16[9] = new point(153.61, 26.22, 0);
pattern16[10] = new point(171.02, 27.5, 0);
pattern16[11] = new point(188.55, 27.5, 0);
pattern16[12] = new point(193.92, 27.5, 0);
pattern16[13] = new point(176.39, 27.5, 0);
pattern16[14] = new point(158.86, 27.5, 0);
pattern16[15] = new point(141.33, 27.5, 0);
pattern16[16] = new point(123.8, 27.5, 0);
pattern16[17] = new point(106.68, 30, 0);
pattern16[18] = new point(91.22, 36.89, 0);
pattern16[19] = new point(76.47, 46.03, 0);
pattern16[20] = new point(65, 58.81, 0);
pattern16[21] = new point(60, 74.71, 0);
pattern16[22] = new point(57.5, 91.84, 0);
pattern16[23] = new point(57.5, 109.37, 0);
pattern16[24] = new point(64.59, 124.59, 0);
pattern16[25] = new point(76.6, 135.8, 0);
pattern16[26] = new point(91.62, 144.56, 0);
pattern16[27] = new point(106.94, 152.5, 0);
pattern16[28] = new point(122.71, 158.85, 0);
pattern16[29] = new point(139.97, 160, 0);
pattern16[30] = new point(157.5, 160, 0);
temppattern = pattern3;
pattern3 = pattern7;
pattern7 = temppattern;
MachineGunBoolean = false;
LaserGunBoolean = false;
if (MusicSound == undefined) {
BowSound = new Sound();
BowSound.attachSound("Bow_Shoot.wav");
MachineGunSound = new Sound(_root.createEmptyMovieClip("sh", _root.getNextHighestDepth()));
MachineGunSound.attachSound("Machine_Gun.wav");
LaserGunSound = new Sound(_root.createEmptyMovieClip("laserholder", _root.getNextHighestDepth()));
LaserGunSound.attachSound("12505__Koops__Lazer_01_LOOP.wav");
MusicSound = new Sound(_root.createEmptyMovieClip("musicholder", _root.getNextHighestDepth()));
MusicSound.attachSound("music_game.wav");
ShootSpeSound = new Sound();
ShootSpeSound.attachSound("507530_SOUNDDOGS_Ma.mp3");
BWSound = new Sound();
BWSound.attachSound("507530_SOUNDDOGS_Ma.mp3");
NoTimeSound = new Sound(_root.createEmptyMovieClip("NotimeHolderSound", _root.getNextHighestDepth()));
NoTimeSound.attachSound("507618_SOUNDDOGS_Ma.wav");
SpecialAlertSound = new Sound();
SpecialAlertSound.attachSound("507504_SOUNDDOGS_Ma.mp3");
UnableSound = new Sound();
UnableSound.attachSound("Error.wav");
Laser4Sound = new Sound();
Laser4Sound.attachSound("tobot4laser.wav");
}
LaserGunSound.start(0, 9999999);
LaserGunSound.setVolume(0);
MachineGunSound.start(0, 99999);
MachineGunSound.setVolume(0);
MusicSound.start(0, 99999);
_root.normal_cursor._visible = false;
_root.brush_cursor._visible = true;
enemycount = 0;
Wave_ended = false;
upgrade_list = new Array(0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 0);
Allowed_colors = new Array(4, 4, 4, 4, 4, 4, 4, 4, 4, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7);
Allowed_symbols = new Array(4, 4, 4, 6, 6, 6, 6, 10, 10, 10, 10, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17);
Wave_Array = new Array();
w = new Array();
w.push(new Array(1, 15000));
w.push(new Array(1, 15000));
w.push(new Array(1, 15000));
w.push(new Array(1, 10000));
w.push(new Array(1, 10000));
w.push(new Array(1, 0));
Wave_Array.push(w);
w = new Array();
w.push(new Array(1, 10000));
w.push(new Array(1, 10000));
w.push(new Array(1, 10000));
w.push(new Array(1, 5000));
w.push(new Array(1, 15000));
w.push(new Array(1, 5000));
w.push(new Array(1, 15000));
w.push(new Array(1, 5000));
w.push(new Array(1, 0));
Wave_Array.push(w);
w = new Array();
w.push(new Array(1, 10000));
w.push(new Array(1, 10000));
w.push(new Array(1, 10000));
w.push(new Array(1, 5000));
w.push(new Array(1, 5000));
w.push(new Array(1, 10000));
w.push(new Array(1, 10000));
w.push(new Array(1, 5000));
w.push(new Array(1, 0));
Wave_Array.push(w);
w = new Array();
w.push(new Array(1, 10000));
w.push(new Array(1, 10000));
w.push(new Array(1, 10000));
w.push(new Array(1, 5000));
w.push(new Array(1, 5000));
w.push(new Array(1, 15000));
w.push(new Array(1, 5000));
w.push(new Array(1, 5000));
w.push(new Array(1, 10000));
w.push(new Array(1, 5000));
w.push(new Array(1, 5000));
w.push(new Array(1, 0));
Wave_Array.push(w);
w = new Array();
w.push(new Array(1, 5000));
w.push(new Array(2, 5000));
w.push(new Array(2, 10000));
w.push(new Array(1, 10000));
w.push(new Array(2, 5000));
w.push(new Array(1, 5000));
w.push(new Array(2, 5000));
w.push(new Array(1, 5000));
w.push(new Array(1, 10000));
w.push(new Array(1, 5000));
w.push(new Array(1, 5000));
w.push(new Array(1, 0));
Wave_Array.push(w);
w = new Array();
w.push(new Array(1, 100));
w.push(new Array(1, 7000));
w.push(new Array(1, 10000));
w.push(new Array(2, 5000));
w.push(new Array(1, 5000));
w.push(new Array(1, 10000));
w.push(new Array(1, 1000));
w.push(new Array(1, 5000));
w.push(new Array(1, 10000));
w.push(new Array(2, 5000));
w.push(new Array(1, 5000));
w.push(new Array(2, 0));
Wave_Array.push(w);
w = new Array();
w.push(new Array(1, 5000));
w.push(new Array(1, 10000));
w.push(new Array(2, 5000));
w.push(new Array(1, 5000));
w.push(new Array(1, 5000));
w.push(new Array(1, 10000));
w.push(new Array(2, 1000));
w.push(new Array(2, 1000));
w.push(new Array(2, 10000));
w.push(new Array(1, 5000));
w.push(new Array(1, 5000));
w.push(new Array(2, 1000));
w.push(new Array(1, 1000));
w.push(new Array(1, 10000));
w.push(new Array(2, 5000));
w.push(new Array(1, 5000));
w.push(new Array(1, 0));
Wave_Array.push(w);
w = new Array();
w.push(new Array(1, 1000));
w.push(new Array(1, 10000));
w.push(new Array(2, 5000));
w.push(new Array(1, 5000));
w.push(new Array(1, 5000));
w.push(new Array(1, 10000));
w.push(new Array(1, 1000));
w.push(new Array(1, 1000));
w.push(new Array(1, 5000));
w.push(new Array(1, 12000));
w.push(new Array(2, 1000));
w.push(new Array(1, 1000));
w.push(new Array(1, 0));
Wave_Array.push(w);
w = new Array();
w.push(new Array(1, 1000));
w.push(new Array(1, 1000));
w.push(new Array(1, 10000));
w.push(new Array(1, 1000));
w.push(new Array(1, 5000));
w.push(new Array(1, 5000));
w.push(new Array(1, 5000));
w.push(new Array(2, 5000));
w.push(new Array(2, 10000));
w.push(new Array(2, 5000));
w.push(new Array(2, 5000));
w.push(new Array(1, 1000));
w.push(new Array(1, 1000));
w.push(new Array(1, 1000));
w.push(new Array(1, 1000));
w.push(new Array(1, 0));
Wave_Array.push(w);
w = new Array();
w.push(new Array(1, 8000));
w.push(new Array(1, 5000));
w.push(new Array(1, 20000));
w.push(new Array(1, 1000));
w.push(new Array(2, 5000));
w.push(new Array(1, 15000));
w.push(new Array(1, 100));
w.push(new Array(1, 100));
w.push(new Array(1, 10000));
w.push(new Array(1, 5000));
w.push(new Array(2, 5000));
w.push(new Array(1, 1000));
w.push(new Array(1, 0));
Wave_Array.push(w);
w = new Array();
w.push(new Array(3, 10000));
w.push(new Array(1, 10000));
w.push(new Array(1, 10000));
w.push(new Array(1, 1000));
w.push(new Array(1, 5000));
w.push(new Array(1, 5000));
w.push(new Array(2, 5000));
w.push(new Array(2, 5000));
w.push(new Array(1, 10000));
w.push(new Array(1, 5000));
w.push(new Array(2, 5000));
w.push(new Array(1, 1000));
w.push(new Array(1, 5000));
w.push(new Array(1, 5000));
w.push(new Array(3, 1000));
w.push(new Array(1, 1000));
w.push(new Array(1, 1000));
w.push(new Array(1, 0));
Wave_Array.push(w);
w = new Array();
w.push(new Array(3, 10000));
w.push(new Array(3, 10000));
w.push(new Array(1, 10000));
w.push(new Array(1, 1000));
w.push(new Array(1, 5000));
w.push(new Array(1, 5000));
w.push(new Array(2, 5000));
w.push(new Array(2, 5000));
w.push(new Array(1, 10000));
w.push(new Array(1, 5000));
w.push(new Array(2, 5000));
w.push(new Array(1, 1000));
w.push(new Array(1, 5000));
w.push(new Array(1, 5000));
w.push(new Array(3, 0));
Wave_Array.push(w);
w = new Array();
w.push(new Array(1, 1000));
w.push(new Array(1, 100));
w.push(new Array(2, 100));
w.push(new Array(1, 15000));
w.push(new Array(1, 1000));
w.push(new Array(1, 1000));
w.push(new Array(2, 1000));
w.push(new Array(1, 10000));
w.push(new Array(1, 5000));
w.push(new Array(1, 10000));
w.push(new Array(1, 5000));
w.push(new Array(3, 15000));
w.push(new Array(1, 1000));
w.push(new Array(1, 100));
w.push(new Array(2, 100));
w.push(new Array(1, 0));
Wave_Array.push(w);
w = new Array();
w.push(new Array(1, 1000));
w.push(new Array(1, 1000));
w.push(new Array(1, 5000));
w.push(new Array(3, 1000));
w.push(new Array(1, 5000));
w.push(new Array(1, 10000));
w.push(new Array(1, 5000));
w.push(new Array(1, 5000));
w.push(new Array(1, 10000));
w.push(new Array(1, 5000));
w.push(new Array(1, 10000));
w.push(new Array(3, 100));
w.push(new Array(1, 1000));
w.push(new Array(1, 10000));
w.push(new Array(1, 1000));
w.push(new Array(2, 1000));
w.push(new Array(2, 1000));
w.push(new Array(1, 0));
Wave_Array.push(w);
w = new Array();
w.push(new Array(4, 1000));
w.push(new Array(4, 15000));
w.push(new Array(1, 100));
w.push(new Array(1, 1000));
w.push(new Array(2, 1000));
w.push(new Array(1, 10000));
w.push(new Array(4, 5000));
w.push(new Array(1, 5000));
w.push(new Array(4, 1000));
w.push(new Array(1, 10000));
w.push(new Array(3, 100));
w.push(new Array(4, 6000));
w.push(new Array(1, 1000));
w.push(new Array(1, 0));
Wave_Array.push(w);
w = new Array();
w.push(new Array(4, 1000));
w.push(new Array(4, 1000));
w.push(new Array(1, 1000));
w.push(new Array(1, 18000));
w.push(new Array(4, 5000));
w.push(new Array(1, 5000));
w.push(new Array(4, 1000));
w.push(new Array(1, 10000));
w.push(new Array(3, 100));
w.push(new Array(4, 6000));
w.push(new Array(1, 1000));
w.push(new Array(1, 1000));
w.push(new Array(1, 0));
Wave_Array.push(w);
w = new Array();
w.push(new Array(1, 3000));
w.push(new Array(1, 3000));
w.push(new Array(1, 3000));
w.push(new Array(1, 3000));
w.push(new Array(1, 3000));
w.push(new Array(1, 10000));
w.push(new Array(2, 1000));
w.push(new Array(2, 1000));
w.push(new Array(2, 1000));
w.push(new Array(2, 1000));
w.push(new Array(2, 10000));
w.push(new Array(3, 8000));
w.push(new Array(1, 3000));
w.push(new Array(1, 3000));
w.push(new Array(3, 10000));
w.push(new Array(4, 3000));
w.push(new Array(4, 3000));
w.push(new Array(4, 3000));
w.push(new Array(4, 0));
Wave_Array.push(w);
w = new Array();
w.push(new Array(1, 3000));
w.push(new Array(1, 3000));
w.push(new Array(3, 3000));
w.push(new Array(1, 3000));
w.push(new Array(1, 10000));
w.push(new Array(1, 1000));
w.push(new Array(2, 1000));
w.push(new Array(3, 1000));
w.push(new Array(4, 1000));
w.push(new Array(1, 10000));
w.push(new Array(2, 8000));
w.push(new Array(1, 10000));
w.push(new Array(4, 3000));
w.push(new Array(1, 3000));
w.push(new Array(4, 3000));
w.push(new Array(2, 8000));
w.push(new Array(1, 10000));
w.push(new Array(4, 3000));
w.push(new Array(1, 3000));
w.push(new Array(4, 0));
Wave_Array.push(w);
w = new Array();
w.push(new Array(1, 1000));
w.push(new Array(4, 1000));
w.push(new Array(1, 10000));
w.push(new Array(1, 5000));
w.push(new Array(2, 3000));
w.push(new Array(1, 3000));
w.push(new Array(4, 3000));
w.push(new Array(1, 20000));
w.push(new Array(1, 1000));
w.push(new Array(1, 1000));
w.push(new Array(1, 1000));
w.push(new Array(1, 1000));
w.push(new Array(1, 1000));
w.push(new Array(1, 1000));
w.push(new Array(1, 10000));
w.push(new Array(2, 0));
Wave_Array.push(w);
w = new Array();
w.push(new Array(1, 1000));
w.push(new Array(4, 1000));
w.push(new Array(1, 10000));
w.push(new Array(1, 5000));
w.push(new Array(2, 3000));
w.push(new Array(1, 3000));
w.push(new Array(4, 3000));
w.push(new Array(1, 20000));
w.push(new Array(1, 1000));
w.push(new Array(1, 1000));
w.push(new Array(1, 1000));
w.push(new Array(1, 1000));
w.push(new Array(1, 1000));
w.push(new Array(1, 1000));
w.push(new Array(1, 10000));
w.push(new Array(2, 8000));
w.push(new Array(1, 10000));
w.push(new Array(3, 3000));
w.push(new Array(3, 3000));
w.push(new Array(4, 0));
Wave_Array.push(w);
w = new Array();
w.push(new Array(1, 1000));
w.push(new Array(1, 1000));
w.push(new Array(1, 1000));
w.push(new Array(1, 6000));
w.push(new Array(1, 1000));
w.push(new Array(1, 1000));
w.push(new Array(1, 1000));
w.push(new Array(1, 8000));
w.push(new Array(1, 5000));
w.push(new Array(4, 3000));
w.push(new Array(1, 3000));
w.push(new Array(4, 3000));
w.push(new Array(1, 20000));
w.push(new Array(3, 1000));
w.push(new Array(4, 1000));
w.push(new Array(4, 15000));
w.push(new Array(2, 8000));
w.push(new Array(2, 1000));
w.push(new Array(2, 0));
Wave_Array.push(w);
w = new Array();
w.push(new Array(1, 1000));
w.push(new Array(4, 1000));
w.push(new Array(1, 1000));
w.push(new Array(4, 6000));
w.push(new Array(1, 1000));
w.push(new Array(4, 1000));
w.push(new Array(1, 1000));
w.push(new Array(4, 8000));
w.push(new Array(2, 5000));
w.push(new Array(2, 3000));
w.push(new Array(2, 3000));
w.push(new Array(2, 3000));
w.push(new Array(3, 20000));
w.push(new Array(4, 1000));
w.push(new Array(1, 1000));
w.push(new Array(4, 8000));
w.push(new Array(2, 1000));
w.push(new Array(2, 1000));
w.push(new Array(2, 0));
Wave_Array.push(w);
w = new Array();
w.push(new Array(2, 100));
w.push(new Array(2, 100));
w.push(new Array(2, 100));
w.push(new Array(2, 5000));
w.push(new Array(3, 5000));
w.push(new Array(4, 3000));
w.push(new Array(3, 7000));
w.push(new Array(4, 3000));
w.push(new Array(3, 3000));
w.push(new Array(4, 20000));
w.push(new Array(1, 1000));
w.push(new Array(1, 3000));
w.push(new Array(1, 1000));
w.push(new Array(1, 3000));
w.push(new Array(1, 1000));
w.push(new Array(1, 10000));
w.push(new Array(2, 100));
w.push(new Array(2, 100));
w.push(new Array(2, 0));
Wave_Array.push(w);
w = new Array();
w.push(new Array(1, 100));
w.push(new Array(1, 100));
w.push(new Array(4, 100));
w.push(new Array(1, 15000));
w.push(new Array(1, 100));
w.push(new Array(1, 100));
w.push(new Array(4, 100));
w.push(new Array(1, 10000));
w.push(new Array(1, 100));
w.push(new Array(1, 100));
w.push(new Array(4, 100));
w.push(new Array(1, 15000));
w.push(new Array(3, 5000));
w.push(new Array(4, 3000));
w.push(new Array(3, 7000));
w.push(new Array(4, 3000));
w.push(new Array(3, 3000));
w.push(new Array(4, 20000));
w.push(new Array(2, 1000));
w.push(new Array(4, 1000));
w.push(new Array(2, 1000));
w.push(new Array(4, 1000));
w.push(new Array(2, 1000));
w.push(new Array(2, 0));
Wave_Array.push(w);
w = new Array();
w.push(new Array(4, 1000));
w.push(new Array(4, 1000));
w.push(new Array(4, 1000));
w.push(new Array(4, 1000));
w.push(new Array(4, 10000));
w.push(new Array(1, 7000));
w.push(new Array(1, 5000));
w.push(new Array(2, 1000));
w.push(new Array(2, 1000));
w.push(new Array(3, 1000));
w.push(new Array(1, 1000));
w.push(new Array(1, 8000));
w.push(new Array(1, 4000));
w.push(new Array(1, 1000));
w.push(new Array(1, 4000));
w.push(new Array(1, 14000));
w.push(new Array(2, 1000));
w.push(new Array(1, 1000));
w.push(new Array(1, 5000));
w.push(new Array(1, 1000));
w.push(new Array(1, 1000));
w.push(new Array(2, 9000));
w.push(new Array(3, 1000));
w.push(new Array(3, 1000));
w.push(new Array(3, 10000));
w.push(new Array(1, 1000));
w.push(new Array(1, 1000));
w.push(new Array(1, 0));
Wave_Array.push(w);
w = new Array();
w.push(new Array(1, 3000));
w.push(new Array(1, 3000));
w.push(new Array(1, 3000));
w.push(new Array(1, 3000));
w.push(new Array(1, 1000));
w.push(new Array(1, 1000));
w.push(new Array(1, 3000));
w.push(new Array(1, 8000));
w.push(new Array(1, 3000));
w.push(new Array(1, 2000));
w.push(new Array(1, 2000));
w.push(new Array(1, 2000));
w.push(new Array(1, 1000));
w.push(new Array(1, 1000));
w.push(new Array(1, 9000));
w.push(new Array(1, 2000));
w.push(new Array(1, 4000));
w.push(new Array(1, 2000));
w.push(new Array(1, 1000));
w.push(new Array(1, 3000));
w.push(new Array(1, 0));
Wave_Array.push(w);
w = new Array();
w.push(new Array(3, 1000));
w.push(new Array(1, 1000));
w.push(new Array(1, 5000));
w.push(new Array(1, 6000));
w.push(new Array(3, 10000));
w.push(new Array(4, 1000));
w.push(new Array(4, 1000));
w.push(new Array(4, 1000));
w.push(new Array(1, 3000));
w.push(new Array(1, 3000));
w.push(new Array(1, 4000));
w.push(new Array(2, 1000));
w.push(new Array(1, 3000));
w.push(new Array(1, 3000));
w.push(new Array(2, 1000));
w.push(new Array(1, 5000));
w.push(new Array(3, 1000));
w.push(new Array(2, 5000));
w.push(new Array(3, 0));
Wave_Array.push(w);
w = new Array();
w.push(new Array(1, 3000));
w.push(new Array(1, 3000));
w.push(new Array(1, 3000));
w.push(new Array(1, 3000));
w.push(new Array(1, 1000));
w.push(new Array(1, 1000));
w.push(new Array(1, 3000));
w.push(new Array(1, 8000));
w.push(new Array(1, 1000));
w.push(new Array(1, 1000));
w.push(new Array(1, 3000));
w.push(new Array(1, 2000));
w.push(new Array(1, 2000));
w.push(new Array(1, 2000));
w.push(new Array(1, 1000));
w.push(new Array(1, 1000));
w.push(new Array(1, 9000));
w.push(new Array(1, 2000));
w.push(new Array(1, 4000));
w.push(new Array(1, 4000));
w.push(new Array(1, 2000));
w.push(new Array(1, 1000));
w.push(new Array(1, 3000));
w.push(new Array(1, 2000));
w.push(new Array(1, 0));
Wave_Array.push(w);
w = new Array();
w.push(new Array(3, 1000));
w.push(new Array(1, 1000));
w.push(new Array(1, 5000));
w.push(new Array(3, 1000));
w.push(new Array(1, 1000));
w.push(new Array(1, 6000));
w.push(new Array(3, 10000));
w.push(new Array(4, 1000));
w.push(new Array(4, 1000));
w.push(new Array(4, 1000));
w.push(new Array(1, 3000));
w.push(new Array(1, 3000));
w.push(new Array(1, 4000));
w.push(new Array(2, 1000));
w.push(new Array(1, 3000));
w.push(new Array(2, 1000));
w.push(new Array(1, 3000));
w.push(new Array(2, 1000));
w.push(new Array(1, 5000));
w.push(new Array(3, 1000));
w.push(new Array(2, 1000));
w.push(new Array(2, 5000));
w.push(new Array(3, 0));
Wave_Array.push(w);
w = new Array();
w.push(new Array(3, 1000));
w.push(new Array(1, 1000));
w.push(new Array(1, 5000));
w.push(new Array(3, 1000));
w.push(new Array(1, 1000));
w.push(new Array(1, 6000));
w.push(new Array(3, 10000));
w.push(new Array(4, 1000));
w.push(new Array(4, 1000));
w.push(new Array(4, 1000));
w.push(new Array(1, 3000));
w.push(new Array(1, 3000));
w.push(new Array(1, 5000));
w.push(new Array(2, 1000));
w.push(new Array(1, 3000));
w.push(new Array(2, 1000));
w.push(new Array(1, 3000));
w.push(new Array(2, 1000));
w.push(new Array(1, 12000));
w.push(new Array(3, 1000));
w.push(new Array(2, 1000));
w.push(new Array(2, 5000));
w.push(new Array(3, 0));
Wave_Array.push(w);
w = new Array();
w.push(new Array(4, 1000));
w.push(new Array(4, 1000));
w.push(new Array(2, 5000));
w.push(new Array(2, 1000));
w.push(new Array(4, 1000));
w.push(new Array(4, 1000));
w.push(new Array(2, 6000));
w.push(new Array(4, 1000));
w.push(new Array(4, 1000));
w.push(new Array(4, 1000));
w.push(new Array(1, 3000));
w.push(new Array(1, 3000));
w.push(new Array(1, 5000));
w.push(new Array(2, 1000));
w.push(new Array(1, 3000));
w.push(new Array(2, 1000));
w.push(new Array(1, 3000));
w.push(new Array(2, 1000));
w.push(new Array(1, 12000));
w.push(new Array(4, 1000));
w.push(new Array(2, 1000));
w.push(new Array(4, 5000));
w.push(new Array(4, 1000));
w.push(new Array(2, 1000));
w.push(new Array(4, 7000));
w.push(new Array(1, 1000));
w.push(new Array(1, 1000));
w.push(new Array(1, 1000));
w.push(new Array(1, 0));
Wave_Array.push(w);
w = new Array();
w.push(new Array(4, 1000));
w.push(new Array(4, 1000));
w.push(new Array(2, 5000));
w.push(new Array(2, 1000));
w.push(new Array(4, 1000));
w.push(new Array(4, 1000));
w.push(new Array(2, 6000));
w.push(new Array(4, 1000));
w.push(new Array(4, 1000));
w.push(new Array(4, 1000));
w.push(new Array(1, 3000));
w.push(new Array(3, 3000));
w.push(new Array(1, 5000));
w.push(new Array(2, 1000));
w.push(new Array(1, 3000));
w.push(new Array(2, 1000));
w.push(new Array(1, 3000));
w.push(new Array(2, 1000));
w.push(new Array(1, 12000));
w.push(new Array(3, 1000));
w.push(new Array(4, 1000));
w.push(new Array(2, 5000));
w.push(new Array(3, 1000));
w.push(new Array(4, 1000));
w.push(new Array(4, 1000));
w.push(new Array(2, 6000));
w.push(new Array(4, 1000));
w.push(new Array(2, 1000));
w.push(new Array(4, 5000));
w.push(new Array(4, 1000));
w.push(new Array(2, 1000));
w.push(new Array(4, 7000));
w.push(new Array(1, 1000));
w.push(new Array(1, 1000));
w.push(new Array(1, 1000));
w.push(new Array(1, 0));
Wave_Array.push(w);
w = new Array();
w.push(new Array(1, 0));
w.push(new Array(1, 1000));
w.push(new Array(1, 5000));
w.push(new Array(3, 1000));
w.push(new Array(1, 1000));
w.push(new Array(1, 6000));
w.push(new Array(3, 10000));
w.push(new Array(4, 1000));
w.push(new Array(4, 1000));
w.push(new Array(4, 1000));
w.push(new Array(1, 3000));
w.push(new Array(1, 3000));
w.push(new Array(1, 5000));
w.push(new Array(2, 1000));
w.push(new Array(1, 3000));
w.push(new Array(2, 1000));
w.push(new Array(1, 3000));
w.push(new Array(2, 1000));
w.push(new Array(1, 12000));
w.push(new Array(4, 1000));
w.push(new Array(4, 1000));
w.push(new Array(1, 3000));
w.push(new Array(1, 3000));
w.push(new Array(1, 5000));
w.push(new Array(3, 1000));
w.push(new Array(2, 1000));
w.push(new Array(2, 5000));
w.push(new Array(2, 100));
w.push(new Array(2, 100));
w.push(new Array(2, 100));
w.push(new Array(2, 100));
w.push(new Array(2, 0));
Wave_Array.push(w);
current_wave = _root.archer_cookie.data.current_wave - 1;
current_bot = 0;
current_wait = 3;
CoolDownTimes = _root.archer_cookie.data.CoolDownTimes;
ActiveTimes = _root.archer_cookie.data.ActiveTimes;
if ((current_wave > 5) && (archer_cookie.data.Color_changing == false)) {
_root.archer_cookie.data.Color_changing = true;
}
Color_changing = _root.archer_cookie.data.Color_changing;
trace("COLORO " + Color_changing);
Mouse.hide();
this.createEmptyMovieClip("canvas_mc2", this.getNextHighestDepth());
_root.canvas_mc2.filters = [new flash.filters.GlowFilter(0, 1, 4, 4, 20, 1, true, false)];
this.createEmptyMovieClip("canvas_mc_fx", this.getNextHighestDepth());
ind = 0;
usefultrace = false;
colour = 0;
nextcolour = 0;
b_and_w = false;
timestop = 0;
live = 10000;
canvas_mc_fx.onEnterFrame = function () {
if (this.removing == true) {
canvas_mc2.clear();
canvas_mc2.lineStyle(10, 0, 100, true, "normal", "round", "round", 1);
canvas_mc2.moveTo(raw_line[ind].x, raw_line[ind].y);
i = ind;
while (i < raw_line.length) {
canvas_mc2.lineStyle(raw_line[i].w, colortable[colour]);
canvas_mc2.lineTo(raw_line[i].x, raw_line[i].y);
i++;
}
col = new Color(canvas_mc_fx);
col.setRGB(colortable[colour]);
if (_root.usefultrace == true) {
canvas_mc_fx.attachMovie("explosion", "explosion" + ind, _root.canvas_mc_fx.getNextHighestDepth());
canvas_mc_fx["explosion" + ind]._x = raw_line[ind].x;
canvas_mc_fx["explosion" + ind]._y = raw_line[ind].y;
canvas_mc_fx["explosion" + ind]._xscale = raw_line[ind].w * 5;
canvas_mc_fx["explosion" + ind]._yscale = raw_line[ind].w * 5;
}
ind = ind + Math.max(Math.floor(raw_line.length / 15), 4);
} else {
ind = 0;
}
if ((this.removing == true) && (ind > (raw_line.length - 1))) {
canvas_mc2.clear();
ind = 0;
this.removing = false;
this.clear();
}
};
mouseListener.enemies = new Array(16);
i = 0;
while (i < 17) {
mouseListener.enemies[i] = new Array(6);
j = 0;
while (j < 7) {
mouseListener.enemies[i][j] = new Array();
j++;
}
i++;
}
mouseListener.onMouseDown = function () {
if (_root.brush_disabler.hitTest(_xmouse, _ymouse, true) == false) {
usefultrace = false;
colour = nextcolour;
_root.canvas_mc_fx.removing = false;
_root.canvas_mc_fx.clear();
_root.canvas_mc2.clear();
this.isDrawing = true;
line_length = 0;
xmin = 640;
xmax = 0;
ymin = 480;
ymax = 0;
linecount = 0;
sinecount = 3 + (Math.random() * 2);
raw_line = new Array();
brush_size = 15;
canvas_mc2.lineStyle(10, 0, 100, true, "normal", "round", "round", 1);
canvas_mc2.moveTo(_xmouse, _ymouse);
trace("MOVED to " + _xmouse);
}
};
mouseListener.onMouseMove = function () {
if (this.isDrawing) {
if ((raw_line[raw_line.length - 1].x != Math.round(_xmouse)) || (raw_line[raw_line.length - 1].y != Math.round(_ymouse))) {
if (Math.round(_xmouse) > xmax) {
xmax = Math.round(_xmouse);
}
if (Math.round(_xmouse) < xmin) {
xmin = Math.round(_xmouse);
}
if (Math.round(_ymouse) > ymax) {
ymax = Math.round(_ymouse);
}
if (Math.round(_ymouse) < ymin) {
ymin = Math.round(_ymouse);
}
linecount = linecount + 1;
p = new point(Math.round(_xmouse), Math.round(_ymouse));
raw_line.push(p);
if (raw_line.length > 1) {
dl = Math.sqrt(Math.pow(raw_line[raw_line.length - 1].x - raw_line[raw_line.length - 2].x, 2) + Math.pow(raw_line[raw_line.length - 1].y - raw_line[raw_line.length - 2].y, 2));
} else {
dl = 0;
}
raw_line[raw_line.length - 1].dl = dl;
line_length = line_length + dl;
}
sinecount = sinecount + (Math.random() / 5);
brush_size = (Math.sin(sinecount) * 7) + 17;
raw_line[raw_line.length - 1].w = brush_size;
canvas_mc2.lineStyle(brush_size, colortable[colour]);
canvas_mc2.lineTo(_xmouse, _ymouse);
}
updateAfterEvent();
};
mouseListener.onMouseUp = function () {
if (this.isDrawing == true) {
this.isDrawing = false;
resize_line();
normalize_line();
check_patterns();
_root.canvas_mc_fx.removing = true;
}
};
colortable = new Array("0xFFFFFF", "0xC60000", "0x3399FF", "0xFFCC00", "0x9900CC", "0xFF6600", "0x006600");
var currentcolor;
starttime = getTimer();
Object.prototype.getFPS = function () {
if (signal == true) {
time = getTimer();
} else {
rate = int(1000 / (getTimer() - time));
}
signal = !signal;
return(rate);
};
this.onEnterFrame = function () {
if (MachineGunBoolean == true) {
MachineGunSound.setVolume(30);
} else {
MachineGunSound.setVolume(0);
}
if (LaserGunBoolean == true) {
LaserGunSound.setVolume(70);
} else {
LaserGunSound.setVolume(0);
}
MachineGunBoolean = false;
LaserGunBoolean = false;
text_field.text = getFPS();
if (((Wave_ended == true) && (enemycount == 0)) && (_root.holder.congrats == undefined)) {
_root.holder.attachMovie("congrats", "congrats", _root.holder.getNextHighestDepth());
}
if ((live <= 0) && (_root.holder.regrets == undefined)) {
_root.holder.attachMovie("regrets", "regrets", _root.holder.getNextHighestDepth());
}
if (timestop > 1) {
timestop = timestop - 1;
starttime = getTimer();
}
if (timestop == 1) {
timestop = 0;
NoTimeSound.stop();
MusicSound.setVolume(100);
_root.filters = [];
}
if (_root.frozen_time > 0) {
frozen_time = frozen_time - 1;
starttime = getTimer();
}
if (b_and_w > 1) {
b_and_w = b_and_w - 1;
}
if (b_and_w == 1) {
b_and_w = 0;
_root.filters = [];
}
if (enemycount < 10) {
if ((Wave_ended == false) && ((getTimer() - starttime) > (current_wait * 1.1))) {
if (current_wait == 0) {
Wave_ended = true;
} else {
enemycount++;
}
starttime = getTimer();
rand = 40 * ((Math.random() * 4) - 2);
n = Math.round(((220 + rand) * 720) + 720);
current_wait = Wave_Array[current_wave][current_bot][1];
_root.holder.attachMovie("robot" + Wave_Array[current_wave][current_bot][0], "enemy" + n, n);
current_bot++;
_root.holder["enemy" + n].symbol = Math.floor(Math.random() * Allowed_symbols[current_wave]);
trace("NUMBER " + _root.holder["enemy" + n].symbol);
_root.holder["enemy" + n]._x = 740;
_root.holder["enemy" + n]._y = 220 + rand;
_root.holder["enemy" + n].attachMovie("symbol_holder", "symbol_holder", 5);
_root.holder["enemy" + n].symbol_holder.rotator.attachMovie("symbol" + _root.holder["enemy" + n].symbol, "symbol_logo_border", 3);
_root.holder["enemy" + n].symbol_holder.rotator.attachMovie("symbol" + _root.holder["enemy" + n].symbol, "symbol_logo", 4);
_root.holder["enemy" + n].symbol_holder._y = _root.holder["enemy" + n].symbol_holder._y - 50;
_root.holder["enemy" + n].c = Math.floor(Math.random() * Allowed_colors[current_wave]);
_root.holder["enemy" + n].nombre = n;
_root.holder["enemy" + n].symbol_holder.rotator.symbol_logo_border.filters = [new flash.filters.GlowFilter(0, 100, 1.5, 1.5, 100, 2, false, true)];
currentcolor = new Color(_root.holder["enemy" + n].symbol_holder.rotator.symbol_logo);
currentcolor.setRGB(colortable[_root.holder["enemy" + n].c]);
mouseListener.enemies[_root.holder["enemy" + n].symbol][_root.holder["enemy" + n].c].push(n);
}
} else {
_root.amor.text = "stoped at " + enemycount;
}
};
Instance of Symbol 591 MovieClip "aq6" in Frame 7
onClipEvent (load) {
my_color = new Color(colores);
myTransform = my_color.getTransform();
myTransform = {ra:0, rb:41, ga:0, gb:82, ba:0, bb:0};
my_color.setTransform(myTransform);
}
Instance of Symbol 591 MovieClip "aq0" in Frame 7
onClipEvent (load) {
}
Instance of Symbol 591 MovieClip "aq5" in Frame 7
onClipEvent (load) {
my_color = new Color(colores);
myTransform = my_color.getTransform();
myTransform = {ra:0, rb:255, ga:0, gb:102, ba:0, bb:0};
my_color.setTransform(myTransform);
}
Instance of Symbol 591 MovieClip "aq4" in Frame 7
onClipEvent (load) {
my_color = new Color(colores);
myTransform = my_color.getTransform();
myTransform = {ra:0, rb:153, ga:0, gb:0, ba:0, bb:204};
my_color.setTransform(myTransform);
}
Instance of Symbol 591 MovieClip "aq2" in Frame 7
onClipEvent (load) {
my_color = new Color(colores);
myTransform = my_color.getTransform();
myTransform = {ra:35, rb:0, ga:35, gb:99, ba:35, bb:166};
my_color.setTransform(myTransform);
}
Instance of Symbol 591 MovieClip "aq1" in Frame 7
onClipEvent (load) {
my_color = new Color(colores);
myTransform = my_color.getTransform();
myTransform = {ra:0, rb:180, ga:0, gb:0, ba:35, bb:0};
my_color.setTransform(myTransform);
}
Instance of Symbol 591 MovieClip "aq3" in Frame 7
onClipEvent (load) {
my_color = new Color(colores);
myTransform = my_color.getTransform();
myTransform = {ra:50, rb:166, ga:15, gb:166, ba:35, bb:0};
my_color.setTransform(myTransform);
}
Instance of Symbol 604 MovieClip "bucket0" in Frame 7
onClipEvent (load) {
this.thisisnot = true;
this.goldenpot._visible = false;
this.c = 0;
var col = new Color(this.paint);
col.setRGB(_root.colortable[this.c]);
}
Instance of Symbol 604 MovieClip "bucket1" in Frame 7
onClipEvent (load) {
this.thisisnot = true;
this.goldenpot._visible = false;
this.c = 1;
var col = new Color(this.paint);
col.setRGB(_root.colortable[this.c]);
}
Instance of Symbol 604 MovieClip "bucket2" in Frame 7
onClipEvent (load) {
this.thisisnot = true;
this.goldenpot._visible = false;
this.c = 2;
var col = new Color(this.paint);
col.setRGB(_root.colortable[this.c]);
}
Instance of Symbol 604 MovieClip "bucket3" in Frame 7
onClipEvent (load) {
this.thisisnot = true;
this.goldenpot._visible = false;
this.c = 3;
var col = new Color(this.paint);
col.setRGB(_root.colortable[this.c]);
}
Instance of Symbol 608 MovieClip in Frame 7
/* no clip actions */
Instance of Symbol 610 MovieClip "lower_tab" in Frame 7
onClipEvent (load) {
t = 0;
while (t < 4) {
m = 0;
while (m < 4) {
if (m != t) {
this["s_disp_" + t]["maskee_" + m]._visible = false;
}
m++;
}
archer_cookie = SharedObject.getLocal("CookieArcher");
if (_root.archer_cookie.data.traces[t].length == 31) {
this["u_disp_" + t]._visible = false;
} else {
this["s_disp_" + t]._visible = false;
}
this["s_disp_" + t].canvas.clear();
this["s_disp_" + t].canvas2.clear();
this["s_disp_" + t].canvas.lineStyle(15, 16777215);
X = 0;
Y = 0;
i = 0;
while (i < _root.archer_cookie.data.traces[t].length) {
X = X + _root.archer_cookie.data.traces[t][i].x;
Y = Y + _root.archer_cookie.data.traces[t][i].y;
i++;
}
p = new point(X / _root.archer_cookie.data.traces[t].length, Y / _root.archer_cookie.data.traces[t].length, 0);
p.x = p.x - 100;
p.y = p.y - 100;
this["s_disp_" + t].canvas.moveTo((_root.archer_cookie.data.traces[t][0].x - p.x) * 0.2, (_root.archer_cookie.data.traces[t][0].y - p.y) * 0.2);
this["s_disp_" + t].canvas2.moveTo((_root.archer_cookie.data.traces[t][0].x - p.x) * 0.2, (_root.archer_cookie.data.traces[t][0].y - p.y) * 0.2);
i = 0;
while (i < _root.archer_cookie.data.traces[t].length) {
this["s_disp_" + t].canvas.lineStyle(5, 0);
this["s_disp_" + t].canvas2.lineStyle(5, 0);
this["s_disp_" + t].canvas.lineTo((_root.archer_cookie.data.traces[t][i].x - p.x) * 0.2, (_root.archer_cookie.data.traces[t][i].y - p.y) * 0.2);
this["s_disp_" + t].canvas2.lineTo((_root.archer_cookie.data.traces[t][i].x - p.x) * 0.2, (_root.archer_cookie.data.traces[t][i].y - p.y) * 0.2);
i++;
}
this["s_disp_" + t]["maskee_" + t].cacheAsBitmap = true;
this["s_disp_" + t].canvas.cacheAsBitmap = true;
this["s_disp_" + t]["maskee_" + t].setMask(this["s_disp_" + t].canvas);
t++;
}
}
Instance of Symbol 612 MovieClip "live_bar" in Frame 7
onClipEvent (enterFrame) {
if (_root.live >= 0) {
this._xscale = _root.live / 100;
}
}
Instance of Symbol 621 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (_root.current_bot < _root.Wave_Array[_root.current_wave].length) {
this.txt.text = (_root.Wave_Array[_root.current_wave].length - _root.current_bot) + _root.enemycount;
} else {
this.txt.text = _root.enemycount;
}
}
Frame 8
act_frmt = new TextFormat();
in_frmt = new TextFormat();
act_frmt.color = 0;
in_frmt.color = 10066329 /* 0x999999 */;
spe0.txt.text = "Color LIghtning";
spe0.txt_ef.text = "Color LIghtning";
spe3.txt.text = "Wall RepaIr";
spe3.txt_ef.text = "Wall RepaIr";
spe1.txt.text = "TIme Freeze";
spe1.txt_ef.text = "TIme Freeze";
spe2.txt.text = "Black and WHITE";
spe2.txt_ef.text = "Black and WHITE";
counto = 0;
i = 0;
while (i < 4) {
if (_root.archer_cookie.data.availables[i] != 0) {
counto++;
}
this[("upg" + i) + 1].txt.text = "UPgrade 1";
this[("upg" + i) + 2].txt.text = "UPgrade 2";
this[("upg" + i) + 1].txt_ef.text = "UPgrade 1";
this[("upg" + i) + 2].txt_ef.text = "UPgrade 2";
i++;
}
trace("COUNTO " + counto);
i = 0;
while (i < (counto + 1)) {
trace("AAAAA");
this["spe" + i].txt_ef._visible = false;
this[("upg" + i) + 1].txt_ef._visible = false;
this[("upg" + i) + 2].txt_ef._visible = false;
if (_root.archer_cookie.data.availables[i] == 0) {
this[("bupg" + i) + 1]._visible = false;
this[("bupg" + i) + 2]._visible = false;
trace("POLLASTRING " + i);
this["g_spe" + i]._visible = false;
this["spe" + i].tick._visible = false;
this[("g_upg" + i) + 1]._visible = false;
this[("upg" + i) + 1].tick._visible = false;
this[("g_upg" + i) + 2]._visible = false;
this[("upg" + i) + 2].tick._visible = false;
this[("upg" + i) + 1].txt.setTextFormat(in_frmt);
this[("upg" + i) + 2].txt.setTextFormat(in_frmt);
} else if (_root.archer_cookie.data.availables[i] == 1) {
this[("bupg" + i) + 2]._visible = false;
this["spe" + i].tick._visible = true;
this["g_spe" + i]._visible = true;
this[("upg" + i) + 1].tick._visible = false;
this[("g_upg" + i) + 1]._visible = false;
this[("upg" + i) + 2].tick._visible = false;
this[("g_upg" + i) + 2]._visible = false;
this[("upg" + i) + 1].txt.setTextFormat(act_frmt);
this[("upg" + i) + 2].txt.setTextFormat(in_frmt);
} else if (_root.archer_cookie.data.availables[i] == 2) {
this["spe" + i].tick._visible = true;
this["g_spe" + i]._visible = true;
this[("upg" + i) + 1].tick._visible = true;
this[("g_upg" + i) + 1]._visible = true;
this[("upg" + i) + 2].tick._visible = false;
this[("g_upg" + i) + 2]._visible = false;
this[("upg" + i) + 1].txt.setTextFormat(act_frmt);
this[("upg" + i) + 2].txt.setTextFormat(act_frmt);
} else if (_root.archer_cookie.data.availables[i] == 3) {
this["spe" + i].tick._visible = true;
this["g_spe" + i]._visible = true;
this[("upg" + i) + 1].tick._visible = true;
this[("g_upg" + i) + 1]._visible = true;
this[("upg" + i) + 2].tick._visible = true;
this[("g_upg" + i) + 2]._visible = true;
this[("upg" + i) + 1].txt.setTextFormat(act_frmt);
this[("upg" + i) + 2].txt.setTextFormat(act_frmt);
}
i++;
}
i = counto + 1;
while (i < 4) {
trace("BBBB");
this["spe" + i].txt_ef._visible = false;
this[("upg" + i) + 1].txt_ef._visible = false;
this[("upg" + i) + 2].txt_ef._visible = false;
this["bspe" + i]._visible = false;
this[("bupg" + i) + 1]._visible = false;
this[("bupg" + i) + 2]._visible = false;
this["g_spe" + i]._visible = false;
this["spe" + i].tick._visible = false;
this[("g_upg" + i) + 1]._visible = false;
this[("upg" + i) + 1].tick._visible = false;
this[("g_upg" + i) + 2]._visible = false;
this[("upg" + i) + 2].tick._visible = false;
this["spe" + i].txt.setTextFormat(in_frmt);
this[("upg" + i) + 1].txt.setTextFormat(in_frmt);
this[("upg" + i) + 2].txt.setTextFormat(in_frmt);
i++;
}
Symbol 8 MovieClip Frame 1
stop();
Symbol 8 MovieClip Frame 2
_root.Laser4Sound.start(0, 1);
Symbol 8 MovieClip Frame 9
gotoAndStop (1);
this._visible = false;
Symbol 18 MovieClip Frame 1
stop();
Symbol 18 MovieClip Frame 25
this._visible = false;
this._parent.damage = false;
this._parent.free = true;
this._parent.play();
this.gotoAndStop(1);
Symbol 19 MovieClip [robot4] Frame 1
if (livetime == undefined) {
vel = 0.8;
vel_prop = 1.2;
shooting = false;
ice._visible = false;
electro._visible = false;
shootingfire._visible = false;
wall_damage._visible = false;
fumette._visible = false;
dying = false;
rand = Math.random() * 100;
timebasis = 70;
frozen = 0;
damage = false;
num_lives = 2;
livetime = (Math.random() - 0.5) * timebasis;
free = true;
vistime = 100;
lasershoot._visible = false;
this.onEnterFrame = function () {
if (free == true) {
vistime--;
if (vistime < 0) {
vistime = 100;
}
if ((vistime > 80) && (Math.random() > 0.1)) {
body._alpha = 100;
this.symbol_holder._visible = true;
} else {
this.symbol_holder._visible = false;
body._alpha = 10;
}
}
if (d != undefined) {
if (_root.holder["color_boom" + d]._x != undefined) {
num_lives = num_lives - 2;
this.electro._visible = true;
this.electro.play();
damage = true;
livetime = 0;
if (this.num_lives > 0) {
symbol = Math.floor(Math.random() * _root.Allowed_symbols[_root.current_wave]);
if (_root.Color_changing == true) {
c = Math.floor(Math.random() * _root.Allowed_colors[_root.current_wave]);
}
_root.mouseListener.enemies[symbol][c].push(nombre);
this.symbol_holder.play();
}
}
}
if ((_root.holder["arrow" + d] != undefined) && (_root.holder["arrow" + d]._x >= (this._x - 20))) {
num_lives = num_lives - 1;
this.electro._visible = true;
this.electro.play();
damage = true;
livetime = 0;
if (this.num_lives > 0) {
symbol = Math.floor(Math.random() * _root.Allowed_symbols[_root.current_wave]);
if (_root.Color_changing == true) {
c = Math.floor(Math.random() * _root.Allowed_colors[_root.current_wave]);
}
_root.mouseListener.enemies[symbol][c].push(nombre);
this.symbol_holder.play();
}
removeMovieClip(_root.holder["arrow" + d]);
}
if (this.num_lives <= 0) {
dddd = _root.holder.getNextHighestDepth();
_root.holder.attachMovie("explosion1", "exp" + dddd, dddd);
_root.holder["exp" + dddd]._x = _x;
_root.holder["exp" + dddd]._y = _y;
removeMovieClip(this);
}
if (frozen > 1) {
ice._visible = true;
free = false;
} else if (frozen == 1) {
ice._visible = false;
frozen = 0;
body.play();
shad.play();
if (shooting == true) {
livetime = 500;
}
free = true;
}
if (_root.timestop > 2) {
free = false;
} else if (_root.timestop == 2) {
body.play();
shad.play();
if (shooting == true) {
livetime = 500;
}
free = true;
}
if (damage == true) {
vistime = 80;
free = false;
}
if (free == true) {
if (((_y - 385) / -1.4) < ((_x - 120) - rand)) {
vel = vel_prop;
} else {
vel = 0;
}
this.swapDepths((this._y * 720) + this._x);
livetime = livetime + 1;
if (livetime > 150) {
if (shooting == true) {
shad.play();
body.play();
}
if (((_y - 385) / -1.4) < ((_x - 120) - rand)) {
if (shooting == true) {
livetime = Math.random() * timebasis;
} else {
livetime = 130;
}
} else {
trace("infernous");
vel = 0;
if (shooting == true) {
livetime = 120;
} else {
livetime = 130;
}
}
shooting = !shooting;
arm.play();
}
if (shooting == true) {
vel = 0;
if (livetime == 144) {
lasershoot._visible = true;
lasershoot.play();
lasershoot.mask._width = Math.abs(Math.round((((_y - 385) / -1.4) - _x) + 30));
_root.live = _root.live - 300;
}
} else if (((_y - 385) / -1.4) < ((_x - 120) - rand)) {
this._x = this._x - vel;
}
} else {
trace("INGERRERER" + _root.timestop);
if (_root.timestop > 2) {
body.stop();
shad.stop();
}
vel = 0;
arm.shootingfire._visible = false;
wall_damage._visible = false;
frozen = frozen - 1;
}
};
}
Symbol 21 MovieClip [symbol_holder] Frame 1
stop();
Symbol 21 MovieClip [symbol_holder] Frame 14
removeMovieClip(rotator.symbol_logo);
removeMovieClip(rotator.symbol_logo_border);
rotator.attachMovie("symbol" + this._parent.symbol, "symbol_logo", 4);
currentcolor = new Color(rotator.symbol_logo);
currentcolor.setRGB(_root.colortable[this._parent.c]);
rotator.attachMovie("symbol" + this._parent.symbol, "symbol_logo_border", 3);
rotator.symbol_logo_border.filters = [new flash.filters.GlowFilter(0, 100, 1.5, 1.5, 100, 2, false, true)];
Symbol 40 MovieClip Frame 1
stop();
wall_damage._visible = false;
Symbol 40 MovieClip Frame 8
stop();
this._parent.wall_damage._visible = true;
this._parent.wall_damage.play();
this._parent.wall_damage._x = Math.round((((this._parent._y - 385) / -1.4) - this._parent._x) + 30);
this._parent.wall_damage.lasermask._width = -this._parent.wall_damage._x;
Symbol 40 MovieClip Frame 9
this._parent.wall_damage._visible = false;
this._parent.wall_damage.stop();
Symbol 48 MovieClip Frame 1
_root.LaserGunBoolean = true;
Symbol 48 MovieClip Frame 2
_root.LaserGunBoolean = true;
Symbol 48 MovieClip Frame 3
_root.LaserGunBoolean = true;
Symbol 61 MovieClip Frame 1
if (this._parent.shooting == true) {
this._parent.livetime = 500;
}
stop();
Symbol 61 MovieClip Frame 24
this._visible = false;
this._parent.damage = false;
this._parent.free = true;
this._parent.play();
this.gotoAndStop(1);
Symbol 72 MovieClip [robot3] Frame 1
if (livetime == undefined) {
vel = 1.2;
vel_prop = 1;
shooting = false;
ice._visible = false;
electro._visible = false;
shootingfire._visible = false;
wall_damage._visible = false;
wall_damage.stop();
fumette._visible = false;
dying = false;
rand = Math.random() * 100;
timebasis = 100;
frozen = 0;
damage = false;
num_lives = 4;
livetime = (Math.random() - 0.5) * timebasis;
free = true;
satano = false;
this.onEnterFrame = function () {
if (d != undefined) {
if ((_root.holder["color_boom" + d]._x != undefined) && (satano == false)) {
satano = true;
num_lives = num_lives - 2;
this.electro._visible = true;
this.electro.play();
damage = true;
stop();
livetime = 0;
if (this.num_lives > 0) {
symbol = Math.floor(Math.random() * _root.Allowed_symbols[_root.current_wave]);
if (_root.Color_changing == true) {
c = Math.floor(Math.random() * _root.Allowed_colors[_root.current_wave]);
}
_root.mouseListener.enemies[symbol][c].push(nombre);
this.symbol_holder.play();
}
}
}
if ((_root.holder["arrow" + d] != undefined) && (_root.holder["arrow" + d]._x >= (this._x - 20))) {
num_lives = num_lives - 1;
this.electro._visible = true;
this.electro.play();
damage = true;
stop();
livetime = 0;
if (this.num_lives > 0) {
symbol = Math.floor(Math.random() * _root.Allowed_symbols[_root.current_wave]);
if (_root.Color_changing == true) {
c = Math.floor(Math.random() * _root.Allowed_colors[_root.current_wave]);
}
_root.mouseListener.enemies[symbol][c].push(nombre);
this.symbol_holder.play();
}
removeMovieClip(_root.holder["arrow" + d]);
}
if (this.num_lives <= 0) {
dddd = _root.holder.getNextHighestDepth();
_root.holder.attachMovie("explosion1", "exp" + dddd, dddd);
_root.holder["exp" + dddd]._x = _x;
_root.holder["exp" + dddd]._y = _y;
removeMovieClip(this);
}
if (frozen > 1) {
ice._visible = true;
free = false;
} else if (frozen == 1) {
ice._visible = false;
frozen = 0;
play();
if (shooting == true) {
livetime = 500;
}
free = true;
}
if (_root.timestop > 2) {
free = false;
} else if (_root.timestop == 2) {
play();
if (shooting == true) {
livetime = 500;
}
free = true;
}
if (damage == true) {
free = false;
}
if (free == true) {
satano = false;
if (((_y - 385) / -1.4) < ((_x - 120) - rand)) {
vel = vel_prop;
} else {
vel = 0;
}
this.swapDepths((this._y * 720) + this._x);
livetime = livetime + 1;
if (livetime > 150) {
if (shooting == true) {
play();
} else {
stop();
}
if (((_y - 385) / -1.4) < ((_x - 120) - rand)) {
livetime = Math.random() * timebasis;
} else {
vel = 0;
if (shooting == true) {
livetime = 120;
} else {
livetime = 0;
}
}
shooting = !shooting;
arm.play();
}
if (shooting == true) {
_root.live = _root.live - 10;
} else if (((_y - 385) / -1.4) < ((_x - 120) - rand)) {
this._x = this._x - vel;
} else {
vel = 0;
stop();
}
} else {
vel = 0;
arm.shootingfire._visible = false;
wall_damage._visible = false;
wall_damage.stop();
stop();
frozen = frozen - 1;
}
};
}
Symbol 80 MovieClip Frame 1
_root.MachineGunBoolean = true;
Symbol 80 MovieClip Frame 2
_root.MachineGunBoolean = true;
Symbol 80 MovieClip Frame 3
_root.MachineGunBoolean = true;
Symbol 80 MovieClip Frame 4
_root.MachineGunBoolean = true;
Symbol 80 MovieClip Frame 5
_root.MachineGunBoolean = true;
Symbol 83 MovieClip Frame 1
this._parent.wall_damage._visible = true;
this._parent.wall_damage._x = (((this._parent._y - 385) / -1.4) - this._parent._x) + 10;
this._parent.wall_damage._y = 0;
Symbol 96 MovieClip Frame 1
if (this._parent.shooting == true) {
this._parent.livetime = 500;
}
stop();
Symbol 96 MovieClip Frame 24
this._visible = false;
this._parent.damage = false;
this._parent.free = true;
this._parent.play();
this.gotoAndStop(1);
Symbol 107 MovieClip [robot2] Frame 1
if (livetime == undefined) {
vel = 2;
vel_prop = 2;
shooting = false;
ice._visible = false;
electro._visible = false;
shootingfire._visible = false;
wall_damage._visible = false;
fumette._visible = false;
dying = false;
rand = Math.random() * 100;
timebasis = 100;
frozen = 0;
damage = false;
num_lives = 1;
livetime = (Math.random() - 0.5) * timebasis;
free = true;
this.onEnterFrame = function () {
if (_root.timestop < 2) {
if (arm.shootingfire._visible == false) {
arm.shootingfire._visible = true;
}
_root.live = _root.live - 3;
} else {
_root.MachineGunBoolean = false;
arm.shootingfire._visible = false;
}
if (d != undefined) {
if (_root.holder["color_boom" + d]._x != undefined) {
num_lives = 0;
}
}
if ((_root.holder["arrow" + d] != undefined) && (_root.holder["arrow" + d]._x >= (this._x - 20))) {
num_lives = num_lives - 1;
this.electro._visible = true;
this.electro.play();
damage = true;
stop();
livetime = 0;
if (this.num_lives > 0) {
symbol = Math.floor(Math.random() * _root.Allowed_symbols[_root.current_wave]);
if (_root.Color_changing == true) {
c = Math.floor(Math.random() * _root.Allowed_colors[_root.current_wave]);
}
_root.mouseListener.enemies[symbol][c].push(nombre);
this.symbol_holder.play();
}
removeMovieClip(_root.holder["arrow" + d]);
}
if (this.num_lives <= 0) {
dddd = _root.holder.getNextHighestDepth();
_root.holder.attachMovie("explosion1", "exp" + dddd, dddd);
_root.holder["exp" + dddd]._x = _x;
_root.holder["exp" + dddd]._y = _y;
removeMovieClip(this);
}
if (frozen > 1) {
ice._visible = true;
free = false;
} else if (frozen == 1) {
ice._visible = false;
frozen = 0;
play();
if (shooting == true) {
livetime = 500;
}
free = true;
}
if (_root.timestop > 2) {
free = false;
} else if (_root.timestop == 2) {
play();
if (shooting == true) {
livetime = 500;
}
free = true;
}
if (damage == true) {
free = false;
}
if (free == true) {
if (((_y - 385) / -1.4) < ((_x - 120) - rand)) {
vel = vel_prop;
} else {
vel = 0;
}
this.swapDepths((this._y * 720) + this._x);
if (livetime > 150) {
if (((_y - 385) / -1.4) < ((_x - 120) - rand)) {
trace("in the wall?");
livetime = Math.random() * timebasis;
} else {
vel = 0;
if (shooting == true) {
livetime = 120;
} else {
livetime = 0;
}
}
shooting = true;
}
if (shooting == true) {
_root.live = _root.live - 10;
} else if (((_y - 385) / -1.4) < ((_x - 120) - rand)) {
this._x = this._x - vel;
} else {
vel = 0;
stop();
}
} else {
vel = 0;
wall_damage._visible = false;
stop();
frozen = frozen - 1;
}
};
}
Symbol 115 MovieClip [explosion1] Frame 3
n = _root.ruedoholder.getNextHighestDepth();
_root.ruedoholder.attachMovie("ruedo", "ruedo" + n, n);
_root.ruedoholder["ruedo" + n]._x = this._x;
_root.ruedoholder["ruedo" + n]._y = this._y;
_root.enemycount--;
Symbol 115 MovieClip [explosion1] Frame 28
removeMovieClip(this);
Symbol 159 MovieClip Frame 1
stop();
wall_damage._visible = false;
Symbol 159 MovieClip Frame 13
stop();
this._parent.wall_damage._visible = true;
this._parent.wall_damage._x = ((this._parent._y - 385) / -1.4) - this._parent._x;
this._parent.wall_damage._y = 0;
Symbol 159 MovieClip Frame 14
this._parent.wall_damage._visible = false;
Symbol 169 MovieClip [robot1] Frame 1
if (livetime == undefined) {
vel = 1;
vel_prop = 1;
shooting = false;
ice._visible = false;
electro._visible = false;
shootingfire._visible = false;
wall_damage._visible = false;
fumette._visible = false;
dying = false;
rand = Math.random() * 100;
timebasis = 100;
frozen = 0;
damage = false;
num_lives = 2;
livetime = (Math.random() - 0.5) * timebasis;
free = true;
satano = false;
this.onEnterFrame = function () {
if (d != undefined) {
if ((_root.holder["color_boom" + d]._x != undefined) && (satano == false)) {
satano = true;
num_lives = num_lives - 2;
this.electro._visible = true;
this.electro.play();
damage = true;
stop();
livetime = 0;
if (this.num_lives > 0) {
symbol = Math.floor(Math.random() * _root.Allowed_symbols[_root.current_wave]);
if (_root.Color_changing == true) {
c = Math.floor(Math.random() * _root.Allowed_colors[_root.current_wave]);
}
_root.mouseListener.enemies[symbol][c].push(nombre);
this.symbol_holder.play();
}
}
}
if ((_root.holder["arrow" + d] != undefined) && (_root.holder["arrow" + d]._x >= (this._x - 20))) {
num_lives = num_lives - 1;
this.electro._visible = true;
this.electro.play();
damage = true;
stop();
livetime = 0;
if (this.num_lives > 0) {
symbol = Math.floor(Math.random() * _root.Allowed_symbols[_root.current_wave]);
if (_root.Color_changing == true) {
c = Math.floor(Math.random() * _root.Allowed_colors[_root.current_wave]);
}
_root.mouseListener.enemies[symbol][c].push(nombre);
this.symbol_holder.play();
}
removeMovieClip(_root.holder["arrow" + d]);
}
if (this.num_lives <= 0) {
dddd = _root.holder.getNextHighestDepth();
_root.holder.attachMovie("explosion1", "exp" + dddd, dddd);
_root.holder["exp" + dddd]._x = _x;
_root.holder["exp" + dddd]._y = _y;
removeMovieClip(this);
}
if (frozen > 1) {
ice._visible = true;
free = false;
} else if (frozen == 1) {
ice._visible = false;
frozen = 0;
play();
if (shooting == true) {
livetime = 500;
}
free = true;
}
if (_root.timestop > 2) {
free = false;
} else if (_root.timestop == 2) {
play();
if (shooting == true) {
livetime = 500;
}
free = true;
}
if (damage == true) {
free = false;
}
if (free == true) {
if (((_y - 385) / -1.4) < ((_x - 120) - rand)) {
vel = vel_prop;
} else {
vel = 0;
}
this.swapDepths((this._y * 720) + this._x);
livetime = livetime + 1;
if (livetime > 150) {
if (shooting == true) {
play();
} else {
stop();
}
if (((_y - 385) / -1.4) < ((_x - 120) - rand)) {
livetime = Math.random() * timebasis;
} else {
vel = 0;
if (shooting == true) {
livetime = 120;
} else {
livetime = 0;
}
}
shooting = !shooting;
arm.play();
}
if (shooting == true) {
_root.live = _root.live - 10;
} else if (((_y - 385) / -1.4) < ((_x - 120) - rand)) {
this._x = this._x - vel;
} else {
stop();
}
} else {
vel = 0;
arm.shootingfire._visible = false;
arm.shootingfire.stop();
wall_damage._visible = false;
stop();
frozen = frozen - 1;
}
};
}
Symbol 171 MovieClip [ice_arrow] Frame 1
this.onEnterFrame = function () {
vx = vx + ax;
vy = vy + ay;
this._rotation = (180 * Math.atan2(vy, vx)) / Math.PI;
if (this._x > _root.virtual_target._x) {
trace("SATAN?");
_root.attachMovie("time_freeze", "time_freeze", _root.getNextHighestDepth());
_root.time_freeze._alpha = 0;
_root.time_freeze.onEnterFrame = function () {
trace(_root.time_freeze._width);
_root.holder.cacheAsBitmap = true;
_root.time_freeze.cacheAsBitmap = true;
var _local4 = new flash.geom.Point((_root.time_freeze._width / 2) - 100, (_root.time_freeze._height / 2) - 100);
var _local2 = new flash.display.BitmapData(700, 420);
var _local3 = new flash.filters.DisplacementMapFilter(_local2, _local4, 1, 2, 100, 100, "clamp");
_local2.draw(_root.time_freeze);
_root.filters = [_local3];
};
removeMovieClip(this);
}
_x = (_x + vx);
_y = (_y + vy);
};
Symbol 173 MovieClip [color_arrow] Frame 1
this.onEnterFrame = function () {
vx = vx + ax;
vy = vy + ay;
this._rotation = (180 * Math.atan2(vy, vx)) / Math.PI;
if (this._x > _root.virtual_target._x) {
_root.holder.attachMovie("color_boom", "color_boom" + d, _root.holder.getNextHighestDepth());
_root.holder["color_boom" + d]._x = this._x;
_root.holder["color_boom" + d]._y = this._y;
c = new Color(_root.holder["color_boom" + d].l_effect);
c.setRGB(_root.colortable[_root.colour]);
removeMovieClip(this);
}
_x = (_x + vx);
_y = (_y + vy);
};
Symbol 175 MovieClip [arrow] Frame 1
timo = false;
this.onEnterFrame = function () {
this._rotation = (180 * Math.atan2(vy, vx)) / Math.PI;
if (_root.timestop < 2) {
if (this._visible == false) {
this._visible = true;
if (timo == true) {
_root.BowSound.start(0, 1);
}
}
vx = vx + ax;
vy = vy + ay;
_x = (_x + vx);
_y = (_y + vy);
} else {
timo = true;
if (this._visible == true) {
this._visible = false;
}
}
};
Symbol 238 MovieClip [explosion] Frame 15
removeMovieClip(this);
Symbol 244 MovieClip [color_boom_sub] Frame 11
removeMovieClip(this);
Symbol 259 MovieClip [color_boom] Frame 1
mycolor = _root.colour;
Symbol 259 MovieClip [color_boom] Frame 52
l_effect._alpha = 100;
sym = 0;
while (sym < 17) {
i = 0;
while (i < _root.mouseListener.enemies[sym][mycolor].length) {
_root.holder["enemy" + _root.mouseListener.enemies[sym][mycolor][i]].d = d;
i++;
}
_root.mouseListener.enemies[sym][mycolor] = new Array();
sym++;
}
Symbol 259 MovieClip [color_boom] Frame 56
removeMovieClip(this);
Symbol 278 MovieClip [ice_wind] Frame 12
i = 0;
while (i < _root.mouseListener.enemies.length) {
j = 0;
while (j < _root.mouseListener.enemies[i].length) {
k = 0;
while (k < _root.mouseListener.enemies[i][j].length) {
_root.holder["enemy" + _root.mouseListener.enemies[i][j][k]].frozen = 200;
k++;
}
j++;
}
i++;
}
_root.frozen_time = 200;
Symbol 278 MovieClip [ice_wind] Frame 25
removeMovieClip(this);
Symbol 283 MovieClip [time_freeze] Frame 15
_root.filters = [];
removeMovieClip(this);
Symbol 291 MovieClip [special_alert] Frame 30
removeMovieClip(this);
Symbol 299 MovieClip Frame 1
this.onMouseUp = function () {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
removeMovieClip(_root.canvas_mc2);
removeMovieClip(_root.temp_canvas);
removeMovieClip(_root.canvas_mc_fx);
delete _root.mouseListener.onMouseMove;
delete _root.mouseListener.onMouseUp;
delete _root.mouseListener.onMouseDown;
delete _root.canvas_mc_fx.onEnterFrame;
_root.gotoAndStop("ff");
}
};
Symbol 302 MovieClip [regrets] Frame 1
_root.b_and_w = 1;
_root.timestop = 1;
_root.lower_tab.s_disp_1.action_timer.circ2.val = 0;
_root.lower_tab.s_disp_2.action_timer.circ2.val = 0;
_root.lower_tab.s_disp_1.action_timer._visible = false;
_root.lower_tab.s_disp_2.action_timer._visible = false;
_root.normal_cursor._visible = true;
_root.brush_cursor._visible = false;
removeMovieClip(_root.canvas_mc2);
removeMovieClip(_root.temp_canvas);
removeMovieClip(_root.canvas_mc_fx);
_root.MusicSound.stop();
delete _root.mouseListener.onMouseMove;
delete _root.mouseListener.onMouseUp;
delete _root.mouseListener.onMouseDown;
delete _root.canvas_mc_fx.onEnterFrame;
Symbol 302 MovieClip [regrets] Frame 60
stop();
Symbol 305 MovieClip Frame 1
this.onMouseUp = function () {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
_root.ColorLockSound.start(0, 1);
removeMovieClip(_root.canvas_mc2);
removeMovieClip(_root.temp_canvas);
removeMovieClip(_root.canvas_mc_fx);
delete _root.mouseListener.onMouseMove;
delete _root.mouseListener.onMouseUp;
delete _root.mouseListener.onMouseDown;
delete _root.canvas_mc_fx.onEnterFrame;
if (_root.archer_cookie.data.current_wave < 33) {
_root.archer_cookie.data.current_wave++;
}
if (_root.upgrade_list[_root.archer_cookie.data.current_wave - 2] == 1) {
_root.gotoAndStop("nn");
} else {
_root.gotoAndStop("ff");
}
}
};
Symbol 307 MovieClip [congrats] Frame 1
_root.b_and_w = 1;
_root.timestop = 1;
_root.lower_tab.s_disp_1.action_timer.circ2.val = 0;
_root.lower_tab.s_disp_2.action_timer.circ2.val = 0;
_root.lower_tab.s_disp_1.action_timer._visible = false;
_root.lower_tab.s_disp_2.action_timer._visible = false;
_root.normal_cursor._visible = true;
_root.brush_cursor._visible = false;
removeMovieClip(_root.canvas_mc2);
removeMovieClip(_root.temp_canvas);
removeMovieClip(_root.canvas_mc_fx);
delete _root.mouseListener.onMouseMove;
_root.MusicSound.stop();
delete _root.mouseListener.onMouseUp;
delete _root.mouseListener.onMouseDown;
delete _root.canvas_mc_fx.onEnterFrame;
Symbol 310 MovieClip [ruedo] Frame 159
removeMovieClip(this);
Symbol 318 Button
on (rollOver) {
_root.PotClickSound.start(0, 1);
}
on (release) {
_root.ColorLockSound.start(0, 1);
_root.Howtoing = false;
this._visible = false;
}
Symbol 657 MovieClip [__Packages.point] Frame 0
class point
{
var x, y, dl, w;
function point (c1, c2, d, wii) {
x = c1;
y = c2;
dl = d;
w = wii;
}
}
Symbol 360 MovieClip Frame 401
gotoAndPlay (1);
Symbol 362 Button
on (release) {
getURL ("http://www.addictinggames.com", "_blank");
}
Symbol 395 MovieClip Frame 20
stop();
Symbol 397 MovieClip Frame 1
_root.stop();
Instance of Symbol 360 MovieClip in Symbol 397 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
this.gotoAndPlay(random(700));
}
onClipEvent (enterFrame) {
if (_parent._currentframe < 11) {
this._alpha = this._alpha + 10;
}
this.gotoAndPlay(_currentframe + 2);
if (_parent._currentframe > 75) {
this._alpha = this._alpha - 5;
}
}
Symbol 397 MovieClip Frame 25
ag_explode = new Sound();
ag_explode.attachSound("ag_explode");
ag_explode.start();
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 395 MovieClip in Symbol 397 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
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)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Symbol 397 MovieClip Frame 95
_root.play();
Symbol 403 MovieClip Frame 1
MovieClip.prototype.CircleSegmentTo = function (x, y, a1, a2, r, dir) {
var _local11 = Math.abs(a2 - a1);
var _local10 = Math.floor(_local11 / (Math.PI/4)) + 1;
var _local5 = (dir * _local11) / (2 * _local10);
var _local7 = r / Math.cos(_local5);
this.moveTo(x + (Math.cos(a1) * r), y + (Math.sin(a1) * r));
var _local4 = 0;
while (_local4 < _local10) {
a2 = a1 + _local5;
a1 = a2 + _local5;
this.curveTo(x + (Math.cos(a2) * _local7), y + (Math.sin(a2) * _local7), x + (Math.cos(a1) * r), y + (Math.sin(a1) * r));
_local4++;
}
return(this);
};
this.createEmptyMovieClip("circ2", 2);
circ2._x = 0;
circ2._y = 0;
circ2.radius = 45;
circ2.val = 0;
gp.setMask(circ2);
circ2.onEnterFrame = function () {
if (this.val > 0) {
this._parent._parent.marko._visible = false;
this.clear();
this.val = this.val - this._parent._parent.cd_speed;
var _local2 = (((Math.PI*2) * this.val) / 100) - (Math.PI/2);
var _local3 = -1.5707963267949;
if (_local2 != _local3) {
this.lineStyle(2, 0, 100);
this.beginFill(16751001, 100);
this.lineTo(this.radius, 0);
this.CircleSegmentTo(0, 0, _local3, _local2, this.radius, -1);
this.lineTo(0, 0);
this.endFill();
}
if (this.val <= 0) {
this._parent._parent.marko._visible = true;
trace(" LE VAL CE'ST FREAK!!!!!");
this.val == 0;
}
}
};
Symbol 407 MovieClip Frame 1
MovieClip.prototype.CircleSegmentTo = function (x, y, a1, a2, r, dir) {
var _local11 = Math.abs(a2 - a1);
var _local10 = Math.floor(_local11 / (Math.PI/4)) + 1;
var _local5 = (dir * _local11) / (2 * _local10);
var _local7 = r / Math.cos(_local5);
this.moveTo(x + (Math.cos(a1) * r), y + (Math.sin(a1) * r));
var _local4 = 0;
while (_local4 < _local10) {
a2 = a1 + _local5;
a1 = a2 + _local5;
this.curveTo(x + (Math.cos(a2) * _local7), y + (Math.sin(a2) * _local7), x + (Math.cos(a1) * r), y + (Math.sin(a1) * r));
_local4++;
}
return(this);
};
this.createEmptyMovieClip("circ2", 2);
circ2._x = 0;
circ2._y = 0;
circ2.radius = 45;
circ2.val = 0;
gp.setMask(circ2);
faker._visible = false;
circ2.onEnterFrame = function () {
if (this.val > 0) {
faker._visible = true;
this.clear();
this.val = this.val - this._parent._parent.act_speed;
var _local2 = (((Math.PI*2) * this.val) / 100) - (Math.PI/2);
var _local3 = -1.5707963267949;
if (_local2 != _local3) {
this.lineStyle(2, 0, 100);
this.beginFill(16751001, 100);
this.lineTo(this.radius, 0);
this.CircleSegmentTo(0, 0, _local3, _local2, this.radius, -1);
this.lineTo(0, 0);
this.endFill();
}
if (this.val <= 0) {
this.val == 0;
this._parent._parent.cooldown_timer.circ2.val = 100;
faker._visible = false;
}
}
};
Symbol 431 Button
on (press) {
ColorLockSound.start(0, 1);
MusicMenuSound.stop();
MusicPlaying = false;
gotoAndStop ("gameframe");
}
on (rollOver) {
PotClickSound.start(0, 1);
}
Symbol 434 Button
on (release) {
if ((getTimer() - lastclick) < 300) {
_global.trace_to_create = 0;
gotoAndStop ("createtrace");
ColorLockSound.start(0, 1);
}
lastclick = getTimer();
}
on (rollOver) {
PotClickSound.start(0, 1);
}
Symbol 435 Button
on (release) {
if ((getTimer() - lastclick) < 300) {
_global.trace_to_create = 1;
gotoAndStop ("createtrace");
ColorLockSound.start(0, 1);
}
lastclick = getTimer();
}
on (rollOver) {
PotClickSound.start(0, 1);
}
Symbol 436 Button
on (release) {
if ((getTimer() - lastclick) < 300) {
_global.trace_to_create = 2;
gotoAndStop ("createtrace");
ColorLockSound.start(0, 1);
}
lastclick = getTimer();
}
on (rollOver) {
PotClickSound.start(0, 1);
}
Symbol 437 Button
on (release) {
if ((getTimer() - lastclick) < 300) {
_root.ColorLockSound.start(0, 1);
_global.trace_to_create = 3;
gotoAndStop ("createtrace");
}
lastclick = getTimer();
}
on (rollOver) {
PotClickSound.start(0, 1);
}
Symbol 448 Button
on (press) {
ColorLockSound.start(0, 1);
gameinstr._visible = true;
}
on (rollOver) {
PotClickSound.start(0, 1);
}
Symbol 452 Button
on (press) {
ColorLockSound.start(0, 1);
archer_cookie.data.traces = new Array(4);
archer_cookie.data.availables = new Array(0, 0, 0, 0);
archer_cookie.data.current_wave = 1;
archer_cookie.data.CoolDownTimes = new Array(0.05, 0.05, 0.05, 0.05);
archer_cookie.data.ActiveTimes = new Array(1, 0.5, 0.5, 1);
archer_cookie.data.Color_changing = false;
archer_cookie.data.quality = _quality;
_root.gotoAndStop("amooo");
}
on (rollOver) {
PotClickSound.start(0, 1);
}
Symbol 456 Button
on (press) {
ColorLockSound.start(0, 1);
trace(_quality);
if (_quality == "LOW") {
_quality = "MEDIUM";
qualitytext.text = "Med";
} else if (_quality == "MEDIUM") {
_quality = "HIGH";
qualitytext.text = "HIgH";
} else if (_quality == "HIGH") {
_quality = "LOW";
qualitytext.text = "low";
}
archer_cookie.data.quality = _quality;
}
on (rollOver) {
PotClickSound.start(0, 1);
}
Symbol 465 Button
on (press) {
ColorLockSound.start(0, 1);
recon._visible = true;
}
on (rollOver) {
PotClickSound.start(0, 1);
}
Symbol 471 Button
on (press) {
getURL ("http://www.addictinggames.com", blank);
}
Symbol 478 Button
on (release) {
trace("AKDJFKSJDFKASDJKFJ-------------");
_root.archer_cookie.data.traces = new Array(4);
_root.archer_cookie.data.availables = new Array(parseInt(av0.text), parseInt(av1.text), parseInt(av2.text), parseInt(av3.text));
_root.archer_cookie.data.current_wave = parseInt(avw.text);
_root.archer_cookie.data.CoolDownTimes = new Array(0.05, 0.05, 0.05, 0.05);
i = 0;
while (i < 4) {
switch (parseInt(eval ("av" + i).text)) {
case 1 :
_root.archer_cookie.data.CoolDownTimes[i] = 0.05;
break;
case 2 :
_root.archer_cookie.data.CoolDownTimes[i] = 0.12;
break;
case 3 :
_root.archer_cookie.data.CoolDownTimes[i] = 0.25;
}
trace("times " + _root.archer_cookie.data.CoolDownTimes[i]);
i++;
}
_root.archer_cookie.data.ActiveTimes = new Array(1, 0.5, 0.5, 1);
_root.archer_cookie.data.Color_changing = false;
_root.gotoAndStop("amooo");
}
Symbol 488 Button
on (press) {
_root.ColorLockSound.start(0, 1);
this._visible = false;
}
on (rollOver) {
_root.PotClickSound.start(0, 1);
}
Symbol 498 Button
on (press) {
_root.ColorLockSound.start(0, 1);
gameinstr._visible = true;
this._visible = false;
}
on (rollOver) {
_root.PotClickSound.start(0, 1);
}
Symbol 508 MovieClip Frame 1
this.onEnterFrame = function () {
this._x = _root._xmouse;
this._y = _root._ymouse;
};
Symbol 512 Button
on (release) {
ColorLockSound.start(0, 1);
_root.archer_cookie.data.traces = new Array(4);
_root.archer_cookie.data.availables = new Array(1, 1, 1, 1);
_root.archer_cookie.data.current_wave = 10;
_root.archer_cookie.data.CoolDownTimes = new Array(0.05, 0.05, 0.05, 0.05);
_root.archer_cookie.data.ActiveTimes = new Array(1, 0.5, 0.5, 1);
_root.archer_cookie.data.Color_changing = true;
_root.archer_cookie.data.quality = _quality;
_root.gotoAndStop("amooo");
}
Symbol 528 Button
on (rollOver) {
PotClickSound.start(0, 1);
}
on (release) {
Howtoing = true;
ColorLockSound.start(0, 1);
Instructions._visible = true;
}
Symbol 538 Button
on (rollOver) {
PotClickSound.start(0, 1);
}
on (release) {
ColorLockSound.start(0, 1);
save_btn._visible = false;
_root.canvas_mc2.clear();
_root.temp_canvas.clear();
_root.canvas_mc_fx.clear();
pas = 0;
temp_patterns = new Array(3);
created_pattern = new Array();
}
Symbol 542 Button
on (rollOver) {
PotClickSound.start(0, 1);
}
on (release) {
ColorLockSound.start(0, 1);
archer_cookie = SharedObject.getLocal("CookieArcher");
trace(_global.trace_to_create);
archer_cookie.data.traces[_global.trace_to_create] = created_pattern;
removeMovieClip(_root.canvas_mc2);
removeMovieClip(_root.temp_canvas);
removeMovieClip(_root.canvas_mc_fx);
delete mouseListener.onMouseMove;
delete mouseListener.onMouseUp;
delete mouseListener.onMouseDown;
delete canvas_mc_fx.onEnterFrame;
gotoAndStop (4);
}
Symbol 547 Button
on (rollOver) {
PotClickSound.start(0, 1);
}
on (release) {
ColorLockSound.start(0, 1);
removeMovieClip(_root.canvas_mc2);
removeMovieClip(_root.temp_canvas);
removeMovieClip(_root.canvas_mc_fx);
delete mouseListener.onMouseMove;
delete mouseListener.onMouseUp;
delete mouseListener.onMouseDown;
delete canvas_mc_fx.onEnterFrame;
gotoAndStop (4);
}
Symbol 550 MovieClip Frame 1
this._visible = false;
stop();
Symbol 550 MovieClip Frame 2
this._visible = true;
Symbol 550 MovieClip Frame 60
this._visible = false;
Symbol 553 MovieClip Frame 1
this.onEnterFrame = function () {
this._x = _root._xmouse;
this._y = _root._ymouse;
};
Symbol 572 MovieClip Frame 1
stop();
Symbol 572 MovieClip Frame 2
stop();
Symbol 572 MovieClip Frame 3
stop();
Symbol 572 MovieClip Frame 4
stop();
Symbol 572 MovieClip Frame 5
stop();
Symbol 583 MovieClip Frame 1
stop();
currentstate = 1;
this.onEnterFrame = function () {
if ((_root.live > 8000) and (currentstate != 1)) {
state.gotoAndStop(1);
currentstate = 1;
}
if (((_root.live > 6000) and (_root.live < 8000)) and (currentstate != 2)) {
state.gotoAndStop(2);
currentstate = 2;
}
if (((_root.live > 4000) and (_root.live < 6000)) and (currentstate != 3)) {
state.gotoAndStop(3);
currentstate = 3;
}
if (((_root.live > 2000) and (_root.live < 4000)) and (currentstate != 4)) {
state.gotoAndStop(4);
currentstate = 4;
}
if (((_root.live > 0) and (_root.live < 2000)) and (currentstate != 5)) {
state.gotoAndStop(5);
currentstate = 5;
}
};
Instance of Symbol 581 MovieClip in Symbol 583 MovieClip Frame 2
onClipEvent (load) {
startlife = _root.live;
}
onClipEvent (enterFrame) {
_root.live = _root.live + ((10000 - startlife) / 24);
}
Symbol 583 MovieClip Frame 25
_root.live = 10000;
Symbol 597 Button
on (press) {
_root.PotClickSound.start(0, 1);
thisisnot = false;
if (this.c != 0) {
_root.mousedown = true;
}
_root.nextcolour = c;
goldenpot._visible = true;
colorin = new Color(_root.brush_cursor.color);
colorin.setRGB(_root.colortable[c]);
}
on (release) {
thisisnot = true;
_root.mousedown = false;
goldenpot._visible = false;
removeMovieClip(_root.color_mix);
_root.attachMovie("explosion", "color_mix", _root.getNextHighestDepth());
_root.color_mix._x = _root._xmouse;
_root.color_mix._y = _root._ymouse;
col = new Color(_root.color_mix);
col.setRGB(_root.colortable[c]);
_root.ColorLockSound.start(0, 1);
}
on (releaseOutside) {
thisisnot = true;
_root.mousedown = false;
goldenpot._visible = false;
if (c != 0) {
i = 1;
while (i < 4) {
if (_root["bucket" + i].hitTest(_root._xmouse, _root._ymouse)) {
removeMovieClip(_root.color_mix);
_root.nextcolour = (c + i) + 1;
_root.attachMovie("explosion", "color_mix", _root.getNextHighestDepth());
_root.color_mix._x = _root._xmouse;
_root.color_mix._y = _root._ymouse;
col = new Color(_root.color_mix);
col.setRGB(_root.colortable[_root.nextcolour]);
_root.ColorLockSound.start(0, 1);
}
i++;
}
colorin = new Color(_root.brush_cursor.color);
colorin.setRGB(_root.colortable[_root.nextcolour]);
}
}
Symbol 604 MovieClip Frame 1
this.onEnterFrame = function () {
if ((this.hitTest(_root._xmouse, _root._ymouse) && (_root.mousedown == true)) && (this.c != 0)) {
if (goldenpot._visible == false) {
_root.PotClickSound.start(0, 1);
}
goldenpot._visible = true;
} else if (thisisnot == true) {
goldenpot._visible = false;
}
};
Instance of Symbol 419 MovieClip "s_disp_0" in Symbol 610 MovieClip Frame 1
onClipEvent (load) {
cd_speed = _root.CoolDownTimes[0];
act_speed = _root.ActiveTimes[0];
}
Instance of Symbol 419 MovieClip "s_disp_1" in Symbol 610 MovieClip Frame 1
onClipEvent (load) {
cd_speed = _root.CoolDownTimes[1];
act_speed = _root.ActiveTimes[1];
}
Instance of Symbol 419 MovieClip "s_disp_2" in Symbol 610 MovieClip Frame 1
onClipEvent (load) {
cd_speed = _root.CoolDownTimes[2];
act_speed = _root.ActiveTimes[2];
}
Instance of Symbol 419 MovieClip "s_disp_3" in Symbol 610 MovieClip Frame 1
onClipEvent (load) {
cd_speed = _root.CoolDownTimes[3];
act_speed = _root.ActiveTimes[3];
}
Symbol 617 Button
on (press, keyPress "<Escape>") {
ColorLockSound.start(0, 1);
MusicSound.stop();
removeMovieClip(_root.canvas_mc2);
removeMovieClip(_root.temp_canvas);
removeMovieClip(_root.canvas_mc_fx);
delete _root.mouseListener.onMouseMove;
delete _root.mouseListener.onMouseUp;
delete _root.mouseListener.onMouseDown;
delete _root.canvas_mc_fx.onEnterFrame;
_root.gotoAndStop("ff");
}
on (rollOver) {
PotClickSound.start(0, 1);
}
Symbol 626 Button
on (release) {
if (_root.archer_cookie.data.availables[0] == 1) {
_root.archer_cookie.data.CoolDownTimes[0] = 0.12;
_root.archer_cookie.data.availables[0] = 2;
gotoAndStop (4);
}
}
on (rollOver) {
definition.text = "This will decrease the cool-down time for the 'Color Lightning'";
}
on (rollOut) {
definition.text = "";
}
Symbol 627 Button
on (release) {
if (_root.archer_cookie.data.availables[0] == 0) {
_root.archer_cookie.data.availables[0] = 1;
gotoAndStop (4);
}
}
on (rollOver) {
definition.text = "This will throw a color lightning that will take 2 lives from all the robots of that color!";
}
on (rollOut) {
definition.text = "";
}
Symbol 628 Button
on (release) {
if (_root.archer_cookie.data.availables[0] == 2) {
_root.archer_cookie.data.CoolDownTimes[0] = 0.25;
_root.archer_cookie.data.availables[0] = 3;
gotoAndStop (4);
}
}
on (rollOver) {
definition.text = "This will decrease even more the cool-down time for the 'Color Lightning'";
}
on (rollOut) {
definition.text = "";
}
Symbol 629 Button
on (release) {
if (_root.archer_cookie.data.availables[1] == 1) {
_root.archer_cookie.data.CoolDownTimes[1] = 0.12;
_root.archer_cookie.data.availables[1] = 2;
gotoAndStop (4);
}
}
on (rollOver) {
definition.text = "This will decrease the cool-down time for the 'Time Freeze'";
}
on (rollOut) {
definition.text = "";
}
Symbol 630 Button
on (release) {
if (_root.archer_cookie.data.availables[2] == 0) {
_root.archer_cookie.data.availables[2] = 1;
gotoAndStop (4);
}
}
on (rollOver) {
definition.text = "This will turn everything B&W. In this mode only the symbols you draw matter, not the color!";
}
on (rollOut) {
definition.text = "";
}
Symbol 631 Button
on (release) {
if (_root.archer_cookie.data.availables[1] == 2) {
_root.archer_cookie.data.CoolDownTimes[1] = 0.25;
_root.archer_cookie.data.availables[1] = 3;
gotoAndStop (4);
}
}
on (rollOver) {
definition.text = "This will decrease even more the cool-down time for the 'Time Freeze'";
}
on (rollOut) {
definition.text = "";
}
Symbol 632 Button
on (release) {
if (_root.archer_cookie.data.availables[2] == 1) {
_root.archer_cookie.data.CoolDownTimes[2] = 0.12;
_root.archer_cookie.data.availables[2] = 2;
gotoAndStop (4);
}
}
on (rollOver) {
definition.text = "This will decrease the cool-down time for the 'Black & White'";
}
on (rollOut) {
definition.text = "";
}
Symbol 633 Button
on (release) {
if (_root.archer_cookie.data.availables[1] == 0) {
_root.archer_cookie.data.availables[1] = 1;
gotoAndStop (4);
}
}
on (rollOver) {
definition.text = "This will stop time! While time is frozen you can throw as invoke as many arrows as you can! ";
}
on (rollOut) {
definition.text = "";
}
Symbol 634 Button
on (release) {
if (_root.archer_cookie.data.availables[2] == 2) {
_root.archer_cookie.data.CoolDownTimes[2] = 0.25;
_root.archer_cookie.data.availables[2] = 3;
gotoAndStop (4);
}
}
on (rollOver) {
definition.text = "This will decrease even more the cool-down time for the 'Black & White'";
}
on (rollOut) {
definition.text = "";
}
Symbol 635 Button
on (release) {
if (_root.archer_cookie.data.availables[3] == 1) {
_root.archer_cookie.data.CoolDownTimes[3] = 0.12;
_root.archer_cookie.data.availables[3] = 2;
gotoAndStop (4);
}
}
on (rollOver) {
definition.text = "This will decrease the cool-down time for the 'Wall Repair'";
}
on (rollOut) {
definition.text = "";
}
Symbol 636 Button
on (release) {
if (_root.archer_cookie.data.availables[3] == 0) {
_root.archer_cookie.data.availables[3] = 1;
gotoAndStop (4);
}
}
on (rollOver) {
definition.text = "This will repair the wall! Increasing your health to the maximum";
}
on (rollOut) {
definition.text = "";
}
Symbol 637 Button
on (release) {
if (_root.archer_cookie.data.availables[3] == 2) {
_root.archer_cookie.data.CoolDownTimes[3] = 0.25;
_root.archer_cookie.data.availables[3] = 3;
gotoAndStop (4);
}
}
on (rollOver) {
definition.text = "This will decrease even more the cool-down time for the 'Wall Repair'";
}
on (rollOut) {
definition.text = "";
}