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 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);
}
_root.companyURL = "http://www.2dplay.com/index.php?gameid=1124";
fscommand ("trapallkeys", true);
fscommand ("showmenu", "false");
var hexcase = 0;
var b64pad = "";
var chrsz = 8;
Frame 3
loading._visible = false;
stop();
Frame 5
stop();
fscommand ("trapallkeys", "true");
fscommand ("showmenu", "false");
Stage.showMenu = false;
restart = false;
koniec = false;
Frame 7
lives = 200;
level = 1;
score = 0;
playGame = true;
this.onEnterFrame = function () {
napis = ((("Level: " + level) + "/25") + " Score: ") + score;
if (wyjscie.hitTest(hero)) {
wyjscie.play();
}
if (heart.tester.hitTest(hero)) {
score = score + 1000;
heart.play();
}
i = 0;
while (i < 20) {
var reff = eval ("enemy" + i);
reff.onEnterFrame = function () {
if (this.tester.hitTest(hero)) {
playGame = false;
hero.gotoAndStop(3);
}
};
var ref = eval ("coin" + i);
ref.onEnterFrame = function () {
if (this.tester.hitTest(hero)) {
score = score + 100;
this.play();
}
};
i++;
}
};
restart = function () {
enemy5._x = enemy5.X;
_root.ground.gotoAndStop(random(_root.ground._totalframes) + 1);
hero._rotation = 0;
hero.gotoAndStop(1);
hero.heroClip.stop();
jumping = false;
playGame = true;
hero._x = 48;
hero._y = 90;
enemy19._x = enemy19.X;
enemy19._xscale = 100;
enemy19.count = 0;
enemy19.n = -1;
};
Instance of Symbol 189 MovieClip "cloud" in Frame 7
onClipEvent (enterFrame) {
this._x = _parent.hero._x;
this._y = _parent.hero._y;
}
Instance of Symbol 203 MovieClip "hero" in Frame 7
onClipEvent (load) {
function move(x, y) {
var _local1 = y;
var _local2 = x;
var _local3 = _root;
h = false;
if (!_local3.map.hitTest(((_x + _local2) + b.xmin) + 4, (_y + _local1) + b.ymin, true)) {
if (!_local3.map.hitTest(((_x + _local2) + b.xmax) - 3, (_y + _local1) + b.ymin, true)) {
if (!_local3.map.hitTest(((_x + _local2) + b.xmin) + 4, (_y + _local1) + b.ymax, true)) {
if (!_local3.map.hitTest(((_x + _local2) + b.xmax) - 3, (_y + _local1) + b.ymax, true)) {
_x = (_x + _local2);
_y = (_y + _local1);
h = true;
}
}
}
}
return(h);
}
_root.restart();
s = 3;
b = this.getBounds(this);
}
onClipEvent (enterFrame) {
if (_root.playGame) {
_root.falling = move(0, s);
if ((Key.isDown(32) && (!_root.falling)) && (!_root.jumping)) {
vel = -12;
_root.jumping = true;
_root.bounceSnd.gotoAndPlay(2);
}
if ((Key.isDown(38) && (!_root.falling)) && (!_root.jumping)) {
vel = -12;
_root.jumping = true;
_root.bounceSnd.gotoAndPlay(2);
}
if (Key.isDown(37) and (_x > 10)) {
move(-s, 0);
this.gotoAndStop(2);
this.heroClip.nextFrame();
}
if (Key.isDown(39) and (_x < 490)) {
move(s, 0);
this.gotoAndStop(1);
this.heroClip.nextFrame();
}
if (_root.jumping) {
this._rotation = r;
if (vel <= 12) {
h = move(0, vel - s);
if ((h == false) && (vel < 0)) {
vel = vel * -1;
}
vel++;
} else {
_root.jumping = false;
}
}
}
if (this._y > 320) {
_root.playGame = false;
_root.hero.gotoAndStop(3);
}
}
onClipEvent (keyUp) {
this.heroClip.stop();
}
Instance of Symbol 230 MovieClip "cloud" in Frame 9
onClipEvent (enterFrame) {
this._x = _parent.hero._x;
this._y = _parent.hero._y;
}
Instance of Symbol 244 MovieClip "enemy2" in Frame 11
onClipEvent (load) {
n = -1;
}
onClipEvent (enterFrame) {
this._y = this._y + n;
count++;
if (count == 80) {
count = 0;
n = -n;
}
}
Instance of Symbol 247 MovieClip "cloud" in Frame 11
onClipEvent (enterFrame) {
this._x = _parent.hero._x;
this._y = _parent.hero._y;
}
Instance of Symbol 244 MovieClip "enemy2" in Frame 13
onClipEvent (load) {
n = -1;
}
onClipEvent (enterFrame) {
this._y = this._y + n;
count++;
if (count == 80) {
count = 0;
n = -n;
}
}
Instance of Symbol 251 MovieClip "enemy4" in Frame 13
onClipEvent (load) {
n = -1;
}
onClipEvent (enterFrame) {
this._x = this._x + n;
count++;
if (count == 120) {
count = 0;
n = -n;
}
}
Instance of Symbol 266 MovieClip "enemy1" in Frame 15
onClipEvent (load) {
n = -2;
}
onClipEvent (enterFrame) {
this._x = this._x + n;
count++;
if (count >= 50) {
count = 0;
n = -n;
this._xscale = -this._xscale;
}
}
Instance of Symbol 266 MovieClip "enemy3" in Frame 15
onClipEvent (load) {
n = -2;
}
onClipEvent (enterFrame) {
this._x = this._x + n;
count++;
if (count >= 100) {
count = 0;
n = -n;
this._xscale = -this._xscale;
}
}
Instance of Symbol 270 MovieClip "enemy5" in Frame 17
onClipEvent (load) {
X = this._x;
}
onClipEvent (enterFrame) {
this._x = this._x - 2;
if (this._x < -100) {
this.gotoAndPlay(1);
this._x = X;
}
}
Instance of Symbol 244 MovieClip "enemy2" in Frame 19
onClipEvent (load) {
n = -1;
}
onClipEvent (enterFrame) {
this._y = this._y + n;
count++;
if (count == 80) {
count = 0;
n = -n;
}
}
Instance of Symbol 251 MovieClip "enemy4" in Frame 21
onClipEvent (load) {
n = -2;
}
onClipEvent (enterFrame) {
this._x = this._x + n;
count++;
if (count >= 200) {
count = 0;
n = -n;
}
}
Instance of Symbol 251 MovieClip "enemy3" in Frame 21
onClipEvent (load) {
n = 2;
}
onClipEvent (enterFrame) {
this._x = this._x + n;
count++;
if (count >= 50) {
count = 0;
n = -n;
}
}
Instance of Symbol 249 MovieClip "enemy2" in Frame 23
onClipEvent (load) {
gotoAndPlay (30);
}
Instance of Symbol 249 MovieClip "enemy3" in Frame 23
onClipEvent (load) {
gotoAndPlay (40);
}
Instance of Symbol 284 MovieClip in Frame 23
onClipEvent (load) {
n = 6;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero) and (_root.hero._y > 10)) {
_root.hero._y = _root.hero._y - n;
}
}
Instance of Symbol 284 MovieClip in Frame 25
onClipEvent (load) {
n = 6;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero) and (_root.hero._y > 10)) {
_root.hero._y = _root.hero._y - n;
}
}
Instance of Symbol 284 MovieClip in Frame 25
onClipEvent (load) {
n = 6;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero) and (_root.hero._y > 10)) {
_root.hero._y = _root.hero._y - n;
}
}
Instance of Symbol 284 MovieClip in Frame 25
onClipEvent (load) {
n = 6;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero) and (_root.hero._y > 10)) {
_root.hero._y = _root.hero._y - n;
}
}
Instance of Symbol 295 MovieClip "enemy2" in Frame 25
onClipEvent (load) {
gotoAndPlay (40);
}
Instance of Symbol 295 MovieClip "enemy3" in Frame 25
onClipEvent (load) {
gotoAndPlay (70);
}
Instance of Symbol 284 MovieClip in Frame 27
onClipEvent (load) {
n = 6;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero) and (_root.hero._y > 10)) {
_root.hero._y = _root.hero._y - n;
}
}
Instance of Symbol 284 MovieClip in Frame 27
onClipEvent (load) {
n = 6;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero) and (_root.hero._y > 10)) {
_root.hero._y = _root.hero._y - n;
}
}
Instance of Symbol 249 MovieClip "enemy3" in Frame 27
onClipEvent (load) {
gotoAndPlay (40);
}
Instance of Symbol 240 MovieClip "c4" in Frame 29
onClipEvent (enterFrame) {
this._y = this._y + 5;
if (this._y >= 1500) {
this._y = 0;
this._x = random(300) + 100;
gotoAndStop (1);
}
if (this.tester.hitTest(_root.hero)) {
_root.score = _root.score + 1000;
this.play();
}
}
Instance of Symbol 298 MovieClip "c1" in Frame 29
onClipEvent (enterFrame) {
this._y = this._y + 2;
if (this._y >= 320) {
this._y = 0;
this._x = random(300) + 100;
gotoAndStop (1);
}
if (this.tester.hitTest(_root.hero)) {
_root.score = _root.score + 100;
this.play();
}
}
Instance of Symbol 298 MovieClip "c2" in Frame 29
onClipEvent (enterFrame) {
this._y = this._y + 2;
if (this._y >= 320) {
this._y = 0;
this._x = random(300) + 100;
gotoAndStop (1);
}
if (this.tester.hitTest(_root.hero)) {
_root.score = _root.score + 100;
this.play();
}
}
Instance of Symbol 298 MovieClip "c3" in Frame 29
onClipEvent (enterFrame) {
this._y = this._y + 2;
if (this._y >= 320) {
this._y = 0;
this._x = random(300) + 100;
gotoAndStop (1);
}
if (this.tester.hitTest(_root.hero)) {
_root.score = _root.score + 100;
this.play();
}
}
Instance of Symbol 298 MovieClip "c5" in Frame 29
onClipEvent (enterFrame) {
this._y = this._y + 2;
if (this._y >= 320) {
this._y = 0;
this._x = random(300) + 100;
gotoAndStop (1);
}
if (this.tester.hitTest(_root.hero)) {
_root.score = _root.score + 100;
this.play();
}
}
Instance of Symbol 295 MovieClip "enemy3" in Frame 29
onClipEvent (load) {
gotoAndPlay (70);
}
Instance of Symbol 284 MovieClip "vac1" in Frame 29
onClipEvent (load) {
n = 6;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero) and (_root.hero._y > 10)) {
_root.hero._y = _root.hero._y - n;
}
}
Instance of Symbol 249 MovieClip "enemy3" in Frame 31
onClipEvent (load) {
gotoAndPlay (40);
}
Instance of Symbol 266 MovieClip "enemy1" in Frame 31
onClipEvent (load) {
n = -2;
}
onClipEvent (enterFrame) {
this._x = this._x + n;
count++;
if (count >= 100) {
count = 0;
n = -n;
this._xscale = -this._xscale;
}
}
Instance of Symbol 270 MovieClip "enemy5" in Frame 31
onClipEvent (load) {
X = this._x;
}
onClipEvent (enterFrame) {
this._x = this._x + 2;
if (this._x > 550) {
this.gotoAndPlay(1);
this._x = X;
}
}
Instance of Symbol 307 MovieClip "enemy1" in Frame 33
onClipEvent (load) {
rePos = function () {
x = random(300) + 100;
this._x = x;
this._y = -10;
x = 1;
};
repos();
}
onClipEvent (enterFrame) {
this._y = this._y + x;
x = x + 0.005;
if (this._y > 420) {
rePos();
}
}
Instance of Symbol 307 MovieClip "enemy2" in Frame 33
onClipEvent (load) {
rePos = function () {
x = random(300) + 100;
this._x = x;
this._y = -10;
x = 2;
};
repos();
}
onClipEvent (enterFrame) {
this._y = this._y + x;
x = x + 0.005;
if (this._y > 420) {
rePos();
}
}
Instance of Symbol 284 MovieClip in Frame 35
onClipEvent (load) {
n = 6;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero) and (_root.hero._y > 10)) {
_root.hero._y = _root.hero._y - n;
}
}
Instance of Symbol 309 MovieClip "enemy1" in Frame 35
onClipEvent (load) {
n = -2;
}
onClipEvent (enterFrame) {
this._x = this._x + n;
count++;
if (count >= 200) {
count = 0;
n = -n;
this._xscale = -this._xscale;
}
}
Instance of Symbol 311 MovieClip "enemy2" in Frame 37
onClipEvent (load) {
gotoAndPlay (30);
}
Instance of Symbol 311 MovieClip "enemy3" in Frame 37
onClipEvent (load) {
gotoAndPlay (40);
}
Instance of Symbol 284 MovieClip in Frame 37
onClipEvent (load) {
n = 6;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero) and (_root.hero._y > 10)) {
_root.hero._y = _root.hero._y - n;
}
}
Instance of Symbol 284 MovieClip in Frame 39
onClipEvent (load) {
n = 6;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero) and (_root.hero._y > 10)) {
_root.hero._y = _root.hero._y - n;
}
}
Instance of Symbol 313 MovieClip "enemy1" in Frame 39
onClipEvent (enterFrame) {
_y = (_y - speeg);
speeg = speeg - 1.5;
if ((_y + 50) > 250) {
speeg = random(9) + 16;
}
}
Instance of Symbol 313 MovieClip "enemy3" in Frame 39
onClipEvent (enterFrame) {
_y = (_y - speeg);
speeg = speeg - 1.5;
if ((_y + 50) > 250) {
speeg = random(9) + 16;
}
}
Instance of Symbol 316 MovieClip "enemy1" in Frame 41
onClipEvent (load) {
X = this._x;
Y = this._y;
}
onClipEvent (enterFrame) {
Xm = _parent.hero._x;
Ym = _parent.hero._y;
Xdiff = Xm - X;
Ydiff = Ym - Y;
radAngle = Math.atan2(Ydiff, Xdiff);
this._rotation = (radAngle * 360) / (Math.PI*2);
updateAfterEvent();
}
Instance of Symbol 284 MovieClip in Frame 45
onClipEvent (load) {
n = 6;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero) and (_root.hero._y > 10)) {
_root.hero._y = _root.hero._y - n;
}
}
Instance of Symbol 266 MovieClip "enemy1" in Frame 45
onClipEvent (load) {
n = -2;
}
onClipEvent (enterFrame) {
this._x = this._x + n;
count++;
if (count >= 50) {
count = 0;
n = -n;
this._xscale = -this._xscale;
}
}
Instance of Symbol 266 MovieClip "enemy2" in Frame 45
onClipEvent (load) {
n = -2;
}
onClipEvent (enterFrame) {
this._x = this._x + n;
count++;
if (count >= 70) {
count = 0;
n = -n;
this._xscale = -this._xscale;
}
}
Instance of Symbol 266 MovieClip "enemy3" in Frame 45
onClipEvent (load) {
n = -2;
}
onClipEvent (enterFrame) {
this._x = this._x + n;
count++;
if (count >= 100) {
count = 0;
n = -n;
this._xscale = -this._xscale;
}
}
Instance of Symbol 284 MovieClip in Frame 47
onClipEvent (load) {
n = 6;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero) and (_root.hero._y > 10)) {
_root.hero._y = _root.hero._y - n;
}
}
Instance of Symbol 332 MovieClip "enemy19" in Frame 47
onClipEvent (load) {
n = -1;
X = this._x;
}
onClipEvent (enterFrame) {
this._x = this._x + n;
count++;
if (count >= 350) {
count = 0;
n = -n;
this._xscale = -this._xscale;
}
}
Instance of Symbol 337 MovieClip "enemy2" in Frame 49
onClipEvent (load) {
gotoAndPlay (40);
}
Instance of Symbol 240 MovieClip "c4" in Frame 51
onClipEvent (enterFrame) {
this._y = this._y + 5;
if (this._y >= 1500) {
this._y = 0;
this._x = random(300) + 100;
gotoAndStop (1);
}
if (this.tester.hitTest(_root.hero)) {
_root.score = _root.score + 1000;
this.play();
}
}
Instance of Symbol 298 MovieClip "c1" in Frame 51
onClipEvent (enterFrame) {
this._y = this._y + 2;
if (this._y >= 320) {
this._y = 0;
this._x = random(300) + 100;
gotoAndStop (1);
}
if (this.tester.hitTest(_root.hero)) {
_root.score = _root.score + 100;
this.play();
}
}
Instance of Symbol 298 MovieClip "c2" in Frame 51
onClipEvent (enterFrame) {
this._y = this._y + 2;
if (this._y >= 320) {
this._y = 0;
this._x = random(300) + 100;
gotoAndStop (1);
}
if (this.tester.hitTest(_root.hero)) {
_root.score = _root.score + 100;
this.play();
}
}
Instance of Symbol 298 MovieClip "c3" in Frame 51
onClipEvent (enterFrame) {
this._y = this._y + 2;
if (this._y >= 320) {
this._y = 0;
this._x = random(300) + 100;
gotoAndStop (1);
}
if (this.tester.hitTest(_root.hero)) {
_root.score = _root.score + 100;
this.play();
}
}
Instance of Symbol 298 MovieClip "c5" in Frame 51
onClipEvent (enterFrame) {
this._y = this._y + 2;
if (this._y >= 320) {
this._y = 0;
this._x = random(300) + 100;
gotoAndStop (1);
}
if (this.tester.hitTest(_root.hero)) {
_root.score = _root.score + 100;
this.play();
}
}
Instance of Symbol 284 MovieClip "vac1" in Frame 51
onClipEvent (load) {
n = 6;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero) and (_root.hero._y > 10)) {
_root.hero._y = _root.hero._y - n;
}
}
Instance of Symbol 337 MovieClip "enemy2" in Frame 51
onClipEvent (load) {
gotoAndPlay (40);
}
Instance of Symbol 339 MovieClip "enemy15" in Frame 53
/* no clip actions */
Instance of Symbol 340 MovieClip "enemy16" in Frame 53
/* no clip actions */
Instance of Symbol 339 MovieClip "enemy10" in Frame 53
/* no clip actions */
Instance of Symbol 347 MovieClip "enemy" in Frame 55
onClipEvent (enterFrame) {
Xdiff = _root.hero._x - this._x;
Ydiff = _root.hero._y - this._y;
radAngle = Math.atan2(Ydiff, Xdiff);
_rotation = ((radAngle * 360) / (Math.PI*2));
}
Symbol 6 Button
on (release) {
getURL (_root.companyURL, "_blank");
}
Symbol 76 MovieClip Frame 207
_root.loading._visible = true;
stop();
Symbol 82 MovieClip Frame 1
var gameBytesTotal = 0;
var gameBytesLoaded = 0;
var percent = 0;
var count = 0;
var loadingDelayCount = 40;
Symbol 82 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.gotoAndStop("menu");
stop();
} else {
gotoAndPlay ("preload");
}
Symbol 121 Button
on (press) {
getURL ("http://www.2dplay.com/index.php?gameid=1124", "_blank");
}
Symbol 138 Button
on (release) {
getURL ("http://www.2dplay.com/downloadgame.php?gameid=1124", "_blank");
}
Symbol 149 Button
on (release) {
getURL ("http://www.2dplay.com/showscores.php?gameid=1124", "_blank");
}
Symbol 163 Button
on (press) {
gotoAndStop ("gra");
}
Symbol 167 Button
on (release) {
getURL (_root.companyURL, "_blank");
}
Symbol 177 MovieClip Frame 1
stop();
Symbol 185 MovieClip Frame 1
stop();
Symbol 185 MovieClip Frame 16
_root.level++;
_root._x = 0;
_root._y = 0;
_root.score = _root.score + 100;
_root.restart();
_root.ground.gotoAndStop(random(_root.ground._totalframes) + 1);
_root.gotoAndStop(_root._currentframe + 2);
Symbol 197 MovieClip Frame 1
stop();
eval (this).onEnterFrame = function () {
if (Key.isDown(39) || (Key.isDown(37))) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
};
Symbol 202 MovieClip Frame 26
_root.score = _root.score - 100;
_root.restart();
Symbol 205 MovieClip Frame 1
stop();
Symbol 212 Button
on (press) {
getURL ("http://www.2dplay.com/index.php?gameid=1124", "_blank");
}
Symbol 218 Button
on (release) {
play();
}
Symbol 219 MovieClip Frame 1
stop();
Symbol 219 MovieClip Frame 2
stop();
Symbol 226 Button
on (release) {
_root._x = 0;
_root._y = 0;
gotoAndStop ("endof");
}
Symbol 240 MovieClip Frame 1
stop();
Symbol 240 MovieClip Frame 22
stop();
Symbol 243 MovieClip Frame 1
stop();
Symbol 243 MovieClip Frame 15
stop();
Symbol 252 MovieClip Frame 1
n = -1;
n1 = 1;
this.onEnterFrame = function () {
var _local1 = _root;
moving._x = moving._x + n;
count++;
if (count == 200) {
count = 0;
n = -n;
}
if (moving.hitTest(_local1.hero)) {
_local1.hero._x = _local1.hero._x + n;
}
moving1._x = moving1._x + n1;
count1++;
if (count1 == 120) {
count1 = 0;
n1 = -n1;
}
if (moving1.hitTest(_local1.hero)) {
_local1.hero._x = _local1.hero._x + n1;
}
};
Symbol 270 MovieClip Frame 10
stop();
Symbol 272 MovieClip Frame 1
n = -1;
n1 = 1;
this.onEnterFrame = function () {
var _local1 = _root;
moving._x = moving._x + n;
count++;
if (count == 200) {
count = 0;
n = -n;
}
if (moving.hitTest(_local1.hero)) {
_local1.hero._x = _local1.hero._x + n;
}
moving1._x = moving1._x + n1;
count1++;
if (count1 == 120) {
count1 = 0;
n1 = -n1;
}
if (moving1.hitTest(_local1.hero)) {
_local1.hero._x = _local1.hero._x + n1;
}
};
Symbol 281 MovieClip Frame 1
n = -1;
n1 = 1;
this.onEnterFrame = function () {
var _local1 = _root;
moving._x = moving._x + n;
count++;
if (count == 200) {
count = 0;
n = -n;
}
if (moving.hitTest(_local1.hero)) {
_local1.hero._x = _local1.hero._x + n;
}
moving1._x = moving1._x + n1;
count1++;
if (count1 == 120) {
count1 = 0;
n1 = -n1;
}
if (moving1.hitTest(_local1.hero)) {
_local1.hero._x = _local1.hero._x + n1;
}
};
Symbol 282 MovieClip Frame 1
n = -1;
n1 = 1;
this.onEnterFrame = function () {
var _local1 = _root;
moving._x = moving._x + n;
count++;
if (count == 200) {
count = 0;
n = -n;
}
if (moving.hitTest(_local1.hero)) {
_local1.hero._x = _local1.hero._x + n;
}
moving1._x = moving1._x + n1;
count1++;
if (count1 == 120) {
count1 = 0;
n1 = -n1;
}
if (moving1.hitTest(_local1.hero)) {
_local1.hero._x = _local1.hero._x + n1;
}
};
Symbol 292 MovieClip Frame 1
n = -1;
n1 = 1;
this.onEnterFrame = function () {
var _local1 = _root;
moving._x = moving._x + n;
count++;
if (count == 200) {
count = 0;
n = -n;
}
if (moving.hitTest(_local1.hero)) {
_local1.hero._x = _local1.hero._x + n;
}
moving1._x = moving1._x + n1;
count1++;
if (count1 == 120) {
count1 = 0;
n1 = -n1;
}
if (moving1.hitTest(_local1.hero)) {
_local1.hero._x = _local1.hero._x + n1;
}
};
Symbol 296 MovieClip Frame 1
n = -1;
n1 = 1;
this.onEnterFrame = function () {
var _local1 = _root;
moving._x = moving._x + n;
count++;
if (count == 200) {
count = 0;
n = -n;
}
if (moving.hitTest(_local1.hero)) {
_local1.hero._x = _local1.hero._x + n;
}
moving1._x = moving1._x + n1;
count1++;
if (count1 == 120) {
count1 = 0;
n1 = -n1;
}
if (moving1.hitTest(_local1.hero)) {
_local1.hero._x = _local1.hero._x + n1;
}
};
Symbol 297 MovieClip Frame 1
n = -1;
n1 = 1;
this.onEnterFrame = function () {
var _local1 = _root;
moving._x = moving._x + n;
count++;
if (count == 200) {
count = 0;
n = -n;
}
if (moving.hitTest(_local1.hero)) {
_local1.hero._x = _local1.hero._x + n;
}
moving1._x = moving1._x + n1;
count1++;
if (count1 == 120) {
count1 = 0;
n1 = -n1;
}
if (moving1.hitTest(_local1.hero)) {
_local1.hero._x = _local1.hero._x + n1;
}
};
Symbol 298 MovieClip Frame 1
stop();
Symbol 298 MovieClip Frame 15
stop();
this._y = 500;
Symbol 303 MovieClip Frame 1
X1 = _parent.vac1._x;
X2 = _parent.vac2._x;
_parent.vac1._x = _parent.vac1._x + 500;
_parent.vac2._x = _parent.vac2._x + 500;
sekundy = 59;
setne = 100;
this.onEnterFrame = function () {
var _local1 = _parent;
time = (sekundy + " : ") + setne;
setne = setne - 4;
if (setne <= 0) {
sekundy--;
setne = 100;
}
if (sekundy <= 0) {
_local1.vac1._x = X1;
_local1.vac2._x = X2;
this._visible = false;
_local1.c1._y = -10;
_local1.c2._y = -10;
_local1.c3._y = -10;
_local1.c4._y = -10;
_local1.c5._y = -10;
}
};
Symbol 304 MovieClip Frame 1
n = 1;
this.onEnterFrame = function () {
moving._x = moving._x + n;
count++;
if (count == 150) {
count = 0;
n = -n;
}
if (moving.hitTest(_root.hero)) {
_root.hero._x = _root.hero._x + n;
}
};
Symbol 305 MovieClip Frame 1
n = -1;
n1 = 1;
this.onEnterFrame = function () {
var _local1 = _root;
moving._x = moving._x + n;
count++;
if (count == 200) {
count = 0;
n = -n;
}
if (moving.hitTest(_local1.hero)) {
_local1.hero._x = _local1.hero._x + n;
}
moving1._x = moving1._x + n1;
count1++;
if (count1 == 120) {
count1 = 0;
n1 = -n1;
}
if (moving1.hitTest(_local1.hero)) {
_local1.hero._x = _local1.hero._x + n1;
}
};
Symbol 308 MovieClip Frame 1
n = -1;
n1 = 1;
this.onEnterFrame = function () {
var _local1 = _root;
moving._x = moving._x + n;
count++;
if (count == 200) {
count = 0;
n = -n;
}
if (moving.hitTest(_local1.hero)) {
_local1.hero._x = _local1.hero._x + n;
}
moving1._x = moving1._x + n1;
count1++;
if (count1 == 120) {
count1 = 0;
n1 = -n1;
}
if (moving1.hitTest(_local1.hero)) {
_local1.hero._x = _local1.hero._x + n1;
}
};
Symbol 310 MovieClip Frame 1
n = -1;
n1 = 1;
this.onEnterFrame = function () {
var _local1 = _root;
moving._x = moving._x + n;
count++;
if (count == 200) {
count = 0;
n = -n;
}
if (moving.hitTest(_local1.hero)) {
_local1.hero._x = _local1.hero._x + n;
}
moving1._x = moving1._x + n1;
count1++;
if (count1 == 120) {
count1 = 0;
n1 = -n1;
}
if (moving1.hitTest(_local1.hero)) {
_local1.hero._x = _local1.hero._x + n1;
}
};
Symbol 312 MovieClip Frame 1
n = -1;
n1 = 1;
this.onEnterFrame = function () {
var _local1 = _root;
moving._x = moving._x + n;
count++;
if (count == 200) {
count = 0;
n = -n;
}
if (moving.hitTest(_local1.hero)) {
_local1.hero._x = _local1.hero._x + n;
}
moving1._x = moving1._x + n1;
count1++;
if (count1 == 120) {
count1 = 0;
n1 = -n1;
}
if (moving1.hitTest(_local1.hero)) {
_local1.hero._x = _local1.hero._x + n1;
}
};
Symbol 314 MovieClip Frame 1
n = -1;
n1 = 1;
this.onEnterFrame = function () {
var _local1 = _root;
moving._x = moving._x + n;
count++;
if (count == 200) {
count = 0;
n = -n;
}
if (moving.hitTest(_local1.hero)) {
_local1.hero._x = _local1.hero._x + n;
}
moving1._x = moving1._x + n1;
count1++;
if (count1 == 120) {
count1 = 0;
n1 = -n1;
}
if (moving1.hitTest(_local1.hero)) {
_local1.hero._x = _local1.hero._x + n1;
}
};
Symbol 321 MovieClip Frame 1
n = -1;
n1 = 1;
this.onEnterFrame = function () {
var _local1 = _root;
moving._x = moving._x + n;
count++;
if (count == 200) {
count = 0;
n = -n;
}
if (moving.hitTest(_local1.hero)) {
_local1.hero._x = _local1.hero._x + n;
}
moving1._x = moving1._x + n1;
count1++;
if (count1 == 120) {
count1 = 0;
n1 = -n1;
}
if (moving1.hitTest(_local1.hero)) {
_local1.hero._x = _local1.hero._x + n1;
}
};
Symbol 322 MovieClip Frame 1
n = -1;
n1 = 1;
this.onEnterFrame = function () {
var _local1 = _root;
moving._x = moving._x + n;
count++;
if (count == 200) {
count = 0;
n = -n;
}
if (moving.hitTest(_local1.hero)) {
_local1.hero._x = _local1.hero._x + n;
}
moving1._x = moving1._x + n1;
count1++;
if (count1 == 120) {
count1 = 0;
n1 = -n1;
}
if (moving1.hitTest(_local1.hero)) {
_local1.hero._x = _local1.hero._x + n1;
}
};
Symbol 323 MovieClip Frame 1
n = -1;
n1 = 1;
this.onEnterFrame = function () {
var _local1 = _root;
moving._x = moving._x + n;
count++;
if (count == 200) {
count = 0;
n = -n;
}
if (moving.hitTest(_local1.hero)) {
_local1.hero._x = _local1.hero._x + n;
}
moving1._x = moving1._x + n1;
count1++;
if (count1 == 120) {
count1 = 0;
n1 = -n1;
}
if (moving1.hitTest(_local1.hero)) {
_local1.hero._x = _local1.hero._x + n1;
}
};
Symbol 331 MovieClip Frame 50
_root.boomSound.play();
Symbol 331 MovieClip Frame 100
_root.boomSound.play();
Symbol 335 MovieClip Frame 1
stop();
Symbol 336 MovieClip Frame 1
n = -1;
n1 = 1;
this.onEnterFrame = function () {
var _local1 = _root;
moving._x = moving._x + n;
count++;
if (count == 200) {
count = 0;
n = -n;
}
if (moving.hitTest(_local1.hero)) {
_local1.hero._x = _local1.hero._x + n;
}
moving1._x = moving1._x + n1;
count1++;
if (count1 == 120) {
count1 = 0;
n1 = -n1;
}
if (moving1.hitTest(_local1.hero)) {
_local1.hero._x = _local1.hero._x + n1;
}
};
Symbol 337 MovieClip Frame 5
_root.boomSound.play();
Symbol 338 MovieClip Frame 1
n = -1;
n1 = 1;
this.onEnterFrame = function () {
var _local1 = _root;
moving._x = moving._x + n;
count++;
if (count == 200) {
count = 0;
n = -n;
}
if (moving.hitTest(_local1.hero)) {
_local1.hero._x = _local1.hero._x + n;
}
moving1._x = moving1._x + n1;
count1++;
if (count1 == 120) {
count1 = 0;
n1 = -n1;
}
if (moving1.hitTest(_local1.hero)) {
_local1.hero._x = _local1.hero._x + n1;
}
};
Symbol 339 MovieClip Frame 56
_root.boomSound.play();
Symbol 340 MovieClip Frame 39
_root.boomSound.play();
Symbol 341 MovieClip Frame 34
_root.boomSound.play();
Symbol 342 MovieClip Frame 1
n = -1;
n1 = 1;
this.onEnterFrame = function () {
var _local1 = _root;
moving._x = moving._x + n;
count++;
if (count == 200) {
count = 0;
n = -n;
}
if (moving.hitTest(_local1.hero)) {
_local1.hero._x = _local1.hero._x + n;
}
moving1._x = moving1._x + n1;
count1++;
if (count1 == 120) {
count1 = 0;
n1 = -n1;
}
if (moving1.hitTest(_local1.hero)) {
_local1.hero._x = _local1.hero._x + n1;
}
};
Symbol 344 MovieClip Frame 1
stop();
Symbol 347 MovieClip Frame 67
_root.enemy1._rotation = this._rotation;
_root.enemy1.play();
Symbol 366 Button
on (press) {
_root.scores_link = "http://www.2dplay.com/highscores.php?gameid=1124&hiscore=";
var hashkey = _root.hex_md5(("gameid=1124&hiscore=" + _root.score) + "2DPlay.com/");
getURL (String(((_root.scores_link + _root.score) + "&hash=") + hashkey), "_blank");
}
Symbol 379 Button
on (press) {
gotoAndStop ("gra");
}
Symbol 387 Button
on (press) {
gotoAndStop ("menu");
}
Symbol 391 Button
on (press) {
getURL ("http://www.2dplay.com/index.php?gameid=1124", "_blank");
}