Frame 1
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.menu = CustomContextMenu.menu;
fscommand ("trapallkeys", true);
Stage.scaleMode = "noScale";
stop();
var hexcase = 0;
var b64pad = "";
var chrsz = 8;
Instance of Symbol 19 MovieClip in Frame 1
onClipEvent (load) {
this.swapDepths(11111);
}
Instance of Symbol 102 MovieClip [TMPfric6p884d] in Frame 1
//component parameters
onClipEvent (construct) {
flashVersion = 8;
gameID = 1686;
movieFramerate = 24;
skipPreloader = false;
startFrameLabel = "splash";
}
Frame 2
_root.gotoAndPlay("splash");
Frame 56
stop();
Frame 57
stop();
Frame 58
stop();
Frame 59
function timeArrays() {
game.yspots = [340, 240, 180, 130];
game.xspots = [100, 530, 100, 530];
game.scores = [5, 20, 30, 40];
game.blitzTimeArray = [5000, 4800, 4600, 4500];
game.quarterLengths = [45, 60, 75, 90];
}
function setUpSounds() {
game.music = [];
game.sounds = [];
game.music = new Array();
game.sounds = new Array();
delete this.sounds;
delete this.music;
this.createEmptyMovieClip("sounds_mc", getNextHighestDepth());
_root.sounds = new Sound(sounds_mc);
this.createEmptyMovieClip("music_mc", getNextHighestDepth());
_root.music = new Sound(music_mc);
music.s_boo1 = new Sound(music_mc);
music.s_boo1.attachSound("s_boo1");
game.music.push("s_boo1");
music.s_boo2 = new Sound(music_mc);
music.s_boo2.attachSound("s_boo2");
game.music.push("s_boo2");
music.s_boo3 = new Sound(music_mc);
music.s_boo3.attachSound("s_boo3");
game.music.push("s_boo3");
music.s_boo4 = new Sound(music_mc);
music.s_boo4.attachSound("s_boo4");
game.music.push("s_boo4");
music.s_boo5 = new Sound(music_mc);
music.s_boo5.attachSound("s_boo53");
game.music.push("s_boo5");
music.s_hooray = new Sound(music_mc);
music.s_hooray.attachSound("s_hooray");
game.music.push("s_hooray");
music.ingame = new Sound(ingame);
music.ingame.attachSound("ingame");
game.music.push("ingame");
music.ingame.stop();
music.ingame.start(0, 1000);
sounds.s_catch1 = new Sound(sounds_mc);
sounds.s_catch1.attachSound("s_catch1");
game.sounds.push("s_catch1");
sounds.s_catch2 = new Sound(sounds_mc);
sounds.s_catch2.attachSound("s_catch2");
game.sounds.push("s_catch2");
sounds.s_catch3 = new Sound(sounds_mc);
sounds.s_catch3.attachSound("s_catch3");
game.sounds.push("s_catch3");
sounds.s_catch4 = new Sound(sounds_mc);
sounds.s_catch4.attachSound("s_catch4");
game.sounds.push("s_catch4");
sounds.s_birds = new Sound(sounds_mc);
sounds.s_birds.attachSound("s_birds");
game.sounds.push("s_birds");
sounds.s_whistle = new Sound(sounds_mc);
sounds.s_whistle.attachSound("s_whistle");
game.sounds.push("s_whistle");
sounds.s_bell = new Sound(sounds_mc);
sounds.s_bell.attachSound("s_bell");
game.sounds.push("s_bell");
sounds.s_crunch1 = new Sound(sounds_mc);
sounds.s_crunch1.attachSound("s_crunch1");
game.sounds.push("s_crunch1");
sounds.s_crunch2 = new Sound(sounds_mc);
sounds.s_crunch2.attachSound("s_crunch2");
game.sounds.push("s_crunch2");
sounds.s_crunch3 = new Sound(sounds_mc);
sounds.s_crunch3.attachSound("s_crunch3");
game.sounds.push("s_crunch3");
sounds.s_open_1 = new Sound(sounds_mc);
sounds.s_open_1.attachSound("s_open_1");
game.sounds.push("s_open_1");
sounds.s_open_2 = new Sound(sounds_mc);
sounds.s_open_2.attachSound("s_open_2");
game.sounds.push("s_open_2");
sounds.s_open_3 = new Sound(sounds_mc);
sounds.s_open_3.attachSound("s_open_3");
game.sounds.push("s_open_3");
sounds.s_open_4 = new Sound(sounds_mc);
sounds.s_open_4.attachSound("s_open_4");
game.sounds.push("s_open_4");
sounds.s_open_5 = new Sound(sounds_mc);
sounds.s_open_5.attachSound("s_open_5");
game.sounds.push("s_open_5");
sounds.s_open_6 = new Sound(sounds_mc);
sounds.s_open_6.attachSound("s_open_6");
game.sounds.push("s_open_6");
sounds.s_open_7 = new Sound(sounds_mc);
sounds.s_open_7.attachSound("s_open_7");
game.sounds.push("s_open_7");
sounds.s_open_8 = new Sound(sounds_mc);
sounds.s_open_8.attachSound("s_open_8");
game.sounds.push("s_open_8");
sounds.s_open_9 = new Sound(sounds_mc);
sounds.s_open_9.attachSound("s_open_9");
game.sounds.push("s_open_9");
sounds.s_open_10 = new Sound(sounds_mc);
sounds.s_open_10.attachSound("s_open_10");
game.sounds.push("s_open_10");
sounds.s_sack_1 = new Sound(sounds_mc);
sounds.s_sack_1.attachSound("s_sack_1");
game.sounds.push("s_sack_1");
sounds.s_sack_2 = new Sound(sounds_mc);
sounds.s_sack_2.attachSound("s_sack_2");
game.sounds.push("s_sack_2");
sounds.s_sack_3 = new Sound(sounds_mc);
sounds.s_sack_3.attachSound("s_sack_3");
game.sounds.push("s_sack_3");
sounds.s_sack_4 = new Sound(sounds_mc);
sounds.s_sack_4.attachSound("s_sack_4");
game.sounds.push("s_sack_4");
sounds.s_sack_5 = new Sound(sounds_mc);
sounds.s_sack_5.attachSound("s_sack_5");
game.sounds.push("s_sack_5");
sounds.s_sack_6 = new Sound(sounds_mc);
sounds.s_sack_6.attachSound("s_sack_6");
game.sounds.push("s_sack_6");
if (game.level == 1) {
sounds.s_vo1 = new Sound(sounds_mc);
sounds.s_vo1.attachSound("s_pp_vo1");
sounds.s_vo2 = new Sound(sounds_mc);
sounds.s_vo2.attachSound("s_pp_vo2");
sounds.s_vo3 = new Sound(sounds_mc);
sounds.s_vo3.attachSound("s_pp_vo3");
sounds.s_vo4 = new Sound(sounds_mc);
sounds.s_vo4.attachSound("s_pp_vo4");
sounds.s_blitzer = new Sound(sounds_mc);
sounds.s_blitzer.attachSound("s_pp_blitzer");
sounds.s_blitzer2 = new Sound(sounds_mc);
sounds.s_blitzer2.attachSound("s_pp_blitzer2");
}
if (game.level == 2) {
sounds.s_vo1 = new Sound(sounds_mc);
sounds.s_vo1.attachSound("s_bb_vo1");
sounds.s_vo2 = new Sound(sounds_mc);
sounds.s_vo2.attachSound("s_bb_vo2");
sounds.s_vo3 = new Sound(sounds_mc);
sounds.s_vo3.attachSound("s_bb_vo3");
sounds.s_vo4 = new Sound(sounds_mc);
sounds.s_vo4.attachSound("s_bb_vo1");
sounds.s_blitzer = new Sound(sounds_mc);
sounds.s_blitzer.attachSound("s_blitzer");
sounds.s_blitzer2 = new Sound(sounds_mc);
sounds.s_blitzer2.attachSound("s_blitzer2");
}
if (game.level == 3) {
sounds.s_vo1 = new Sound(sounds_mc);
sounds.s_vol.attachSound("s_gg_vo1");
sounds.s_vo2 = new Sound(sounds_mc);
sounds.s_vo2.attachSound("s_gg_vo2");
sounds.s_vo3 = new Sound(sounds_mc);
sounds.s_vo3.attachSound("s_gg_vo3");
sounds.s_vo4 = new Sound(sounds_mc);
sounds.s_vo4.attachSound("s_gg_vo1");
sounds.s_blitzer = new Sound(sounds_mc);
sounds.s_blitzer.attachSound("s_blitzer");
sounds.s_blitzer2 = new Sound(sounds_mc);
sounds.s_blitzer2.attachSound("s_blitzer2");
}
if (game.level == 4) {
sounds.s_vo1 = new Sound(sounds_mc);
sounds.s_vo1.attachSound("s_bb2_vo1");
sounds.s_vo2 = new Sound(sounds_mc);
sounds.s_vo2.attachSound("s_bb2_vo2");
sounds.s_vo3 = new Sound(sounds_mc);
sounds.s_vo3.attachSound("s_bb2_vo3");
sounds.s_vo4 = new Sound(sounds_mc);
sounds.s_vo4.attachSound("s_bb2_vo1");
sounds.s_blitzer = new Sound(sounds_mc);
sounds.s_blitzer.attachSound("s_blitzer");
sounds.s_blitzer2 = new Sound(sounds_mc);
sounds.s_blitzer2.attachSound("s_blitzer2");
}
game.sounds.push("s_vo1");
game.sounds.push("s_vo2");
game.sounds.push("s_vo3");
game.sounds.push("s_vo4");
game.sounds.push("s_blitzer");
game.sounds.push("s_blitzer2");
game.soundVolume = 10;
game.musicVolume = 3;
i = 0;
while (i < _root.game.sounds.length) {
var _local3 = _root.game.sounds[i];
_root.sounds[_local3].setVolume(_root.game.soundVolume * 10);
i++;
}
i = 0;
while (i < _root.game.music.length) {
var music = _root.game.music[i];
_root.music[music].setVolume(_root.game.musicVolume * 10);
i++;
}
}
function resetPos() {
_root.txt2 = "";
i = 0;
while (i < 4) {
game.screen.s._alpha = 0;
game.screen.qp._alpha = 0;
game.screen.cx._alpha = 0;
game.screen.textMove._alpha = 0;
name = ("rr" + i) + "e";
x = game.xspots[i];
game.screen[name]._x = x - 50;
game.screen[name].gotoAndStop(1);
game.screen[name].swapDepths(game.screen[name]._y);
x = game.xspots[i];
name = "rr" + i;
game.screen[name]._x = x;
game.screen[name].gotoAndStop(1);
game.screen[name].swapDepths(game.screen[name]._y);
i++;
}
game.arcMove = false;
game.screen.pigskin._alpha = 0;
game.screen.ball_shadow._alpha = 0;
game.ball.action = false;
_root.hand.gotoAndPlay(2);
game.cursorMove = false;
_root.cursor._alpha = 0;
clearInterval(game.blitzTimer);
game.blitzTimer = setInterval(_root, "blitzTime", game.blitzTime * 2);
}
function removePlayers() {
i = 0;
while (i < game.myTeam.length) {
ob = game[game.myTeam[i]];
delete ob;
game.myTeam.splice(i);
game.enemies.splice(i);
i++;
}
}
function setUpPlayers() {
delete game.gamescores;
game.gamescores = new Array();
_root.txt2 = "";
removePlayers();
MVPrand = random(4);
game.combos = 0;
_root.paws = true;
game.level++;
game.quarter = 1;
_root.hud.quarter = "Q" + game.quarter;
game.timeset = game.quarterLengths[game.level - 1];
game.time = game.timeset;
_root.hud.time = game.time;
clearInterval(game.gameTimer);
game.gameTimer = setInterval(this, "gameTime", 1000);
game.rrscore = 0;
_root.hud.rrscore = 0;
game.escore = 0;
_root.hud.escore = 0;
game.blitzTime = game.blitzTimeArray[game.level - 1];
removeMovieClip(_root.screen);
_root.attachMovie("empty", "screen", 5);
game.screen = _root.screen;
_root.hud.swapDepths(50);
game.screen.attachMovie("pigskin", "pigskin", 7);
game.screen.attachMovie("ball_shadow", "ball_shadow", 6);
_root.hand.swapDepths(49);
_root.cursor.swapDepths(10000);
game.screen.attachMovie("dynamic_text", "textMove", 50000);
game.screen.attachMovie("scoreMC", "s", 50001);
game.screen.attachMovie("scoreMC", "qp", 50002);
game.screen.attachMovie("scoreMC", "cx", 50003);
switch (game.level) {
case 1 :
game.team = "pp";
game.enemyTeam = "pink";
_root.hud.gotoAndStop(1);
break;
case 2 :
game.team = "bb";
game.enemyTeam = "blue";
_root.hud.gotoAndStop(2);
break;
case 3 :
game.team = "gg";
game.enemyTeam = "green";
_root.hud.gotoAndStop(3);
break;
case 4 :
game.team = "bb2";
game.enemyTeam = "black";
_root.hud.gotoAndStop(4);
}
i = 0;
while (i < 4) {
var _local3 = ("rr" + i) + "e";
var _local4 = "rr" + i;
y = game.yspots[i] + 1;
x = game.xspots[i] - 50;
game.screen.attachMovie(game.team + "_char", _local3, y, {_x:x, _y:y});
delete game[_local3];
game[_local3] = new game[game.team]();
game[_local3].clip = game.screen[_local3];
game[_local3].mvp = false;
game[_local3].p1 = _local4;
game[_local3].scale = (game[_local3].clip._y / game.fore) * 100;
game[_local3].clip._yscale = game[_local3].scale;
game[_local3].clip._xscale = game[_local3].scale;
game[_local3].clip.swapDepths(game[_local3].clip._y);
game[_local3].name = _local3;
game[_local3].pos = i + 1;
if ((i + 1) == 1) {
game[_local3].speed = game[_local3].speed * 1.5;
}
game[_local3].range = game[_local3].range * (game[_local3].clip._y / game.fore);
game[_local3].score = game.scores[i];
game.myTeam.push(_local3);
game.enemies.push(_local3);
_local3 = "rr" + i;
y = game.yspots[i];
x = game.xspots[i];
game.screen.attachMovie("rr_char", _local3, y, {_x:x, _y:y});
delete game[_local3];
game[_local3] = new game.rr();
game[_local3].clip = game.screen[_local3];
game[_local3].scale = (game[_local3].clip._y / game.fore) * 100;
game[_local3].clip._yscale = game[_local3].scale;
game[_local3].clip._xscale = game[_local3].scale;
game[_local3].clip.swapDepths(game[_local3].clip._y);
game[_local3].score = game.scores[i];
game[_local3].pos = i + 1;
game.myTeam.push(_local3);
if (MVPrand == i) {
game[_local3].mvp = true;
game[_local3].clip.mvp._alpha = 100;
} else {
game[_local3].mvp = false;
game[_local3].clip.mvp._alpha = 0;
}
i++;
}
_root.hud.playercards.cards.gotoAndStop(game.level);
trace("LEVEL = " + game.level);
_root.hud.playercards.gotoAndPlay(2);
_root.game.ball.action = false;
game.cursorMove = false;
_root.cursor._alpha = 0;
setUpSounds();
_root.soundcard = setInterval(this, "playCardSound", 800);
}
function playCardSound() {
clearInterval(_root.soundcard);
if (game.level != 3) {
sounds.s_vo1.start();
} else {
sounds.s_vo2.start();
}
}
function checkKeys() {
if (_root.hud.scorez._alpha > 0) {
_root.hud.scorez._alpha--;
_root.hud.scorez._y--;
if (_root.hud.scorez._alpha < 50) {
_root.hud.scorez._alpha = _root.hud.scorez._alpha - 4;
}
}
if (_root.hud.b1._alpha > 0) {
_root.hud.b1._alpha--;
if (_root.hud.b1._alpha < 50) {
_root.hud.b1._alpha = _root.hud.b1._alpha - 4;
}
}
if (game.screen.s._alpha > 0) {
game.screen.s._alpha--;
game.screen.s._y--;
if (game.screen.s_alpha < 50) {
game.screen.s._alpha = game.screen.s._alpha - 5;
}
}
if (game.screen.qp._alpha > 0) {
game.screen.qp._alpha--;
game.screen.qp._y = game.screen.qp._y - 0.5;
if (game.screen.qp_alpha < 50) {
game.screen.qp._alpha = game.screen.qp._alpha - 5;
}
}
if (game.screen.cx._alpha > 0) {
game.screen.cx._alpha--;
game.screen.cx._y = game.screen.cx._y - 0.5;
if (game.screen.cx_alpha < 50) {
game.screen.cx._alpha = game.screen.cx._alpha - 5;
}
}
if (Key.isDown(32) && (!game.keypress)) {
game.keypress = true;
s = random(4) + 1;
soundname = "s_vo" + s;
sounds[soundname].start();
trace("enemy n - " + s);
}
if (!Key.isDown(32)) {
game.keypress = false;
}
if ((_xmouse > 30) && (_xmouse < 550)) {
_root.hand._x = _xmouse;
_root.cursor._x = _xmouse;
}
if (game.ball.action) {
moveBall();
}
if (game.cursorMove) {
cursorMove();
}
enemyAI();
if (game.screen.textMove._alpha != 0) {
moveText();
}
}
function moveText() {
game.textMove++;
game.screen.textMove._y--;
game.screen.textMove._alpha = game.screen.textMove._alpha - 2;
if (game.textMove == 20) {
game.screen.textMove._alpha = 0;
}
}
function setText(txt, scale) {
game.screen.textMove._xscale = scale;
game.screen.textMove._yscale = scale;
game.screen.textMove.txt.text = txt;
game.screen.textMove._x = game.screen.pigskin._x;
game.screen.textMove._y = game.screen.pigskin._y;
game.screen.textMove._alpha = 100;
game.textMove = 0;
}
function throwBall() {
_root.txt2 = "";
clearInterval(game.blitzTimer);
clearInterval(_root.blitzTimer);
percent = 1 + (_root.strength._yscale / 100);
game.screen.pigskin._x = _root.hand._x;
game.screen.pigskin._y = 560;
game.ball.y = game.screen.pigskin._y;
game.screen.pigskin.pigskin_MC._y = -200;
game.screen.pigskin.pigskin_MC.play();
game.screen.pigskin._alpha = 100;
game.screen.ball_shadow._alpha = 100;
game.ball.action = true;
game.ball.gravity = game.gravity / percent;
_root.cursor._alpha = 0;
game.ball.strength = game.strength * percent;
game.ball.speed = 50 * game.speed;
game.screen.ball_shadow._y = game.screen.pigskin._y;
game.screen.ball_shadow._x = game.screen.pigskin._x;
}
function moveBall() {
if ((game.screen.pigskin.pigskin_MC._y + game.ball.strength) < 0) {
game.ball.scale = (game.screen.pigskin._y / game.fore) * 100;
game.screen.pigskin._y = game.screen.pigskin._y - (game.ball.speed * (game.ball.scale / 100));
game.screen.pigskin._yscale = game.ball.scale;
game.screen.pigskin._xscale = game.ball.scale;
game.screen.pigskin.swapDepths(game.screen.pigskin._y + 5);
game.screen.pigskin.pigskin_MC._y = game.screen.pigskin.pigskin_MC._y + game.ball.strength;
} else {
game.screen.pigskin.pigskin_MC._y = 0;
}
game.ball.strength = game.ball.strength + game.ball.gravity;
if (game.screen.pigskin.pigskin_MC._y >= 0) {
s = random(4) + 1;
soundname = "s_boo" + s;
music[soundname].start();
game.combos = 0;
setText("MISS", game.screen.pigskin._xscale * 2);
game.screen.pigskin._alpha = 0;
game.screen.ball_shadow._alpha = 0;
_root.hand.gotoAndPlay(1);
clearInterval(game.blitzTimer);
game.blitzTimer = setInterval(this, "blitzTime", game.blitzTime);
game.quickplay = 0;
game.ball.action = false;
game.screen.pigskin.pigskin_MC.stop();
gameScores("50 pts", game.enemyTeam, "s", game.screen.pigskin._x, game.screen.pigskin._y);
game.escore = game.escore + 50;
_root.hud.escore = game.escore;
_root.arc._yscale = 0;
}
game.screen.ball_shadow._y = game.screen.pigskin._y;
game.screen.ball_shadow._yscale = game.ball.scale;
game.screen.ball_shadow._xscale = game.ball.scale;
checkBall();
}
function cursorMove() {
var _local2 = _root.cursor._y / 400;
var _local3 = (300 - (_root.cursor._y - 100)) / 300;
if (_local2 < 0.01) {
_local2 = 0.01;
}
if (_local3 < 1) {
scale3 = 1;
} else {
scale3 = _local3;
}
_root.cursor._y = _root.cursor._y + ((15 * game.cursorDir) * scale3);
_root.cursor._yscale = _local2 * 100;
_root.cursor._xscale = _local2 * 100;
if (_root.cursor._y > 400) {
game.cursorDir = -1;
}
if (_root.cursor._y < 100) {
game.cursorDir = 1;
}
_root.strength._yscale = _local3 * 100;
game.speed = _local3;
if (game.speed < 0.6) {
game.speed = 0.6;
}
}
function checkBall() {
ballcatch = false;
i = 0;
while (i < game.myTeam.length) {
if (ballcatch) {
trace("im broken");
break;
}
var _local7 = game.myTeam[i];
var _local1 = game[_local7];
var _local5 = game.screen.pigskin._y;
var _local3 = _local1.clip._y;
var _local6 = game.screen.pigskin._x;
var _local4 = _local1.clip._x;
var _local2 = (_local1.width / 2) * (_local1.scale / 100);
if ((_local6 > (_local4 - _local2)) && (_local6 < (_local4 + _local2))) {
if ((_local5 > (_local3 - 10)) && (_local5 < (_local3 + 20))) {
if (checkCatch(_local1)) {
ballcath = true;
break;
}
}
}
i++;
}
}
function gameScores(pushy, colour, pos, x, y) {
if (x < 90) {
x = 90;
}
if (x > 490) {
x = 490;
}
if (pos == "b1") {
_root.hud[pos].gotoAndStop(colour);
_root.hud[pos].score = pushy;
_root.hud[pos]._alpha = 100;
} else if (pos == "qp") {
game.screen[pos].gotoAndStop(colour);
game.screen[pos].score = pushy;
game.screen[pos]._alpha = 100;
game.screen[pos]._x = x;
game.screen[pos]._y = y;
} else if (pos == "cx") {
game.screen[pos].gotoAndStop(colour);
game.screen[pos].score = pushy;
game.screen[pos]._alpha = 100;
game.screen[pos]._x = x;
game.screen[pos]._y = y;
} else if (pos == "s") {
game.screen[pos].gotoAndStop(colour);
game.screen[pos].score = pushy;
game.screen[pos]._alpha = 100;
game.screen[pos]._x = x;
game.screen[pos]._y = y;
} else {
_root.hud.scorez[pos].gotoAndStop(colour);
_root.hud.scorez[pos].score = pushy;
_root.hud.scorez[pos].cacheAsBitmap();
_root.hud.scorez._alpha = 100;
_root.hud.scorez._y = _root.scorezy;
}
}
function catchTimer(ob) {
ob.running = true;
ob.catching = false;
clearInterval(ob.catchTimer);
}
function checkCatch(ob) {
var _local4 = Math.abs(game.screen.pigskin.pigskin_MC._y);
var _local5 = false;
if (_local4 < ob.hit1) {
ob.clip.hit4.play();
ob.clip.gotoAndStop(1);
} else if ((_local4 > (ob.hit1 - 1)) && (_local4 < ob.hit2)) {
ob.clip.hit3.play();
ob.clip.gotoAndStop(6);
_local5 = true;
} else if ((_local4 > (ob.hit2 - 1)) && (_local4 < ob.hit3)) {
ob.clip.hit2.play();
ob.clip.gotoAndStop(5);
_local5 = true;
} else if ((_local4 > (ob.hit3 - 1)) && (_local4 < ob.hit4)) {
ob.clip.hit1.play();
ob.clip.gotoAndStop(4);
_local5 = true;
}
if (_local5) {
var _local7 = game.screen.pigskin._x;
var _local6 = game.screen.pigskin._y;
gameScores("", "white", "s1");
sound = "s_catch" + ob.pos;
sounds[sound].start();
_root.hand.gotoAndPlay(1);
clearInterval(game.blitzTimer);
game.blitzTimer = setInterval(this, "blitzTime", game.blitzTime);
game.screen.pigskin._alpha = 0;
game.screen.ball_shadow._alpha = 0;
if (ob.type == 1) {
music.s_hooray.start();
if (ob.pos == 4) {
_root.txt2 = "AWESOME";
}
if (game.combos > 0) {
if (game.combos == 1) {
game.combos = 2;
}
addComboPoints("rr");
} else {
gameScores("", "white", "c1");
}
game.combos++;
switch (game.quickplay) {
case 0 :
addQuickPlayPoints(20);
break;
case 1 :
addQuickPlayPoints(20);
break;
case 2 :
addQuickPlayPoints(15);
break;
case 3 :
addQuickPlayPoints(10);
}
game.quickplay = 0;
if (!ob.mvp) {
gameScores(ob.score + " pts", "white", "s", _local7, _local6 - 30);
game.rrscore = game.rrscore + ob.score;
} else {
sounds.s_bell.start();
gameScores((ob.score * 5) + " pts", "white", "s", _local7, _local6 - 30);
gameScores(("GREAT! " + (ob.score * 5)) + " pts", "yellow", "s1");
game.rrscore = game.rrscore + (ob.score * 5);
ob.mvp = false;
ob.clip.mvp._alpha = 0;
r = random(4);
name = "rr" + r;
game[name].mvp = true;
game[name].clip.mvp._alpha = 100;
}
_root.hud.rrscore = game.rrscore;
} else {
s = random(4) + 1;
soundname = "s_vo" + s;
sounds[soundname].start();
if (game.combos > 0) {
if (game.combos == 1) {
game.combos = 2;
}
sounds.s_bell.start();
addComboPoints("ee");
}
game.combos = 0;
switch (game.quickplay) {
case 0 :
addQuickPlayPointsE(20);
break;
case 1 :
addQuickPlayPointsE(20);
break;
case 2 :
addQuickPlayPointsE(15);
break;
case 3 :
addQuickPlayPointsE(10);
}
game.quickplay = 0;
_root.txt2 = "INTERCEPTION";
gameScores("INTERCEPTION", game.enemyTeam, "s1");
gameScores((ob.score * 2) + " pts", game.enemyTeam, "s", _local7, _local6 - 30);
game.escore = game.escore + (ob.score * 2);
_root.hud.escore = game.escore;
}
game.quickplay = 0;
_root.arc._yscale = 0;
ob.running = false;
game.ball.action = false;
ob.catching = true;
cleatInterval(ob.catchTimer);
ob.catchTimer = setInterval(this, "catchTimer", 1000, ob);
return(true);
}
}
function movePlayers(ob) {
ob.clip.swapDepths(ob.clip._y);
ob.clip.gotoAndStop(2);
if (!ob.mvp) {
ob.clip._x = ob.clip._x + ((ob.speed * ob.dir) * (ob.scale / 100));
} else {
ob.clip._x = ob.clip._x + (((ob.speed * ob.dir) * (ob.scale / 100)) * 2);
}
if (ob.type == 1) {
if ((ob.dir == -1) && (ob.clip._x < 10)) {
ob.dir = 1;
ob.clip._xscale = ob.scale * -1;
} else if ((ob.dir == 1) && (ob.clip._x > 570)) {
ob.dir = -1;
ob.clip._xscale = ob.scale;
}
}
}
function enemyAI() {
i = 0;
while (i < game.myTeam.length) {
ob = game[game.myTeam[i]];
if (ob.type == 1) {
enemy = game[game.myTeam[i - 1]];
}
if (ob.running) {
movePlayers(ob);
if (ob.type == 1) {
var _local2 = Math.abs((ob.clip._x - enemy.clip._x) * (ob.scale / 100));
var _local1 = random(100);
if ((_local2 > 150) && (ob.running)) {
s = random(9) + 1;
soundname = "s_open_" + s;
sounds[soundname].start();
ob.clip.gotoAndStop(1);
ob.running = false;
} else if ((_local2 < 100) && (ob.running)) {
if (((ob.clip._x > 400) && (ob.dir == -1)) && (enemy.clip._x > ob.clip._x)) {
ob.clip._x = ob.clip._x - (ob.speed / 2);
} else if (((ob.clip._x < 200) && (ob.dir == 1)) && (enemy.clip._x < ob.clip._x)) {
ob.clip._x = ob.clip._x + (ob.speed / 2);
}
} else if (((((_local2 < 12) && (ob.running)) && (ob.clip._x > 50)) && (ob.clip._x < 530)) && (_local1 > 80)) {
if (ob.dir == enemy.dir) {
ob.dir = ob.dir * -1;
ob.clip._xscale = ob.scale * (ob.dir * -1);
}
}
} else {
player1 = game[ob.p1];
if (!player1.running) {
if (ob.clip._x < (player1.clip._x - ob.range)) {
ob.dir = 1;
ob.clip._xscale = ob.scale * -1;
} else if (ob.clip._x > (player1.clip._x + ob.range)) {
ob.dir = -1;
ob.clip._xscale = ob.scale * 1;
}
} else if (ob.clip._x < (player1.clip._x - (ob.range * 2))) {
ob.dir = 1;
ob.clip._xscale = ob.scale * -1;
} else if (ob.clip._x > (player1.clip._x + (ob.range * 2))) {
ob.dir = -1;
ob.clip._xscale = ob.scale * 1;
}
}
} else if ((!ob.catching) and (!game.ball.action)) {
var _local2 = Math.abs((ob.clip._x - enemy.clip._x) * (ob.scale / 100));
if (_local2 < (100 * (ob.scale / 100))) {
ob.clip.gotoAndStop(1);
ob.running = true;
}
}
i++;
}
}
function gameTime() {
if (!_root.paws) {
if (game.time != -1) {
game.time--;
} else {
_root.hud.time = "-";
}
if ((!_root.paws) && (game.time == 0)) {
sounds.s_whistle.start();
}
if (((game.time < 0) && (game.quarter < 4)) && (!game.ball.action)) {
_root.hud.scorez._alpha = 0;
clearInterval(game.blitzTimer);
_root.paws = true;
if (game.quarter == 1) {
_root.hud.commercial.gotoAndPlay(2);
_root.hud.commercial.score = "SCORE " + game.rrscore;
} else if (game.quarter == 2) {
_root.hud.commercial.gotoAndPlay("half");
_root.hud.commercial.score = "SCORE " + game.rrscore;
} else if (game.quarter == 3) {
_root.hud.commercial.gotoAndPlay("quarter3");
_root.hud.commercial.score = "SCORE " + game.rrscore;
}
} else if (((game.time < 0) && (game.quarter == 4)) && (!game.ball.action)) {
_root.hud.scorez._alpha = 0;
_root.paws = true;
_root.hud.commercial.score = "SCORE " + game.rrscore;
game.scoretotal = game.scoretotal + game.rrscore;
_root.scoretotal = game.scoretotal;
removeMovieClip(game.screen);
_root.paws = true;
clearInterval(game.gameTimer);
clearInterval(game.blitzTimer);
if (game.rrscore > game.escore) {
_root.hud.scorez._alpha = 0;
_root.cursor._alpha = 0;
_root.hud.commercial.gotoAndPlay("win");
} else {
_root.stopAllSounds();
_root.hand._alpha = 0;
_root.hud.scorez._alpha = 0;
removePlayers();
removeMovieClip(_root.hud);
removeMovieClip(_root.cursor);
removeMovieClip(game.screen);
removeMovieClip(_root.hand);
_root.gotoAndPlay("lose");
}
} else {
_root.hud.time = game.time;
}
if (!game.ball.action) {
game.quickplay++;
}
}
}
function blitzTime() {
clearInterval(game.blitzTimer);
clearInterval(_root.blitzTimer);
if ((!game.ball.action) and (game.time > 0)) {
sounds.s_blitzer.start();
var _local2 = game.team + "_blitz";
_root.hud[_local2].play();
game.sacked = 1;
}
}
function addBlitzPoints() {
game.sacked = 2;
_root.txt2 = "";
sounds.s_birds.start();
s = random(5) + 1;
soundname = "s_sack_" + s;
sounds[soundname].start();
s = random(2) + 1;
soundname = "s_crunch" + s;
sounds[soundname].start();
sounds.s_blitzer2.start();
game.escore = game.escore + 50;
if (!game.ball.action) {
game.escore = game.escore + 150;
gameScores("K.O.'d 150 pts", game.enemyTeam, "b1");
} else {
gameScores("K.O.'d 50 pts", game.enemyTeam, "b1");
}
_root.hud.escore = game.escore;
_root.cursor._alpha = 0;
game.cursorMove = false;
}
function addComboPoints(team) {
var _local2 = game.combos * 10;
if (team == "rr") {
game.rrscore = game.rrscore + _local2;
_root.hud.rrscore = game.rrscore;
gameScores(((("COMBO X" + game.combos) + " ") + _local2) + " pts", "white", "cx", game.screen.pigskin._x, game.screen.pigskin._y);
_root.hud.combos.play();
} else {
_local2 = _local2 * 2;
game.escore = game.escore + _local2;
_root.hud.escore = game.escore;
_root.hud.combos.gotoAndStop(2);
_root.hud.combos.combo = "COMBO REVERSAL +" + _local2;
gameScores(((("COMBO X" + game.combos) + " ") + _local2) + " pts", game.enemyTeam, "cx", game.screen.pigskin._x, game.screen.pigskin._y);
_root.hud.combos.play();
}
}
function addQuickPlayPoints(ss) {
gameScores(("QP " + ss) + " pts", "white", "qp", game.screen.pigskin._x, game.screen.pigskin._y + 30);
game.rrscore = game.rrscore + ss;
_root.hud.rrscore = game.rrscore;
}
function addQuickPlayPointsE(ss) {
gameScores(("QP " + ss) + " pts", game.enemyTeam, "qp", game.screen.pigskin._x, game.screen.pigskin._y + 30);
game.escore = game.escore + ss;
_root.hud.escore = game.escore;
}
_quality = "MEDIUM";
game = {level:0, score:0, gravity:14};
game.level = 0;
game.scoretotal = 0;
_root.paws = true;
game.sacked = 0;
game.enemies = new Array();
game.timeset = 30;
game.quickplay = 0;
game.myTeam = new Array();
game.horizon = 0;
game.fore = 560;
game.cursorDir = -1;
game.cursorMove = true;
game.arcDir = -1;
game.arcMove = true;
game.strength = -25;
game.score = 0;
game.ball = {x:game.screen.pigskin._x, y:game.screen.pigskin._y, speed:5, strength:-10, gravity:2, action:false};
pigskin.clip = game.screen.pigskin;
game.ball.startX = _root.hand._x - 50;
game.ball.startY = game.screen.pigskin._y;
game.rr = function () {
};
game.rr.prototype.type = 1;
game.rr.prototype.hit1 = 40;
game.rr.prototype.hit2 = 90;
game.rr.prototype.hit3 = 190;
game.rr.prototype.hit4 = 320;
game.rr.prototype.width = 185;
game.rr.prototype.running = false;
game.rr.prototype.dir = -1;
game.rr.prototype.speed = 15;
game.rr.prototype.waitTime = 2;
game.rr.prototype.running = true;
game.pp = function () {
};
game.pp.prototype.type = 2;
game.pp.prototype.hit1 = 40;
game.pp.prototype.hit2 = 90;
game.pp.prototype.hit3 = 190;
game.pp.prototype.hit4 = 320;
game.pp.prototype.width = 185;
game.pp.prototype.running = false;
game.pp.prototype.dir = -1;
game.pp.prototype.speed = 17;
game.pp.prototype.waitTime = 2;
game.pp.prototype.running = true;
game.pp.prototype.range = 200;
game.bb = function () {
};
game.bb.prototype.type = 2;
game.bb.prototype.hit1 = 40;
game.bb.prototype.hit2 = 90;
game.bb.prototype.hit3 = 190;
game.bb.prototype.hit4 = 360;
game.bb.prototype.width = 285;
game.bb.prototype.running = false;
game.bb.prototype.dir = -1;
game.bb.prototype.speed = 16;
game.bb.prototype.waitTime = 2;
game.bb.prototype.running = true;
game.bb.prototype.range = 180;
game.gg = function () {
};
game.gg.prototype.type = 2;
game.gg.prototype.hit1 = 40;
game.gg.prototype.hit2 = 90;
game.gg.prototype.hit3 = 290;
game.gg.prototype.hit4 = 420;
game.gg.prototype.width = 185;
game.gg.prototype.running = false;
game.gg.prototype.dir = -1;
game.gg.prototype.speed = 20;
game.gg.prototype.waitTime = 2;
game.gg.prototype.running = true;
game.gg.prototype.range = 160;
game.bb2 = function () {
};
game.bb2.prototype.type = 2;
game.bb2.prototype.hit1 = 40;
game.bb2.prototype.hit2 = 90;
game.bb2.prototype.hit3 = 190;
game.bb2.prototype.hit4 = 400;
game.bb2.prototype.width = 285;
game.bb2.prototype.running = false;
game.bb2.prototype.dir = -1;
game.bb2.prototype.speed = 21;
game.bb2.prototype.waitTime = 2;
game.bb2.prototype.running = true;
game.bb2.prototype.range = 140;
timeArrays();
Mouse.removeListener(mouseListener);
delete mouseListener;
mouseListener = new Object();
mouseListener.onMouseDown = function () {
if ((((!_root.paws) && (!_root.game.ball.action)) && (_ymouse < 420)) && (game.sacked != 2)) {
_root.arc._yscale = 0;
game.cursorMove = true;
_root.cursor._alpha = 100;
_root.strength._yscale = 0;
_root.cursor._y = 400;
_root.hand.gotoAndStop(5);
}
};
mouseListener.onMouseUp = function () {
if (((!_root.paws) && (!_root.game.ball.action)) && (_root.cursor._alpha != 0)) {
game.cursorMove = false;
_root.hand.gotoAndPlay("throwball");
}
};
Mouse.addListener(mouseListener);
setUpPlayers();
game.keypress = false;
stop();
Instance of Symbol 163 MovieClip [empty] in Frame 59
onClipEvent (enterFrame) {
if (!_root.paws) {
_root.checkKeys();
}
}
Frame 60
var score = ("TOTAL SCORE " + _root.scoretotal);
Frame 87
stop();
Frame 88
var score = ("TOTAL SCORE " + _root.scoretotal);
stop();
Symbol 16 MovieClip [scoreMC] Frame 1
stop();
Symbol 33 Button
on (press) {
getURL ("http://www.2DPlay.com/index.php?gameid=" + _parent.gameID, "_blank");
}
Symbol 35 MovieClip Frame 1
stop();
Symbol 93 MovieClip Frame 1
_parent.showLogo();
stop();
Instance of Symbol 35 MovieClip in Symbol 93 MovieClip Frame 11
onClipEvent (load) {
_parent.sfx.stop();
_parent.sfx = new Sound(_parent);
_parent.sfx.attachSound("SCIFI.WAV");
_parent.sfx.start(0, 1);
}
Instance of Symbol 35 MovieClip in Symbol 93 MovieClip Frame 69
onClipEvent (load) {
_parent.sfx.stop();
_parent.sfx = new Sound(_parent);
_parent.sfx.attachSound("BEEPDBL.WAV");
_parent.sfx.start(0, 1);
}
Instance of Symbol 35 MovieClip in Symbol 93 MovieClip Frame 82
onClipEvent (load) {
_parent.sfx.stop();
_parent.sfx = new Sound(_parent);
_parent.sfx.attachSound("INSERT4.WAV");
_parent.sfx.start(0, 1);
}
Instance of Symbol 35 MovieClip in Symbol 93 MovieClip Frame 96
onClipEvent (load) {
_parent.sfx.stop();
_parent.sfx = new Sound(_parent);
_parent.sfx.attachSound("MSOVR2.WAV");
_parent.sfx.start(0, 1);
}
Instance of Symbol 35 MovieClip in Symbol 93 MovieClip Frame 112
onClipEvent (load) {
_parent.sfx.stop();
_parent.sfx = new Sound(_parent);
_parent.sfx.attachSound("BLOOB.WAV");
_parent.sfx.start(0, 1);
}
Symbol 102 MovieClip [TMPfric6p884d] Frame 1
function detectFlashVersion(detectVersion) {
var _local3 = System.capabilities.version;
var _local2;
var _local1 = 0;
while (_local1 < _local3.length) {
_local2 = Number(_local3.charAt(_local1));
if (!isNaN(_local2)) {
_local2 = ((!isNaN(Number(_local3.charAt(_local1 + 1)))) ? (Number(String(_local2) + _local3.charAt(_local1 + 1))) : (_local2));
break;
}
_local1++;
}
if (_local2 < detectVersion) {
gotoAndPlay (3);
} else {
gotoAndPlay (2);
}
}
function startPreload() {
this.onEnterFrame = function () {
this.preload();
};
}
function preload() {
var _local3 = _root.getBytesTotal();
var _local4 = _root.getBytesLoaded();
var _local5 = Math.floor((_local4 / _local3) * 100);
loader_bar.mask._xscale = _local5;
loader_bar._alpha = ((loader_bar._alpha < 100) ? (loader_bar._alpha + 10) : 100);
if ((_local4 >= _local3) && (_local3 > 0)) {
delete this.onEnterFrame;
_root.gotoAndPlay(startFrameLabel);
}
}
function showLogo() {
this.playbackPercent = 0;
this.onEnterFrame = function () {
this.logoFrameStep();
};
}
function logoFrameStep() {
var _local3 = 30;
var _local2 = 200;
var _local4 = Math.floor(playbackPercent * _local2) + 1;
playbackPercent = playbackPercent + ((_local3 / movieFramerate) / _local2);
logo.gotoAndStop(_local4);
if ((playbackPercent >= 1) || (skipPreloader)) {
delete this.onEnterFrame;
startPreload();
}
}
_visible = false;
detectFlashVersion(flashVersion);
stop();
Symbol 102 MovieClip [TMPfric6p884d] Frame 2
loader_bar.mask._xscale = 0;
loader_bar._alpha = 0;
_visible = true;
stop();
Symbol 102 MovieClip [TMPfric6p884d] Frame 3
messageField.html = true;
messageField.multiline = true;
messageField.htmlText = ((("<font face='_sans' color='#FFFFFF'><p align='center'>You will need the <a href='http://www.adobe.com/go/getflashplayer'><u>Flash Player version " + flashVersion) + "</u></a> to play this game\r\r\rAlternatively you can download the game from <a href='http://www.2dplay.com'><u>2DPlay.com</u></a> by clicking <a href='http://www.2dplay.com/downloadgame.php?gameid=") + gameID) + "'><u>here</u></a></p></font>";
_visible = true;
stop();
Symbol 487 MovieClip [__Packages.CustomContextMenu] Frame 0
class CustomContextMenu
{
function CustomContextMenu () {
}
static function get menu() {
if (cm == null) {
cm = new ContextMenu();
cm.hideBuiltInItems();
cm.customItems.push(new ContextMenuItem("High scores", highScores));
cm.customItems.push(new ContextMenuItem("Play more games", playMoreGames));
cm.customItems.push(new ContextMenuItem("Get game for your site", getGame));
cm.customItems.push(new ContextMenuItem("Download this game", downloadGame));
}
return(cm);
}
static function highScores(obj, menuItem) {
URLCaller.viewScores();
}
static function playMoreGames(obj, menuItem) {
URLCaller.playMoreGames();
}
static function getGame(obj, menuItem) {
URLCaller.getGameForSite();
}
static function downloadGame(obj, menuItem) {
URLCaller.downloadGame();
}
static var cm = null;
}
Symbol 488 MovieClip [__Packages.URLCaller] Frame 0
class URLCaller
{
function URLCaller () {
}
static function mainLink() {
getURL ("http://www.2DPlay.com/index.php?gameid=" + gameID, "_blank");
}
static function viewScores() {
getURL ("http://www.2Dplay.com/showscores.php?gameid=" + gameID, "_blank");
}
static function playMoreGames() {
getURL ("http://www.2DPlay.com/index.php?gameid=" + gameID, "_blank");
}
static function getGameForSite() {
getURL ("http://www.2DPlay.com/freecontent.htm", "_blank");
}
static function downloadGame() {
getURL ("http://www.2DPlay.com/downloadgame.php?gameid=" + gameID, "_blank");
}
static function submitScore(score) {
var _local2 = _root.hex_md5(((("gameid=" + gameID) + "&hiscore=") + score) + "2DPlay.com/");
getURL ((((("http://www.2DPlay.com/highscores.php?gameid=" + gameID) + "&hiscore=") + score) + "&hash=") + _local2, "_blank");
}
static var gameID = 1686;
}
Symbol 156 MovieClip Frame 1
stop();
Symbol 193 MovieClip Frame 16
stop();
Symbol 196 MovieClip Frame 16
stop();
Symbol 200 MovieClip Frame 16
stop();
Symbol 202 MovieClip Frame 1
stop();
Symbol 203 MovieClip [pp_char] Frame 1
stop();
Symbol 225 MovieClip Frame 15
stop();
Symbol 227 MovieClip Frame 15
stop();
Symbol 229 MovieClip Frame 15
stop();
Symbol 230 MovieClip [bb_char] Frame 1
stop();
Symbol 258 MovieClip Frame 15
stop();
Symbol 261 MovieClip Frame 15
stop();
Symbol 263 MovieClip Frame 15
stop();
Symbol 264 MovieClip [gg_char] Frame 1
stop();
Symbol 290 MovieClip [bb2_char] Frame 1
stop();
Symbol 321 MovieClip Frame 15
stop();
Symbol 324 MovieClip Frame 15
stop();
Symbol 326 MovieClip Frame 15
stop();
Symbol 327 MovieClip [rr_char] Frame 1
stop();
Symbol 332 Button
on (release) {
URLCaller.mainLink();
}
Symbol 337 Button
on (release) {
URLCaller.mainLink();
}
Symbol 347 Button
on (release) {
play();
}
Symbol 351 Button
on (release) {
URLCaller.viewScores();
}
Symbol 352 Button
on (release) {
URLCaller.mainLink();
}
Symbol 360 Button
on (release) {
play();
}
Symbol 365 Button
on (release) {
stopAllSounds();
play();
}
Symbol 367 Button
on (release) {
prevFrame();
}
Instance of Symbol 372 MovieClip in Symbol 375 MovieClip Frame 1
onClipEvent (enterFrame) {
play();
}
Symbol 375 MovieClip Frame 5
stop();
Symbol 375 MovieClip Frame 13
_root.throwBall();
Symbol 375 MovieClip Frame 27
stop();
Symbol 388 Button
on (release) {
URLCaller.mainLink();
}
Symbol 399 MovieClip Frame 1
stop();
Symbol 399 MovieClip Frame 2
_root.cursor._alpha = 0;
Symbol 399 MovieClip Frame 12
_root.resetPos();
Symbol 399 MovieClip Frame 43
gotoAndPlay ("getready");
Symbol 399 MovieClip Frame 44
_root.cursor._alpha = 0;
Symbol 399 MovieClip Frame 56
_root.resetPos();
Symbol 399 MovieClip Frame 86
gotoAndPlay ("getready");
Symbol 399 MovieClip Frame 87
_root.cursor._alpha = 0;
Symbol 399 MovieClip Frame 97
_root.resetPos();
Symbol 399 MovieClip Frame 128
gotoAndPlay ("getready");
Symbol 399 MovieClip Frame 129
if (_root.game.quarter < 4) {
_root.game.cursorMove = true;
_root.game.time = _root.game.timeset;
_root.hud.time = _root.game.time;
_root.game.quarter++;
_root.hud.quarter = "Q" + _root.game.quarter;
} else {
gotoAndPlay ("end");
}
Symbol 399 MovieClip Frame 182
_root.paws = false;
gotoAndStop (1);
Symbol 399 MovieClip Frame 225
if (_root.game.level == 4) {
delete _root.mouseListener;
removeMovieClip(_root.hud);
removeMovieClip(_root.cursor);
removeMovieClip(_root.hand);
_root.gotoAndPlay("win");
} else {
_root.setUpPlayers();
}
Symbol 409 MovieClip Frame 1
stop();
Symbol 419 MovieClip Frame 1
stop();
Symbol 419 MovieClip Frame 29
if (_root.game.time > 0) {
_root.addBlitzPoints();
}
Symbol 419 MovieClip Frame 57
clearInterval(_root.game.blitzTimer);
_root.game.blitzTimer = setInterval(_root, "blitzTime", _root.game.blitzTime);
_root.game.sacked = 0;
Symbol 422 MovieClip Frame 1
stop();
Symbol 422 MovieClip Frame 29
if (_root.game.time > 0) {
_root.addBlitzPoints();
}
Symbol 422 MovieClip Frame 57
if (_root.game.time > 0) {
clearInterval(_root.game.blitzTimer);
_root.game.blitzTimer = setInterval(_root, "blitzTime", _root.game.blitzTime);
_root.game.sacked = 0;
}
Symbol 425 MovieClip Frame 1
stop();
Symbol 425 MovieClip Frame 26
if (_root.game.time > 0) {
_root.addBlitzPoints();
}
Symbol 425 MovieClip Frame 54
if (_root.game.time > 0) {
clearInterval(_root.game.blitzTimer);
_root.game.blitzTimer = setInterval(_root, "blitzTime", _root.game.blitzTime);
_root.game.sacked = 0;
}
Symbol 428 MovieClip Frame 1
stop();
Symbol 428 MovieClip Frame 24
if (_root.game.time > 0) {
_root.addBlitzPoints();
}
Symbol 428 MovieClip Frame 57
if (_root.game.time > 0) {
clearInterval(_root.game.blitzTimer);
_root.game.blitzTimer = setInterval(_root, "blitzTime", _root.game.blitzTime);
}
_root.game.sacked = 0;
Symbol 431 Button
on (release) {
if ((_root.game.sacked == 0) && (!_root.paws)) {
soundVolume = 0;
musicVolume = 0;
i = 0;
while (i < _root.game.sounds.length) {
var sound = _root.game.sounds[i];
_root.sounds[sound].setVolume(soundVolume * 10);
i++;
}
i = 0;
while (i < _root.game.music.length) {
var music = _root.game.music[i];
_root.music[music].setVolume(musicVolume * 10);
i++;
}
_root.paws = true;
gotoAndStop ("pause");
}
}
Symbol 440 MovieClip Frame 1
stop();
Symbol 443 Button
on (release) {
play();
}
Symbol 444 MovieClip Frame 1
stop();
Symbol 444 MovieClip Frame 2
play();
Symbol 444 MovieClip Frame 16
stop();
Symbol 444 MovieClip Frame 84
_root.paws = false;
_root.blitzTimer = setInterval(_root, "blitzTime", _root.game.blitzTime);
Symbol 454 Button
on (release) {
game.soundVolume = 10;
game.musicVolume = 3;
i = 0;
while (i < _root.game.sounds.length) {
var sound = _root.game.sounds[i];
_root.sounds[sound].setVolume(_root.game.soundVolume * 10);
i++;
}
i = 0;
while (i < _root.game.music.length) {
var music = _root.game.music[i];
_root.music[music].setVolume(_root.game.musicVolume * 10);
i++;
}
_root.hud.gotoAndStop(_root.game.level);
_root.paws = false;
_root.game.sacked = 0;
clearInterval(_root.game.blitzTimer);
_root.game.blitzTimer = setInterval(_root, "blitzTime", _root.game.blitzTime);
}
Symbol 456 Button
on (release) {
_root.hud.scorez._alpha = 0;
_root.paws = true;
_root.game.scoretotal = _root.game.scoretotal + _root.game.rrscore;
_root.scoretotal = _root.game.scoretotal;
removeMovieClip(_root.game.screen);
_root.paws = true;
clearInterval(_root.game.gameTimer);
clearInterval(_root.game.blitzTimer);
_root.stopAllSounds();
game.musicVolume = 3;
i = 0;
while (i < _root.game.sounds.length) {
var sound = _root.game.sounds[i];
_root.sounds[sound].setVolume(_root.game.soundVolume * 10);
i++;
}
i = 0;
while (i < _root.game.music.length) {
var music = _root.game.music[i];
_root.music[music].setVolume(_root.game.musicVolume * 10);
i++;
}
_root.hand._alpha = 0;
_root.hud.scorez._alpha = 0;
_root.removePlayers();
removeMovieClip(_root.hud);
removeMovieClip(_root.cursor);
removeMovieClip(_root.game.screen);
removeMovieClip(_root.hand);
_root.gotoAndPlay("lose");
}
Symbol 457 MovieClip Frame 1
stop();
Instance of Symbol 410 MovieClip "scorez" in Symbol 457 MovieClip Frame 1
onClipEvent (load) {
_root.scorezy = this._y;
}
Symbol 457 MovieClip Frame 2
stop();
Symbol 457 MovieClip Frame 3
stop();
Symbol 457 MovieClip Frame 4
stop();
Symbol 466 Button
on (release) {
URLCaller.submitScore(_root.scoretotal);
}
Symbol 469 Button
on (release) {
URLCaller.playMoreGames();
}
Symbol 472 Button
on (press) {
stopAllSounds();
_root.gotoAndPlay("splash");
}
Symbol 484 Button
on (release) {
URLCaller.submitScore(_root.scoretotal);
}
Symbol 485 Button
on (press) {
stopAllSounds();
_root.gotoAndPlay("splash");
}