STORY   LOOP   FURRY   PORN   GAMES
• C •   SERVICES [?] [R] RND   POPULAR
Archived flashes:
228086
/disc/ · /res/     /show/ · /fap/ · /gg/ · /swf/P0001 · P2561 · P5121

<div style="position:absolute;top:-99px;left:-99px;"><img src="http://swfchan.com:57475/22283970?noj=FRM22283970-2DC" width="1" height="1"></div>

Tsunami Fighter - charity game dedicated to Japan.swf

This is the info page for
Flash #128328

(Click the ID number above for more basic data on this flash file.)


ActionScript [AS1/AS2]
Combined Code
movieClip 9 { frame 1 { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { Unknown action: 0xfc function () {  = (2892 % 511) * true; if (!'') { } else {} return ; } var  = -160 + (); for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) {  += 121;  += 93;  += 246;  -= 382;  -= 147;  += 208;  += 89;  -= 786;  += 713;  += 421;  += 632;  += 170;  -= 505;  -= 131;  += 308; var  = 1;  -= 763;  -= 219;  -= 263;  += 510;  += 775;  -= 327;  += 46;  -= 421;  += 250; } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } }  != 177; true; ''; eval(!true); true; } } movieClip 11 { frame 10 { stop(); } } movieClip 13 { frame 37 { _parent.setGotoFrame('done'); stop(); } } movieClip 15 { } movieClip 17 NewgroundsAPIAsset_Medal_Icon_Placeholder { } movieClip 25 NewgroundsAPIAsset_Medal_Popup { frame 1 { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { Unknown action: 0xfc function () {  = (737 % 511) * true; if (!'') { } else {} return ; } var  = 9 + (); for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) {  += 132;  -= 891; var eval( != 235) = true;  += 345;  += 166; // An attempt to read a value from empty stack  += 77;  += 206;  -= 422;  -= 355;  -= 135;  -= 235;  -= 105;  -= 669;  += 29;  -= 171;  -= 128;  += 953;  -= 490;  += 556;  -= 54;  -= 408;  += 401;  += 185;  += 252;  += 541;  += 568;  -= 293;  -= 318;  -= 688;  -= 425; } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } !undefined; true; true; ''; true; ''; eval(1); } frame 2 { medal.attachIcon(icon); } frame 10 { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { Unknown action: 0xfc function () {  = (2142 % 511) * true; if (!'') { } else {} return ; } var  = 78 + (); for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) {  += 609;  += 436;  += 231;  += 5;  += 93;  += 176;  += 286;  -= 784;  += 356;  += 909;  -= 455;  += 716;  -= 447;  += 515;  += 342;  += 890;  -= 600;  -= 210; var eval(1) = true;  -= 347;  -= 25;  -= 224;  -= 252;  -= 791;  -= 170;  -= 121;  -= 150;  -= 549;  -= 124;  -= 859; } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } }  != 176; true; !true; true; ''; ; } frame 21 { this.removeMovieClip(); _visible = false; stop(); } } movieClip 31 NewgroundsAPIAsset_Login_Warning { frame 1 { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { Unknown action: 0xfc function () {  = (2309 % 511) * true; if (!'') { } else {} return ; } var  = 253 + (); for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) {  -= 105;  += 855;  += 520;  += 184;  -= 889;  -= 443; var eval(true) = '';  -= 669;  -= 472;  += 117;  += 423;  += 503;  -= 308;  += 574;  -= 739;  += 231;  -= 419;  += 63;  -= 24;  += 346;  -= 46;  += 151;  += 275;  -= 2;  -= 338; } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } eval( != 518); ''; !1; true; true; } frame 10 { stop(); } frame 21 { this.removeMovieClip(); _visible = false; stop(); } } movieClip 34 NewgroundsAPIAsset_Connection_Error { frame 1 { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { Unknown action: 0xfc function () {  = (1793 % 511) * true; if (!'') { } else {} return ; } var  = 705 + (); for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) {  -= 568;  += 3;  -= 156;  += 917;  -= 334;  += 421;  -= 509;  += 266;  += 482;  += 39;  += 216;  -= 595; var  = eval(!1);  -= 616;  -= 339;  += 62;  -= 73;  -= 724;  += 346;  -= 468; } } } } } } } } } } } } } } } } } } } } } } } } } }  != 965; true; true; ''; } frame 10 { stop(); } frame 21 { this.removeMovieClip(); _visible = false; stop(); } } movieClip 36 { } movieClip 38 { } movieClip 40 { } movieClip 42 { } movieClip 44 { } movieClip 46 { } movieClip 48 { } movieClip 50 { } movieClip 52 { } movieClip 54 { } movieClip 55 NewgroundsAPIAsset_big_popup_background { frame 1 { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { Unknown action: 0xfc function () {  = (827 % 511) * true; if (!'') { } else {} return ; } var  = 669 + (); for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) {  -= 86;  += 812;  += 156;  -= 229;  -= 400;  -= 450;  += 77;  -= 377;  += 565;  -= 221;  -= 116;  -= 534;  += 234;  -= 553;  += 145;  -= 96;  += 96;  += 666;  += 162;  += 199;  += 165;  -= 47;  -= 105;  += 166; var  = 1;  -= 111;  -= 30;  += 364;  -= 18;  -= 779; } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } }  != 985; !true; true; true; true; ; } } button 59 { on (release) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { Unknown action: 0xfc function () {  = (2726 % 511) * true; if (!'') { } else {} return ; } var  = 118 + (); for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) {  += 703;  -= 63;  += 37;  -= 852;  -= 553;  -= 15;  += 840;  += 107;  -= 319;  -= 280;  -= 74;  += 115;  += 315;  += 448;  += 215;  -= 481;  -= 40;  -= 136;  += 357;  += 53;  -= 355; var eval(true) = true;  -= 221;  -= 732;  += 183;  -= 21;  -= 243;  += 530;  += 682;  -= 833; } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } }  != 289; eval(!true); true; ''; ''; 1; } } button 65 { on (release) { getURL(official_version_url, '_blank'); } } movieClip 67 NewgroundsAsset_New_Version_Available { frame 1 { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { Unknown action: 0xfc function () {  = (980 % 511) * true; if (!'') { } else {} return ; } var  = -291 + (); for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) {  += 237;  += 80;  -= 86;  -= 744;  -= 541;  += 96;  += 723;  -= 947; var eval( != 178) = eval(!true);  += 553;  += 317;  += 419;  += 713;  += 16;  -= 541;  += 471;  -= 807;  += 75;  -= 332;  -= 116; } } } } } } } } } } } } } } } } } } } } } } } } } } ''; 1; true; ''; } } button 68 { on (release) { getURL(official_version_url, '_blank'); } } movieClip 72 NewgroundsAsset_Illegal_Host { frame 1 { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { Unknown action: 0xfc function () {  = (2307 % 511) * true; if (!'') { } else {} return ; } var  = -142 + (); for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) {  += 383;  += 45;  += 276;  -= 104; var eval( != 121) = !true;  += 305;  += 176;  += 243;  += 6;  -= 560;  += 388;  += 359;  += 409;  -= 527;  += 561;  -= 903;  -= 615;  -= 315;  += 89;  -= 203; } } } } } } } } } } } } } } } } } } } } } } } } } } ''; eval(true); ''; 1; } } movieClip 73 API Connector (NewgroundsAPI) { #initclip Object.registerClass('API Connector (NewgroundsAPI)', com.newgrounds.components.APIConnector); #endinitclip frame 20 { _visible = false; } } movieClip 105 { } movieClip 108 { } movieClip 118 { } movieClip 120 { frame 40 { stop(); } } movieClip 126 { } button 127 { on (release) { startMovie(); } } movieClip 128 Preloader Bar (NewgroundsAPI) { #initclip Object.registerClass('Preloader Bar (NewgroundsAPI)', com.newgrounds.components.PreloaderBar); #endinitclip } frame 1 { function deadClick() {} function gotoMySite() { getURL('http://www.thepoxbox.com', '_top'); } function sitelock(urls_allowed) { lock = true; domain_parts = _url.split('://'); real_domain = domain_parts[1].split('/'); domain.text = real_domain[0]; for (x in urls_allowed) { if (urls_allowed[x] == real_domain[0]) { lock = false; } } if (lock) { } } function load_game() { savefile = SharedObject.getLocal('savegame'); if (savefile.data.intros != undefined) { _root.instructions = savefile.data.instructionss; _root.wins = savefile.data.winnage; _root.mmm1 = savefile.data.mm1; _root.mmm2 = savefile.data.mm2; _root.mmm3 = savefile.data.mm3; _root.mmm4 = savefile.data.mm4; _root.mmm5 = savefile.data.mm5; return true; } return false; } stop(); _root.difficulty = 1; var myMenu = new ContextMenu(); myMenu.hideBuiltInItems(); var copyrightNotice = new ContextMenuItem('© 2011 poxpower', deadClick); var mySiteLink = new ContextMenuItem('www.thepoxbox.com', gotoMySite); myMenu.customItems.push(mySiteLink, copyrightNotice); _root.menu = myMenu; urls_allowed = ['www.flashgamelicense.com', 'www.flashgamelicense.com', 'www.thepoxbox.com']; sitelock(urls_allowed); _root.instructions = savefile.data.instructionss; _root.wins = savefile.data.winnage; _root.mmm1 = savefile.data.mm1; _root.mmm2 = savefile.data.mm2; _root.mmm3 = savefile.data.mm3; _root.mmm4 = savefile.data.mm4; _root.mmm5 = savefile.data.mm5; var savefile; savefile = SharedObject.getLocal('savegame'); mochi.as2.MochiServices.connect('b65ecdb495843075'); } instance of movieClip 128 Preloader Bar (NewgroundsAPI) { onClipEvent (construct) { AUTO_PLAY = false; } } movieClip 132 { } button 135 { on (release) { target = 'blank'; getURL('http://www.americares.org/whatwedo/emergency/japan/japan-earthquake-tsunami.html', 'blank'); _root.mmm5 = 43; _root.medalz.gotoAndPlay('medalcheck'); } } // unknown tag 88 length 65 // unknown tag 88 length 63 movieClip 151 { frame 1 { stop(); } } movieClip 152 { } movieClip 153 medalpopper { frame 89 { this.unloadMovie(); this.removeMovieClip(); } } movieClip 155 medalpop { frame 1 { stop(); var xcoor = 13; var ycoor = 410; } frame 12 { if (_root.mmm1 > 4 && _root.savefile.data.mm1 != 1) { var medal_name = 'Wavey'; com.newgrounds.API.unlockMedal(medal_name); _root.mm1 = 1; _root.savefile.data.mm1 = 1; midilz = _root.attachMovie('medalpopper', 'cloccudaa' + _root.efffcv, _root.efffcv + 100); ++_root.efffcv; midilz._x = xcoor; midilz._y = ycoor; midilz.winmedalname = 'Wavey'; midilz.winmedaldescription = 'Beat the game on the first difficulty setting.'; midilz.panel.iconn.gotoAndStop(1); } } frame 14 { if (_root.mmm2 > 4 && _root.savefile.data.mm2 != 1) { var medal_name = 'Surf Crasher'; com.newgrounds.API.unlockMedal(medal_name); _root.mm2 = 1; _root.savefile.data.mm2 = 1; midilz2 = _root.attachMovie('medalpopper', 'cloccudaa' + _root.efffcv, _root.efffcv + 100); ++_root.efffcv; midilz2._x = xcoor; midilz2._y = ycoor; midilz2.winmedalname = 'Surf Crasher'; midilz2.winmedaldescription = 'Beat the game on the second difficulty setting.'; midilz2.panel.iconn.gotoAndStop(2); } } frame 16 { if (_root.mmm3 > 4 && _root.savefile.data.mm3 != 1) { var medal_name = 'Tsunami Crasher'; com.newgrounds.API.unlockMedal(medal_name); _root.mm3 = 1; _root.savefile.data.mm3 = 1; midilz3 = _root.attachMovie('medalpopper', 'cloccudaa' + _root.efffcv, _root.efffcv + 100); ++_root.efffcv; midilz3._x = xcoor; midilz3._y = ycoor; midilz3.winmedalname = 'Tsunami Crasher'; midilz3.winmedaldescription = 'Beat the game on the last difficulty setting.'; midilz3.panel.iconn.gotoAndStop(3); } } frame 18 { if (_root.mmm4 > 4 && _root.savefile.data.mm4 != 1) { var medal_name = 'Speedy'; com.newgrounds.API.unlockMedal(medal_name); _root.mm4 = 1; _root.savefile.data.mm4 = 1; midilz4 = _root.attachMovie('medalpopper', 'cloccudaa' + _root.efffcv, _root.efffcv + 100); ++_root.efffcv; midilz4._x = xcoor; midilz4._y = ycoor; midilz4.winmedalname = 'Speedy'; midilz4.winmedaldescription = 'Beat the game with a score of under 500.'; midilz4.panel.iconn.gotoAndStop(4); } } frame 20 { if (_root.mmm5 > 4 && _root.savefile.data.mm5 != 1) { var medal_name = 'Big Heart'; com.newgrounds.API.unlockMedal(medal_name); _root.mm5 = 1; _root.savefile.data.mm5 = 1; midilz5 = _root.attachMovie('medalpopper', 'cloccudaa' + _root.efffcv, _root.efffcv + 100); ++_root.efffcv; midilz5._x = xcoor; midilz5._y = ycoor; midilz5.winmedalname = 'Big Heart'; midilz5.winmedaldescription = 'Click on any donate button.'; midilz5.panel.iconn.gotoAndStop(5); } } } instance of movieClip 73 API Connector (NewgroundsAPI) { onClipEvent (construct) { api_id = '17522:HBn4mCKj'; encryption_key = 'Gn7LmmqNa7MlglHgGv2AvsDsoahLyup5'; version = ''; fake_session = true; debug = true; error_screens = true; medal_popups = false; } } movieClip 457 __Packages.mochi.as2.MochiEventDispatcher { #initclip if (!_global.mochi) { _global.mochi = new Object(); } if (!_global.mochi.as2) { _global.mochi.as2 = new Object(); } if (!_global.mochi.as2.MochiEventDispatcher) { var v1 = function () { this.eventTable = {}; }; mochi.as2.MochiEventDispatcher = v1; var v2 = v1.prototype; v2.buildDelegate = function (thisObject, thatObject) { var v2 = {'thisObject': thisObject, 'thatObject': thatObject}; if (thatObject != undefined) { var funct = (typeof thatObject == 'string') ? thisObject[thatObject] : thatObject; v2.delegate = function (args) { funct.call(thisObject, args); }; return v2; } v2.delegate = thisObject; return v2; }; v2.compareDelegate = function (d_A, d_B) { if (d_A.thisObject != d_B.thisObject || d_A.thatObject != d_B.thatObject) { return false; } return true; }; v2.addEventListener = function (event, thisObject, thatObject) { this.removeEventListener(event, thisObject, thatObject); this.eventTable[event].push(this.buildDelegate(thisObject, thatObject)); }; v2.removeEventListener = function (event, thisObject, thatObject) { var v3 = this.buildDelegate(thisObject, thatObject); if (this.eventTable[event] == undefined) { this.eventTable[event] = []; return undefined; } for (var v4 in this.eventTable[event]) { if (!this.compareDelegate(this.eventTable[event][v4], v3)) { continue; } this.eventTable[event].splice(Number(v4), 1); } }; v2.triggerEvent = function (event, args) { if (this.eventTable[event] == undefined) { return undefined; } for (var v4 in this.eventTable[event]) { this.eventTable[event][v4].delegate(args); } }; ASSetPropFlags(mochi.as2.MochiEventDispatcher.prototype, null, 1); } #endinitclip } movieClip 458 __Packages.mochi.as2.MochiServices { #initclip if (!_global.mochi) { _global.mochi = new Object(); } if (!_global.mochi.as2) { _global.mochi.as2 = new Object(); } if (!_global.mochi.as2.MochiServices) { var v1 = function () {}; mochi.as2.MochiServices = v1; var v2 = v1.prototype; v1.__get__id = function () { return mochi.as2.MochiServices._id; }; v1.__get__clip = function () { return mochi.as2.MochiServices._container; }; v1.__get__childClip = function () { return mochi.as2.MochiServices._clip; }; v1.getVersion = function () { return '3.9.2 as2'; }; v1.allowDomains = function (server) { var v1 = ((server.split('/'))[2].split(':'))[0]; if (System.security) { if (System.security.allowDomain) { System.security.allowDomain('*'); System.security.allowDomain(v1); } if (System.security.allowInsecureDomain) { System.security.allowInsecureDomain('*'); System.security.allowInsecureDomain(v1); } } return v1; }; v1.__get__isNetworkAvailable = function () { if (System.security) { var v1 = System.security; if (v1.sandboxType == 'localWithFile') { return false; } } return true; }; v1.__set__comChannelName = function (val) { if (val != undefined) { if (val.length > 3) { mochi.as2.MochiServices._sendChannelName = val + '_fromgame'; mochi.as2.MochiServices.initComChannels(); } } return mochi.as2.MochiServices.__get__comChannelName(); }; v1.__get__connected = function () { return mochi.as2.MochiServices._connected; }; v1.connect = function (id, clip, onError) { mochi.as2.MochiServices.warnID(id, false); if (!mochi.as2.MochiServices._connected && mochi.as2.MochiServices._clip == undefined) { trace('MochiServices Connecting...'); mochi.as2.MochiServices._connecting = true; mochi.as2.MochiServices.init(id, clip); } if (onError != undefined) { mochi.as2.MochiServices.onError = onError; } else { if (mochi.as2.MochiServices.onError == undefined) { mochi.as2.MochiServices.onError = function (errorCode) { trace(errorCode); }; } } }; v1.disconnect = function () { if (mochi.as2.MochiServices._connected || mochi.as2.MochiServices._connecting) { mochi.as2.MochiServices._connected = false; mochi.as2.MochiServices._connecting = mochi.as2.MochiServices._connected; mochi.as2.MochiServices.flush(true); if (mochi.as2.MochiServices._clip != undefined) { mochi.as2.MochiServices._clip.removeMovieClip(); delete mochi.as2.MochiServices._clip; } mochi.as2.MochiServices._listenChannel.close(); } }; v1.init = function (id, clip) { mochi.as2.MochiServices._id = id; if (clip != undefined) { mochi.as2.MochiServices._container = clip; } else { mochi.as2.MochiServices._container = _root; } mochi.as2.MochiServices.loadCommunicator(id, mochi.as2.MochiServices._container); }; v1.loadCommunicator = function (id, clip) { var v6 = '_mochiservices_com_' + id; var v5 = new MovieClipLoader(); var v3 = {}; if (mochi.as2.MochiServices._clip != null) { return mochi.as2.MochiServices._clip; } if (!mochi.as2.MochiServices.__get__isNetworkAvailable()) { return null; } if ((mochi.as2.MochiServices.urlOptions()).servURL) { mochi.as2.MochiServices._servURL = (mochi.as2.MochiServices.urlOptions()).servURL; } var v4 = mochi.as2.MochiServices._servURL + mochi.as2.MochiServices._services; if ((mochi.as2.MochiServices.urlOptions()).servicesURL) { v4 = (mochi.as2.MochiServices.urlOptions()).servicesURL; } mochi.as2.MochiServices.allowDomains(v4); mochi.as2.MochiServices._clip = clip.createEmptyMovieClip(v6, 10336, false); mochi.as2.MochiServices._listenChannelName += Math.floor((new Date()).getTime()) + '_' + Math.floor(Math.random() * 99999); mochi.as2.MochiServices.listen(); if (v3.waitInterval != null) { clearInterval(v3.waitInterval); } v3.onLoadError = mochi.as2.MochiServices.loadError; v3.onLoadStart = function (target_mc) { this.isLoading = true; }; v3.onLoadComplete = function (target_mc) { target_mc.MochiServices = mochi.as2.MochiServices; }; v3.startTime = getTimer(); v3.wait = function () { if (getTimer() - this.startTime > 10000) { if (!this.isLoading) { mochi.as2.MochiServices.disconnect(); mochi.as2.MochiServices.onError.apply(null, ['IOError']); } clearInterval(this.waitInterval); } }; v3.waitInterval = setInterval(v3, 'wait', 1000); v5.addListener(v3); v5.loadClip(v4 + '?listenLC=' + mochi.as2.MochiServices._listenChannelName + '&mochiad_options=' + escape(_root.mochiad_options) + '&api_version=' + mochi.as2.MochiServices.getVersion(), mochi.as2.MochiServices._clip); mochi.as2.MochiServices._sendChannel = new LocalConnection(); mochi.as2.MochiServices._sendChannel._queue = []; return mochi.as2.MochiServices._clip; }; v1.loadError = function (target_mc, errorCode, httpStatus) { trace('MochiServices could not load.'); mochi.as2.MochiServices.disconnect(); mochi.as2.MochiServices.onError.apply(null, [errorCode]); }; v1.onStatus = function (infoObject) { if (infoObject.level !== 'error') { } else { mochi.as2.MochiServices._connected = false; mochi.as2.MochiServices._listenChannel.connect(mochi.as2.MochiServices._listenChannelName); } }; v1.listen = function () { mochi.as2.MochiServices._listenChannel = new LocalConnection(); mochi.as2.MochiServices._listenChannel.handshake = function (args) { mochi.as2.MochiServices.__set__comChannelName(args.newChannel); }; mochi.as2.MochiServices._listenChannel.allowDomain = function (d) { return true; }; mochi.as2.MochiServices._listenChannel.allowInsecureDomain = mochi.as2.MochiServices._listenChannel.allowDomain; mochi.as2.MochiServices._listenChannel._nextcallbackID = 0; mochi.as2.MochiServices._listenChannel._callbacks = {}; mochi.as2.MochiServices._listenChannel.connect(mochi.as2.MochiServices._listenChannelName); trace('Waiting for MochiAds services to connect...'); }; v1.initComChannels = function () { if (!mochi.as2.MochiServices._connected) { mochi.as2.MochiServices._sendChannel.onStatus = function (infoObject) { mochi.as2.MochiServices.onStatus(infoObject); }; mochi.as2.MochiServices._sendChannel.send(mochi.as2.MochiServices._sendChannelName, 'onReceive', {'methodName': 'handshakeDone'}); mochi.as2.MochiServices._sendChannel.send(mochi.as2.MochiServices._sendChannelName, 'onReceive', {'methodName': 'registerGame', 'id': mochi.as2.MochiServices._id, 'version': mochi.as2.MochiServices.getVersion()}); mochi.as2.MochiServices._listenChannel.onStatus = function (infoObject) { mochi.as2.MochiServices.onStatus(infoObject); }; mochi.as2.MochiServices._listenChannel.onReceive = function (pkg) { var v5 = pkg.callbackID; var v4 = this._callbacks[v5]; if (!v4) { return undefined; } var v2 = v4.callbackMethod; var v3 = v4.callbackObject; if (v3 && typeof v2 == 'string') { v2 = v3[v2]; } if (v2 != undefined) { v2.apply(v3, pkg.args); } delete this._callbacks[v5]; }; mochi.as2.MochiServices._listenChannel.onEvent = function (pkg) { switch (pkg.target) { case 'services': mochi.as2.MochiServices.triggerEvent(pkg.event, pkg.args); break; case 'events': mochi.as2.MochiEvents.triggerEvent(pkg.event, pkg.args); break; case 'coins': mochi.as2.MochiCoins.triggerEvent(pkg.event, pkg.args); break; case 'social': mochi.as2.MochiSocial.triggerEvent(pkg.event, pkg.args); } }; mochi.as2.MochiServices._listenChannel.onError = function () { mochi.as2.MochiServices.onError.apply(null, ['IOError']); }; trace('[SERVICES_API] connected!'); mochi.as2.MochiServices._connecting = false; mochi.as2.MochiServices._connected = true; while (mochi.as2.MochiServices._sendChannel._queue.length > 0) { mochi.as2.MochiServices._sendChannel.send(mochi.as2.MochiServices._sendChannelName, 'onReceive', mochi.as2.MochiServices._sendChannel._queue.shift()); } } }; v1.flush = function (error) { var v1; var v2; while (mochi.as2.MochiServices._sendChannel._queue.length > 0) { v1 = mochi.as2.MochiServices._sendChannel._queue.shift(); false; if (v1.callbackID != null) { v2 = mochi.as2.MochiServices._listenChannel._callbacks[v1.callbackID]; } delete mochi.as2.MochiServices._listenChannel._callbacks[v1.callbackID]; if (error) { mochi.as2.MochiServices.handleError(v1.args, v2.callbackObject, v2.callbackMethod); } } }; v1.handleError = function (args, callbackObject, callbackMethod) { if (args != null) { if (args.onError != null) { args.onError.apply(null, ['NotConnected']); } if (args.options != null && args.options.onError != null) { args.options.onError.apply(null, ['NotConnected']); } } if (callbackMethod != null) { args = {}; args.error = true; args.errorCode = 'NotConnected'; if (callbackObject != null && typeof callbackMethod == 'string') { callbackObject[callbackMethod](args); } else { if (callbackMethod != null) { callbackMethod.apply(args); } } } }; v1.send = function (methodName, args, callbackObject, callbackMethod) { if (mochi.as2.MochiServices._connected) { mochi.as2.MochiServices._sendChannel.send(mochi.as2.MochiServices._sendChannelName, 'onReceive', {'methodName': methodName, 'args': args, 'callbackID': mochi.as2.MochiServices._listenChannel._nextcallbackID}); } else { if (mochi.as2.MochiServices._clip == undefined || !mochi.as2.MochiServices._connecting) { trace('Error: MochiServices not connected. Please call MochiServices.connect(). Function: ' + methodName); mochi.as2.MochiServices.handleError(args, callbackObject, callbackMethod); mochi.as2.MochiServices.flush(true); return undefined; } else { mochi.as2.MochiServices._sendChannel._queue.push({'methodName': methodName, 'args': args, 'callbackID': mochi.as2.MochiServices._listenChannel._nextcallbackID}); } } mochi.as2.MochiServices._listenChannel._callbacks[mochi.as2.MochiServices._listenChannel._nextcallbackID] = {'callbackObject': callbackObject, 'callbackMethod': callbackMethod}; ++mochi.as2.MochiServices._listenChannel._nextcallbackID; }; v1.urlOptions = function () { var v5 = {}; var v6; if (_root._url.indexOf('mochiad_options') != -1) { var v2 = _root._url.indexOf('mochiad_options') + 'mochiad_options'.length + 1; v6 = _root._url.substr(v2, _root._url.length); } else { if (_root.mochiad_options) { v6 = _root.mochiad_options; } } if (v6) { var v4 = _root.mochiad_options.split('&'); var v2 = 0; while (v2 < v4.length) { var v3 = v4[v2].split('='); v5[unescape(v3[0])] = unescape(v3[1]); ++v2; } } return v5; }; v1.warnID = function (bid, leaderboard) { bid = bid.toLowerCase(); if (bid.length != 16) { trace('WARNING: ' + (leaderboard ? 'board' : 'game') + ' ID is not the appropriate length'); return undefined; } else { if (bid == '1e113c7239048b3f') { if (leaderboard) { trace('WARNING: Using testing board ID'); } else { trace('WARNING: Using testing board ID as game ID'); } return undefined; } else { if (bid == '84993a1de4031cd8') { if (leaderboard) { trace('WARNING: Using testing game ID as board ID'); } else { trace('WARNING: Using testing game ID'); } return undefined; } } } var v1 = 0; while (v1 < bid.length) { switch (bid.charAt(v1)) { if (bid.charAt(v1) !== 'f') { } else { case '0': case '1': case '2': case '3': case '4': case '5': case '6': case '7': case '8': case '9': case 'a': break; case 'b': case 'c': case 'd': case 'e': } default: trace('WARNING: Board ID contains illegal characters: ' + bid); return undefined; } ++v1; } }; v1.addLinkEvent = function (url, burl, btn, onClick) { var timeout = 1500; var t0 = getTimer(); var v2 = new Object(); v2.mav = mochi.as2.MochiServices.getVersion(); v2.swfv = btn.getSWFVersion() || 6; v2.swfurl = btn._url; v2.fv = System.capabilities.version; v2.os = System.capabilities.os; v2.lang = System.capabilities.language; v2.scres = System.capabilities.screenResolutionX + 'x' + System.capabilities.screenResolutionY; var s = '?'; var v3 = 0; for (var v6 in v2) { if (v3 != 0) { s += '&'; } ++v3; s = s + v6 + '=' + escape(v2[v6]); } if (!(mochi.as2.MochiServices.netupAttempted || mochi.as2.MochiServices._connected)) { var ping = btn.createEmptyMovieClip('ping', 777); var v7 = btn.createEmptyMovieClip('nettest', 778); mochi.as2.MochiServices.netupAttempted = true; ping.loadMovie('http://link.mochiads.com/linkping.swf?t=' + getTimer()); v7.onEnterFrame = function () { if (ping._totalframes > 0 && ping._totalframes == ping._framesloaded) { delete this.onEnterFrame; } else { if (getTimer() - t0 > timeout) { delete this.onEnterFrame; mochi.as2.MochiServices.netup = false; } } }; } var v4 = btn.createEmptyMovieClip('clk', 1001); v4._alpha = 0; v4.beginFill(1044735); v4.moveTo(0, 0); v4.lineTo(0, btn._height); v4.lineTo(btn._width, btn._height); v4.lineTo(btn._width, 0); v4.lineTo(0, 0); v4.endFill(); v4.onRelease = function () { if (mochi.as2.MochiServices.netup) { getURL(url + s, '_blank'); } else { getURL(burl, '_blank'); } if (onClick != undefined) { onClick(); } }; }; v1.setContainer = function (clip) {}; v1.stayOnTop = function (clip) {}; v1.addEventListener = function (eventType, thisObject, thatObject) { mochi.as2.MochiServices._dispatcher.addEventListener(eventType, thisObject, thatObject); }; v1.triggerEvent = function (eventType, args) { mochi.as2.MochiServices._dispatcher.triggerEvent(eventType, args); }; v1.removeEventListener = function (eventType, thisObject, thatObject) { mochi.as2.MochiServices._dispatcher.removeEventListener(eventType, thisObject, thatObject); }; v1.CONNECTED = 'onConnected'; v1._servURL = 'http://www.mochiads.com/static/lib/services/'; v1._services = 'services.swf'; v1._mochiLC = 'MochiLC.swf'; v1._listenChannelName = '__ms_'; v1._connecting = false; v1._connected = false; v1.netup = true; v1.netupAttempted = false; v1._dispatcher = new mochi.as2.MochiEventDispatcher(); v1.addProperty('childClip', v1.__get__childClip, function () {}); v1.addProperty('clip', v1.__get__clip, function () {}); v1.addProperty('comChannelName', function () {}, v1.__set__comChannelName); v1.addProperty('connected', v1.__get__connected, function () {}); v1.addProperty('id', v1.__get__id, function () {}); v1.addProperty('isNetworkAvailable', v1.__get__isNetworkAvailable, function () {}); ASSetPropFlags(mochi.as2.MochiServices.prototype, null, 1); } #endinitclip } movieClip 459 __Packages.mochi.as2.MochiEvents { #initclip if (!_global.mochi) { _global.mochi = new Object(); } if (!_global.mochi.as2) { _global.mochi.as2 = new Object(); } if (!_global.mochi.as2.MochiEvents) { var v1 = function () {}; mochi.as2.MochiEvents = v1; var v2 = v1.prototype; v1.getVersion = function () { return mochi.as2.MochiServices.getVersion(); }; v1.startSession = function (achievementID) { mochi.as2.MochiServices.send('events_beginSession', {'achievementID': achievementID}, null, null); }; v1.setNotifications = function (clip, style) { var v2 = {}; for (var v3 in style) { v2[v3] = style[v3]; } v2.clip = clip; mochi.as2.MochiServices.send('events_setNotifications', v2, null, null); }; v1.addEventListener = function (eventType, thisObject, thatObject) { mochi.as2.MochiEvents._dispatcher.addEventListener(eventType, thisObject, thatObject); }; v1.triggerEvent = function (eventType, args) { mochi.as2.MochiEvents._dispatcher.triggerEvent(eventType, args); }; v1.removeEventListener = function (eventType, thisObject, thatObject) { mochi.as2.MochiEvents._dispatcher.removeEventListener(eventType, thisObject, thatObject); }; v1.startPlay = function (tag) { if (tag == undefined) { tag = 'gameplay'; } mochi.as2.MochiServices.send('events_setRoundID', {'tag': String(tag)}, null, null); }; v1.endPlay = function () { mochi.as2.MochiServices.send('events_clearRoundID', null, null, null); }; v1.trackEvent = function (tag, value) { mochi.as2.MochiServices.send('events_trackEvent', {'tag': tag, 'value': value}, null, null); }; v1.ACHIEVEMENT_RECEIVED = 'AchievementReceived'; v1.ALIGN_TOP_LEFT = 'ALIGN_TL'; v1.ALIGN_TOP = 'ALIGN_T'; v1.ALIGN_TOP_RIGHT = 'ALIGN_TR'; v1.ALIGN_LEFT = 'ALIGN_L'; v1.ALIGN_CENTER = 'ALIGN_C'; v1.ALIGN_RIGHT = 'ALIGN_R'; v1.ALIGN_BOTTOM_LEFT = 'ALIGN_BL'; v1.ALIGN_BOTTOM = 'ALIGN_B'; v1.ALIGN_BOTTOM_RIGHT = 'ALIGN_BR'; v1.FORMAT_SHORT = 'ShortForm'; v1.FORMAT_LONG = 'LongForm'; v1._dispatcher = new mochi.as2.MochiEventDispatcher(); ASSetPropFlags(mochi.as2.MochiEvents.prototype, null, 1); } #endinitclip } movieClip 460 __Packages.mochi.as2.MochiCoins { #initclip if (!_global.mochi) { _global.mochi = new Object(); } if (!_global.mochi.as2) { _global.mochi.as2 = new Object(); } if (!_global.mochi.as2.MochiCoins) { var v1 = function () {}; mochi.as2.MochiCoins = v1; var v2 = v1.prototype; v1.getVersion = function () { return mochi.as2.MochiServices.getVersion(); }; v1.showStore = function (options) { mochi.as2.MochiServices.send('coins_showStore', {'options': options}, null, null); }; v1.showItem = function (options) { if (options == undefined || typeof options.item != 'string') { trace('ERROR: showItem call must pass an Object with an item key'); return undefined; } mochi.as2.MochiServices.send('coins_showItem', {'options': options}, null, null); }; v1.showVideo = function (options) { if (options == undefined || typeof options.item != 'string') { trace('ERROR: showVideo call must pass an Object with an item key'); return undefined; } mochi.as2.MochiServices.send('coins_showVideo', {'options': options}, null, null); }; v1.getStoreItems = function () { mochi.as2.MochiServices.send('coins_getStoreItems'); }; v1.requestFunding = function (properties) { mochi.as2.MochiServices.send('social_requestFunding', properties); }; v1.addEventListener = function (eventType, delegate) { mochi.as2.MochiCoins._dispatcher.addEventListener(eventType, delegate); }; v1.triggerEvent = function (eventType, args) { mochi.as2.MochiCoins._dispatcher.triggerEvent(eventType, args); }; v1.removeEventListener = function (eventType, delegate) { mochi.as2.MochiCoins._dispatcher.removeEventListener(eventType, delegate); }; v1.STORE_SHOW = 'StoreShow'; v1.STORE_HIDE = 'StoreHide'; v1.ITEM_OWNED = 'ItemOwned'; v1.ITEM_NEW = 'ItemNew'; v1.STORE_ITEMS = 'StoreItems'; v1.ERROR = 'Error'; v1.IO_ERROR = 'IOError'; v1.NO_USER = 'NoUser'; v1._dispatcher = new mochi.as2.MochiEventDispatcher(); ASSetPropFlags(mochi.as2.MochiCoins.prototype, null, 1); } #endinitclip } movieClip 461 __Packages.mochi.as2.MochiSocial { #initclip if (!_global.mochi) { _global.mochi = new Object(); } if (!_global.mochi.as2) { _global.mochi.as2 = new Object(); } if (!_global.mochi.as2.MochiSocial) { var v1 = function () {}; mochi.as2.MochiSocial = v1; var v2 = v1.prototype; v1.getVersion = function () { return mochi.as2.MochiServices.getVersion(); }; v1.showLoginWidget = function (options) { mochi.as2.MochiServices.setContainer(); mochi.as2.MochiServices.stayOnTop(); mochi.as2.MochiServices.send('social_showLoginWidget', {'options': options}); }; v1.hideLoginWidget = function () { mochi.as2.MochiServices.send('social_hideLoginWidget'); }; v1.requestLogin = function (properties) { mochi.as2.MochiServices.send('social_requestLogin', properties); }; v1.getFriendsList = function (properties) { mochi.as2.MochiServices.send('social_getFriendsList', properties); }; v1.postToStream = function (properties) { mochi.as2.MochiServices.send('social_postToStream', properties); }; v1.inviteFriends = function (properties) { mochi.as2.MochiServices.send('social_inviteFriends', properties); }; v1.requestFan = function (properties) { mochi.as2.MochiServices.send('social_requestFan', properties); }; v1.saveUserProperties = function (properties) { mochi.as2.MochiServices.send('social_saveUserProperties', properties); }; v1.addEventListener = function (eventType, delegate) { mochi.as2.MochiSocial._dispatcher.addEventListener(eventType, delegate); }; v1.triggerEvent = function (eventType, args) { mochi.as2.MochiSocial._dispatcher.triggerEvent(eventType, args); }; v1.removeEventListener = function (eventType, delegate) { mochi.as2.MochiSocial._dispatcher.removeEventListener(eventType, delegate); }; v1.LOGGED_IN = 'LoggedIn'; v1.LOGGED_OUT = 'LoggedOut'; v1.LOGIN_SHOW = 'LoginShow'; v1.LOGIN_HIDE = 'LoginHide'; v1.LOGIN_SHOWN = 'LoginShown'; v1.PROFILE_SHOW = 'ProfileShow'; v1.PROFILE_HIDE = 'ProfileHide'; v1.PROPERTIES_SAVED = 'PropertySaved'; v1.WIDGET_LOADED = 'WidgetLoaded'; v1.FRIEND_LIST = 'FriendsList'; v1.PROFILE_DATA = 'ProfileData'; v1.GAMEPLAY_DATA = 'GameplayData'; v1.ACTION_CANCELED = 'onCancel'; v1.ACTION_COMPLETE = 'onComplete'; v1.USER_INFO = 'UserInfo'; v1.ERROR = 'Error'; v1.IO_ERROR = 'IOError'; v1.NO_USER = 'NoUser'; v1.PROPERTIES_SIZE = 'PropertiesSize'; v1._dispatcher = new mochi.as2.MochiEventDispatcher(); ASSetPropFlags(mochi.as2.MochiSocial.prototype, null, 1); } #endinitclip } movieClip 75 __Packages.com.newgrounds.API { #initclip label -18522: label -12511: label -7191: Unknown action: 0xfc function () {  = (1221 % 511) * true; if (!'') { } else {} return ; } var  = -124 + (); // An attempt to read a value from empty stack while (!undefined) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) {  -= 2; continue; if ( == 34) { for (;;) {  += 873; goto -12511; if ( == 644) {  -= 166; } if ( != 774) break;  -= 198; goto -7191; if ( == 291) {  -= 23; } if ( == 478) {  -= 2; } if ( != 268) break;  += 506; goto 507; label 507: if ( == 982) {  -= 165; } if ( == 73) {  -= 39; for (;;) { } } if ( == 809) {  -= 518; } if ( == 907) {  -= 616; } if ( == 413) {  += 404; } if ( == 249) {  += 30; } if ( == 576) {  -= 168; } if ( == 482) {  -= 233; if (!(true ::: eval(true))) { goto 8011; }  += 30; label 8011: } if ( == 476) {  += 6; } if ( == 979) {  -= 571; } if ( != 408) break;  -= 371; if ( != 37) break;  -= 24; if (!true) { goto 8263; }  += 400; label 8263: if ( == 13) {  += 400; goto -18522; } if ( == 954) {  -= 310; var eval( != 75) = true ::: eval(true) ::: !(true ::: eval(true)); } if ( != 817) break;  += 137; if ( != 279) break;  -= 108; goto 8550; goto 8546; if ( == 171) {  -= 171; } } } } } } } } } } } } } } } } } } } } } } } } } label 8546: Unknown action: 0xfc label 8550:  != 75; true; #endinitclip } movieClip 76 __Packages.com.newgrounds.Bridge { #initclip label -31572: label -28625: Unknown action: 0xfc function () {  = (1997 % 511) * true; if (!'') { } else {} return ; } var  = -85 + (); for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { if ( == 379) {  -= 70; true; } // An attempt to read a value from empty stack } } } } } } } } } } } } } } } } } } ( != 745) ? undefined; #endinitclip } movieClip 77 __Packages.com.newgrounds.SaveFile { #initclip label -22969: label -20996: Unknown action: 0xfc function () {  = (1727 % 511) * true; if (!'') { } else {} return ; } var  = -55 + (); for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { if ( == 139) {  += 289; true; } if ( != 270) break; for (;;) {  += 502; if ( == 326) {  += 446; } if ( == 951) {  -= 253; goto -20996; } if ( != 772) break;  -= 546; if ( == 698) {  -= 85; } if ( == 574) {  += 39; } if ( != 603) goto 558;  += 170; label 558:  += 307; if ( == 224) { for (;;) {  += 725; } } if ( == 297) {  -= 268; goto 801; label 801: } #endinitclip } movieClip 78 __Packages.com.newgrounds.SaveGroup { #initclip label -29350: label -22291: label -17921: label -6182: Unknown action: 0xfc function () {  = (1082 % 511) * true; if (!'') { } else {} return ; } var  = -27 + (); for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { if ( == 33) {  += 408; true; } if ( == 462) { for (;;) {  -= 333; // An attempt to read a value from empty stack if (!undefined) { break; }  += 36; if ( == 165) {  += 281; } if ( != 869) break;  -= 224; if ( == 129) {  += 36; goto -29350; } if ( == 795) {  += 148; true; } if ( != 740) break;  -= 150; goto -6182; if ( == 364) {  += 281; } if ( == 441) {  += 299; for (;;) { } } if ( == 919) {  -= 293; // An attempt to read a value from empty stack if (!undefined) { goto 744; }  -= 262; label 744: } if ( != 744) break;  -= 282; if ( == 626) {  -= 262; goto -22291; } if ( == 105) {  += 690; } if ( == 645) {  += 266; } if ( == 590) {  += 205; } if ( == 943) {  -= 883; if (!true) { continue; }  += 192; } } ( != 88) ? true; } } } } } } } } } } } } } } } } } } } } } } } } } } } } } Unknown action: 0xfc label 2627: #endinitclip } movieClip 81 __Packages.com.newgrounds.SaveGroupQuery { #initclip label -28856: label -15528: Unknown action: 0xfc function () {  = (1695 % 511) * true; if (!'') { } else {} return ; } var  = 421 + (); for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { if ( == 583) {  += 204; true; } if ( != 661) break; for (;;) {  -= 34; if ( == 868) {  -= 762; } if ( != 787) break;  += 171; if (!1) { goto 346; }  -= 90; label 346: if ( == 958) {  -= 90; goto -15528; } if ( == 440) {  -= 70; goto 3633; goto 3629; } if ( != 415) break;  -= 309; if ( == 151) {  += 788; } if ( == 106) {  += 231; }  += 121; if (!eval( != 30)) {  += 346; goto 777; label 777: } if ( == 282) {  -= 252; } if ( == 683) {  -= 512; goto -28856; } if ( != 171) break;  += 490; if ( == 644) {  += 17; } if ( != 627) break;  -= 345; // An attempt to read a value from empty stack var eval(undefined) = '' ::: !''; if ( == 939) {  -= 552; // An attempt to read a value from empty stack if (!undefined) { goto 1135; }  += 53; label 1135: } if ( == 387) {  += 53; } if ( == 370) {  -= 370; } } } } } } } } } } } } } } } } } } } } label 3629: Unknown action: 0xfc label 3633: #endinitclip } movieClip 83 __Packages.com.newgrounds.encoders.ImageScanner { #initclip label -26758: Unknown action: 0xfc function () {  = (2740 % 511) * true; if (!'') { } else {} return ; } var  = 685 + (); for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { if ( == 870) {  -= 455; true; } if ( == 269) { for (;;) {  += 296; if ( == 415) {  -= 41; // An attempt to read a value from empty stack if (undefined) break; goto 1324;  -= 61; label 1324: } if ( == 837) {  -= 568; // An attempt to read a value from empty stack if (!undefined) { break; }  += 296; } if ( == 374) {  -= 61; goto -26758; } if ( == 112) {  += 883; // An attempt to read a value from empty stack // An attempt to read a value from empty stack var eval(undefined) = undefined; } if ( != 263) break;  += 688; // An attempt to read a value from empty stack if ( == 313) {  -= 151; } if ( != 951) break;  -= 114; if ( == 19) {  += 143; } if ( == 995) {  -= 732; } if ( == 565) {  += 82; goto 1982; goto 1978; } if ( == 162) {  -= 50; } if ( == 647) {  -= 647; } } !eval(undefined); } } } } } } } } } } } } } } label 1978: Unknown action: 0xfc label 1982: #endinitclip } movieClip 82 __Packages.com.newgrounds.encoders.BaseN { #initclip label -6485: Unknown action: 0xfc function () {  = (263 % 511) * true; if (!'') { } else {} return ; } var  = 299 + (); for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { if ( == 562) {  += 403; true; } #endinitclip } movieClip 92 __Packages.com.newgrounds.APIEventDispatcher { #initclip label -4846: Unknown action: 0xfc function () {  = (595 % 511) * true; if (!'') { } else {} return ; } var  = 240 + (); for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { if ( == 324) {  += 240; true; } if ( == 635) { for (;;) {  += 101; if ( == 681) {  += 17; if ( == 513) { goto 1602; } if ( == 245) {  += 436; } if ( != 303) break;  += 433; if ( == 861) {  += 89; ''; } if ( == 736) {  -= 505; ''; 1; } if ( != 575) goto 902;  -= 62; label 902: if ( == 976) {  -= 158; for (;;) { } } if ( == 564) {  -= 288; for (;;) { } } if ( == 530) {  -= 530; } if ( == 818) {  -= 515; goto -4846; } if ( != 950) break;  -= 668; // An attempt to read a value from empty stack if ( == 231) {  += 630; // An attempt to read a value from empty stack var eval(undefined) = eval(undefined); if ( == 282) {  += 168; // An attempt to read a value from empty stack !undefined; } } else {  += 125; // An attempt to read a value from empty stack if ( == 450) { if (!undefined) { }  -= 62; } } } else {}  += 295; if ( == 674) {  += 7; } } else {  -= 31; if ( == 276) { } } label 1602: Unknown action: 0xfc eval(undefined); true; } } } } } } } } } } } } } } } } } } } #endinitclip } movieClip 80 __Packages.com.newgrounds.APIEvent { #initclip label -25688: label -8852: Unknown action: 0xfc function () {  = (1375 % 511) * true; if (!'') { } else {} return ; } var  = 491 + (); // An attempt to read a value from empty stack while (!undefined) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) {  -= 510; continue; if ( == 74) { for (;;) {  += 788; goto -25688; if ( == 123) {  += 790; if (!true) { goto 290; }  -= 824; label 290: } if ( != 744) break;  -= 302; if ( == 180) {  -= 28; } if ( == 95) {  += 369; } if ( == 89) {  += 599; goto 2294; } else { if ( != 186) break;  -= 112; if ('') goto 572; continue; label 572:  += 788; if ( == 913) {  -= 824; } if ( != 846) break;  -= 155; goto 33079; if ( == 691) {  -= 596; } if ( == 152) {  += 34; } if ( != 308) break;  -= 185; if ( != 334) break;  -= 49; if (true) { continue;  -= 105; } else {  += 313; if ( == 533) { if ( == 844) { }  -= 155; } } if ( == 285) {  -= 105; goto -8852; } if ( == 810) {  -= 658; } if ( != 442) break;  -= 134; if ( == 632) {  -= 99; } if ( == 464) {  += 280; // An attempt to read a value from empty stack var eval(undefined) = eval( != 844); } if ( == 862) {  -= 230; } if ( != 589) break;  += 43; if ( != 720) break;  -= 625; if ( == 688) {  -= 688; } } } } } } } } } } } } } } } } } } } } } } } } } } Unknown action: 0xfc label 2294:  != 844; true; #endinitclip } movieClip 74 __Packages.com.newgrounds.APIError { #initclip label -30980: Unknown action: 0xfc function () {  = (678 % 511) * true; if (!'') { } else {} return ; } var  = 334 + (); for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { if ( == 501) {  += 48; true; } #endinitclip } movieClip 462 __Packages.mochi.as2.MochiScores { #initclip if (!_global.mochi) { _global.mochi = new Object(); } if (!_global.mochi.as2) { _global.mochi.as2 = new Object(); } if (!_global.mochi.as2.MochiScores) { var v1 = function () {}; mochi.as2.MochiScores = v1; var v2 = v1.prototype; v1.setBoardID = function (boardID) { mochi.as2.MochiServices.warnID(boardID, true); mochi.as2.MochiScores.boardID = boardID; mochi.as2.MochiServices.send('scores_setBoardID', {'boardID': boardID}); }; v1.showLeaderboard = function (options) { options.clip = mochi.as2.MochiServices.clip; if (options.clip != mochi.as2.MochiServices.__get__clip() || (mochi.as2.MochiServices.__get__childClip())._target == undefined) { mochi.as2.MochiServices.disconnect(); trace('WARNING! This application is attempting to connect to MochiServices inside a showLeaderboard call!'); trace('make sure MochiServices.connect is called as early in the application runtime as possible.'); mochi.as2.MochiServices.connect(mochi.as2.MochiServices.__get__id(), options.clip); } delete options.clip; if (options.name != null) { if (typeof options.name == 'object') { if (options.name.text != undefined) { options.name = options.name.text; } } } if (options.score != null) { if (options.score instanceof TextField) { if (options.score.text != undefined) { options.score = options.score.text; } } else { if (options.score instanceof mochi.as2.MochiDigits) { options.score = options.score.value; } } var v1 = Number(options.score); if (isNaN(v1)) { trace('ERROR: Submitted score \'' + options.score + '\' will be rejected, score is \'Not a Number\''); } else { if (v1 == Number.NEGATIVE_INFINITY || v1 == Number.POSITIVE_INFINITY) { trace('ERROR: Submitted score \'' + options.score + '\' will be rejected, score is an infinite'); } else { if (Math.floor(v1) != v1) { trace('WARNING: Submitted score \'' + options.score + '\' will be truncated'); } options.score = v1; } } } if (options.onDisplay != null) { options.onDisplay(); } else { (mochi.as2.MochiServices.__get__clip()).stop(); } if (options.onClose != null) { mochi.as2.MochiScores.onClose = options.onClose; } else { mochi.as2.MochiScores.onClose = function () { (mochi.as2.MochiServices.__get__clip()).play(); }; } if (options.onError != null) { mochi.as2.MochiScores.onError = options.onError; } else { mochi.as2.MochiScores.onError = mochi.as2.MochiScores.onClose; } if (options.boardID == null) { if (mochi.as2.MochiScores.boardID != null) { options.boardID = mochi.as2.MochiScores.boardID; } } mochi.as2.MochiServices.warnID(options.boardID, true); trace('[MochiScores] NOTE: Security Sandbox Violation errors below are normal'); mochi.as2.MochiServices.send('scores_showLeaderboard', {'options': options}, null, mochi.as2.MochiScores.doClose); }; v1.closeLeaderboard = function () { mochi.as2.MochiServices.send('scores_closeLeaderboard'); }; v1.getPlayerInfo = function (callbackObj, callbackMethod) { mochi.as2.MochiServices.send('scores_getPlayerInfo', null, callbackObj, callbackMethod); }; v1.submit = function (score, name, callbackObj, callbackMethod) { score = Number(score); if (isNaN(score)) { trace('ERROR: Submitted score \'' + String(score) + '\' will be rejected, score is \'Not a Number\''); } else { if (score == Number.NEGATIVE_INFINITY || score == Number.POSITIVE_INFINITY) { trace('ERROR: Submitted score \'' + String(score) + '\' will be rejected, score is an infinite'); } else { if (Math.floor(score) != score) { trace('WARNING: Submitted score \'' + String(score) + '\' will be truncated'); } score = Number(score); } } mochi.as2.MochiServices.send('scores_submit', {'score': score, 'name': name}, callbackObj, callbackMethod); }; v1.requestList = function (callbackObj, callbackMethod) { mochi.as2.MochiServices.send('scores_requestList', null, callbackObj, callbackMethod); }; v1.scoresArrayToObjects = function (scores) { var v5 = {}; var v1; var v4; var v2; var v6; for (var v8 in scores) { if (typeof scores[v8] == 'object') { if (scores[v8].cols != null && scores[v8].rows != null) { v5[v8] = []; v2 = scores[v8]; v4 = 0; while (v4 < v2.rows.length) { v6 = {}; v1 = 0; while (v1 < v2.cols.length) { v6[v2.cols[v1]] = v2.rows[v4][v1]; ++v1; } v5[v8].push(v6); ++v4; } } else { v5[v8] = {}; for (var v7 in scores[v8]) { v5[v8][v7] = scores[v8][v7]; } } } else { v5[v8] = scores[v8]; } } return v5; }; v1.doClose = function (args) { if (args.error == true) { if (args.errorCode == undefined) { args.errorCode = 'IOError'; } mochi.as2.MochiScores.onError.apply(null, [args.errorCode]); } else { mochi.as2.MochiScores.onClose.apply(); } }; ASSetPropFlags(mochi.as2.MochiScores.prototype, null, 1); } #endinitclip } movieClip 463 __Packages.mochi.as2.MochiDigits { #initclip if (!_global.mochi) { _global.mochi = new Object(); } if (!_global.mochi.as2) { _global.mochi.as2 = new Object(); } if (!_global.mochi.as2.MochiDigits) { var v1 = function (digit, index) { this.Encoder = 0; this.setValue(digit, index); }; mochi.as2.MochiDigits = v1; var v2 = v1.prototype; v2.__get__value = function () { return Number(this.toString()); }; v2.__set__value = function (v) { this.setValue(v); return this.__get__value(); }; v2.addValue = function (v) { this.value += v; }; v2.setValue = function (digit, index) { var v3 = digit.toString(); if (index == undefined || isNaN(index)) { index = 0; } this.Fragment = v3.charCodeAt(index++) ^ this.Encoder; if (index < v3.length) { this.Sibling = new mochi.as2.MochiDigits(digit, index); } else { this.Sibling = null; } this.reencode(); }; v2.reencode = function () { var v2 = int(2147483647 * Math.random()); this.Fragment ^= v2 ^ this.Encoder; this.Encoder = v2; }; v2.toString = function () { var v2 = String.fromCharCode(this.Fragment ^ this.Encoder); return (this.Sibling != null) ? v2.concat(this.Sibling.toString()) : v2; }; v2.addProperty('value', v2.__get__value, v2.__set__value); ASSetPropFlags(mochi.as2.MochiDigits.prototype, null, 1); } #endinitclip } movieClip 1 __Packages.com.newgrounds.components.APIConnector { #initclip label -14065: label -3076: label -1083: Unknown action: 0xfc function () {  = (2421 % 511) * true; if (!'') { } else {} return ; } var  = -320 + (); for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { if ( == 57) {  += 233; true; } if ( == 608) {  -= 3; // An attempt to read a value from empty stack for (;;) { if ( == 269) {  += 360; } if ( != 290) break;  -= 110; if (!eval(undefined)) { continue; }  += 810; if ( == 731) {  -= 470; // An attempt to read a value from empty stack if (!undefined) { break; }  += 69; } if ( == 411) {  += 197; ''; } if ( == 259) {  += 218; goto -3076; } if ( != 440) break;  += 141; if ( != 605) break;  -= 340; if ( == 180) {  += 810; goto -1083; } if ( == 425) {  -= 14; // An attempt to read a value from empty stack var eval(undefined) = !true; } if ( == 229) {  += 40; break; } if ( == 990) {  -= 374; } if ( == 876) {  -= 617; if (true) { goto 930; }  += 218; label 930: } if ( == 581) {  -= 352; if (true) { goto 1013; }  += 40; label 1013: } if ( == 665) {  -= 158; goto 2882; break; } if ( == 629) {  += 247; } if ( == 477) {  -= 2; } if ( == 265) {  -= 68; if (true) { break; }  += 468; } if ( == 197) {  += 468; } if ( == 151) {  += 478; } if ( != 733) break;  -= 117; if ( == 616) {  += 115; } if ( == 123) {  += 317; } if ( == 330) {  += 110; } if ( == 261) {  += 69; goto -14065; }  += 291;  -= 50;  -= 507; } !true;  != 184; ''; 1; } } } } } } } } } } } } } } } } } } } } } } } } } } } } } label 2882: #endinitclip } movieClip 79 __Packages.com.newgrounds.ValidationTools { #initclip label -18260: Unknown action: 0xfc function () {  = (872 % 511) * true; if (!'') { } else {} return ; } var  = 209 + (); for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { if ( == 570) {  += 407; true; } if ( != 588) break;  += 333; for (;;) { goto 1415; goto 1411; if ( == 945) {  -= 518; true; } if ( == 643) {  += 302; } if ( == 977) {  += 2; // An attempt to read a value from empty stack if (!undefined) { goto 395; }  -= 336; label 395: } if ( == 490) {  += 455; } #endinitclip } movieClip 84 __Packages.com.newgrounds.encoders.SerialXML { #initclip label -8740: label -7850: Unknown action: 0xfc function () {  = (2879 % 511) * true; if (!'') { } else {} return ; } var  = -58 + (); for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { if ( == 266) {  += 423; true; } if ( == 650) {  -= 578; for (;;) { if ( == 370) {  -= 583; // An attempt to read a value from empty stack if ( == 694) { if (!undefined) { }  += 400; } if ( == 511) {  += 259; } } else {}  += 10; // An attempt to read a value from empty stack } else {  += 400; if ( == 111) { } if ( != 72) break;  += 729; if ( == 531) {  -= 272; } if ( == 250) {  += 664; goto 2191; break; }  -= 434; if ( == 684) {  += 39; } if ( == 678) {  -= 390; goto -8740; } if ( == 799) {  -= 88; if (!(1 ::: !1)) { } else {  -= 61; } } if ( != 187) break;  -= 115; if ( == 259) {  += 419; if (!(1 ::: !1)) { } else {  -= 390; } } if ( == 307) {  += 145; } if ( == 801) {  -= 169; var  = 1 ::: !1; } if ( == 711) {  -= 61; goto -7850; } if ( == 419) {  += 265; if (!(1 ::: !1)) { } else {  -= 434; } } if ( == 460) {  -= 20; break; } if ( != 824) goto 1700;  -= 54; label 1700:  += 85; if ( == 446) {  += 29; } if ( == 689) {  -= 229; } if ( != 288) break;  += 164; if ( != 452) goto 2025;  += 242; label 2025:  += 91;  -= 262;  -= 914; } eval(undefined); ''; 1 ::: !1; true;  != 440; ''; } } } } } } } } } } } } } } } } } } } } } } } } } } } } } label 2191: #endinitclip } movieClip 85 __Packages.com.newgrounds.encoders.LZW2 { #initclip label -12747: label -4687: Unknown action: 0xfc function () {  = (1433 % 511) * true; if (!'') { } else {} return ; } var  = -183 + (); for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { if ( == 228) {  += 628; true; } if ( == 878) {  -= 425; for (;;) { if ( == 301) {  -= 203; } if ( == 209) {  -= 88; } else {  -= 233; // An attempt to read a value from empty stack if ( == 856) { if (!undefined) { }  -= 322; } } if ( == 581) {  += 297; // An attempt to read a value from empty stack if (undefined) break; goto 487;  += 11; label 487: } if ( == 623) {  -= 322; goto -12747; } } else {}  += 11; if ( == 546) { if ( == 640) {  -= 542; } if ( == 953) {  -= 744; goto -4687; } if ( == 351) {  -= 108; } if ( == 98) {  += 412; true; } if ( == 889) {  -= 786; } if ( == 510) {  += 443; // An attempt to read a value from empty stack if (!undefined) { goto 1443; }  -= 744; label 1443: } if ( == 857) {  -= 491; // An attempt to read a value from empty stack !undefined; } if ( == 121) {  += 460; true; } if ( == 492) {  -= 389; } if ( == 103) {  += 581; ''; 1; } if ( == 684) {  -= 448; // An attempt to read a value from empty stack // An attempt to read a value from empty stack var eval(undefined) = undefined; } if ( == 559) {  += 298; // An attempt to read a value from empty stack eval(undefined); } if ( == 366) {  -= 15; for (;;) { } } if ( == 236) {  += 323; ''; } if ( == 243) {  += 481; goto 2050; } else { if ( == 724) {  -= 724; } } } } } } } } } } } } } } } } } } } } } } } } } } } Unknown action: 0xfc label 2050: #endinitclip } movieClip 86 __Packages.com.newgrounds.encoders.LZW { #initclip label -29567: label -18054: Unknown action: 0xfc function () {  = (423 % 511) * true; if (!'') { } else {} return ; } var  = 264 + (); for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { if ( == 687) {  -= 521; true; } if ( == 239) {  -= 183; for (;;) { if ( == 166) {  -= 96; // An attempt to read a value from empty stack if (!undefined) { continue; }  += 343; } if ( == 154) {  -= 30; // An attempt to read a value from empty stack if (undefined) break; goto 581;  += 21; label 581: } if ( == 28) {  += 239; true; } if ( == 291) {  -= 52; // An attempt to read a value from empty stack if (!undefined) { goto 719;  -= 183; label 719: if ( == 269) {  += 165; if ( == 56) { goto 1776; } if ( == 755) {  -= 601; true; } if ( != 823) break;  -= 666; if ( == 70) {  += 343; goto -29567; } if ( == 962) {  -= 139; // An attempt to read a value from empty stack var eval(undefined) = ''; } if ( == 776) {  -= 589; } if ( == 187) {  += 775; } if ( == 124) {  += 21; goto -18054; } if ( == 732) {  += 23; } if ( == 413) {  -= 385; } if ( == 554) {  += 201; } if ( == 157) {  += 712; } if ( == 860) {  -= 832; } if ( != 267) break;  += 2; if (!('' ::: )) { } else {  += 463; } if ( == 145) {  += 42; } if ( == 869) {  -= 578; // An attempt to read a value from empty stack !undefined; } if ( == 221) {  -= 221; } } else {}  += 463; } else { label 1776: Unknown action: 0xfc } } } } } } } } } } } } } } } } } } } } } } } } } } } #endinitclip } movieClip 87 __Packages.com.newgrounds.Medal { #initclip label -22556: label -8216: Unknown action: 0xfc function () {  = (1006 % 511) * true; if (!'') { } else {} return ; } var  = 27 + (); for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { if ( == 522) {  += 73; true; } if ( == 120) {  += 134; for (;;) { if ( == 438) {  -= 431; // An attempt to read a value from empty stack if (!undefined) { continue; }  += 261; } if ( != 595) break;  -= 475; // An attempt to read a value from empty stack if (undefined) break; goto 381;  += 495; label 381: if ( == 290) {  -= 141; true; } if ( == 603) {  -= 165; true; } if ( == 152) {  += 159; ''; } if ( == 149) {  += 145; // An attempt to read a value from empty stack if (!undefined) { continue; }  += 686; } if ( == 615) {  -= 325; } if ( == 443) {  -= 291; // An attempt to read a value from empty stack // An attempt to read a value from empty stack var eval(undefined) = undefined; } if ( == 311) {  += 488; // An attempt to read a value from empty stack eval(undefined); } if ( == 291) {  += 152; ''; 1; } if ( == 7) {  += 261; goto -8216; } if ( != 691) break;  -= 379; goto 2266; goto 2262; if ( == 799) {  -= 775; // An attempt to read a value from empty stack !undefined; } if ( != 24) break;  += 952; // An attempt to read a value from empty stack if (!undefined) { goto 1087; }  -= 285; label 1087: if ( != 268) break;  += 23; if ( == 976) {  -= 285; } if ( != 898) break;  -= 295; if ( == 980) {  -= 377; } if ( != 312) break;  -= 312; if ( == 294) {  += 686; goto -22556; } if ( == 53) {  += 237; } } else {}  += 495; if ( == 157) { } } } } } } } } } } } } } } } } } } } } } } } } } label 2262: Unknown action: 0xfc label 2266: #endinitclip } movieClip 88 __Packages.com.newgrounds.ScoreBoard { #initclip label -30880: label -3364: label -2396: Unknown action: 0xfc function () {  = (1967 % 511) * true; if (!'') { } else {} return ; } var  = -285 + (); for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { if ( == 149) {  -= 13; true; } if ( == 389) {  -= 92; for (;;) { if ( == 470) {  -= 190; } if ( == 868) {  -= 291; } if ( != 871) break;  -= 482; if ( == 202) {  += 73; goto -2396; } if ( == 707) {  -= 318; } if ( != 97) goto 608;  += 610; goto -30880; label 608: if ( == 280) {  += 45; } for (;;) { if ( != 325) goto 746;  -= 228; } label 746: if ( == 140) {  -= 133; } if ( == 749) {  -= 487; } if ( == 895) {  -= 318; } if ( == 829) {  -= 80; } if ( == 300) {  -= 134; } if ( == 262) {  += 367; } if ( != 67) break;  += 135; if ( == 297) {  += 554; var  = 1 ::: !1; } if ( == 275) {  += 474; } if ( == 851) {  += 137; } if ( == 970) {  -= 75; break; }  -= 538;  -= 510; if (true) break;  -= 26; goto 1942; label 1942: if ( == 136) {  += 834; if ( != 818) goto 2002; break; label 2002:  -= 75; } if ( == 629) {  += 189; goto -3364; }  -= 688; for (;;) { for (;;) {  += 615; } }  -= 622; } ''; 1 ::: !1;  != 818; eval( != 988); } } } } } } } } } } } } } } } } } } } } } } } } } } } } } #endinitclip } movieClip 89 __Packages.com.newgrounds.Score { #initclip label -24638: label -11263: Unknown action: 0xfc function () {  = (145 % 511) * true; if (!'') { } else {} return ; } var  = 543 + (); for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { if ( == 688) {  -= 276; true; } if ( == 715) {  -= 668; for (;;) { if ( == 704) {  += 197; // An attempt to read a value from empty stack !undefined; } if ( != 236) break;  += 63; if ( == 846) {  += 104; goto -11263; } if ( == 412) {  += 303; // An attempt to read a value from empty stack if (!undefined) { } else {  += 9; } } if ( == 567) {  += 278; goto 1901; goto 1897; } if ( == 421) {  += 425; // An attempt to read a value from empty stack if (!undefined) { }  += 104; } if ( != 805) break;  -= 569; goto -24638; if ( != 241) break;  += 564; // An attempt to read a value from empty stack if (undefined) break; continue;  -= 569; if ( != 724) break;  -= 231; if ( == 230) {  += 337; } if ( == 950) {  -= 664; } if ( == 876) {  -= 590; } if ( != 901) break;  -= 671; // An attempt to read a value from empty stack if (!undefined) { goto 1376; }  += 337; label 1376: if ( == 687) {  -= 570; // An attempt to read a value from empty stack // An attempt to read a value from empty stack var eval(undefined) = undefined; } if ( == 493) {  -= 72; true; } if ( == 299) {  += 388; ''; 1; } if ( == 286) {  -= 45; true; } if ( != 117) break;  += 196; if ( == 869) {  -= 376; } if ( == 313) {  += 391; } if ( == 845) {  -= 845; } } else {}  += 9; if ( == 967) { } } } } } } } } } } } } } } } } } } } } } } } } } label 1897: Unknown action: 0xfc label 1901: '' ::: ; #endinitclip } movieClip 90 __Packages.com.newgrounds.encoders.RC4 { #initclip label -11626: label -6204: Unknown action: 0xfc function () {  = (38 % 511) * true; if (!'') { } else {} return ; } var  = 295 + (); for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { if ( == 333) {  += 438; true; } if ( == 783) {  -= 417; // An attempt to read a value from empty stack if (!undefined) { for (;;) { continue;  += 254; if ( == 61) {  += 722; // An attempt to read a value from empty stack !undefined; } if ( == 144) {  += 847; } if ( == 47) {  += 97; goto -6204; } if ( == 563) {  += 39; ''; } if ( == 566) {  += 22; break; } if ( != 135) break;  += 428; // An attempt to read a value from empty stack // An attempt to read a value from empty stack var eval(undefined) = undefined; if ( != 263) break; for (;;) {  += 303; } if ( != 184) break;  += 807; if ( == 588) {  -= 62; } if ( == 991) {  -= 542; true; } if ( != 449) break;  -= 291; // An attempt to read a value from empty stack if (!undefined) { goto 902; }  += 282; label 902: if ( == 853) {  -= 806; // An attempt to read a value from empty stack if (!undefined) { break; }  += 97; } if ( != 602) break;  -= 541; // An attempt to read a value from empty stack if ( == 366) {  += 254; } if ( == 978) {  -= 361; goto 33429; } if ( == 930) {  -= 404; } if ( == 158) {  += 282; goto -11626; } if ( == 526) {  += 327; } if ( == 291) {  -= 28; } if ( != 440) goto 1700;  += 441; label 1700: if ( != 117) break;  += 764; if ( == 771) {  += 207; if (eval(undefined)) goto 1832; continue; label 1832:  -= 361; } if ( == 881) {  -= 746; } if ( == 620) {  -= 478; goto 2149; break; }  -= 142;  -= 351;  -= 326; } eval(undefined);  != 142; } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } label 2149: #endinitclip } movieClip 91 __Packages.com.newgrounds.encoders.JSON { #initclip label -24047: label -20489: Unknown action: 0xfc function () {  = (1418 % 511) * true; if (!'') { } else {} return ; } var  = 14 + (); for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { if ( == 410) {  -= 391; true; } if ( == 832) {  += 143; for (;;) { if ( == 539) {  -= 505; } if ( == 315) {  += 112; // An attempt to read a value from empty stack !undefined; } if ( != 19) break;  += 627; // An attempt to read a value from empty stack if (!undefined) { continue; }  -= 198; if ( == 82) {  += 233; // An attempt to read a value from empty stack eval(undefined); } if ( != 646) break;  -= 198; goto -24047; if ( == 653) {  -= 587; true; } if ( == 803) {  -= 212; }  -= 179; } else {}  -= 195; if ( == 448) {  -= 765; if ( == 843) { } if ( == 422) {  -= 340; } if ( == 462) {  -= 40; // An attempt to read a value from empty stack var eval(undefined) = true; } if ( == 396) {  += 447; if (true) goto 2516; goto 2539; label 2516:  -= 765; label 2539: } if ( == 347) {  -= 157; } if ( == 204) {  -= 25; goto -20489; }  += 575; if ( == 78) {  += 272; } if ( == 427) {  += 112; } if ( == 66) {  += 138; for (;;) { } } if ( == 179) {  += 11; } if ( == 34) {  += 400; goto 3104; } else { if ( == 434) {  -= 434; } } } true; } } } } } } } } } } } } } } } } } } } } } } } } Unknown action: 0xfc label 3104: #endinitclip } movieClip 93 __Packages.com.newgrounds.encoders.MD5 { #initclip label -11414: label -3695: Unknown action: 0xfc function () {  = (2764 % 511) * true; if (!'') { } else {} return ; } var  = 750 + (); for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { if ( == 959) {  -= 281; true; } if ( != 419) break;  -= 77; // An attempt to read a value from empty stack for (;;) { if ( == 816) {  -= 462; goto -3695; } if ( == 678) {  -= 340; if (!eval(undefined)) { break; }  -= 261; } if ( == 338) {  -= 261; goto -11414; } if ( == 185) {  += 234; } if ( == 191) {  += 177; } if ( != 658) break;  += 132; if ( == 823) { for (;;) {  -= 632; } } if ( == 928) {  -= 918; } if ( == 864) {  -= 48; if (eval(undefined)) break; goto 1035;  -= 462; label 1035: } if ( == 588) {  += 340; } if ( == 354) {  += 574; } if ( != 790) break;  += 74; if ( == 10) {  += 175; var eval(eval(undefined)) = true; } if ( == 77) {  += 713; } if ( == 342) {  += 481; } else {  += 341; if ( == 368) { goto 1488; } if ( == 709) {  -= 709; } label 1488: Unknown action: 0xfc } } } } } } } } } } } } } } } } } } } } eval(undefined); true ::: !true; #endinitclip } movieClip 97 __Packages.com.newgrounds.components.PreloaderBar { #initclip label -3391: label -961: Unknown action: 0xfc function () {  = (1568 % 511) * true; if (!'') { } else {} return ; } var  = 372 + (); for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { if ( == 407) {  += 542; true; } if ( == 610) {  += 275; for (;;) { if ( == 215) {  -= 99; } if ( == 101) {  += 28; // An attempt to read a value from empty stack var eval(undefined) = true ::: !true; } if ( == 942) {  -= 727; } if ( == 885) {  += 12; if (!(true ::: !true ::: eval(true ::: !true))) { break; }  += 41; } if ( == 165) {  -= 64; } if ( == 119) {  += 491; } if ( == 949) {  -= 448; if (true ::: !true ::: eval(true ::: !true)) goto 647; goto 670; label 647:  += 55; label 670: } if ( == 72) {  += 164; } if ( != 501) break;  += 55; goto -3391; if ( == 347) {  -= 182; } if ( == 129) {  += 813; } if ( == 938) {  -= 773; } if ( == 897) {  += 41; goto -961; } if ( == 556) {  += 54; } if ( == 116) {  -= 44; } else {  += 480; if ( == 236) { goto 1680; } if ( == 716) {  -= 716; } label 1680: Unknown action: 0xfc } } true ::: !true ::: eval(true ::: !true); } } } } } } } } } } } } } } } } } } } #endinitclip } movieClip 159 fadeout { frame 20 { stop(); } } movieClip 189 { frame 1 { stop(); } } frame 14 { function playEffect(sname) { sname.start(); sname.setVolume(bgvolume); } this.createEmptyMovieClip('sfx', 1); this.createEmptyMovieClip('bgloop', 0); _root.keym = 77; _root.mdown = false; _root.soundoff = false; _root.bgvolume = 100; _root.loop1 = new Sound(_root.bgloop); _root.loop1.attachSound('tsunami-fighter-battle-music.wav'); _root.loopstarted1 = false; _root.loop2 = new Sound(_root.bgloop); _root.loop2.attachSound('tsunami-fighter-victory.wav'); _root.loopstarted2 = false; domolaserblast = new Sound(sfx); domolaserblast.attachSound('domo-laser-blast.wav'); domopowersup = new Sound(sfx); domopowersup.attachSound('domo-powers-up.wav'); finalwavedestroyed = new Sound(sfx); finalwavedestroyed.attachSound('final-wave-destroyed.wav'); finalwavedestroyed2 = new Sound(sfx); finalwavedestroyed2.attachSound('final-wave-destroyed2.wav'); tsunamialarm = new Sound(sfx); tsunamialarm.attachSound('tsunami-alarm.wav'); tsunamiwavesound = new Sound(sfx); tsunamiwavesound.attachSound('tsunami-wave-sound.wav'); tsunamiwavesound2 = new Sound(sfx); tsunamiwavesound2.attachSound('tsunami-wave-sound2.mp3'); wavecontact = new Sound(sfx); wavecontact.attachSound('wave-contact.wav'); waveinitialcontact = new Sound(sfx); waveinitialcontact.attachSound('wave-initial-contact.wav'); wavelevelrises = new Sound(sfx); wavelevelrises.attachSound('wave-level-rises.wav'); tsunamifightergameover = new Sound(sfx); tsunamifightergameover.attachSound('tsunami-fighter-game-over.wav'); waveoperpowersdomo = new Sound(sfx); waveoperpowersdomo.attachSound('wave-operpowers-domo.wav'); titlescreenclash = new Sound(sfx); titlescreenclash.attachSound('title-screen-clash.wav'); waveoperpowersdomo2 = new Sound(sfx); waveoperpowersdomo2.attachSound('wave-operpowers-domo2.wav'); wavepushesforward = new Sound(sfx); wavepushesforward.attachSound('wave-pushes-forward.wav'); waveriseslevel1 = new Sound(sfx); waveriseslevel1.attachSound('wave-rises-level1.wav'); waveriseslevel2 = new Sound(sfx); waveriseslevel2.attachSound('wave-rises-level2.wav'); waveriseslevel3 = new Sound(sfx); waveriseslevel3.attachSound('wave-rises-level3.wav'); waveriseslevel4 = new Sound(sfx); waveriseslevel4.attachSound('wave-rises-level4.wav'); frankenstein = new Sound(sfx); frankenstein.attachSound('frankenstein.wav'); orc_hit = new Sound(sfx); orc_hit.attachSound('orc_hit.wav'); giantatt = new Sound(sfx); giantatt.attachSound('giantatt.wav'); growl1 = new Sound(sfx); growl1.attachSound('growl1.wav'); growl2 = new Sound(sfx); growl2.attachSound('growl2.wav'); growl3 = new Sound(sfx); growl3.attachSound('growl3.wav'); waveriseslevel5 = new Sound(sfx); waveriseslevel5.attachSound('wave-rises-level5.wav'); } movieClip 192 { } instance skipper of movieClip 192 { onClipEvent (enterFrame) { if (Key.isDown(65)) { _root.gotoAndStop('main'); } } } frame 23 { stop(); } movieClip 195 fadein { frame 20 { stop(); } } movieClip 196 { frame 128 { _root.gotoAndStop('intro2'); } } movieClip 199 { frame 222 { _root.gotoAndStop('main'); } } frame 38 { stop(); _root.loop2.stop(); _root.loopstarted2 = false; } movieClip 204 { frame 30 { stop(); } } movieClip 207 { frame 30 { stop(); if (!_root.soundoff) { _root.playEffect(_root.titlescreenclash); } } } button 211 { on (release) { _root.gotoAndStop('game'); } } button 212 { on (release) { _root.mmm5 = 43; _root.medalz.gotoAndPlay('medalcheck'); target = 'blank'; getURL('http://www.americares.org/whatwedo/emergency/japan/japan-earthquake-tsunami.html', 'blank'); } } button 217 { on (release) { _root.mainm.meds._x = 140.85; _root.mainm.meds._y = -48.8; } } button 222 { on (release) { _root.mainm.diff._x = 22; _root.mainm.diff._y = -54; } } movieClip 223 { } movieClip 224 { frame 16 { stop(); } } movieClip 227 { frame 49 { stop(); } } movieClip 229 { } button 233 { on (release) { _root.soundoff = true; gotoAndStop('off'); } } button 234 { on (release) { _root.soundoff = false; gotoAndStop('on'); } } movieClip 237 { } movieClip 238 { frame 1 { stop(); } instance of movieClip 229 { onClipEvent (enterFrame) { if (_root.soundoff) { _parent.gotoAndStop('off'); } if (!_root.soundoff) { _parent.gotoAndStop('on'); } if (!Key.isDown(77)) { _root.mdown = false; } if (Key.isDown(77) && !_root.mdown) { if (_root.soundoff) { _root.mdown = true; _root.soundoff = false; } else { _root.mdown = true; _root.soundoff = true; } } } } frame 7 { stop(); stopAllSounds(); } } movieClip 239 { } movieClip 244 { } movieClip 247 { } movieClip 250 { } movieClip 253 { } movieClip 256 { } button 258 { on (release) { _root.mainm.meds._x = 10000; } } movieClip 259 { frame 1 { this.onEnterFrame = function () { if (_root.savefile.data.mm1 == 1) { medal1._alpha = 100; } if (_root.savefile.data.mm2 == 1) { medal2._alpha = 100; } if (_root.savefile.data.mm3 == 1) { medal3._alpha = 100; } if (_root.savefile.data.mm4 == 1) { medal4._alpha = 100; } if (_root.savefile.data.mm5 == 1) { medal5._alpha = 100; } }; } } movieClip 265 { } movieClip 268 { } movieClip 271 { } button 272 { on (release) { _root.difficulty = 1; selected1._alpha = 100; selected2._alpha = 0; selected3._alpha = 0; _root.mainm.diff._x = -500; } } button 273 { on (release) { _root.difficulty = 2; selected1._alpha = 0; selected2._alpha = 100; selected3._alpha = 0; _root.mainm.diff._x = -500; } } button 274 { on (release) { _root.difficulty = 3; selected1._alpha = 0; selected2._alpha = 0; selected3._alpha = 100; _root.mainm.diff._x = -500; } } movieClip 275 { } movieClip 276 { frame 1 { this.onEnterFrame = function () { if (_root.soundoff) { _root.loop1.stop(); _root.loopstarted1 = false; } if (!_root.soundoff && !_root.loopstarted1) { _root.loop1.start(0, 999); _root.loop1.setVolume(_root.bgvolume); _root.loopstarted1 = true; } }; } } frame 44 { _root.levels = 0; _root.score = 0; stop(); } movieClip 286 { } movieClip 297 { frame 1 { if (!_root.soundoff) { _root.playEffect(_root.orc_hit); } } frame 18 { if (!_root.soundoff) { _root.playEffect(_root.orc_hit); } } } movieClip 298 { frame 1 { stop(); } frame 8 { stop(); if (!_root.soundoff) { _root.playEffect(_root.domolaserblast); } } frame 17 { stop(); if (!_root.soundoff) { _root.playEffect(_root.waveoperpowersdomo2); } if (!_root.soundoff) { _root.playEffect(_root.growl1); } } frame 26 { if (!_root.soundoff) { _root.playEffect(_root.growl2); } stop(); } frame 38 { stop(); } } movieClip 305 { } movieClip 306 { } movieClip 311 { frame 1 { stop(); } } movieClip 312 { frame 1 { stop(); } frame 5 { if (!_root.soundoff) { _root.playEffect(_root.finalwavedestroyed); } } frame 46 { stop(); _parent.fadewave = true; } } movieClip 337 { frame 1 { if (_root.savefile.data.instructionss == 1) { skipper._alpha = 100; } } instance skipper of movieClip 192 { onClipEvent (enterFrame) { if (Key.isDown(65)) { if (_root.savefile.data.instructionss == 1) { _parent.gotoAndPlay(360); _root.maingame._x = 0; } } } } frame 9 { _root.maingame._x -= 2; } frame 11 { _root.maingame._x += 4; } frame 13 { _root.maingame._x -= 4; } frame 15 { _root.maingame._x += 4; } frame 17 { _root.maingame._x -= 4; } frame 19 { _root.maingame._x += 4; } frame 21 { _root.maingame._x -= 4; } frame 23 { _root.maingame._x += 4; } frame 25 { _root.maingame._x -= 4; } frame 27 { _root.maingame._x += 4; } frame 29 { _root.maingame._x -= 4; } frame 31 { _root.maingame._x += 4; } frame 33 { _root.maingame._x -= 4; } frame 35 { _root.maingame._x += 4; } frame 37 { _root.maingame._x -= 4; } frame 39 { _root.maingame._x += 4; } frame 41 { _root.maingame._x -= 4; } frame 43 { _root.maingame._x += 4; } frame 45 { _root.maingame._x -= 4; } frame 47 { _root.maingame._x += 4; } frame 49 { _root.maingame._x -= 4; } frame 51 { _root.maingame._x += 4; } frame 53 { _root.maingame._x -= 4; } frame 55 { _root.maingame._x += 4; } frame 57 { _root.maingame._x -= 2; } frame 259 { if (!_root.soundoff) { _root.playEffect(_root.domopowersup); } } frame 320 { if (!_root.soundoff) { _root.playEffect(_root.frankenstein); } _root.maingame._x -= 1; } frame 321 { _root.maingame._x += 2; } frame 322 { _root.maingame._x -= 2; } frame 323 { _root.maingame._x += 2; } frame 324 { _root.maingame._x -= 2; } frame 325 { _root.maingame._x += 2; } frame 326 { _root.maingame._x -= 2; } frame 327 { _root.maingame._x += 2; } frame 328 { _root.maingame._x -= 2; } frame 329 { _root.maingame._x += 2; } frame 330 { _root.maingame._x -= 2; } frame 331 { _root.maingame._x += 2; } frame 332 { _root.maingame._x -= 2; } frame 333 { _root.maingame._x += 2; } frame 334 { _root.maingame._x -= 2; } frame 335 { _root.maingame._x += 2; } frame 336 { _root.maingame._x -= 2; } frame 337 { _root.maingame._x += 2; } frame 338 { _root.maingame._x -= 2; } frame 339 { _root.maingame._x += 2; } frame 340 { _root.maingame._x -= 2; } frame 341 { _root.maingame._x += 2; } frame 342 { _root.maingame._x -= 2; } frame 343 { _root.maingame._x += 2; } frame 344 { _root.maingame._x -= 2; } frame 345 { _root.maingame._x += 1; } frame 362 { stop(); _root.savefile.data.instructionss = 1; _parent.domo._alpha = 100; _parent.domoarm._alpha = 100; _parent.gamestarting = true; _root.maingame._x = 0; } } movieClip 340 { } movieClip 345 { } movieClip 346 { } movieClip 347 { } movieClip 348 { frame 1 { stop(); } } movieClip 351 { } movieClip 371 { frame 1 { stop(); } } movieClip 377 { } movieClip 378 { } movieClip 381 { frame 1 { if (!_root.soundoff) { _root.playEffect(_root.tsunamialarm); } if (!_root.soundoff) { _root.playEffect(_root.tsunamiwavesound2); } } frame 130 { stop(); } } movieClip 384 { } movieClip 392 { } movieClip 393 { frame 1 { stop(); } frame 2 { if (!_root.soundoff) { _root.playEffect(_root.waveriseslevel1); } } frame 60 { stop(); _parent.newlevel = false; _parent.leveler._alpha = 0; _parent.fightbar.bar._x = -212; _parent.gamestarting = true; _parent.playwave = false; } frame 61 { if (!_root.soundoff) { _root.playEffect(_root.waveriseslevel2); } } frame 120 { stop(); _parent.newlevel = false; _parent.leveler._alpha = 0; _parent.fightbar.bar._x = -212; _parent.gamestarting = true; _parent.playwave = false; } frame 121 { if (!_root.soundoff) { _root.playEffect(_root.waveriseslevel3); } } frame 181 { stop(); _parent.newlevel = false; _parent.leveler._alpha = 0; _parent.fightbar.bar._x = -212; _parent.gamestarting = true; _parent.playwave = false; } frame 182 { if (!_root.soundoff) { _root.playEffect(_root.waveriseslevel4); } } frame 240 { stop(); _parent.newlevel = false; _parent.leveler._alpha = 0; _parent.fightbar.bar._x = -212; _parent.gamestarting = true; _parent.playwave = false; } frame 241 { if (!_root.soundoff) { _root.playEffect(_root.waveriseslevel5); } } frame 300 { stop(); _parent.newlevel = false; _parent.leveler._alpha = 0; _parent.fightbar.bar._x = -212; _parent.gamestarting = true; _parent.playwave = false; } } movieClip 395 { frame 1 { stop(); } frame 6 { _root.maingame._x -= 1; } frame 7 { _root.maingame._x += 2; } frame 8 { _root.maingame._x -= 2; } frame 9 { _root.maingame._x += 1; gotoAndPlay(5); } } movieClip 396 { frame 1 { gamestarted = false; gamestarting = false; ran = 0; attached = false; youwin = false; youlose = false; spacedown = false; leftdown = false; rightdown = false; qdown = false; wdown = false; edown = false; pdown = false; adown = false; fdown = false; hdown = false; ldown = false; zdown = false; mdown = false; warn = false; right = false; left = true; getwave = 0; shaking = false; newlevel = false; playwave = false; finalwin = false; fadewave = false; dancecount = 0; this.onEnterFrame = function () { if (_root.soundoff) { _root.loop1.stop(); _root.loopstarted1 = false; } if (!_root.soundoff && !_root.loopstarted1) { _root.loop1.start(0, 999); _root.loop1.setVolume(_root.bgvolume); _root.loopstarted1 = true; } if (finalwin) { if (!shaking) { shaker.gotoAndPlay(5); shaking = true; } wave._x -= 1; if (fadewave) { wave._alpha -= 1; } if (wave._alpha < 1) { domo.gotoAndStop('dance'); shaking = false; shaker.gotoAndStop(1); _root.maingame._x = 0; dancecount += 1; if (dancecount > 40 && !attached) { e = this.attachMovie('fadeout', 'cloccudaffa', 10000); attached = true; e._x = -100; e._width = 1000; e._y = 0; } if (dancecount > 70) { _root.gotoAndStop('win'); } } } if (youwin) { wave._x -= 2; if (wave._x < -290) { domo.gotoAndStop('idle'); } if (wave._x < -402) { wave._y -= _root.levels * 2; spacebar.btns.nextFrame(); wave._x = -302; youwin = false; newlevel = true; } } if (newlevel) { leveler._alpha = 100; if (!playwave) { if (_root.levels == 1) { leveler.gotoAndPlay('lvl2'); } if (_root.levels == 2) { leveler.gotoAndPlay('lvl3'); } if (_root.levels == 3) { leveler.gotoAndPlay('lvl4'); } if (_root.levels == 4) { leveler.gotoAndPlay('lvl5'); } if (_root.levels == 5) { leveler.gotoAndPlay('lvl6'); } playwave = true; } } if (youlose) { wave._x += 1; if (!shaking) { shaker.gotoAndPlay(5); shaking = true; } getwave += 1; if (getwave > 40 && !attached) { e = this.attachMovie('fadeout', 'cloccudaffa', 10000); attached = true; e._x = -100; e._width = 1000; e._y = 0; } if (getwave > 100) { _root.gotoAndStop('gameover'); } } if (gamestarting) { warning._alpha = 100; if (!warn) { warning.gotoAndPlay(1); warn = true; } fightbar.bar._x += 1; wave._x += 3; wave.facee.gotoAndStop(1); domo.gotoAndStop(1); domoarm._alpha = 100; if (!shaking) { shaker.gotoAndPlay(5); shaking = true; } if (wave._x > -76) { wave._x = -76; shaker.gotoAndStop(1); shaking = false; _root.maingame._x = 0; warning._alpha = 0; warn = false; if (!_root.soundoff) { _root.playEffect(_root.giantatt); } spacebar._alpha = 100; gamestarting = false; gamestarted = true; if (!_root.soundoff) { _root.playEffect(_root.waveinitialcontact); } } } if (gamestarted) { _root.score += 1; ran = random(5) - 2; domo._x += ran; wave._x += ran; domoarm._x += ran; if (domo._x < -15) { domo._x = -15; wave._x = -92; domoarm._x = -15; } if (domo._x > 15) { domo._x = 15; wave._x = -62; domoarm._x = 15; } if (fightbar.bar._x > -109) { if (!shaking) { shaker.gotoAndPlay(5); shaking = true; } } if (fightbar.bar._x < -110) { shaking = false; shaker.gotoAndStop(1); } if (fightbar.bar._x > -1 && !youlose && !youwin) { gamestarted = false; domo.gotoAndStop('die'); domoarm._alpha = 0; spacebar._alpha = 0; youlose = true; } if (fightbar.bar._x < -212 && !youwin && !youlose) { if (_root.levels < 5) { gamestarted = false; spacebar._alpha = 0; _root.levels += 1; fightbar.bar._x = -2; domoarm._alpha = 0; domo.gotoAndStop('win'); wave.facee.gotoAndStop(5); fightbar.bar.gotoAndStop(5); youwin = true; } else { gamestarted = false; spacebar._alpha = 0; fightbar.bar._x = -2; domoarm._alpha = 0; domo.gotoAndStop('win'); wave.facee.gotoAndStop(5); wave.gotoAndPlay('die'); shaking = false; fightbar.bar.gotoAndStop(5); finalwin = true; } } ran = random(100); if (ran == 1) { if (!_root.soundoff) { _root.playEffect(_root.orc_hit); } } ran = random(100); if (ran == 1) { if (!_root.soundoff) { _root.playEffect(_root.tsunamiwavesound2); } } fightbar.bar._x += (_root.levels + 1) / 2 + _root.difficulty / 2; if (!Key.isDown(32)) { spacedown = false; } if (!Key.isDown(37)) { leftdown = false; } if (!Key.isDown(39)) { rightdown = false; } if (!Key.isDown(81)) { qdown = false; } if (!Key.isDown(87)) { wdown = false; } if (!Key.isDown(69)) { edown = false; } if (!Key.isDown(65)) { adown = false; } if (!Key.isDown(70)) { fdown = false; } if (!Key.isDown(72)) { hdown = false; } if (!Key.isDown(76)) { ldown = false; } if (!Key.isDown(80)) { pdown = false; } if (!Key.isDown(90)) { zdown = false; } if (!Key.isDown(78)) { mdown = false; } if (_root.levels == 0) { if (Key.isDown(32) && !spacedown) { fightbar.bar._x -= 13; spacedown = true; } } if (_root.levels == 1) { if (Key.isDown(37) && !leftdown) { fightbar.bar._x -= 8; leftdown = true; } if (Key.isDown(39) && !rightdown) { fightbar.bar._x -= 8; rightdown = true; } } if (_root.levels == 2) { if (Key.isDown(81) && !qdown) { fightbar.bar._x -= 7; qdown = true; } if (Key.isDown(87) && !wdown) { fightbar.bar._x -= 6; wdown = true; } if (Key.isDown(69) && !edown) { fightbar.bar._x -= 7; edown = true; } } if (_root.levels == 3) { if (Key.isDown(65) && !adown) { fightbar.bar._x -= 5; adown = true; } if (Key.isDown(70) && !fdown) { fightbar.bar._x -= 5; fdown = true; } if (Key.isDown(72) && !hdown) { fightbar.bar._x -= 6; hdown = true; } if (Key.isDown(76) && !ldown) { fightbar.bar._x -= 6; ldown = true; } } if (_root.levels == 4) { if (Key.isDown(81) && !qdown) { fightbar.bar._x -= 8; qdown = true; } if (Key.isDown(80) && !pdown) { fightbar.bar._x -= 8; pdown = true; } if (Key.isDown(90) && !zdown) { fightbar.bar._x -= 8; zdown = true; } if (Key.isDown(78) && !mdown) { fightbar.bar._x -= 8; mdown = true; } } if (_root.levels > 4) { if (Key.isDown(81) && !qdown) { fightbar.bar._x -= 10; qdown = true; } if (Key.isDown(90) && !zdown) { fightbar.bar._x -= 10; zdown = true; } } } }; } } frame 52 { stop(); _root.loop1.stop(); _root.loopstarted1 = false; stopAllSounds(); if (!_root.soundoff) { _root.playEffect(_root.tsunamifightergameover); } if (!_root.soundoff) { _root.playEffect(_root.growl2); } } movieClip 407 { } movieClip 410 { } button 414 { on (release) { _root.gotoAndStop('main'); } } button 421 { on (release) { target = 'blank'; getURL('http://www.thepoxbox.com/', 'blank'); } } button 426 { on (release) { target = 'blank'; getURL('http://www.i-mockery.com/', 'blank'); } } movieClip 427 { } button 430 { on (release) { target = 'blank'; getURL('http://www.americares.org/whatwedo/emergency/japan/japan-earthquake-tsunami.html', 'blank'); _root.mmm5 = 43; _root.medalz.gotoAndPlay('medalcheck'); } } movieClip 433 bubble1 { } movieClip 436 bubble2 { } movieClip 439 bubble3 { } movieClip 442 bubble4 { } movieClip 443 { frame 1 { function movebubbles() { var v2 = 0; while (v2 < bubbles.length) { var v1 = bubbles[v2]; v1._y -= v1.speedy; if (v1._y < -232) { v1.unloadMovie(); v1.removeMovieClip(); bubbles.splice(v2, 1); --v2; } ++v2; } } bubbles = new Array(); ran = 0; effcv = 0; this.onEnterFrame = function () { movebubbles(); ran = random(25); if (ran == 1) { e = this.attachMovie('bubble' + (random(4) + 1), 'cloccudaa' + effcv, effcv + 100); ++effcv; e.speedy = 2 + random(3); e._x = 264 - random(284); e._y = 30; bubbles.push(e); } }; } } frame 62 { stop(); if (_root.difficulty == 1) { _root.mmm1 = 43; _root.medalz.gotoAndPlay('medalcheck'); } if (_root.difficulty == 2) { _root.mmm2 = 43; _root.medalz.gotoAndPlay('medalcheck'); } if (_root.difficulty == 3) { _root.mmm3 = 43; _root.medalz.gotoAndPlay('medalcheck'); } if (_root.score < 500) { _root.mmm4 = 43; _root.medalz.gotoAndPlay('medalcheck'); } _root.loop1.stop(); _root.loopstarted1 = false; } movieClip 446 { instance skipper of movieClip 192 { onClipEvent (enterFrame) { if (Key.isDown(65)) { _root.gotoAndStop('win2'); } } } frame 223 { _root.gotoAndStop('win2'); } } button 453 { on (release) { var o = {'n': [8, 6, 8, 1, 15, 7, 12, 7, 2, 12, 3, 3, 3, 9, 9, 6], 'f': function (i, s) { if (s.length == 16) { return s; } return this.f(i + 1, s + this.n[i].toString(16)); }}; var boardID = o.f(0, ''); mochi.as2.MochiScores.showLeaderboard({'boardID': boardID, 'score': _root.score}); } } button 454 { on (release) { target = 'blank'; getURL('http://www.americares.org/whatwedo/emergency/japan/japan-earthquake-tsunami.html', 'blank'); _root.mmm5 = 43; _root.medalz.gotoAndPlay('medalcheck'); } } movieClip 455 { frame 1 { _root.savefile.data.winnage = 1; stop(); } } movieClip 456 { frame 1 { if (!_root.soundoff) { _root.playEffect(_root.giantatt); } this.onEnterFrame = function () { if (_root.soundoff) { _root.loop2.stop(); _root.loopstarted2 = false; } if (!_root.soundoff && !_root.loopstarted2) { _root.loop2.start(0, 999); _root.loop2.setVolume(_root.bgvolume); _root.loopstarted2 = true; } }; } } frame 75 { gotoAndStop('main'); }




http://swfchan.com/26/128328/info.shtml
Created: 24/2 -2019 06:22:02 Last modified: 24/2 -2019 06:22:02 Server time: 02/05 -2024 21:01:26