Frame 1
fscommand ("trapallkeys", 1);
fscommand ("allowscale", 0);
Stage.showMenu = false;
duplicateMovieClip ("fr", "frame", 100010);
_global.r = this;
Frame 2
var loadAmount = _totalframes;
onEnterFrame = function () {
if (_framesloaded == loadAmount) {
delete onEnterFrame;
gotoAndPlay (20);
} else {
loaded = Math.round(getBytesLoaded() / 1024);
total = Math.round(getBytesTotal() / 1024);
percent = Math.round((loaded / total) * 100);
}
};
stop();
Frame 10
MovieClip.prototype.getleveldata = function () {
if (r.level <= 1) {
add2pos(r.pos1);
add2pos(r.pos2);
r.levelitemcount[1] = r.pos.length;
}
if (r.level <= 2) {
add2pos(r.pos21);
add2pos(r.pos3);
add2pos(r.pos4);
add2pos(r.pos5);
r.levelitemcount[2] = r.pos.length;
}
if (r.level <= 3) {
add2pos(r.pos22);
add2pos(r.pos6);
add2pos(r.pos7);
add2pos(r.pos8);
add2pos(r.pos9);
r.levelitemcount[3] = r.pos.length;
}
if (r.level <= 4) {
add2pos(r.pos21);
add2pos(r.pos10);
add2pos(r.pos11);
add2pos(r.pos12);
add2pos(r.pos13);
r.levelitemcount[4] = r.pos.length;
}
};
MovieClip.prototype.initbonus = function (tipe) {
var t = this;
r.all.push(t);
t.tipe = tipe;
t.outpos = r.ynow - 550;
t.onEnterFrame = function () {
if (t.hit) {
r.all.removevalue(t);
delete t.onEnterFrame;
if (t.tipe == 1) {
m2.attachMovie("allred", "allred", 101, {_x:0, _y:0});
var i = 0;
while (i < r.all.length) {
if (!r.all[i].hit) {
r.all[i].hit = 1;
r.got++;
}
i++;
}
} else {
r.energy = Math.min(r.energymax, r.energy + (0.5 * r.energymax));
r.zbonus.start();
popbonus();
}
t.gotoAndPlay("hit");
} else if (r.ynow < t.outpos) {
r.all.removevalue(t);
t.removeMovieClip();
}
};
stop();
};
MovieClip.prototype.add2pos = function (arr) {
var arr2 = arr.clone();
var n = r.pos.length;
if (!n) {
r.pos = r.pos0.clone();
}
var yn = (r.pos[r.pos.length - 1].y + 80);
var total = arr2.length;
var i = 0;
while (i < total) {
var a = arr2.shift();
a.y = a.y + yn;
r.pos.push(a);
i++;
}
};
MovieClip.prototype.nocircle = function () {
p.ci.circ.removeMovieClip();
r.presstime = 0;
r.pressed = 0;
r.nopress = 2;
};
MovieClip.prototype.cekrocks = function () {
var t = this;
var i = 0;
while (i < r.rocks.length) {
var mindis = (r.phei + r.rocks[i].radius);
var dy = (t.ny - r.rocks[i]._y);
if (Math.abs(dy) < mindis) {
var dx = (t.nx - r.rocks[i]._x);
if (Math.abs(dx) < mindis) {
var mindis2 = (mindis * mindis);
if (((dx * dx) + (dy * dy)) < mindis2) {
var ang = Math.atan2(dy, dx);
var x = (mindis * Math.cos(ang));
var y = (mindis * Math.sin(ang));
t.nx = r.rocks[i]._x + x;
t.ny = r.rocks[i]._y + y;
r.rocks[i].a.friction._rotation = deg(ang);
r.rocks[i].a.friction.gotoAndPlay(2);
if (p._y < (r.rocks[i]._y - 25)) {
r.zdrillrock.setVolume(100);
r.friksi = 7;
} else {
r.zcrash.start();
}
nocircle();
if (!r.inv) {
r.hit = r.rocks[i];
}
}
}
}
i++;
}
};
MovieClip.prototype.makehole = function () {
var t = this;
t.hole = !t.hole;
if (t.hole) {
m.attachMovie("hole", "hole" + r.ud, r.ud, {_x:p._x, _y:p._y + 10, _rotation:p._rotation});
r.hole.push(m["hole" + r.ud]);
r.ud--;
m.attachMovie("pieces", "pieces" + r.pd, r.pd, {_x:(p._x - 50) + random(100), _y:p._y + 45, _rotation:p._rotation});
r.pd++;
m.attachMovie("pieces", "pieces" + r.pd, r.pd, {_x:(p._x - 50) + random(100), _y:p._y + 45, _rotation:p._rotation});
r.pd++;
}
if (r.hole[0]._y < ((-r.ynow) - 50)) {
t.oldhole = r.hole.shift();
t.oldhole.removeMovieClip();
}
};
movieclip.prototype.cekboxcoll = function (ex, ey, ew, eh, sx, sy, sw, sh) {
var res = 0;
if (math.abs(ey - sy) < (eh + sh)) {
if (math.abs(ex - sx) < (ew + sw)) {
res = 1;
}
}
return(res);
};
MovieClip.prototype.popskor = function (hit, nil) {
m.attachMovie("popscore", "popscore", r.popd, {_x:p._x, _y:p._y - 30, nil:nil, hit:hit});
r.popd++;
};
MovieClip.prototype.popskorboss = function (nil) {
m.attachMovie("popscoreboss", "popscoreboss", r.popd, {_x:p._x, _y:p._y - 30, nil:nil, hit:hit});
r.popd++;
};
MovieClip.prototype.popbonus = function () {
m.attachMovie("popbonus", "popbonus", r.popd, {_x:516, _y:38});
r.popd++;
};
movieclip.prototype.getrandom = function (aray) {
if (r.randomlisting.length > 0) {
var reg = 0;
var i = 0;
while (i < r.randomlisting.length) {
if (r.randomlisting[i] == aray) {
reg = 1;
break;
}
i++;
}
if (!reg) {
r.randomlisting.push(aray);
}
} else {
r.randomlisting = [];
r.randomlisting.push(aray);
}
if (r[aray + "getrandom"].length <= 0) {
r[aray + "getrandom"] = [];
r[aray + "getrandom"] = r[aray].copy();
r[aray + "getrandom"].randomize();
if (r[aray + "getrandom"].length > 1) {
if (r[aray + "lastpop"] == r[aray + "getrandom"][r[aray + "getrandom"].length - 1]) {
r[aray + "getrandom"].pop();
}
}
}
var value = r[aray + "getrandom"].pop();
r[aray + "lastpop"] = value;
return(value);
};
MovieClip.prototype.resetrandom = function () {
if (r.randomlisting.length > 0) {
var i = 0;
while (i < r.randomlisting.length) {
r[r.randomlisting[i] + "getrandom"] = [];
r[r.randomlisting[i] + "lastpop"] = undefined;
i++;
}
}
};
Array.prototype.removeElement = function (i) {
if (i == null) {
i = 0;
}
var r = this[i];
var j = i;
while (j < (this.length - 1)) {
this[j] = this[j + 1];
j++;
}
this.pop();
return(r);
};
Array.prototype.removeValue = function (a) {
var i = 0;
while (i < this.length) {
if (a == this[i]) {
this.removeElement(i);
}
i++;
}
};
Array.prototype.randomize = function () {
return(this.sort(function (a, b) {
return(((Math.floor(Math.random() * 2) == 0) ? 1 : -1));
}));
};
Array.prototype.copy = Array.prototype.slice;
Object.prototype.clone = function () {
if (this instanceof Array) {
var to = [];
var i = 0;
while (i < this.length) {
to[i] = ((typeof(this[i]) == "object") ? (this[i].clone()) : (this[i]));
i++;
}
} else if ((this instanceof XML) || (this instanceof MovieClip)) {
var to = null;
trace("Warning! Object.clone can not be used on MovieClip or XML objects");
} else {
var to = {};
for (var i in this) {
to[i] = ((typeof(this[i]) == "object") ? (this[i].clone()) : (this[i]));
}
}
return(to);
};
ASSetPropFlags(Object.prototype, ["clone"], 1);
Movieclip.prototype.point2line = function (px, py, qx1, qy1, qx2, qy2) {
if (qy2 == qy1) {
qy2 = qy1 + 1E-6;
} else if (qx2 == qx1) {
qx2 = qx1 + 1E-6;
}
var deltax = (qx2 - qx1);
var deltay = (qy2 - qy1);
var qm = (deltay / deltax);
var pm = (-1 / qm);
var qb = (qy1 - (qm * qx1));
var pb = (py - (pm * px));
var xi = ((qb - pb) / (pm - qm));
var yi = ((qm * xi) + qb);
var t = ((xi - qx1) / (qx2 - qx1));
if ((t >= 0) and (t <= 1)) {
var inline = 1;
} else {
var inline = 0;
}
return({x:xi, y:yi, inline:inline, dis:math.sqrt(((xi - px) * (xi - px)) + ((yi - py) * (yi - py)))});
};
Movieclip.prototype.fadescreen = function (speed) {
if (!speed) {
var speed = 5;
}
r.createEmptyMovieClip("dark", 100001);
var d = r.dark;
with (d) {
lineStyle(1, 0, 100);
beginfill(16777215, 100);
moveto(-5000, -5000);
lineto(5000, -5000);
lineto(5000, 5000);
lineto(-5000, 5000);
endfill();
d.onEnterFrame = function () {
_alpha = _alpha - speed;
if (_alpha <= 0) {
removeMovieClip("");
stop();
}
};
}
};
Movieclip.prototype.findang = function (dx, dy) {
return(deg(math.atan2(dy, dx)));
};
Movieclip.prototype.rad = function (qdeg) {
return(qdeg * 0.0174532925199433 /* Math.PI/180 */);
};
Movieclip.prototype.deg = function (qrad) {
return(qrad * 57.2957795130823);
};
Color.prototype.setBrightness = function (value) {
this.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0});
var trans = this.getTransform();
var percent = (Math.abs(value) / 100);
var brightnessColor = ((value > 0) ? 255 : 0);
with (trans) {
ra = ra - (ra * percent);
ga = ga - (ga * percent);
ba = ba - (ba * percent);
rb = rb + ((brightnessColor - rb) * percent);
gb = gb + ((brightnessColor - gb) * percent);
bb = bb + ((brightnessColor - bb) * percent);
}
this.setTransform(trans);
};
Color.prototype.setTint = function (col, percent, resetMode) {
if (isNaN(col) || (isNaN(percent))) {
return(undefined);
}
col = ((col <= 0) ? 0 : (((col >= 16777215) ? 16777215 : (Math.round(col)))));
percent = ((percent <= 0) ? 0 : (((percent >= 100) ? 1 : (percent / 100))));
if ((resetMode == undefined) || ((resetMode != true) && (resetMode != false))) {
resetMode = true;
}
var trans = this.getTransform();
if (resetMode) {
with (trans) {
ra = (ga = (ba = 100));
rb = (gb = (bb = 0));
}
}
with (trans) {
ra = ra - (ra * percent);
ga = ga - (ga * percent);
ba = ba - (ba * percent);
rb = rb + ((((col & 16711680) >> 16) - rb) * percent);
gb = gb + ((((col & 65280) >> 8) - gb) * percent);
bb = bb + (((col & 255) - bb) * percent);
}
this.setTransform(trans);
};
Color.prototype.resetcolor = function () {
this.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0});
};
Sound.prototype.fade = function (fadeType, fadeDuration) {
this.fadeDuration = (fadeDuration * 1000) / 100;
this.fadeType = fadeType;
this.currentVolume = this.getVolume();
this.intID = setInterval(function (thisObj) {
thisObj.doFade(thisObj.fadeType);
}, this.fadeDuration, this);
this.doFade = function (fadeType) {
if (fadeType == "out") {
this.setVolume(this.currentVolume--);
if (this.getVolume() <= 0) {
clearInterval(this.intID);
}
} else if (fadetype == "in") {
this.setVolume(this.currentVolume++);
if (this.getVolume() >= 100) {
clearInterval(this.intID);
}
}
};
};
movieclip.prototype.wait = function (delay) {
this.createEmptyMovieClip("wdl", 55555);
this.wdl.delay = delay;
this.wdl.onenterframe = function () {
this.delay--;
if (!this.delay) {
delete this.onenterframe;
this._parent.play();
this.removeMovieClip();
}
};
this.stop();
};
MovieClip.prototype.savecookie = function (vari, value) {
var so = SharedObject.getLocal("lazcookie", "/");
so.data[vari] = value;
so.flush();
};
MovieClip.prototype.loadcookie = function (vari) {
var so = SharedObject.getLocal("lazcookie", "/");
if (so.data[vari] != null) {
return(so.data[vari]);
}
return(false);
};
Frame 15
pos1 = [{id:8, y:10, x:34, ska:70}, {id:8, y:83, x:528, ska:80}, {id:1, y:134, x:142}, {id:8, y:219, x:423, ska:80}, {id:8, y:381, x:133, ska:90}, {id:1, y:411, x:308}, {id:8, y:513, x:396, ska:70}, {id:8, y:569, x:541, ska:80}, {id:1, y:629, x:274}, {id:8, y:699, x:188, ska:70}, {id:8, y:829, x:455, ska:80}, {id:1, y:831, x:74}, {id:1, y:937, x:168}, {id:1, y:955, x:514}, {id:8, y:1031, x:119}, {id:1, y:1041, x:480}, {id:8, y:1155, x:269, ska:80}, {id:1, y:1237, x:158}, {id:8, y:1264, x:508, ska:70}, {id:1, y:1337, x:304}, {id:1, y:1377, x:348}, {id:8, y:1449, x:191, ska:80}, {id:1, y:1571, x:152}, {id:8, y:1649, x:457, ska:80}, {id:1, y:1659, x:334}, {id:8, y:1743, x:195, ska:70}, {id:1, y:1777, x:304}, {id:8, y:1799, x:140, ska:80}, {id:8, y:1827, x:480, ska:80}, {id:1, y:1907, x:404}, {id:8, y:1979, x:275, ska:80}, {id:1, y:1981, x:156}, {id:1, y:2045, x:400}, {id:8, y:2063, x:58}, {id:8, y:2114, x:131, ska:70}, {id:8, y:2157, x:317}, {id:1, y:2273, x:212}, {id:1, y:2317, x:422}, {id:8, y:2348, x:266, ska:70}, {id:8, y:2399, x:529, ska:80}, {id:1, y:2413, x:150}, {id:1, y:2455, x:360}];
pos2 = [{id:1, y:44, x:102}, {id:8, y:45, x:459, ska:80}, {id:8, y:198, x:72}, {id:8, y:235, x:535, ska:70}, {id:1, y:235, x:362}, {id:1, y:281, x:258}, {id:8, y:299, x:133, ska:90}, {id:1, y:329, x:216}, {id:2, y:371, x:466}, {id:1, y:443, x:326}, {id:8, y:511, x:195}, {id:8, y:597, x:541, ska:80}, {id:1, y:617, x:285}, {id:1, y:691, x:362}, {id:8, y:761, x:450, ska:70}, {id:2, y:833, x:89}, {id:8, y:851, x:375}, {id:8, y:903, x:197, ska:90}, {id:1, y:903, x:282}, {id:1, y:985, x:106}, {id:8, y:1054, x:557}, {id:8, y:1091, x:61}, {id:7, y:1112, x:565}, {id:1, y:1119, x:304}, {id:8, y:1126, x:523, ska:60}, {id:1, y:1225, x:258}, {id:1, y:1307, x:70}, {id:8, y:1313, x:455, ska:80}, {id:2, y:1389, x:168}, {id:8, y:1453, x:311, ska:80}, {id:1, y:1461, x:196}, {id:1, y:1557, x:82}, {id:8, y:1603, x:467}, {id:1, y:1695, x:228}, {id:8, y:1704, x:520, ska:90}, {id:8, y:1706, x:117, ska:80}, {id:1, y:1737, x:327}, {id:1, y:1811, x:384}, {id:8, y:1878, x:500, ska:80}, {id:1, y:1897, x:206}, {id:8, y:1950, x:419, ska:80}, {id:2, y:2019, x:298}, {id:8, y:2066, x:121, ska:70}, {id:1, y:2111, x:373}, {id:8, y:2210, x:517}, {id:1, y:2224, x:353}, {id:1, y:2237, x:253}, {id:8, y:2263, x:441, ska:60}, {id:8, y:2291, x:181, ska:80}, {id:1, y:2347, x:305}, {id:8, y:2363, x:100, ska:80}, {id:2, y:2452, x:451}, {id:8, y:2459, x:354, ska:80}];
pos3 = [{id:1, y:44, x:490}, {id:1, y:79, x:402}, {id:1, y:109, x:118}, {id:8, y:160, x:348}, {id:8, y:235, x:55, ska:80}, {id:2, y:299, x:145}, {id:8, y:315, x:459, ska:90}, {id:1, y:323, x:266}, {id:8, y:359, x:549}, {id:1, y:405, x:334}, {id:1, y:459, x:116}, {id:8, y:491, x:235, ska:70}, {id:2, y:509, x:488}, {id:1, y:553, x:318}, {id:8, y:573, x:66}, {id:8, y:609, x:399}, {id:1, y:615, x:528}, {id:8, y:669, x:127, ska:80}, {id:1, y:723, x:352}, {id:1, y:737, x:318}, {id:8, y:815, x:509, ska:70}, {id:1, y:817, x:152}, {id:8, y:837, x:62}, {id:8, y:873, x:419}, {id:1, y:959, x:378}, {id:2, y:978, x:131}, {id:8, y:1003, x:515}, {id:8, y:1051, x:213, ska:90}, {id:1, y:1075, x:310}, {id:8, y:1101, x:134}, {id:1, y:1117, x:506}, {id:8, y:1201, x:183, ska:80}, {id:8, y:1211, x:531}, {id:1, y:1221, x:358}, {id:2, y:1317, x:431}, {id:1, y:1335, x:94}, {id:1, y:1365, x:232}, {id:8, y:1399, x:387}, {id:8, y:1431, x:323, ska:80}, {id:1, y:1511, x:125}, {id:1, y:1537, x:295}, {id:8, y:1555, x:440}, {id:8, y:1615, x:168, ska:80}, {id:1, y:1633, x:441}, {id:6, y:1660, x:188}, {id:1, y:1675, x:339}, {id:8, y:1678, x:230, ska:70}, {id:1, y:1683, x:545}, {id:8, y:1717, x:164}, {id:1, y:1717, x:431}, {id:1, y:1723, x:77}, {id:1, y:1743, x:289}, {id:1, y:1757, x:513}, {id:1, y:1775, x:383}, {id:2, y:1781, x:265}, {id:1, y:1801, x:37}, {id:1, y:1803, x:203}, {id:1, y:1829, x:463}, {id:1, y:1833, x:563}, {id:1, y:1839, x:295}, {id:8, y:1840, x:114, ska:70}, {id:8, y:1893, x:460}, {id:8, y:1977, x:525, ska:70}, {id:1, y:1995, x:215}, {id:8, y:2037, x:67, ska:80}, {id:1, y:2109, x:403}, {id:2, y:2126, x:131}, {id:8, y:2166, x:341, ska:80}, {id:1, y:2253, x:505}, {id:8, y:2276, x:243}, {id:8, y:2318, x:321, ska:90}, {id:1, y:2325, x:113}, {id:8, y:2387, x:533}, {id:1, y:2449, x:381}, {id:8, y:2464, x:237, ska:80}, {id:1, y:2483, x:423}];
pos4 = [{id:1, y:44, x:490}, {id:8, y:79, x:289}, {id:1, y:79, x:402}, {id:8, y:94, x:525, ska:80}, {id:1, y:109, x:118}, {id:8, y:183, x:79, ska:80}, {id:8, y:240, x:135, ska:80}, {id:1, y:253, x:389}, {id:1, y:275, x:245}, {id:8, y:285, x:539, ska:90}, {id:1, y:309, x:333}, {id:2, y:337, x:467}, {id:8, y:399, x:423}, {id:8, y:402, x:180}, {id:1, y:405, x:334}, {id:1, y:459, x:116}, {id:8, y:459, x:365, ska:80}, {id:8, y:599, x:457, ska:70}, {id:2, y:613, x:94}, {id:1, y:615, x:528}, {id:8, y:684, x:225, ska:80}, {id:8, y:730, x:459, ska:90}, {id:1, y:747, x:392}, {id:8, y:764, x:522}, {id:7, y:784, x:448}, {id:8, y:803, x:414, ska:60}, {id:8, y:807, x:50}, {id:8, y:814, x:300, ska:70}, {id:1, y:817, x:152}, {id:8, y:872, x:100, ska:70}, {id:1, y:877, x:318}, {id:2, y:888, x:443}, {id:8, y:927, x:509, ska:70}, {id:1, y:959, x:378}, {id:2, y:1025, x:77}, {id:8, y:1051, x:213, ska:90}, {id:1, y:1075, x:310}, {id:1, y:1117, x:506}, {id:8, y:1143, x:255, ska:80}, {id:1, y:1177, x:394}, {id:8, y:1201, x:183, ska:80}, {id:8, y:1211, x:531}, {id:2, y:1259, x:457}, {id:8, y:1332, x:440}, {id:1, y:1335, x:94}, {id:8, y:1346, x:35, ska:90}, {id:1, y:1409, x:232}, {id:2, y:1419, x:79}, {id:8, y:1440, x:416, ska:70}, {id:1, y:1487, x:323}, {id:8, y:1505, x:554}, {id:1, y:1511, x:125}, {id:8, y:1540, x:230, ska:80}, {id:2, y:1599, x:365}, {id:8, y:1616, x:437, ska:80}, {id:1, y:1675, x:339}, {id:8, y:1683, x:93}, {id:8, y:1755, x:182}, {id:1, y:1757, x:513}, {id:1, y:1843, x:361}, {id:8, y:1863, x:505, ska:70}, {id:2, y:1912, x:155}, {id:8, y:1965, x:335, ska:80}, {id:1, y:1993, x:449}, {id:1, y:1995, x:215}, {id:8, y:2024, x:301, ska:90}, {id:8, y:2040, x:137}, {id:1, y:2041, x:513}, {id:8, y:2065, x:362}, {id:8, y:2172, x:495, ska:90}, {id:1, y:2185, x:41}, {id:1, y:2213, x:109}, {id:2, y:2220, x:421}, {id:1, y:2253, x:505}, {id:8, y:2257, x:141, ska:80}, {id:8, y:2276, x:367, ska:80}, {id:1, y:2325, x:113}, {id:8, y:2333, x:290}, {id:1, y:2441, x:497}, {id:8, y:2458, x:375}, {id:1, y:2461, x:201}, {id:2, y:2476, x:57}];
pos5 = [{id:1, y:44, x:490}, {id:8, y:63, x:185}, {id:1, y:79, x:402}, {id:1, y:109, x:118}, {id:8, y:161, x:231, ska:80}, {id:8, y:172, x:495, ska:80}, {id:8, y:240, x:63, ska:80}, {id:1, y:253, x:389}, {id:8, y:255, x:451, ska:90}, {id:1, y:275, x:245}, {id:8, y:281, x:164}, {id:2, y:337, x:421}, {id:8, y:368, x:130}, {id:1, y:399, x:333}, {id:8, y:445, x:494, ska:80}, {id:1, y:459, x:116}, {id:8, y:469, x:411}, {id:1, y:529, x:288}, {id:6, y:534, x:423}, {id:8, y:537, x:371, ska:70}, {id:2, y:557, x:94}, {id:8, y:600, x:451, ska:90}, {id:1, y:615, x:528}, {id:8, y:646, x:177, ska:80}, {id:1, y:669, x:486}, {id:1, y:681, x:418}, {id:1, y:695, x:548}, {id:1, y:699, x:332}, {id:1, y:721, x:246}, {id:1, y:729, x:486}, {id:1, y:737, x:392}, {id:1, y:761, x:322}, {id:1, y:781, x:440}, {id:1, y:791, x:264}, {id:2, y:800, x:507}, {id:1, y:815, x:360}, {id:1, y:817, x:152}, {id:8, y:851, x:411, ska:90}, {id:8, y:887, x:317, ska:80}, {id:2, y:895, x:111}, {id:8, y:927, x:509, ska:70}, {id:8, y:957, x:247, ska:80}, {id:1, y:959, x:378}, {id:8, y:979, x:57}, {id:8, y:981, x:451}, {id:1, y:1057, x:171}, {id:1, y:1075, x:310}, {id:8, y:1086, x:92}, {id:2, y:1135, x:277}, {id:1, y:1147, x:454}, {id:8, y:1174, x:332, ska:70}, {id:1, y:1207, x:506}, {id:1, y:1241, x:206}, {id:1, y:1261, x:383}, {id:2, y:1277, x:93}, {id:1, y:1305, x:415}, {id:8, y:1328, x:534, ska:90}, {id:2, y:1345, x:375}, {id:1, y:1345, x:180}, {id:8, y:1364, x:440, ska:80}, {id:8, y:1423, x:261}, {id:8, y:1430, x:100, ska:80}, {id:1, y:1463, x:363}, {id:8, y:1488, x:227, ska:80}, {id:1, y:1511, x:125}, {id:2, y:1529, x:409}, {id:1, y:1597, x:213}, {id:8, y:1616, x:437, ska:80}, {id:1, y:1637, x:359}, {id:1, y:1687, x:107}, {id:8, y:1715, x:274}, {id:1, y:1757, x:513}, {id:2, y:1769, x:393}, {id:8, y:1781, x:182}, {id:8, y:1782, x:262, ska:70}, {id:1, y:1843, x:361}, {id:8, y:1863, x:505, ska:70}, {id:8, y:1911, x:39}, {id:2, y:1912, x:155}, {id:8, y:1937, x:365, ska:80}, {id:8, y:1961, x:450}, {id:1, y:1995, x:215}, {id:1, y:2039, x:511}, {id:8, y:2040, x:137}, {id:1, y:2119, x:309}, {id:2, y:2129, x:421}, {id:1, y:2167, x:163}, {id:8, y:2172, x:495, ska:90}, {id:1, y:2203, x:339}, {id:8, y:2257, x:127, ska:80}, {id:1, y:2275, x:499}, {id:2, y:2304, x:219}, {id:1, y:2311, x:429}, {id:1, y:2325, x:113}, {id:8, y:2333, x:290}, {id:8, y:2351, x:41}, {id:8, y:2368, x:389, ska:80}, {id:1, y:2407, x:497}, {id:8, y:2458, x:375}, {id:1, y:2461, x:201}, {id:2, y:2476, x:567}];
pos6 = [{id:8, y:63, x:63}, {id:1, y:95, x:156}, {id:8, y:110, x:495, ska:80}, {id:8, y:161, x:163, ska:80}, {id:8, y:176, x:223, ska:80}, {id:1, y:185, x:380}, {id:2, y:189, x:469}, {id:1, y:204, x:330}, {id:1, y:253, x:389}, {id:8, y:255, x:481, ska:90}, {id:1, y:275, x:245}, {id:8, y:298, x:178}, {id:8, y:379, x:503}, {id:1, y:401, x:216}, {id:8, y:409, x:54}, {id:2, y:419, x:136}, {id:8, y:431, x:407, ska:80}, {id:1, y:475, x:260}, {id:8, y:487, x:171}, {id:8, y:537, x:371, ska:70}, {id:8, y:562, x:217, ska:80}, {id:8, y:602, x:463, ska:90}, {id:3, y:737, x:510}, {id:3, y:737, x:230}, {id:1, y:737, x:230}, {id:3, y:737, x:370}, {id:1, y:737, x:90}, {id:3, y:737, x:90}, {id:1, y:737, x:510}, {id:1, y:737, x:370}, {id:3, y:849, x:306}, {id:1, y:849, x:306}, {id:3, y:849, x:446}, {id:1, y:849, x:446}, {id:3, y:849, x:166}, {id:1, y:849, x:166}, {id:8, y:965, x:539, ska:70}, {id:8, y:965, x:57}, {id:8, y:993, x:151, ska:80}, {id:8, y:1007, x:453, ska:90}, {id:8, y:1045, x:398, ska:80}, {id:1, y:1069, x:287}, {id:8, y:1072, x:92}, {id:1, y:1127, x:207}, {id:1, y:1171, x:239}, {id:8, y:1180, x:332, ska:70}, {id:8, y:1203, x:505}, {id:8, y:1259, x:361}, {id:1, y:1273, x:122}, {id:1, y:1311, x:214}, {id:1, y:1357, x:290}, {id:1, y:1377, x:128}, {id:8, y:1390, x:66}, {id:1, y:1449, x:372}, {id:1, y:1449, x:232}, {id:3, y:1449, x:232}, {id:3, y:1449, x:372}, {id:8, y:1476, x:139, ska:80}, {id:8, y:1495, x:493}, {id:8, y:1508, x:66, ska:80}, {id:3, y:1561, x:306}, {id:1, y:1561, x:306}, {id:8, y:1611, x:424, ska:90}, {id:8, y:1617, x:56, ska:90}, {id:8, y:1672, x:227, ska:80}, {id:1, y:1765, x:125}, {id:2, y:1783, x:409}, {id:8, y:1803, x:509}, {id:1, y:1851, x:213}, {id:8, y:1882, x:540, ska:70}, {id:1, y:1891, x:331}, {id:8, y:1899, x:54}, {id:8, y:1938, x:468, ska:90}, {id:8, y:1941, x:103, ska:80}, {id:7, y:1960, x:53}, {id:8, y:1961, x:399, ska:80}, {id:4, y:2024, x:287}, {id:8, y:2077, x:498, ska:90}, {id:1, y:2153, x:137}, {id:1, y:2163, x:479}, {id:8, y:2169, x:240}, {id:2, y:2175, x:359}, {id:1, y:2245, x:86}, {id:1, y:2249, x:327}, {id:8, y:2267, x:264}, {id:1, y:2291, x:134}, {id:1, y:2305, x:504}, {id:8, y:2319, x:335, ska:70}, {id:8, y:2343, x:195}, {id:8, y:2362, x:400}, {id:8, y:2399, x:263}, {id:1, y:2401, x:540}, {id:1, y:2413, x:50}, {id:1, y:2419, x:110}, {id:8, y:2433, x:450}];
pos7 = [{id:8, y:34, x:556, ska:80}, {id:8, y:63, x:63}, {id:8, y:86, x:420, ska:90}, {id:1, y:95, x:156}, {id:8, y:110, x:495, ska:80}, {id:8, y:141, x:109, ska:80}, {id:8, y:176, x:540, ska:90}, {id:8, y:176, x:173, ska:80}, {id:1, y:185, x:380}, {id:1, y:204, x:330}, {id:8, y:214, x:52, ska:80}, {id:8, y:217, x:233}, {id:1, y:253, x:389}, {id:8, y:255, x:481, ska:90}, {id:8, y:298, x:178}, {id:1, y:299, x:263}, {id:8, y:345, x:497}, {id:2, y:369, x:412}, {id:8, y:369, x:219}, {id:1, y:379, x:292}, {id:8, y:411, x:151, ska:70}, {id:8, y:431, x:407, ska:80}, {id:8, y:449, x:471}, {id:8, y:459, x:81}, {id:1, y:475, x:260}, {id:8, y:487, x:171}, {id:8, y:529, x:383}, {id:8, y:562, x:217, ska:80}, {id:8, y:581, x:82}, {id:8, y:602, x:463, ska:90}, {id:8, y:687, x:169}, {id:8, y:727, x:67, ska:80}, {id:3, y:743, x:290}, {id:3, y:743, x:430}, {id:1, y:743, x:290}, {id:1, y:743, x:430}, {id:8, y:789, x:135}, {id:1, y:855, x:366}, {id:3, y:855, x:506}, {id:1, y:855, x:226}, {id:1, y:855, x:506}, {id:3, y:855, x:366}, {id:3, y:855, x:226}, {id:8, y:948, x:92}, {id:8, y:965, x:539, ska:70}, {id:1, y:975, x:249}, {id:1, y:1003, x:337}, {id:8, y:1007, x:453, ska:90}, {id:8, y:1045, x:398, ska:80}, {id:1, y:1129, x:104}, {id:3, y:1129, x:244}, {id:1, y:1129, x:244}, {id:3, y:1129, x:104}, {id:8, y:1176, x:356, ska:70}, {id:8, y:1203, x:529}, {id:8, y:1259, x:385}, {id:1, y:1265, x:244}, {id:3, y:1265, x:104}, {id:3, y:1265, x:244}, {id:1, y:1265, x:104}, {id:1, y:1359, x:449}, {id:1, y:1377, x:128}, {id:8, y:1390, x:66}, {id:8, y:1476, x:139, ska:80}, {id:8, y:1495, x:493}, {id:1, y:1497, x:230}, {id:1, y:1505, x:350}, {id:8, y:1508, x:66, ska:80}, {id:1, y:1559, x:312}, {id:8, y:1611, x:424, ska:90}, {id:8, y:1677, x:68, ska:90}, {id:6, y:1718, x:22}, {id:1, y:1725, x:298}, {id:1, y:1728, x:141}, {id:1, y:1735, x:454}, {id:8, y:1765, x:34, ska:90}, {id:1, y:1775, x:396}, {id:1, y:1796, x:323}, {id:1, y:1814, x:195}, {id:1, y:1822, x:451}, {id:1, y:1853, x:238}, {id:1, y:1867, x:112}, {id:1, y:1872, x:379}, {id:1, y:1900, x:177}, {id:1, y:1903, x:538}, {id:1, y:1920, x:287}, {id:1, y:1943, x:42}, {id:1, y:1953, x:166}, {id:2, y:1979, x:478}, {id:2, y:1999, x:102}, {id:1, y:2000, x:283}, {id:1, y:2011, x:440}, {id:1, y:2045, x:224}, {id:1, y:2093, x:73}, {id:1, y:2109, x:354}, {id:2, y:2117, x:491}, {id:1, y:2127, x:174}, {id:2, y:2151, x:112}, {id:1, y:2163, x:479}, {id:1, y:2166, x:217}, {id:1, y:2185, x:358}, {id:1, y:2217, x:262}, {id:1, y:2245, x:48}, {id:1, y:2249, x:327}, {id:2, y:2254, x:472}, {id:2, y:2276, x:123}, {id:1, y:2277, x:224}, {id:1, y:2305, x:504}, {id:1, y:2309, x:268}, {id:8, y:2320, x:428}, {id:8, y:2347, x:355, ska:70}, {id:1, y:2353, x:134}, {id:8, y:2399, x:275}, {id:1, y:2413, x:50}, {id:8, y:2449, x:534}, {id:1, y:2453, x:146}, {id:8, y:2455, x:343}];
pos8 = [{id:8, y:34, x:556, ska:80}, {id:8, y:41, x:63}, {id:8, y:66, x:149, ska:80}, {id:8, y:72, x:426, ska:90}, {id:8, y:86, x:495, ska:80}, {id:1, y:145, x:348}, {id:8, y:149, x:135, ska:80}, {id:8, y:159, x:233}, {id:8, y:167, x:561, ska:90}, {id:8, y:174, x:434, ska:90}, {id:8, y:196, x:90, ska:80}, {id:1, y:244, x:324}, {id:8, y:247, x:501, ska:80}, {id:8, y:254, x:178}, {id:8, y:283, x:393}, {id:1, y:299, x:263}, {id:8, y:337, x:44}, {id:8, y:343, x:219}, {id:10, y:400, x:491}, {id:10, y:400, x:124}, {id:8, y:451, x:429, ska:80}, {id:8, y:453, x:193}, {id:8, y:495, x:95}, {id:8, y:497, x:543}, {id:1, y:509, x:262}, {id:8, y:529, x:383}, {id:8, y:532, x:155, ska:80}, {id:1, y:563, x:310}, {id:8, y:572, x:473, ska:90}, {id:8, y:589, x:219}, {id:8, y:601, x:393, ska:70}, {id:8, y:615, x:541}, {id:10, y:646, x:485}, {id:10, y:646, x:168}, {id:8, y:651, x:101}, {id:8, y:699, x:453}, {id:8, y:701, x:169}, {id:4, y:898, x:300}, {id:4, y:1036, x:434}, {id:4, y:1036, x:160}, {id:4, y:1188, x:300}, {id:4, y:1188, x:518}, {id:4, y:1188, x:70}, {id:4, y:1372, x:118}, {id:4, y:1372, x:476}, {id:8, y:1634, x:394, ska:80}, {id:1, y:1678, x:503}, {id:8, y:1686, x:284, ska:80}, {id:8, y:1704, x:358}, {id:1, y:1749, x:450}, {id:8, y:1752, x:558, ska:90}, {id:8, y:1767, x:312, ska:90}, {id:8, y:1821, x:254, ska:90}, {id:1, y:1839, x:60}, {id:3, y:1839, x:60}, {id:8, y:1843, x:327, ska:70}, {id:1, y:1865, x:480}, {id:1, y:1872, x:379}, {id:8, y:1895, x:296}, {id:3, y:1921, x:144}, {id:1, y:1921, x:144}, {id:1, y:1934, x:451}, {id:8, y:1961, x:349}, {id:1, y:1987, x:542}, {id:1, y:2011, x:440}, {id:8, y:2012, x:71, ska:70}, {id:8, y:2027, x:385}, {id:3, y:2027, x:194}, {id:1, y:2027, x:194}, {id:8, y:2064, x:314, ska:80}, {id:1, y:2085, x:520}, {id:8, y:2103, x:384}, {id:8, y:2117, x:262, ska:90}, {id:1, y:2127, x:122}, {id:3, y:2127, x:122}, {id:8, y:2162, x:328}, {id:1, y:2163, x:463}, {id:1, y:2217, x:56}, {id:3, y:2217, x:56}, {id:8, y:2217, x:361, ska:70}, {id:3, y:2218, x:170}, {id:1, y:2218, x:170}, {id:1, y:2230, x:539}, {id:8, y:2235, x:287}, {id:8, y:2286, x:365}, {id:1, y:2305, x:504}, {id:7, y:2306, x:308}, {id:3, y:2319, x:115}, {id:1, y:2319, x:115}, {id:8, y:2330, x:257}, {id:1, y:2345, x:324}, {id:8, y:2404, x:525}, {id:1, y:2425, x:88}, {id:3, y:2425, x:88}, {id:8, y:2429, x:246, ska:80}];
pos9 = [{id:1, y:44, x:97}, {id:8, y:63, x:264}, {id:1, y:79, x:185}, {id:1, y:109, x:469}, {id:8, y:133, x:306, ska:80}, {id:8, y:172, x:71, ska:80}, {id:2, y:239, x:242}, {id:8, y:240, x:525, ska:80}, {id:1, y:253, x:198}, {id:8, y:255, x:136, ska:90}, {id:1, y:275, x:342}, {id:8, y:281, x:424}, {id:8, y:297, x:57}, {id:2, y:347, x:166}, {id:8, y:368, x:457}, {id:1, y:399, x:254}, {id:8, y:413, x:394}, {id:8, y:445, x:93, ska:80}, {id:1, y:459, x:471}, {id:8, y:469, x:176}, {id:1, y:529, x:299}, {id:8, y:537, x:216, ska:70}, {id:2, y:573, x:436}, {id:8, y:600, x:137, ska:90}, {id:1, y:615, x:59}, {id:8, y:620, x:492, ska:80}, {id:4, y:636, x:291}, {id:8, y:646, x:411, ska:80}, {id:1, y:669, x:101}, {id:1, y:678, x:557}, {id:1, y:681, x:169}, {id:1, y:695, x:39}, {id:1, y:718, x:480}, {id:1, y:729, x:101}, {id:1, y:732, x:410}, {id:1, y:737, x:195}, {id:1, y:748, x:538}, {id:1, y:761, x:265}, {id:1, y:781, x:147}, {id:1, y:791, x:323}, {id:2, y:800, x:80}, {id:1, y:812, x:401}, {id:1, y:815, x:227}, {id:1, y:817, x:459}, {id:8, y:851, x:176, ska:90}, {id:1, y:873, x:353}, {id:1, y:887, x:419}, {id:8, y:887, x:270, ska:80}, {id:2, y:895, x:486}, {id:8, y:927, x:78, ska:70}, {id:8, y:957, x:340, ska:80}, {id:1, y:959, x:209}, {id:8, y:979, x:530}, {id:8, y:981, x:136}, {id:8, y:1046, x:100, ska:80}, {id:1, y:1057, x:416}, {id:8, y:1070, x:183}, {id:1, y:1075, x:277}, {id:2, y:1135, x:311}, {id:8, y:1136, x:468}, {id:8, y:1196, x:536, ska:80}, {id:8, y:1201, x:144, ska:90}, {id:1, y:1216, x:66}, {id:4, y:1232, x:285}, {id:8, y:1243, x:432}];
pos10 = [{id:1, y:44, x:102}, {id:8, y:67, x:410}, {id:1, y:79, x:190}, {id:1, y:109, x:498}, {id:8, y:111, x:53}, {id:1, y:153, x:398}, {id:8, y:160, x:244}, {id:8, y:217, x:137, ska:80}, {id:8, y:231, x:197, ska:80}, {id:8, y:235, x:537, ska:80}, {id:4, y:274, x:353}, {id:1, y:281, x:258}, {id:8, y:299, x:133, ska:90}, {id:1, y:329, x:216}, {id:8, y:389, x:90}, {id:1, y:391, x:258}, {id:8, y:395, x:357, ska:70}, {id:4, y:396, x:507}, {id:1, y:475, x:476}, {id:1, y:505, x:438}, {id:8, y:511, x:195}, {id:8, y:533, x:42}, {id:4, y:536, x:333}, {id:8, y:549, x:465, ska:70}, {id:8, y:569, x:541, ska:80}, {id:1, y:573, x:412}, {id:1, y:591, x:64}, {id:8, y:608, x:485, ska:80}, {id:8, y:611, x:160}, {id:1, y:615, x:274}, {id:1, y:653, x:240}, {id:8, y:685, x:205, ska:80}, {id:1, y:689, x:440}, {id:8, y:698, x:533}, {id:8, y:699, x:83, ska:70}, {id:1, y:719, x:398}, {id:2, y:731, x:257}, {id:1, y:783, x:214}, {id:8, y:789, x:319}, {id:2, y:806, x:461}, {id:8, y:823, x:111, ska:90}, {id:8, y:879, x:175, ska:90}, {id:1, y:903, x:282}, {id:1, y:905, x:86}, {id:8, y:965, x:455, ska:80}, {id:1, y:1013, x:336}, {id:8, y:1031, x:61}, {id:1, y:1049, x:234}, {id:2, y:1087, x:161}, {id:1, y:1105, x:422}, {id:8, y:1155, x:269, ska:80}, {id:2, y:1160, x:522}, {id:4, y:1266, x:87}, {id:4, y:1266, x:300}, {id:4, y:1266, x:513}, {id:4, y:1266, x:407}, {id:4, y:1266, x:194}, {id:8, y:1353, x:440}, {id:8, y:1353, x:121}, {id:8, y:1384, x:529, ska:80}, {id:10, y:1412, x:480}, {id:10, y:1412, x:112}, {id:8, y:1433, x:43}, {id:8, y:1459, x:558, ska:80}, {id:8, y:1460, x:173}, {id:8, y:1460, x:429, ska:90}, {id:10, y:1512, x:488}, {id:10, y:1512, x:120}, {id:8, y:1551, x:39}, {id:8, y:1562, x:147, ska:80}, {id:8, y:1607, x:530}, {id:10, y:1616, x:468}, {id:10, y:1616, x:136}, {id:8, y:1663, x:173}, {id:8, y:1664, x:438, ska:80}, {id:8, y:1687, x:55}, {id:8, y:1692, x:566, ska:70}, {id:10, y:1716, x:492}, {id:10, y:1716, x:124}, {id:8, y:1760, x:150, ska:80}, {id:8, y:1835, x:216}, {id:8, y:1836, x:67}, {id:4, y:1858, x:489}, {id:8, y:1885, x:332}, {id:8, y:1897, x:148}, {id:8, y:1938, x:261, ska:80}, {id:8, y:1984, x:338}, {id:8, y:2001, x:77}, {id:8, y:2033, x:182}, {id:8, y:2091, x:298}, {id:11, y:2100, x:409}, {id:11, y:2101, x:460}, {id:11, y:2102, x:510}, {id:11, y:2103, x:561}, {id:8, y:2148, x:210, ska:80}, {id:1, y:2156, x:460}, {id:1, y:2178, x:341}, {id:8, y:2181, x:109}, {id:1, y:2182, x:549}, {id:1, y:2208, x:392}, {id:1, y:2208, x:303}, {id:1, y:2220, x:495}, {id:8, y:2250, x:236}, {id:1, y:2254, x:535}, {id:1, y:2276, x:366}, {id:1, y:2290, x:453}, {id:2, y:2308, x:570}, {id:8, y:2339, x:315, ska:80}];
pos11 = [{id:1, y:44, x:490}, {id:8, y:63, x:283}, {id:1, y:69, x:138}, {id:1, y:79, x:402}, {id:1, y:105, x:162}, {id:1, y:129, x:212}, {id:8, y:133, x:335, ska:80}, {id:1, y:135, x:70}, {id:1, y:169, x:39}, {id:8, y:172, x:535, ska:80}, {id:1, y:185, x:186}, {id:1, y:189, x:116}, {id:1, y:201, x:284}, {id:8, y:225, x:485, ska:90}, {id:8, y:240, x:63, ska:80}, {id:1, y:253, x:389}, {id:1, y:275, x:245}, {id:8, y:281, x:164}, {id:8, y:301, x:511, ska:80}, {id:8, y:318, x:103, ska:80}, {id:4, y:356, x:364}, {id:4, y:356, x:258}, {id:8, y:361, x:475, ska:80}, {id:8, y:366, x:558, ska:90}, {id:8, y:368, x:130}, {id:1, y:399, x:333}, {id:2, y:407, x:421}, {id:8, y:445, x:494, ska:80}, {id:1, y:453, x:116}, {id:8, y:469, x:411}, {id:4, y:492, x:267}, {id:4, y:492, x:54}, {id:4, y:492, x:161}, {id:1, y:529, x:288}, {id:8, y:537, x:371, ska:70}, {id:2, y:557, x:94}, {id:8, y:600, x:451, ska:90}, {id:8, y:614, x:50, ska:90}, {id:1, y:621, x:368}, {id:1, y:627, x:294}, {id:8, y:646, x:177, ska:80}, {id:8, y:673, x:124, ska:80}, {id:1, y:681, x:418}, {id:1, y:687, x:276}, {id:1, y:699, x:332}, {id:1, y:721, x:246}, {id:8, y:733, x:88, ska:80}, {id:1, y:737, x:392}, {id:1, y:761, x:322}, {id:1, y:781, x:440}, {id:1, y:791, x:264}, {id:2, y:800, x:507}, {id:1, y:815, x:360}, {id:1, y:817, x:152}, {id:8, y:851, x:411, ska:90}, {id:8, y:887, x:317, ska:80}, {id:2, y:895, x:111}, {id:1, y:921, x:182}, {id:1, y:941, x:359}, {id:2, y:957, x:69}, {id:1, y:985, x:391}, {id:8, y:1008, x:510, ska:90}, {id:1, y:1025, x:156}, {id:2, y:1025, x:351}, {id:8, y:1044, x:416, ska:80}, {id:8, y:1078, x:477, ska:70}, {id:8, y:1103, x:237}, {id:8, y:1110, x:76, ska:80}, {id:1, y:1143, x:339}, {id:8, y:1168, x:203, ska:80}, {id:1, y:1191, x:101}, {id:2, y:1209, x:385}, {id:8, y:1215, x:511, ska:70}, {id:1, y:1247, x:380}, {id:8, y:1267, x:59}, {id:8, y:1269, x:453}, {id:1, y:1295, x:252}, {id:7, y:1321, x:477}, {id:8, y:1329, x:533, ska:80}, {id:1, y:1345, x:173}, {id:8, y:1347, x:437, ska:80}, {id:1, y:1363, x:312}, {id:8, y:1374, x:94}, {id:8, y:1394, x:552, ska:90}, {id:1, y:1407, x:213}, {id:8, y:1420, x:481, ska:70}, {id:2, y:1423, x:279}, {id:8, y:1457, x:98, ska:90}, {id:8, y:1482, x:431}, {id:1, y:1523, x:508}, {id:8, y:1528, x:103, ska:70}, {id:11, y:1551, x:184}, {id:11, y:1552, x:355}, {id:11, y:1552, x:227}, {id:11, y:1553, x:270}, {id:11, y:1554, x:312}, {id:1, y:1573, x:445}, {id:8, y:1590, x:522, ska:70}, {id:8, y:1599, x:56}, {id:11, y:1627, x:162}, {id:11, y:1628, x:333}, {id:11, y:1628, x:205}, {id:11, y:1629, x:382}, {id:11, y:1629, x:248}, {id:11, y:1630, x:290}, {id:1, y:1687, x:107}, {id:8, y:1694, x:559, ska:80}, {id:8, y:1715, x:274}, {id:1, y:1757, x:513}, {id:2, y:1769, x:393}, {id:8, y:1781, x:182}, {id:8, y:1782, x:262, ska:70}, {id:1, y:1843, x:361}, {id:8, y:1863, x:505, ska:70}, {id:1, y:1869, x:261}, {id:2, y:1885, x:421}, {id:8, y:1911, x:39}, {id:2, y:1912, x:155}, {id:8, y:1937, x:365, ska:80}, {id:8, y:1961, x:450}, {id:1, y:1995, x:215}, {id:8, y:2020, x:79, ska:70}, {id:8, y:2040, x:137}, {id:4, y:2074, x:249}, {id:4, y:2074, x:462}, {id:8, y:2087, x:64, ska:90}, {id:4, y:2122, x:355}, {id:1, y:2167, x:163}, {id:8, y:2172, x:495, ska:90}, {id:2, y:2190, x:126}, {id:1, y:2207, x:220}, {id:8, y:2224, x:425}, {id:1, y:2227, x:339}, {id:1, y:2229, x:274}, {id:2, y:2252, x:189}, {id:8, y:2257, x:127, ska:80}, {id:1, y:2275, x:289}, {id:1, y:2301, x:224}, {id:1, y:2311, x:377}, {id:8, y:2322, x:469, ska:80}, {id:1, y:2325, x:113}, {id:8, y:2351, x:41}, {id:1, y:2367, x:279}, {id:8, y:2381, x:418}, {id:1, y:2407, x:497}, {id:1, y:2445, x:201}];
pos12 = [{id:8, y:34, x:556, ska:80}, {id:8, y:41, x:63}, {id:8, y:86, x:497, ska:80}, {id:8, y:102, x:173, ska:80}, {id:8, y:117, x:101, ska:80}, {id:8, y:146, x:461, ska:80}, {id:8, y:151, x:543, ska:90}, {id:8, y:151, x:233}, {id:10, y:198, x:117}, {id:10, y:198, x:484}, {id:8, y:220, x:48}, {id:8, y:245, x:563, ska:80}, {id:8, y:246, x:434, ska:90}, {id:8, y:246, x:178}, {id:10, y:298, x:492}, {id:10, y:298, x:125}, {id:8, y:337, x:44}, {id:8, y:344, x:219}, {id:8, y:344, x:441}, {id:8, y:358, x:128, ska:80}, {id:8, y:393, x:534}, {id:10, y:402, x:141}, {id:10, y:402, x:472}, {id:8, y:447, x:193}, {id:8, y:448, x:407, ska:80}, {id:8, y:473, x:59}, {id:8, y:478, x:571, ska:70}, {id:10, y:502, x:496}, {id:10, y:502, x:129}, {id:8, y:546, x:155, ska:80}, {id:8, y:551, x:389}, {id:8, y:594, x:51, ska:90}, {id:10, y:606, x:532}, {id:10, y:606, x:165}, {id:8, y:652, x:209, ska:72}, {id:8, y:656, x:451, ska:70}, {id:8, y:675, x:101}, {id:10, y:698, x:172}, {id:10, y:700, x:491}, {id:8, y:705, x:547}, {id:8, y:751, x:177}, {id:8, y:759, x:421}, {id:8, y:841, x:492, ska:90}, {id:8, y:884, x:420, ska:80}, {id:4, y:896, x:84}, {id:4, y:896, x:198}, {id:8, y:961, x:384}, {id:8, y:970, x:310, ska:80}, {id:1, y:988, x:493}, {id:4, y:1036, x:84}, {id:4, y:1036, x:198}, {id:8, y:1052, x:338, ska:90}, {id:8, y:1079, x:497, ska:80}, {id:8, y:1106, x:280, ska:90}, {id:8, y:1127, x:353, ska:70}, {id:1, y:1136, x:419}, {id:8, y:1152, x:215}, {id:1, y:1153, x:507}, {id:1, y:1190, x:447}, {id:1, y:1191, x:322}, {id:1, y:1191, x:563}, {id:6, y:1194, x:255}, {id:1, y:1227, x:501}, {id:8, y:1237, x:410}, {id:4, y:1240, x:102}, {id:8, y:1251, x:253}, {id:1, y:1257, x:334}, {id:1, y:1263, x:565}, {id:1, y:1301, x:455}, {id:1, y:1317, x:298}, {id:1, y:1323, x:522}, {id:1, y:1339, x:358}, {id:8, y:1349, x:182}, {id:1, y:1359, x:473}, {id:8, y:1401, x:250, ska:90}, {id:1, y:1404, x:421}, {id:1, y:1410, x:531}, {id:1, y:1411, x:345}, {id:1, y:1467, x:470}, {id:1, y:1507, x:549}, {id:8, y:1546, x:332}, {id:11, y:1576, x:22}, {id:11, y:1577, x:65}, {id:11, y:1578, x:107}, {id:11, y:1579, x:150}, {id:8, y:1588, x:208, ska:90}, {id:8, y:1634, x:276, ska:90}, {id:11, y:1661, x:24}, {id:11, y:1662, x:67}, {id:11, y:1663, x:109}, {id:11, y:1664, x:152}, {id:8, y:1692, x:218, ska:90}, {id:8, y:1713, x:291, ska:70}, {id:11, y:1746, x:25}, {id:11, y:1747, x:68}, {id:11, y:1748, x:110}, {id:11, y:1749, x:153}, {id:8, y:1801, x:369}, {id:8, y:1853, x:299, ska:70}, {id:8, y:1922, x:303}, {id:8, y:1966, x:195}, {id:1, y:1981, x:262}, {id:8, y:2036, x:245, ska:70}, {id:8, y:2040, x:463}, {id:8, y:2065, x:184, ska:80}];
pos13 = [{id:8, y:55, x:289}, {id:4, y:102, x:83}, {id:4, y:102, x:185}, {id:8, y:143, x:327, ska:80}, {id:8, y:157, x:399}, {id:8, y:222, x:321}, {id:4, y:234, x:193}, {id:4, y:234, x:87}, {id:8, y:260, x:404}, {id:8, y:342, x:435}, {id:4, y:352, x:197}, {id:4, y:354, x:87}, {id:8, y:397, x:369, ska:90}, {id:11, y:401, x:493}, {id:11, y:402, x:535}, {id:11, y:403, x:578}, {id:8, y:461, x:419}, {id:4, y:478, x:83}, {id:4, y:480, x:187}, {id:11, y:486, x:495}, {id:11, y:487, x:537}, {id:11, y:488, x:580}, {id:8, y:523, x:307}, {id:8, y:532, x:441, ska:80}, {id:8, y:550, x:381, ska:80}, {id:11, y:604, x:49}, {id:11, y:605, x:95}, {id:11, y:606, x:142}, {id:11, y:607, x:189}, {id:8, y:608, x:277, ska:90}, {id:2, y:641, x:537}, {id:1, y:670, x:124}, {id:1, y:671, x:224}, {id:8, y:673, x:392, ska:80}, {id:8, y:689, x:327}, {id:1, y:706, x:64}, {id:1, y:708, x:180}, {id:1, y:743, x:232}, {id:1, y:744, x:118}, {id:8, y:765, x:373}, {id:1, y:780, x:182}, {id:2, y:789, x:257}, {id:1, y:816, x:139}, {id:1, y:817, x:72}, {id:1, y:825, x:217}, {id:1, y:826, x:549}, {id:8, y:830, x:315, ska:80}, {id:1, y:860, x:419}, {id:8, y:874, x:261, ska:72}, {id:1, y:877, x:507}, {id:2, y:881, x:35}, {id:1, y:890, x:185}, {id:1, y:892, x:118}, {id:8, y:912, x:318, ska:80}, {id:1, y:914, x:447}, {id:1, y:915, x:563}, {id:1, y:951, x:501}, {id:1, y:952, x:125}, {id:1, y:954, x:58}, {id:8, y:975, x:375}, {id:1, y:987, x:565}, {id:11, y:1016, x:46}, {id:11, y:1017, x:92}, {id:11, y:1018, x:139}, {id:11, y:1019, x:186}, {id:1, y:1025, x:455}, {id:1, y:1047, x:522}, {id:8, y:1079, x:303, ska:80}, {id:1, y:1083, x:473}, {id:11, y:1101, x:48}, {id:11, y:1102, x:94}, {id:11, y:1103, x:141}, {id:11, y:1104, x:188}, {id:1, y:1128, x:421}, {id:1, y:1134, x:497}, {id:8, y:1139, x:265, ska:80}, {id:8, y:1161, x:334}, {id:1, y:1177, x:549}, {id:1, y:1191, x:470}, {id:4, y:1296, x:74}, {id:4, y:1296, x:500}, {id:4, y:1296, x:181}, {id:4, y:1296, x:394}, {id:4, y:1296, x:287}, {id:4, y:1396, x:450}, {id:4, y:1396, x:343}, {id:4, y:1396, x:130}, {id:4, y:1396, x:237}, {id:2, y:1451, x:553}, {id:2, y:1469, x:253}, {id:2, y:1469, x:51}, {id:8, y:1510, x:419}, {id:8, y:1546, x:332}, {id:2, y:1547, x:105}, {id:8, y:1559, x:512}, {id:8, y:1588, x:208, ska:90}, {id:8, y:1613, x:385, ska:80}, {id:8, y:1634, x:276, ska:90}, {id:8, y:1644, x:549, ska:70}, {id:8, y:1697, x:369}, {id:1, y:1700, x:127}, {id:8, y:1713, x:291, ska:70}, {id:1, y:1738, x:183}, {id:8, y:1746, x:468, ska:90}, {id:1, y:1774, x:121}, {id:8, y:1801, x:555, ska:70}, {id:1, y:1810, x:185}, {id:4, y:1820, x:363}, {id:8, y:1821, x:67}, {id:1, y:1870, x:142}, {id:1, y:1906, x:93}, {id:4, y:1908, x:517}, {id:8, y:1922, x:303}, {id:8, y:1925, x:399}, {id:8, y:1966, x:195}, {id:1, y:1981, x:262}, {id:8, y:1992, x:341, ska:70}, {id:8, y:2012, x:49, ska:80}, {id:8, y:2018, x:447}, {id:1, y:2030, x:117}, {id:8, y:2036, x:245, ska:70}, {id:8, y:2065, x:184, ska:80}, {id:8, y:2081, x:306}, {id:1, y:2106, x:114}, {id:4, y:2130, x:523}, {id:8, y:2146, x:381}, {id:8, y:2158, x:61, ska:80}, {id:4, y:2184, x:173}, {id:1, y:2218, x:68}, {id:1, y:2252, x:382}, {id:8, y:2275, x:298, ska:90}, {id:4, y:2286, x:487}, {id:2, y:2286, x:53}, {id:8, y:2305, x:219, ska:80}, {id:7, y:2320, x:268}, {id:8, y:2344, x:303, ska:70}, {id:2, y:2349, x:547}];
pos1x = [{id:1, y:44, x:102}, {id:1, y:79, x:190}, {id:1, y:109, x:474}, {id:1, y:153, x:398}, {id:8, y:160, x:244}, {id:8, y:235, x:537, ska:80}, {id:1, y:281, x:258}, {id:2, y:299, x:447}, {id:8, y:299, x:133, ska:90}, {id:1, y:329, x:216}, {id:8, y:383, x:357, ska:70}, {id:1, y:391, x:258}, {id:1, y:435, x:476}, {id:1, y:465, x:438}, {id:2, y:485, x:104}, {id:8, y:511, x:195}, {id:8, y:569, x:541, ska:80}, {id:1, y:573, x:412}, {id:1, y:591, x:64}, {id:1, y:615, x:274}, {id:1, y:653, x:240}, {id:1, y:689, x:440}, {id:8, y:699, x:83, ska:70}, {id:1, y:719, x:398}, {id:1, y:783, x:214}, {id:8, y:789, x:319}, {id:2, y:806, x:461}, {id:8, y:879, x:175, ska:90}, {id:1, y:903, x:282}, {id:1, y:905, x:86}, {id:8, y:965, x:455, ska:80}, {id:1, y:1013, x:336}, {id:8, y:1031, x:61}, {id:1, y:1049, x:234}, {id:2, y:1087, x:161}, {id:1, y:1105, x:422}, {id:8, y:1155, x:269, ska:80}];
pos21 = [{id:8, y:183, x:285, ska:80}, {id:8, y:355, x:427}, {id:8, y:493, x:177, ska:70}, {id:8, y:541, x:238, ska:90}, {id:8, y:635, x:486, ska:70}];
pos22 = [{id:8, y:183, x:419, ska:80}, {id:8, y:253, x:161}, {id:8, y:347, x:553, ska:70}, {id:8, y:423, x:403, ska:80}, {id:8, y:473, x:338, ska:90}];
pos0 = [{id:8, y:203, x:484, ska:90}, {id:8, y:419, x:69, ska:70}, {id:8, y:552, x:154, ska:90}];
Frame 20
call("pro");
stopAllSounds();
fadescreen(8);
r.createEmptyMovieClip("sfx2", 60002);
r.zloop = new sound(sfx2);
r.zloop.attachsound("zloop");
r.zloop.setVolume(70);
r.zloop.start(0, 99999);
stop();
Frame 26
fadescreen(8);
stop();
Frame 27
fadescreen(8);
stop();
Frame 32
var fakeVar = new Date().getTime();
("http://www.cartoonnetwork.com/games/knd/grounded/tracker.swf?" + fakeVar);// not popped
_global.m = this.map;
_global.m2 = this.map2;
_global.p = m.player;
_global.bg = m.bg;
p.swapDepths(299999);
delete onEnterFrame;
stopAllSounds();
call("pro");
call("pos");
fadescreen(8);
if (!r.level) {
r.level = 1;
ang = 0;
}
levelmax = 4;
gotscore = [0, 100, 300, 500, 800, 1200, 1500, 1800, 2100, 2400, 2700, 3000, 3300, 3600, 3900, 4200, 4500, 4800, 5100, 5400, 5700, 6000, 6300, 6600, 6900, 7200, 7500, 7800, 8200, 8600, 9000, 9400, 9800, 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000];
bgspeeds = [0, 3.5, 3.7, 4, 4.2];
bgspeed = (bgspeedmax = bgspeeds[r.level]);
hei = 400;
wid = 600;
ynow = 0;
ynow2 = (ynow + hei) + 100;
pos = [];
levelitemcount = [];
itemcount = 0;
getleveldata(r.level);
xmin = 50;
xmax = 550;
circlespeed = 5;
godmode = 0;
pwid = 20;
phei = 32;
win = 0;
lose = 0;
energy = (energymax = 100);
energyless = 5;
hit = 0;
inv = 0;
invhitdelay = 30;
friksi = 0;
pressed = 0;
nopress = 0;
bossout = 0;
rocktypenow = r.level;
ed = 340000 /* 0x053020 */;
kd = 300000 /* 0x0493E0 */;
ud = 280000 /* 0x0445C0 */;
pd = 400000 /* 0x061A80 */;
popd = 500000 /* 0x07A120 */;
all = [];
hole = [];
rocks = [];
rocktype = [1, 2, 3, 4];
rockradius = 40;
turniptype = [1, 2, 3, 4, 5, 6];
resetrandom();
m2.attachMovie("levelsign", "levelsign", 100, {_x:300, _y:315});
r.createEmptyMovieClip("sfx", 60001);
allsfx = ["zsplat", "zbossexp", "zexplode", "zbomb", "zlevelsign", "zcrash", "zhit", "zbonus", "zblast"];
var i = 0;
while (i < allsfx.length) {
r[allsfx[i]] = new sound(sfx);
r[allsfx[i]].attachsound(allsfx[i]);
i++;
}
r.zloop.setVolume(100);
r.zloop.start(0, 99999);
r.createEmptyMovieClip("sfx3", 60003);
r.zdrill = new sound(sfx3);
r.zdrill.attachsound("zdrill");
r.zdrill.start(0, 99999);
r.zdrill.setVolume(0);
r.zdrill.fade("in", 1);
r.createEmptyMovieClip("sfx4", 60004);
r.zdrillrock = new sound(sfx4);
r.zdrillrock.attachsound("zdrillrock");
r.zdrillrock.start(0, 999999);
r.zdrillrock.setVolume(0);
bgynext = -r.hei;
bgdep = 10;
r.allbg = [];
bgypos = 400;
bgpicnow = r.level;
bg.attachMovie("bgall", "bg" + bgdep, bgdep, {_x:0, _y:0, no:r.level});
r.allbg.push(bg["bg" + bgdep]);
bgdep++;
bg.attachMovie("bgall", "bg" + bgdep, bgdep, {_x:0, _y:400, no:r.level});
r.allbg.push(bg["bg" + bgdep]);
bgdep++;
onEnterFrame = function () {
r.ynow = r.ynow - r.bgspeed;
r.ynow2 = r.ynow2 + r.bgspeed;
if (r.ynow <= bgynext) {
bgynext = bgynext - r.hei;
bgypos = bgypos + r.hei;
if (bgpicnow != r.level) {
bg.attachMovie("bgall", "bg" + bgdep, bgdep, {_x:0, _y:bgypos, no:r.level + 9});
bgpicnow = r.level;
} else {
bg.attachMovie("bgall", "bg" + bgdep, bgdep, {_x:0, _y:bgypos, no:r.level});
}
r.allbg.push(bg["bg" + bgdep]);
bgdep++;
oldbg = r.allbg.shift();
oldbg.removeMovieClip();
}
m._y = r.ynow;
if (r.pos[0].y < r.ynow2) {
it = pos.shift();
if (it.id == 1) {
m.attachmovie("turnip", "e" + r.ed, r.ed, {_x:it.x, _y:it.y, tipe:getrandom("turniptype")});
r.ed++;
} else if (it.id == 2) {
m.attachmovie("turniprun", "e" + r.ed, r.ed, {_x:it.x, _y:it.y});
r.ed++;
} else if (it.id == 3) {
m.attachmovie("turnipcirc", "e" + r.ed, r.ed, {_x:it.x, _y:it.y});
r.ed++;
} else if (it.id == 4) {
var bombtime = (30 + random(30));
m.attachmovie("turnipbomb", "e" + r.ed, r.ed, {_x:it.x, _y:it.y, d:bombtime, _rotation:0});
r.ed++;
m.attachmovie("turnipbomb", "e" + r.ed, r.ed, {_x:it.x, _y:it.y, d:bombtime, _rotation:90});
r.ed++;
m.attachmovie("turnipbomb", "e" + r.ed, r.ed, {_x:it.x, _y:it.y, d:bombtime, _rotation:180});
r.ed++;
m.attachmovie("turnipbomb", "e" + r.ed, r.ed, {_x:it.x, _y:it.y, d:bombtime, _rotation:270});
r.ed++;
} else if (it.id == 6) {
m.attachmovie("bonus1", "e" + r.ed, r.ed, {_x:it.x, _y:it.y});
r.ed++;
} else if (it.id == 7) {
m.attachmovie("bonus2", "e" + r.ed, r.ed, {_x:it.x, _y:it.y});
r.ed++;
} else if (it.id == 8) {
if (!it.ska) {
it.ska = 100;
}
m.attachmovie("rock", "e" + r.kd, r.kd, {_x:it.x, _y:it.y, _xscale:it.ska, _yscale:it.ska});
r.kd++;
} else if (it.id == 10) {
m.attachmovie("turniph", "e" + r.ed, r.ed, {_x:it.x, _y:it.y});
r.ed++;
} else if (it.id == 11) {
m.attachmovie("turnipv", "e" + r.ed, r.ed, {_x:it.x, _y:it.y});
r.ed++;
}
r.itemcount++;
if (r.itemcount >= r.levelitemcount[r.level]) {
if (r.level < r.levelmax) {
r.level++;
r.bgspeedmax = bgspeeds[r.level];
m2.attachMovie("levelsign", "levelsign", 100, {_x:300, _y:315});
} else if (!r.bossout) {
r.bossout = 1;
m.attachmovie("boss", "e" + r.ed, r.ed, {_x:300, _y:(-r.ynow) + 1000});
r.ed++;
}
}
}
if (r.inv > 0) {
r.inv--;
}
if (r.bgspeed < r.bgspeedmax) {
r.bgspeed = Math.min(r.bgspeedmax, r.bgspeed + 0.002);
}
if (r.friksi > 0) {
r.friksi--;
if (!r.friksi) {
r.zdrillrock.setVolume(0);
}
}
if (r.shake > 0) {
if (m._x > 0) {
m._x = -r.shake;
} else {
m._x = r.shake;
}
r.shake = r.shake - 0.5;
}
};
stop();
Instance of Symbol 336 MovieClip in Frame 32
onClipEvent (load) {
letterkeys = ["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z"];
numberkeys = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"];
numpadkeys = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "*", "+", "Enter", "-", ".", "/"];
functionkeys = ["F1", "F2", "F3", "F4", "F5", "F6", "F7", "F8", "F9", "F10", "F11", "F12"];
otherkeys = ["Space", "Page Up", "Page Down", "End", "Home", "Left", "Up", "Right", "Down"];
keypressed = "";
}
onClipEvent (keyDown) {
k = Key.getCode();
if ((k >= 65) and (k <= 90)) {
keyp = letterkeys[k - 65];
}
if ((k >= 48) and (k <= 57)) {
keyp = numberkeys[k - 48];
}
if ((k >= 96) and (k <= 111)) {
keyp = numpadkeys[k - 96];
}
if ((k >= 112) and (k <= 123)) {
keyp = functionkeys[k - 112];
}
if ((k >= 32) and (k <= 40)) {
keyp = otherkeys[k - 32];
}
if (k == 8) {
keyp = "BackSpace";
}
if (k == 9) {
keyp = "Tab";
}
if (k == 12) {
keyp = "Clear";
}
if (k == 13) {
keyp = "Enter";
}
if (k == 16) {
keyp = "Shift";
}
if (k == 17) {
keyp = "Control";
}
if (k == 18) {
keyp = "Alt";
}
if (k == 20) {
keyp = "Caps Lock";
}
if (k == 27) {
keyp = "Esc";
}
if (k == 45) {
keyp = "Insert";
}
if (k == 46) {
keyp = "Delete";
}
if (k == 47) {
keyp = "help";
}
if (k == 144) {
keyp = "Num Lock";
}
if (k == 186) {
keyp = ";:";
}
if (k == 187) {
keyp = "=+";
}
if (k == 189) {
keyp = "-_";
}
if (k == 191) {
keyp = "/?";
}
if (k == 192) {
keyp = "'@";
}
if (k == 219) {
keyp = "[{";
}
if (k == 220) {
keyp = "\\|";
}
if (k == 221) {
keyp = "]}";
}
keypressed = keypressed + keyp;
if ((substring(keypressed, keypressed.length - 5, 6)) == "REFILL") {
r.energy = r.energymax;
r.zbonus.start();
keypressed = "";
} else if ((substring(keypressed, keypressed.length - 8, 9)) == "FULLBLAST") {
r.circlespeed = 14;
r.zbonus.start();
keypressed = "";
} else if ((substring(keypressed, keypressed.length - 7, 8)) == "SUPERSPY") {
r.godmode = 1;
r.zbonus.start();
keypressed = "";
}
}
Frame 33
delete onEnterFrame;
fadescreen(8);
r.zdrillrock.stop();
r.zdrill.stop();
stop();
Frame 38
call("end");
Symbol 1 MovieClip [tint] Frame 1
d = r.invhitdelay - 5;
c = new color(_parent);
a = 1;
b = 1;
onenterframe = function () {
d--;
a--;
if (!a) {
a = 2;
b = !b;
if (b) {
c.setTint(16711680, 80);
} else {
c.setTint(16774314, 80);
}
if (br > 50) {
br = br - 5;
}
} else {
c.resetcolor();
}
if (!d) {
c.resetcolor();
this.removeMovieClip();
}
};
Symbol 2 MovieClip [blink] Frame 1
d = r.invhitdelay - 5;
c = new color(_parent);
a = 1;
b = 1;
br = 100;
onenterframe = function () {
d--;
a--;
if (!a) {
a = 2;
b = !b;
if (b) {
c.setBrightness(br);
} else {
c.setTint(16711680, 80);
}
if (br > 50) {
br = br - 5;
}
} else {
c.resetcolor();
}
if (!d) {
c.resetcolor();
this.removeMovieClip();
}
};
Symbol 3 MovieClip [fadeout] Frame 1
vs = 5;
vol = r.zloop.getVolume();
if (vol > 0) {
onenterframe = function () {
vol = vol - vs;
if (vs > 0.5) {
vs = 0.95 * vs;
}
r.zloop.setVolume(vol);
if (vol <= 0) {
r.zloop.stop();
delete onenterframe;
}
};
}
Symbol 5 MovieClip Frame 1
onenterframe = function () {
_xscale = _parent.percent;
};
stop();
Symbol 26 MovieClip Frame 1
stop();
Symbol 33 MovieClip Frame 1
gotoAndStop(1 + random(_totalframes));
Symbol 34 MovieClip [pieces] Frame 1
grav = 1 + (random(3) / 10);
ys = -2 - (random(70) / 10);
xs = 1 + random(5);
ro = 10 + random(20);
ymax = _y + random(100);
a._xscale = (a._yscale = 40 + random(80));
if (_x < p._x) {
xs = -xs;
ro = -ro;
}
onEnterFrame = function () {
ys = ys + grav;
a._x = a._x + xs;
a._rotation = a._rotation + ro;
_y = (_y + ys);
if (_y > ymax) {
this.removeMovieClip();
}
};
stop();
Symbol 41 MovieClip Frame 1
gotoAndStop(_parent.tipe);
Symbol 46 MovieClip [turnip] Frame 1
var t = this;
hitid = 1;
r.all.push(t);
if (!t.tipe) {
t.tipe = 1;
}
_rotation = (50 + random(70));
a._xscale = a._yscale;
closespace = 50;
xmin = _x - closespace;
xmax = _x + closespace;
ymin = _y - closespace;
ymax = _y + closespace;
outpos = r.ynow - 550;
ro = _rotation;
x = _x;
xspace = 1;
delay = 4;
t.onEnterFrame = function () {
if (t.hit) {
r.all.removevalue(t);
delete t.onEnterFrame;
t.gotoAndPlay("hit");
} else if (r.ynow < outpos) {
r.all.removevalue(t);
t.removeMovieClip();
} else if (p._y > ymin) {
if (p._y < ymax) {
if (p._x > xmin) {
if (p._x < xmax) {
if (delay > 0) {
delay--;
xspace = -xspace;
_x = (x + xspace);
_rotation = (ro + (xspace * 10));
} else {
delete onEnterFrame;
gotoAndPlay (2);
}
}
}
}
}
};
stop();
Symbol 46 MovieClip [turnip] Frame 2
dx = p._x - _x;
dy = p._y - _y;
ang = Math.atan2(dy + space, dx);
_rotation = deg(ang);
onEnterFrame = function () {
_x = (p._x + ((_x - p._x) / 2));
_y = (p._y + ((_y - p._y) / 2));
var res = cekboxcoll(_x, _y, wid, hei, p._x, p._y, r.pwid, r.phei);
if (res) {
r.hit = this;
r.all.removevalue(t);
delete onEnterFrame;
gotoAndPlay (18);
}
};
stop();
Symbol 46 MovieClip [turnip] Frame 17
t.removeMovieClip();
stop();
Symbol 46 MovieClip [turnip] Frame 22
t.removeMovieClip();
stop();
Symbol 52 MovieClip Frame 1
if (_parent.c > 1) {
gotoAndStop (2);
} else {
stop();
}
Symbol 54 MovieClip [popscore] Frame 1
b.a = nil;
b.c = hit;
var t = this;
_yscale = 200;
_xscale = 200;
ska = 100;
dx = 0;
dv = 0.9;
dvstep = 0.5;
onenterframe = function () {
dx = (dx * dvstep) + ((ska - _xscale) * dv);
_xscale = (_xscale + dx);
_yscale = _xscale;
_y = Math.max(_y, (-r.ynow) + 40);
};
Symbol 54 MovieClip [popscore] Frame 25
onEnterFrame = function () {
_alpha = (_alpha - 15);
};
Symbol 54 MovieClip [popscore] Frame 32
this.removeMovieClip();
Symbol 57 MovieClip [turniprun] Frame 1
var t = this;
hitid = 1;
tipe = 1;
wid = (hei = 5);
speed = 5;
x = t._x;
xspace = 1;
r.all.push(t);
_rotation = (50 + random(70));
ro = 50 + random(70);
delay = 20 + random(10);
t.onEnterFrame = function () {
xspace = -xspace;
_rotation = (ro + (xspace * 10));
t._x = x + xspace;
xspace = Math.min(xspace + 0.1, 2);
if (t.hit) {
r.all.removevalue(t);
delete t.onEnterFrame;
t.gotoAndPlay("hit");
} else {
delay--;
if (!delay) {
play();
}
}
};
stop();
Symbol 57 MovieClip [turniprun] Frame 2
dx = p._x - _x;
dy = p._y - _y;
if (Math.abs(dx) > 50) {
if (r.level < 3) {
space = random(Math.abs(dx));
} else {
space = Math.abs(dx) + random(Math.min(2 * Math.abs(dx), 150));
}
} else {
space = 0;
}
ang = Math.atan2(dy + space, dx);
xs = speed * Math.cos(ang);
ys = speed * Math.sin(ang);
_rotation = deg(ang);
onEnterFrame = function () {
_y = (_y + ys);
_x = (_x + xs);
if (hit) {
r.all.removevalue(t);
delete onEnterFrame;
gotoAndPlay (3);
} else if ((((_y < ((-r.ynow) - 50)) or (_y > ((-r.ynow) + 450))) or (_x < -50)) or (_x > 650)) {
r.all.removevalue(t);
t.removeMovieClip();
} else {
var res = cekboxcoll(_x, _y, wid, hei, p._x, p._y, r.pwid, r.phei);
if (res) {
r.hit = this;
r.all.removevalue(t);
delete onEnterFrame;
gotoAndPlay (8);
}
}
};
stop();
Symbol 57 MovieClip [turniprun] Frame 7
t.removeMovieClip();
stop();
Symbol 57 MovieClip [turniprun] Frame 12
t.removeMovieClip();
stop();
Symbol 79 MovieClip [bgall] Frame 1
gotoAndStop(no);
Symbol 88 MovieClip Frame 1
stop();
Symbol 105 MovieClip Frame 1
gotoAndStop(((r.rocktypenow - 1) * 10) + _parent.no);
Symbol 106 MovieClip [rock] Frame 1
r.rocks.push(this);
hitid = 3;
no = getrandom("rocktype");
radius = Math.floor((r.rockradius * _xscale) / 100);
outpos = r.ynow - 550;
onEnterFrame = function () {
if (r.ynow < outpos) {
r.rocks.removevalue(this);
this.removeMovieClip();
}
};
stop();
Symbol 109 MovieClip [turnipcirc] Frame 1
var t = this;
hitid = 1;
tipe = 1;
wid = (hei = 7);
x = t._x;
r.all.push(t);
x0 = _x;
y0 = _y;
radius = 35;
a = 0;
ro = 10;
if (random(100) > 50) {
ro = -ro;
b._yscale = -b._yscale;
}
onenterframe = function () {
var a_rad = ((a * Math.PI) / 180);
_x = (x0 + (radius * Math.cos(a_rad)));
_y = (y0 + (radius * Math.sin(a_rad)));
a = a + ro;
a = a % 360;
_rotation = a;
if (t.hit) {
r.all.removevalue(t);
delete t.onEnterFrame;
t.gotoAndPlay("hit");
} else if (t._y < (r.ynow - 100)) {
r.all.removevalue(t);
t.removeMovieClip();
} else {
var res = cekboxcoll(_x, _y, wid, hei, p._x, p._y, r.pwid, r.phei);
if (res) {
r.hit = this;
r.all.removevalue(t);
delete onEnterFrame;
gotoAndPlay (7);
}
}
};
stop();
Symbol 109 MovieClip [turnipcirc] Frame 6
t.removeMovieClip();
stop();
Symbol 109 MovieClip [turnipcirc] Frame 11
t.removeMovieClip();
stop();
Symbol 116 MovieClip Frame 1
stop();
Symbol 116 MovieClip Frame 9
stop();
Symbol 122 MovieClip Frame 1
gotoAndStop(r.level);
Symbol 124 MovieClip [levelsign] Frame 1
_visible = 0;
if (!r.ang) {
pos = r.ynow - 80;
} else {
pos = r.ynow - 500;
}
onEnterFrame = function () {
if (r.ynow < pos) {
delete onEnterFrame;
play();
}
};
stop();
Symbol 124 MovieClip [levelsign] Frame 2
_visible = 1;
Symbol 124 MovieClip [levelsign] Frame 6
x = _x;
y = _y;
xspace = (yspace = 3);
d = 40;
r.zlevelsign.start();
r.replayfrom = r.level;
onEnterFrame = function () {
_x = (x + xspace);
_y = (y + yspace);
xspace = -xspace;
yspace = -yspace;
xspace = xspace * 0.8;
yspace = yspace * 0.8;
d--;
if (d == 30) {
a.a.play();
}
if (!d) {
delete onEnterFrame;
play();
}
};
stop();
Symbol 124 MovieClip [levelsign] Frame 18
r.rocktypenow = r.level;
this.removeMovieClip();
stop();
Symbol 129 MovieClip [turnipbomb] Frame 1
var t = this;
hitid = 1;
tipe = 1;
wid = (hei = 5);
r.all.push(t);
x0 = _x;
y0 = _y;
radius = 30;
a = _rotation;
ro = 10;
onenterframe = function () {
d--;
var a_rad = ((a * Math.PI) / 180);
_x = (x0 + (radius * Math.cos(a_rad)));
_y = (y0 + (radius * Math.sin(a_rad)));
a = a + ro;
a = a % 360;
_rotation = a;
if (!d) {
delete t.onEnterFrame;
gotoAndPlay (2);
} else if (t._y < (r.ynow - 100)) {
r.all.removevalue(t);
t.removeMovieClip();
} else if (t.hit) {
r.all.removevalue(t);
delete onEnterFrame;
gotoAndPlay (3);
}
};
stop();
Symbol 129 MovieClip [turnipbomb] Frame 2
ang = rad(_rotation);
speed = 8;
xs = speed * Math.cos(ang);
ys = speed * Math.sin(ang);
onEnterFrame = function () {
_y = (_y + ys);
_x = (_x + xs);
if (hit) {
r.all.removevalue(t);
delete onEnterFrame;
gotoAndPlay (3);
} else if ((((_y < ((-r.ynow) - 50)) or (_y > ((-r.ynow) + 450))) or (_x < -50)) or (_x > 650)) {
r.all.removevalue(t);
t.removeMovieClip();
} else {
var res = cekboxcoll(_x, _y, wid, hei, p._x, p._y, r.pwid, r.phei);
if (res) {
r.hit = this;
r.all.removevalue(t);
delete onEnterFrame;
gotoAndPlay (8);
}
}
};
stop();
Symbol 129 MovieClip [turnipbomb] Frame 7
t.removeMovieClip();
stop();
Symbol 129 MovieClip [turnipbomb] Frame 12
t.removeMovieClip();
stop();
Symbol 139 MovieClip Frame 6
d = 20 + random(20);
onEnterFrame = function () {
d--;
if (!d) {
delete onEnterFrame;
play();
}
};
stop();
Symbol 141 MovieClip [bonus1] Frame 1
initbonus(1);
stop();
Symbol 141 MovieClip [bonus1] Frame 15
this.removeMovieClip();
stop();
Symbol 146 MovieClip [bonus2] Frame 1
initbonus(2);
stop();
Symbol 146 MovieClip [bonus2] Frame 15
this.removeMovieClip();
stop();
Symbol 149 MovieClip [allred] Frame 6
r.zbomb.start();
Symbol 149 MovieClip [allred] Frame 12
this.removeMovieClip();
Symbol 152 MovieClip [turniph] Frame 1
var t = this;
hitid = 1;
tipe = 1;
wid = (hei = 5);
speed = 5;
x = t._x;
xspace = 1;
r.all.push(t);
startpos = r.ynow - 260;
if (_x > 300) {
_xscale = (-_xscale);
speed = -speed;
}
t.onEnterFrame = function () {
xspace = -xspace;
t._x = x + xspace;
xspace = Math.min(xspace + 0.1, 2);
if (t.hit) {
r.all.removevalue(t);
delete t.onEnterFrame;
t.gotoAndPlay("hit");
} else if (r.ynow < startpos) {
play();
}
};
stop();
Symbol 152 MovieClip [turniph] Frame 2
xs = speed;
onEnterFrame = function () {
_x = (_x + xs);
if (hit) {
r.all.removevalue(t);
delete onEnterFrame;
gotoAndPlay (3);
} else if ((_x < -50) or (_x > 650)) {
r.all.removevalue(t);
t.removeMovieClip();
} else {
var res = cekboxcoll(_x, _y, wid, hei, p._x, p._y, r.pwid, r.phei);
if (res) {
r.hit = this;
r.all.removevalue(t);
delete onEnterFrame;
gotoAndPlay (8);
}
}
};
stop();
Symbol 152 MovieClip [turniph] Frame 7
t.removeMovieClip();
stop();
Symbol 152 MovieClip [turniph] Frame 12
t.removeMovieClip();
stop();
Symbol 153 MovieClip [turnipv] Frame 1
var t = this;
hitid = 1;
tipe = 1;
wid = (hei = 5);
speed = -5;
xspace = 1;
x = t._x;
r.all.push(t);
startpos = r.ynow - 250;
t.onEnterFrame = function () {
xspace = -xspace;
t._x = x + xspace;
xspace = Math.min(xspace + 0.1, 2);
if (t.hit) {
delete t.onEnterFrame;
t.gotoAndPlay("hit");
} else if (r.ynow < startpos) {
play();
}
};
stop();
Symbol 153 MovieClip [turnipv] Frame 2
ys = speed;
onEnterFrame = function () {
_y = (_y + ys);
if (hit) {
r.all.removevalue(t);
delete onEnterFrame;
gotoAndPlay (3);
} else if (_y < ((-r.ynow) - 50)) {
r.all.removevalue(t);
t.removeMovieClip();
} else {
var res = cekboxcoll(_x, _y, wid, hei, p._x, p._y, r.pwid, r.phei);
if (res) {
r.hit = this;
r.all.removevalue(t);
delete onEnterFrame;
gotoAndPlay (8);
}
}
};
stop();
Symbol 153 MovieClip [turnipv] Frame 7
t.removeMovieClip();
stop();
Symbol 153 MovieClip [turnipv] Frame 12
t.removeMovieClip();
stop();
Symbol 156 MovieClip [popbonus] Frame 1
b.a = nil;
b.c = hit;
var t = this;
_yscale = 200;
_xscale = 200;
ska = 100;
dx = 0;
dv = 0.9;
dvstep = 0.5;
onenterframe = function () {
dx = (dx * dvstep) + ((ska - _xscale) * dv);
_xscale = (_xscale + dx);
_yscale = _xscale;
_y = Math.max(_y, (-r.ynow) + 40);
};
Symbol 156 MovieClip [popbonus] Frame 25
onEnterFrame = function () {
_alpha = (_alpha - 15);
};
Symbol 156 MovieClip [popbonus] Frame 32
this.removeMovieClip();
Symbol 180 MovieClip Frame 4
stop();
Symbol 181 MovieClip Frame 1
if (_name == "t1") {
a._xscale = -50;
}
stop();
Symbol 181 MovieClip Frame 3
a.gotoAndStop(1 + random(a._totalframes));
range = 1 + (random(10) / 10);
speed = 0.05 + (random(10) / 100);
startr = a._rotation;
ro = range;
onenterframe = function () {
a._rotation = a._rotation + ro;
if (a._rotation > startr) {
ro = Math.max(ro - speed, -range);
} else {
ro = Math.min(ro + speed, range);
}
};
Symbol 205 MovieClip Frame 15
stop();
Symbol 206 MovieClip Frame 1
r.zbossexp.start();
Symbol 206 MovieClip Frame 5
r.zbossexp.start();
Symbol 206 MovieClip Frame 12
r.zbossexp.start();
Symbol 206 MovieClip Frame 17
r.zbossexp.start();
Symbol 206 MovieClip Frame 24
r.zbossexp.start();
Symbol 206 MovieClip Frame 31
r.zbossexp.start();
Symbol 206 MovieClip Frame 38
r.zbossexp.start();
Symbol 206 MovieClip Frame 45
r.zbossexp.start();
Symbol 206 MovieClip Frame 50
r.zbossexp.start();
Symbol 206 MovieClip Frame 60
r.zbossexp.start();
Symbol 206 MovieClip Frame 68
r.zbossexp.start();
Symbol 206 MovieClip Frame 75
r.zbossexp.start();
stop();
Symbol 207 MovieClip [boss] Frame 1
MovieClip.prototype.resettentacles = function () {
this.t1.gotoAndStop(1);
this.t2.gotoAndStop(1);
this.t3.gotoAndStop(1);
this.t1._rotation = -30;
this.t2._rotation = 0;
this.t3._rotation = 30;
};
MovieClip.prototype.float = function () {
var t = this;
t.starty = (-r.ynow) + 300;
t._y = t._y + (t.ys + r.bgspeed);
if (t._y > t.starty) {
t.ys = Math.max(t.ys - t.speed, -t.range);
} else {
t.ys = Math.min(t.ys + t.speed, t.range);
}
t._x = t._x + t.xs;
if (t._x > t.startx) {
t.xs = Math.max(t.xs - t.speed, -t.xrange);
} else {
t.xs = Math.min(t.xs + t.speed, t.xrange);
}
};
startx = _x;
starty = _y;
ys = (range = 3);
xs = (xrange = 7);
speed = 0.15;
energy = 50;
hitid = 2;
radius = 107;
radius2 = radius * radius;
_global.boss = this;
turn = 1;
count = (countnormal = 4);
r.rocks.push(this);
resettentacles();
Symbol 207 MovieClip [boss] Frame 2
resettentacles();
float();
d = 3;
onEnterFrame = function () {
float();
if ((_x > 200) and (_x < 400)) {
d--;
if (!d) {
gotoAndPlay (3);
delete onEnterFrame;
}
}
};
stop();
Symbol 207 MovieClip [boss] Frame 3
if (turn == 1) {
ang = -100 - random(30);
} else if (turn == 2) {
ang = -110 + random(40);
} else if (turn == 3) {
ang = -80 + random(30);
}
it = this["t" + turn];
it._rotation = ang;
it.gotoAndStop(2);
leng = 360;
d = 5;
float();
onEnterFrame = function () {
float();
d--;
if (d < 4) {
if (!r.inv) {
rang = rad(ang);
x1 = _x + it._x;
y1 = _y + it._y;
x2 = (_x + it._x) + (Math.cos(rang) * leng);
y2 = (_y + it._y) + (Math.sin(rang) * leng);
res = point2line(p._x, p._y, x1, y1, x2, y2);
if (res.inline) {
if (res.dis < 30) {
r.hit = this;
}
}
}
}
if (!d) {
count--;
if (!count) {
count = countnormal;
turn++;
if (turn > 3) {
turn = 1;
}
wait = 1;
} else {
wait = 0;
}
delete onEnterFrame;
if (wait) {
gotoAndPlay (9);
} else {
gotoAndPlay (2);
}
}
if (energy <= 0) {
delete onEnterFrame;
gotoAndPlay (14);
}
};
stop();
Symbol 207 MovieClip [boss] Frame 9
resettentacles();
float();
d = 40;
onEnterFrame = function () {
float();
d--;
if (!d) {
delete onEnterFrame;
gotoAndPlay (2);
}
if (energy <= 0) {
delete onEnterFrame;
gotoAndPlay (14);
}
};
stop();
Symbol 207 MovieClip [boss] Frame 14
resettentacles();
t1.gotoAndStop(3);
t2.gotoAndStop(3);
t3.gotoAndStop(3);
r.rocks.removevalue(this);
d = 150;
ys = r.bgspeed;
onEnterFrame = function () {
_y = (_y + ys);
ys = ys * 0.995;
d--;
if (!d) {
delete onEnterFrame;
r.gotoAndPlay("win");
}
};
stop();
Symbol 211 MovieClip [popscoreboss] Frame 1
b.a = nil;
b.c = hit;
var t = this;
_yscale = 200;
_xscale = 200;
ska = 100;
dx = 0;
dv = 0.9;
dvstep = 0.5;
onenterframe = function () {
dx = (dx * dvstep) + ((ska - _xscale) * dv);
_xscale = (_xscale + dx);
_yscale = _xscale;
_y = Math.max(_y, (-r.ynow) + 40);
};
Symbol 211 MovieClip [popscoreboss] Frame 25
onEnterFrame = function () {
_alpha = (_alpha - 15);
};
Symbol 211 MovieClip [popscoreboss] Frame 32
this.removeMovieClip();
Symbol 216 MovieClip [circ] Frame 1
onEnterFrame = function () {
if (r.pressed) {
r.presstime++;
_yscale = Math.min(_xscale + r.circlespeed, 320);
_xscale = Math.min(_xscale + r.circlespeed, 320);
} else {
r.presstime = 0;
delete onEnterFrame;
play();
}
};
stop();
Symbol 216 MovieClip [circ] Frame 2
r.got = 0;
r.zblast.start();
radius = Math.floor(_width / 2);
radius2 = radius * radius;
xmin = _parent._parent._x - radius;
xmax = _parent._parent._x + radius;
ymin = _parent._parent._y - radius;
ymax = _parent._parent._y + radius;
var i = 0;
while (i < r.all.length) {
if (r.all[i]._y > ymin) {
if (r.all[i]._y < ymax) {
if (r.all[i]._x > xmin) {
if (r.all[i]._x < xmax) {
dx = r.all[i]._x - _parent._parent._x;
dy = r.all[i]._y - _parent._parent._y;
if (((dx * dx) + (dy * dy)) < radius2) {
r.all[i].hit = 1;
r.got++;
}
}
}
}
}
i++;
}
Symbol 216 MovieClip [circ] Frame 4
if (r.got > 0) {
r.ang = r.ang + r.gotscore[r.got];
popskor(r.got, r.gotscore[r.got]);
r.zsplat.start();
}
if (r.bossout) {
if (boss.energy > 0) {
if (radius >= 100) {
dx = boss._x - _parent._parent._x;
dy = boss._y - _parent._parent._y;
dis = Math.sqrt((dx * dx) + (dy * dy));
hitdis = radius + boss.radius;
if (dis < hitdis) {
r.got = Math.ceil((hitdis - dis) / 10);
popskorboss(r.gotscore[r.got]);
boss.energy = boss.energy - Math.min(r.got, 7);
boss.attachMovie("tint", "tint", 100);
}
}
}
}
Symbol 216 MovieClip [circ] Frame 5
r.shake = Math.floor((_xscale - 70) / 25);
this.removeMovieClip();
Symbol 244 Button
on (release) {
r.gotoAndPlay("ins");
}
Symbol 265 Button
on (release) {
r.gotoAndStop("ins2");
}
Symbol 294 Button
on (release) {
r.gotoAndPlay("start");
}
Symbol 311 MovieClip Frame 10
stop();
Symbol 312 MovieClip [bsmoke] Frame 1
speed = -2 - (0.1 * random(20));
ys = -1;
grav = -0.1;
ska = 100 + random(100);
_yscale = ska;
_xscale = ska;
onenterframe = function () {
_x = (_x + speed);
_y = (_y + ys);
ska = ska + 8;
_yscale = ska;
_xscale = ska;
speed = speed + -0.2;
if (random(100) > 50) {
ys = ys + grav;
} else {
ys = ys - grav;
}
_alpha = (_alpha - 1);
if (_alpha < 0) {
this.removeMovieClip();
}
};
stop();
Symbol 313 MovieClip Frame 1
n = 10;
Symbol 313 MovieClip Frame 2
attachmovie("bsmoke", "bsmoke" + n, n);
n++;
Symbol 313 MovieClip Frame 15
gotoAndPlay (2);
Symbol 314 MovieClip Frame 1
stop();
Symbol 317 MovieClip Frame 1
xspeed = 10;
yspeed = 0.8 * r.bgspeed;
hole = 1;
onMouseDown = function () {
if (!r.nopress) {
r.pressed = 1;
r.presstime = 0;
p.ci.attachMovie("circ", "circ", 100);
}
};
onMouseUp = function () {
if (r.pressed) {
r.pressed = 0;
r.nopress = 2;
}
};
onenterframe = function () {
oldx = p._x;
nx = m._xmouse;
ny = m._ymouse;
nx = Math.max(nx, r.xmin);
nx = Math.min(nx, r.xmax);
ny = Math.min(ny, (-r.ynow) + 250);
ny = Math.max(ny, -r.ynow);
nx = p._x + ((nx - p._x) / 4);
ny = p._y + ((ny - p._y) / 4);
xs = nx - p._x;
ys = ny - p._y;
if (xs > xspeed) {
xs = xspeed;
} else if (xs < (-xspeed)) {
xs = -xspeed;
}
if (ys > yspeed) {
ys = yspeed;
} else if (ys < (-yspeed)) {
ys = -yspeed;
}
nx = p._x + xs;
ny = (p._y + ys) + r.bgspeed;
cekrocks();
p._x = nx;
p._y = ny;
p._rotation = oldx - p._x;
p.drill._rotation = p._rotation;
makehole();
if (r.nopress > 0) {
r.nopress--;
}
if (r.hit) {
delete onEnterFrame;
delete onMouseDown;
delete onMouseUp;
gotoAndPlay (7);
} else if (p._y < ((-r.ynow) - 60)) {
r.gotoAndPlay("end");
} else if (r.lose) {
delete onEnterFrame;
delete onMouseDown;
delete onMouseUp;
gotoAndPlay (12);
}
};
stop();
Symbol 317 MovieClip Frame 7
makehole();
if (r.hit.hitid < 3) {
r.zhit.start();
}
if (!r.godmode) {
p.attachMovie("blink", "blink", 9001);
nocircle();
if (r.hit.hitid < 3) {
if (!r.inv) {
if (r.hit.hitid == 1) {
r.energy = r.energy - (2 * r.energyless);
} else if (r.hit.hitid == 2) {
r.energy = r.energy - (3 * r.energyless);
}
r.inv = r.invhitdelay;
}
x = p._x;
d = 5;
if (r.hit._x < p._x) {
a = -10;
} else {
a = 10;
}
r.hit = 0;
onEnterFrame = function () {
a = -a;
p._x = x + a;
makehole();
d--;
if (!d) {
p._x = x;
delete onEnterFrame;
gotoAndPlay (1);
}
};
stop();
} else if (r.hit.hitid == 3) {
r.energy = r.energy - r.energyless;
r.inv = r.invhitdelay;
r.hit = 0;
gotoAndPlay (1);
}
} else {
r.hit = 0;
gotoAndPlay (1);
}
Symbol 317 MovieClip Frame 12
p.gotoAndStop(2);
r.zexplode.start();
d = 100;
onEnterFrame = function () {
r.bgspeed = r.bgspeed * 0.95;
d--;
if (!d) {
delete onEnterFrame;
r.gotoAndPlay("end");
}
};
stop();
Symbol 329 MovieClip Frame 6
stop();
Symbol 332 MovieClip Frame 6
stop();
Symbol 333 MovieClip Frame 1
stop();
Symbol 334 MovieClip Frame 1
total = 20;
spacing = 8;
var i = 1;
while (i < total) {
a1.duplicateMovieClip("a" + (i + 1), i, {_x:a1._x + (i * spacing)});
i++;
}
energynow = r.energy;
onEnterFrame = function () {
if (energynow != r.energy) {
energynow = r.energy;
lim = Math.floor((r.energy / r.energymax) * total);
var i = 1;
while (i <= total) {
if (i <= lim) {
this["a" + i].gotoAndStop(1);
} else {
this["a" + i].gotoAndStop(2);
}
i++;
}
if (r.energy <= 0) {
r.lose = 1;
delete onEnterFrame;
stop();
}
}
};
stop();
Symbol 357 Button
on (release) {
r.ang = 0;
r.pos = [];
r.level = r.replayfrom;
r.gotoAndPlay("start");
}
Symbol 374 Button
on (release) {
r.level = 0;
r.ang = 0;
r.pos = [];
r.gotoAndPlay("start");
}