Frame 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 _local4 = 1732584193 /* 0x67452301 */;
var _local3 = -271733879;
var _local2 = -1732584194;
var _local1 = 271733878 /* 0x10325476 */;
var _local5 = 0;
while (_local5 < x.length) {
var _local10 = _local4;
var _local9 = _local3;
var _local8 = _local2;
var _local7 = _local1;
_local4 = md5_ff(_local4, _local3, _local2, _local1, x[_local5 + 0], 7, -680876936);
_local1 = md5_ff(_local1, _local4, _local3, _local2, x[_local5 + 1], 12, -389564586);
_local2 = md5_ff(_local2, _local1, _local4, _local3, x[_local5 + 2], 17, 606105819);
_local3 = md5_ff(_local3, _local2, _local1, _local4, x[_local5 + 3], 22, -1044525330);
_local4 = md5_ff(_local4, _local3, _local2, _local1, x[_local5 + 4], 7, -176418897);
_local1 = md5_ff(_local1, _local4, _local3, _local2, x[_local5 + 5], 12, 1200080426);
_local2 = md5_ff(_local2, _local1, _local4, _local3, x[_local5 + 6], 17, -1473231341);
_local3 = md5_ff(_local3, _local2, _local1, _local4, x[_local5 + 7], 22, -45705983);
_local4 = md5_ff(_local4, _local3, _local2, _local1, x[_local5 + 8], 7, 1770035416);
_local1 = md5_ff(_local1, _local4, _local3, _local2, x[_local5 + 9], 12, -1958414417);
_local2 = md5_ff(_local2, _local1, _local4, _local3, x[_local5 + 10], 17, -42063);
_local3 = md5_ff(_local3, _local2, _local1, _local4, x[_local5 + 11], 22, -1990404162);
_local4 = md5_ff(_local4, _local3, _local2, _local1, x[_local5 + 12], 7, 1804603682);
_local1 = md5_ff(_local1, _local4, _local3, _local2, x[_local5 + 13], 12, -40341101);
_local2 = md5_ff(_local2, _local1, _local4, _local3, x[_local5 + 14], 17, -1502002290);
_local3 = md5_ff(_local3, _local2, _local1, _local4, x[_local5 + 15], 22, 1236535329);
_local4 = md5_gg(_local4, _local3, _local2, _local1, x[_local5 + 1], 5, -165796510);
_local1 = md5_gg(_local1, _local4, _local3, _local2, x[_local5 + 6], 9, -1069501632);
_local2 = md5_gg(_local2, _local1, _local4, _local3, x[_local5 + 11], 14, 643717713);
_local3 = md5_gg(_local3, _local2, _local1, _local4, x[_local5 + 0], 20, -373897302);
_local4 = md5_gg(_local4, _local3, _local2, _local1, x[_local5 + 5], 5, -701558691);
_local1 = md5_gg(_local1, _local4, _local3, _local2, x[_local5 + 10], 9, 38016083);
_local2 = md5_gg(_local2, _local1, _local4, _local3, x[_local5 + 15], 14, -660478335);
_local3 = md5_gg(_local3, _local2, _local1, _local4, x[_local5 + 4], 20, -405537848);
_local4 = md5_gg(_local4, _local3, _local2, _local1, x[_local5 + 9], 5, 568446438);
_local1 = md5_gg(_local1, _local4, _local3, _local2, x[_local5 + 14], 9, -1019803690);
_local2 = md5_gg(_local2, _local1, _local4, _local3, x[_local5 + 3], 14, -187363961);
_local3 = md5_gg(_local3, _local2, _local1, _local4, x[_local5 + 8], 20, 1163531501);
_local4 = md5_gg(_local4, _local3, _local2, _local1, x[_local5 + 13], 5, -1444681467);
_local1 = md5_gg(_local1, _local4, _local3, _local2, x[_local5 + 2], 9, -51403784);
_local2 = md5_gg(_local2, _local1, _local4, _local3, x[_local5 + 7], 14, 1735328473);
_local3 = md5_gg(_local3, _local2, _local1, _local4, x[_local5 + 12], 20, -1926607734);
_local4 = md5_hh(_local4, _local3, _local2, _local1, x[_local5 + 5], 4, -378558);
_local1 = md5_hh(_local1, _local4, _local3, _local2, x[_local5 + 8], 11, -2022574463);
_local2 = md5_hh(_local2, _local1, _local4, _local3, x[_local5 + 11], 16, 1839030562);
_local3 = md5_hh(_local3, _local2, _local1, _local4, x[_local5 + 14], 23, -35309556);
_local4 = md5_hh(_local4, _local3, _local2, _local1, x[_local5 + 1], 4, -1530992060);
_local1 = md5_hh(_local1, _local4, _local3, _local2, x[_local5 + 4], 11, 1272893353);
_local2 = md5_hh(_local2, _local1, _local4, _local3, x[_local5 + 7], 16, -155497632);
_local3 = md5_hh(_local3, _local2, _local1, _local4, x[_local5 + 10], 23, -1094730640);
_local4 = md5_hh(_local4, _local3, _local2, _local1, x[_local5 + 13], 4, 681279174);
_local1 = md5_hh(_local1, _local4, _local3, _local2, x[_local5 + 0], 11, -358537222);
_local2 = md5_hh(_local2, _local1, _local4, _local3, x[_local5 + 3], 16, -722521979);
_local3 = md5_hh(_local3, _local2, _local1, _local4, x[_local5 + 6], 23, 76029189);
_local4 = md5_hh(_local4, _local3, _local2, _local1, x[_local5 + 9], 4, -640364487);
_local1 = md5_hh(_local1, _local4, _local3, _local2, x[_local5 + 12], 11, -421815835);
_local2 = md5_hh(_local2, _local1, _local4, _local3, x[_local5 + 15], 16, 530742520);
_local3 = md5_hh(_local3, _local2, _local1, _local4, x[_local5 + 2], 23, -995338651);
_local4 = md5_ii(_local4, _local3, _local2, _local1, x[_local5 + 0], 6, -198630844);
_local1 = md5_ii(_local1, _local4, _local3, _local2, x[_local5 + 7], 10, 1126891415);
_local2 = md5_ii(_local2, _local1, _local4, _local3, x[_local5 + 14], 15, -1416354905);
_local3 = md5_ii(_local3, _local2, _local1, _local4, x[_local5 + 5], 21, -57434055);
_local4 = md5_ii(_local4, _local3, _local2, _local1, x[_local5 + 12], 6, 1700485571);
_local1 = md5_ii(_local1, _local4, _local3, _local2, x[_local5 + 3], 10, -1894986606);
_local2 = md5_ii(_local2, _local1, _local4, _local3, x[_local5 + 10], 15, -1051523);
_local3 = md5_ii(_local3, _local2, _local1, _local4, x[_local5 + 1], 21, -2054922799);
_local4 = md5_ii(_local4, _local3, _local2, _local1, x[_local5 + 8], 6, 1873313359);
_local1 = md5_ii(_local1, _local4, _local3, _local2, x[_local5 + 15], 10, -30611744);
_local2 = md5_ii(_local2, _local1, _local4, _local3, x[_local5 + 6], 15, -1560198380);
_local3 = md5_ii(_local3, _local2, _local1, _local4, x[_local5 + 13], 21, 1309151649);
_local4 = md5_ii(_local4, _local3, _local2, _local1, x[_local5 + 4], 6, -145523070);
_local1 = md5_ii(_local1, _local4, _local3, _local2, x[_local5 + 11], 10, -1120210379);
_local2 = md5_ii(_local2, _local1, _local4, _local3, x[_local5 + 2], 15, 718787259);
_local3 = md5_ii(_local3, _local2, _local1, _local4, x[_local5 + 9], 21, -343485551);
_local4 = safe_add(_local4, _local10);
_local3 = safe_add(_local3, _local9);
_local2 = safe_add(_local2, _local8);
_local1 = safe_add(_local1, _local7);
_local5 = _local5 + 16;
}
return(Array(_local4, _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) {
return(md5_cmn((b & c) | ((~b) & d), a, b, 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 _local4 = Array(16);
var _local1 = 0;
while (_local1 < 16) {
_local3[_local1] = _local2[_local1] ^ 909522486;
_local4[_local1] = _local2[_local1] ^ 1549556828;
_local1++;
}
var _local5 = core_md5(_local3.concat(str2binl(data)), 512 + (data.length * chrsz));
return(core_md5(_local4.concat(_local5), 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 _local3 = Array();
var _local4 = (1 << chrsz) - 1;
var _local1 = 0;
while (_local1 < (str.length * chrsz)) {
_local3[_local1 >> 5] = _local3[_local1 >> 5] | ((str.charCodeAt(_local1 / chrsz) & _local4) << (_local1 % 32));
_local1 = _local1 + chrsz;
}
return(_local3);
}
function binl2str(bin) {
var _local3 = "";
var _local4 = (1 << chrsz) - 1;
var _local1 = 0;
while (_local1 < (bin.length * 32)) {
_local3 = _local3 + String.fromCharCode((bin[_local1 >> 5] >>> (_local1 % 32)) & _local4);
_local1 = _local1 + chrsz;
}
return(_local3);
}
function binl2hex(binarray) {
var _local3 = (hexcase ? "0123456789ABCDEF" : "0123456789abcdef");
var _local4 = "";
var _local1 = 0;
while (_local1 < (binarray.length * 4)) {
_local4 = _local4 + (_local3.charAt((binarray[_local1 >> 2] >> (((_local1 % 4) * 8) + 4)) & 15) + _local3.charAt((binarray[_local1 >> 2] >> ((_local1 % 4) * 8)) & 15));
_local1++;
}
return(_local4);
}
function binl2b64(binarray) {
var _local6 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
var _local4 = "";
var _local2 = 0;
while (_local2 < (binarray.length * 4)) {
var _local5 = ((((binarray[_local2 >> 2] >> (8 * (_local2 % 4))) & 255) << 16) | (((binarray[(_local2 + 1) >> 2] >> (8 * ((_local2 + 1) % 4))) & 255) << 8)) | ((binarray[(_local2 + 2) >> 2] >> (8 * ((_local2 + 2) % 4))) & 255);
var _local1 = 0;
while (_local1 < 4) {
if (((_local2 * 8) + (_local1 * 6)) > (binarray.length * 32)) {
_local4 = _local4 + b64pad;
} else {
_local4 = _local4 + _local6.charAt((_local5 >> (6 * (3 - _local1))) & 63);
}
_local1++;
}
_local2 = _local2 + 3;
}
return(_local4);
}
_root.companyURL = "http://www.2dplay.com/index.php?gameid=1558";
var hexcase = 0;
var b64pad = "";
var chrsz = 8;
Frame 3
loading._visible = false;
fscommand ("trapallkeys", "true");
fscommand ("showmenu", "false");
Stage.showMenu = false;
stop();
Frame 5
function __com_mochibot__(swfid, mc, lv, trk) {
var x;
var g;
var s;
var fv;
var sb;
var u;
var res;
var mb;
var mbc;
mb = "__mochibot__";
mbc = "mochibot.com";
g = (_global ? (_global) : (_level0._root));
if (g[mb + swfid]) {
return(g[mb + swfid]);
}
s = System.security;
x = mc._root.getSWFVersion;
fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5)));
if (!s) {
s = {};
}
sb = s.sandboxType;
if (sb == "localWithFile") {
return(null);
}
x = s.allowDomain;
if (x) {
s.allowDomain(mbc);
}
x = s.allowInsecureDomain;
if (x) {
s.allowInsecureDomain(mbc);
}
u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=7&fv=") + fv) + "&v=") + escape(getVersion())) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "")) + (trk ? "&t=1" : "");
lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv))));
g[mb + "level"] = lv;
if (fv == 5) {
res = "_level" + lv;
if (!eval (res)) {
loadMovieNum (u, lv);
}
} else {
res = mc.createEmptyMovieClip(mb + swfid, lv);
res.loadMovie(u);
}
return(res);
}
stop();
__com_mochibot__("65436a7d", this, 10301, true);
Frame 6
strzal = false;
naplus = 0;
X = hook._x;
bomb1._y = -500;
bomb2._y = -3000;
zegar._y = -1200;
score = 0;
secs = 30;
this.onEnterFrame = function () {
time = "time: " + secs;
napis = "score: " + score;
ship._y = ship._y + ((_ymouse - ship._y) * 0.05);
if (ship._y <= 50) {
ship._y = 50;
}
if (ship._y >= 350) {
ship._y = 350;
}
recenogi._y = ship._y;
if (Math.abs(ship._y - _ymouse) >= 50) {
recenogi.nogi.play();
ship.nogi.play();
} else {
recenogi.nogi.stop();
ship.nogi.stop();
}
if (strzal == true) {
ship.gotoAndStop(2);
hook._y = hook._y + ((ship._y - hook._y) * 0.08);
hook._x = hook._x + 20;
if (hook._x >= 500) {
strzal = false;
}
} else {
if (hook._currentframe == 12) {
hook._x = hook._x - 4;
} else {
hook._x = hook._x - 10;
}
if (hook._x <= X) {
hook._x = X;
hook._visible = false;
ship.gotoAndStop(1);
comboMC._visible = false;
hook._y = ship._y;
}
hook._y = hook._y + ((ship._y - hook._y) * 0.08);
}
line_mc.drawLine();
comboMC._x = hook._x;
comboMC._y = hook._y;
};
b1.onPress = function () {
if (hook._x <= X) {
hook.gotoAndStop(1);
strzal = true;
hook._visible = true;
}
};
_root.createEmptyMovieClip("line_mc", 1);
MovieClip.prototype.drawLine = function () {
this.clear();
this.lineStyle(3, 7625232, 100);
this.moveTo(ship._x, ship._y);
this.lineTo(hook._x, hook._y);
};
i = 0;
while (i < 5) {
eval ("orange" + i).onEnterFrame = function () {
this._y = this._y + 4;
if (this._y >= 410) {
this._y = -10;
this._x = random(300) + 170;
}
if (this.hitTest(hook.tester)) {
hook.nextFrame();
this._y = -(random(200) + 100);
this._x = random(300) + 170;
strzal = false;
}
};
i++;
}
i = 0;
while (i < 3) {
eval ("bomb" + i).onEnterFrame = function () {
this._y = this._y + 3;
if (this._y >= 410) {
this.gotoAndStop(1);
this._y = -30;
this._x = random(300) + 170;
}
if (this.hitTest(hook.tester)) {
hook.gotoAndStop("bomb");
if (score > 0) {
score = score - 10;
}
comboMC._visible = false;
this.play();
strzal = false;
}
};
i++;
}
zegar.onEnterFrame = function () {
this._y = this._y + 3;
if (this._y >= 410) {
this.gotoAndStop(1);
this._y = -1200;
this._x = random(300) + 170;
}
if (this.hitTest(hook.tester)) {
this.play();
secs = secs + 10;
this._y = -1200;
}
};
Instance of Symbol 247 MovieClip "hook" in Frame 6
onClipEvent (enterFrame) {
X = this._x;
Y = this._y;
Xm = _parent.ship._x;
Ym = _parent.ship._y;
Xdiff = Xm - X;
Ydiff = Ym - Y;
radAngle = Math.atan2(Ydiff, Xdiff);
this._rotation = ((radAngle * 360) / (Math.PI*2)) + 180;
updateAfterEvent();
}
Symbol 5 Button
on (release) {
getURL (_root.companyURL, "_blank");
}
Symbol 75 MovieClip Frame 151
_root.loading._visible = true;
stop();
Symbol 81 MovieClip Frame 1
var gameBytesTotal = 0;
var gameBytesLoaded = 0;
var percent = 0;
var count = 0;
var loadingDelayCount = 40;
Symbol 81 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.play();
stop();
} else {
gotoAndPlay ("preload");
}
Symbol 92 MovieClip Frame 1
stop();
Symbol 106 MovieClip Frame 1
stop();
Symbol 121 MovieClip Frame 1
stop();
Symbol 134 MovieClip Frame 1
stop();
Symbol 148 MovieClip Frame 1
stop();
Symbol 162 MovieClip Frame 1
stop();
Symbol 169 MovieClip Frame 1
stop();
Symbol 184 MovieClip Frame 1
stop();
Symbol 200 MovieClip Frame 1
stop();
Symbol 217 MovieClip Frame 1
stop();
Symbol 223 MovieClip Frame 1
stop();
_parent.stop();
fscommand ("trapallkeys", "true");
fscommand ("showmenu", "false");
Stage.showMenu = false;
if (_parent.loose == true) {
gotoAndStop ("loose");
}
if (_parent.win == true) {
gotoAndStop ("win");
}
this.onEnterFrame = function () {
napis = ("Your score: " + _parent.score) + " pts.";
i = 1;
while (i <= 10) {
eval ("b" + i).i = i - 1;
eval ("b" + i).onRelease = function () {
switch (this.i) {
case 0 :
stopAllSounds();
_parent.gotoAndStop("gra");
break;
case 1 :
getURL ("http://www.2dplay.com/showscores.php?gameid=1558", "_blank");
break;
case 2 :
getURL ("http://www.2dplay.com/downloadgame.php?gameid=1558", "_blank");
break;
case 3 :
getURL ("http://www.2dplay.com/index.php?gameid=1558", "_blank");
break;
case 4 :
_parent.gotoAndStop("gra");
break;
case 5 :
_root.scores_link = "http://www.2dplay.com/highscores.php?gameid=1558&hiscore=";
var _local4 = _root.hex_md5(("gameid=1558&hiscore=" + _root.score) + "2DPlay.com/");
getURL (String(((_root.scores_link + _root.score) + "&hash=") + _local4), "_blank");
break;
case 6 :
gotoAndStop ("instr");
break;
case 7 :
_parent.win = false;
_parent.loose = false;
_parent.b1._visible = true;
_parent.b2._visible = true;
gotoAndStop ("main");
case 8 :
}
};
i++;
}
i = 1;
while (i <= 10) {
eval ("b" + i).i = i - 1;
eval ("b" + i).onEnterFrame = function () {
if (this.tester.hitTest(_root._xmouse, _root._ymouse)) {
this.nextFrame();
} else {
this.prevFrame();
}
};
i++;
}
i = 1;
while (i <= 10) {
eval ("b" + i).i = i - 1;
eval ("b" + i).onRollOver = function () {
sound.play();
};
i++;
}
};
Symbol 229 Button
on (release) {
getURL (_root.companyURL, "_blank");
}
Symbol 247 MovieClip Frame 1
stop();
Symbol 247 MovieClip Frame 2
_root.naplus = 10;
Symbol 247 MovieClip Frame 3
_parent.comboMC._visible = true;
_parent.comboMC.kombo = "x2";
_parent.comboMC.gotoAndPlay(1);
_root.naplus = 40;
Symbol 247 MovieClip Frame 4
_parent.comboMC._visible = true;
_parent.comboMC.kombo = "x3";
_root.naplus = 90;
Symbol 247 MovieClip Frame 5
_parent.comboMC._visible = true;
_parent.comboMC.kombo = "x4";
_root.naplus = 160;
Symbol 247 MovieClip Frame 12
_root.naplus = 0;
Symbol 251 MovieClip Frame 1
naplus = "+" + _root.naplus;
Symbol 252 MovieClip Frame 1
stop();
Symbol 252 MovieClip Frame 3
_root.naplus = 0;
Symbol 254 MovieClip Frame 1
stop();
if (_root.naplus != 0) {
naplusMCmove.gotoAndPlay(2);
_root.score = _root.score + _root.naplus;
_root.secs = _root.secs + 1;
}
Symbol 260 MovieClip Frame 25
_root.secs--;
if (_root.secs <= 0) {
stopAllSounds();
_root.win = true;
_root.loose = false;
_root.gotoAndStop("menu");
}
Symbol 272 MovieClip Frame 1
stop();
Symbol 284 Button
on (release) {
stopAllSounds();
nextFrame();
}
Symbol 286 Button
on (release) {
play();
}
Symbol 287 MovieClip Frame 3
stop();