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;
r.music = 1;
r.udamusik = 0;
loader.play();
} else {
loaded = Math.round(getBytesLoaded() / 1024);
total = Math.round(getBytesTotal() / 1024);
percent = Math.round((loaded / total) * 100);
persen = percent + "%";
}
};
stop();
Frame 10
MovieClip.prototype.energize = function (a) {
r.energy = Math.max(0, Math.min(r.energymax, r.energy + a));
r.energybar.gotoAndPlay("update");
};
MovieClip.prototype.cekhitpoints = function (mc) {
var _local2 = 0;
while (_local2 < r["hp" + r.hd].length) {
var _local1 = p["p" + _local2];
var _local4 = (m._x + p._x) + _local1._x;
var _local3 = (m._y + p._y) + _local1._y;
if (mc.hitTest(_local4, _local3, 1)) {
return({mc:_local1, xx:p._x + _local1._x, yy:p._y + _local1._y});
}
_local2++;
}
return(false);
};
MovieClip.prototype.appear = function (speed) {
var t = this;
if (!speed) {
speed = 10;
}
t.speed = speed;
t._alpha = 0;
t.onEnterFrame = function () {
t._alpha = t._alpha + speed;
if (t._alpha >= 100) {
t._alpha = 100;
delete t.onEnterFrame;
}
};
};
MovieClip.prototype.cekmines = function () {
var _local5 = this;
var _local4 = r.phei + r.mineradius;
var _local3 = 0;
while (_local3 < r.mines.length) {
var _local2 = r.mines[_local3];
var _local7 = _local5.nx - _local2._x;
if (Math.abs(_local7) < _local4) {
var _local6 = _local5.ny - _local2._y;
if (Math.abs(_local6) < _local4) {
var _local8 = _local4 * _local4;
if (_local5.cekhitpoints(_local2.a.z)) {
m.attachMovie("explosion", "explosion" + r.bd, r.bd, {_x:_local2._x, _y:_local2._y, hitid:_local2.hitid});
r.hit = m["explosion" + r.bd];
r.bd++;
r.zexplosion.start();
r.mines.removeValue(_local2);
_local2.removeMovieClip();
nocircle();
}
}
}
_local3++;
}
};
MovieClip.prototype.sethitp = function () {
var _local1 = 0;
while (_local1 < r["hp" + r.hd].length) {
var _local3 = r["hp" + r.hd][_local1];
var _local2 = protate(_local3.xx, _local3.yy, p.a._rotation);
p["p" + _local1]._x = _local2.xx;
p["p" + _local1]._y = _local2.yy;
_local1++;
}
};
MovieClip.prototype.protate = function (xx, yy, angle) {
var _local3 = rad(angle);
var _local2 = Math.sin(_local3);
var _local1 = Math.cos(_local3);
return({xx:(_local1 * xx) - (_local2 * yy), yy:(_local2 * xx) + (_local1 * yy)});
};
MovieClip.prototype.bubbling = function (xx, yy, speed) {
m.attachMovie("bubble", "bubble" + r.bd, r.bd, {_x:xx, _y:yy, speed:speed});
r.bd++;
};
MovieClip.prototype.getleveldata = function () {
if (r.level <= 1) {
add2pos(r.pos1);
add2pos(r.pos2);
r.levelitemcount[1] = r.pos.length;
r.levelitemlast[1] = r.pos[r.pos.length - 1].yy;
}
if (r.level <= 2) {
add2pos(r.pos21);
add2pos(r.pos3);
add2pos(r.pos4);
add2pos(r.pos5);
r.levelitemcount[2] = r.pos.length;
r.levelitemlast[2] = r.pos[r.pos.length - 1].yy;
}
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;
r.levelitemlast[3] = r.pos[r.pos.length - 1].yy;
}
if (r.level <= 4) {
add2pos(r.pos21);
add2pos(r.pos10);
add2pos(r.pos11);
add2pos(r.pos12);
add2pos(r.pos13);
add2pos(r.pos0);
r.levelitemcount[4] = r.pos.length;
r.levelitemlast[4] = r.pos[r.pos.length - 1].yy;
}
};
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 _local1 = 0;
while (_local1 < r.all.length) {
if (!r.all[_local1].hit) {
r.all[_local1].hit = 1;
r.got++;
}
_local1++;
}
} else {
energize(r.energymax);
r.zbonus.start();
popbonus(Math.max(50, Math.min(550, t._x)), t._y - 60);
}
t.gotoAndPlay("hit");
} else if (r.ynow < t.outpos) {
r.all.removeValue(t);
t.removeMovieClip();
}
};
stop();
};
MovieClip.prototype.add2pos = function (arr) {
var _local3 = arr.clon();
var _local6 = r.pos.length;
if (!_local6) {
r.pos = r.pos0.clon();
}
var _local5 = r.pos[r.pos.length - 1].yy + 80;
var _local4 = _local3.length;
var _local2 = 0;
while (_local2 < _local4) {
var _local1 = _local3.shift();
_local1.yy = _local1.yy + _local5;
r.pos.push(_local1);
_local2++;
}
};
MovieClip.prototype.nocircle = function () {
p.ci.circ.removeMovieClip();
r.presstime = 0;
r.pressed = 0;
r.nopress = 2;
};
MovieClip.prototype.cekboxcoll = function (ex, ey, ew, eh, sx, sy, sw, sh) {
var _local1 = 0;
if (Math.abs(ey - sy) < (eh + sh)) {
if (Math.abs(ex - sx) < (ew + sw)) {
_local1 = 1;
}
}
return(_local1);
};
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 (xx, yy) {
m.attachMovie("popbonus", "popbonus", r.popd, {_x:xx, _y:yy});
r.popd++;
};
MovieClip.prototype.getrandom = function (aray) {
if (r.randomlisting.length > 0) {
var _local3 = 0;
var _local1 = 0;
while (_local1 < r.randomlisting.length) {
if (r.randomlisting[_local1] == aray) {
_local3 = 1;
break;
}
_local1++;
}
if (!_local3) {
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 _local4 = r[aray + "getrandom"].pop();
r[aray + "lastpop"] = _local4;
return(_local4);
};
MovieClip.prototype.resetrandom = function () {
if (r.randomlisting.length > 0) {
var _local1 = 0;
while (_local1 < r.randomlisting.length) {
r[r.randomlisting[_local1] + "getrandom"] = [];
r[r.randomlisting[_local1] + "lastpop"] = undefined;
_local1++;
}
}
};
Array.prototype.removeElement = function (i) {
if (i == null) {
i = 0;
}
var _local4 = this[i];
var _local2 = i;
while (_local2 < (this.length - 1)) {
this[_local2] = this[_local2 + 1];
_local2++;
}
this.pop();
return(_local4);
};
Array.prototype.removeValue = function (a) {
var _local2 = 0;
while (_local2 < this.length) {
if (a == this[_local2]) {
this.removeElement(_local2);
}
_local2++;
}
};
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.clon = function () {
if (this instanceof Array) {
var _local2 = [];
var _local3 = 0;
while (_local3 < this.length) {
_local2[_local3] = ((typeof(this[_local3]) == "object") ? (this[_local3].clon()) : (this[_local3]));
_local3++;
}
} else if ((this instanceof XML) || (this instanceof MovieClip)) {
var _local2 = null;
trace("Warning! Object.clon can not be used on MovieClip or XML objects");
} else {
var _local2 = {};
for (var _local3 in this) {
_local2[_local3] = ((typeof(this[_local3]) == "object") ? (this[_local3].clon()) : (this[_local3]));
}
}
return(_local2);
};
ASSetPropFlags(Object.prototype, ["clon"], 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 _local15 = qx2 - qx1;
var _local14 = qy2 - qy1;
var _local2 = _local14 / _local15;
var _local5 = -1 / _local2;
var _local9 = qy1 - (_local2 * qx1);
var _local13 = py - (_local5 * px);
var _local1 = (_local9 - _local13) / (_local5 - _local2);
var _local4 = (_local2 * _local1) + _local9;
var _local6 = (_local1 - qx1) / (qx2 - qx1);
if ((_local6 >= 0) and (_local6 <= 1)) {
var _local18 = 1;
} else {
var _local18 = 0;
}
return({x:_local1, y:_local4, inline:_local18, dis:Math.sqrt(((_local1 - px) * (_local1 - px)) + ((_local4 - py) * (_local4 - py)))});
};
MovieClip.prototype.fadescreen = function (speed) {
if (!speed) {
speed = 5;
}
r.createEmptyMovieClip("dark", 100001);
var d = r.dark;
d.speed = speed;
d.lineStyle(1, 0, 100);
d.beginFill(16777215, 100);
d.moveTo(-5000, -5000);
d.lineTo(5000, -5000);
d.lineTo(5000, 5000);
d.lineTo(-5000, 5000);
d.endFill();
d.onEnterFrame = function () {
d._alpha = d._alpha - d.speed;
if (d._alpha <= 0) {
d.removeMovieClip();
d.stop();
}
};
};
MovieClip.prototype.findang = function (dx, dy) {
return(deg(Math.atan2(dy, dx)));
};
MovieClip.prototype.rad = function (qdeg) {
return(qdeg * (Math.PI/180));
};
MovieClip.prototype.deg = function (qrad) {
return(qrad * 57.2957795130823);
};
Color.prototype.setBrightness = function (val) {
this.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0});
var trans = this.getTransform();
var percent = (Math.abs(val) / 100);
var brightnessColor = ((val > 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 _local1 = SharedObject.getLocal("lazcookie", "/");
_local1.data[vari] = value;
_local1.flush();
};
MovieClip.prototype.loadcookie = function (vari) {
var _local1 = SharedObject.getLocal("lazcookie", "/");
if (_local1.data[vari] != null) {
return(_local1.data[vari]);
}
return(false);
};
Frame 11
pos1 = [{id:8, yy:10, xx:428, ska:70}, {id:8, yy:83, xx:160, ska:80}, {id:1, yy:134, xx:102}, {id:8, yy:243, xx:247, ska:80}, {id:8, yy:362, xx:435, ska:90}, {id:1, yy:411, xx:308}, {id:8, yy:463, xx:205, ska:70}, {id:8, yy:569, xx:123, ska:80}, {id:1, yy:601, xx:477}, {id:8, yy:669, xx:430, ska:70}, {id:8, yy:765, xx:480, ska:80}, {id:1, yy:831, xx:462}, {id:1, yy:937, xx:168}, {id:8, yy:989, xx:417}, {id:1, yy:1006, xx:269}, {id:1, yy:1041, xx:462}, {id:8, yy:1155, xx:379, ska:80}, {id:1, yy:1237, xx:504}, {id:8, yy:1264, xx:138, ska:70}, {id:1, yy:1337, xx:304}, {id:1, yy:1377, xx:348}, {id:8, yy:1449, xx:375, ska:80}, {id:1, yy:1571, xx:502}, {id:8, yy:1599, xx:243, ska:80}, {id:1, yy:1659, xx:334}, {id:8, yy:1743, xx:479, ska:70}, {id:1, yy:1777, xx:304}, {id:8, yy:1799, xx:140, ska:80}, {id:8, yy:1862, xx:234, ska:80}, {id:1, yy:1907, xx:404}, {id:8, yy:1979, xx:475, ska:80}, {id:1, yy:1981, xx:156}, {id:1, yy:2045, xx:400}, {id:8, yy:2063, xx:242}, {id:8, yy:2114, xx:131, ska:70}, {id:8, yy:2157, xx:389}, {id:1, yy:2273, xx:212}, {id:1, yy:2317, xx:134}, {id:8, yy:2348, xx:266, ska:70}, {id:8, yy:2399, xx:529, ska:80}, {id:1, yy:2413, xx:398}, {id:1, yy:2455, xx:360}];
pos2 = [{id:1, yy:44, xx:102}, {id:8, yy:45, xx:243, ska:80}, {id:8, yy:170, xx:450}, {id:1, yy:235, xx:362}, {id:1, yy:265, xx:108}, {id:8, yy:275, xx:479, ska:70}, {id:1, yy:329, xx:216}, {id:8, yy:338, xx:103, ska:90}, {id:2, yy:407, xx:21}, {id:1, yy:443, xx:326}, {id:8, yy:511, xx:483}, {id:8, yy:597, xx:541, ska:80}, {id:1, yy:642, xx:176}, {id:1, yy:691, xx:362}, {id:8, yy:761, xx:450, ska:70}, {id:2, yy:808, xx:574}, {id:8, yy:851, xx:375}, {id:8, yy:903, xx:197, ska:90}, {id:1, yy:903, xx:282}, {id:1, yy:985, xx:350}, {id:8, yy:1011, xx:425}, {id:8, yy:1054, xx:557}, {id:7, yy:1112, xx:565}, {id:1, yy:1119, xx:304}, {id:8, yy:1126, xx:523, ska:60}, {id:1, yy:1225, xx:412}, {id:8, yy:1289, xx:221, ska:80}, {id:1, yy:1307, xx:82}, {id:2, yy:1377, xx:28}, {id:8, yy:1453, xx:505, ska:80}, {id:1, yy:1461, xx:196}, {id:1, yy:1557, xx:82}, {id:8, yy:1603, xx:187}, {id:1, yy:1695, xx:228}, {id:8, yy:1706, xx:117, ska:80}, {id:1, yy:1737, xx:327}, {id:8, yy:1758, xx:478, ska:90}, {id:1, yy:1811, xx:248}, {id:8, yy:1878, xx:144, ska:80}, {id:1, yy:1897, xx:498}, {id:8, yy:1950, xx:75, ska:80}, {id:2, yy:2019, xx:572}, {id:8, yy:2066, xx:413, ska:70}, {id:1, yy:2111, xx:373}, {id:1, yy:2196, xx:82}, {id:8, yy:2210, xx:517}, {id:1, yy:2237, xx:253}, {id:8, yy:2263, xx:441, ska:60}, {id:8, yy:2295, xx:75, ska:80}, {id:1, yy:2347, xx:305}, {id:8, yy:2357, xx:221, ska:80}, {id:2, yy:2424, xx:25}, {id:8, yy:2459, xx:470, ska:80}];
pos3 = [{id:1, yy:44, xx:56}, {id:1, yy:79, xx:402}, {id:1, yy:109, xx:118}, {id:8, yy:160, xx:168}, {id:8, yy:235, xx:55, ska:80}, {id:2, yy:273, xx:576}, {id:8, yy:315, xx:199, ska:90}, {id:1, yy:323, xx:266}, {id:8, yy:390, xx:85}, {id:1, yy:405, xx:334}, {id:1, yy:459, xx:116}, {id:8, yy:491, xx:413, ska:70}, {id:2, yy:529, xx:22}, {id:1, yy:553, xx:318}, {id:8, yy:573, xx:540}, {id:8, yy:609, xx:399}, {id:1, yy:662, xx:502}, {id:8, yy:669, xx:189, ska:80}, {id:1, yy:737, xx:118}, {id:1, yy:785, xx:521}, {id:8, yy:791, xx:381}, {id:1, yy:817, xx:152}, {id:8, yy:837, xx:62}, {id:8, yy:871, xx:480, ska:70}, {id:2, yy:922, xx:574}, {id:1, yy:959, xx:378}, {id:8, yy:1003, xx:515}, {id:8, yy:1051, xx:213, ska:90}, {id:1, yy:1075, xx:310}, {id:1, yy:1117, xx:506}, {id:8, yy:1143, xx:266}, {id:8, yy:1201, xx:183, ska:80}, {id:8, yy:1211, xx:457}, {id:1, yy:1221, xx:358}, {id:4, yy:1443, xx:86}, {id:1, yy:1511, xx:529}, {id:1, yy:1537, xx:295}, {id:8, yy:1555, xx:402}, {id:8, yy:1615, xx:168, ska:80}, {id:6, yy:1660, xx:188}, {id:1, yy:1675, xx:339}, {id:8, yy:1678, xx:230, ska:70}, {id:1, yy:1683, xx:545}, {id:8, yy:1717, xx:164}, {id:2, yy:1781, xx:569}, {id:1, yy:1801, xx:37}, {id:9, yy:1825, xx:446}, {id:1, yy:1833, xx:563}, {id:8, yy:1840, xx:114, ska:70}, {id:9, yy:1897, xx:348}, {id:8, yy:1911, xx:434, ska:70}, {id:1, yy:1937, xx:215}, {id:9, yy:1967, xx:533}, {id:8, yy:1989, xx:362}, {id:8, yy:2037, xx:231, ska:80}, {id:1, yy:2109, xx:403}, {id:2, yy:2165, xx:23}, {id:8, yy:2166, xx:521, ska:80}, {id:1, yy:2253, xx:505}, {id:8, yy:2276, xx:59}, {id:8, yy:2318, xx:427, ska:90}, {id:1, yy:2325, xx:273}, {id:8, yy:2387, xx:357}, {id:9, yy:2390, xx:214}, {id:1, yy:2429, xx:522}, {id:8, yy:2464, xx:237, ska:80}, {id:9, yy:2465, xx:143}, {id:1, yy:2483, xx:423}];
pos4 = [{id:1, yy:44, xx:150}, {id:8, yy:79, xx:415}, {id:8, yy:94, xx:525, ska:80}, {id:1, yy:109, xx:118}, {id:8, yy:183, xx:497, ska:80}, {id:8, yy:240, xx:135, ska:80}, {id:1, yy:253, xx:389}, {id:1, yy:275, xx:245}, {id:8, yy:285, xx:539, ska:90}, {id:1, yy:309, xx:155}, {id:2, yy:343, xx:579}, {id:8, yy:399, xx:495}, {id:8, yy:402, xx:180}, {id:1, yy:405, xx:334}, {id:1, yy:459, xx:468}, {id:8, yy:459, xx:225, ska:80}, {id:8, yy:599, xx:345, ska:70}, {id:2, yy:613, xx:20}, {id:1, yy:615, xx:528}, {id:9, yy:619, xx:295}, {id:8, yy:684, xx:69, ska:80}, {id:9, yy:690, xx:192}, {id:8, yy:730, xx:459, ska:90}, {id:9, yy:738, xx:259}, {id:1, yy:747, xx:392}, {id:8, yy:764, xx:522}, {id:7, yy:784, xx:448}, {id:8, yy:803, xx:414, ska:60}, {id:8, yy:807, xx:186}, {id:8, yy:814, xx:274, ska:70}, {id:1, yy:817, xx:90}, {id:8, yy:872, xx:100, ska:70}, {id:2, yy:876, xx:573}, {id:1, yy:877, xx:318}, {id:8, yy:927, xx:559, ska:70}, {id:1, yy:959, xx:492}, {id:2, yy:1025, xx:23}, {id:8, yy:1051, xx:143, ska:90}, {id:1, yy:1075, xx:310}, {id:1, yy:1117, xx:506}, {id:8, yy:1143, xx:89, ska:80}, {id:1, yy:1177, xx:490}, {id:8, yy:1201, xx:183, ska:80}, {id:8, yy:1211, xx:385}, {id:2, yy:1259, xx:579}, {id:8, yy:1332, xx:536}, {id:1, yy:1335, xx:188}, {id:8, yy:1346, xx:405, ska:90}, {id:9, yy:1404, xx:324}, {id:8, yy:1408, xx:43, ska:70}, {id:9, yy:1455, xx:271}, {id:8, yy:1505, xx:554}, {id:1, yy:1511, xx:125}, {id:8, yy:1540, xx:316, ska:80}, {id:2, yy:1599, xx:37}, {id:8, yy:1616, xx:437, ska:80}, {id:1, yy:1675, xx:339}, {id:8, yy:1704, xx:188}, {id:8, yy:1755, xx:96}, {id:1, yy:1757, xx:547}, {id:1, yy:1808, xx:198}, {id:8, yy:1863, xx:505, ska:70}, {id:9, yy:1916, xx:335}, {id:8, yy:1965, xx:169, ska:80}, {id:9, yy:1983, xx:395}, {id:1, yy:1995, xx:215}, {id:8, yy:2024, xx:301, ska:90}, {id:8, yy:2040, xx:137}, {id:8, yy:2065, xx:362}, {id:1, yy:2163, xx:484}, {id:8, yy:2172, xx:289, ska:90}, {id:1, yy:2213, xx:109}, {id:2, yy:2220, xx:567}, {id:1, yy:2253, xx:505}, {id:8, yy:2257, xx:141, ska:80}, {id:8, yy:2276, xx:367, ska:80}, {id:9, yy:2322, xx:47}, {id:8, yy:2333, xx:290}, {id:1, yy:2406, xx:528}, {id:8, yy:2458, xx:439}, {id:1, yy:2461, xx:251}, {id:2, yy:2474, xx:22}];
pos5 = [{id:1, yy:44, xx:276}, {id:8, yy:105, xx:287}, {id:1, yy:109, xx:118}, {id:8, yy:161, xx:231, ska:80}, {id:8, yy:166, xx:495, ska:80}, {id:7, yy:194, xx:532}, {id:8, yy:240, xx:139, ska:80}, {id:8, yy:242, xx:530}, {id:1, yy:253, xx:389}, {id:1, yy:275, xx:245}, {id:8, yy:323, xx:277, ska:90}, {id:2, yy:337, xx:571}, {id:8, yy:368, xx:54}, {id:1, yy:399, xx:333}, {id:1, yy:459, xx:116}, {id:8, yy:469, xx:411}, {id:8, yy:507, xx:521, ska:80}, {id:6, yy:534, xx:423}, {id:8, yy:537, xx:371, ska:70}, {id:2, yy:557, xx:18}, {id:9, yy:589, xx:149}, {id:8, yy:600, xx:451, ska:90}, {id:1, yy:615, xx:528}, {id:8, yy:646, xx:267, ska:80}, {id:9, yy:652, xx:184}, {id:1, yy:695, xx:548}, {id:9, yy:716, xx:326}, {id:8, yy:763, xx:154, ska:80}, {id:1, yy:781, xx:440}, {id:1, yy:817, xx:152}, {id:8, yy:851, xx:411, ska:90}, {id:8, yy:903, xx:183}, {id:2, yy:905, xx:0}, {id:8, yy:927, xx:535, ska:70}, {id:8, yy:957, xx:267, ska:80}, {id:1, yy:959, xx:378}, {id:8, yy:981, xx:451}, {id:1, yy:1057, xx:171}, {id:1, yy:1075, xx:466}, {id:8, yy:1086, xx:92}, {id:2, yy:1135, xx:579}, {id:1, yy:1147, xx:244}, {id:8, yy:1174, xx:332, ska:70}, {id:1, yy:1207, xx:506}, {id:2, yy:1277, xx:89}, {id:1, yy:1291, xx:493}, {id:8, yy:1292, xx:60, ska:90}, {id:8, yy:1387, xx:501}, {id:4, yy:1511, xx:86}, {id:1, yy:1597, xx:175}, {id:8, yy:1616, xx:437, ska:80}, {id:1, yy:1637, xx:359}, {id:1, yy:1687, xx:485}, {id:8, yy:1715, xx:102}, {id:1, yy:1757, xx:513}, {id:8, yy:1781, xx:182}, {id:8, yy:1782, xx:262, ska:70}, {id:9, yy:1784, xx:369}, {id:9, yy:1854, xx:301}, {id:9, yy:1907, xx:435}, {id:8, yy:1911, xx:53}, {id:8, yy:1922, xx:541, ska:70}, {id:8, yy:1937, xx:365, ska:80}, {id:8, yy:1961, xx:450}, {id:1, yy:1999, xx:317}, {id:1, yy:2039, xx:49}, {id:8, yy:2040, xx:363}, {id:1, yy:2119, xx:105}, {id:2, yy:2172, xx:565}, {id:8, yy:2172, xx:451, ska:90}, {id:1, yy:2203, xx:339}, {id:8, yy:2257, xx:127, ska:80}, {id:1, yy:2311, xx:429}, {id:1, yy:2325, xx:113}, {id:8, yy:2333, xx:290}, {id:8, yy:2351, xx:511}, {id:1, yy:2407, xx:497}, {id:8, yy:2416, xx:305, ska:80}, {id:8, yy:2458, xx:411}, {id:1, yy:2461, xx:201}, {id:2, yy:2476, xx:67}];
pos6 = [{id:8, yy:63, xx:407}, {id:1, yy:95, xx:156}, {id:8, yy:110, xx:307, ska:80}, {id:8, yy:149, xx:78, ska:80}, {id:8, yy:181, xx:152, ska:80}, {id:1, yy:185, xx:380}, {id:2, yy:189, xx:583}, {id:8, yy:255, xx:481, ska:90}, {id:1, yy:257, xx:225}, {id:1, yy:275, xx:329}, {id:8, yy:298, xx:178}, {id:8, yy:379, xx:235}, {id:1, yy:401, xx:320}, {id:8, yy:409, xx:54}, {id:8, yy:429, xx:525, ska:80}, {id:7, yy:471, xx:491}, {id:2, yy:475, xx:10}, {id:1, yy:475, xx:260}, {id:8, yy:487, xx:435}, {id:8, yy:537, xx:517, ska:70}, {id:8, yy:562, xx:177, ska:80}, {id:8, yy:602, xx:107, ska:90}, {id:4, yy:796, xx:82}, {id:8, yy:857, xx:57}, {id:8, yy:857, xx:559, ska:70}, {id:8, yy:885, xx:305, ska:80}, {id:8, yy:899, xx:493, ska:90}, {id:8, yy:937, xx:230, ska:80}, {id:1, yy:961, xx:287}, {id:8, yy:964, xx:92}, {id:1, yy:1019, xx:207}, {id:1, yy:1063, xx:491}, {id:8, yy:1072, xx:332, ska:70}, {id:8, yy:1089, xx:152}, {id:8, yy:1151, xx:361}, {id:1, yy:1165, xx:122}, {id:1, yy:1203, xx:478}, {id:9, yy:1273, xx:269}, {id:1, yy:1273, xx:500}, {id:1, yy:1313, xx:128}, {id:8, yy:1326, xx:66}, {id:8, yy:1357, xx:565, ska:80}, {id:3, yy:1385, xx:216}, {id:3, yy:1385, xx:356}, {id:8, yy:1444, xx:66, ska:80}, {id:8, yy:1467, xx:509}, {id:3, yy:1497, xx:290}, {id:8, yy:1571, xx:424, ska:90}, {id:8, yy:1577, xx:56, ska:90}, {id:8, yy:1632, xx:227, ska:80}, {id:4, yy:1723, xx:82}, {id:1, yy:1723, xx:554}, {id:2, yy:1783, xx:581}, {id:8, yy:1803, xx:509}, {id:1, yy:1851, xx:213}, {id:8, yy:1882, xx:444, ska:70}, {id:1, yy:1891, xx:331}, {id:8, yy:1899, xx:54}, {id:8, yy:1938, xx:546, ska:90}, {id:8, yy:1941, xx:103, ska:80}, {id:8, yy:1961, xx:399, ska:80}, {id:9, yy:2017, xx:269}, {id:9, yy:2070, xx:197}, {id:8, yy:2077, xx:498, ska:90}, {id:2, yy:2128, xx:10}, {id:1, yy:2153, xx:137}, {id:1, yy:2163, xx:479}, {id:8, yy:2169, xx:316}, {id:1, yy:2245, xx:86}, {id:1, yy:2249, xx:327}, {id:8, yy:2267, xx:264}, {id:1, yy:2305, xx:504}, {id:8, yy:2319, xx:335, ska:70}, {id:8, yy:2343, xx:195}, {id:1, yy:2373, xx:50}, {id:8, yy:2386, xx:400}, {id:1, yy:2401, xx:540}, {id:1, yy:2419, xx:110}, {id:8, yy:2438, xx:311}];
pos7 = [{id:8, yy:34, xx:556, ska:80}, {id:8, yy:59, xx:442, ska:90}, {id:8, yy:63, xx:63}, {id:1, yy:95, xx:156}, {id:8, yy:120, xx:495, ska:80}, {id:1, yy:139, xx:397}, {id:8, yy:141, xx:109, ska:80}, {id:8, yy:176, xx:438, ska:90}, {id:8, yy:176, xx:233, ska:80}, {id:1, yy:204, xx:330}, {id:8, yy:217, xx:161}, {id:1, yy:253, xx:389}, {id:8, yy:255, xx:537, ska:90}, {id:8, yy:259, xx:79, ska:80}, {id:8, yy:298, xx:178}, {id:1, yy:299, xx:263}, {id:8, yy:345, xx:497}, {id:8, yy:365, xx:71}, {id:2, yy:369, xx:24}, {id:8, yy:377, xx:219}, {id:1, yy:379, xx:292}, {id:8, yy:421, xx:151, ska:70}, {id:7, yy:428, xx:214}, {id:8, yy:431, xx:407, ska:80}, {id:8, yy:449, xx:471}, {id:8, yy:481, xx:221}, {id:1, yy:505, xx:332}, {id:8, yy:523, xx:420}, {id:8, yy:562, xx:187, ska:80}, {id:8, yy:581, xx:82}, {id:8, yy:600, xx:363, ska:90}, {id:9, yy:659, xx:287}, {id:8, yy:687, xx:169}, {id:8, yy:727, xx:67, ska:80}, {id:3, yy:743, xx:306}, {id:3, yy:743, xx:446}, {id:8, yy:789, xx:135}, {id:3, yy:855, xx:522}, {id:3, yy:855, xx:382}, {id:3, yy:855, xx:242}, {id:8, yy:948, xx:92}, {id:8, yy:965, xx:539, ska:70}, {id:1, yy:975, xx:249}, {id:1, yy:1003, xx:337}, {id:8, yy:1045, xx:398, ska:80}, {id:8, yy:1051, xx:493, ska:90}, {id:8, yy:1176, xx:356, ska:70}, {id:4, yy:1178, xx:82}, {id:8, yy:1203, xx:529}, {id:8, yy:1259, xx:385}, {id:2, yy:1301, xx:568}, {id:1, yy:1359, xx:449}, {id:1, yy:1377, xx:128}, {id:8, yy:1390, xx:66}, {id:1, yy:1427, xx:350}, {id:8, yy:1476, xx:139, ska:80}, {id:8, yy:1495, xx:493}, {id:1, yy:1497, xx:230}, {id:8, yy:1508, xx:66, ska:80}, {id:9, yy:1556, xx:301}, {id:8, yy:1611, xx:424, ska:90}, {id:9, yy:1613, xx:230}, {id:8, yy:1677, xx:68, ska:90}, {id:6, yy:1718, xx:22}, {id:1, yy:1725, xx:298}, {id:1, yy:1728, xx:141}, {id:1, yy:1735, xx:454}, {id:8, yy:1765, xx:34, ska:90}, {id:1, yy:1775, xx:396}, {id:1, yy:1822, xx:451}, {id:3, yy:1862, xx:219}, {id:3, yy:1862, xx:359}, {id:1, yy:1867, xx:112}, {id:1, yy:1903, xx:538}, {id:1, yy:1903, xx:283}, {id:1, yy:1943, xx:42}, {id:3, yy:1998, xx:359}, {id:3, yy:1998, xx:219}, {id:2, yy:1999, xx:102}, {id:1, yy:2011, xx:440}, {id:1, yy:2093, xx:73}, {id:1, yy:2109, xx:354}, {id:1, yy:2127, xx:174}, {id:2, yy:2159, xx:534}, {id:1, yy:2199, xx:342}, {id:1, yy:2245, xx:48}, {id:2, yy:2276, xx:123}, {id:1, yy:2277, xx:224}, {id:1, yy:2305, xx:504}, {id:1, yy:2309, xx:268}, {id:8, yy:2320, xx:198}, {id:8, yy:2347, xx:355, ska:70}, {id:1, yy:2353, xx:134}, {id:8, yy:2399, xx:275}, {id:8, yy:2449, xx:534}, {id:1, yy:2453, xx:146}, {id:8, yy:2455, xx:87}];
pos8 = [{id:8, yy:34, xx:556, ska:80}, {id:8, yy:42, xx:165}, {id:8, yy:72, xx:426, ska:90}, {id:8, yy:100, xx:96, ska:80}, {id:8, yy:110, xx:495, ska:80}, {id:1, yy:145, xx:348}, {id:8, yy:149, xx:195, ska:80}, {id:8, yy:174, xx:434, ska:90}, {id:9, yy:203, xx:281}, {id:8, yy:226, xx:90, ska:80}, {id:8, yy:253, xx:499, ska:90}, {id:1, yy:274, xx:324}, {id:8, yy:284, xx:178}, {id:8, yy:313, xx:393}, {id:1, yy:329, xx:263}, {id:8, yy:338, xx:558, ska:80}, {id:8, yy:367, xx:44}, {id:8, yy:375, xx:466, ska:80}, {id:4, yy:458, xx:82}, {id:8, yy:571, xx:193}, {id:8, yy:605, xx:429, ska:80}, {id:8, yy:649, xx:95}, {id:8, yy:651, xx:543}, {id:1, yy:663, xx:262}, {id:8, yy:683, xx:383}, {id:8, yy:686, xx:155, ska:80}, {id:8, yy:725, xx:473}, {id:1, yy:753, xx:310}, {id:8, yy:779, xx:219}, {id:8, yy:791, xx:393, ska:70}, {id:8, yy:841, xx:101}, {id:8, yy:848, xx:525, ska:90}, {id:9, yy:876, xx:301}, {id:8, yy:939, xx:453}, {id:8, yy:941, xx:169}, {id:4, yy:1128, xx:82}, {id:4, yy:1256, xx:82}, {id:4, yy:1418, xx:82}, {id:8, yy:1580, xx:322, ska:80}, {id:1, yy:1643, xx:131}, {id:8, yy:1660, xx:289, ska:80}, {id:8, yy:1710, xx:358}, {id:1, yy:1714, xx:77}, {id:8, yy:1720, xx:558, ska:90}, {id:8, yy:1747, xx:236, ska:90}, {id:3, yy:1769, xx:437}, {id:8, yy:1778, xx:317, ska:90}, {id:8, yy:1816, xx:251, ska:70}, {id:1, yy:1830, xx:108}, {id:3, yy:1851, xx:521}, {id:8, yy:1891, xx:296}, {id:1, yy:1899, xx:79}, {id:1, yy:1952, xx:169}, {id:8, yy:1961, xx:349}, {id:1, yy:1976, xx:67}, {id:3, yy:1991, xx:513}, {id:8, yy:1994, xx:257}, {id:1, yy:2050, xx:171}, {id:9, yy:2060, xx:116}, {id:8, yy:2064, xx:314, ska:80}, {id:3, yy:2103, xx:446}, {id:3, yy:2104, xx:561}, {id:8, yy:2107, xx:238, ska:90}, {id:1, yy:2128, xx:91}, {id:8, yy:2162, xx:328}, {id:1, yy:2195, xx:167}, {id:8, yy:2217, xx:413, ska:70}, {id:8, yy:2235, xx:287}, {id:9, yy:2249, xx:66}, {id:1, yy:2270, xx:132}, {id:8, yy:2286, xx:365}, {id:7, yy:2306, xx:308}, {id:8, yy:2330, xx:257}, {id:3, yy:2331, xx:519}, {id:1, yy:2345, xx:324}, {id:8, yy:2360, xx:59}, {id:8, yy:2429, xx:324, ska:80}, {id:8, yy:2464, xx:504, ska:70}];
pos9 = [{id:1, yy:44, xx:97}, {id:8, yy:63, xx:390}, {id:1, yy:79, xx:185}, {id:1, yy:109, xx:469}, {id:8, yy:133, xx:306, ska:80}, {id:8, yy:172, xx:71, ska:80}, {id:8, yy:185, xx:429, ska:90}, {id:2, yy:239, xx:242}, {id:8, yy:240, xx:525, ska:80}, {id:1, yy:275, xx:342}, {id:8, yy:281, xx:424}, {id:8, yy:297, xx:57}, {id:8, yy:335, xx:300}, {id:2, yy:347, xx:166}, {id:1, yy:399, xx:254}, {id:8, yy:413, xx:524}, {id:8, yy:445, xx:93, ska:80}, {id:1, yy:459, xx:471}, {id:8, yy:469, xx:386}, {id:1, yy:529, xx:299}, {id:8, yy:537, xx:494, ska:70}, {id:2, yy:573, xx:436}, {id:8, yy:616, xx:137, ska:90}, {id:1, yy:631, xx:59}, {id:8, yy:636, xx:492, ska:80}, {id:9, yy:647, xx:239}, {id:8, yy:662, xx:411, ska:80}, {id:1, yy:694, xx:557}, {id:9, yy:701, xx:301}, {id:4, yy:760, xx:93}, {id:1, yy:764, xx:538}, {id:3, yy:802, xx:359}, {id:2, yy:816, xx:80}, {id:1, yy:831, xx:227}, {id:1, yy:833, xx:459}, {id:8, yy:844, xx:539, ska:80}, {id:8, yy:867, xx:176, ska:90}, {id:2, yy:911, xx:486}, {id:8, yy:943, xx:78, ska:70}, {id:8, yy:973, xx:340, ska:80}, {id:1, yy:1003, xx:209}, {id:8, yy:1023, xx:530}, {id:8, yy:1025, xx:428}, {id:8, yy:1110, xx:100, ska:80}, {id:1, yy:1121, xx:416}, {id:8, yy:1134, xx:183}, {id:1, yy:1139, xx:277}, {id:2, yy:1199, xx:311}, {id:8, yy:1200, xx:468}, {id:8, yy:1265, xx:144, ska:90}, {id:1, yy:1280, xx:66}, {id:8, yy:1284, xx:338, ska:80}, {id:8, yy:1307, xx:432}];
pos10 = [{id:1, yy:44, xx:158}, {id:8, yy:79, xx:215}, {id:7, yy:108, xx:164}, {id:8, yy:129, xx:113}, {id:1, yy:153, xx:398}, {id:8, yy:160, xx:542}, {id:8, yy:184, xx:181, ska:80}, {id:8, yy:231, xx:447, ska:80}, {id:8, yy:269, xx:537, ska:80}, {id:1, yy:281, xx:258}, {id:8, yy:299, xx:149, ska:90}, {id:1, yy:329, xx:458}, {id:5, yy:401, xx:85}, {id:8, yy:483, xx:144}, {id:8, yy:501, xx:548}, {id:8, yy:565, xx:314}, {id:8, yy:569, xx:91, ska:80}, {id:8, yy:618, xx:383, ska:70}, {id:1, yy:653, xx:240}, {id:8, yy:685, xx:205, ska:80}, {id:1, yy:689, xx:440}, {id:8, yy:698, xx:533}, {id:8, yy:699, xx:83, ska:70}, {id:2, yy:806, xx:109}, {id:1, yy:889, xx:86}, {id:5, yy:931, xx:85}, {id:8, yy:965, xx:455, ska:80}, {id:8, yy:1029, xx:70}, {id:8, yy:1039, xx:550}, {id:1, yy:1049, xx:234}, {id:8, yy:1053, xx:414}, {id:8, yy:1134, xx:135, ska:80}, {id:2, yy:1160, xx:556}, {id:5, yy:1254, xx:85}, {id:8, yy:1310, xx:529, ska:80}, {id:8, yy:1353, xx:440}, {id:8, yy:1353, xx:89}, {id:3, yy:1354, xx:277}, {id:8, yy:1460, xx:173}, {id:8, yy:1460, xx:403, ska:90}, {id:8, yy:1547, xx:250}, {id:3, yy:1585, xx:387}, {id:1, yy:1622, xx:303}, {id:8, yy:1652, xx:208}, {id:8, yy:1664, xx:493, ska:80}, {id:8, yy:1692, xx:566, ska:70}, {id:1, yy:1702, xx:392}, {id:8, yy:1716, xx:291}, {id:8, yy:1760, xx:150, ska:80}, {id:6, yy:1768, xx:294}, {id:8, yy:1790, xx:244}, {id:9, yy:1860, xx:564}, {id:8, yy:1899, xx:307}, {id:8, yy:1914, xx:70}, {id:9, yy:1927, xx:429}, {id:8, yy:1963, xx:236}, {id:8, yy:1984, xx:338}, {id:9, yy:2035, xx:468}, {id:8, yy:2086, xx:77, ska:80}, {id:8, yy:2091, xx:298}, {id:9, yy:2126, xx:535}, {id:8, yy:2157, xx:153}, {id:8, yy:2264, xx:333}, {id:1, yy:2290, xx:453}, {id:2, yy:2308, xx:570}, {id:8, yy:2339, xx:209, ska:80}];
pos11 = [{id:8, yy:34, xx:556, ska:80}, {id:8, yy:41, xx:63}, {id:1, yy:79, xx:238}, {id:8, yy:86, xx:473, ska:80}, {id:8, yy:102, xx:173, ska:80}, {id:5, yy:116, xx:93}, {id:7, yy:129, xx:480}, {id:8, yy:146, xx:437, ska:80}, {id:8, yy:168, xx:111}, {id:8, yy:179, xx:537, ska:90}, {id:8, yy:244, xx:48}, {id:8, yy:245, xx:563, ska:80}, {id:2, yy:252, xx:553}, {id:8, yy:276, xx:177}, {id:8, yy:312, xx:359, ska:90}, {id:5, yy:318, xx:96}, {id:8, yy:337, xx:513}, {id:1, yy:390, xx:205}, {id:8, yy:396, xx:128, ska:80}, {id:8, yy:448, xx:407, ska:80}, {id:8, yy:473, xx:59}, {id:8, yy:478, xx:571, ska:70}, {id:1, yy:492, xx:307}, {id:8, yy:511, xx:193}, {id:5, yy:542, xx:99}, {id:8, yy:554, xx:470}, {id:8, yy:602, xx:143, ska:72}, {id:1, yy:606, xx:394}, {id:8, yy:675, xx:101}, {id:8, yy:693, xx:349, ska:70}, {id:8, yy:705, xx:547}, {id:5, yy:733, xx:88}, {id:8, yy:759, xx:421}, {id:8, yy:799, xx:512, ska:90}, {id:8, yy:884, xx:420, ska:80}, {id:8, yy:913, xx:556}, {id:1, yy:952, xx:216}, {id:8, yy:970, xx:310, ska:80}, {id:4, yy:1049, xx:82}, {id:8, yy:1052, xx:338, ska:90}, {id:8, yy:1079, xx:497, ska:80}, {id:8, yy:1122, xx:121, ska:90}, {id:8, yy:1138, xx:552, ska:70}, {id:8, yy:1168, xx:56}, {id:1, yy:1211, xx:565}, {id:8, yy:1237, xx:410}, {id:8, yy:1268, xx:94}, {id:2, yy:1333, xx:574}, {id:8, yy:1401, xx:250, ska:90}, {id:1, yy:1411, xx:345}, {id:8, yy:1492, xx:125}, {id:1, yy:1507, xx:549}, {id:8, yy:1514, xx:386, ska:90}, {id:6, yy:1561, xx:360}, {id:8, yy:1580, xx:319, ska:70}, {id:8, yy:1598, xx:431}, {id:3, yy:1634, xx:189}, {id:3, yy:1634, xx:339}, {id:8, yy:1692, xx:558, ska:90}, {id:8, yy:1713, xx:83, ska:70}, {id:8, yy:1740, xx:473, ska:90}, {id:8, yy:1767, xx:299, ska:70}, {id:8, yy:1831, xx:455}, {id:9, yy:1880, xx:167}, {id:9, yy:1965, xx:100}, {id:8, yy:1966, xx:339}, {id:1, yy:1981, xx:262}, {id:9, yy:2032, xx:174}, {id:8, yy:2040, xx:411}, {id:9, yy:2075, xx:49}, {id:8, yy:2086, xx:249, ska:80}, {id:9, yy:2166, xx:126}];
pos12 = [{id:8, yy:63, xx:359}, {id:1, yy:116, xx:179}, {id:8, yy:133, xx:397, ska:80}, {id:8, yy:172, xx:535, ska:80}, {id:8, yy:200, xx:269, ska:90}, {id:1, yy:213, xx:39}, {id:8, yy:230, xx:461, ska:80}, {id:8, yy:240, xx:107, ska:80}, {id:7, yy:261, xx:505}, {id:8, yy:301, xx:176}, {id:8, yy:305, xx:499, ska:80}, {id:8, yy:327, xx:357, ska:80}, {id:8, yy:360, xx:90}, {id:8, yy:366, xx:558, ska:90}, {id:8, yy:403, xx:391}, {id:2, yy:431, xx:31}, {id:6, yy:452, xx:394}, {id:8, yy:471, xx:351, ska:70}, {id:4, yy:556, xx:88}, {id:8, yy:600, xx:451, ska:90}, {id:8, yy:614, xx:50, ska:90}, {id:8, yy:646, xx:177, ska:80}, {id:1, yy:655, xx:362}, {id:8, yy:673, xx:124, ska:80}, {id:8, yy:733, xx:88, ska:80}, {id:1, yy:737, xx:542}, {id:1, yy:817, xx:152}, {id:5, yy:824, xx:103}, {id:8, yy:845, xx:411, ska:90}, {id:8, yy:931, xx:360, ska:80}, {id:8, yy:948, xx:275}, {id:1, yy:959, xx:112}, {id:8, yy:1008, xx:510, ska:90}, {id:8, yy:1020, xx:234, ska:80}, {id:8, yy:1044, xx:416, ska:80}, {id:8, yy:1078, xx:477, ska:70}, {id:1, yy:1079, xx:347}, {id:8, yy:1110, xx:76, ska:80}, {id:1, yy:1181, xx:257}, {id:8, yy:1215, xx:511, ska:70}, {id:8, yy:1267, xx:59}, {id:8, yy:1269, xx:453}, {id:2, yy:1278, xx:544}, {id:5, yy:1306, xx:107}, {id:1, yy:1388, xx:232}, {id:8, yy:1394, xx:552, ska:90}, {id:8, yy:1414, xx:94}, {id:8, yy:1420, xx:481, ska:70}, {id:8, yy:1482, xx:431}, {id:1, yy:1488, xx:543}, {id:8, yy:1528, xx:103, ska:70}, {id:3, yy:1560, xx:271}, {id:8, yy:1590, xx:522, ska:70}, {id:8, yy:1599, xx:56}, {id:1, yy:1663, xx:150}, {id:8, yy:1694, xx:559, ska:80}, {id:8, yy:1715, xx:236}, {id:2, yy:1732, xx:480}, {id:6, yy:1765, xx:200}, {id:8, yy:1781, xx:144}, {id:8, yy:1828, xx:242, ska:70}, {id:1, yy:1843, xx:361}, {id:8, yy:1863, xx:505, ska:70}, {id:1, yy:1903, xx:145}, {id:8, yy:1911, xx:39}, {id:8, yy:1937, xx:365, ska:80}, {id:8, yy:1961, xx:450}, {id:1, yy:1995, xx:215}, {id:8, yy:2020, xx:79, ska:70}, {id:8, yy:2040, xx:137}, {id:3, yy:2079, xx:271}, {id:8, yy:2087, xx:64, ska:90}, {id:8, yy:2172, xx:495, ska:90}, {id:3, yy:2256, xx:315}, {id:8, yy:2257, xx:127, ska:80}, {id:8, yy:2266, xx:543}, {id:8, yy:2322, xx:469, ska:80}, {id:1, yy:2325, xx:113}, {id:8, yy:2351, xx:41}, {id:8, yy:2381, xx:418}, {id:1, yy:2445, xx:201}];
pos13 = [{id:8, yy:63, xx:512}, {id:4, yy:100, xx:82}, {id:8, yy:143, xx:327, ska:80}, {id:8, yy:157, xx:399}, {id:8, yy:222, xx:321}, {id:4, yy:269, xx:82}, {id:8, yy:300, xx:196}, {id:8, yy:355, xx:538}, {id:4, yy:403, xx:82}, {id:8, yy:413, xx:369, ska:90}, {id:1, yy:446, xx:484}, {id:8, yy:461, xx:283}, {id:1, yy:528, xx:212}, {id:8, yy:532, xx:429, ska:80}, {id:8, yy:545, xx:62, ska:90}, {id:8, yy:611, xx:452, ska:80}, {id:2, yy:641, xx:569}, {id:8, yy:683, xx:422, ska:80}, {id:8, yy:689, xx:327}, {id:6, yy:743, xx:320}, {id:1, yy:743, xx:232}, {id:8, yy:761, xx:57, ska:80}, {id:8, yy:765, xx:373}, {id:9, yy:842, xx:471}, {id:8, yy:874, xx:261, ska:72}, {id:2, yy:881, xx:21}, {id:9, yy:915, xx:535}, {id:9, yy:958, xx:171}, {id:8, yy:958, xx:265, ska:80}, {id:8, yy:975, xx:351}, {id:9, yy:998, xx:110}, {id:9, yy:1036, xx:210}, {id:8, yy:1079, xx:303, ska:80}, {id:8, yy:1139, xx:259, ska:80}, {id:1, yy:1154, xx:538}, {id:8, yy:1181, xx:344}, {id:5, yy:1245, xx:98}, {id:5, yy:1382, xx:99}, {id:8, yy:1448, xx:419}, {id:1, yy:1513, xx:282}, {id:8, yy:1542, xx:381}, {id:8, yy:1559, xx:512}, {id:8, yy:1608, xx:267, ska:70}, {id:2, yy:1636, xx:17}, {id:8, yy:1644, xx:549, ska:70}, {id:8, yy:1697, xx:369}, {id:1, yy:1746, xx:127}, {id:8, yy:1801, xx:555, ska:70}, {id:8, yy:1821, xx:67}, {id:8, yy:1868, xx:425}, {id:1, yy:1874, xx:279}, {id:8, yy:1950, xx:516, ska:80}, {id:9, yy:1984, xx:124}, {id:8, yy:1992, xx:341, ska:70}, {id:8, yy:2033, xx:403, ska:80}, {id:9, yy:2033, xx:229}, {id:8, yy:2081, xx:306}, {id:9, yy:2112, xx:184}, {id:8, yy:2118, xx:543}, {id:8, yy:2158, xx:61, ska:80}, {id:8, yy:2174, xx:375}, {id:8, yy:2216, xx:245, ska:80}, {id:1, yy:2244, xx:50}, {id:8, yy:2275, xx:298, ska:90}, {id:7, yy:2320, xx:268}, {id:8, yy:2330, xx:381}, {id:8, yy:2344, xx:303, ska:70}, {id:2, yy:2349, xx:575}, {id:8, yy:2408, xx:226}];
pos21 = [{id:8, yy:83, xx:332, ska:80}, {id:8, yy:253, xx:128}, {id:8, yy:345, xx:522, ska:70}, {id:8, yy:408, xx:310, ska:90}];
pos22 = [{id:8, yy:101, xx:238, ska:80}, {id:8, yy:232, xx:442, ska:80}, {id:8, yy:360, xx:534}, {id:8, yy:433, xx:146, ska:90}];
pos0 = [{id:8, yy:200, xx:500, ska:90}, {id:8, yy:250, xx:120, ska:70}, {id:8, yy:360, xx:154, ska:90}];
Frame 18
call("pro");
fadescreen(8);
if (!udamusik) {
udamusik = 1;
stopAllSounds();
r.createEmptyMovieClip("sfx", 60001);
allsfx = ["ztransform", "zexplosion", "zflash", "zbossexp", "zexplode", "zbomb", "zhit", "zbonus"];
var i = 0;
while (i < allsfx.length) {
r[allsfx[i]] = new Sound(sfx);
r[allsfx[i]].attachSound(allsfx[i]);
i++;
}
r.createEmptyMovieClip("sfx2", 60002);
r.zloop = new Sound(sfx2);
r.zloop.attachSound("zloop");
r.zloop.start(0, 99999);
r.createEmptyMovieClip("sfx3", 60003);
r.zsea = new Sound(sfx3);
r.zsea.attachSound("zsea");
r.zsea.start(0, 99999);
r.zloop.setVolume(100);
r.zsea.setVolume(0);
r.zhit.setVolume(100);
}
stop();
Frame 26
fadescreen(8);
stop();
Frame 27
a.gotoAndStop(2);
d = 30;
onEnterFrame = function () {
d--;
if (!d) {
delete onEnterFrame;
gotoAndStop ("ins3");
}
};
stop();
Frame 28
stop();
Frame 29
stop();
Frame 35
_global.m = this.map;
_global.m2 = this.map2;
_global.p = m.player;
_global.bg = m.bg;
p.swapDepths(299999);
delete onEnterFrame;
call("pro");
call("pos");
fadescreen(8);
if (!r.level) {
r.level = 1;
r.startfrom = r.level;
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]);
seabubblex = [20, 50, 100, 150, 200, 250, 300, 350, 400, 500];
hp1 = [{xx:25, yy:-8}, {xx:13, yy:-4}, {xx:19, yy:9}, {xx:-2, yy:8}, {xx:-25, yy:4}, {xx:-4, yy:-3}, {xx:5, yy:-15}, {xx:13, yy:-21}, {xx:25, yy:-20}];
hp2 = [{xx:-25, yy:-8}, {xx:-12, yy:-4}, {xx:-19, yy:9}, {xx:3, yy:8}, {xx:25, yy:4}, {xx:4, yy:-3}, {xx:-5, yy:-15}, {xx:-13, yy:-21}, {xx:-25, yy:-20}];
hei = 400;
wid = 600;
ynow = 0;
ynow2 = (ynow + hei) + 100;
pos = [];
levelitemcount = [];
levelitemlast = [];
itemcount = 0;
getleveldata(r.level);
xmin = 50;
xmax = 550;
midx = 300;
circlespeed = 5;
pwid = 28;
phei = 22;
energy = (energymax = 100);
energyless = 5;
invhitdelay = 30;
hd = 1;
hit = (inv = (win = (lose = (pressed = (nopress = (bossout = 0))))));
minetypenow = r.level;
ed = 340000 /* 0x053020 */;
kd = 300000 /* 0x0493E0 */;
bd = 280000 /* 0x0445C0 */;
popd = 500000 /* 0x07A120 */;
all = [];
mines = [];
minetype = [1, 2, 3, 4];
mineradius = 36;
fishtype = [1, 2, 3, 4];
resetrandom();
m2.attachMovie("levelsign", "levelsign", 100, {_x:300, _y:315});
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++;
if (r.music) {
r.zsea.setVolume(100);
}
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].yy < r.ynow2) {
it = pos.shift();
if (it.id == 1) {
m.attachMovie("fish", "e" + r.ed, r.ed, {_x:it.xx, _y:it.yy, tipe:getrandom("fishtype")});
r.ed++;
} else if (it.id == 2) {
m.attachMovie("blowfish", "e" + r.ed, r.ed, {_x:it.xx, _y:it.yy});
r.ed++;
} else if (it.id == 3) {
m.attachMovie("fishcirc", "e" + r.ed, r.ed, {_x:it.xx, _y:it.yy});
r.ed++;
} else if (it.id == 4) {
m.attachMovie("shark", "e" + r.ed, r.ed, {_x:it.xx, _y:it.yy});
r.ed++;
} else if (it.id == 5) {
m.attachMovie("eel", "e" + r.ed, r.ed, {_x:it.xx, _y:it.yy});
r.ed++;
} else if (it.id == 6) {
m.attachMovie("bonus1", "e" + r.ed, r.ed, {_x:it.xx, _y:it.yy});
r.ed++;
} else if (it.id == 7) {
m.attachMovie("bonus2", "e" + r.ed, r.ed, {_x:it.xx, _y:it.yy});
r.ed++;
} else if (it.id == 8) {
if (!it.ska) {
it.ska = 100;
}
m.attachMovie("mine", "e" + r.kd, r.kd, {_x:it.xx, _y:it.yy, _xscale:it.ska, _yscale:it.ska});
r.kd++;
} else if (it.id == 9) {
m.attachMovie("jellyfish", "e" + r.ed, r.ed, {_x:it.xx, _y:it.yy});
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);
}
};
stop();
Instance of Symbol 584 MovieClip in Frame 35
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 - 3, 4)) == "TEST") {
energize(r.energymax);
r.zbonus.start();
keypressed = "";
} else if ((substring(keypressed, keypressed.length - 4, 5)) == "FLASH") {
r.circlespeed = 14;
r.zbonus.start();
keypressed = "";
} else if ((substring(keypressed, keypressed.length - 3, 4)) == "WOAH") {
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;
}
i++;
}
keypressed = "";
}
}
Frame 36
delete onEnterFrame;
r.zsea.setVolume(0);
fadescreen();
stop();
Frame 43
call("end");
Symbol 1 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 2 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 3 MovieClip [blink] Frame 1
d = r.invhitdelay;
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 13 MovieClip Frame 12
gotoAndPlay (1);
Symbol 25 MovieClip Frame 30
gotoAndPlay (1);
Symbol 28 MovieClip Frame 1
stop();
Symbol 28 MovieClip Frame 40
r.gotoAndPlay("menu");
Symbol 39 MovieClip Frame 1
stop();
Symbol 43 MovieClip Frame 1
gotoAndStop(1 + random(_totalframes));
Symbol 44 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 58 MovieClip Frame 1
stop();
Symbol 72 MovieClip Frame 1
stop();
Symbol 86 MovieClip Frame 1
stop();
Symbol 100 MovieClip Frame 1
stop();
Symbol 101 MovieClip Frame 1
gotoAndStop(_parent.tipe);
Symbol 102 MovieClip [fish] Frame 1
r.all.push(this);
if (!tipe) {
tipe = 1;
}
hitid = 1;
wid = (hei = 5);
mindx = wid + r.pwid;
mindy = hei + r.phei;
range = 28;
closedx = mindx + range;
closedy = mindy + range;
xs = (speed = 1 + (0.1 * random(10)));
if (_x > r.midx) {
xs = -xs;
a._xscale = -a._xscale;
}
onEnterFrame = function () {
_x = (_x + xs);
if (hit) {
r.all.removeValue(this);
delete onEnterFrame;
gotoAndPlay ("hit");
} else if (((_y < ((-r.ynow) - 20)) or (_x < -50)) or (_x > 650)) {
r.all.removeValue(this);
this.removeMovieClip();
} else {
dx = p._x - _x;
dy = p._y - _y;
if (Math.abs(dy) < closedy) {
if (Math.abs(dx) < closedx) {
delete onEnterFrame;
gotoAndPlay ("attack");
}
}
}
};
stop();
Symbol 102 MovieClip [fish] Frame 2
uda = 0;
space = 20;
maxspeed = 20;
ang = Math.atan2(dy + space, dx);
xs = (xsmin = (Math.cos(ang) * 3) * speed);
ys = (ysmin = (Math.sin(ang) * 3) * speed);
xsmax = Math.cos(ang) * maxspeed;
ysmax = Math.sin(ang) * maxspeed;
if (p._x > _x) {
a._rotation = deg(ang);
a._xscale = Math.abs(a._xscale);
} else {
a._rotation = deg(ang) - 180;
a._xscale = -Math.abs(a._xscale);
}
div = 1.5;
d = 10;
onEnterFrame = function () {
_x = (_x + xs);
_y = (_y + ys);
if (xs > 0) {
xs = Math.max(xsmin, Math.min(xsmax, xs * div));
} else {
xs = Math.min(xsmin, Math.max(xsmax, xs * div));
}
if (ys > 0) {
ys = Math.max(ysmin, Math.min(ysmax, ys * div));
} else {
ys = Math.min(ysmin, Math.max(ysmax, ys * div));
}
d--;
if (!d) {
div = 0.8;
}
if (hit) {
r.all.removeValue(this);
delete onEnterFrame;
gotoAndPlay ("hit");
} else if (((_y < ((-r.ynow) - 20)) or (_x < -50)) or (_x > 650)) {
r.all.removeValue(this);
this.removeMovieClip();
} else if (!uda) {
var _local2 = cekboxcoll(_x, _y, wid, hei, p._x, p._y, r.pwid, r.phei);
if (_local2) {
uda = 1;
r.hit = this;
}
}
};
stop();
Symbol 102 MovieClip [fish] Frame 10
a.a.gotoAndStop("hit");
a._rotation = 0;
minspeed = 8;
div = 0.8;
xs = 35 + (0.1 * random(20));
if (p._x < _x) {
a._xscale = Math.abs(a._xscale);
} else {
xs = -xs;
a._xscale = -Math.abs(a._xscale);
}
var b = -100;
var cl = new Color(a);
cl.setBrightness(b);
d = 1;
onEnterFrame = function () {
d--;
if (!d) {
onEnterFrame = function () {
if (b) {
if (b < 0) {
b = 100;
}
b = b - 20;
cl.setBrightness(b);
if (!b) {
cl.resetColor();
}
}
_x = (_x + xs);
if (xs > 0) {
xs = Math.max(minspeed, xs * div);
} else {
xs = Math.min(-minspeed, xs * div);
}
if (((_y < ((-r.ynow) - 20)) or (_x < -50)) or (_x > 650)) {
this.removeMovieClip();
}
};
}
};
stop();
Symbol 108 MovieClip Frame 1
if (_parent.c > 1) {
gotoAndStop (2);
} else {
stop();
}
Symbol 110 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 110 MovieClip [popscore] Frame 25
onEnterFrame = function () {
_alpha = (_alpha - 15);
};
Symbol 110 MovieClip [popscore] Frame 32
this.removeMovieClip();
Symbol 132 MovieClip [bgall] Frame 1
gotoAndStop(no);
Symbol 134 MovieClip Frame 1
_visible = false;
Symbol 149 MovieClip Frame 1
gotoAndStop(((r.minetypenow - 1) * 10) + _parent.no);
Symbol 150 MovieClip [mine] Frame 1
r.mines.push(this);
hitid = 9;
no = getrandom("minetype");
outpos = r.ynow - 600;
onEnterFrame = function () {
if (r.ynow < outpos) {
r.mines.removeValue(this);
this.removeMovieClip();
}
};
stop();
Symbol 166 MovieClip Frame 1
stop();
Symbol 167 MovieClip [fishcirc] Frame 1
hitid = 1;
wid = (hei = 5);
uda = 0;
r.all.push(this);
x0 = _x;
y0 = _y;
radius = 60;
ang = 0;
ro = 5;
if (random(100) > 50) {
ro = -ro;
_yscale = -100;
}
onEnterFrame = function () {
var _local2 = (ang * Math.PI) / 180;
_x = (x0 + (radius * Math.cos(_local2)));
_y = (y0 + (radius * Math.sin(_local2)));
ang = ang + ro;
ang = ang % 360;
_rotation = ang;
if (hit) {
r.all.removeValue(this);
delete onEnterFrame;
gotoAndPlay ("hit");
} else if (_y < ((-r.ynow) - 100)) {
r.all.removeValue(this);
this.removeMovieClip();
} else if (!uda) {
var _local3 = cekboxcoll(_x, _y, wid, hei, p._x, p._y, r.pwid, r.phei);
if (_local3) {
uda = 1;
r.hit = this;
}
}
};
stop();
Symbol 167 MovieClip [fishcirc] Frame 2
a.gotoAndStop("hit");
_rotation = 0;
_yscale = 100;
_xscale = 100;
a._rotation = 0;
a._xscale = (a._yscale = 100);
minspeed = 8;
div = 0.8;
xs = 35 + (0.1 * random(20));
if (p._x < _x) {
a._xscale = Math.abs(a._xscale);
} else {
xs = -xs;
a._xscale = -Math.abs(a._xscale);
}
var b = -100;
var cl = new Color(a);
cl.setBrightness(b);
d = 1;
onEnterFrame = function () {
d--;
if (!d) {
onEnterFrame = function () {
if (b) {
if (b < 0) {
b = 100;
}
b = b - 20;
cl.setBrightness(b);
if (!b) {
cl.resetColor();
}
}
_x = (_x + xs);
if (xs > 0) {
xs = Math.max(minspeed, xs * div);
} else {
xs = Math.min(-minspeed, xs * div);
}
if (((_y < ((-r.ynow) - 20)) or (_x < -50)) or (_x > 650)) {
this.removeMovieClip();
}
};
}
};
stop();
Symbol 171 MovieClip Frame 1
a = "LEVEL " + r.level;
Symbol 173 MovieClip [levelsign] Frame 1
_visible = false;
if (!r.ang) {
pos = r.ynow - 80;
} else {
pos = r.ynow - 500;
}
onEnterFrame = function () {
if (r.ynow < pos) {
delete onEnterFrame;
play();
}
};
stop();
Symbol 173 MovieClip [levelsign] Frame 2
_visible = true;
r.startfrom = r.level;
Symbol 173 MovieClip [levelsign] Frame 37
r.minetypenow = r.level;
this.removeMovieClip();
stop();
Symbol 181 MovieClip [bonus1] Frame 1
initbonus(1);
stop();
Symbol 181 MovieClip [bonus1] Frame 15
this.removeMovieClip();
stop();
Symbol 187 MovieClip [bonus2] Frame 1
initbonus(2);
stop();
Symbol 187 MovieClip [bonus2] Frame 15
this.removeMovieClip();
stop();
Symbol 190 MovieClip [allred] Frame 6
r.zbomb.start();
Symbol 190 MovieClip [allred] Frame 12
this.removeMovieClip();
Symbol 193 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 193 MovieClip [popbonus] Frame 25
onEnterFrame = function () {
_alpha = (_alpha - 15);
};
Symbol 193 MovieClip [popbonus] Frame 32
this.removeMovieClip();
Symbol 206 MovieClip Frame 1
if (!uda) {
uda = 1;
gotoAndPlay(Number(_name));
}
Symbol 238 MovieClip Frame 4
stop();
Symbol 239 MovieClip Frame 1
if (_name == "t1") {
a._xscale = -50;
}
stop();
Symbol 239 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 247 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 _local2 = this;
_local2.starty = (-r.ynow) + 300;
_local2._y = _local2._y + (_local2.ys + r.bgspeed);
if (_local2._y > _local2.starty) {
_local2.ys = Math.max(_local2.ys - _local2.speed, -_local2.range);
} else {
_local2.ys = Math.min(_local2.ys + _local2.speed, _local2.range);
}
_local2._x = _local2._x + _local2.xs;
if (_local2._x > _local2.startx) {
_local2.xs = Math.max(_local2.xs - _local2.speed, -_local2.xrange);
} else {
_local2.xs = Math.min(_local2.xs + _local2.speed, _local2.xrange);
}
};
startx = _x;
starty = _y;
ys = (range = 3);
xs = (xrange = 8.5);
speed = 0.15;
wid = (hei = 50);
energy = 50;
hitid = 8;
radius = 50;
radius2 = radius * radius;
_global.boss = this;
turn = 1;
count = (countnormal = 4);
r.mines.push(this);
resettentacles();
Symbol 247 MovieClip [boss] Frame 2
resettentacles();
float();
d = 3;
uda = 0;
onEnterFrame = function () {
float();
uda = Math.max(0, uda - 1);
if (!uda) {
var _local2 = cekboxcoll(_x, _y, wid, hei, p._x, p._y, r.pwid, r.phei);
if (_local2) {
uda = 30;
r.hit = this;
}
}
if ((_x > 200) and (_x < 400)) {
d--;
if (!d) {
gotoAndPlay ("attack");
delete onEnterFrame;
}
}
};
stop();
Symbol 247 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 ("wait");
} else {
gotoAndPlay (2);
}
}
if (energy <= 0) {
delete onEnterFrame;
gotoAndPlay ("die");
}
};
stop();
Symbol 247 MovieClip [boss] Frame 10
resettentacles();
float();
d = 40;
onEnterFrame = function () {
float();
d--;
if (!d) {
delete onEnterFrame;
gotoAndPlay (2);
}
if (energy <= 0) {
delete onEnterFrame;
gotoAndPlay ("die");
}
};
stop();
Symbol 247 MovieClip [boss] Frame 16
resettentacles();
t1.gotoAndStop(3);
t2.gotoAndStop(3);
t3.gotoAndStop(3);
r.mines.removeValue(this);
m.attachMovie("seabed", "seabed", r.ed, {_x:0, _y:(((-r.ynow) + 400) + 393) + 300});
r.ed++;
ys = -2;
onEnterFrame = function () {
_y = (_y + ys);
ys = ys - 1;
if (_y < ((-r.ynow) - 100)) {
this.removeMovieClip();
}
};
stop();
Symbol 251 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 251 MovieClip [popscoreboss] Frame 25
onEnterFrame = function () {
_alpha = (_alpha - 15);
};
Symbol 251 MovieClip [popscoreboss] Frame 32
this.removeMovieClip();
Symbol 255 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;
r.got = 0;
r.zflash.start();
radius = Math.floor(_width / 2);
radius2 = radius * radius;
xx = _parent._parent._parent._x;
yy = _parent._parent._parent._y;
xmin = xx - radius;
xmax = xx + radius;
ymin = yy - radius;
ymax = yy + radius;
var _local2 = 0;
while (_local2 < r.all.length) {
if (r.all[_local2]._y > ymin) {
if (r.all[_local2]._y < ymax) {
if (r.all[_local2]._x > xmin) {
if (r.all[_local2]._x < xmax) {
dx = r.all[_local2]._x - xx;
dy = r.all[_local2]._y - yy;
if (((dx * dx) + (dy * dy)) < radius2) {
r.all[_local2].hit = 1;
r.got++;
}
}
}
}
}
_local2++;
}
if (r.got > 0) {
r.ang = r.ang + r.gotscore[r.got];
popskor(r.got, r.gotscore[r.got]);
}
if (r.bossout) {
if (boss.energy > 0) {
if (radius >= 100) {
dx = boss._x - xx;
dy = boss._y - yy;
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);
}
}
}
}
delete onEnterFrame;
play();
}
};
stop();
Symbol 255 MovieClip [circ] Frame 5
this.removeMovieClip();
Symbol 258 MovieClip [bubble] Frame 1
if (!speed) {
ys = -0.5 - (random(30) / 10);
} else {
ys = speed;
}
_yscale = (50 + random(70));
_xscale = (50 + random(70));
range = 1.2 + (0.1 * random(10));
speed = 0.1 + (0.01 * random(15));
startx = _x;
xs = range;
onEnterFrame = function () {
_x = (_x + xs);
if (_x > startx) {
xs = Math.max(xs - speed, -range);
} else {
xs = Math.min(xs + speed, range);
}
_y = (_y + ys);
if (_y < (-r.ynow)) {
this.removeMovieClip();
}
};
stop();
Symbol 278 MovieClip [explosion] Frame 3
ys = -1;
onEnterFrame = function () {
_y = (_y + ys);
ys = ys - 0.5;
var _local1 = 0;
while (_local1 < 4) {
xran = random(100);
yran = random(70);
if (random(100) > 50) {
xran = -xran;
}
if (random(100) > 50) {
yran = -yran;
}
bubbling(_x + xran, _y + yran, -2 - (0.3 * random(70)));
_local1++;
}
};
Symbol 278 MovieClip [explosion] Frame 17
this.removeMovieClip();
Symbol 290 MovieClip Frame 1
stop();
Symbol 291 MovieClip [blowfish] Frame 1
r.all.push(this);
hitid = 1;
wid = (hei = 5);
mindx = wid + r.pwid;
mindy = hei + r.phei;
range = 200;
closedx = mindx + range;
closedy = mindy + range;
xs = (speed = 1 + (0.1 * random(10)));
if (_x > r.midx) {
xs = -xs;
a._xscale = -a._xscale;
}
onEnterFrame = function () {
_x = (_x + xs);
if (hit) {
r.all.removeValue(this);
delete onEnterFrame;
gotoAndPlay ("hit");
} else if (((_y < ((-r.ynow) - 20)) or (_x < -50)) or (_x > 650)) {
r.all.removeValue(this);
this.removeMovieClip();
} else {
dx = p._x - _x;
dy = p._y - _y;
if (Math.abs(dy) < closedy) {
if (Math.abs(dx) < closedx) {
delete onEnterFrame;
gotoAndPlay ("attack");
}
}
}
};
stop();
Symbol 291 MovieClip [blowfish] Frame 2
uda = 0;
if (r.level < 3) {
space = 80 + random(60);
} else {
space = 0;
}
maxspeed = 10;
ang = Math.atan2(dy + space, dx);
xs = (xsmin = (Math.cos(ang) * 3) * speed);
ys = (ysmin = (Math.sin(ang) * 3) * speed);
xsmax = Math.cos(ang) * maxspeed;
ysmax = Math.sin(ang) * maxspeed;
if (p._x > _x) {
a._rotation = deg(ang);
a._xscale = Math.abs(a._xscale);
} else {
a._rotation = deg(ang) - 180;
a._xscale = -Math.abs(a._xscale);
}
div = 1.5;
d = 20;
onEnterFrame = function () {
_x = (_x + xs);
_y = (_y + ys);
if (xs > 0) {
xs = Math.max(xsmin, Math.min(xsmax, xs * div));
} else {
xs = Math.min(xsmin, Math.max(xsmax, xs * div));
}
if (ys > 0) {
ys = Math.max(ysmin, Math.min(ysmax, ys * div));
} else {
ys = Math.min(ysmin, Math.max(ysmax, ys * div));
}
d--;
if (!d) {
div = 0.8;
}
if (hit) {
r.all.removeValue(this);
delete onEnterFrame;
gotoAndPlay ("hit");
} else if (((_y < ((-r.ynow) - 20)) or (_x < -50)) or (_x > 650)) {
r.all.removeValue(this);
this.removeMovieClip();
} else if (!uda) {
var _local2 = cekboxcoll(_x, _y, wid, hei, p._x, p._y, r.pwid, r.phei);
if (_local2) {
uda = 1;
r.hit = this;
}
}
};
stop();
Symbol 291 MovieClip [blowfish] Frame 10
a.gotoAndStop("hit");
a._rotation = 0;
minspeed = 8;
div = 0.8;
xs = 35 + (0.1 * random(20));
if (p._x < _x) {
a._xscale = Math.abs(a._xscale);
} else {
xs = -xs;
a._xscale = -Math.abs(a._xscale);
}
var b = -100;
var cl = new Color(a);
cl.setBrightness(b);
d = 1;
onEnterFrame = function () {
d--;
if (!d) {
onEnterFrame = function () {
if (b) {
if (b < 0) {
b = 100;
}
b = b - 20;
cl.setBrightness(b);
if (!b) {
cl.resetColor();
}
}
_x = (_x + xs);
if (xs > 0) {
xs = Math.max(minspeed, xs * div);
} else {
xs = Math.min(-minspeed, xs * div);
}
if (((_y < ((-r.ynow) - 20)) or (_x < -50)) or (_x > 650)) {
this.removeMovieClip();
}
};
}
};
stop();
Symbol 315 MovieClip Frame 1
stop();
Symbol 316 MovieClip [shark] Frame 1
r.all.push(this);
hitid = 2;
wid = 60;
hei = 35;
mindx = wid + r.pwid;
mindy = hei + r.phei;
xs = 2;
if (p._x < r.midx) {
a._xscale = -100;
_x = 600;
xs = -xs;
} else {
_x = 0;
}
ys = -2;
onEnterFrame = function () {
_x = (_x + xs);
_y = (_y + ys);
if (hit) {
r.all.removeValue(this);
delete onEnterFrame;
gotoAndPlay ("hit");
} else if (((_y < ((-r.ynow) - 60)) or (_x < -110)) or (_x > 710)) {
r.all.removeValue(this);
this.removeMovieClip();
} else if (Math.abs(p._y - _y) < 30) {
delete onEnterFrame;
gotoAndPlay ("attack");
}
};
stop();
Symbol 316 MovieClip [shark] Frame 2
a.gotoAndStop("attack");
uda = 0;
xs = xs * 4;
d = 10;
onEnterFrame = function () {
_x = (_x + xs);
xs = xs * 1.1;
if (hit) {
r.all.removeValue(this);
delete onEnterFrame;
gotoAndPlay ("hit");
} else if (((_y < ((-r.ynow) - 60)) or (_x < -110)) or (_x > 710)) {
r.all.removeValue(this);
this.removeMovieClip();
} else if (!uda) {
if (xs < 0) {
var _local2 = cekboxcoll(_x + wid, _y, wid, hei, p._x, p._y, r.pwid, r.phei);
} else {
var _local2 = cekboxcoll(_x - wid, _y, wid, hei, p._x, p._y, r.pwid, r.phei);
}
if (_local2) {
uda = 1;
r.hit = this;
}
}
};
stop();
Symbol 316 MovieClip [shark] Frame 10
a.gotoAndStop("hit");
minspeed = 15;
div = 0.8;
xs = 35 + (0.1 * random(20));
if (p._x < _x) {
a._xscale = Math.abs(a._xscale);
_x = (_x + (2 * wid));
} else {
xs = -xs;
_x = (_x - (2 * wid));
a._xscale = -Math.abs(a._xscale);
}
var b = -100;
var cl = new Color(a);
cl.setBrightness(b);
d = 1;
onEnterFrame = function () {
d--;
if (!d) {
onEnterFrame = function () {
if (b) {
if (b < 0) {
b = 100;
}
b = b - 20;
cl.setBrightness(b);
if (!b) {
cl.resetColor();
}
}
_x = (_x + xs);
if (xs > 0) {
xs = Math.max(minspeed, xs * div);
} else {
xs = Math.min(-minspeed, xs * div);
}
if (((_y < ((-r.ynow) - 60)) or (_x < (-_width))) or (_x > (600 + _width))) {
this.removeMovieClip();
}
};
}
};
stop();
Symbol 344 MovieClip [eel] Frame 1
hitid = 1;
uda = 0;
wid = 70;
hei = 18;
mindx = wid + r.pwid;
mindy = hei + r.phei;
xs = 20;
xmin = -100;
xmax = 700;
onEnterFrame = function () {
_x = (_x + xs);
if (_x < xmin) {
_x = xmin;
xs = Math.abs(xs);
a._xscale = 100;
} else if (_x > xmax) {
_x = xmax;
xs = -Math.abs(xs);
a._xscale = -100;
}
if (_y < ((-r.ynow) - 20)) {
this.removeMovieClip();
} else if (!uda) {
var _local2 = cekboxcoll(_x, _y, wid, hei, p._x, p._y, r.pwid, r.phei);
if (_local2) {
uda = 1;
r.hit = this;
}
}
};
stop();
Symbol 356 MovieClip Frame 19
stop();
Symbol 357 MovieClip [jellyfish] Frame 1
r.all.push(this);
uda = 0;
hitid = 1;
wid = (hei = 5);
mindx = wid + r.pwid;
mindy = hei + r.phei;
ysup = -6;
ysdown = 1;
onEnterFrame = function () {
if (a._currentframe > 12) {
ys = ysdown;
} else {
ys = ysup;
}
_y = (_y + ys);
if (hit) {
r.all.removeValue(this);
delete onEnterFrame;
gotoAndPlay ("hit");
} else if (_y < ((-r.ynow) - 20)) {
r.all.removeValue(this);
this.removeMovieClip();
} else if (!uda) {
var _local2 = cekboxcoll(_x + a.a._x, _y + a.a._y, wid, hei, p._x, p._y, r.pwid, r.phei);
if (_local2) {
uda = 1;
r.hit = this;
}
}
};
stop();
Symbol 357 MovieClip [jellyfish] Frame 5
ys = 3;
var b = -100;
var cl = new Color(a);
cl.setBrightness(b);
d = 1;
onEnterFrame = function () {
d--;
if (!d) {
onEnterFrame = function () {
if (b) {
if (b < 0) {
b = 100;
}
b = b - 20;
cl.setBrightness(b);
if (!b) {
cl.resetColor();
}
}
_y = (_y + ys);
ys++;
if (_y > ((-r.ynow) + 450)) {
this.removeMovieClip();
}
};
}
};
stop();
Symbol 380 MovieClip [seabed] Frame 1
onEnterFrame = function () {
if (_y < ((-r.ynow) + 400)) {
_y = ((-r.ynow) + 400);
r.bgspeed = 0;
d = 90;
onEnterFrame = function () {
_y = ((-r.ynow) + 400);
r.bgspeed = 0;
d--;
if (!d) {
r.gotoAndPlay("win");
}
};
}
};
stop();
Symbol 421 Button
on (release) {
r.gotoAndStop("ins");
}
Symbol 458 MovieClip Frame 15
stop();
Symbol 459 MovieClip Frame 1
stop();
Symbol 459 MovieClip Frame 2
r.ztransform.start();
d = 10;
onEnterFrame = function () {
d--;
if (!d) {
delete onEnterFrame;
play();
}
};
stop();
Symbol 459 MovieClip Frame 3
stop();
Symbol 462 Button
on (release) {
r.gotoAndStop("ins2");
}
Symbol 472 MovieClip Frame 1
appear(15);
Symbol 473 Button
on (release) {
r.gotoAndStop("ins4");
}
Symbol 480 MovieClip Frame 1
appear(15);
Symbol 481 Button
on (release) {
_tracker = new GameTrack_AS2(22000);
r.gotoAndPlay("start");
}
Symbol 493 MovieClip Frame 1
appear(15);
Symbol 545 MovieClip Frame 15
gotoAndPlay (1);
Symbol 550 MovieClip Frame 30
stop();
Symbol 551 MovieClip Frame 1
stop();
Symbol 556 MovieClip Frame 1
p.a.gotoAndStop("swim");
p._xscale = 100;
xspeed = 10;
yspeed = 0.8 * r.bgspeed;
d = 1;
onMouseDown = function () {
if (!r.nopress) {
r.pressed = 1;
r.presstime = 0;
p.a.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(r.xmin, Math.min(nx, r.xmax));
ny = Math.min((-r.ynow) + 250, 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;
xs = Math.min(xspeed, Math.max(xs, -xspeed));
ys = Math.min(yspeed, Math.max(ys, -yspeed));
nx = p._x + xs;
ny = (p._y + ys) + r.bgspeed;
if ((Math.abs(xs) > 1) or (Math.abs(ys) > 1)) {
var _local1 = Math.atan2(ys, xs);
if (nx > p._x) {
dv = 1;
p.a._xscale = 100;
p.a._rotation = deg(_local1);
} else {
dv = -1;
p.a._xscale = -100;
p.a._rotation = deg(_local1) - 180;
}
p.a._rotation = Math.max(-30, Math.min(30, p.a._rotation));
p.a.gotoAndStop("swim");
sethitp();
}
d--;
if (!d) {
d = 1 + random(6);
bubbling((p._x + (dv * 10)) + (dv * random(20)), p._y - 25);
}
cekmines();
p._x = nx;
p._y = ny;
if (r.nopress > 0) {
r.nopress--;
}
if (r.hit) {
if (r.inv) {
r.hit = 0;
} else {
delete onEnterFrame;
delete onMouseDown;
delete onMouseUp;
gotoAndPlay ("hit");
}
} else if (p._y < ((-r.ynow) - 60)) {
r.gotoAndPlay("end");
} else if (r.lose) {
delete onEnterFrame;
delete onMouseDown;
delete onMouseUp;
gotoAndPlay ("lose");
}
};
stop();
Symbol 556 MovieClip Frame 7
p.attachMovie("blink", "blink", 9001);
p.a.gotoAndStop("hit");
nocircle();
if (r.hit.hitid < 9) {
if (r.hit.hitid == 1) {
energize(-2 * r.energyless);
power = 10;
d = 3;
} else if (r.hit.hitid == 2) {
energize(-3 * r.energyless);
power = 20;
d = 6;
} else if (r.hit.hitid == 8) {
energize(-5 * r.energyless);
power = 10;
d = 3;
}
r.zhit.start();
} else if (r.hit.hitid == 9) {
energize(-3 * r.energyless);
power = 25;
d = 8;
}
dx = p._x - r.hit._x;
dy = p._y - r.hit._y;
ang = Math.atan2(dy, dx);
adx = power * Math.cos(ang);
ady = power * Math.sin(ang);
p._x = p._x + adx;
p._y = p._y + ady;
r.hit = 0;
onEnterFrame = function () {
p._x = p._x + adx;
p._y = p._y + (ady + r.bgspeed);
adx = adx * 0.8;
ady = ady * 0.8;
p._y = Math.max(-r.ynow, p._y);
p._x = Math.max(0, Math.min(p._x, 600));
d--;
if (!d) {
r.inv = r.invhitdelay;
delete onEnterFrame;
gotoAndPlay ("run");
}
};
stop();
Symbol 556 MovieClip Frame 12
p.a.gotoAndStop("hit");
p.a._rotation = 0;
d = 25;
onEnterFrame = function () {
p._y = p._y - 2;
r.bgspeed = r.bgspeed * 0.95;
d--;
if (!d) {
delete onEnterFrame;
r.gotoAndPlay("end");
}
};
stop();
Symbol 559 MovieClip Frame 9
stop();
Symbol 560 MovieClip Frame 5
stop();
Symbol 561 MovieClip Frame 1
stop();
Symbol 562 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++;
}
Symbol 562 MovieClip Frame 2
lim = Math.max(0, 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;
}
Symbol 562 MovieClip Frame 10
stop();
Symbol 568 Button
on (release) {
r.music = 0;
r.zloop.setVolume(0);
r.zsea.setVolume(0);
r.zhit.setVolume(0);
gotoAndStop (2);
}
Symbol 572 Button
on (release) {
r.music = 1;
r.zloop.setVolume(100);
r.zsea.setVolume(100);
r.zhit.setVolume(100);
gotoAndStop (1);
}
Symbol 573 MovieClip Frame 1
if (r.music) {
stop();
} else {
gotoAndStop (2);
}
Symbol 582 MovieClip Frame 1
seghei = 70;
levelnow = 0;
distance = [0, 5019, 13184, 22676, 33700];
var i = 1;
while (i < distance.length) {
distance[i] = distance[i] + 400;
i++;
}
segs = [0, 0, 0, 0, 0];
var i = r.startfrom;
while (i <= r.levelmax) {
segs[i] = segs[i - 1] + (distance[i] - distance[i - 1]);
i++;
}
onEnterFrame = function () {
if (r.level != levelnow) {
levelnow = r.level;
y2 = segs[r.level];
y1 = segs[r.level - 1];
sy = (r.level - 1) * seghei;
ymax = sy + seghei;
dis = y2 - y1;
}
tic._y = Math.min(ymax, sy + ((((-r.ynow) - y1) / dis) * seghei));
};
stop();
Symbol 586 MovieClip Frame 1
d = 1;
onEnterFrame = function () {
d--;
if (!d) {
delete onEnterFrame;
gotoAndPlay ("make");
}
};
stop();
Symbol 586 MovieClip Frame 6
total = 6 + random(6);
ranx = getrandom("seabubblex");
onEnterFrame = function () {
d--;
if (d < 0) {
d = 1 + random(5);
bubbling(ranx + random(80), r.ynow2);
total--;
if (!total) {
delete onEnterFrame;
gotoAndPlay ("idle");
}
}
};
stop();
Symbol 597 Button
on (release) {
_tracker.sendEventReplay();
r.ang = 0;
r.pos = [];
r.level = r.startfrom;
r.gotoAndPlay("start");
}
Symbol 615 MovieClip Frame 1
onEnterFrame = function () {
_rotation = (_rotation + 5);
};
Symbol 630 Button
on (release) {
_tracker.sendEventReplay();
r.level = 0;
r.ang = 0;
r.pos = [];
r.gotoAndPlay("start");
}