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

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

ben-spurgins-pee-man.swf

This is the info page for
Flash #110924

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


ActionScript [AS1/AS2]
Combined Code
movieClip 11 explosion1 { frame 18 { this.removeMovieClip(); stop(); } } movieClip 13 laser_spark { frame 1 { _rotation = random(360); scale = random(50) + 50; _xscale = scale; _yscale = scale; _alpha = random(20) + 81; onEnterFrame = function () { _alpha = _alpha - 5; _xscale = _xscale - 1; _yscale = _yscale - 1; if (_alpha < 6) { _parent.gotoAndStop('blank'); } }; } } movieClip 19 turd_blast { frame 1 { gotoAndStop(random(_totalframes) + 1); } } movieClip 21 { } movieClip 23 { frame 1 { onEnterFrame = function () { _rotation = _rotation + 11; }; } } movieClip 24 { frame 1 { onEnterFrame = function () { _rotation = _rotation - 11; }; } } movieClip 25 { } movieClip 35 { frame 1 { _yscale = _yscale * -1; } } movieClip 36 { } movieClip 40 { frame 1 { gotoAndStop(random(_totalframes) + 1); } } movieClip 42 { } movieClip 44 { } movieClip 46 { } movieClip 48 { } movieClip 50 { } movieClip 52 { } movieClip 54 { } movieClip 55 poo_particals { frame 1 { gotoAndStop(random(_totalframes) + 1); poo._x += random(13) - 6; poo._y += random(13) - 6; poo._xscale += random(50) - 40; poo._yscale += random(50) - 40; if (random(100) < 50) { _xscale = _xscale * -1; } _rotation = random(360); spin = random(24) - 12; yspeed = -40 + random(30); weight = random(3) + 2; if (xspeed === undefined) { xspeed = random(30) - 15; } onEnterFrame = function () { _rotation = _rotation + spin; _y = _y + yspeed; _x = _x + xspeed; yspeed += weight; if (_y > 1800) { this.removeMovieClip(); } }; } } movieClip 56 { frame 8 { stop(); } } movieClip 63 { frame 1 { gotoAndStop(random(_totalframes) + 1); poo._x += random(13) - 6; poo._y += random(13) - 6; poo._xscale += random(50) - 40; poo._yscale += random(50) - 40; if (random(100) < 50) { _xscale = _xscale * -1; } _rotation = random(360); spin = random(24) - 12; yspeed = -40 + random(30); weight = random(3) + 2; if (xspeed === undefined) { xspeed = random(30) - 15; } onEnterFrame = function () { _rotation = _rotation + spin; _y = _y + yspeed; _x = _x + xspeed; yspeed += weight; if (_y > 1800) { this.removeMovieClip(); } }; } } movieClip 65 fx { frame 1 { stop(); } instance of movieClip 21 { onClipEvent (enterFrame) { _root.f_PeeDrop(_parent); } } instance of movieClip 21 { onClipEvent (enterFrame) { _root.f_Bullet(_parent); _root.f_Sparkle(_parent); } } instance of movieClip 21 { onClipEvent (enterFrame) { _root.f_Bullet(_parent); } } instance of movieClip 21 { onClipEvent (enterFrame) { _root.f_Poop(_parent); } } } movieClip 74 { } movieClip 75 { instance of movieClip 74 { onClipEvent (load) { gotoAndPlay(random(_totalframes) + 1); } } instance of movieClip 74 { onClipEvent (load) { gotoAndPlay(random(_totalframes) + 1); } } instance of movieClip 74 { onClipEvent (load) { gotoAndPlay(random(_totalframes) + 1); } } } movieClip 77 { } movieClip 78 missile { frame 1 { speed = 30; onEnterFrame = function () { if (beta !== undefined) { _root.f_Missile(this, speed, beta); } }; } } button 84 { on (release) { com.newgrounds.API.loadNewgrounds(); } } movieClip 90 { frame 1 { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { Unknown action: 0xfc function () {  = (865 % 511) * true; if (!'') { } else {} return ; } var  = -67 + (); for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) {  += 374;  -= 28; var eval( != 287) = true;  -= 514;  += 348;  += 608;  -= 521;  -= 268;  -= 160;  -= 678;  += 737;  += 747;  -= 291;  += 270;  += 302;  -= 204;  -= 753;  += 398;  -= 819;  -= 748; } } } } } } } } } } } } } } } } } } } } } } } } } } ''; 1; !''; eval(true); } } movieClip 91 { frame 11 { gotoAndPlay(1); } } movieClip 92 Flash Ad (NewgroundsAPI) { #initclip Object.registerClass('Flash Ad (NewgroundsAPI)', com.newgrounds.components.FlashAd); #endinitclip } movieClip 120 { 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 122 { frame 10 { stop(); } } movieClip 124 { frame 37 { _parent.setGotoFrame('done'); stop(); } } movieClip 126 { } movieClip 128 NewgroundsAPIAsset_Medal_Icon_Placeholder { } movieClip 135 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 141 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 144 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 146 { } movieClip 148 { } movieClip 150 { } movieClip 152 { } movieClip 154 { } movieClip 156 { } movieClip 158 { } movieClip 160 { } movieClip 162 { } movieClip 164 { } movieClip 165 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 169 { 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 175 { on (release) { getURL(official_version_url, '_blank'); } } movieClip 177 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 178 { on (release) { getURL(official_version_url, '_blank'); } } movieClip 182 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 183 API Connector (NewgroundsAPI) { #initclip Object.registerClass('API Connector (NewgroundsAPI)', com.newgrounds.components.APIConnector); #endinitclip frame 20 { _visible = false; } } frame 1 { play(); } frame 1 { stop(); } movieClip 190 { } movieClip 191 { } movieClip 202 { frame 19 { gotoAndPlay('loop'); } } movieClip 206 { } movieClip 211 { } movieClip 212 { } movieClip 217 { } movieClip 227 { } movieClip 237 { frame 13 { gotoAndPlay('loop'); } } button 241 { on (release) { _parent.play(); } } movieClip 243 { frame 1 { onEnterFrame = function () { var v1 = com.newgrounds.API.getPercentLoaded(); if (v1 < 100) { gotoAndStop(v1); } else { if (_currentframe < 100) { gotoAndPlay(100); } } }; } frame 130 { stop(); } } instance of movieClip 243 { onClipEvent (enterFrame) { } } movieClip 245 { } movieClip 248 { } instance of movieClip 183 API Connector (NewgroundsAPI) { onClipEvent (construct) { api_id = '15171:QoWtMnzq'; encryption_key = '68YpLK4dHUwd4uVtJIHsDvBfGnWG75Ne'; version = ''; fake_session = false; debug = false; error_screens = true; medal_popups = true; } } button 251 { on (release) { com.newgrounds.API.loadCustomLink('PsychoGoldfish'); } } button 252 { on (release) { com.newgrounds.API.loadCustomLink('TomFulp'); } } button 253 { on (release) { com.newgrounds.API.loadCustomLink('Ben-Spurgin'); } } movieClip 94 __Packages.com.newgrounds.API { #initclip for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { Unknown action: 0xfc function () {  = (1221 % 511) * true; if (!'') { } else {} return ; } var  = -124 + (); for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) {  -= 2;  += 873;  -= 166;  -= 198;  -= 23;  -= 2;  += 506;  -= 165;  -= 39;  -= 518;  -= 616;  += 404;  += 30;  -= 168;  -= 233;  += 6;  -= 571;  -= 371;  -= 24;  += 400;  -= 310; var eval(!eval(true)) = true;  += 137;  -= 108;  -= 171; } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } }  != 75; true; ''; ''; 1; #endinitclip } movieClip 95 __Packages.com.newgrounds.Bridge { #initclip for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { 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 (;;) {  -= 70;  += 224;  -= 487;  += 618;  -= 490; var  = 1;  -= 518;  -= 35;  -= 154;  += 366;  += 383;  += 300;  -= 287;  -= 102;  += 627;  += 192;  += 35;  -= 220;  -= 100;  -= 78; } } } } } } } } } } } } } } } } } } } } } } } } } }  != 379; true; true; !; #endinitclip } movieClip 96 __Packages.com.newgrounds.SaveFile { #initclip for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { 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 (;;) {  += 289;  += 502;  += 446;  -= 253;  -= 546;  -= 85;  += 39;  += 170;  += 307;  += 725;  -= 268;  -= 476;  += 392;  -= 457;  += 99;  += 384;  += 491;  += 155;  -= 669;  -= 191;  -= 135;  -= 188;  -= 550;  += 561;  += 83;  += 781;  -= 44; var eval(true) = true;  += 453;  -= 581; } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } }  != 139; true; !eval(true); ''; ''; 1; #endinitclip } movieClip 97 __Packages.com.newgrounds.SaveGroup { #initclip for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { 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 (;;) {  += 408;  -= 333;  += 281;  -= 224;  += 36;  += 148;  -= 150;  += 281;  += 299;  -= 293;  -= 282;  -= 262;  += 690;  += 266;  += 205;  -= 883;  += 5;  += 192;  -= 741;  -= 301;  += 473;  -= 823; var  = true;  -= 327;  += 240;  += 492;  -= 250;  += 878;  -= 18;  -= 125; } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } }  != 33; true; true; true; ''; eval(!1); #endinitclip } movieClip 100 __Packages.com.newgrounds.SaveGroupQuery { #initclip for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { 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 (;;) {  += 204;  -= 34;  -= 762;  += 171;  -= 90;  -= 70;  -= 309;  += 788;  += 231;  += 121;  += 346;  -= 252;  -= 512;  += 490;  += 17;  -= 345; var eval(eval(true)) = '';  -= 552;  += 53;  -= 370; } } } } } } } } } } } } } } } } } } } } } } } } } }  != 583; true; ''; !1; #endinitclip } movieClip 102 __Packages.com.newgrounds.encoders.ImageScanner { #initclip for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { 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 (;;) {  -= 455;  += 296;  -= 41;  -= 568;  -= 61;  += 883; var eval( != 870) = true;  += 688; // An attempt to read a value from empty stack  -= 151;  -= 114;  += 143;  -= 732;  += 82;  -= 50;  -= 647; } } } } } } } } } } } } } } } } } } } !eval(undefined); ''; ''; 1; #endinitclip } movieClip 101 __Packages.com.newgrounds.encoders.BaseN { #initclip for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { 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 (;;) {  += 403;  += 52;  += 325;  += 833;  += 527;  += 269; var  = eval(1);  -= 765;  += 470;  += 332;  += 41;  += 149;  -= 537;  -= 676;  += 577;  += 112;  -= 273;  -= 581;  -= 634;  -= 497; } } } } } } } } } } } } } } } } } } } } } } } } } }  != 562; !true; ''; true; #endinitclip } movieClip 111 __Packages.com.newgrounds.APIEventDispatcher { #initclip for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { 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 (;;) {  += 240;  += 101;  += 17;  += 436;  += 433;  += 89;  -= 505;  -= 62;  -= 158;  -= 288;  -= 530;  -= 515;  -= 668;  += 630; var  = eval(1);  += 168;  += 125;  += 295;  += 7;  -= 31; } } } } } } } } } } } } } } } } } } } } } } } } } }  != 324; true; !''; true; #endinitclip } movieClip 99 __Packages.com.newgrounds.APIEvent { #initclip for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { Unknown action: 0xfc function () {  = (1375 % 511) * true; if (!'') { } else {} return ; } var  = 491 + (); for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) {  -= 510;  += 788;  += 790;  -= 302;  -= 28;  += 369;  += 599;  -= 112;  -= 824;  -= 155;  -= 596;  += 34;  -= 185;  -= 49;  += 313;  -= 105;  -= 658;  -= 134;  -= 99;  += 280; var eval(eval(!true)) = true;  -= 230;  += 43;  -= 625;  -= 688; } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } }  != 844; true; ''; ''; 1; #endinitclip } movieClip 93 __Packages.com.newgrounds.APIError { #initclip for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { 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 (;;) {  += 48;  += 492;  -= 713;  -= 296;  += 614;  -= 866;  += 525;  += 405;  -= 100;  -= 521;  -= 607;  += 329;  += 556;  -= 109;  += 562;  -= 716;  += 939;  += 443;  += 98;  -= 182;  -= 136;  += 153; var eval(eval(true)) = '';  -= 654;  -= 976; } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } }  != 501; !true; ''; 1; true; #endinitclip } movieClip 79 __Packages.com.newgrounds.components.FlashAd { #initclip for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { Unknown action: 0xfc function () {  = (2350 % 511) * true; if (!'') { } else {} return ; } var  = -239 + (); for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) {  += 206;  -= 70;  -= 332;  += 663;  -= 489;  -= 675;  += 342;  += 529;  += 440;  += 66;  += 151;  -= 490;  += 468;  -= 946; var eval(!1) = ''; } } } } } } } } } } } } } } } } } } }  != 67; eval(true); ''; #endinitclip } movieClip 98 __Packages.com.newgrounds.ValidationTools { #initclip for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { 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 (;;) {  += 407;  += 333;  -= 518;  += 302;  += 2;  += 455;  += 175;  -= 336;  += 420;  -= 921;  -= 22;  -= 800;  += 326;  += 298;  -= 362;  -= 244;  += 221; var  = !1;  -= 220;  += 347; } } } } } } } } } } } } } } } } } } } } } } } } } }  != 570; true; true; ; #endinitclip } movieClip 103 __Packages.com.newgrounds.encoders.SerialXML { #initclip for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { 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 (;;) {  += 423;  -= 578;  -= 583;  += 259;  += 10;  += 400;  += 729;  -= 272;  += 664;  -= 434;  += 39;  -= 390;  -= 88;  -= 115;  += 419;  += 145;  -= 169; var eval(1) = !true;  -= 61;  += 265;  -= 20;  -= 54;  += 85;  += 29;  -= 229;  += 164;  += 242;  += 91;  -= 262;  -= 914; } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } }  != 266; eval(true); ''; true; true; ''; #endinitclip } movieClip 104 __Packages.com.newgrounds.encoders.LZW2 { #initclip for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { 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 (;;) {  += 628;  -= 425;  -= 203;  -= 88;  -= 233;  += 297;  -= 322;  += 11;  -= 542;  -= 744;  -= 108;  += 412;  -= 786;  += 443;  -= 491;  += 460;  -= 389;  += 581;  -= 448; var  = 1;  += 298;  -= 15;  += 323;  += 481;  -= 724; } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } }  != 228; true; !true; eval(true); ''; #endinitclip } movieClip 105 __Packages.com.newgrounds.encoders.LZW { #initclip for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { 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 (;;) {  -= 521;  -= 183;  -= 96;  -= 30;  += 239;  -= 52;  += 165;  -= 601;  -= 666;  += 343;  -= 139; var eval(true) = '';  -= 589;  += 775;  += 21;  += 23;  -= 385;  += 201;  += 712;  -= 832;  += 2;  += 42;  -= 578;  -= 221;  += 463; } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } }  != 687; true; true; ''; !eval(1); #endinitclip } movieClip 106 __Packages.com.newgrounds.Medal { #initclip for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { 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 (;;) {  += 73;  += 134;  -= 431;  -= 475;  -= 141;  -= 165;  += 159;  += 145;  -= 325;  -= 291; var eval(true) = '';  += 488;  += 152;  += 261;  -= 379;  -= 775;  += 952;  += 23;  -= 285;  -= 295;  -= 377;  -= 312;  += 686;  += 237;  += 495; } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } }  != 522; true; eval(true); ''; !1; #endinitclip } movieClip 107 __Packages.com.newgrounds.ScoreBoard { #initclip for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { 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 (;;) {  -= 13;  -= 92;  -= 190;  -= 291;  -= 482;  += 73;  -= 318;  += 610;  += 45;  -= 228;  -= 133;  -= 487;  -= 318;  -= 80;  -= 134;  += 367;  += 135;  += 554; var eval(true) = !true;  += 474;  += 137;  -= 75;  -= 538;  -= 510;  -= 26;  += 834;  += 189;  -= 688;  += 615;  -= 622; } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } }  != 149; true; ''; 1; ''; eval(true); #endinitclip } movieClip 108 __Packages.com.newgrounds.Score { #initclip for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { 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 (;;) {  -= 276;  -= 668;  += 197;  += 63;  += 104;  += 303;  += 278;  += 425;  -= 569;  += 564;  -= 231;  += 337;  -= 664;  -= 590;  -= 671;  -= 570; var eval( != 688) = !true;  -= 72;  += 388;  -= 45;  += 196;  -= 376;  += 391;  -= 845;  += 9; } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } true; ''; 1; true; ; #endinitclip } movieClip 109 __Packages.com.newgrounds.encoders.RC4 { #initclip for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { 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 (;;) {  += 438;  -= 417;  += 722;  += 847;  += 97;  += 39;  += 22;  += 428; var eval(!true) = '';  += 303;  += 807;  -= 62;  -= 542;  -= 291;  -= 806;  -= 541;  += 254;  -= 361;  -= 404;  += 282;  += 327;  -= 28;  += 441;  += 764;  += 207;  -= 746;  -= 478;  -= 142;  -= 351;  -= 326; } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } }  != 333; eval(true); true; true; ''; 1; #endinitclip } movieClip 110 __Packages.com.newgrounds.encoders.JSON { #initclip for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { 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 (;;) {  -= 391;  += 143;  -= 505;  += 112;  += 627;  += 233;  -= 198;  -= 587;  -= 212;  -= 179;  -= 195;  -= 765;  -= 340;  -= 40; var eval(true) = '';  += 447;  -= 157;  -= 25;  += 575;  += 272;  += 112;  += 138;  += 11;  += 400;  -= 434; } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } }  != 410; eval(!true); true; ''; 1; #endinitclip } movieClip 112 __Packages.com.newgrounds.encoders.MD5 { #initclip for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { 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 (;;) {  -= 281;  -= 77;  -= 462;  -= 340;  -= 261;  += 234;  += 177;  += 132;  -= 632;  -= 918;  -= 48;  += 340;  += 574;  += 74;  += 175; var eval(1) = true;  += 713;  += 481;  += 341;  -= 709; } } } } } } } } } } } } } } } } } } } } } } } } } }  != 959; eval(true); ''; !''; #endinitclip } movieClip 113 __Packages.com.newgrounds.components.APIConnector { #initclip for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { 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 (;;) {  += 233;  -= 3;  += 360;  -= 110;  -= 470;  += 197;  += 218;  += 141;  -= 340;  += 810;  -= 14; var  = !true;  += 40;  -= 374;  -= 617;  -= 352;  -= 158;  += 247;  -= 2;  -= 68;  += 468;  += 478;  -= 117;  += 115;  += 317;  += 110;  += 69;  += 291;  -= 50;  -= 507; } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } }  != 57; eval(true); true; true; ''; 1; #endinitclip } frame 2 { function f_PeeManDefaults(z) { z.speed = 24; z.diag_speed = 18; } function f_Endit() { if (peeman.health == 100) { perfectgame = true; } f_Medal('Phase IV'); cinema_timer = 30; cinema_in = false; z.cinema_speed_y = 1; z.cinema_speed_x = 3; } function f_Medal(medal) { com.newgrounds.API.unlockMedal(medal, screenwidth - 250, 10); } function f_PeeMan(z) { if (z.health <= 0) { if (!z.gameover) { z.gotoAndStop('hurt'); z.body._rotation += 45; if (!z.die_y) { z.die_y = 1; } z._y += z.die_y; ++z.die_y; if (z._y + game._y > screenheight + 100) { z.gameover = true; fader.destin = 'gameover'; fader.gotoAndPlay('fadeout'); } } return undefined; } if (cinema_timer > 0) { --cinema_timer; if (cinema_in) { game._y -= 10; game._x -= 10; if (z.cinema_speed_y > 5) { z.gotoAndStop('forward down'); } else { z.gotoAndStop('idle'); } z._y += z.cinema_speed_y; z.cinema_speed_y -= 1.3; z._x += 10; } else { if (cinema_timer == 20) { fader.destin = 'ending'; fader.gotoAndPlay('fadeout'); } z._y -= z.cinema_speed_y; z.cinema_speed_y += 1; z._x += z.cinema_speed_x; z.cinema_speed_x += 1; game._y += z.cinema_speed_y * 0.5; z.gotoAndStop('forward up'); } return undefined; } xd = 0; yd = 0; vert = null; horiz = null; if (z.invincible_timer > 0) { --z.invincible_timer; } if (z.hit_timer > 0) { --z.hit_timer; z.gotoAndStop('hurt'); z.body._rotation += 45; z._x -= 8; if (Key.isDown(38)) { z._y -= 10; } else { if (Key.isDown(40)) { z._y += 10; } } return undefined; } if (Key.isDown(37)) { xd = -1; horiz = 'backward'; } else { if (Key.isDown(39)) { xd = 1; horiz = 'forward'; } } if (Key.isDown(38)) { yd = -1; vert = 'up'; } else { if (Key.isDown(40)) { yd = 1; vert = 'down'; } } if (vert && horiz) { frame = horiz + ' ' + vert; xs = z.diag_speed * xd; ys = z.diag_speed * yd; } else { if (vert) { ys = z.speed * yd; xs = 0; frame = vert; } else { if (horiz) { xs = z.speed * xd; ys = 0; frame = horiz; } else { xs = 0; ys = 0; frame = 'idle'; } } } z._x += xs; z._y += ys; if (z._x + game._x > screenwidth) { z._x = screenwidth - game._x; } else { if (z._x + game._x < 0) { z._x = -game._x; } } if (z._y + game._y > screenheight) { z._y = screenheight - game._y; } else { if (z._y + game._y < 0) { z._y = -game._y; } } f_Depth(peeman, peeman._y + 100); hitbox_left = 30; hitbox_right = 30; hitbox_top = 35; hitbox_bottom = 35; var v3 = game.b1.b.gotLemonade(z._x - hitbox_left, z._y - hitbox_top, hitbox_left + hitbox_right, hitbox_top + hitbox_bottom); if (v3) { currentpee += v3 * 2 + 5; if (currentpee > totalpee) { currentpee = totalpee; } f_UpdatePeeMeter(); } if ((Key.isDown(65) || Key.isDown(90) || Key.isDown(32)) and currentpee > 0) { frame = 'piss'; z.gotoAndStop(frame); if (!z.peeinit) { z.peeinit = true; z.body_x = z.body._x; z.body_y = z.body._y; } z.pow = int(10 * (currentpee / totalpee)) + 1; z.pee.gotoAndStop(z.pow); z._x += random(z.pow * 2) - z.pow; z._y += random(z.pow * 2) - z.pow; f_Piss(z); currentpee -= usepee; f_UpdatePeeMeter(); } else { z.gotoAndStop(frame); } var v2 = screenheight / 2 - peeman._y; game._y = default_y + v2 * 0.25; game.b1._y = building_y - v2 * 0.1; game.bg._y = bg_y - v2 * 0.15; if (slime_timer > 0) { --slime_timer; } } function f_Piss(z) { var v3; for (n in a_Enemies) { var v1 = a_Enemies[n]; if (Math.abs(z._y - (v1.c._y + v1._y)) < v1.c._height / 2) { if (v1._x > z._x) { if (v1._x < v3._x or !v3) { v3 = v1; } } } } if (v3) { var v5 = v3._x - z._x; z.pee._xscale = v5 / 10; z.pee._yscale = 100 + (100 - z.pee._xscale); --z.splatter; if (z.splatter <= 0) { if (z.pow < 4) { z.splatter = 2; } else { z.splatter = 1; } f_PeeSound(); f_MakePeeDrop(v3._x, z._y + 26, z.pow); } v3.speed_x += z.pow * 0.25; if (z.pow <= 1) { var v4 = 1; } else { var v4 = z.pow * 0.5; } v3.health -= v4; if (v3.health < 0) { v3.health = 0; } } else { z.splatter = 0; z.pee._xscale = 100; z.pee._yscale = 100; } } function f_Hit(damage) { if (peeman.invincible_timer <= 0) { peeman.health -= damage; if (peeman.health < 0) { peeman.health = 0; } peeman.hit_timer = 10; peeman.invincible_timer = 15; hudhealth.setHealth(peeman.health); } } function f_Poop(z) { z._x += z.speed_x; z._y += z.speed_y; z.body._rotation += z.speed_x; if (z._x + game._x < -100) { f_Pop(z, a_Enemies); z.gotoAndStop('blank'); } else { if (z._y + game._y > screenheight + 100) { f_Pop(z, a_Enemies); z.gotoAndStop('blank'); } else { if (z.speed_x > 0 and z._x > boss._x + 100 and bossmode == 1) { boss.health -= 2; if (boss.health < 0) { boss.health = 0; } f_Pop(z, a_Enemies); f_SlimeSound(); f_FartSound(); f_FX(z._x, z._y - 20, y, 'poopartical', 70, 70); f_FX(z._x, z._y + 20, y, 'poopartical', 70, 70); f_FX(z._x - 20, z._y, y, 'poopartical', 70, 70); f_FX(z._x + 20, z._y, y, 'poopartical', 70, 70); z.gotoAndStop('blank'); } else { if (Math.abs(z._x - peeman._x) < 40) { if (Math.abs(z._y - peeman._y) < 50) { f_Hit(10); f_Pop(z, a_Enemies); f_SlimeSound(); f_FartSound(); f_FX(z._x, z._y - 20, y, 'poopartical', 70, 70); f_FX(z._x, z._y + 20, y, 'poopartical', 70, 70); f_FX(z._x - 20, z._y, y, 'poopartical', 70, 70); f_FX(z._x + 20, z._y, y, 'poopartical', 70, 70); z.gotoAndStop('blank'); } } } } } z.speed_y += 0.3; f_Depth(z, z._y); } function f_Missile(z, speed, beta) { z._x += speed * beta.x; z._y += speed * beta.y; if (z._x + game._x < 0) { z.gotoAndStop('blank'); } else { if (Math.abs(z._x - peeman._x) < 50) { if (Math.abs(z._y - peeman._y) < 40) { f_Hit(10); f_FX(z._x, z._y, y + 10, 'explosion', 100, 100); z.removeMovieClip(); } } } } function f_Bullet(z) { z._x += z.speed_x; z._y += z.speed_y; if (z._x + game._x < -50) { z.gotoAndStop('blank'); } else { if (Math.abs(z._x - peeman._x) < 30) { if (Math.abs(z._y - peeman._y) < 50) { f_Hit(10); z.fp_hit(z._x, z._y); z.gotoAndStop('blank'); } } } } function f_PooBulletHit(x, y) { f_SlimeSound(); f_FX(x, y, y, 'poopartical2', 50, 50); } function f_ExplosionHit(x, y) { var v1 = 70 + random(30); f_FX(x, y, y, 'explosion', v1, v1); } function f_Bullet1Hit(x, y) { s_shoothit.start(0, 0); f_FX(x, y, y, 'flash', 100, 100); } function f_PooBarf(x, y) { var v1 = f_FX(x, y - random(100) + 50, game._y - 200, 'bullet2', 100, 100); v1.speed_x = -(25 + random(5)); v1.speed_y = random(2) - 1; v1.fp_hit = f_PooBulletHit; v1 = f_FX(x, y - random(100) + 50, game._y - 200, 'bullet2', 100, 100); v1.speed_x = -(25 + random(5)); v1.speed_y = random(2) - 1; v1.fp_hit = f_PooBulletHit; } function f_Fireball(x, y, rotation) { var v2 = 70 + random(30); var v1 = f_FX(x, y - random(60) + 30, game._y - 200, 'fireball', v2, v2); rotation += random(4) - 2; speed = 18 + random(4); v1.speed_x = speed * Math.cos(PI * rotation); v1.speed_y = speed * Math.sin(PI * rotation); v1.body._rotation = rotation; v1.fp_hit = f_ExplosionHit; } function f_Sparkle(z) { f_FX(z._x, z._y + random(60) - 30, z._y - 50, 'sparkle', 100, 100); } function f_MakePoop(x, y) { f_FartSound(); var v1 = f_FX(x, y, y, 'poop', 100, 100); v1.speed_x = -(9 + random(4)); v1.speed_y = -(4 + random(3)); f_Push(v1, a_Enemies); v1.gotoAndStop('on'); return v1; } function f_Push(z, a) { a.push(z); } function f_Pop(z, a) { for (n in a) { if (a[n] == z) { a.splice(n, 1); return undefined; } } } function f_PoopMonster(z) { if (z.health <= 0) { z.health_max = 600; z.health = z.health_max; arm.gotoAndStop('blank'); game.arm2.gotoAndStop('blank'); bossmode = 2; scroll_x += 2; z.timer = 10; f_Medal('Phase I'); z.gotoAndStop('robotform'); return undefined; } else { if (z.health < z.health_max * 0.1 and z.poops > 0) { f_FartSound(); z.removePoo(); --z.poops; } else { if (z.health < z.health_max * 0.2 and z.poops > 1) { f_FartSound(); z.removePoo(); --z.poops; } else { if (z.health < z.health_max * 0.3 and z.poops > 2) { f_FartSound(); z.removePoo(); --z.poops; } else { if (z.health < z.health_max * 0.4 and z.poops > 3) { f_FartSound(); z.removePoo(); --z.poops; } else { if (z.health < z.health_max * 0.5 and z.poops > 4) { f_FartSound(); z.removePoo(); --z.poops; } else { if (z.health < z.health_max * 0.6 and z.poops > 5) { f_FartSound(); z.c._x += 30; z.c._y += 100; z.hurt1.gotoAndStop('off'); z.hurt2._x += 100; z.removePoo(); --z.poops; } else { if (z.health < z.health_max * 0.75 and z.poops > 6) { f_FartSound(); z.removePoo(); --z.poops; } else { if (z.health < z.health_max * 0.9 and z.poops > 7) { f_FartSound(); z.removePoo(); --z.poops; } } } } } } } } } --z.timer; if (z.timer % 120 == 0 and z.timer != 0) { arm.gotoAndStop('throw'); } else { if (z.timer <= 0) { z.gotoAndStop('monsterroar'); z.timer = 460; } } } function f_Dinobot(z) { if (z.health <= 0) { z.health_max = 1000; z.health = z.health_max; z.down = true; z.timer = 300; bossmode = 3; scroll_x += 2; f_Medal('Phase II'); z.gotoAndStop('shipform'); return undefined; } --z.timer; if (z.timer == 100 || z.timer == 300 || z.timer == 380 || z.timer == 460) { z.arm.fire(); } else { if (z.timer == 220) { z.arm.reload(); } else { if (z.timer <= 0) { z.arm.reload(); z.gotoAndStop('roar'); z.timer = 700; } } } } function f_InitPod(z) { z.health_max = 300; z.health = z.health_max; countdown.gotoAndStop(2); } function f_Dinoship(z) { if (z.health <= 0) { z.timer = 10; z.shot_timer = 10; bossmode = 4; scroll_x += 2; z.escape_timer = 300; f_Medal('Phase III'); z.gotoAndStop('shipdie'); return undefined; } if (z.health < z.health_max * 0.1) { var v3 = 15; var v5 = 20; } else { if (z.health < z.health_max * 0.4) { var v3 = 10; var v5 = 30; } else { if (z.health < z.health_max * 0.7) { var v3 = 6; var v5 = 35; } else { var v3 = 3; var v5 = 40; } } } if (z.timer <= 0) { if (z.attack_timer <= 0) { if (z._y + game._y < 250) { z._y += 10; } else { z.timer = 300; } } else { if (z._y + game._y > -200) { z._y -= 10; } else { --z.attack_timer; if (z.shot_timer <= 0) { if (random(2) == 1) { var v4 = random(screenwidth - game._x); } else { var v4 = peeman._x; } var v2 = f_MakePoop(v4, -100 - game._y); v2.speed_x = 0; v2.speed_y = 10; z.shot_timer = 30; } else { --z.shot_timer; } } } } else { z.attack_timer = 300; --z.timer; if (z._x + game._x < screenwidth - 150) { z._x += 3; } if (z.down) { z._y += v3; if (z._y + game._y > screenheight - 50) { z.down = false; } } else { z._y -= v3; if (z._y + game._y < 50) { z.down = true; } } if (z.shot_timer <= 0) { z.shot_timer = v5; z.animation.gun.gotoAndPlay('fire'); var v2 = f_FX(z.bullet._x + z._x, z.bullet._y + z._y, z._y, 'bullet1', 100, 100); v2.speed_x = -10; v2.speed_y = 0; v2.fp_hit = f_Bullet1Hit; } else { --z.shot_timer; } } } function f_Dinopod(z) { if (z.health <= 0) { killedpod = true; countdown.gotoAndStop(1); f_Medal('Fried Fish'); z.gotoAndStop('poddie'); return undefined; } --z.escape_timer; if (z.escape_timer <= 0) { if (!z.escape_speed) { z.escape_speed = 1; z.animation.flame.gotoAndStop(2); } if (z._y + game._y > -500) { z._y -= z.escape_speed; z.escape_speed += 0.5; } else { z.gotoAndStop('theend'); } return undefined; } if (z.travel_timer > 0) { --z.travel_timer; z._x += z.speed_x; z._y += z.speed_y; } else { if (z.timer <= 0) { z.timer = 30; if (z.escape_timer <= 60) { z.timer = 61; z.goal_x = screenwidth / 2 - game._x; z.goal_y = screenheight / 2 - game._y; } else { z.goal_x = 200 + random(screenwidth - 300) - game._x; z.goal_y = 200 + random(screenheight - 300) - game._y; } var v4 = z.goal_x - z._x; var v3 = z.goal_y - z._y; var v2 = 15; s_dash.start(0, 0); z.speed_x = v4 / v2; z.speed_y = v3 / v2; z.travel_timer = v2; } else { --z.timer; } } } function f_HurtBox(z) { if (peeman.health > 0) { var v4 = z._x + z._parent._x; var v1 = z._y + z._parent._y; var v2 = z._height / 2; var v5 = z._width / 2; if (Math.abs(peeman._x - v4) < v5) { if (Math.abs(peeman._y - v1) < v2) { if (peeman._y < v1 - v2 + 30) { peeman._y = v1 - v2; } else { if (peeman._y > v1 + v2 - 30) { peeman._y = v1 + v2; } else { if (peeman._x > v4) { peeman._x = v4 + v5; } else { peeman._x = v4 - v5; } } } if (peeman.invincible_timer <= 0) { f_MetalSound(); } f_Hit(5); } } } } function f_CreateFX() { var v1 = 1; while (v1 <= total_fx) { var v3 = 'fx' + v1; var v2 = f_SetDepthMod(); game.attachMovie('fx', v3, v2); v3 = game['fx' + v1]; v3.depth_mod = v2; ++v1; } } function f_ClearFX() { var v1 = 1; while (v1 <= total_fx) { var v2 = game['fx' + v1]; v2.gotoAndStop('blank'); ++v1; } } function f_FX(fx_x, fx_y, fx_depth, fx_type, fx_xscale, fx_yscale) { var v1 = game['fx' + current_fx]; v1._x = fx_x; v1._y = fx_y; if (fx_xscale != undefined) { v1._xscale = fx_xscale; } else { v1._xscale = 100; } if (fx_yscale != undefined) { v1._yscale = fx_yscale; } else { v1._yscale = 100; } v1._rotation = 0; v1.gotoAndStop('blank'); v1.gotoAndStop(fx_type); f_Depth(v1, fx_depth); ++current_fx; if (current_fx > total_fx) { current_fx = 1; } return v1; } function f_Depth(u_char, u_depth) { var v2 = 200 * ((u_depth - abs_top) / abs_bottom); if (u_char.depth_mod == undefined) { trace('NO DEPTH: ' + u_char); } u_char.current_depth = int(v2 * 200 + u_char.depth_mod); u_char.swapDepths(u_char.current_depth); } function f_SetDepthMod() { ++current_depth_mod; if (current_depth_mod > depth_mod_max) { current_depth_mod = 1; } return current_depth_mod; } function f_Clear() { a_Enemies = new Array(); } function f_MakePeeDrop(x, y, pow) { var v2 = 80 + pow * 20; var v1 = f_FX(x, y, y, 'peedrop', v2, v2); v1.speed_y = random(12) - 7; v1.speed_x = random(10) - 7; } function f_PeeDrop(z) { z._y += z.speed_y; z._x += z.speed_x; z.speed_y += gravity; if (z._y + game._y > screenhight + 20) { z.gotoAndStop('blank'); } } function f_Building(z) { z._x -= scroll_x; if (z._x + game._x < -z._width) { z._x = screenwidth + 50 - game._x; z.gotoAndStop('reset'); } } function f_UpdatePeeMeter() { hudpee.setPissLevel(int(currentpee)); } function f_SlimeSound() { if (slime_timer <= 0) { slime_timer = 2; _root['s_slime' + (random(3) + 1)].start(0, 0); } } function f_FartSound() { _root['s_fart' + (random(2) + 1)].start(0, 0); } function f_MetalSound() { _root['s_shield' + (random(2) + 1)].start(0, 0); } function f_PeeSound() { _root['s_pee' + (random(3) + 1)].start(0, 0); } function f_NewGame() { screenwidth = 942; screenheight = 530; scroll_x = 3; gravity = 1; abs_top = -300 - game._y; abs_bottom = screenheight + 300 - game._y; current_depth_mod = 0; current_fx = 1; total_fx = 200; f_CreateFX(); currentpee = 24; totalpee = 100; f_UpdatePeeMeter(); usepee = 0.3; peeman = game.peeman; peeman.hit_timer = 0; peeman.invincible_timer = 0; peeman.health = 100; peeman.depth_mod = f_SetDepthMod(); f_Depth(peeman, peeman._y + 40); boss = game.boss; boss.health_max = 400; boss.health = boss.health_max; boss.poops = 8; boss.depth_mod = f_SetDepthMod(); bossmode = 1; f_Depth(boss, game._y); arm = game.arm; arm.depth_mod = f_SetDepthMod(); f_Depth(arm, game._y + 2); default_y = game._y; building_y = game.b1._y; bg_y = game.bg._y; game.arm2.animation.gotoAndPlay(15); boss.timer = 700; f_Clear(); f_Push(boss, a_Enemies); game._y += 300; game._x += 300; peeman._y -= 600; peeman._x -= 300; peeman.cinema_speed_y = 40; cinema_timer = 30; cinema_in = true; killedpod = false; perfectgame = false; splitstream = false; } PI = 0.0174532925199433; s_shoothit = new Sound(); s_shoothit.attachSound('sound_shoothit'); s_dash = new Sound(); s_dash.attachSound('sound_dash'); s_slime1 = new Sound(); s_slime1.attachSound('sound_slime_hit1'); s_slime2 = new Sound(); s_slime2.attachSound('sound_slime_hit2'); s_slime3 = new Sound(); s_slime3.attachSound('sound_slime_hit3'); s_fart1 = new Sound(); s_fart1.attachSound('sound_fart1'); s_fart2 = new Sound(); s_fart2.attachSound('sound_fart2'); s_shield1 = new Sound(); s_shield1.attachSound('sound_shield1'); s_shield2 = new Sound(); s_shield2.attachSound('sound_shield2'); s_pee1 = new Sound(); s_pee1.attachSound('sound_pee1'); s_pee2 = new Sound(); s_pee2.attachSound('sound_pee2'); s_pee3 = new Sound(); s_pee3.attachSound('sound_pee3'); gotoAndStop('title'); } movieClip 277 { frame 1 { stop(); } } frame 3 { stop(); } movieClip 280 { } movieClip 283 { } movieClip 285 { } movieClip 287 { } movieClip 288 { } button 295 { on (release) { com.newgrounds.API.loadNewgrounds(); } } button 299 { on (release) { stopAllSounds(); _root.gotoAndStop('go'); } } button 300 { on (release) { com.newgrounds.API.loadCustomLink('Ben Spurgin'); } } button 301 { on (release) { com.newgrounds.API.loadCustomLink('More Games'); } } button 305 { on (release) { com.newgrounds.API.loadCustomLink('Ben Spurgin'); } } movieClip 312 { frame 6 { stop(); } } movieClip 313 { frame 200 { stop(); } } instance of movieClip 313 { onClipEvent (mouseDown) { mousedown = true; } onClipEvent (mouseUp) { if (mousedown) { mousedown = false; if (_currentframe < 200) { gotoAndStop(200); } } } } button 329 { on (release) { com.newgrounds.API.loadCustomLink('Pee Man Quadrilogy'); } } button 330 { on (release) { com.newgrounds.API.loadCustomLink('Pee Man'); } } button 331 { on (release) { com.newgrounds.API.loadCustomLink('Pee Man II'); } } button 332 { on (release) { com.newgrounds.API.loadCustomLink('Pee Man III'); } } frame 4 { f_NewGame(); stop(); } frame 4 { _quality = 'medium'; } movieClip 335 { } movieClip 337 { } movieClip 339 { } movieClip 340 { } movieClip 342 { } movieClip 343 { } movieClip 345 { } movieClip 346 { } movieClip 347 { } movieClip 355 { frame 1 { if (!this.init) { this.init = function () { gotoAndStop(random(_totalframes) + 1); _y = random(200); speed = random(3) + 1; scale = random(40) + 60; _xscale = scale; _yscale = scale; _alpha = random(20) + 81; }; onEnterFrame = function () { _x = _x - speed; if (_x < -650) { _x = _root.screenwidth + 650; init(); } }; this.init(); } } } movieClip 357 { } movieClip 358 { frame 1 { if (!width) { width = _width; } } } movieClip 359 { } movieClip 361 { } movieClip 367 { frame 1 { if (!_parent._parent.my_dress) { _parent._parent.my_dress = random(_totalframes) + 1; } gotoAndStop(_parent._parent.my_dress); } } movieClip 372 { frame 1 { if (!_parent._parent.my_face) { _parent._parent.my_face = random(_totalframes) + 1; } gotoAndStop(_parent._parent.my_face); } } movieClip 373 { } movieClip 379 { frame 1 { if (!initialize) { chance_of_jug = 10; chance_of_cup = 30; _parent.addWindow(this); this.initialize = function () { wait_time = int(450 / _root.scroll_x + random(100)); mode = 'initialize'; lemonade = 0; }; this.nowServing = function (amount) { lemonade = amount; wait_time = (random(40) + 20) * 3; _parent.addLemonade(lemonade); stop(); }; this.hitboxes = {}; this.hitboxes[1] = [3, 5]; this.hitboxes[4] = [10, 13]; this.getLemonade = function (x, y, w, h) { hitbox = this.hitboxes[lemonade]; if (hitbox) { xx = _x - hitbox[0]; yy = _y - hitbox[1]; ww = hitbox[0] * 2; hh = hitbox[1] * 2; } if (hitbox && x + w > xx && x < xx + ww && y + h > yy && y < yy + hh) { got = lemonade; this.removeLemonade(); gotoAndPlay('hide'); return got; } else { return false; } }; this.removeLemonade = function () { if (lemonade > 0) { _parent.removeLemonade(lemonade); lemonade = 0; } }; onEnterFrame = function () { if (wait_time > 0) { --wait_time; if (wait_time === 0) { if (mode == 'initialize') { gotoAndPlay('peek'); } else { play(); } if (lemonade > 0) { this.removeLemonade(); } mode = null; } } }; } this.initialize(); stop(); } frame 1 { lemonade = 0; } frame 19 { action = _parent.canServeLemonade() ? random(1000) / 10 : 100; if (action < chance_of_jug) { gotoAndPlay('lemonade2'); } else { if (action < chance_of_jug + chance_of_cup) { gotoAndPlay('lemonade1'); } } } frame 30 { gotoAndStop(1); } frame 52 { this.nowServing(1); } frame 57 { this.removeLemonade(); } frame 77 { gotoAndStop(1); } frame 99 { this.nowServing(4); } frame 109 { this.removeLemonade(); } frame 124 { gotoAndStop(1); } } movieClip 380 { frame 1 { this.max_lemonade = 4; this.total_lemonade = 0; this.canServeLemonade = function () { return this.total_lemonade < this.max_lemonade; }; this.addLemonade = function (amount) { total_lemonade += amount; }; this.removeLemonade = function (amount) { total_lemonade -= amount; }; this.windows = []; this.addWindow = function (window) { this.windows.push(window); }; this.gotLemonade = function (x, y, width, height) { if (x < _x + _parent._x + wall._width && x + width > _x + _parent._x && y + height > _y + _parent._y) { for (i in this.windows) { window = this.windows[i]; if (window.lemonade > 0) { got = window.getLemonade(x - (_x + _parent._x), y - (_y + _parent._y), width, height); if (got) { return got; } } } } return false; }; } } movieClip 382 { } movieClip 385 { frame 1 { this.max_lemonade = 4; this.total_lemonade = 0; this.canServeLemonade = function () { return this.total_lemonade < this.max_lemonade; }; this.addLemonade = function (amount) { total_lemonade += amount; }; this.removeLemonade = function (amount) { total_lemonade -= amount; }; this.windows = []; this.addWindow = function (window) { this.windows.push(window); }; this.gotLemonade = function (x, y, width, height) { if (x < _x + _parent._x + wall._width && x + width > _x + _parent._x && y + height > _y + _parent._y) { for (i in this.windows) { window = this.windows[i]; if (window.lemonade > 0) { got = window.getLemonade(x - (_x + _parent._x), y - (_y + _parent._y), width, height); if (got) { return got; } } } } return false; }; } } movieClip 387 { } movieClip 389 { frame 1 { this.max_lemonade = 6; this.total_lemonade = 0; this.canServeLemonade = function () { return this.total_lemonade < this.max_lemonade; }; this.addLemonade = function (amount) { total_lemonade += amount; }; this.removeLemonade = function (amount) { total_lemonade -= amount; }; this.windows = []; this.addWindow = function (window) { this.windows.push(window); }; this.gotLemonade = function (x, y, width, height) { if (x < _x + _parent._x + wall._width && x + width > _x + _parent._x && y + height > _y + _parent._y) { for (i in this.windows) { window = this.windows[i]; if (window.lemonade > 0) { got = window.getLemonade(x - (_x + _parent._x), y - (_y + _parent._y), width, height); if (got) { return got; } } } } return false; }; } } movieClip 390 { frame 1 { bnum = 1; stop(); } instance of movieClip 21 { onClipEvent (enterFrame) { _root.f_Building(_parent); } } frame 4 { ++bnum; if (bnum > 3) { bnum = 1; } gotoAndStop(bnum); } } movieClip 392 { } movieClip 394 { } movieClip 396 { } movieClip 397 { } movieClip 404 { frame 20 { _root.f_MakePoop(pt._x + _x + _parent._x, pt._y + _y + _parent._y); } frame 25 { _root.f_MakePoop(pt._x + _x + _parent._x, pt._y + _y + _parent._y); } frame 35 { _parent.gotoAndStop(1); } } movieClip 405 { frame 1 { stop(); } frame 7 { stop(); } } movieClip 407 { frame 1 { _parent._parent.addRemovable(this, true); } } movieClip 412 { frame 1 { _parent._parent.addRemovable(this); } } movieClip 416 { } movieClip 418 { } movieClip 420 { } movieClip 422 { frame 1 { _parent._parent.addRemovable(this); } } movieClip 424 { frame 1 { _parent._parent.addRemovable(this, true); } } movieClip 426 { frame 1 { _parent._parent.addRemovable(this, true); } } movieClip 428 { frame 1 { _parent._parent.addRemovable(this); } } movieClip 431 { frame 50 { if (random(100) < 75) { gotoAndPlay(1); } else { _parent.eyebrow.gotoAndPlay('blink'); } } } movieClip 433 { frame 1 { _parent._parent.addRemovable(this, true); } } movieClip 435 { frame 1 { _parent._parent.addRemovable(this); } } movieClip 437 { frame 49 { gotoAndPlay(1); } } movieClip 438 { } movieClip 439 { frame 1 { stop(); } instance of movieClip 21 { onClipEvent (enterFrame) { _root.f_HurtBox(_parent); } } } movieClip 443 { } movieClip 445 { frame 21 { _parent.startShake(60); } instance of movieClip 21 { onClipEvent (enterFrame) { _root.f_PooBarf(_x + _parent._x + _parent._parent._x, _y + _parent._y + _parent._parent._y); } } frame 95 { _parent.gotoAndStop('monsteridle'); } } movieClip 461 { } movieClip 463 { frame 1 { this._visible = false; } } movieClip 467 { } movieClip 468 { frame 1 { if (!jump) { this.jump = function () { f = (random(3) + 1) * 20 + 1; gotoAndPlay(f); }; } } frame 20 { this.jump(); } frame 40 { this.jump(); } frame 60 { this.jump(); } frame 81 { this.jump(); } } movieClip 470 { } movieClip 472 { } movieClip 476 { frame 35 { _parent.gotoAndStop('idle'); } } movieClip 478 { } movieClip 482 { frame 29 { stop(); } } movieClip 483 { frame 1 { gotoAndStop(_parent._parent.getMissileFrame()); } frame 1 { stop(); } frame 101 { _parent._parent.setMissiles(3); stop(); } frame 103 { _parent._parent.setMissiles(2); } frame 117 { stop(); } frame 119 { _parent._parent.setMissiles(1); } frame 133 { stop(); } frame 135 { _parent._parent.setMissiles(0); } frame 151 { stop(); } } movieClip 485 { instance of movieClip 478 { onClipEvent (enterFrame) { pos = _parent.boss.getShoulderPosition(); _x = pos.x; _y = pos.y; } } instance arm of movieClip 483 { onClipEvent (enterFrame) { pos = _parent.boss.getShoulderPosition(); _x = pos.x; _y = pos.y; } } } movieClip 486 { frame 1 { _visible = false; _parent._parent.launchMissile(this); } } movieClip 488 { instance of movieClip 478 { onClipEvent (enterFrame) { pos = _parent.boss.getShoulderPosition(); _x = pos.x; _y = pos.y; } } instance arm of movieClip 483 { onClipEvent (enterFrame) { pos = _parent.boss.getShoulderPosition(); _x = pos.x; _y = pos.y; } } frame 30 { _parent.gotoAndStop('idle'); } } movieClip 489 { instance of movieClip 478 { onClipEvent (enterFrame) { pos = _parent.boss.getShoulderPosition(); _x = pos.x; _y = pos.y; } } instance arm of movieClip 483 { onClipEvent (enterFrame) { pos = _parent.boss.getShoulderPosition(); _x = pos.x; _y = pos.y; } } frame 38 { _parent.gotoAndStop('idle'); } } movieClip 490 { instance of movieClip 478 { onClipEvent (enterFrame) { pos = _parent.boss.getShoulderPosition(); _x = pos.x; _y = pos.y; } } instance arm of movieClip 483 { onClipEvent (enterFrame) { pos = _parent.boss.getShoulderPosition(); _x = pos.x; _y = pos.y; } } frame 48 { _parent.gotoAndStop('idle'); } } movieClip 491 { instance of movieClip 478 { onClipEvent (enterFrame) { pos = _parent.boss.getShoulderPosition(); _x = pos.x; _y = pos.y; } } instance arm of movieClip 483 { onClipEvent (enterFrame) { pos = _parent.boss.getShoulderPosition(); _x = pos.x; _y = pos.y; } } frame 61 { _parent.gotoAndStop('idle'); } } movieClip 492 { frame 1 { if (!this.fire) { this.missiles = 0; this.loading = false; this.getMissileFrame = function () { if (this.missiles < 1) { return 1; } else { return this.missiles + ' missiles'; } }; this.setMissiles = function (ammo) { this.loading = false; this.missiles = ammo; }; this.isLoaded = function () { return this.missiles > 0; }; this.pattern = ['fire 1', 'fire 2', 'fire 3', 'fire all']; this.fire = function () { if (this.isLoaded()) { frame = pattern.shift(); pattern.push(frame); gotoAndStop(frame); return true; } else { this.reload(); return false; } }; this.reload = function () { if (this.loaded() || this.loading) { return false; } animation.arm.gotoAndPlay('reload'); loading = true; return true; }; this.launchMissile = function (guide) { beta = this.GetXY(guide._rotation); d = _parent._parent.getNextHighestDepth(); missile = _parent._parent.attachMovie('missile', 'missile' + d, d); missile._rotation = guide._rotation; missile.beta = beta; missile._x = _parent._x + _x + animation._x + guide._x; missile._y = _parent._y + _y + animation._y + guide._y; if (this.missiles !== 2) { beta2 = this.GetXY(guide._rotation + 90); missile._x -= guide['missile_' + this.missiles]._x * beta2.x; missile._y -= guide['missile_' + this.missiles]._y * beta2.y; } animation.arm.gotoAndPlay(this.getMissileFrame()); }; onEnterFrame = function () { _x = _parent.animation._x + _parent.animation.shoulder._x; _y = _parent.animation._y + _parent.animation.shoulder._y; }; this.GetXY = function (angle, width) { if (!width) { width = 1; } angle = angle * -1 + 90; if (angle < 0) { angle += 360; } else { if (angle > 360) { angle -= 360; } } var v7 = angle * Math.PI / 180; var v6 = 100000 * Math.sin(v7); var v2 = v6; if (v2 < 0) { v2 *= -1; } var v4 = Math.sqrt(10000000000.0 - v2 * v2); if (Math.round(angle) < 270 and Math.round(angle) >= 90) { v4 *= -1; } var v3 = {}; v3.x = (Math.round(v6) / 100000) * width; v3.y = (Math.round(v4) / 100000) * width; return v3; }; } stop(); } } movieClip 493 { } movieClip 495 { instance of movieClip 21 { onClipEvent (enterFrame) { _root.f_Fireball(_x + _parent._x + _parent._parent._x, _y + _parent._y + _parent._parent._y, _rotation); } } frame 90 { _parent.gotoAndStop('idle'); } } movieClip 496 { frame 46 { stop(); } } movieClip 497 { } movieClip 499 { } movieClip 501 { } movieClip 503 { frame 21 { _parent.arm.gotoAndStop('blank'); } frame 41 { _parent.gotoAndStop('shipidle'); } frame 41 { stop(); } } movieClip 508 { frame 1 { stop(); } } movieClip 509 { } movieClip 511 { frame 1 { stop(); } } movieClip 513 { } movieClip 514 { frame 5 { stop(); } } movieClip 515 { } movieClip 516 { instance of movieClip 21 { onClipEvent (enterFrame) { --timer; if (timer <= 0) { timer = 5; size = 70 + random(30); _root.f_FX(_parent._parent._x - _parent._width / 2 + random(_parent._width), _parent._parent._y - _parent._height / 2 + random(_parent._height), _parent._parent._y + 10, 'explosion', size, size); } if (timer % 2 == 0) { _parent._parent._x += 2; } else { _parent._parent._x -= 2; } if (_parent._parent._y + _root.game._y < _root.screenheight / 2 - 10) { _parent._parent._y += 3; } else { if (_parent._parent._y + _root.game._y > _root.screenheight / 2 + 10) { _parent._parent._y -= 3; } } } } instance of movieClip 21 { onClipEvent (enterFrame) { --timer; if (timer <= 0) { timer = 3; size = 70 + random(30); _root.f_FX(_parent._parent._x - _parent._width / 2 + random(_parent._width), _parent._parent._y - _parent._height / 2 + random(_parent._height), _parent._parent._y + 10, 'explosion', size, size); } if (timer % 2 == 0) { _parent._parent._x += 2; } else { _parent._parent._x -= 2; } if (_parent._parent._y + _root.game._y < _root.screenheight / 2 - 10) { _parent._parent._y += 3; } else { if (_parent._parent._y + _root.game._y > _root.screenheight / 2 + 10) { _parent._parent._y -= 3; } } } } instance of movieClip 21 { onClipEvent (enterFrame) { --timer; if (timer <= 0) { timer = 2; size = 90 + random(30); _root.f_FX(_parent._parent._x - _parent._width / 2 + random(_parent._width), _parent._parent._y - _parent._height / 2 + random(_parent._height), _parent._parent._y + 10, 'explosion', size, size); } if (timer % 2 == 0) { _parent._parent._x += 2; } else { _parent._parent._x -= 2; } if (_parent._parent._y + _root.game._y < _root.screenheight / 2 - 10) { _parent._parent._y += 3; } else { if (_parent._parent._y + _root.game._y > _root.screenheight / 2 + 10) { _parent._parent._y -= 3; } } } } frame 70 { _root.f_InitPod(_root.boss); } frame 100 { _parent.gotoAndStop('pod'); } } movieClip 517 { instance of movieClip 21 { onClipEvent (load) { t = 0; speed_y = 0; } onClipEvent (enterFrame) { --timer; if (timer <= 0) { if (t < 25) { timer = 5; } else { timer = 3; } size = 70 + random(30); _root.f_FX(_parent._parent._x - _parent._width / 2 + random(_parent._width), _parent._parent._y - _parent._height / 2 + random(_parent._height), _parent._parent._y + 10, 'explosion', size, size); } ++t; if (t < 50) { if (timer % 2 == 0) { _parent._parent._y += 2; } else { _parent._parent._y -= 2; } } else { ++speed_y; _parent._parent._y += speed_y; if (_parent._parent._y + _root.game._y > _root.screenheight + 500) { _parent._parent.gotoAndStop('theend'); } } } } } movieClip 518 { frame 1 { if (!this.addRemovable) { this.turds = []; this.turdnames = {}; this.addRemovable = function (turd, push) { if (this.turdnames[turd._name] === undefined) { t = {'turd': turd._name, 'x': _x + animation._x + turd._x, 'y': _y + animation._y + turd._y}; if (push === true) { this.turds.push(t); } else { this.turds.unshift(t); } this.turdnames[turd._name] = true; } else { turd._visible = this.turdnames[turd._name]; } }; this.removePoo = function () { if (this.turds.length < 1) { return false; } poo = this.turds.pop(); animation[poo.turd]._visible = false; this.turdnames[poo.turd] = false; particals = 6; i = 0; while (i < particals) { var v3 = _parent.getNextHighestDepth(); partical = _parent.attachMovie('poo_particals', 'poo_partical' + v3, v3); dir = random(100) < 50 ? 1 : -1; partical._x = poo.x + random(90) * dir; partical._y = poo.y + (random(180) - 90); partical.xspeed = (random(15) + 5) * dir; ++i; } return poo; }; this.shake = 0; this.startShake = function (duration) { this.shake = duration; this.base_x = animation._x; this.base_y = animation._y; }; onEnterFrame = function () { if (this.shake > 0) { --this.shake; if (this.shake === 0) { animation._x = this.base_x; animation._y = this.base_y; } else { animation._x = this.base_x + (random(9) - 4); animation._y = this.base_y + (random(9) - 4); } } }; } stop(); } instance of movieClip 21 { onClipEvent (enterFrame) { _root.f_PoopMonster(_parent); } } frame 6 { stop(); } frame 15 { if (!this.getHitZonePosition) { this.getHitZonePosition = function () { x = _x + animation._x + animation.hitzone._x; y = _y + animation._y + animation.hitzone._y; return {'x': x, 'y': y}; }; this.getShoulderPosition = function () { x = _x + animation._x + animation.shoulder._x; y = _y + animation._y + animation.shoulder._y; return {'x': x, 'y': y}; }; } stop(); } instance arm of movieClip 492 { onClipEvent (mouseDown) { this.fire(); } } instance of movieClip 463 { onClipEvent (load) { particals = 4; i = 0; while (i < particals) { var d = _parent.getNextHighestDepth(); partical = _parent.attachMovie('poo_particals', 'poo_partical' + d, d); dir = random(100) < 50 ? 1 : -1; partical._x = _x + random(90) * dir; partical._y = _y + (random(180) - 90); partical.xspeed = (random(15) + 5) * dir; ++i; } } } instance of movieClip 463 { onClipEvent (load) { particals = 4; i = 0; while (i < particals) { var d = _parent.getNextHighestDepth(); partical = _parent.attachMovie('poo_particals', 'poo_partical' + d, d); dir = random(100) < 50 ? 1 : -1; partical._x = _x + random(90) * dir; partical._y = _y + (random(180) - 90); partical.xspeed = (random(15) + 5) * dir; ++i; } } } instance of movieClip 463 { onClipEvent (load) { particals = 4; i = 0; while (i < particals) { var d = _parent.getNextHighestDepth(); partical = _parent.attachMovie('poo_particals', 'poo_partical' + d, d); dir = random(100) < 50 ? 1 : -1; partical._x = _x + random(90) * dir; partical._y = _y + (random(180) - 90); partical.xspeed = (random(15) + 5) * dir; ++i; } } } instance of movieClip 463 { onClipEvent (load) { particals = 4; i = 0; while (i < particals) { var d = _parent.getNextHighestDepth(); partical = _parent.attachMovie('poo_particals', 'poo_partical' + d, d); dir = random(100) < 50 ? 1 : -1; partical._x = _x + random(90) * dir; partical._y = _y + (random(180) - 90); partical.xspeed = (random(15) + 5) * dir; ++i; } } } instance of movieClip 463 { onClipEvent (load) { particals = 4; i = 0; while (i < particals) { var d = _parent.getNextHighestDepth(); partical = _parent.attachMovie('poo_particals', 'poo_partical' + d, d); dir = random(100) < 50 ? 1 : -1; partical._x = _x + random(90) * dir; partical._y = _y + (random(180) - 90); partical.xspeed = (random(15) + 5) * dir; ++i; } } } instance of movieClip 463 { onClipEvent (load) { particals = 4; i = 0; while (i < particals) { var d = _parent.getNextHighestDepth(); partical = _parent.attachMovie('poo_particals', 'poo_partical' + d, d); dir = random(100) < 50 ? 1 : -1; partical._x = _x + random(90) * dir; partical._y = _y + (random(180) - 90); partical.xspeed = (random(15) + 5) * dir; ++i; } } } instance of movieClip 463 { onClipEvent (load) { particals = 4; i = 0; while (i < particals) { var d = _parent.getNextHighestDepth(); partical = _parent.attachMovie('poo_particals', 'poo_partical' + d, d); dir = random(100) < 50 ? 1 : -1; partical._x = _x + random(90) * dir; partical._y = _y + (random(180) - 90); partical.xspeed = (random(15) + 5) * dir; ++i; } } } instance of movieClip 463 { onClipEvent (load) { particals = 4; i = 0; while (i < particals) { var d = _parent.getNextHighestDepth(); partical = _parent.attachMovie('poo_particals', 'poo_partical' + d, d); dir = random(100) < 50 ? 1 : -1; partical._x = _x + random(90) * dir; partical._y = _y + (random(180) - 90); partical.xspeed = (random(15) + 5) * dir; ++i; } } } instance of movieClip 21 { onClipEvent (enterFrame) { _root.f_Dinobot(_parent); } } frame 32 { stop(); } frame 41 { _x = head._x + _x; _y = head._y + _y; } frame 50 { stop(); } instance of movieClip 21 { onClipEvent (enterFrame) { _root.f_Dinoship(_parent); } } instance of movieClip 21 { onClipEvent (enterFrame) { _root.f_Dinopod(_parent); } } instance of movieClip 21 { onClipEvent (load) { timer = 60; } onClipEvent (enterFrame) { --timer; if (timer <= 0) { _root.f_Endit(); _parent.gotoAndStop('blank'); } } } } movieClip 528 { frame 12 { gotoAndPlay('loop'); } } movieClip 538 { frame 12 { gotoAndPlay('loop'); } } movieClip 548 { frame 12 { gotoAndPlay('loop'); } } movieClip 558 { frame 11 { gotoAndPlay('loop'); } } movieClip 568 { frame 12 { gotoAndPlay('loop'); } } movieClip 578 { frame 12 { gotoAndPlay('loop'); } } movieClip 588 { frame 12 { gotoAndPlay('loop'); } } movieClip 591 { } movieClip 596 { } movieClip 601 { } movieClip 606 { } movieClip 611 { } movieClip 616 { } movieClip 617 { frame 1 { stop(); } } movieClip 618 { } movieClip 619 { instance bg of movieClip 359 { onClipEvent (load) { x = _x; } onClipEvent (enterFrame) { _x = _x - _root.scroll_x * 0.66; if (_x < x - 1419.1) { _x = _x + 1419.1; } } } instance peeman of movieClip 618 { onClipEvent (load) { _root.f_PeeManDefaults(this); } onClipEvent (enterFrame) { _root.f_PeeMan(this); } } } movieClip 623 { } movieClip 626 { frame 1 { _visible = false; } } movieClip 628 { } movieClip 629 { frame 2 { if (!_root.splitstream) { _root.splitstream = true; _root.f_Medal('Split Stream'); } } } movieClip 632 { } movieClip 635 { } movieClip 638 { } movieClip 641 { } movieClip 643 { frame 1 { this.setPissLevel = function (level) { i = 1; while (i <= 20) { this['led' + i].gotoAndStop(i < level / 4 ? 2 : 1); ++i; } if (level >= 90) { led21.gotoAndStop(2); } else { led21.gotoAndStop(1); } if (level > 0) { led1.gotoAndStop(2); } else { led1.gotoAndStop(1); } pee_bar._yscale = level; }; _root.f_UpdatePeeMeter(); } } movieClip 646 { frame 1 { this.maxHealth = 100; this.setHealth = function (health) { level = (health / this.maxHealth) * 100; i = 1; while (i <= 20) { this['led' + i].gotoAndStop(i <= level / 5 ? 2 : 1); ++i; } pee_bar._yscale = level; }; this.setHealth(this.maxHealth); } } movieClip 650 { } movieClip 651 { frame 1 { this.maxHealth = 100; scale = 100; this.setHealth = function (health) { scale = health; }; onEnterFrame = function () { this.setHealth(int((_root.boss.health / _root.boss.health_max) * 100)); diff = Math.abs(scale - bar._xscale); if (diff > 1) { bar._xscale += (scale - bar._xscale) * 0.1; } else { bar._xscale = scale; } }; } } movieClip 653 { frame 1 { this.countdown = 300; stop(); } frame 2 { this.countdown = 300; onEnterFrame = function () { if (this.countdown > 0) { time = Math.ceil(countdown / 30); _visible = Math.ceil(countdown / 10) % 3 !== 0; display.text = '- ENEMY WILL ESCAPE IN ' + time + ' -'; --this.countdown; } else { _visible = false; } if (this.countdown == 300) { _visible = true; } }; } } movieClip 654 { } movieClip 655 { frame 1 { play(); } frame 6 { stop(); } frame 10 { play(); } frame 90 { _root.gotoAndStop(destin); } } movieClip 659 { frame 2 { stopAllSounds(); } frame 90 { _root.gotoAndStop('reset'); } } frame 6 { stopAllSounds(); _quality = 'high'; gotoAndStop('title'); } frame 7 { _quality = 'high'; if (_root.perfectgame) { _root.perfectgame = false; _root.f_Medal('Perfect'); } if (killedpod) { end_movie.ending = 2; } else { end_movie.ending = 1; } stopAllSounds(); } movieClip 662 { } movieClip 664 { frame 545 { _parent.people.play(); } frame 595 { stop(); } } movieClip 671 { } movieClip 676 { } movieClip 697 { } movieClip 698 { frame 2 { stop(); } frame 49 { _parent.ground1.stop(); _parent.ground2.stop(); _parent.ground3.stop(); trace('ending ' + _parent.ending); if (_parent.ending === 2) { gotoAndPlay('funny'); } } frame 119 { _parent.play(); stop(); } frame 240 { _parent.play(); stop(); } } movieClip 700 { } movieClip 701 { frame 15 { stop(); } } movieClip 706 { frame 2 { stop(); } frame 190 { _root.gotoAndStop('reset'); stop(); } }




http://swfchan.com/23/110924/info.shtml
Created: 13/3 -2019 13:21:13 Last modified: 13/3 -2019 13:21:13 Server time: 11/05 -2024 20:49:09