Frame 1
_quality = "HIGH";
_root.sound_on = true;
Stage.scaleMode = "noScale";
fscommand ("trapallkeys", true);
fscommand ("showmenu", "false");
_root.main_link = "http://www.2DPlay.com/index.php?gameid=1226&gamename=Crazy Pool";
_root.download_link = "http://www.2DPlay.com/downloadgame.php?gameid=1226&gamename=Crazy Pool";
_root.get_game_link = "http://www.2DPlay.com/freecontent.htm";
_root.scores_link = "http://www.2Dplay.com/highscores.php?gameid=1226&hiscore=";
_root.viewscores_link = "http://www.2Dplay.com/showscores.php?gameid=1226";
Frame 2
stop();
Frame 7
function PlayTrack(track_pl_num) {
var _local1 = _root;
var _local2 = track_pl_num;
switch (_local2) {
case 1 :
if (_local2 != _local1.track_playing) {
_local1.track_02_sfx.stop();
_local1.track_04_sfx.stop();
_local1.track_04_sfx.start(0, 9999);
_local1.track_playing = 1;
}
return;
case 2 :
if (_local2 == _local1.track_playing) {
break;
}
_local1.track_02_sfx.stop();
_local1.track_04_sfx.stop();
_local1.track_02_sfx.start(0, 9999);
_local1.track_playing = 2;
}
}
function hex_md5(s) {
return(binl2hex(core_md5(str2binl(s), s.length * chrsz)));
}
function b64_md5(s) {
return(binl2b64(core_md5(str2binl(s), s.length * chrsz)));
}
function str_md5(s) {
return(binl2str(core_md5(str2binl(s), s.length * chrsz)));
}
function hex_hmac_md5(key, data) {
return(binl2hex(core_hmac_md5(key, data)));
}
function b64_hmac_md5(key, data) {
return(binl2b64(core_hmac_md5(key, data)));
}
function str_hmac_md5(key, data) {
return(binl2str(core_hmac_md5(key, data)));
}
function md5_vm_test() {
return(hex_md5("abc") == "900150983cd24fb0d6963f7d28e17f72");
}
function core_md5(x, len) {
x[len >> 5] = x[len >> 5] | (128 << (len % 32));
x[(((len + 64) >>> 9) << 4) + 14] = len;
var a = 1732584193;
var _local3 = -271733879;
var _local2 = -1732584194;
var _local1 = 271733878 /* 0x10325476 */;
var i = 0;
while (i < x.length) {
var olda = a;
var oldb = _local3;
var oldc = _local2;
var oldd = _local1;
a = md5_ff(a, _local3, _local2, _local1, x[i + 0], 7, -680876936);
_local1 = md5_ff(_local1, a, _local3, _local2, x[i + 1], 12, -389564586);
_local2 = md5_ff(_local2, _local1, a, _local3, x[i + 2], 17, 606105819);
_local3 = md5_ff(_local3, _local2, _local1, a, x[i + 3], 22, -1044525330);
a = md5_ff(a, _local3, _local2, _local1, x[i + 4], 7, -176418897);
_local1 = md5_ff(_local1, a, _local3, _local2, x[i + 5], 12, 1200080426);
_local2 = md5_ff(_local2, _local1, a, _local3, x[i + 6], 17, -1473231341);
_local3 = md5_ff(_local3, _local2, _local1, a, x[i + 7], 22, -45705983);
a = md5_ff(a, _local3, _local2, _local1, x[i + 8], 7, 1770035416);
_local1 = md5_ff(_local1, a, _local3, _local2, x[i + 9], 12, -1958414417);
_local2 = md5_ff(_local2, _local1, a, _local3, x[i + 10], 17, -42063);
_local3 = md5_ff(_local3, _local2, _local1, a, x[i + 11], 22, -1990404162);
a = md5_ff(a, _local3, _local2, _local1, x[i + 12], 7, 1804603682);
_local1 = md5_ff(_local1, a, _local3, _local2, x[i + 13], 12, -40341101);
_local2 = md5_ff(_local2, _local1, a, _local3, x[i + 14], 17, -1502002290);
_local3 = md5_ff(_local3, _local2, _local1, a, x[i + 15], 22, 1236535329);
a = md5_gg(a, _local3, _local2, _local1, x[i + 1], 5, -165796510);
_local1 = md5_gg(_local1, a, _local3, _local2, x[i + 6], 9, -1069501632);
_local2 = md5_gg(_local2, _local1, a, _local3, x[i + 11], 14, 643717713);
_local3 = md5_gg(_local3, _local2, _local1, a, x[i + 0], 20, -373897302);
a = md5_gg(a, _local3, _local2, _local1, x[i + 5], 5, -701558691);
_local1 = md5_gg(_local1, a, _local3, _local2, x[i + 10], 9, 38016083);
_local2 = md5_gg(_local2, _local1, a, _local3, x[i + 15], 14, -660478335);
_local3 = md5_gg(_local3, _local2, _local1, a, x[i + 4], 20, -405537848);
a = md5_gg(a, _local3, _local2, _local1, x[i + 9], 5, 568446438);
_local1 = md5_gg(_local1, a, _local3, _local2, x[i + 14], 9, -1019803690);
_local2 = md5_gg(_local2, _local1, a, _local3, x[i + 3], 14, -187363961);
_local3 = md5_gg(_local3, _local2, _local1, a, x[i + 8], 20, 1163531501);
a = md5_gg(a, _local3, _local2, _local1, x[i + 13], 5, -1444681467);
_local1 = md5_gg(_local1, a, _local3, _local2, x[i + 2], 9, -51403784);
_local2 = md5_gg(_local2, _local1, a, _local3, x[i + 7], 14, 1735328473);
_local3 = md5_gg(_local3, _local2, _local1, a, x[i + 12], 20, -1926607734);
a = md5_hh(a, _local3, _local2, _local1, x[i + 5], 4, -378558);
_local1 = md5_hh(_local1, a, _local3, _local2, x[i + 8], 11, -2022574463);
_local2 = md5_hh(_local2, _local1, a, _local3, x[i + 11], 16, 1839030562);
_local3 = md5_hh(_local3, _local2, _local1, a, x[i + 14], 23, -35309556);
a = md5_hh(a, _local3, _local2, _local1, x[i + 1], 4, -1530992060);
_local1 = md5_hh(_local1, a, _local3, _local2, x[i + 4], 11, 1272893353);
_local2 = md5_hh(_local2, _local1, a, _local3, x[i + 7], 16, -155497632);
_local3 = md5_hh(_local3, _local2, _local1, a, x[i + 10], 23, -1094730640);
a = md5_hh(a, _local3, _local2, _local1, x[i + 13], 4, 681279174);
_local1 = md5_hh(_local1, a, _local3, _local2, x[i + 0], 11, -358537222);
_local2 = md5_hh(_local2, _local1, a, _local3, x[i + 3], 16, -722521979);
_local3 = md5_hh(_local3, _local2, _local1, a, x[i + 6], 23, 76029189);
a = md5_hh(a, _local3, _local2, _local1, x[i + 9], 4, -640364487);
_local1 = md5_hh(_local1, a, _local3, _local2, x[i + 12], 11, -421815835);
_local2 = md5_hh(_local2, _local1, a, _local3, x[i + 15], 16, 530742520);
_local3 = md5_hh(_local3, _local2, _local1, a, x[i + 2], 23, -995338651);
a = md5_ii(a, _local3, _local2, _local1, x[i + 0], 6, -198630844);
_local1 = md5_ii(_local1, a, _local3, _local2, x[i + 7], 10, 1126891415);
_local2 = md5_ii(_local2, _local1, a, _local3, x[i + 14], 15, -1416354905);
_local3 = md5_ii(_local3, _local2, _local1, a, x[i + 5], 21, -57434055);
a = md5_ii(a, _local3, _local2, _local1, x[i + 12], 6, 1700485571);
_local1 = md5_ii(_local1, a, _local3, _local2, x[i + 3], 10, -1894986606);
_local2 = md5_ii(_local2, _local1, a, _local3, x[i + 10], 15, -1051523);
_local3 = md5_ii(_local3, _local2, _local1, a, x[i + 1], 21, -2054922799);
a = md5_ii(a, _local3, _local2, _local1, x[i + 8], 6, 1873313359);
_local1 = md5_ii(_local1, a, _local3, _local2, x[i + 15], 10, -30611744);
_local2 = md5_ii(_local2, _local1, a, _local3, x[i + 6], 15, -1560198380);
_local3 = md5_ii(_local3, _local2, _local1, a, x[i + 13], 21, 1309151649);
a = md5_ii(a, _local3, _local2, _local1, x[i + 4], 6, -145523070);
_local1 = md5_ii(_local1, a, _local3, _local2, x[i + 11], 10, -1120210379);
_local2 = md5_ii(_local2, _local1, a, _local3, x[i + 2], 15, 718787259);
_local3 = md5_ii(_local3, _local2, _local1, a, x[i + 9], 21, -343485551);
a = safe_add(a, olda);
_local3 = safe_add(_local3, oldb);
_local2 = safe_add(_local2, oldc);
_local1 = safe_add(_local1, oldd);
i = i + 16;
}
return(Array(a, _local3, _local2, _local1));
}
function md5_cmn(q, a, b, x, s, t) {
return(safe_add(bit_rol(safe_add(safe_add(a, q), safe_add(x, t)), s), b));
}
function md5_ff(a, b, c, d, x, s, t) {
var _local1 = b;
return(md5_cmn((_local1 & c) | ((~_local1) & d), a, _local1, x, s, t));
}
function md5_gg(a, b, c, d, x, s, t) {
return(md5_cmn((b & d) | (c & (~d)), a, b, x, s, t));
}
function md5_hh(a, b, c, d, x, s, t) {
return(md5_cmn((b ^ c) ^ d, a, b, x, s, t));
}
function md5_ii(a, b, c, d, x, s, t) {
return(md5_cmn(c ^ (b | (~d)), a, b, x, s, t));
}
function core_hmac_md5(key, data) {
var _local2 = str2binl(key);
if (_local2.length > 16) {
_local2 = core_md5(_local2, key.length * chrsz);
}
var _local3 = Array(16);
var opad = Array(16);
var _local1 = 0;
while (_local1 < 16) {
_local3[_local1] = _local2[_local1] ^ 909522486;
opad[_local1] = _local2[_local1] ^ 1549556828;
_local1++;
}
var hash = core_md5(_local3.concat(str2binl(data)), 512 + (data.length * chrsz));
return(core_md5(opad.concat(hash), 640));
}
function safe_add(x, y) {
var _local1 = (x & 65535) + (y & 65535);
var _local2 = ((x >> 16) + (y >> 16)) + (_local1 >> 16);
return((_local2 << 16) | (_local1 & 65535));
}
function bit_rol(num, cnt) {
return((num << cnt) | (num >>> (32 - cnt)));
}
function str2binl(str) {
var _local2 = str;
var _local3 = Array();
var mask = ((1 << chrsz) - 1);
var _local1 = 0;
while (_local1 < (_local2.length * chrsz)) {
_local3[_local1 >> 5] = _local3[_local1 >> 5] | ((_local2.charCodeAt(_local1 / chrsz) & mask) << (_local1 % 32));
_local1 = _local1 + chrsz;
}
return(_local3);
}
function binl2str(bin) {
var _local2 = bin;
var _local3 = "";
var mask = ((1 << chrsz) - 1);
var _local1 = 0;
while (_local1 < (_local2.length * 32)) {
_local3 = _local3 + String.fromCharCode((_local2[_local1 >> 5] >>> (_local1 % 32)) & mask);
_local1 = _local1 + chrsz;
}
return(_local3);
}
function binl2hex(binarray) {
var _local2 = binarray;
var _local3 = (hexcase ? "0123456789ABCDEF" : "0123456789abcdef");
var str = "";
var _local1 = 0;
while (_local1 < (_local2.length * 4)) {
str = str + (_local3.charAt((_local2[_local1 >> 2] >> (((_local1 % 4) * 8) + 4)) & 15) + _local3.charAt((_local2[_local1 >> 2] >> ((_local1 % 4) * 8)) & 15));
_local1++;
}
return(str);
}
function binl2b64(binarray) {
var _local3 = binarray;
var tab = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
var str = "";
var _local2 = 0;
while (_local2 < (_local3.length * 4)) {
var triplet = (((((_local3[_local2 >> 2] >> (8 * (_local2 % 4))) & 255) << 16) | (((_local3[(_local2 + 1) >> 2] >> (8 * ((_local2 + 1) % 4))) & 255) << 8)) | ((_local3[(_local2 + 2) >> 2] >> (8 * ((_local2 + 2) % 4))) & 255));
var _local1 = 0;
while (_local1 < 4) {
if (((_local2 * 8) + (_local1 * 6)) > (_local3.length * 32)) {
str = str + b64pad;
} else {
str = str + tab.charAt((triplet >> (6 * (3 - _local1))) & 63);
}
_local1++;
}
_local2 = _local2 + 3;
}
return(str);
}
var levels_data = new Array();
var level_temp = [0, 3, 288, 192, 0, 3, 416, 192, 0, 7, 352, 256, 0, 7, 352, 128, 0, 9, 128, 192];
levels_data.push(level_temp);
delete level_temp;
var level_temp = [8, 2, 432, 304, 0, 4, 288, 176, 0, 4, 384, 112, 0, 2, 288, 208, 0, 2, 384, 272, 8, 2, 336, 240, 8, 4, 336, 144, 0, 9, 80, 192, 8, 4, 432, 80];
levels_data.push(level_temp);
delete level_temp;
var level_temp = [0, 7, 480, 176, 0, 7, 424, 176, 0, 5, 96, 264, 6, 5, 160, 320, 0, 4, 192, 264, 0, 9, 112, 88, 0, 6, 232, 176, 6, 7, 304, 176, 0, 7, 368, 176];
levels_data.push(level_temp);
delete level_temp;
var level_temp = [4, 0, 136, 352, 4, 0, 136, 288, 0, 2, 224, 64, 0, 2, 176, 64, 0, 6, 272, 64, 0, 6, 312, 80, 0, 7, 344, 104, 0, 7, 368, 136, 0, 4, 376, 176, 0, 4, 376, 216, 0, 3, 368, 256, 0, 3, 344, 288, 0, 1, 312, 312, 0, 1, 272, 320, 0, 8, 224, 320, 0, 8, 176, 320, 8, 8, 136, 320, 8, 8, 96, 320, 8, 2, 136, 64, 8, 2, 104, 64, 0, 9, 48, 64, 1, 0, 128, 96, 1, 0, 128, 32];
levels_data.push(level_temp);
delete level_temp;
var level_temp = [0, 9, 64, 48, 1, 0, 288, 48, 1, 0, 288, 80, 1, 0, 288, 112, 1, 0, 288, 144, 1, 0, 288, 176, 1, 0, 288, 16, 1, 0, 16, 256, 1, 0, 48, 256, 1, 0, 80, 256, 1, 0, 112, 256, 1, 0, 144, 256, 1, 0, 176, 256, 1, 0, 288, 208, 3, 0, 440, 80, 0, 3, 384, 208, 8, 3, 440, 56, 8, 3, 416, 72, 8, 3, 424, 96, 8, 3, 464, 72, 8, 3, 456, 96, 2, 0, 208, 328, 2, 0, 216, 160, 2, 0, 96, 160, 0, 3, 368, 264];
levels_data.push(level_temp);
delete level_temp;
var level_temp = [0, 9, 80, 64, 0, 3, 192, 96, 6, 6, 432, 256, 6, 4, 224, 128, 0, 4, 256, 160, 1, 0, 336, 240, 5, 0, 416, 176, 5, 0, 272, 320, 0, 3, 352, 176, 0, 3, 272, 256, 5, 0, 288, 192, 0, 7, 320, 192, 0, 7, 288, 224, 0, 3, 272, 288, 0, 3, 384, 176, 0, 1, 424, 216, 0, 1, 312, 328, 6, 6, 352, 336];
levels_data.push(level_temp);
delete level_temp;
var level_temp = [3, 0, 496, 16, 0, 4, 264, 128, 0, 4, 368, 96, 0, 3, 304, 80, 0, 3, 392, 48, 0, 6, 264, 264, 0, 6, 368, 288, 0, 7, 304, 312, 0, 7, 392, 336, 8, 6, 416, 304, 8, 6, 456, 320, 8, 4, 416, 72, 8, 4, 456, 48, 8, 3, 440, 24, 8, 7, 464, 368, 0, 1, 264, 192, 0, 1, 368, 192, 8, 1, 416, 192, 8, 1, 448, 192, 0, 9, 112, 192, 5, 0, 264, 160, 5, 0, 264, 224, 1, 0, 344, 360, 1, 0, 344, 24, 3, 0, 496, 192, 3, 0, 496, 368];
levels_data.push(level_temp);
delete level_temp;
var level_temp = [6, 3, 400, 64, 6, 1, 336, 64, 2, 0, 176, 192, 0, 3, 192, 320, 0, 1, 432, 360, 0, 3, 192, 64, 0, 9, 48, 192, 0, 4, 304, 288, 6, 4, 368, 360, 0, 1, 304, 360, 6, 1, 368, 288, 0, 7, 432, 288, 0, 7, 368, 240, 0, 1, 432, 96, 0, 1, 304, 96, 0, 4, 432, 224, 0, 4, 304, 224, 0, 3, 480, 64, 0, 7, 432, 160, 5, 0, 368, 120, 0, 7, 368, 192, 0, 7, 368, 64, 0, 7, 304, 160];
levels_data.push(level_temp);
delete level_temp;
var level_temp = [0, 5, 480, 80, 0, 5, 80, 352, 0, 5, 32, 304, 0, 9, 272, 192, 5, 0, 32, 352, 5, 0, 480, 352, 0, 5, 432, 352, 0, 5, 480, 304, 5, 0, 480, 32, 0, 5, 432, 32, 5, 0, 32, 32, 0, 5, 80, 32, 8, 5, 112, 32, 8, 5, 400, 32, 8, 5, 368, 32, 8, 5, 144, 32, 8, 5, 176, 32, 8, 5, 336, 32, 8, 5, 208, 32, 8, 5, 304, 32, 8, 5, 240, 32, 8, 5, 272, 32, 8, 5, 384, 352, 8, 5, 480, 128, 8, 5, 480, 160, 8, 5, 480, 192, 8, 5, 480, 224, 8, 5, 480, 256, 8, 5, 352, 352, 8, 5, 320, 352, 8, 5, 288, 352, 8, 5, 256, 352, 8, 5, 224, 352, 8, 5, 192, 352, 8, 5, 160, 352, 8, 5, 128, 352, 8, 5, 32, 128, 0, 5, 32, 80, 8, 5, 32, 160, 8, 5, 32, 192, 8, 5, 32, 224, 8, 5, 32, 256];
levels_data.push(level_temp);
delete level_temp;
var level_temp = [0, 1, 424, 256, 0, 1, 424, 224, 0, 1, 424, 192, 0, 1, 424, 160, 0, 1, 424, 128, 0, 1, 400, 240, 0, 1, 400, 208, 0, 1, 400, 176, 0, 1, 400, 144, 0, 1, 376, 224, 0, 1, 376, 192, 0, 1, 328, 192, 6, 6, 360, 272, 6, 3, 360, 112, 0, 6, 200, 192, 5, 0, 456, 192, 0, 2, 96, 192, 0, 9, 96, 256, 0, 3, 96, 296, 0, 4, 96, 88, 0, 1, 376, 160, 0, 1, 352, 208, 0, 1, 352, 176, 0, 8, 296, 192];
levels_data.push(level_temp);
delete level_temp;
var level_temp = [1, 0, 16, 368, 1, 0, 496, 368, 1, 0, 496, 16, 1, 0, 16, 16, 8, 3, 128, 288, 8, 3, 384, 288, 8, 3, 384, 96, 8, 3, 128, 96, 4, 0, 480, 224, 4, 0, 480, 160, 4, 0, 32, 224, 0, 9, 32, 192, 2, 0, 416, 64, 4, 0, 320, 32, 4, 0, 320, 352, 2, 0, 416, 320, 2, 0, 96, 320, 4, 0, 192, 352, 4, 0, 32, 160, 4, 0, 192, 32, 2, 0, 96, 64, 0, 3, 256, 256, 0, 3, 256, 128, 0, 3, 192, 192, 1, 0, 256, 160, 1, 0, 288, 160, 1, 0, 288, 192, 1, 0, 288, 224, 1, 0, 256, 224, 1, 0, 224, 224, 1, 0, 224, 192, 1, 0, 224, 160, 0, 3, 320, 192];
levels_data.push(level_temp);
delete level_temp;
var level_temp = [2, 0, 256, 368, 2, 0, 256, 16, 0, 9, 24, 168, 8, 2, 216, 136, 8, 6, 72, 136, 8, 6, 88, 136, 8, 6, 104, 136, 8, 6, 120, 136, 8, 6, 120, 152, 8, 6, 120, 168, 8, 6, 152, 136, 8, 6, 168, 136, 8, 6, 184, 136, 8, 6, 200, 136, 8, 2, 232, 136, 8, 2, 248, 136, 8, 2, 264, 136, 8, 2, 216, 152, 8, 2, 288, 136, 8, 2, 288, 168, 8, 2, 288, 152, 8, 2, 288, 184, 8, 2, 288, 200, 8, 2, 304, 200, 8, 6, 104, 168, 8, 6, 72, 184, 8, 6, 72, 168, 8, 6, 88, 168, 8, 6, 72, 200, 8, 6, 88, 200, 8, 6, 104, 200, 8, 6, 120, 200, 8, 2, 320, 200, 8, 2, 336, 200, 8, 2, 360, 184, 8, 2, 368, 168, 8, 2, 376, 152, 8, 2, 384, 136, 8, 2, 352, 200, 8, 2, 392, 152, 8, 2, 408, 184, 8, 2, 416, 200, 8, 2, 448, 200, 8, 2, 448, 184, 8, 2, 448, 168, 8, 2, 432, 152, 8, 2, 416, 136, 8, 2, 464, 152, 8, 2, 480, 136, 8, 1, 376, 184, 8, 1, 392, 176, 8, 2, 216, 168, 8, 2, 216, 184, 8, 2, 216, 200, 8, 2, 264, 152, 8, 2, 264, 168, 8, 2, 248, 168, 8, 2, 232, 168, 8, 6, 200, 184, 8, 6, 184, 200, 8, 6, 136, 200, 8, 6, 152, 200, 8, 6, 168, 200, 8, 6, 152, 152, 8, 6, 152, 168, 8, 6, 152, 184, 8, 6, 200, 168, 8, 6, 200, 152, 8, 1, 408, 168, 0, 2, 432, 24, 0, 2, 448, 64, 0, 2, 488, 64, 5, 0, 480, 24, 0, 6, 24, 312, 0, 6, 72, 360, 0, 6, 64, 320, 0, 6, 64, 64, 0, 6, 72, 16, 0, 6, 16, 56, 5, 0, 24, 16, 5, 0, 24, 360, 0, 2, 456, 328, 0, 2, 496, 328, 0, 2, 448, 368, 5, 0, 488, 368, 2, 0, 320, 320, 2, 0, 192, 320, 2, 0, 192, 64, 2, 0, 320, 64];
levels_data.push(level_temp);
delete level_temp;
var level_temp = [6, 7, 160, 192, 6, 1, 352, 192, 0, 9, 256, 192, 0, 7, 448, 96, 0, 1, 448, 192, 5, 0, 448, 144, 5, 0, 448, 240, 0, 7, 448, 288, 5, 0, 448, 336, 0, 1, 400, 336, 5, 0, 352, 336, 5, 0, 256, 336, 5, 0, 160, 336, 0, 1, 208, 336, 0, 7, 304, 336, 5, 0, 64, 336, 5, 0, 448, 48, 0, 7, 112, 336, 5, 0, 352, 48, 5, 0, 64, 240, 0, 1, 64, 288, 5, 0, 64, 144, 0, 7, 64, 192, 0, 1, 64, 96, 5, 0, 256, 48, 0, 7, 304, 48, 0, 1, 400, 48, 0, 1, 208, 48, 5, 0, 64, 48, 0, 7, 112, 48, 5, 0, 160, 48];
levels_data.push(level_temp);
delete level_temp;
var level_temp = [0, 5, 372, 184, 0, 6, 372, 156, 0, 4, 372, 212, 0, 8, 296, 184, 0, 1, 324, 184, 0, 2, 348, 172, 0, 3, 348, 200, 0, 8, 396, 200, 0, 7, 396, 228, 0, 1, 396, 172, 0, 2, 396, 144, 0, 3, 420, 240, 0, 4, 420, 212, 0, 5, 420, 184, 0, 6, 420, 156, 0, 7, 420, 128, 0, 9, 104, 184];
levels_data.push(level_temp);
delete level_temp;
var level_temp = [4, 0, 112, 16, 4, 0, 432, 16, 4, 0, 304, 304, 4, 0, 240, 304, 1, 0, 208, 256, 1, 0, 336, 256, 1, 0, 80, 64, 1, 0, 464, 64, 4, 0, 304, 208, 4, 0, 240, 208, 0, 1, 32, 64, 0, 1, 104, 192, 0, 1, 184, 304, 0, 7, 80, 16, 0, 7, 160, 112, 0, 7, 240, 256, 0, 7, 464, 16, 0, 1, 496, 64, 0, 3, 160, 16, 0, 3, 384, 16, 0, 8, 208, 16, 0, 8, 336, 16, 0, 3, 336, 112, 0, 8, 272, 16, 0, 3, 208, 112, 4, 0, 112, 112, 4, 0, 432, 112, 0, 1, 352, 304, 0, 1, 408, 200, 1, 0, 208, 160, 1, 0, 336, 160, 0, 9, 272, 368, 0, 7, 304, 256, 0, 7, 384, 112, 0, 8, 272, 112, 4, 0, 304, 112, 4, 0, 240, 112, 1, 0, 336, 64, 1, 0, 208, 64];
levels_data.push(level_temp);
delete level_temp;
var level_temp = [6, 7, 64, 64, 6, 5, 160, 128, 6, 6, 160, 192, 6, 3, 352, 256, 6, 2, 448, 320, 6, 4, 256, 256, 6, 2, 64, 320, 6, 7, 448, 64, 6, 5, 352, 128, 6, 3, 160, 256, 6, 4, 256, 128, 6, 1, 256, 64, 6, 1, 256, 320, 6, 8, 448, 192, 6, 8, 64, 192, 0, 3, 64, 128, 0, 1, 128, 64, 0, 4, 384, 64, 0, 7, 64, 256, 0, 8, 128, 320, 0, 6, 448, 256, 0, 5, 448, 128, 0, 7, 384, 320, 6, 6, 352, 192, 0, 9, 256, 192, 1, 0, 448, 352, 1, 0, 480, 352, 1, 0, 480, 320, 1, 0, 480, 64, 1, 0, 480, 32, 1, 0, 448, 32, 1, 0, 64, 32, 1, 0, 32, 32, 1, 0, 32, 64, 1, 0, 32, 320, 1, 0, 32, 352, 1, 0, 64, 352];
levels_data.push(level_temp);
delete level_temp;
var level_temp = [0, 4, 432, 80, 0, 7, 432, 320, 0, 9, 256, 48, 3, 0, 320, 256, 2, 0, 320, 208, 3, 0, 192, 208, 3, 0, 320, 160, 2, 0, 192, 256, 2, 0, 192, 160, 0, 4, 80, 320, 1, 0, 128, 336, 1, 0, 96, 352, 1, 0, 64, 352, 1, 0, 32, 336, 1, 0, 384, 336, 1, 0, 416, 352, 1, 0, 448, 352, 1, 0, 480, 336, 1, 0, 384, 64, 1, 0, 416, 48, 1, 0, 448, 48, 1, 0, 480, 64, 0, 7, 80, 80, 1, 0, 128, 64, 1, 0, 96, 48, 1, 0, 64, 48, 1, 0, 32, 64];
levels_data.push(level_temp);
delete level_temp;
var level_temp = [0, 1, 144, 304, 0, 1, 16, 304, 0, 7, 496, 304, 0, 7, 368, 304, 0, 4, 496, 80, 0, 5, 144, 80, 0, 5, 16, 80, 5, 0, 432, 240, 5, 0, 432, 144, 8, 6, 64, 96, 8, 5, 48, 96, 8, 6, 80, 96, 8, 6, 96, 96, 8, 5, 48, 112, 8, 5, 64, 112, 8, 5, 80, 112, 8, 5, 96, 112, 8, 5, 112, 112, 8, 5, 112, 96, 8, 4, 464, 96, 8, 4, 400, 96, 8, 3, 448, 96, 8, 3, 432, 96, 8, 3, 416, 96, 8, 7, 464, 288, 8, 7, 464, 272, 8, 7, 448, 272, 8, 7, 432, 272, 8, 7, 416, 272, 8, 7, 400, 272, 8, 7, 400, 288, 8, 8, 416, 288, 8, 8, 432, 288, 8, 8, 448, 288, 8, 1, 48, 288, 8, 1, 48, 272, 8, 1, 112, 288, 8, 1, 112, 272, 8, 1, 64, 272, 8, 1, 80, 272, 8, 1, 96, 272, 8, 2, 64, 288, 8, 2, 80, 288, 8, 2, 96, 288, 0, 9, 256, 192, 0, 6, 144, 144, 0, 6, 16, 144, 0, 2, 16, 240, 0, 2, 144, 240, 0, 3, 368, 144, 0, 3, 496, 144, 0, 8, 368, 240, 0, 8, 496, 240, 5, 0, 80, 240, 5, 0, 80, 144, 0, 4, 368, 80, 8, 4, 400, 112, 8, 4, 416, 112, 8, 4, 432, 112, 8, 4, 448, 112, 8, 4, 464, 112];
levels_data.push(level_temp);
delete level_temp;
var level_temp = [1, 0, 16, 368, 1, 0, 496, 368, 1, 0, 16, 16, 1, 0, 496, 16, 0, 9, 48, 192, 0, 3, 416, 96, 0, 3, 320, 32, 0, 2, 224, 32, 0, 2, 128, 96, 8, 1, 352, 288, 8, 1, 320, 320, 8, 1, 288, 288, 8, 1, 320, 256, 8, 4, 192, 288, 8, 4, 256, 288, 8, 4, 224, 320, 8, 4, 224, 256, 8, 2, 256, 96, 8, 2, 192, 96, 8, 2, 224, 64, 8, 2, 224, 128, 8, 3, 320, 64, 8, 3, 288, 96, 8, 3, 352, 96, 8, 3, 320, 128, 8, 6, 320, 224, 8, 6, 352, 192, 8, 6, 320, 160, 8, 6, 288, 192, 5, 0, 224, 288, 5, 0, 320, 192, 5, 0, 320, 96, 5, 0, 224, 96, 5, 0, 320, 288, 5, 0, 224, 192, 0, 4, 128, 288, 0, 4, 224, 360, 0, 1, 416, 288, 0, 1, 320, 360, 0, 6, 128, 192, 0, 6, 416, 192, 8, 6, 224, 160, 8, 6, 224, 224, 8, 6, 256, 192, 8, 6, 192, 192];
levels_data.push(level_temp);
delete level_temp;
var level_temp = [8, 7, 480, 192, 8, 7, 32, 192, 1, 0, 384, 344, 1, 0, 128, 352, 1, 0, 32, 256, 1, 0, 472, 128, 1, 0, 480, 256, 1, 0, 384, 32, 1, 0, 128, 32, 1, 0, 24, 128, 0, 7, 352, 184, 0, 7, 160, 184, 0, 4, 256, 240, 0, 6, 352, 128, 0, 3, 352, 240, 3, 0, 96, 360, 3, 0, 24, 288, 3, 0, 24, 96, 3, 0, 96, 24, 3, 0, 488, 96, 3, 0, 488, 288, 3, 0, 416, 360, 1, 0, 464, 312, 1, 0, 440, 336, 1, 0, 464, 72, 1, 0, 440, 48, 1, 0, 72, 336, 1, 0, 48, 312, 1, 0, 72, 48, 1, 0, 48, 72, 2, 0, 32, 160, 2, 0, 32, 224, 2, 0, 480, 160, 2, 0, 480, 224, 2, 0, 224, 32, 2, 0, 288, 32, 2, 0, 352, 32, 2, 0, 160, 352, 2, 0, 224, 352, 2, 0, 288, 352, 2, 0, 352, 352, 2, 0, 160, 32, 0, 3, 160, 128, 0, 9, 256, 184, 0, 4, 256, 128, 8, 4, 192, 352, 8, 3, 320, 352, 8, 3, 192, 32, 8, 4, 320, 32, 0, 6, 160, 240, 3, 0, 416, 24];
levels_data.push(level_temp);
delete level_temp;
var level_temp = [8, 3, 128, 336, 8, 3, 464, 56, 8, 7, 456, 360, 8, 7, 40, 40, 0, 9, 24, 360, 0, 3, 144, 32, 0, 3, 464, 256, 0, 7, 216, 296, 0, 7, 376, 40, 2, 0, 224, 56, 2, 0, 72, 160, 2, 0, 376, 256, 2, 0, 224, 336, 3, 0, 416, 184, 3, 0, 456, 320, 2, 0, 440, 80, 2, 0, 336, 104, 2, 0, 280, 200, 3, 0, 80, 296, 3, 0, 80, 64, 3, 0, 336, 336, 3, 0, 184, 232, 3, 0, 200, 120];
levels_data.push(level_temp);
delete level_temp;
var level_temp = [0, 9, 120, 136, 0, 4, 32, 288, 1, 0, 48, 176, 1, 0, 32, 352, 1, 0, 48, 320, 1, 0, 64, 288, 1, 0, 80, 256, 1, 0, 48, 240, 1, 0, 48, 144, 1, 0, 48, 112, 1, 0, 64, 80, 1, 0, 96, 64, 1, 0, 48, 208, 1, 0, 128, 64, 1, 0, 64, 48, 1, 0, 160, 64, 1, 0, 480, 352, 1, 0, 480, 320, 1, 0, 448, 304, 1, 0, 416, 320, 0, 7, 448, 336, 0, 4, 480, 80, 1, 0, 384, 336, 1, 0, 384, 304, 1, 0, 400, 272, 1, 0, 416, 240, 1, 0, 432, 208, 1, 0, 448, 176, 1, 0, 464, 144, 1, 0, 448, 112, 1, 0, 416, 96, 1, 0, 416, 64, 1, 0, 448, 64, 0, 7, 32, 32, 1, 0, 384, 48, 1, 0, 352, 64, 1, 0, 336, 96, 1, 0, 320, 128, 1, 0, 320, 160, 1, 0, 320, 192, 1, 0, 320, 224, 1, 0, 288, 240, 1, 0, 288, 208, 1, 0, 256, 192, 1, 0, 224, 192, 1, 0, 256, 256, 0, 3, 240, 224, 0, 3, 384, 80, 6, 3, 320, 336, 6, 4, 256, 48, 6, 7, 128, 320];
levels_data.push(level_temp);
delete level_temp;
var level_temp = [5, 0, 416, 32, 5, 0, 416, 352, 5, 0, 96, 352, 0, 9, 256, 192, 1, 0, 64, 64, 1, 0, 128, 64, 1, 0, 192, 64, 1, 0, 256, 64, 1, 0, 320, 64, 1, 0, 384, 64, 1, 0, 448, 64, 1, 0, 64, 320, 1, 0, 128, 320, 1, 0, 192, 320, 1, 0, 256, 320, 1, 0, 320, 320, 1, 0, 384, 320, 1, 0, 448, 320, 1, 0, 64, 128, 1, 0, 64, 192, 1, 0, 128, 128, 1, 0, 64, 256, 1, 0, 192, 128, 1, 0, 256, 128, 1, 0, 320, 128, 1, 0, 384, 128, 1, 0, 448, 128, 1, 0, 448, 192, 1, 0, 448, 256, 1, 0, 384, 192, 1, 0, 384, 256, 1, 0, 320, 256, 1, 0, 320, 192, 1, 0, 256, 256, 1, 0, 192, 256, 1, 0, 192, 192, 1, 0, 128, 192, 1, 0, 128, 256, 0, 6, 480, 224, 0, 2, 480, 160, 0, 3, 288, 352, 0, 3, 288, 32, 0, 8, 224, 32, 0, 8, 224, 352, 8, 8, 224, 192, 8, 8, 224, 128, 8, 8, 224, 64, 8, 3, 288, 64, 8, 3, 288, 128, 8, 3, 288, 192, 8, 3, 288, 256, 8, 3, 288, 320, 8, 2, 448, 160, 8, 2, 64, 160, 8, 6, 448, 224, 8, 6, 384, 224, 8, 6, 320, 224, 8, 6, 256, 224, 8, 6, 192, 224, 8, 6, 128, 224, 8, 6, 64, 224, 8, 2, 128, 160, 8, 2, 192, 160, 8, 2, 256, 160, 8, 2, 320, 160, 8, 2, 384, 160, 8, 8, 224, 256, 8, 8, 224, 320, 0, 2, 32, 160, 0, 6, 32, 224, 5, 0, 480, 96, 5, 0, 480, 288, 5, 0, 96, 32, 5, 0, 32, 96, 5, 0, 32, 288];
levels_data.push(level_temp);
delete level_temp;
var level_temp = [0, 4, 128, 256, 0, 6, 128, 128, 0, 3, 384, 128, 0, 7, 384, 256, 4, 0, 160, 224, 4, 0, 352, 160, 0, 4, 80, 304, 0, 4, 160, 336, 8, 4, 128, 336, 0, 4, 96, 336, 0, 9, 256, 16, 0, 4, 48, 224, 8, 4, 48, 256, 0, 4, 48, 288, 4, 0, 256, 48, 4, 0, 160, 160, 4, 0, 48, 192, 4, 0, 256, 336, 4, 0, 464, 192, 4, 0, 352, 224, 0, 7, 352, 336, 0, 7, 464, 224, 0, 3, 464, 160, 8, 7, 384, 336, 8, 7, 464, 256, 0, 7, 416, 336, 0, 7, 464, 288, 0, 7, 432, 304, 8, 3, 464, 128, 8, 3, 384, 48, 0, 3, 352, 48, 0, 6, 160, 48, 8, 6, 128, 48, 0, 6, 48, 160, 8, 6, 48, 128, 0, 3, 464, 96, 0, 3, 432, 80, 0, 3, 416, 48, 0, 6, 96, 48, 0, 6, 80, 80, 0, 6, 48, 96, 5, 0, 464, 336, 5, 0, 48, 48, 0, 1, 16, 368, 0, 1, 496, 368, 5, 0, 48, 336, 5, 0, 464, 48];
levels_data.push(level_temp);
delete level_temp;
var level_temp = [8, 2, 224, 256, 8, 1, 352, 256, 8, 3, 384, 160, 8, 4, 288, 128, 8, 2, 416, 320, 8, 1, 448, 224, 8, 3, 448, 96, 8, 4, 352, 64, 8, 6, 160, 320, 8, 5, 128, 224, 8, 8, 64, 288, 8, 8, 288, 320, 8, 8, 224, 192, 8, 6, 64, 160, 8, 5, 96, 64, 8, 7, 224, 64, 8, 7, 160, 128, 0, 9, 320, 192, 0, 8, 256, 192, 0, 8, 192, 192, 0, 3, 384, 192, 0, 2, 192, 256, 0, 2, 256, 256, 0, 1, 320, 256, 0, 1, 384, 256, 0, 3, 384, 128, 0, 4, 320, 128, 0, 4, 256, 128, 0, 7, 192, 128, 0, 7, 128, 128, 0, 5, 128, 192, 0, 5, 128, 256, 0, 6, 128, 320, 0, 6, 192, 320, 0, 8, 256, 320, 0, 8, 64, 320, 0, 8, 64, 256, 0, 6, 64, 192, 0, 6, 64, 128, 0, 2, 384, 320, 0, 2, 448, 320, 0, 1, 448, 256, 0, 1, 448, 192, 0, 3, 448, 128, 0, 3, 448, 64, 0, 4, 384, 64, 0, 4, 320, 64, 0, 5, 128, 64, 0, 7, 192, 64, 0, 7, 256, 64, 0, 5, 64, 64, 0, 8, 320, 320];
levels_data.push(level_temp);
delete level_temp;
var level_temp = [0, 6, 152, 208, 0, 8, 88, 72, 0, 8, 416, 104, 0, 7, 296, 152, 0, 6, 368, 320, 0, 5, 208, 88, 0, 5, 48, 216, 0, 1, 32, 368, 0, 1, 240, 32, 0, 1, 464, 248, 0, 2, 344, 352, 0, 2, 112, 264, 0, 3, 480, 144, 6, 8, 72, 176, 6, 7, 424, 328, 6, 6, 152, 336, 6, 5, 352, 184, 6, 4, 192, 128, 6, 3, 464, 88, 6, 2, 224, 264, 6, 1, 296, 80, 0, 3, 232, 344, 0, 4, 384, 240, 0, 4, 352, 32, 0, 9, 32, 32, 8, 7, 440, 192, 8, 8, 408, 288, 8, 6, 288, 40, 8, 5, 120, 152, 8, 4, 176, 368, 8, 1, 72, 24, 8, 2, 40, 256, 8, 3, 248, 160];
levels_data.push(level_temp);
delete level_temp;
var level_temp = [1, 0, 336, 48, 1, 0, 336, 80, 1, 0, 336, 112, 1, 0, 336, 144, 1, 0, 336, 176, 1, 0, 368, 176, 1, 0, 400, 176, 1, 0, 336, 304, 1, 0, 336, 272, 1, 0, 336, 240, 1, 0, 336, 208, 1, 0, 368, 208, 1, 0, 400, 208, 1, 0, 336, 336, 1, 0, 176, 336, 1, 0, 176, 304, 1, 0, 176, 272, 1, 0, 176, 240, 1, 0, 176, 208, 1, 0, 144, 208, 1, 0, 112, 208, 1, 0, 176, 48, 1, 0, 176, 80, 1, 0, 176, 144, 1, 0, 176, 176, 1, 0, 112, 176, 1, 0, 144, 176, 1, 0, 176, 112, 0, 5, 144, 240, 0, 7, 368, 48, 0, 3, 48, 144, 0, 3, 48, 48, 0, 3, 144, 48, 8, 3, 16, 32, 8, 3, 16, 16, 8, 3, 16, 64, 8, 3, 16, 48, 8, 3, 32, 16, 8, 3, 48, 16, 8, 3, 64, 16, 0, 3, 368, 144, 8, 7, 496, 16, 8, 7, 480, 16, 8, 7, 464, 16, 8, 7, 448, 16, 8, 7, 496, 32, 8, 7, 496, 48, 8, 7, 496, 64, 0, 7, 464, 48, 0, 7, 464, 144, 0, 7, 144, 144, 0, 5, 368, 336, 0, 5, 464, 240, 0, 5, 464, 336, 8, 5, 496, 368, 8, 5, 496, 336, 8, 5, 496, 352, 8, 5, 496, 320, 8, 5, 480, 368, 8, 5, 464, 368, 8, 5, 448, 368, 0, 4, 48, 336, 8, 4, 16, 368, 8, 4, 16, 352, 8, 4, 16, 336, 8, 4, 16, 320, 8, 4, 32, 368, 8, 4, 48, 368, 8, 4, 64, 368, 0, 4, 144, 336, 0, 4, 48, 240, 0, 4, 368, 240, 0, 9, 256, 192, 1, 0, 432, 176, 1, 0, 432, 208, 1, 0, 464, 176, 1, 0, 496, 176, 1, 0, 464, 208, 1, 0, 496, 208, 1, 0, 16, 176, 1, 0, 48, 176, 1, 0, 80, 176, 1, 0, 16, 208, 1, 0, 48, 208, 1, 0, 80, 208];
levels_data.push(level_temp);
delete level_temp;
var level_temp = [6, 7, 160, 80, 6, 8, 144, 176, 6, 6, 344, 160, 6, 5, 336, 96, 6, 4, 224, 144, 6, 3, 304, 272, 6, 2, 384, 256, 6, 1, 224, 240, 6, 2, 432, 64, 6, 3, 400, 128, 6, 6, 64, 64, 6, 7, 152, 304, 6, 8, 448, 288, 6, 5, 80, 272, 2, 0, 16, 16, 2, 0, 496, 16, 2, 0, 496, 368, 2, 0, 16, 368, 0, 9, 272, 192, 1, 0, 496, 240, 1, 0, 496, 272, 1, 0, 496, 304, 1, 0, 496, 336, 1, 0, 496, 48, 1, 0, 496, 112, 1, 0, 496, 144, 1, 0, 496, 80, 3, 0, 464, 160, 3, 0, 464, 224, 3, 0, 48, 160, 1, 0, 16, 336, 1, 0, 16, 304, 1, 0, 16, 272, 1, 0, 16, 240, 3, 0, 48, 224, 1, 0, 16, 48, 1, 0, 16, 80, 1, 0, 16, 112, 1, 0, 16, 144, 1, 0, 48, 16, 1, 0, 80, 16, 1, 0, 112, 16, 1, 0, 144, 16, 1, 0, 176, 16, 1, 0, 208, 16, 3, 0, 240, 32, 1, 0, 464, 16, 1, 0, 432, 16, 1, 0, 400, 16, 1, 0, 368, 16, 1, 0, 336, 16, 2, 0, 480, 192, 2, 0, 48, 192, 2, 0, 272, 32, 3, 0, 304, 32, 1, 0, 48, 368, 1, 0, 80, 368, 1, 0, 112, 368, 1, 0, 144, 368, 1, 0, 176, 368, 1, 0, 464, 368, 1, 0, 432, 368, 1, 0, 400, 368, 1, 0, 368, 368, 1, 0, 208, 368, 1, 0, 336, 368, 2, 0, 272, 352, 3, 0, 304, 352, 3, 0, 240, 352, 0, 7, 96, 64, 0, 5, 448, 96, 0, 3, 368, 320, 0, 1, 80, 320];
levels_data.push(level_temp);
delete level_temp;
var level_temp = [0, 7, 416, 32, 0, 7, 224, 352, 5, 0, 96, 96, 0, 6, 480, 224, 0, 6, 32, 288, 0, 1, 480, 352, 0, 1, 32, 32, 1, 0, 480, 288, 1, 0, 448, 320, 1, 0, 64, 64, 1, 0, 32, 96, 1, 0, 448, 192, 1, 0, 416, 224, 1, 0, 384, 256, 1, 0, 352, 288, 1, 0, 320, 320, 1, 0, 288, 352, 1, 0, 64, 192, 1, 0, 96, 160, 1, 0, 128, 128, 1, 0, 160, 96, 1, 0, 192, 64, 1, 0, 224, 32, 1, 0, 320, 64, 1, 0, 192, 320, 1, 0, 224, 288, 1, 0, 256, 256, 1, 0, 288, 224, 1, 0, 320, 192, 1, 0, 352, 160, 1, 0, 384, 128, 1, 0, 416, 96, 1, 0, 448, 64, 1, 0, 480, 32, 1, 0, 288, 96, 1, 0, 256, 128, 1, 0, 224, 160, 1, 0, 192, 192, 1, 0, 160, 224, 1, 0, 128, 256, 1, 0, 96, 288, 1, 0, 64, 320, 1, 0, 32, 352, 0, 9, 256, 192, 5, 0, 416, 288];
levels_data.push(level_temp);
delete level_temp;
var level_temp = [8, 7, 480, 320, 8, 7, 480, 192, 8, 7, 480, 64, 6, 2, 256, 32, 0, 3, 256, 136, 0, 7, 256, 248, 6, 3, 256, 352, 8, 6, 64, 32, 8, 6, 64, 352, 8, 6, 192, 352, 8, 6, 320, 352, 8, 6, 448, 352, 8, 6, 320, 32, 8, 6, 192, 32, 0, 9, 120, 192, 8, 6, 448, 32, 8, 2, 32, 320, 8, 2, 32, 192, 8, 2, 32, 64, 0, 6, 200, 192, 0, 6, 312, 192, 1, 0, 280, 192, 1, 0, 256, 168, 1, 0, 232, 192, 2, 0, 480, 352, 2, 0, 416, 352, 2, 0, 352, 352, 2, 0, 288, 352, 2, 0, 224, 352, 2, 0, 160, 352, 2, 0, 96, 352, 2, 0, 32, 352, 2, 0, 32, 288, 2, 0, 32, 224, 2, 0, 32, 160, 2, 0, 32, 96, 2, 0, 32, 32, 2, 0, 96, 32, 2, 0, 160, 32, 2, 0, 224, 32, 2, 0, 288, 32, 2, 0, 352, 32, 2, 0, 416, 32, 2, 0, 480, 32, 2, 0, 480, 96, 2, 0, 480, 160, 2, 0, 480, 224, 2, 0, 480, 288, 1, 0, 256, 216];
levels_data.push(level_temp);
delete level_temp;
_root.diameter = 25;
_root.diameterSquare = 625;
_root.left_lim = 12.5;
_root.right_lim = 499.5;
_root.top_lim = 12.5;
_root.bottom_lim = 371.5;
_root.shot_strength = 10;
_root.table_scroll_speed = 3;
_root.color_matrix = [16711680, 16746496, 16776960, 52224, 240041, 204, 12058808, 15502733, 16777215, 4539717];
_root.time_to_die = 90;
_root.level_comp_time = 120;
_root.bonus_decrement = 0.2;
_root.bonus_increment = 30;
_root.levels_open = 4;
_root.timer_points = 1;
_root.shot_penalty = -10;
_root.dot_no_fit = 2;
_root.dot_fit = 5;
_root.ball_min = 5;
_root.ball_max = 25;
_root.big_bonus = 100;
_root.one_shot_bonus = 100;
_root.track_playing = 0;
_root.track_02_sfx = new Sound();
_root.track_02_sfx.attachSound("track_02");
_root.track_04_sfx = new Sound();
_root.track_04_sfx.attachSound("track_04");
_root.ball_bump_sfx = new Sound();
_root.ball_bump_sfx.attachSound("ball_bump");
_root.ball_bump_sfx = new Sound();
_root.ball_bump_sfx.attachSound("ball_bump");
_root.ball_pop_sfx = new Sound();
_root.ball_pop_sfx.attachSound("ball_pop");
_root.bomb_expl = new Sound();
_root.bomb_expl.attachSound("bomb_expl");
_root.bumper_sfx = new Sound();
_root.bumper_sfx.attachSound("bumper");
_root.button_sfx = new Sound();
_root.button_sfx.attachSound("button_sfx");
_root.count_sfx = new Sound();
_root.count_sfx.attachSound("count");
_root.dot_collect_sfx = new Sound();
_root.dot_collect_sfx.attachSound("dot_collect");
_root.dummy_sfx = new Sound();
_root.dummy_sfx.attachSound("dummy_sfx");
_root.side_bump = new Sound();
_root.side_bump.attachSound("side_bump");
_root.statistic_window_sfx = new Sound();
_root.statistic_window_sfx.attachSound("statistic_window");
_root.timer_sfx = new Sound();
_root.timer_sfx.attachSound("timer_sfx");
_root.non_playable_sfx = new Sound();
_root.non_playable_sfx.attachSound("non_playable");
_root.bonus_sfx = new Sound();
_root.bonus_sfx.attachSound("bonus_sfx");
Number.prototype.timeMinSec = function () {
var _local3 = this;
var _local1 = String(Math.floor(_local3 % 60));
_local1 = ((_local1.length < 2) ? ("0" + _local1) : (_local1));
var _local2 = String(Math.floor(_local3 / 60));
_local2 = ((_local2.length < 2) ? ("0" + _local2) : (_local2));
return((_local2 + ":") + _local1);
};
var hexcase = 0;
var b64pad = "";
var chrsz = 8;
Frame 8
function StartCompetition() {
_root.current_level = 1;
_root.StatsArray = new Array();
var _local1 = 1;
while (_local1 < 31) {
_root.StatsArray[_local1] = {time:0, shots:0, score:0};
_local1++;
}
_root.practice = false;
_root.gotoAndPlay("start_game");
}
function StartPractice() {
_root.practice = true;
_root.gotoAndPlay("start_practice");
}
function SetButtonStr() {
var _local1 = _root;
switch (_quality) {
case "HIGH" :
_local1.quality_str = "SET GRAPHICS QUALITY TO LOW";
break;
case "MEDIUM" :
_local1.quality_str = "SET GRAPHICS QUALITY TO HIGH";
break;
case "LOW" :
_local1.quality_str = "SET GRAPHICS QUALITY TO MED";
}
switch (_local1.sound_on) {
case true :
_local1.sound_str = "SWITCH SOUND OFF";
break;
case false :
_local1.sound_str = "SWITCH SOUND ON";
}
switch (_local1.SO_controller.GetTipsStatus()) {
case true :
_local1.tips_str = "DISABLE TIPS";
return;
default :
_local1.tips_str = "ENABLE TIPS";
}
}
function MenuLoad() {
var s = 0;
while (s < 10) {
var btn = eval ("_root.btn_" + s);
if ((s % 2) == 0) {
btn._x = -135.8;
} else {
btn._x = 684.2;
}
s++;
}
_root.onEnterFrame = function () {
var s = 0;
while (s < 10) {
var btn = eval ("_root.btn_" + s);
var dx = (274.2 - btn._x);
btn._x = btn._x + (dx / 3);
if (Math.abs(dx) < 0.3) {
var s = 0;
while (s < 30) {
var btn = eval ("_root.btn_" + s);
btn._x = 274.2;
s++;
}
delete _root.onEnterFrame;
}
s++;
}
};
}
_root.SO_controller = new SOController();
_root.PlayTrack(2);
_root.MenuLoad();
stop();
Frame 9
_root.SetButtonStr();
_root.MenuLoad();
stop();
Frame 10
_root.MenuLoad();
stop();
Frame 16
function DrawButtons() {
var _local1 = _root;
var _local2 = 1;
while (_local2 < 31) {
var init_obj = {locked:false, level_num:_local2, label_str:_local2, _x:(((_local2 - 1) % 10) * 52) + 41, _y:(Math.floor((_local2 - 1) / 10) * 37) + 299};
var _local3 = _local1.buttons_mc.attachMovie("level_button", "lb_" + _local2, _local2, init_obj);
_local3.onRollOver = function () {
var _local1 = _root;
var _local2 = this;
if (_local1.SO_controller.cp_so.data["level_" + _local2.level_num].opened) {
_local1.btn_2.gotoAndStop(1);
_local1.LevelPreview(_local2.level_num);
} else {
_local1.level_stat_str = _local1.SO_controller.SingleLevelStats(_local2.level_num);
_local1.btn_2.gotoAndStop(2);
}
};
if (_local1.SO_controller.cp_so.data["level_" + _local2].opened) {
_local3.locked_mc._visible = false;
_local3.onPress = function () {
var _local1 = _root;
_local1.button_sfx.start(0, 1);
_local1.SO_controller.cp_so.data.last_played = this.level_num;
_local1.current_level = this.level_num;
_local1.StatsArray = new Array();
_local1.StatsArray[_local1.current_level] = {time:0, shots:0, score:0};
_local1.gotoAndPlay("start_game");
};
}
_local3.gotoAndStop(1);
_local2++;
}
}
function LevelPreview(level_num) {
_root.level_stat_str = _root.SO_controller.SingleLevelStats(level_num);
var i = 1;
while (i < 31) {
eval ("_root.buttons_mc.lb_" + i).gotoAndStop(1);
i++;
}
eval ("_root.buttons_mc.lb_" + level_num).gotoAndStop(2);
for (var s in _root.btn_2.balls) {
removeMovieClip(_root.btn_2.balls[s]);
}
for (var s in _root.btn_2.shadows) {
removeMovieClip(_root.btn_2.shadows[s]);
}
var temp_level_array = _root.levels_data[level_num - 1];
var ar_count = (temp_level_array.length / 4);
var i = 0;
while (i < ar_count) {
var type = temp_level_array[i * 4];
var color_num = temp_level_array[(i * 4) + 1];
var pos_x = temp_level_array[(i * 4) + 2];
var pos_y = temp_level_array[(i * 4) + 3];
switch (type) {
case 0 :
var init_object = {_x:pos_x, _y:pos_y, type:type, color_num:color_num};
var depth_offset = 100;
var mc_link = "ball";
break;
case 1 :
var init_object = {_x:pos_x, _y:pos_y};
var depth_offset = 0;
var mc_link = "bouncer";
break;
case 2 :
var init_object = {_x:pos_x, _y:pos_y};
var depth_offset = 0;
var mc_link = "antimagnet";
break;
case 3 :
var init_object = {_x:pos_x, _y:pos_y};
var depth_offset = 0;
var mc_link = "magnet";
break;
case 4 :
var init_object = {_x:pos_x, _y:pos_y};
var depth_offset = 0;
var mc_link = "dummy";
break;
case 5 :
var init_object = {_x:pos_x, _y:pos_y};
var depth_offset = 0;
var mc_link = "bomb";
break;
case 6 :
var init_object = {_x:pos_x, _y:pos_y, color_num:color_num};
var depth_offset = 200;
var mc_link = "color_changer";
break;
case 8 :
var init_object = {_x:pos_x, _y:pos_y, color_num:color_num};
var depth_offset = 0;
var mc_link = "dot_mc";
}
init_object.preview = true;
_root.btn_2.balls.attachMovie(mc_link, (mc_link + "_") + i, (i + depth_offset) + 1, init_object);
i++;
}
}
_root.PlayTrack(2);
_root.DrawButtons();
_root.MenuLoad();
_root.LevelPreview(_root.SO_controller.cp_so.data.last_played);
stop();
Frame 18
function BonusAdd() {
var _local1 = _root;
var _local2 = _local1.bonus + _local1.bonus_increment;
if ((_local2 >= 100) && (_local1.bonus_given_mc._currentframe == 1)) {
_local1.bonus_bar_mc._xscale = 100;
_local1.bonus_given_mc.gotoAndPlay(2);
_local1.bonus_sfx.start(0, 1);
_local1.level_score = _local1.level_score + _local1.big_bonus;
} else {
_local1.bonus = _local2;
}
}
function ScoreAdd() {
var _local1 = _root;
var _local2 = Math.floor(_local1.ball_min + (((_local1.ball_max - _local1.ball_min) * _local1.bonus) / 100));
_local1.level_score = _local1.level_score + (2 * _local2);
}
function CheckLevelEnd() {
var _local1 = _root;
_local1.objectives = _local1.objectives - 1;
if (_local1.objectives == 0) {
_local1.timer_sfx.stop();
_local1.PlayTrack(2);
if (_local1.level_shots == 1) {
_local1.level_score = _local1.level_score + _local1.one_shot_bonus;
_local1.bonus_sfx.start(0, 1);
_local1.attachMovie("one_shot_mc", "one_shot_mc", 112, {_x:275, _y:215});
}
_local1.PlayTrack();
_local1.time_out = false;
_local1.timer_stop = true;
if (!_local1.practice) {
var last_level_open = (((_local1.current_level + _local1.levels_open) < 31) ? (_local1.current_level + _local1.levels_open) : 30);
var _local3 = _local1.current_level;
while (_local3 <= last_level_open) {
_local1.SO_controller.cp_so.data["level_" + _local3].opened = true;
_local3++;
}
}
var _local2 = 0;
while (_local2 < _local1.ballsArray.length) {
var clip = _local1.ballsArray[_local2];
clip.active = false;
_local2++;
}
_local1.StatsArray[_local1.current_level].time = _local1.time_controller.level_time;
_local1.StatsArray[_local1.current_level].shots = _local1.level_shots;
_local1.StatsArray[_local1.current_level].score = _local1.level_score;
_local1.attachMovie("wait_counter_mc", "wait_counter_mc", 111);
}
}
function BuildLevel(level_num) {
var _local1 = _root;
_local1.timer_sound_started = false;
_local1.objectives = 0;
_local1.table_move = false;
_local1.mc_counter = 1000;
_local1.level_score = 0;
_local1.level_shots = 0;
_local1.bonus = 0;
_local1.bonus_bar_mc._xscale = 0;
_local1.first_shot = false;
_local1.ballsArray = new Array();
var temp_level_array = _local1.levels_data[level_num - 1];
var ar_count = (temp_level_array.length / 4);
var i = 0;
while (i < ar_count) {
var type = temp_level_array[i * 4];
var color_num = temp_level_array[(i * 4) + 1];
var _local3 = temp_level_array[(i * 4) + 2];
var _local2 = temp_level_array[(i * 4) + 3];
switch (type) {
case 0 :
if (color_num != 9) {
_local1.objectives = _local1.objectives + 1;
}
var init_object = {_x:_local3, _y:_local2, type:type, color_num:color_num};
var depth_offset = 100;
var mc_link = "ball";
var base_mc = _local1.table_mc.balls;
break;
case 1 :
var init_object = {_x:_local3, _y:_local2};
var depth_offset = 0;
var mc_link = "bouncer";
var base_mc = _local1.table_mc.balls;
break;
case 2 :
var init_object = {_x:_local3, _y:_local2};
var depth_offset = 0;
var mc_link = "antimagnet";
var base_mc = _local1.table_mc.balls;
break;
case 3 :
var init_object = {_x:_local3, _y:_local2};
var depth_offset = 0;
var mc_link = "magnet";
var base_mc = _local1.table_mc.balls;
break;
case 4 :
var init_object = {_x:_local3, _y:_local2};
var depth_offset = 0;
var mc_link = "dummy";
var base_mc = _local1.table_mc.balls;
break;
case 5 :
var init_object = {_x:_local3, _y:_local2};
var depth_offset = 0;
var mc_link = "bomb";
var base_mc = _local1.table_mc.balls;
break;
case 6 :
var init_object = {_x:_local3, _y:_local2, color_num:color_num};
var depth_offset = 200;
var mc_link = "color_changer";
var base_mc = _local1.table_mc.balls;
break;
case 8 :
_local1.objectives = _local1.objectives + 1;
var init_object = {_x:_local3, _y:_local2, color_num:color_num};
var depth_offset = 0;
var mc_link = "dot_mc";
var base_mc = _local1.table_mc.dots;
}
var ball_mc = base_mc.attachMovie(mc_link, (mc_link + "_") + i, (i + depth_offset) + 1, init_object);
if (type != 8) {
_local1.ballsArray.push(ball_mc);
}
i++;
}
_local1.timer_str = _local1.level_comp_time.timeMinSec();
if (_local1.SO_controller.GetTipsStatus() && (_local1.current_level < 7)) {
_local1.paused = true;
_local1.timer_stop = true;
_local1.attachMovie("tip_mc", "tip_mc", 100);
_local1.tip_mc.gotoAndStop(_local1.current_level);
} else {
_local1.time_controller = new Timer();
_local1.paused = false;
_local1.timer_stop = false;
}
}
_root.PlayTrack(1);
_root.BuildLevel(_root.current_level);
_root.onEnterFrame = function () {
if (!_root.paused) {
if (_root.table_move) {
var dx = (_root.table_mc._x - 19);
var dy = (_root.table_mc._y - 23);
if ((Math.abs(dx) < 1) && (Math.abs(dy) < 1)) {
_root.table_mc._x = 19;
_root.table_mc._y = 23;
_root.table_move = false;
} else {
_root.table_mc._x = _root.table_mc._x - (dx / 2);
_root.table_mc._y = _root.table_mc._y - (dy / 2);
}
}
if ((_root.bonus > 0) && (_root.bonus_given_mc._currentframe == 1)) {
_root.bonus = _root.bonus - _root.bonus_decrement;
if (_root.bonus <= 0) {
_root.bonus = 0;
}
_root.bonus_bar_mc._xscale = _root.bonus;
}
if (!_root.timer_stop) {
_root.time_controller.GetTimerStr();
}
_root.timer_str = _root.time_controller.level_time.timeMinSec();
if (Math.floor(_root.time_controller.level_time) == 0) {
_root.time_out = true;
_root.paused = true;
_root.timer_sfx.stop();
_root.PlayTrack(2);
delete _root.onEnterFrame;
if (!_root.practice) {
var last_level_open = (((_root.current_level + _root.levels_open) < 31) ? (_root.current_level + _root.levels_open) : 30);
var i = _root.current_level;
while (i <= last_level_open) {
_root.SO_controller.cp_so.data["level_" + i].opened = true;
i++;
}
}
_root.attachMovie("end_game_submit", "end_game_submit", 110);
}
var k = 0;
while (k < _root.ballsArray.length) {
var clip = _root.ballsArray[k];
switch (clip.type) {
case 7 :
clip.moving = false;
break;
case 0 :
if (clip.bumped) {
clip.timer = clip.timer - 1;
if (clip.timer == 0) {
if (!_root.ball_pop_sfx_played) {
_root.ball_pop_sfx.start(0, 1);
_root.ball_pop_sfx.onSoundComplete = function () {
_root.ball_pop_sfx_played = false;
};
_root.ball_pop_sfx_played = true;
}
_root.table_mc.attachMovie("ball_blast", "bblast_" + _root.mc_counter, _root.mc_counter, {set_color:_root.color_matrix[9], _x:clip._x, _y:clip._y});
_root.mc_counter = _root.mc_counter + 1;
eval (_root.table_mc.shadows[clip._name]).removeMovieClip();
clip.removeMovieClip();
break;
}
}
if (clip.moving) {
for (str in _root.table_mc.dots) {
var dot_mc = _root.table_mc.dots[str];
var xoff = (dot_mc._x - clip._x);
var yoff = (dot_mc._y - clip._y);
var dot_dist = ((xoff * xoff) + (yoff * yoff));
if (dot_dist < 289) {
_root.dot_collect_sfx.start(0, 1);
if (dot_mc.color_num == clip.color_num) {
_root.level_score = _root.level_score + _root.dot_fit;
} else {
_root.level_score = _root.level_score + _root.dot_no_fit;
}
dot_mc.removeMovieClip();
_root.CheckLevelEnd();
}
}
var m = 0;
while (m < _root.ballsArray.length) {
var clip2 = _root.ballsArray[m];
if ((m <= k) && (clip2.moving)) {
} else {
var xoff = (clip2._x - clip._x);
var yoff = (clip2._y - clip._y);
var distance = Math.sqrt((xoff * xoff) + (yoff * yoff));
if (distance < _root.diameter) {
if (clip2.type != 6) {
var cor_cos = (xoff / distance);
var cor_sin = (yoff / distance);
var cor_dx = ((distance - 25) * cor_cos);
var cor_dy = ((distance - 25) * cor_sin);
clip._x = clip._x + cor_dx;
clip._y = clip._y + cor_dy;
}
_root.bouncer.Bounce(clip, clip2);
}
}
m++;
}
}
break;
case 2 :
var m = 0;
while (m < _root.ballsArray.length) {
var clip2 = _root.ballsArray[m];
if (clip2.type == 0) {
var mdx = (clip._x - clip2._x);
var mdy = (clip._y - clip2._y);
var mdist = Math.sqrt((mdx * mdx) + (mdy * mdy));
if (mdist < 100) {
var t_cos = (mdx / mdist);
var t_sin = (mdy / mdist);
clip2.dx = clip2.dx - (((100 - mdist) * t_cos) / mdist);
clip2.dy = clip2.dy - (((100 - mdist) * t_sin) / mdist);
if (!clip2.moving) {
clip2.dx = ((-(100 - mdist)) * t_cos) / mdist;
clip2.dy = ((-(100 - mdist)) * t_sin) / mdist;
clip2.fds = 1;
clip2.moving = true;
}
}
}
m++;
}
break;
case 3 :
var m = 0;
for(;;){
if (m >= _root.ballsArray.length) {
break;
}
var clip2 = _root.ballsArray[m];
if (clip2.type == 0) {
var mdx = (clip._x - clip2._x);
var mdy = (clip._y - clip2._y);
var mdist = Math.sqrt((mdx * mdx) + (mdy * mdy));
var t_cos = (mdx / mdist);
var t_sin = (mdy / mdist);
if (mdist < 100) {
if (Math.floor(mdist) <= 25) {
clip.dx = 0;
clip.dy = 0;
_root.bouncer.bounce(clip, clip2);
clip2._x = clip._x - (25 * t_cos);
clip2._y = clip._y - (25 * t_sin);
clip2.dx = clip2.dx * 0.99;
clip2.dy = clip2.dy * 0.99;
clip2.attracted = true;
clip2.moving = true;
} else {
clip2.attracted = false;
}
if (!clip2.attracted) {
clip2.dx = clip2.dx + (((100 - mdist) * t_cos) / mdist);
clip2.dy = clip2.dy + (((100 - mdist) * t_sin) / mdist);
if (!clip2.moving) {
clip2.dx = ((100 - mdist) * t_cos) / mdist;
clip2.dy = ((100 - mdist) * t_sin) / mdist;
clip2.fds = 1;
clip2.moving = true;
}
}
}
}
m++;
};
}
k++;
}
var p = 0;
while (p < _root.ballsArray.length) {
var clip = _root.ballsArray[p];
if (clip.moving && (clip.type == 0)) {
clip.dx = clip.dx - clip.frictionX;
clip.dy = clip.dy - clip.frictionY;
clip._x = clip._x + clip.dx;
clip._y = clip._y + clip.dy;
eval (_root.table_mc.shadows[clip._name])._x = clip._x;
eval (_root.table_mc.shadows[clip._name])._y = clip._y;
clip.dx = clip.dx * clip.fds;
clip.dy = clip.dy * clip.fds;
clip.fds = clip.fds * 0.9996;
dx = clip.dx;
dy = clip.dy;
if (clip._x < _root.left_lim) {
_root.side_bump.start(0, 1);
clip._x = _root.left_lim;
clip.dx = Math.abs(dx);
clip.frictionX = Math.abs(clip.frictionX);
} else if (clip._x > _root.right_lim) {
_root.side_bump.start(0, 1);
clip._x = _root.right_lim;
clip.dx = -Math.abs(dx);
clip.frictionX = -Math.abs(clip.frictionX);
}
if (clip._y < _root.top_lim) {
_root.side_bump.start(0, 1);
clip._y = _root.top_lim;
clip.dy = Math.abs(dy);
clip.frictionY = Math.abs(clip.frictionY);
} else if (clip._y > _root.bottom_lim) {
_root.side_bump.start(0, 1);
clip._y = _root.bottom_lim;
clip.dy = -Math.abs(dy);
clip.frictionY = -Math.abs(clip.frictionY);
}
if (((dx * dx) + (dy * dy)) < 0.003) {
clip.dx = 0;
clip.dy = 0;
clip.frictionX = 0;
clip.frictionY = 0;
}
}
p++;
}
}
};
stop();
Symbol 10 Button
on (press) {
this.CloseTip();
}
Symbol 21 Button
on (press) {
_root.SO_controller.DisableTips();
this.CloseTip();
}
Symbol 23 MovieClip [tip_mc] Frame 1
function CloseTip() {
var _local1 = _root;
_local1.button_sfx.start(0, 1);
_local1.timer_stop = false;
_local1.paused = false;
_local1.time_controller = new Timer();
this.removeMovieClip();
}
stop();
Symbol 23 MovieClip [tip_mc] Frame 2
stop();
Symbol 23 MovieClip [tip_mc] Frame 3
stop();
Symbol 23 MovieClip [tip_mc] Frame 4
stop();
Symbol 23 MovieClip [tip_mc] Frame 5
stop();
Symbol 23 MovieClip [tip_mc] Frame 6
stop();
Symbol 26 Button
on (press) {
_root.button_sfx.start(0, 1);
_root.gotoAndPlay("main_menu");
this.removeMovieClip();
}
Symbol 28 Button
on (press) {
_root.button_sfx.start(0, 1);
var hashkey = _root.hex_md5(("gameid=1226&hiscore=" + total_score) + "2DPlay.com/");
getURL (String(((_root.scores_link + total_score) + "&hash=") + hashkey), "_blank");
_root.gotoAndPlay("main_menu");
this.removeMovieClip();
}
Symbol 39 Button
on (press) {
_root.button_sfx.start(0, 1);
_root.gotoAndPlay("start_practice");
this.removeMovieClip();
}
Symbol 40 MovieClip [end_game_submit] Frame 1
var total_score = _root.level_score;
var i = 1;
while (i < 31) {
total_score = total_score + _root.StatsArray[i].score;
i++;
}
if (_root.practice) {
gotoAndStop (4);
} else if (_root.time_out) {
gotoAndStop (3);
} else {
gotoAndStop (2);
}
Symbol 40 MovieClip [end_game_submit] Frame 2
stop();
Symbol 40 MovieClip [end_game_submit] Frame 3
stop();
Symbol 40 MovieClip [end_game_submit] Frame 4
stop();
Symbol 41 MovieClip [wait_counter_mc] Frame 80
_root.attachMovie("stats_window", "stats_window", 110, {_x:275, _y:197});
_root.paused = true;
this.removeMovieClip();
Symbol 44 MovieClip [one_shot_mc] Frame 56
this.removeMovieClip();
Symbol 45 MovieClip [reactor_action] Frame 1
#initclip 6
Object.registerClass("reactor_action", Reactor);
#endinitclip
Symbol 387 MovieClip [__Packages.Timer] Frame 0
class Timer
{
var timer_init, timer_offset, time_disp;
function Timer () {
timer_init = _root.level_comp_time * 1000;
timer_offset = getTimer();
}
function GetTimerStr() {
var _local1 = this;
var _local2 = _root;
_local1.time_disp = getTimer() - _local1.timer_offset;
_local1.level_time = (_local1.timer_init - (getTimer() - _local1.timer_offset)) / 1000;
if (Math.floor(_local1.level_time) == 10) {
if (!_local2.timer_sound_started) {
_local2.timer_sound_started = true;
_local2.timer_sfx.start(0, 999);
}
}
}
function PauseOFF() {
timer_offset = getTimer() - time_disp;
}
}
Symbol 388 MovieClip [__Packages.Reactor] Frame 0
class Reactor extends MovieClip
{
var _rotation, globalToLocal, localToGlobal;
function Reactor () {
super();
}
function Bounce(ball_1, ball_2) {
var _local2 = _root;
var _local3 = ball_1;
var v_\u0441os = _global.Math.cos;
var v_sin = _global.Math.sin;
var v_atan2 = _global.Math.atan2;
var angle = v_atan2(_local3._y - ball_2._y, _local3._x - ball_2._x);
_rotation = (angle * 180) / 3.141593;
var _l3 = {x:ball_2.dx * 10, y:ball_2.dy * 10};
globalToLocal(_l3);
var subVector2 = {x:_l3.x, y:0};
localToGlobal(subVector2);
var point = {x:_local3.dx * 10, y:_local3.dy * 10};
globalToLocal(point);
var subVector = {x:point.x, y:0};
localToGlobal(subVector);
if ((_l3.x <= 0) && (point.x >= 0)) {
} else {
var xSub = ((subVector2.x - subVector.x) / 10);
var ySub = ((subVector2.y - subVector.y) / 10);
switch (ball_2.type) {
case 0 :
_local3.dx = _local3.dx + xSub;
_local3.dy = _local3.dy + ySub;
ball_2.dx = ball_2.dx - xSub;
ball_2.dy = ball_2.dy - ySub;
var ang = v_atan2(_local3.dy, _local3.dx);
_local3.frictionX = v_\u0441os(ang) / 200;
_local3.frictionY = v_sin(ang) / 200;
var ang2 = v_atan2(ball_2.dy, ball_2.dx);
ball_2.frictionX = v_\u0441os(ang2) / 200;
ball_2.frictionY = v_sin(ang2) / 200;
_local3.fds = 1;
ball_2.fds = 1;
_local3.moving = true;
ball_2.moving = true;
if ((_local3.type != 3) && ((Math.abs(_local3.dx * ball_2.dx) + Math.abs(_local3.dy * ball_2.dy)) > 0.003)) {
_local2.ball_bump_sfx.start(0, 1);
}
if ((!_local3.bumped) && (!ball_2.bumped)) {
if ((_local3.color_num == ball_2.color_num) && (_local3.color_num != 9)) {
_local3.bumped = true;
_local3.active = false;
_local3.gotoAndStop("bumped");
ball_2.bumped = true;
ball_2.active = false;
ball_2.gotoAndStop("bumped");
_local2.table_mc.attachMovie("ball_blast", "bblast_" + _local2.mc_counter, _local2.mc_counter, {set_color:_local2.color_matrix[_local3.color_num - 1], _x:_local3._x, _y:_local3._y});
_local2.mc_counter = _local2.mc_counter + 1;
_local2.table_mc.attachMovie("ball_blast", "bblast_" + _local2.mc_counter, _local2.mc_counter, {set_color:_local2.color_matrix[ball_2.color_num - 1], _x:ball_2._x, _y:ball_2._y});
_local2.mc_counter = _local2.mc_counter + 1;
_local2.ScoreAdd();
_local2.BonusAdd();
_local2.CheckLevelEnd();
_local2.CheckLevelEnd();
}
}
return;
case 1 :
ball_2.gotoAndPlay(2);
_local2.bumper_sfx.start(0, 1);
var ang = v_atan2(ySub, xSub);
_local3.dx = 12 * v_\u0441os(ang);
_local3.dy = 12 * v_sin(ang);
_local3.frictionX = v_\u0441os(ang) / 200;
_local3.frictionY = v_sin(ang) / 200;
return;
case 4 :
_local2.dummy_sfx.start(0, 1);
var ang = v_atan2(ySub, xSub);
var speed = Math.sqrt((_local3.dx * _local3.dx) + (_local3.dy * _local3.dy));
var temp_sin = (ySub / speed);
var temp_cos = (xSub / speed);
_local3.dx = speed * temp_cos;
_local3.dy = speed * temp_sin;
_local3.frictionX = temp_cos / 200;
_local3.frictionY = temp_sin / 200;
_local3.fds = 1;
return;
case 5 :
_local2.bomb_expl.start(0, 1);
_local2.table_mc.attachMovie("explos_mc", "explos_mc_" + _local2.mc_counter, _local2.mc_counter, {_x:ball_2._x, _y:ball_2._y});
_local2.mc_counter = _local2.mc_counter + 1;
var k = 0;
while (k < _local2.ballsArray.length) {
var _local1 = _local2.ballsArray[k];
var b_dx = (_local1._x - ball_2._x);
var b_dy = (_local1._y - ball_2._y);
var b_dist = Math.sqrt((b_dx * b_dx) + (b_dy * b_dy));
switch (_local1.type) {
case 0 :
if (b_dist < 100) {
var temp_sin = (b_dy / b_dist);
var temp_cos = (b_dx / b_dist);
_local1.dx = ((100 - b_dist) * temp_cos) / 6;
_local1.dy = ((100 - b_dist) * temp_sin) / 6;
_local1.frictionX = (_local1.frictionY = 0);
_local1.fds = 1;
_local1.moving = true;
}
break;
case 7 :
if (b_dist >= 100) {
break;
}
_local1.ice_block.removeMovieClip();
_local1.type = 0;
_local2.table_mc.attachMovie("ball_blast", "bblast_" + _local2.mc_counter, _local2.mc_counter, {set_color:_local2.color_matrix[4], _x:_local1._x, _y:_local1._y, _alpha:75});
_local2.mc_counter = _local2.mc_counter + 1;
}
k++;
}
ball_2.removeMovieClip();
return;
case 6 :
if (((!_local3.bumped) && (_local3.color_num != 9)) && (_local3.color_num != ball_2.color_num)) {
_local2.ball_pop_sfx.start(0, 1);
_local2.table_mc.attachMovie("ball_blast", "bblast_" + _local2.mc_counter, _local2.mc_counter, {set_color:_local2.color_matrix[_local3.color_num - 1], _x:_local3._x, _y:_local3._y});
_local2.mc_counter = _local2.mc_counter + 1;
_local3.color_num = ball_2.color_num;
_local3.gotoAndStop(_local3.color_num);
}
return;
case 7 :
var ang = v_atan2(ySub, xSub);
var speed = Math.sqrt((_local3.dx * _local3.dx) + (_local3.dy * _local3.dy));
var temp_sin = (ySub / speed);
var temp_cos = (xSub / speed);
_local3.dx = speed * temp_cos;
_local3.dy = speed * temp_sin;
_local3.frictionX = temp_cos / 200;
_local3.frictionY = temp_sin / 200;
_local3.fds = 1;
ball_2.ice_block.removeMovieClip();
ball_2.type = 0;
_local2.table_mc.attachMovie("ball_blast", "bblast_" + _local2.mc_counter, _local2.mc_counter, {set_color:_local2.color_matrix[4], _x:ball_2._x, _y:ball_2._y, _alpha:70});
_local2.mc_counter = _local2.mc_counter + 1;
}
}
}
}
Symbol 389 MovieClip [__Packages.Guide] Frame 0
class Guide extends MovieClip
{
var onEnterFrame;
function Guide () {
var _local2 = _root;
super();
onEnterFrame = function () {
var _local2 = _root;
if (!this._parent.active) {
_local2.table_move = true;
this.removeMovieClip();
}
var dx = ((this._parent._x - _local2._xmouse) + this._parent._parent._parent._x);
var dy = ((this._parent._y - _local2._ymouse) + this._parent._parent._parent._y);
if (_local2._xmouse < 19) {
_local2.table_mc._x = _local2.table_mc._x + ((_local2.table_mc._x > 101) ? 0 : (_local2.table_scroll_speed));
} else if (_local2._xmouse > 531) {
_local2.table_mc._x = _local2.table_mc._x - ((_local2.table_mc._x < -63) ? 0 : (_local2.table_scroll_speed));
}
if (_local2._ymouse < 24) {
_local2.table_mc._y = _local2.table_mc._y + ((_local2.table_mc._y > 96) ? 0 : (_local2.table_scroll_speed));
} else if (_local2._ymouse > 408) {
_local2.table_mc._y = _local2.table_mc._y - ((_local2.table_mc._y < -72) ? 0 : (_local2.table_scroll_speed));
}
var _local3 = Math.sqrt((dx * dx) + (dy * dy));
this._rotation = ((Math.atan2(dy, dx) * 180) / Math.PI) + 180;
var _local1 = 1;
while (_local1 < 7) {
this["dot_" + _local1]._x = _local1 * ((_local3 < 120) ? (_local3 / 6) : 20);
_local1++;
}
};
}
}
Symbol 390 MovieClip [__Packages.Ball] Frame 0
class Ball extends MovieClip
{
var active, type, current_depth, getDepth, swapDepths, attachMovie, onMouseUp;
function Ball () {
var _local1 = this;
super();
_local1.gotoAndStop(_local1.color_num);
_local1._parent._parent.shadows.attachMovie("shadow", _local1._name, _local1.getDepth(), {_x:_local1._x, _y:_local1._y});
if (_local1.type == 7) {
_local1.attachMovie("ice_block", "ice_block", 1);
}
if (_local1.color_num == 9) {
_local1.attachMovie("first_shot", "first_shot", 1);
_local1.active = true;
} else {
_local1.active = false;
}
_local1.dx = 0;
_local1.dy = 0;
_local1.timer = _root.time_to_die;
_local1.bumped = false;
_local1.moving = false;
if (!_local1.preview) {
_local1.onPress = _local1.Pressed;
}
}
function Pressed() {
var _local3 = _root;
if (!_local3.paused) {
if (active && (type == 0)) {
if (!_local3.first_shot) {
var _local1 = 0;
while (_local1 < _local3.ballsArray.length) {
var _local2 = _local3.ballsArray[_local1];
_local2.first_shot.removeMovieClip();
_local2.active = true;
_local1++;
}
_local3.first_shot = true;
}
current_depth = getDepth();
swapDepths(1000);
attachMovie("guide", "guide", 2);
onMouseUp = function () {
var _local1 = this;
var _local3 = _root;
_local1.swapDepths(_local1.current_depth);
var bdx = (((_local1._x - _local3._xmouse) + _local1._parent._parent._x) / _local3.shot_strength);
var bdy = (((_local1._y - _local3._ymouse) + _local1._parent._parent._y) / _local3.shot_strength);
var _local2 = Math.sqrt((bdx * bdx) + (bdy * bdy));
var bsin = (bdy / _local2);
var bcos = (bdx / _local2);
if (_local2 > 20) {
_local2 = 20;
}
_local1.dx = bcos * _local2;
_local1.dy = bsin * _local2;
_local1.fds = 1;
_local1.moving = true;
_local3.table_move = true;
_local1.guide.removeMovieClip();
_local3.level_shots = _local3.level_shots + 1;
delete _local1.onMouseUp;
};
} else {
attachMovie("wrong_move", "wrong_move", 2, {_x:0, _y:0});
}
}
}
}
Symbol 391 MovieClip [__Packages.SOController] Frame 0
class SOController
{
var cp_so;
function SOController () {
cp_so = SharedObject.getLocal("cp_1_so");
if (cp_so.data.last_played == undefined) {
cp_so.data.last_played = 1;
var _local1 = 1;
while (_local1 < 31) {
cp_so.data["level_" + _local1] = {opened:((_local1 <= (_root.levels_open + 1)) ? true : false), played:false, time:0, shots:0, score:0};
_local1++;
}
cp_so.flush();
}
}
function GetTipsStatus() {
var _local1 = this;
if (_local1.cp_so.data.show_tips == undefined) {
_local1.cp_so.data.show_tips = true;
}
return(_local1.cp_so.data.show_tips);
}
function EnableTips() {
cp_so.data.show_tips = true;
cp_so.flush();
}
function DisableTips() {
cp_so.data.show_tips = false;
cp_so.flush();
}
function SingleLevelStats(level_num) {
var _local1 = level_num;
var _local2 = this;
if (_local2.cp_so.data["level_" + _local1].opened) {
var time_str = _local2.cp_so.data["level_" + _local1].time.timeMinSec();
var _local3 = "<p align='center'><font color='#FD944E'>LEVEL:</font> " + _local1;
_local3 = _local3 + ("<font color='#FD944E'> TIME:</font> " + time_str);
_local3 = _local3 + ("<font color='#FD944E'> SHOTS:</font> " + _local2.cp_so.data["level_" + _local1].shots);
_local3 = _local3 + (("<font color='#FD944E'> SCORE:</font> " + _local2.cp_so.data["level_" + _local1].score) + "</p>");
} else {
var _local3 = "<p align='center'>LEVEL LOCKED!</p>";
}
return(_local3);
}
function SetBestStats(level_num, time, shots, score) {
var _local1 = level_num;
var _local2 = this;
var _local3 = {};
if (_local2.cp_so.data["level_" + _local1].shots != 0) {
if (_local2.cp_so.data["level_" + _local1].time < time) {
_local2.cp_so.data["level_" + _local1].time = time;
_local3.best_time = time;
} else {
_local3.best_time = _local2.cp_so.data["level_" + _local1].time;
}
if ((_local2.cp_so.data["level_" + _local1].shots > shots) && (!_root.time_out)) {
_local2.cp_so.data["level_" + _local1].shots = shots;
_local3.best_shots = shots;
} else {
_local3.best_shots = _local2.cp_so.data["level_" + _local1].shots;
}
if (_local2.cp_so.data["level_" + _local1].score < score) {
_local2.cp_so.data["level_" + _local1].score = score;
_local3.best_score = score;
} else {
_local3.best_score = _local2.cp_so.data["level_" + _local1].score;
}
} else {
_local3.best_time = time;
_local3.best_shots = shots;
_local3.best_score = score;
_local2.cp_so.data["level_" + _local1].time = time;
_local2.cp_so.data["level_" + _local1].shots = shots;
_local2.cp_so.data["level_" + _local1].score = score;
}
return(_local3);
}
function GetBest(level_num) {
var _local2 = level_num;
var _local3 = this;
var _local1 = {best_time:_local3.cp_so.data["level_" + _local2].time, best_shots:_local3.cp_so.data["level_" + _local2].shots, best_score:_local3.cp_so.data["level_" + _local2].score};
return(_local1);
}
}
Symbol 51 MovieClip Frame 1
var gameBytesTotal = 0;
var gameBytesLoaded = 0;
var percent = 0;
Symbol 51 MovieClip Frame 3
gameBytesTotal = _root.getBytesTotal();
gameBytesLoaded = _root.getBytesLoaded();
percent = Math.round((gameBytesLoaded / gameBytesTotal) * 100);
bar.loadbar._xscale = percent;
if (((gameBytesLoaded >= gameBytesTotal) && (gameBytesTotal > 0)) && (_root.logo._currentframe >= _root.logo._totalframes)) {
_root.gotoAndPlay("game_init");
stop();
} else {
gotoAndPlay ("preload");
}
Symbol 54 Button
on (press) {
getURL (_root.main_link, "_blank");
}
Symbol 124 MovieClip Frame 1
_root.loading._visible = false;
Symbol 124 MovieClip Frame 207
_root.loading._visible = true;
stop();
Symbol 130 MovieClip [antimagnet] Frame 1
type = 2;
Symbol 152 MovieClip [ball] Frame 1
#initclip 8
Object.registerClass("ball", Ball);
#endinitclip
stop();
Symbol 152 MovieClip [ball] Frame 2
stop();
Symbol 152 MovieClip [ball] Frame 3
stop();
Symbol 152 MovieClip [ball] Frame 4
stop();
Symbol 152 MovieClip [ball] Frame 5
stop();
Symbol 152 MovieClip [ball] Frame 6
stop();
Symbol 152 MovieClip [ball] Frame 7
stop();
Symbol 152 MovieClip [ball] Frame 8
stop();
Symbol 152 MovieClip [ball] Frame 9
stop();
Symbol 152 MovieClip [ball] Frame 10
stop();
Symbol 156 MovieClip [ball_blast] Frame 1
var color_object = new Color(this);
color_object.setRGB(set_color);
Symbol 156 MovieClip [ball_blast] Frame 15
removeMovieClip(this);
Symbol 160 MovieClip [bomb] Frame 1
type = 5;
Symbol 163 MovieClip [bouncer] Frame 1
type = 1;
stop();
Symbol 166 MovieClip [color_changer] Frame 1
type = 6;
var color_object = new Color(this);
color_object.setRGB(_root.color_matrix[color_num - 1]);
Symbol 166 MovieClip [color_changer] Frame 60
gotoAndPlay (2);
Symbol 187 MovieClip [dot_mc] Frame 1
gotoAndStop(color_num);
Symbol 190 MovieClip [dummy] Frame 1
type = 4;
Symbol 209 MovieClip [explos_mc] Frame 15
this.removeMovieClip();
Symbol 214 MovieClip [guide] Frame 1
#initclip 7
Object.registerClass("guide", Guide);
#endinitclip
Symbol 217 MovieClip [magnet] Frame 1
type = 3;
Symbol 221 MovieClip [wrong_move] Frame 1
_root.non_playable_sfx.start(0, 1);
Symbol 221 MovieClip [wrong_move] Frame 31
removeMovieClip(this);
Symbol 233 Button
on (press) {
_root.button_sfx.start(0, 1);
switch (_quality) {
case "HIGH" :
_quality = "LOW";
break;
case "MEDIUM" :
_quality = "HIGH";
break;
case "LOW" :
_quality = "MEDIUM";
}
_root.SetButtonStr();
}
Symbol 235 Button
on (press) {
_root.button_sfx.start(0, 1);
if (_root.sound_on) {
_root.sound_on = false;
_root.ball_bump_sfx.setVolume(0);
} else {
_root.sound_on = true;
_root.ball_bump_sfx.setVolume(100);
}
_root.SetButtonStr();
}
Symbol 237 Button
on (press) {
_root.button_sfx.start(0, 1);
getURL (_root.viewscores_link, "_blank");
}
Symbol 239 Button
on (press) {
_root.button_sfx.start(0, 1);
getURL (_root.main_link, "_blank");
}
Symbol 241 Button
on (press) {
_root.button_sfx.start(0, 1);
getURL (_root.get_game_link, "_blank");
}
Symbol 243 Button
on (press) {
_root.button_sfx.start(0, 1);
getURL (_root.download_link, "_blank");
}
Symbol 245 Button
on (press) {
_root.button_sfx.start(0, 1);
_root.time_controller.PauseOFF();
_root.paused = false;
_root.p_clip.removeMovieClip();
}
Symbol 247 Button
on (press) {
_root.button_sfx.start(0, 1);
_root.timer_sfx.stop();
_root.PlayTrack(2);
if (_root.practice) {
_root.gotoAndPlay("main_menu");
_root.p_clip.removeMovieClip();
} else {
_root.attachMovie("end_game_submit", "end_game_submit", 100);
}
}
Symbol 249 Button
on (press) {
_root.button_sfx.start(0, 1);
if (_root.SO_controller.GetTipsStatus()) {
_root.SO_controller.DisableTips();
} else {
_root.SO_controller.EnableTips();
}
_root.SetButtonStr();
}
Symbol 250 MovieClip [pause_clip] Frame 1
function MenuLoad() {
var s = 0;
while (s < 10) {
var btn = eval ("this.btn_" + s);
if ((s % 2) == 0) {
btn._x = -135.8;
} else {
btn._x = 684.2;
}
s++;
}
this.onEnterFrame = function () {
var s = 0;
while (s < 10) {
var btn = eval ("this.btn_" + s);
var dx = (274.2 - btn._x);
btn._x = btn._x + (dx / 3);
if (Math.abs(dx) < 0.3) {
var s = 0;
while (s < 30) {
var btn = eval ("this.btn_" + s);
btn._x = 274.2;
s++;
}
delete this.onEnterFrame;
}
s++;
}
};
}
MenuLoad();
Symbol 261 MovieClip [stats_list_cell] Frame 1
time = time.timeMinSec();
best_time = best_time.timeMinSec();
stop();
Symbol 261 MovieClip [stats_list_cell] Frame 2
stop();
Symbol 261 MovieClip [stats_list_cell] Frame 3
if ((best_time == time) && (!_root.time_out)) {
this.attachMovie("flashing_best", "fb_1", 1, {_x:-60});
}
if ((best_shots == shots) && (!_root.time_out)) {
this.attachMovie("flashing_best", "fb_2", 2, {_x:60});
}
if ((best_score == score) && (!_root.time_out)) {
this.attachMovie("flashing_best", "fb_3", 3, {_x:180});
}
stop();
Symbol 290 Button
on (press) {
_root.button_sfx.start(0, 1);
_root.current_level = _root.current_level + 1;
if (_root.current_level > 30) {
gotoAndPlay ("end_game");
} else {
_root.gotoAndPlay("start_game");
_root.stats_window.removeMovieClip();
}
}
Symbol 291 Button
on (press) {
_root.button_sfx.start(0, 1);
_root.attachMovie("end_game_submit", "end_game_submit", 111);
_root.stats_window.removeMovieClip();
}
Symbol 292 Button
on (press) {
_root.button_sfx.start(0, 1);
_root.gotoAndPlay("start_practice");
_root.stats_window.removeMovieClip();
}
Symbol 296 Button
on (press) {
_root.button_sfx.start(0, 1);
var hashkey = _root.hex_md5(("gameid=1226&hiscore=" + total_score) + "2DPlay.com/");
getURL (String(((_root.scores_link + total_score) + "&hash=") + hashkey), "_blank");
}
Symbol 298 Button
on (press) {
_root.button_sfx.start(0, 1);
_root.gotoAndPlay("main_menu");
_root.stats_window.removeMovieClip();
}
Symbol 299 MovieClip [stats_window] Frame 1
var final_score = (_root.level_score - _root.timer_points);
var bonus_time = (Math.floor(_root.time_controller.level_time) + 1);
var bonus_shot = _root.level_shots;
var time_add = 0;
var shot_add = 0;
var bonus_time_str = "";
var bonus_shot_str = ((((bonus_shot + " x ") + Number(-_root.shot_penalty)) + " = ") + (bonus_shot * Number(-_root.shot_penalty)));
Symbol 299 MovieClip [stats_window] Frame 3
bonus_time = bonus_time - 1;
if (bonus_time < 0) {
gotoAndPlay (4);
} else {
_root.count_sfx.start(0, 1);
bonus_time_str = (((bonus_time.timeMinSec() + " x ") + _root.timer_points) + " = ") + (time_add * _root.timer_points);
final_score = final_score + _root.timer_points;
time_add = time_add + 1;
gotoAndPlay (2);
}
Symbol 299 MovieClip [stats_window] Frame 11
bonus_shot = bonus_shot - 1;
if (bonus_shot < 0) {
gotoAndPlay (12);
} else {
_root.count_sfx.start(0, 1);
shot_add = shot_add + 1;
bonus_shot_str = (((bonus_shot + " x ") + Number(-_root.shot_penalty)) + " = ") + (bonus_shot * Number(-_root.shot_penalty));
final_score = final_score + _root.shot_penalty;
if (final_score < 0) {
final_score = 0;
}
gotoAndPlay (6);
}
Symbol 299 MovieClip [stats_window] Frame 62
function ScrollList(scroll_num) {
var _local2 = this;
var _local1 = _local2.stats_list_mc._y + scroll_num;
_local1 = ((_local1 < -470) ? -470 : (_local1));
_local1 = ((_local1 > -130) ? -130 : (_local1));
_local2.stats_list_mc._y = _local1;
_local2.bar_mc._y = ((-_local1) * 0.429411764705882) - 180;
}
function MenuLoad() {
if (_root.practice) {
this.btn_1._visible = false;
} else {
this.btn_3._visible = false;
}
var s = 0;
while (s < 10) {
var btn = eval ("this.btn_" + s);
if ((s % 2) == 0) {
btn._x = -325;
} else {
btn._x = 325;
}
s++;
}
this.onEnterFrame = function () {
var s = 0;
while (s < 10) {
var btn = eval ("this.btn_" + s);
if ((s % 2) == 0) {
var dx = (-125 - btn._x);
} else {
var dx = (125 - btn._x);
}
btn._x = btn._x + (dx / 3);
if (Math.abs(dx) < 0.3) {
var s = 0;
while (s < 30) {
var btn = eval ("this.btn_" + s);
if ((s % 2) == 0) {
btn._x = -125;
} else {
btn._x = 125;
}
s++;
}
delete this.onEnterFrame;
}
s++;
}
};
}
_root.statistic_window_sfx.start(0, 1);
_root.total_temp_time = 0;
_root.StatsArray[_root.current_level].score = final_score;
var total_shots = 0;
var total_score = 0;
var i = 1;
while (i < 31) {
_root.total_temp_time = _root.total_temp_time + _root.StatsArray[i].time;
total_shots = total_shots + _root.StatsArray[i].shots;
total_score = total_score + _root.StatsArray[i].score;
if (_root.current_level == i) {
var stats_temp_object = _root.SO_controller.SetBestStats(i, _root.StatsArray[i].time, _root.StatsArray[i].shots, _root.StatsArray[i].score);
} else {
var stats_temp_object = _root.SO_controller.GetBest(i);
}
stats_temp_object.level_num = i;
stats_temp_object.time = _root.StatsArray[i].time;
stats_temp_object.shots = _root.StatsArray[i].shots;
stats_temp_object.score = _root.StatsArray[i].score;
stats_temp_object._y = (i - 1) * 20;
var list_cell = this.stats_list_mc.attachMovie("stats_list_cell", "slc_" + i, i, stats_temp_object);
if (_root.current_level == i) {
list_cell.gotoAndStop(3);
} else if ((i % 2) == 0) {
list_cell.gotoAndStop(2);
}
i++;
}
var total_time = _root.total_temp_time.timeMinSec();
var init_y = (((-(_root.current_level - 1)) * 20) - 10);
init_y = ((init_y < -470) ? -470 : (init_y));
init_y = ((init_y > -130) ? -130 : (init_y));
this.stats_list_mc._y = init_y;
this.bar_mc._y = ((-init_y) * 0.429411764705882) - 180;
this.btn_up.onPress = function () {
_root.button_sfx.start(0, 1);
ScrollList(20);
};
this.btn_down.onPress = function () {
_root.button_sfx.start(0, 1);
ScrollList(-20);
};
this.bar_mc.onPress = function () {
var _local2 = this;
_root.button_sfx.start(0, 1);
_local2.startDrag(false, _local2._x, -128, _local2._x, 18);
onMouseMove = function () {
var _local1 = ((-180 - this.bar_mc._y) * 2.32876712328767) - 9;
if (_local1 < -470) {
_local1 = -470;
}
if (_local1 > -130) {
_local1 = -130;
}
this.stats_list_mc._y = _local1;
};
};
this.bar_mc.onRelease = (this.bar_mc.onReleaseOutside = function () {
delete onMouseMove;
this.stopDrag();
});
MenuLoad();
stop();
Symbol 299 MovieClip [stats_window] Frame 63
MenuLoad();
var total_score_str = ("FINAL SCORE: " + total_score);
stop();
Symbol 300 MovieClip Frame 1
stop();
Symbol 317 MovieClip Frame 1
stop();
Symbol 323 Button
on (press) {
_root.button_sfx.start(0, 1);
_root.StartPractice();
}
Symbol 325 Button
on (press) {
_root.button_sfx.start(0, 1);
_root.gotoAndPlay("options");
}
Symbol 327 Button
on (press) {
_root.button_sfx.start(0, 1);
_root.gotoAndPlay("help");
}
Symbol 329 Button
on (press) {
_root.button_sfx.start(0, 1);
_root.StartCompetition();
}
Symbol 334 Button
on (press) {
_root.button_sfx.start(0, 1);
getURL (_root.main_link, "_blank");
}
Symbol 337 Button
on (press) {
_root.button_sfx.start(0, 1);
_root.gotoAndPlay("main_menu");
}
Symbol 339 Button
on (press) {
nextFrame();
}
Symbol 346 Button
on (press) {
prevFrame();
}
Symbol 350 MovieClip Frame 59
gotoAndPlay (2);
Symbol 355 MovieClip Frame 1
stop();
Symbol 355 MovieClip Frame 2
stop();
Symbol 355 MovieClip Frame 3
stop();
Symbol 355 MovieClip Frame 4
stop();
Symbol 355 MovieClip Frame 5
stop();
Symbol 355 MovieClip Frame 6
stop();
Symbol 359 MovieClip Frame 1
stop();
Symbol 359 MovieClip Frame 2
stop();
Symbol 369 Button
on (press) {
if ((!_root.paused) && (!_root.timer_stop)) {
_root.button_sfx.start(0, 1);
_root.SetButtonStr();
_root.paused = true;
_root.attachMovie("pause_clip", "p_clip", 100);
}
}
Symbol 376 MovieClip Frame 1
stop();
Symbol 376 MovieClip Frame 21
_root.bonus = 0;
_root.bonus_bar_mc._xscale = 0;
Symbol 386 Button
on (press) {
_root.button_sfx.start(0, 1);
getURL (_root.main_link, "_blank");
}