Frame 2
loading._visible = false;
fscommand ("trapallkeys", "true");
fscommand ("showmenu", "false");
Stage.showMenu = false;
Frame 3
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=1558";
var hexcase = 0;
var b64pad = "";
var chrsz = 8;
Frame 4
stop();
Frame 5
stop();
gameID = "1558";
Frame 15
stop();
jakiJump = "";
odlegloscNapis = "";
strzalka._visible = false;
score = 0;
gravity = 0;
ewo = false;
Y = Math.round(trasa._y);
X = snowboarder._y;
reset = function () {
dom.gotoAndPlay(1);
kickerNum = 0;
snowboarder._y = X;
trasa.skocznia.gotoAndPlay(1);
gravityVal = 5;
stylePoints = 0;
spaceUsed = false;
leftgrabUsed = false;
rightgrabused = false;
threesixtyUsed = false;
backflipUsed = false;
snowboarder._rotation = 15;
gory.gotoAndPlay(1);
strzalka._visible = false;
pierwszyTrik = true;
hang = 0;
triki = "tricks: none";
punkty = 0;
obroty = 0;
ewo = false;
snoboarder.jumping = false;
score = 0;
trasa.play();
snowboarder.gotoAndStop(1);
resetMC._visible = false;
snowboarder.slad.play();
snowboarder.slad.ruchomy.play();
};
reset();
dodajTrik = function (ktory) {
if (pierwszyTrik == true) {
triki = "tricks: " + ktory;
pierwszyTrik = false;
} else {
triki = (triki + " + ") + ktory;
}
};
this.onEnterFrame = function () {
if (gravity < 0) {
strzalka.gotoAndStop(2);
if (odleglosc < 7) {
strzalka.wskaznik.play();
}
}
if (gravity != 0) {
odlegloscNapis = odleglosc + " m";
} else {
odlegloscNapis = "";
}
if (gravity > -10) {
jakiJumpMC.gotoAndStop(odleglosc);
} else {
jakiJumpMC.gotoAndStop(1);
}
gory._y = gory._y + (gravity / 10);
styleNapis = "style points: " + stylePoints;
scoreNapis = "score: " + score;
rotation = "rotation: " + obroty;
hangTime = "hangtime: " + hang;
points = "trick points: " + punkty;
if (trasa._y <= Y) {
trasa._y = Y;
snowboarder.jumping = false;
}
};
Symbol 6 Button
on (release) {
getURL (_root.companyURL, "_blank");
}
Symbol 76 MovieClip Frame 151
_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.play();
stop();
} else {
gotoAndPlay ("preload");
}
Symbol 99 MovieClip Frame 1
stop();
Symbol 99 MovieClip Frame 8
stopAllSounds();
Symbol 99 MovieClip Frame 11
_parent.gotoAndStop("gra");
Symbol 107 Button
on (press) {
instr._visible = false;
ludzik.play();
}
Symbol 127 Button
on (press) {
getURL ("http://www.2dplay.com/showscores.php?gameid=" + gameID, "_blank");
}
Symbol 133 Button
on (press) {
getURL ("http://www.2dplay.com/index.php?gameid=" + gameID, "_blank");
}
Symbol 143 Button
on (press) {
getURL ("http://www.2dplay.com/downloadgame.php?gameid=" + gameID, "_blank");
}
Symbol 147 Button
on (release) {
getURL (_root.companyURL, "_blank");
}
Symbol 160 MovieClip Frame 1
najezdzanie = false;
spadanie = false;
przesuw = 5;
onEnterFrame = function () {
var _local1 = _root;
if (_local1.snowboarder._currentframe != 40) {
if (najezdzanie == true) {
_local1.snowboarder._y = _local1.snowboarder._y - przesuw;
}
if (spadanie == true) {
_local1.snowboarder._y = _local1.snowboarder._y + przesuw;
}
}
};
if (_root.kickerNum == 3) {
_root.gotoAndStop("end");
} else {
_root.kickerNapis = "get ready...";
}
Symbol 160 MovieClip Frame 88
najezdzanie = true;
Symbol 160 MovieClip Frame 91
_root.kickerNum++;
_root.kickerNapis = "kicker " + _root.kickerNum;
if (_root.snowboarder.jumping == false) {
_root.snowboarder._rotation = -5;
}
Symbol 160 MovieClip Frame 94
_root.gravityVal = 10;
_root.instr.nextFrame();
Symbol 160 MovieClip Frame 95
_root.gravityVal = 12;
Symbol 160 MovieClip Frame 96
_root.gravityVal = 15;
Symbol 160 MovieClip Frame 97
_root.gravityVal = 17;
Symbol 160 MovieClip Frame 98
_root.gravityVal = 20;
Symbol 160 MovieClip Frame 99
_root.gravityVal = 23;
Symbol 160 MovieClip Frame 100
_root.gravityVal = 28;
Symbol 160 MovieClip Frame 101
_root.gravityVal = 30;
Symbol 160 MovieClip Frame 102
_root.gravityVal = 35;
Symbol 160 MovieClip Frame 103
_root.gravityVal = 40;
najezdzanie = false;
spadanie = true;
_root.snowboarder.slad._visible = false;
if (_root.snowboarder.jumping == false) {
_root.snowboarder._rotation = 15;
}
Symbol 160 MovieClip Frame 105
_root.gravityVal = 5;
if (_root.instr._currentframe == 2) {
_root.instr.gotoAndStop(1);
}
Symbol 160 MovieClip Frame 111
if (_root.snowboarder.jumping == false) {
_root.snowboarder.slad._visible = true;
}
Symbol 160 MovieClip Frame 118
spadanie = false;
if (_root.snowboarder.jumping == true) {
stop();
}
Symbol 164 MovieClip Frame 6
_root.gravity = _root.gravityVal;
_root.strzalka.gotoAndStop(1);
_root.strzalka._visible = true;
_parent.slad._visible = false;
_parent.jumping = true;
_parent._rotation = 0;
Symbol 164 MovieClip Frame 9
_parent.gotoAndStop("ewolucje");
Symbol 166 MovieClip Frame 20
_parent.gotoAndStop(1);
Symbol 167 MovieClip Frame 20
_parent.gotoAndStop(1);
Symbol 200 MovieClip Frame 20
_parent.gotoAndStop(1);
Symbol 201 MovieClip Frame 1
stop();
_parent.czekEwo();
Symbol 202 MovieClip Frame 1
stop();
czekEwo = function () {
if ((graby._currentframe == 1) && (_currentframe == 1)) {
_root.ewo = false;
}
};
czekEwo();
onEnterFrame = function () {
var _local1 = _root;
if (Key.isDown(Key.left) && (graby._currentframe == 1)) {
graby.gotoAndStop("leftgrab");
if (_local1.leftgrabUsed == false) {
_local1.stylePoints++;
_local1.leftgrabUsed = true;
}
_local1.dodajTrik("tailgrab");
_local1.ewo = true;
_local1.punkty = _local1.punkty + 75;
} else if (Key.isDown(Key.right) && (graby._currentframe == 1)) {
graby.gotoAndStop("rightgrab");
if (_local1.rightgrabUsed == false) {
_local1.stylePoints++;
_local1.rightgrabUsed = true;
}
_local1.dodajTrik("nosegrab");
_local1.ewo = true;
_local1.punkty = _local1.punkty + 85;
} else if (Key.isDown(Key.down) && (graby._currentframe == 1)) {
graby.gotoAndStop("threesixty");
if (_local1.threesixtyUsed == false) {
_local1.stylePoints++;
_local1.threesixtyUsed = true;
}
_local1.dodajTrik("three-sixty");
_local1.ewo = true;
_local1.obroty = _local1.obroty + 360;
} else if (Key.isDown(Key.up) && (_currentframe == 1)) {
if (_local1.backflipUsed == false) {
_local1.stylePoints++;
_local1.backflipUsed = true;
}
gotoAndPlay ("backflip");
_local1.ewo = true;
_local1.dodajTrik("backflip");
_local1.punkty = _local1.punkty + 475;
}
};
Symbol 202 MovieClip Frame 25
gotoAndStop (1);
Symbol 204 MovieClip Frame 5
_parent.gotoAndStop("jedzie");
Symbol 208 MovieClip Frame 26
stop();
_root.resetMC._visible = true;
if (_root.score == 0) {
_root.resetMC.submit._visible = false;
} else {
_root.resetMC.submit._visible = true;
}
Symbol 210 MovieClip Frame 1
stop();
slad._visible = true;
onEnterFrame = function () {
var _local1 = _parent;
var _local2 = _root;
if ((_local2.ewo == true) && (_local1.trasa._y == _local1.Y)) {
gotoAndStop ("gleba");
_local1.trasa.stop();
}
if (jumping == false) {
if (_local1.gravity <= -1) {
gotoAndStop ("laduje");
_local1.gravity = 0;
}
}
if (key.isDown(32) && (_local2._currentframe != 25)) {
if (_local2.instr._currentframe == 2) {
_local2.instr.nextFrame();
}
if ((_currentframe == 1) && (_local1.gravity == 0)) {
gotoAndStop ("skacze");
}
}
if (jumping == true) {
_local2.odleglosc = Math.round((_local2.trasa._y - _local2.Y) / 100);
_local2.hang++;
_local1.gravity = _local1.gravity - 0.5;
_local1.trasa._y = _local1.trasa._y + _local1.gravity;
} else {
_local2.odleglosc = "";
}
};
Symbol 210 MovieClip Frame 30
slad.gotoAndPlay(1);
slad._visible = true;
_parent.strzalka._visible = false;
_root.score = _root.score + (((_root.punkty + _root.obroty) + _root.hang) * _root.stylePoints);
_root.triki = "tricks: none";
_root.pierwszyTrik = true;
_root.obroty = 0;
_root.punkty = 0;
_root.hang = 0;
_rotation = 15;
_root.stylePoints = 0;
_root.spaceUsed = false;
_root.leftgrabUsed = false;
_root.rightgrabused = false;
_root.threesixtyUsed = false;
_root.backflipUsed = false;
_root.trasa.skocznia.play();
Symbol 210 MovieClip Frame 40
slad.stop();
slad.ruchomy.stop();
_root.trasa.skocznia.stop();
_root.gory.stop();
_root.obroty = 0;
_root.punkty = 0;
_root.hang = 0;
_root.kickerNapis = "";
_rotation = 15;
Symbol 212 MovieClip Frame 11
stop();
Symbol 223 MovieClip Frame 25
stop();
Symbol 224 MovieClip Frame 1
stop();
Symbol 229 Button
on (press) {
_root.reset();
}
Symbol 233 Button
on (press) {
_root.scores_link = ("http://www.2dplay.com/highscores.php?gameid=" + _root.gameID) + "&hiscore=";
var hashkey = _root.hex_md5(((("gameid=" + _root.gameID) + "&hiscore=") + _root.score) + "2DPlay.com/");
getURL (String(((_root.scores_link + _root.score) + "&hash=") + hashkey), "_blank");
}
Symbol 237 Button
on (press) {
stopAllSounds();
_root.gotoAndStop("menu");
}
Symbol 243 Button
on (release) {
stopAllSounds();
nextFrame();
}
Symbol 246 Button
on (release) {
gotoAndPlay (2);
}
Symbol 247 MovieClip Frame 3
stop();
Symbol 255 MovieClip Frame 1
stop();
Symbol 259 MovieClip Frame 45
stop();
Symbol 260 MovieClip Frame 1
stop();
Symbol 261 MovieClip Frame 11
_parent.ludzik.play();
Symbol 261 MovieClip Frame 46
stop();
_root.gory.stop();
Symbol 262 Button
on (press) {
stopAllSounds();
_root.reset();
_root.gotoAndStop("gra");
}
Symbol 265 Button
on (press) {
stopAllSounds();
_root.gotoAndStop("menu");
}
Symbol 269 MovieClip Frame 1
stop();
Symbol 269 MovieClip Frame 31
if (_root.score == 0) {
submit._visible = false;
} else {
submit._visible = true;
}
stop();
Symbol 270 MovieClip Frame 10
stop();