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

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

Pico and Pals.swf

This is the info page for
Flash #47419

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


ActionScript [AS1/AS2]
Combined Code
movieClip 18 { } movieClip 20 { } movieClip 21 { instance of movieClip 18 { onClipEvent (enterFrame) { this._rotation += 0.5; } } instance of movieClip 20 { onClipEvent (enterFrame) { this._rotation += 1; } } } movieClip 24 { } movieClip 34 { } movieClip 44 { } movieClip 49 { } movieClip 54 { } movieClip 71 { frame 10 { stop(); } } movieClip 72 { } movieClip 85 { frame 10 { stop(); } } movieClip 86 { } movieClip 99 { frame 23 { stop(); } } movieClip 117 { } movieClip 119 clockp { #initclip Object.registerClass('clockp', Player); #endinitclip frame 1 { stop(); } } movieClip 123 { } movieClip 132 { } movieClip 138 { } movieClip 144 { } movieClip 150 { } movieClip 156 { } movieClip 169 { frame 9 { stop(); } } movieClip 170 { } movieClip 175 { } movieClip 180 { } movieClip 192 { frame 11 { stop(); } } movieClip 202 { } movieClip 204 dadnmep { #initclip Object.registerClass('dadnmep', Player); #endinitclip frame 1 { stop(); } } movieClip 208 { } movieClip 220 { } movieClip 230 { } movieClip 240 { } movieClip 250 { } movieClip 255 { } movieClip 259 { } movieClip 263 { } movieClip 267 { } movieClip 272 { frame 19 { stop(); } } movieClip 283 { } movieClip 285 flatheadp { #initclip Object.registerClass('flatheadp', Player); #endinitclip frame 1 { stop(); } } movieClip 288 { } movieClip 289 dangletom { frame 60 { stop(); } } movieClip 296 { } movieClip 303 { } movieClip 305 { } movieClip 308 lcstats { frame 1 { function onEnterFrame() { --c; _root.game.music.setVolume(c); if (c <= 0) { _root.game.music.stop(); } } if (_root.dbad > _root.fbad) { _root.dbad = _root.fbad; } stats.text = ['Level: ' + _root.level + '\n' + 'Kills: ' + _root.dbad + '/' + _root.fbad + '\n' + 'Raccoons: ' + _global.raccoons + '/' + _root.fraccoons + '\n' + 'Completion: ' + Math.round(_root.dbad * 100 / _root.fbad) + '%' + '\n' + 'Next Level: ' + (_root.level + 1)]; _global['comp' + _root.level] = Math.round(_root.dbad * 100 / _root.fbad); var c = 100; rac.onRelease = function () { var v2 = 0; while (v2 < 60) { _root.game['barrier' + v2].removeMovieClip(); _root.game['badguy' + v2].removeMovieClip(); _root.game['bush' + v2].removeMovieClip(); _root.game['barrel' + v2].removeMovieClip(); ++v2; } _root.game.music.setVolume(100); ++_root.level; _root.game._x = 0; _root.game.nextFrame(); _root.lcstats.swapDepths(_root.getNextHighestDepth()); _root.lcstats.removeMovieClip(); }; } instance of movieClip 296 { onClipEvent (load) { gotoAndStop(_root.player1); } } } movieClip 318 calert { } movieClip 321 { } movieClip 323 { } movieClip 325 { } movieClip 327 { } button 333 { on (release) { getURL('http://www.camp-north.net', _blank); } } movieClip 335 { } movieClip 339 { frame 1 { stop(); } } movieClip 342 { } movieClip 344 { } movieClip 345 { } movieClip 347 { } movieClip 348 pausemenu { frame 1 { aysbut.yes.onRelease = function () { _root.game.music.setVolume(0); _root.game.music.stop(); _root.game.bossmusic.setVolume(0); _root.game.bossmusic.stop(); _root.gotoAndStop('menu'); _root.ays = false; _parent.removeMovieClip(); }; aysbut.no.onRelease = function () { _root.ays = false; }; } instance of movieClip 321 { onClipEvent (release) { _root.ays = true; } } instance of movieClip 323 { onClipEvent (release) { if (_quality == 'LOW') { _quality = 'HIGH'; } else { _quality = 'LOW'; } } } instance of movieClip 325 { onClipEvent (release) { _root.pausegame = false; _parent.removeMovieClip(); } } instance of movieClip 327 { onClipEvent (release) { getURL('http://www.newgrounds.com', _blank); } } instance of movieClip 335 { onClipEvent (release) { if (_quality == 'LOW') { _quality = 'HIGH'; } else { _quality = 'LOW'; } } } instance of movieClip 339 { onClipEvent (load) { var sound = 100; } onClipEvent (release) { if (sound == 100) { sound = 0; _root.game.music.setVolume(sound); if (_root.boss) { _root.game.bossmusic.setVolume(sound); } gotoAndStop('off'); } else { if (sound == 0) { sound = 100; _root.game.music.setVolume(sound); if (_root.boss) { _root.game.bossmusic.setVolume(sound); } gotoAndStop('on'); } } } } instance aysbut of movieClip 345 { onClipEvent (enterFrame) { if (_root.ays) { _visible = true; } else { _visible = false; } } } instance of movieClip 347 { onClipEvent (release) { getURL('http://www.presgames.com', _blank); } } } movieClip 350 { } movieClip 353 { } movieClip 355 dadnmehp { frame 1 { stop(); } } movieClip 358 { frame 1 { _parent.atFr = false; } } movieClip 365 { frame 1 { _parent.atFr = false; } } movieClip 371 { frame 1 { _parent.atFr = true; } frame 14 { _parent.atFr = false; } } movieClip 377 { frame 1 { _parent.atFr = true; } frame 14 { _parent.atFr = false; } } movieClip 383 { frame 1 { _parent.atFr = false; } frame 2 { _parent.atFr = true; } frame 14 { _parent.atFr = false; } } movieClip 388 { frame 9 { stop(); } } movieClip 390 { frame 10 { stop(); } } movieClip 391 { } movieClip 400 { frame 10 { stop(); } } movieClip 401 { } movieClip 406 { } movieClip 411 { } movieClip 476 { frame 60 { var a = new Sound(_root); a.attachSound('call'); a.start(0, 1); } frame 128 { _root.mbad += 1; _parent.calls = false; } } movieClip 596 { frame 1 { _parent.atFr = false; } frame 363 { _parent.grow = true; } } movieClip 601 { frame 1 { _parent.atFr = false; } } movieClip 612 { frame 1 { _parent.atFr = false; } } movieClip 631 { frame 1 { _parent.atFr = false; } frame 24 { _parent.atFr = true; } frame 32 { _parent.atFr = false; } } movieClip 650 { frame 1 { _parent.atFr = false; } frame 22 { _parent.atFr = true; } frame 36 { _parent.atFr = false; } } movieClip 670 { frame 1 { _parent.atFr = false; } frame 22 { _parent.atFr = true; } frame 40 { _parent.atFr = false; } } movieClip 722 { frame 1 { _parent.atFr = false; } frame 30 { _parent.atFr = true; } frame 45 { _parent.atFr = false; } frame 60 { _parent.atFr = true; } frame 75 { _parent.atFr = false; } frame 90 { _parent.atFr = true; } frame 105 { _parent.atFr = false; } frame 120 { _parent.atFr = true; } frame 133 { _parent.atFr = false; } } movieClip 760 { frame 32 { var a = new Sound(_root); a.attachSound('call'); a.start(0, 1); } frame 105 { _root.mbad += 2; _parent.calls = false; } } movieClip 847 { frame 1 { _parent.atFr = false; } frame 53 { var a = new Sound(_root); a.attachSound('smash'); a.start(0, 1); } frame 58 { _parent.atFr = true; } frame 130 { _parent.atFr = false; } } movieClip 977 { frame 1 { _parent.atFr = false; } frame 53 { var a = new Sound(_root); a.attachSound('smash'); a.start(0, 1); } frame 58 { _parent.atFr = true; } frame 103 { var b = new Sound(_root); b.attachSound('smash'); b.start(0, 1); } frame 186 { _parent.atFr = false; } } movieClip 982 { } movieClip 985 { } movieClip 989 { } movieClip 993 { } movieClip 1002 { } movieClip 1012 { } movieClip 1021 { } movieClip 1036 { } movieClip 1043 { } movieClip 1053 { } movieClip 1127 { } movieClip 1145 { } movieClip 1168 { frame 491 { function onEnterFrame() { ++a; if (a > 200) { _global.comp3 = 100; _root.game.music.stop(); _root.game.bossmusic.stop(); _root.gotoAndStop('win'); } } stop(); var a = 0; } } movieClip 1169 dadnme { #initclip Object.registerClass('dadnme', Boss); #endinitclip frame 1 { stop(); } } movieClip 1173 { } movieClip 1203 { } movieClip 1204 dnmstart { frame 138 { stop(); } } movieClip 1206 flatheadhp { } movieClip 1208 uberkidhp { } movieClip 1210 clockhp { } movieClip 1214 { } movieClip 1220 { } movieClip 1224 { } movieClip 1227 { } movieClip 1241 { } movieClip 1246 { } movieClip 1256 { } movieClip 1264 { } movieClip 1282 { } movieClip 1287 { frame 3 { stop(); } } movieClip 1291 { frame 10 { stop(); } } movieClip 1297 { } movieClip 1299 { frame 9 { stop(); } } movieClip 1300 { } movieClip 1306 { frame 10 { stop(); } } movieClip 1307 { } movieClip 1320 { frame 14 { stop(); } } movieClip 1330 { } movieClip 1333 pico { #initclip Object.registerClass('pico', Player); #endinitclip frame 1 { stop(); } } movieClip 1337 { } movieClip 1342 { } movieClip 1347 { } movieClip 1358 { } movieClip 1364 { } movieClip 1377 { } movieClip 1388 { } movieClip 1406 { } movieClip 1411 { frame 3 { stop(); } } movieClip 1415 { frame 9 { stop(); } } movieClip 1420 { } movieClip 1424 { frame 10 { stop(); } } movieClip 1427 { } movieClip 1434 { frame 10 { stop(); } } movieClip 1437 { } movieClip 1462 { frame 15 { stop(); } } movieClip 1474 { } movieClip 1476 nene { #initclip Object.registerClass('nene', Player); #endinitclip frame 1 { stop(); } } movieClip 1480 { } movieClip 1483 { } movieClip 1486 { } movieClip 1489 { } movieClip 1503 { } movieClip 1508 { } movieClip 1516 { } movieClip 1524 { } movieClip 1537 { } movieClip 1542 { frame 3 { stop(); } } movieClip 1547 { } movieClip 1552 { } movieClip 1556 { } movieClip 1572 { frame 17 { stop(); } } movieClip 1582 { } movieClip 1585 darnell { #initclip Object.registerClass('darnell', Player); #endinitclip frame 1 { stop(); } } movieClip 1587 portal { } movieClip 1589 tankmenhp { } movieClip 1594 statue { frame 1 { stop(); } } movieClip 1599 { } movieClip 1608 { } movieClip 1615 { } movieClip 1623 { } movieClip 1630 { } movieClip 1635 { } movieClip 1640 { } movieClip 1645 { } movieClip 1657 { frame 21 { stop(); } } movieClip 1658 tankmen { #initclip Object.registerClass('tankmen', Badguy); #endinitclip frame 1 { stop(); } } movieClip 1662 { } movieClip 1671 { } movieClip 1682 { } movieClip 1693 { } movieClip 1696 { } movieClip 1700 { } movieClip 1704 { } movieClip 1707 { } movieClip 1721 { frame 27 { stop(); } } movieClip 1722 uberkid { #initclip Object.registerClass('uberkid', Badguy); #endinitclip frame 1 { stop(); } } movieClip 1731 { } movieClip 1740 { } movieClip 1749 { } movieClip 1750 dbush { #initclip Object.registerClass('dbush', Bush); #endinitclip frame 1 { stop(); } } movieClip 1756 barrier2 { #initclip Object.registerClass('barrier2', Barrier); #endinitclip frame 1 { stop(); } } movieClip 1763 defensebar { #initclip Object.registerClass('defensebar', Defend); #endinitclip } movieClip 1770 Health { #initclip Object.registerClass('Health', Health); #endinitclip } movieClip 1784 { } movieClip 1785 { frame 38 { stop(); _parent.gotoAndStop('normal'); } } movieClip 1786 barrel { #initclip Object.registerClass('barrel', Barrel); #endinitclip frame 1 { stop(); } } movieClip 1788 Spawn { #initclip Object.registerClass('Spawn', Spawn); #endinitclip } movieClip 1796 { } movieClip 1799 { frame 1 { ++_global.raccoons; } frame 2 { stop(); } } movieClip 1800 raccoon { #initclip Object.registerClass('raccoon', Raccoon); #endinitclip frame 1 { stop(); } } movieClip 1810 { } movieClip 1819 { } movieClip 1828 { } movieClip 1829 bush { #initclip Object.registerClass('bush', Bush); #endinitclip frame 1 { stop(); } } movieClip 1838 { } movieClip 1848 barrier { #initclip Object.registerClass('barrier', Barrier); #endinitclip } movieClip 1852 { } movieClip 1863 { } movieClip 1874 { } movieClip 1885 { } movieClip 1895 { } movieClip 1899 { } movieClip 1903 { } movieClip 1907 { } movieClip 1911 { } movieClip 1916 { frame 19 { stop(); } } movieClip 1917 flathead { #initclip Object.registerClass('flathead', Badguy); #endinitclip frame 1 { stop(); } } movieClip 1919 { } movieClip 1920 { } movieClip 1921 { instance of movieClip 1919 { onClipEvent (enterFrame) { this._rotation += 0.5; } } instance of movieClip 1920 { onClipEvent (enterFrame) { this._rotation += 1; } } } movieClip 1924 { } movieClip 1933 { } movieClip 1943 { } movieClip 1952 { } movieClip 1961 { } movieClip 1966 { } movieClip 1972 { } movieClip 1985 { frame 23 { stop(); } } movieClip 1986 clock { #initclip Object.registerClass('clock', Badguy); #endinitclip frame 1 { stop(); } } frame 1 { function itemHandler0(obj, item) { getURL('http://newgrounds.com', ''); } function itemHandler1(obj, item) { getURL('http://camp-north.com', ''); } function itemHandler2(obj, item) { getURL('http://presgames.com', ''); } function itemHandler3(obj, item) { getURL('http://nathanielmilburn.deviantart.com', ''); } function itemHandler4(obj, item) { getURL('http://el-presidente.newgrounds.com', ''); } function itemHandler5(obj, item) { getURL('http://www.newgrounds.com/collection/picoday2008', ''); } var myMenu = new ContextMenu(); myMenu.hideBuiltInItems(); item0 = new ContextMenuItem('Newgrounds', itemHandler0); myMenu.customItems.push(item0); item1 = new ContextMenuItem('Camp-North', itemHandler1); myMenu.customItems.push(item1); item2 = new ContextMenuItem('Pres Games', itemHandler2); myMenu.customItems.push(item2); item3 = new ContextMenuItem('Nathaniel Milburn', itemHandler3); myMenu.customItems.push(item3); item4 = new ContextMenuItem('El-Presidente', itemHandler4); myMenu.customItems.push(item4); item5 = new ContextMenuItem('More Pico Day', itemHandler5); myMenu.customItems.push(item5); myMenu.customItems[3].separatorBefore = true; myMenu.customItems[5].separatorBefore = true; _root.menu = myMenu; } frame 1 { stop(); _global.fullscore = 0; } movieClip 1989 { } movieClip 1992 { } movieClip 1995 { } button 1998 { on (press) { getURL('http://www.newgrounds.com', '_blank'); } } movieClip 2003 { } movieClip 2004 { frame 10 { gotoAndPlay(1); } } movieClip 2006 { } movieClip 2008 { } movieClip 2011 { frame 100 { } } movieClip 2014 { } movieClip 2019 { } button 2025 { on (press) { nextFrame(); } } movieClip 2029 { } movieClip 2030 { } movieClip 2037 { } movieClip 2048 { frame 12 { stop(); } } movieClip 2051 { } movieClip 2054 { } movieClip 2055 { } movieClip 2057 { } movieClip 2068 { } button 2073 { on (press) { getURL('http://www.newgrounds.com/collection/pico', '_blank'); } } movieClip 2088 { frame 15 { stop(); } } movieClip 2094 { } movieClip 2106 { } movieClip 2118 { } button 2131 { on (press) { getURL('http://www.newgrounds.com/collection/picoday2008', '_blank'); } } movieClip 2132 { } movieClip 2134 { } button 2136 { on (press) { getURL('http://www.newgrounds.com/collection/pico', '_blank'); } } movieClip 2138 { } movieClip 2139 { frame 1 { _quality = 'MEDIUM'; } frame 225 { _quality = 'HIGH'; _root.play(); } } movieClip 2140 { frame 1 { stop(); } instance of movieClip 2011 { onClipEvent (enterFrame) { loaded = Math.ceil((_root.getBytesLoaded() / _root.getBytesTotal()) * 100); gotoAndStop(loaded); if (loaded == 100) { _parent.play(); } } } frame 9 { stop(); } frame 10 { stop(); } } movieClip 2500 __Packages.Player { #initclip if (!_global.Player) { var v1 = function () { super(); }; _global.Player = v1; _global.Player extends MovieClip; var v2 = v1.prototype; v2.onEnterFrame = function () { if (_root.players == 1) { this.dmgloss = 1; } else { if (_root.players == 2) { this.dmgloss = 0.75; } } // An attempt to read a value from empty stack }; v2.bounds = function (wide, high, minw, minh) { if (this._x + _root.game._x > wide - 80) { this._x = wide - 80 - _root.game._x; } if (this._x + _root.game._x < minw + 80) { this._x = minw + 80 - _root.game._x; } if (this._y + _root.game._y > high - 70) { this._y = high - 70 - _root.game._y; } if (this._y + _root.game._y < minh + 70) { this._y = minh + 70 - _root.game._y; } }; v2.depth = function (obj1, obj2, obj3, obj4, strt, end) { if (this._y + 10 != obj1._y) { var v3 = strt; while (v3 < end) { if (this._y + 10 != _root.game[obj2 + v3]._y && this._y + 10 != _root.game[obj3 + v3]._y && this._y + 10 != _root.game[obj4 + v3]._y) { this.swapDepths(this._y + 10 + _root.game._y); } ++v3; } } }; v2.abad = function (spot) { var v3; if (_root.level == 1) { v3 = random(2); } else { if (_root.level == 2 || _root.level == 3) { v3 = _root.level; } } var v4 = ['flathead', 'clock', 'uberkid', 'tankmen']; var v2 = _root.game.attachMovie(v4[v3], 'badguy' + (_root.bad + 1), _root.game.getNextHighestDepth()); v2._x = -1 * _root.game._x + spot; v2._y = random(50) + 200; v2.id = _root.bad + 1; v2.bgtype = v4[v3]; }; v2.alive = true; v2.audhit = false; v2.attack = false; v2.bdown = true; v2.bhit = 0; v2.bhit1 = 0; v2.bhit2 = 0; v2.bleft = true; v2.bright = true; v2.bup = true; v2.camper = 0; v2.combo = 1; v2.down = true; v2.direct = 'left'; v2.dNum = 140; v2.dmg = 35; v2.dpower = 100; v2.hitter = true; v2.hitTime = 0; v2.hNum = 0; v2.hp = 100; v2.hurt = false; v2.left = true; v2.loop = 1; v2.nhit = 0; v2.right = true; v2.same = true; v2.scale = 100; v2.thurt = 0; v2.time = 0; v2.up = true; v2.hitb = 0; v2.pScale = 1; ASSetPropFlags(_global.Player.prototype, null, 1); } #endinitclip } movieClip 2501 __Packages.Boss { #initclip if (!_global.Boss) { var v1 = function () { super(); }; _global.Boss = v1; _global.Boss extends MovieClip; var v2 = v1.prototype; v2.onEnterFrame = function () { if (random(1300) == 2) { this.calls = true; } if (!this.once) { var v3 = this.bNum - 2; while (v3 < this.bNum + 3) { _root.game['barrel' + v3].swapDepths(_root.getNextHighestDepth() + 8); _root.game['barrel' + v3].removeMovieClip(); ++v3; } _root.game['spawn' + _root.level].swapDepths(_root.getNextHighestDepth() + 12); _root.game['spawn' + _root.level].removeMovieClip(); this.once = true; this.gotoAndStop('idle'); } if (this.alive) { } else {} if (this.hp <= 0) { this.hp = 0; this.alive = false; if (this.grow) { if (this.small) { this.small = false; this.hp = 100; this.fLabel = 'boss'; this.dmg = 10; this.speedX = 3; this.speedY = 2; this.alive = true; this.attack = false; this.aRand = 50; this.minD = 140; this.maxD = 170; this.minYD = 25; this.maxYD = 60; _root.game.dadnmehp.nextFrame(); } else { _root.game.player1.hp = 100; _root.game.player2.hp = 100; } } } this.depth(_root.game.player1, 'barrel', 'badguy', 'barrier', _root.game.player2, _root.minb, _root.bad + 3); }; v2.depth = function (obj1, obj2, obj3, obj4, obj5, strt, end) { if (this._y + 50 != obj1._y + 30 && this._y + 50 != obj5._y + 30) { var v3 = strt; while (v3 < end) { if (this._y + 50 != _root.game[obj2 + v3]._y && this._y + 50 != _root.game[obj3 + v3]._y && this._y + 50 != _root.game[obj4 + v3]._y) { this.swapDepths(this._y + 50 + _root.game._y); } ++v3; } } }; v2.atAud = false; v2.alive = true; v2.atFr = false; v2.aRand = 70; v2.attack = false; v2.calls = false; v2.dmg = 5; v2.fLabel = ''; v2.grow = false; v2.hit = false; v2.hurt = false; v2.thurt = 0; v2.hp = 100; v2.once = false; v2.speedX = 3; v2.speedY = 2.5; v2.small = true; v2.stype = ''; v2.minD = 50; v2.maxD = 70; v2.minYD = 15; v2.maxYD = 35; v2.up = false; v2.hetime = 0; v2.special = false; ASSetPropFlags(_global.Boss.prototype, null, 1); } #endinitclip } movieClip 2502 __Packages.Badguy { #initclip if (!_global.Badguy) { var v1 = function () { super(); }; _global.Badguy = v1; _global.Badguy extends MovieClip; var v2 = v1.prototype; v2.onEnterFrame = function () { }; v2.depth = function (obj1, obj2, obj3, obj4, strt, end) { if (this._y + 10 != obj1._y && this._y + 10 != obj2._y) { var v3 = strt; while (v3 < end) { if (this._y + 10 != _root[obj3 + v3]._y && this._y + 10 != _root[obj4 + v3]._y) { this.swapDepths(this._y + 10 + _root.game._y); } ++v3; } } }; v2.far = function (distance) { if (this.alive) { if (Math.abs(this._x - _root.game.player1._x) > distance) { if (Math.abs(this._x - _root.game.player2._x) > distance || _root.players == 1) { this.off = true; } else { this.off = false; } } else { this.off = false; } } }; v2.alive = true; v2.audhit = false; v2.bhit = 0; v2.bhit1 = 0; v2.bhit2 = 0; v2.bleft = true; v2.bup = true; v2.bdown = true; v2.bright = true; v2.loop = 1; v2.dead = false; v2.direct = 'right'; v2.dtime = 0; v2.scale = 100; v2.xd1 = 10; v2.yd1 = 10; v2.dis1 = 14; v2.xd2 = 10; v2.yd2 = 10; v2.dis2 = 14; v2.goto = 0; v2.once = false; v2.hp = 100; v2.up = true; v2.down = true; v2.left = true; v2.right = true; v2.attack = false; v2.type = 1; v2.time = 0; v2.id = 0; v2.off = false; v2.same = true; v2.hit = false; v2.hit1 = false; v2.hit2 = false; v2.htime1 = 0; v2.htime2 = 0; v2.hittime = 0; v2.originx = MovieClip.prototype._x; v2.originy = MovieClip.prototype._y; v2.join = false; v2.leave = true; v2.frame = 0; v2.sonce = false; ASSetPropFlags(_global.Badguy.prototype, null, 1); } #endinitclip } movieClip 2503 __Packages.Bush { #initclip if (!_global.Bush) { var v1 = function () { super(); }; _global.Bush = v1; _global.Bush extends MovieClip; var v2 = v1.prototype; v2.onEnterFrame = function () { this.far(720); if (!this.off) { if (!this.once) { this.once = true; this.frame = this._currentframe; this.level = _root.level; } --this.time; this.hit(_root.game.player1); this.hit(_root.game.player2); var v3 = _root.minb; while (v3 < _root.bad + 3) { this.hit(_root.game['badguy' + v3]); ++v3; } if (this.time <= 0) { this.gotoAndStop(this.frame + 'idle'); } if (this.level != _root.level) { this.removeMovieClip(); } this.depth(_root.game.player1, _root.game.player2, 'badguy', 'barrier', _root.minb, _root.bad + 3); } }; v2.hit = function (obj) { if (this.hitTest(obj._x + _root.game._x, obj._y + _root.game._y - 20, true)) { if (this.time <= 0) { this.time = 30; this.gotoAndStop(this.frame + 'move'); } } }; v2.depth = function (obj1, obj2, obj3, obj4, strt, end) { if (this._y + 15 + _root.game._y != obj1._y + _root.game._y && this._y + 15 + _root.game._y != obj2._y + _root.game._y) { var v3 = strt; while (v3 < end) { if (this._y + 15 + _root.game._y != _root.game[obj3 + v3]._y + _root.game._y && this._y + 15 + _root.game._y != _root.game[obj4 + v3]._y + _root.game._y) { this.swapDepths(this._y + _root.game._y + 15); } ++v3; } } }; v2.far = function (distance) { if (_root.players == 1) { if (Math.abs(this._x - _root.game.player1._x) > distance) { this._visible = false; this.off = true; } else { this._visible = true; this.off = false; } } else { if (_root.players == 2) { if (Math.abs(this._x - _root.game.player1._x) > distance) { if (Math.abs(this._x - _root.game.player2._x) > distance) { this._visible = false; this.off = true; } else { this._visible = true; this.off = false; } } else { this._visible = true; this.off = false; } } } }; v2.time = 0; v2.frame = MovieClip.prototype._currentframe; ASSetPropFlags(_global.Bush.prototype, null, 1); } #endinitclip } movieClip 2504 __Packages.Barrier { #initclip if (!_global.Barrier) { var v1 = function () { super(); }; _global.Barrier = v1; _global.Barrier extends MovieClip; var v2 = v1.prototype; v2.onEnterFrame = function () { if (this.big) { this.far(1200); } else { this.far(650); } // An attempt to read a value from empty stack }; v2.depth = function (obj1, obj2, obj3, obj4, strt, end) { if (this._y + this.tr != obj1._y && this._y + this.tr != obj2._y) { var v3 = strt; while (v3 < end) { if (this._y + this.tr != _root.game[obj3 + v3]._y && this._y + this.tr != _root.game[obj4 + v3]._y) { this.swapDepths(this._y + _root.game._y + this.tr); } ++v3; } } }; v2.bighits = function (bobj) { if (bobj._y < this._y) { if (this.hitTest(bobj._x + _root.game._x + this.side * 5 / 8, bobj._y - this.ab + _root.game._y, true) || this.hitTest(bobj._x + _root.game._x - this.side * 5 / 8, bobj._y - this.ab + _root.game._y, true) || this.hitTest(bobj._x + _root.game._x, bobj._y - this.ab + _root.game._y, true)) { bobj.bdown = false; ++bobj.bhit; } else { if (bobj.same) { bobj.bdown = true; } } } else { if (bobj._y > this._y) { if (this.hitTest(bobj._x + _root.game._x - this.side * 5 / 8, bobj._y + _root.game._y - this.up, true) || this.hitTest(bobj._x + _root.game._x + this.side * 5 / 8, bobj._y + _root.game._y - this.up, true) || this.hitTest(bobj._x + _root.game._x, bobj._y + _root.game._y - this.up, true)) { bobj.bup = false; ++bobj.bhit; } else { if (bobj.same) { bobj.bup = true; } } } } if (bobj.bdown) { if (bobj.bup) { if (bobj._x > this._x) { if (this.hitTest(bobj._x + _root.game._x - this.side, bobj._y + _root.game._y - this.aa, true)) { if (this.hitTest(bobj._x + _root.game._x - this.side, bobj._y + _root.game._y, true)) { bobj.bleft = false; ++bobj.bhit; } else { if (bobj.same) { bobj.bleft = true; } } } else { if (bobj.same) { bobj.bleft = true; } } } else { if (bobj._x < this._x) { if (this.hitTest(bobj._x + _root.game._x + this.side, bobj._y + _root.game._y - this.aa, true)) { if (this.hitTest(bobj._x + _root.game._x + this.side, bobj._y + _root.game._y, true)) { bobj.bright = false; ++bobj.bhit; } else { if (bobj.same) { bobj.bright = true; } } } else { if (bobj.same) { bobj.bright = true; } } } } } else { bobj.bright = true; bobj.bleft = true; } } else { bobj.bright = true; bobj.bleft = true; } }; v2.smallhits = function (obj) { if (obj._y < this._y) { if (obj.hitTest(this._x + _root.game._x - 30, this._y - 10 + _root.game._y, true) || obj.hitTest(this._x + _root.game._x + 30, this._y - 10 + _root.game._y, true) || obj.hitTest(this._x + _root.game._x, this._y - 10 + _root.game._y, true)) { obj.bdown = false; ++obj.bhit; } else { if (obj.same) { obj.bdown = true; } } } else { if (obj._y > this._y) { if (obj.hitTest(this._x + 30 + _root.game._x, this._y + _root.game._y - 50, true) || obj.hitTest(this._x - 30 + _root.game._x, this._y + _root.game._y - 50, true) || obj.hitTest(this._x + _root.game._x, this._y + _root.game._y - 50, true)) { obj.bup = false; ++obj.bhit; } else { if (obj.same) { obj.bup = true; } } } } if (obj.bdown) { if (obj.bup) { if (obj._x > this._x) { if (obj.hitTest(this._x + _root.game._x + 60, this._y + _root.game._y - 60, true)) { if (obj.hitTest(this._x + _root.game._x + 60, this._y + _root.game._y, true)) { obj.bleft = false; ++obj.bhit; } else { if (obj.same) { obj.bleft = true; } } } else { if (obj.same) { obj.bleft = true; } } } else { if (obj._x < this._x) { if (obj.hitTest(this._x + _root.game._x - 60, this._y + _root.game._y - 60, true)) { if (obj.hitTest(this._x + _root.game._x - 60, this._y + _root.game._y, true)) { obj.bright = false; ++obj.bhit; } else { if (obj.same) { obj.bright = true; } } } else { if (obj.same) { obj.bright = true; } } } } } else { obj.bright = true; obj.bleft = true; } } else { obj.bright = true; obj.bleft = true; } }; v2.far = function (distance) { if (_root.players == 1) { if (Math.abs(this._x - _root.game.player1._x) > distance) { this.off = true; } else { this.off = false; this.join = false; } } else { if (_root.players == 2) { if (Math.abs(this._x - _root.game.player1._x) > distance) { if (Math.abs(this._x - _root.game.player2._x) > distance) { this.off = true; } else { this.off = false; this.join = false; } } else { this.off = false; this.join = false; } } } }; v2.scale = 100; v2.side = (MovieClip.prototype._width / 2) * Barrier.prototype.scale / 100; v2.high = (MovieClip.prototype._height / 2) * Barrier.prototype.scale / 140; v2.up = 70; v2.off = false; v2.tr = 15; v2.join = false; ASSetPropFlags(_global.Barrier.prototype, null, 1); } #endinitclip } movieClip 2505 __Packages.Defend { #initclip if (!_global.Defend) { var v1 = function () { super(); }; _global.Defend = v1; _global.Defend extends MovieClip; var v2 = v1.prototype; v2.onEnterFrame = function () { this._xscale = this.object.dpower; if (this.lvl != _root.level) { this.removeMovieClip(); } }; ASSetPropFlags(_global.Defend.prototype, null, 1); } #endinitclip } movieClip 2506 __Packages.Health { #initclip if (!_global.Health) { var v1 = function () { super(); }; _global.Health = v1; _global.Health extends MovieClip; var v2 = v1.prototype; v2.onEnterFrame = function () { this._xscale = this.object.hp; if (this.lvl != _root.level) { this.removeMovieClip(); } }; ASSetPropFlags(_global.Health.prototype, null, 1); } #endinitclip } movieClip 2507 __Packages.Barrel { #initclip if (!_global.Barrel) { var v1 = function () { super(); }; _global.Barrel = v1; _global.Barrel extends MovieClip; var v2 = v1.prototype; v2.onEnterFrame = function () { this.far(1000); if (_root.level == 3) { this.removeMovieClip(); } if (!_root.pausegame) { if (_root.game.player1.alive) { this.d1x = _root.game.player1._x - this.spots[0]; this.d2x = _root.game.player1._x - this.spots[2]; if (Math.abs(this.d1x) <= Math.abs(this.d2x)) { if (!this.hold) { if (!this.thrown) { this._x = this.spots[0]; this._y = this.spots[1] - 30; } } _root.game['spawn' + _root.level]._x = this.spots[0]; _root.game['spawn' + _root.level]._y = this.spots[1]; } else { if (!this.hold) { if (!this.thrown) { this._x = this.spots[2]; this._y = this.spots[3] - 30; } } _root.game['spawn' + _root.level]._x = this.spots[2]; _root.game['spawn' + _root.level]._y = this.spots[3]; } } else { if (_root.game.player2.alive) { this.d1x = _root.game.player2._x - this.spots[0]; this.d2x = _root.game.player2._x - this.spots[2]; if (Math.abs(this.d1x) <= Math.abs(this.d2x)) { if (!this.hold) { if (!this.thrown) { this._x = this.spots[0]; this._y = this.spots[1] - 30; } } _root.game['spawn' + _root.level]._x = this.spots[0]; _root.game['spawn' + _root.level]._y = this.spots[1]; } else { if (!this.hold) { if (!this.thrown) { this._x = this.spots[2]; this._y = this.spots[3] - 30; _root.game['spawn' + _root.level]._x = this.spots[2]; _root.game['spawn' + _root.level]._y = this.spots[3]; } } } } } if (!this.off) { if (!this.once) { this.once = true; this.gotoAndStop('appear'); } if (!this.thrown) { this.scale = (this._y + _root.game._y - 150) / 5 + 100; this._xscale = this.scale; this._yscale = this.scale; if (!this.hold) { this.depth(_root.game.player1, _root.game.player2, 'barrel', 'badguy', 0, 46); this.hits(_root.game.player1); this.hits(_root.game.player2); var v3 = _root.minb - 2; while (v3 < _root.bad + 15) { this.hits(_root.game['badguy' + v3]); ++v3; } } } this.xd1 = this._x - _root.game.player1._x; this.yd1 = this._y - _root.game.player1._y; this.dis1 = Math.sqrt(this.xd1 * this.xd1 + this.yd1 * this.yd1); this.xd2 = this._x - _root.game.player2._x; this.yd2 = this._y - _root.game.player2._y; this.dis2 = Math.sqrt(this.xd2 * this.xd2 + this.yd2 * this.yd2); this.pickup(this.dis1, _root.game.player1, _root.game.player1.keyset[5]); this.pickup(this.dis2, _root.game.player2, _root.game.player2.keyset[5]); if (this.hold) { this.player.attack = false; this.player.time = 0; this.player.dmg = 0; this.player.defend = false; this.player.holds = true; if (!Key.isDown(this.player.keyset[0]) && !Key.isDown(this.player.keyset[1]) && !Key.isDown(this.player.keyset[2]) && !Key.isDown(this.player.keyset[3]) && !Key.isDown(this.player.keyset[4])) { this.player.gotoAndStop('hold'); } else { this.player.gotoAndStop('walkhold'); } this._x = this.player._x; this._y = this.player._y - 35 - 85 * (this.scale / 130); this.swapDepths(this.player.getDepth() + 6); this._rotation = 90; if (!Key.isDown(this.player.keyset[5])) { this.relea = true; } if (this.relea) { if (Key.isDown(this.player.keyset[5])) { this.hold = false; this.thrown = true; this.origin = this._y + 80; this.side = this.player.direct; this.spd *= Math.abs(this.scale) / 100; this.player.holds = false; } } } if (this.thrown) { v3 = 0; while (v3 < _root.sbad + _root.bad) { if (this.hitTest(_root.game['badguy' + v3]) && Math.abs(_root.game['badguy' + v3]._y - 25 - this.origin) < 50) { if (!_root.game['badguy' + v3]['hit' + this.player.number]) { _root.game['badguy' + v3]['hit' + this.player.number] = true; _root.game['badguy' + v3]['htime' + this.player.number] = 30; _root.game['badguy' + v3].hp -= 20; _root.game['badguy' + v3].frame = random(3) + 1; _root.game['badguy' + v3].wear = 12; if (_root.game['badguy' + v3].hp == 0) { _root.game['badguy' + v3].alive = false; _root.game['badguy' + v3].gotoAndStop('dead'); } } } ++v3; } this._y += this.grav; this.grav += this.acc; this.bounds(680, 40); if (this.side == 'right') { this._x += this.spd; this._rotation += this.spd; } if (this.side == 'left') { this._x -= this.spd; this._rotation -= this.spd; } if (this._y > this.origin) { this._y = this.origin; this.grav = Math.abs(this.grav) * -0.8; ++this.bounce; this.spd *= 0.85; if (this.bounce > 3) { _root.game['spawn' + _root.level].reset(); this.removeMovieClip(); } this.gotoAndStop(['hit' + this.bounce]); } } } } }; v2.depth = function (obj1, obj2, obj3, obj4, strt, end) { if (this._y + 15 != obj1._y && this._y + 15 != obj2._y) { var v3 = strt; while (v3 < end) { if (this._y + 15 != _root[obj3 + v3]._yj && this._y + 15 != _root[obj4 + v3]._y) { this.swapDepths(this._y + _root.game._y + 15); } ++v3; } } }; v2.bounds = function (wide, minw) { if (this._x + _root.game._x > wide - 80) { this._x = wide - 80 - _root.game._x; if (this.side == 'right') { this.side = 'left'; } else { if (this.side == 'left') { this.side = 'right'; } } this.spd *= 0.75; } if (this._x + _root.game._x < minw + 80) { this._x = minw + 80 - _root.game._x; if (this.side == 'right') { this.side = 'left'; } else { if (this.side == 'left') { this.side = 'right'; } } this.spd *= 0.75; } }; v2.hits = function (obj) { if (obj._y < this._y) { if (obj.hitTest(this._x + _root.game._x - 10, this._y + _root.game._y - 5, true) || obj.hitTest(this._x + _root.game._x + 10, this._y + _root.game._y - 5, true)) { obj.down = false; } else { obj.down = true; } } else { if (obj._y > this._y) { if (obj.hitTest(this._x + _root.game._x - 10, this._y + _root.game._y - 70, true) || obj.hitTest(this._x + _root.game._x + 10, this._y + _root.game._y - 70, true) || obj.hitTest(this._x + _root.game._x, this._y + _root.game._y - 70, true)) { obj.up = false; } else { obj.up = true; } } } if (obj.down) { if (obj.up) { if (obj._x > this._x) { if (obj.hitTest(this._x + _root.game._x + 20, this._y + _root.game._y - 71, true)) { if (obj.hitTest(this._x + _root.game._x + 20, this._y + _root.game._y, true)) { obj.left = false; } else { obj.left = true; } } else { obj.left = true; } } else { if (obj._x < this._x) { if (obj.hitTest(this._x + _root.game._x - 20, this._y + _root.game._y - 71, true)) { if (obj.hitTest(this._x + _root.game._x - 20, this._y + _root.game._y, true)) { obj.right = false; } else { obj.right = true; } } else { obj.right = true; } } } } else { obj.left = true; obj.right = true; } } else { obj.left = true; obj.right = true; } }; v2.pickup = function (dis, plr, key) { if (dis <= 65) { if (Key.isDown(key)) { if (!this.hold) { if (!this.thrown) { this.hold = true; plr.right = true; plr.left = true; plr.up = true; plr.down = true; this.player = plr; this.relea = false; } } } } }; v2.far = function (distance) { if (_root.players == 1) { if (Math.abs(this._x - _root.game.player1._x) > distance) { this._visible = false; this.off = true; } else { this._visible = true; this.off = false; } } else { if (_root.players == 2) { if (Math.abs(this._x - _root.game.player1._x) > distance) { if (Math.abs(this._x - _root.game.player2._x) > distance) { this._visible = false; this.off = true; } else { this._visible = true; this.off = false; } } else { this._visible = true; this.off = false; } } } }; v2.xd1 = 10; v2.yd1 = 10; v2.dis1 = 100; v2.xd2 = 10; v2.yd2 = 10; v2.dis2 = 100; v2.scale = 100; v2.hold = false; v2.relea = false; v2.thrown = false; v2.origin = MovieClip.prototype._y; v2.grav = -8; v2.acc = 0.3; v2.bounce = 0; v2.spd = (random(15) + 26) / 10; v2.once = false; ASSetPropFlags(_global.Barrel.prototype, null, 1); } #endinitclip } movieClip 2508 __Packages.Spawn { #initclip if (!_global.Spawn) { var v1 = function () { super(); }; _global.Spawn = v1; _global.Spawn extends MovieClip; var v2 = v1.prototype; v2.onEnterFrame = function () { _root.game.dadnme.bNum = this.current; }; v2.reset = function () { ++this.b; if (this.b > 9) { this.b = 0; } var v3 = _root.game.attachMovie('barrel', 'barrel' + this.b, this.b + 1000); v3._x = this._x; v3._y = this._y - 30; this.current = this.b; }; v2.b = 1; v2.current = 1; ASSetPropFlags(_global.Spawn.prototype, null, 1); } #endinitclip } movieClip 2509 __Packages.Raccoon { #initclip if (!_global.Raccoon) { var v1 = function () { super(); }; _global.Raccoon = v1; _global.Raccoon extends MovieClip; var v2 = v1.prototype; v2.onEnterFrame = function () { this.far(640); if (!_root.pausegame) { if (!this.off) { // An attempt to read a value from empty stack this.depth(_root.game.player1, _root.game.player2, 'badguy', 'barrier', _root.minb, _root.bad + 3); !this.alive ? undefined; } } }; v2.depth = function (obj1, obj2, obj3, obj4, strt, end) { if (this._y + 1 != obj1._y && this._y + 1 != obj2._y) { var v3 = strt; while (v3 < end) { if (this._y + 1 != _root.game[obj3 + v3]._y && this._y + 1 != _root.game[obj4 + v3]._y) { this.swapDepths(this._y + _root.game._y + 1); } ++v3; } } }; v2.hit = function (obj) { if (this.hitTest(obj._x + _root.game._x, obj._y + _root.game._y + obj._height / 3, true)) { this.alive = false; this.gotoAndStop('dead'); } }; v2.far = function (distance) { if (_root.players == 1) { if (Math.abs(this._x - _root.game.player1._x) > distance) { this._visible = false; this.off = true; } else { this._visible = true; this.off = false; } } else { if (_root.players == 2) { if (Math.abs(this._x - _root.game.player1._x) > distance) { if (Math.abs(this._x - _root.game.player2._x) > distance) { this._visible = false; this.off = true; } else { this._visible = true; this.off = false; } } else { this._visible = true; this.off = false; } } } }; v2.dtime = 0; v2.walk = false; v2.time = 150; v2.dir = 'left'; v2.spd = 1; v2.alive = true; ASSetPropFlags(_global.Raccoon.prototype, null, 1); } #endinitclip } movieClip 2510 __Packages.NewgroundsAPI { #initclip if (!_global.NewgroundsAPI) { var v1 = function () {}; _global.NewgroundsAPI = v1; var v2 = v1.prototype; v1.connectMovie = function (id) { if (!id) { NewgroundsAPI.SendError('Missing required \'id\' parameter in NewgroundsAPI.connectMovie(id:Number)'); } else { if (!NewgroundsAPI.tracker_id) { NewgroundsAPI.SendMessage('Connecting to API gateway...'); NewgroundsAPI.tracker_id = id; NewgroundsAPI.host = (_url.split('/'))[2].toLowerCase(); if (NewgroundsAPI.host.length < 1) { NewgroundsAPI.host = 'localhost'; } var v2 = new Object(); NewgroundsAPI.SendEvent(NewgroundsAPI.MOVIE_VIEWS); } } }; v1.setMovieVersion = function (movie_version) { if (!movie_version) { NewgroundsAPI.SendError('Missing required \'version\' in NewgroundsAPI.setMovieVersion(version:String)'); } else { NewgroundsAPI.version = movie_version; } }; v1.debugMode = function () { NewgroundsAPI.debug = true; }; v1.addCustomEvent = function (stat_id, stat_name) { if (!stat_id) { NewgroundsAPI.SendError('Missing required \'id\' parameter in NewgroundsAPI.AddCustomEvent(id:Number, event_name:String)'); } else { if (!stat_name) { NewgroundsAPI.SendError('Missing required \'event_name\' parameter in NewgroundsAPI.AddCustomEvent(id:Number, event_name:String)'); } else { NewgroundsAPI.custom_events[stat_name] = NewgroundsAPI.CUSTOM_STATS + stat_id; NewgroundsAPI.SendMessage('Created custom event: ' + stat_name); } } }; v1.addCustomLink = function (stat_id, stat_name) { if (!stat_id) { NewgroundsAPI.SendError('Missing required \'id\' parameter in NewgroundsAPI.AddCustomLink(id:Number, link_name:String)'); } else { if (!stat_name) { NewgroundsAPI.SendError('Missing required \'link_name\' parameter in NewgroundsAPI.AddCustomLink(id:Number, link_name:String)'); } else { NewgroundsAPI.custom_links[stat_name] = NewgroundsAPI.CUSTOM_STATS + stat_id; NewgroundsAPI.SendMessage('Created custom link ' + stat_id + ': ' + stat_name); } } }; v1.loadMySite = function () { NewgroundsAPI.SendLink(NewgroundsAPI.AUTHOR_SITE); }; v1.loadNewgrounds = function (special) { if (special) { var v1 = {'page': special}; } NewgroundsAPI.SendLink(NewgroundsAPI.NEWGROUNDS, v1); }; v1.logCustomEvent = function (event_name) { if (!event_name) { NewgroundsAPI.SendError('Missing required \'event_name\' parameter in NewgroundsAPI.logCustomEvent(event_name:String)'); } else { if (!NewgroundsAPI.custom_events[event_name]) { NewgroundsAPI.SendError('Attempted to log undefined custom event: ' + event_name); } else { NewgroundsAPI.SendEvent(NewgroundsAPI.custom_events[event_name]); } } }; v1.loadCustomLink = function (link_name) { if (!link_name) { NewgroundsAPI.SendError('Missing required \'link_name\' parameter in NewgroundsAPI.loadCustomLink(link_name:String)'); } else { if (!NewgroundsAPI.custom_links[link_name]) { NewgroundsAPI.SendError('Attempted to open undefined custom link: ' + link_name); } else { NewgroundsAPI.SendLink(NewgroundsAPI.custom_links[link_name]); } } }; v1.getAdURL = function () { return NewgroundsAPI.movie_options.ad_url; }; v1.getMovieURL = function () { if (NewgroundsAPI.movie_options.movie_url) { return NewgroundsAPI.movie_options.movie_url; } else { return 'Newgrounds.com'; } }; v1.getNewVersionURL = function () { return NewgroundsAPI.GATEWAY_URL + '?&id=' + NewgroundsAPI.tracker_id + '&host=' + escape(NewgroundsAPI.host) + '&stat=' + NewgroundsAPI.NEW_VERSION; }; v1.SendEvent = function (id) { NewgroundsAPI.SendStat(id, false); }; v1.SendLink = function (id, extra) { NewgroundsAPI.SendStat(id, true, extra); }; v1.ReadGatewayData = function (params) { for (var v2 in params) { params[v2] = unescape(params[v2]); NewgroundsAPI.movie_options[v2] = params[v2]; } if (params.settings_loaded) { NewgroundsAPI.SendMessage('You have successfully connected to the Newgrounds API gateway!'); NewgroundsAPI.SendMessage('Movie Identified as \'' + NewgroundsAPI.movie_options.movie_name + '\''); if (NewgroundsAPI.movie_options.message) { NewgroundsAPI.SendMessage(NewgroundsAPI.movie_options.message); } if (NewgroundsAPI.movie_options.ad_url) { NewgroundsAPI.SendMessage('Your movie has been approved to run Flash Ads'); NewgroundsAPI.onAdsApproved(NewgroundsAPI.movie_options.ad_url); } if (NewgroundsAPI.movie_options.movie_version and NewgroundsAPI.movie_options.movie_version.toString() != NewgroundsAPI.version.toString()) { NewgroundsAPI.SendMessage('WARNING: The movie version configured in your API settings does not match this movie\'s version!'); NewgroundsAPI.onNewVersionAvailable(NewgroundsAPI.movie_options.movie_version, NewgroundsAPI.getMovieURL(), NewgroundsAPI.getNewVersionURL()); } if (NewgroundsAPI.movie_options.deny_host) { NewgroundsAPI.SendMessage('You have blocked \'localHost\' in your API settings.'); NewgroundsAPI.SendMessage('If you wish to test your movie you will need to remove this block.'); NewgroundsAPI.onDenyHost(NewgroundsAPI.host, NewgroundsAPI.getMovieURL(), NewgroundsAPI.getNewVersionURL()); } if (NewgroundsAPI.movie_options.request_portal_url == 1) { var v4 = NewgroundsAPI.GATEWAY_URL + '?&id=' + NewgroundsAPI.tracker_id + '&portal_url=' + escape(_url); var v3 = new XML(); v3.ignoreWhite = true; v3.load(v4); } } else { if (!NewgroundsAPI.movie_options.settings_loaded) { NewgroundsAPI.SendError('Could not establish connection to the API gateway.'); } } }; v1.SendStat = function (stat_id, open_in_browser, extra) { if (!NewgroundsAPI.tracker_id) { NewgroundsAPI.SendError('API calls cannot be made without a valid movie id.'); NewgroundsAPI.SendError('Did you remember to add the "NewgroundsAPI.connectMovie()" code?'); } else { var v7 = NewgroundsAPI.GATEWAY_URL + '?&id=' + NewgroundsAPI.tracker_id + '&host=' + escape(NewgroundsAPI.host) + '&stat=' + stat_id; for (var v9 in extra) { v7 += '&' + escape(v9) + '=' + escape(extra[v9]); } trace(v7); if (NewgroundsAPI.debug) { v7 += '&debug=1'; } if (open_in_browser) { getURL(v7, '_blank'); } else { var v10 = new XML(); v10.ignoreWhite = true; v10.onLoad = function (success) { var v6 = new Object(); var v3 = 0; while (v3 < this.firstChild.childNodes.length) { var v4 = this.firstChild.childNodes[v3]; var v5 = v4.nodeName; var v2 = v4.attributes.value; if (v2 == Number(v2)) { v2 = Number(v2); } v6[v5] = v2; ++v3; } NewgroundsAPI.ReadGatewayData(v6); }; v10.load(v7); } } }; v1.SendError = function (msg) { trace('[NEWGROUNDS API ERROR] :: ' + msg); }; v1.SendMessage = function (msg) { trace('[NEWGROUNDS API] :: ' + msg); }; v1.InitTextFormats = function () { if (!NewgroundsAPI.error_format) { NewgroundsAPI.error_format = new TextFormat(); NewgroundsAPI.error_format.font = 'Arial Black'; NewgroundsAPI.error_format.size = 48; NewgroundsAPI.error_format.color = 16711680; } if (!NewgroundsAPI.header_format) { NewgroundsAPI.header_format = new TextFormat(); NewgroundsAPI.header_format.font = 'Arial Black'; NewgroundsAPI.header_format.size = 24; NewgroundsAPI.header_format.color = 16777215; } if (!NewgroundsAPI.normal_format) { NewgroundsAPI.normal_format = new TextFormat(); NewgroundsAPI.normal_format.font = 'Arial'; NewgroundsAPI.normal_format.bold = true; NewgroundsAPI.normal_format.size = 12; NewgroundsAPI.normal_format.color = 16777215; } if (!NewgroundsAPI.link_format) { NewgroundsAPI.link_format = new TextFormat(); NewgroundsAPI.link_format.color = 16776960; NewgroundsAPI.link_format.underline = true; } }; v1.onNewVersionAvailable = function (version, movie_url, redirect_url) { NewgroundsAPI.InitTextFormats(); var v2 = new Object(); v2.x = Stage.width / 2; v2.y = Stage.height / 2; _root.createEmptyMovieClip('NGAPI_new_version_overlay', _root.getNextHighestDepth()); _root.NGAPI_new_version_overlay.lineStyle(1, 0, 100); _root.NGAPI_new_version_overlay.beginFill(0, 70); _root.NGAPI_new_version_overlay.moveTo(-10, -10); _root.NGAPI_new_version_overlay.lineTo(-10, 1000); _root.NGAPI_new_version_overlay.lineTo(1000, 1000); _root.NGAPI_new_version_overlay.lineTo(1000, -10); _root.NGAPI_new_version_overlay.lineTo(-10, -10); _root.NGAPI_new_version_overlay.endFill(); _root.NGAPI_new_version_overlay.lineStyle(10, 0, 100); _root.NGAPI_new_version_overlay.beginFill(51); _root.NGAPI_new_version_overlay.moveTo(v2.x - 240, v2.y - 120); _root.NGAPI_new_version_overlay.lineTo(v2.x + 240, v2.y - 120); _root.NGAPI_new_version_overlay.lineTo(v2.x + 240, v2.y + 80); _root.NGAPI_new_version_overlay.lineTo(v2.x - 240, v2.y + 80); _root.NGAPI_new_version_overlay.lineTo(v2.x - 240, v2.y - 120); _root.NGAPI_new_version_overlay.endFill(); _root.NGAPI_new_version_overlay.createEmptyMovieClip('exit', 1000); _root.NGAPI_new_version_overlay.exit.lineStyle(2, 39423, 100); _root.NGAPI_new_version_overlay.exit.beginFill(0, 50); _root.NGAPI_new_version_overlay.exit.moveTo(v2.x + 210, v2.y - 110); _root.NGAPI_new_version_overlay.exit.lineTo(v2.x + 230, v2.y - 110); _root.NGAPI_new_version_overlay.exit.lineTo(v2.x + 230, v2.y - 90); _root.NGAPI_new_version_overlay.exit.lineTo(v2.x + 210, v2.y - 90); _root.NGAPI_new_version_overlay.exit.lineTo(v2.x + 210, v2.y - 110); _root.NGAPI_new_version_overlay.exit.endFill(); _root.NGAPI_new_version_overlay.exit.moveTo(v2.x + 214, v2.y - 106); _root.NGAPI_new_version_overlay.exit.lineTo(v2.x + 226, v2.y - 94); _root.NGAPI_new_version_overlay.exit.moveTo(v2.x + 226, v2.y - 106); _root.NGAPI_new_version_overlay.exit.lineTo(v2.x + 214, v2.y - 94); _root.NGAPI_new_version_overlay.exit.onMouseUp = function () { if (_root.NGAPI_new_version_overlay.exit.hitTest(_root._xmouse, _root._ymouse)) { _root.NGAPI_new_version_overlay.removeMovieClip(); } }; var v3 = 'Version ' + version + ' is now available at:' + '\n'; var v5 = v3.length; v3 += movie_url; var v4 = v3.length; _root.NGAPI_new_version_overlay.createTextField('mouseblocker', 99, -10, -10, 1000, 1000); _root.NGAPI_new_version_overlay.createTextField('newversion', 100, v2.x - 210, v2.y - 90, 400, 80); _root.NGAPI_new_version_overlay.newversion.text = 'New Version Available!'; _root.NGAPI_new_version_overlay.newversion.setTextFormat(NewgroundsAPI.header_format); _root.NGAPI_new_version_overlay.createTextField('message', 101, (Stage.width - 400) / 2, Stage.height / 2, 400, 40); _root.NGAPI_new_version_overlay.message.text = v3; _root.NGAPI_new_version_overlay.message.multiline = true; _root.NGAPI_new_version_overlay.message.wordWrap = true; _root.NGAPI_new_version_overlay.message.html = true; _root.NGAPI_new_version_overlay.message.setTextFormat(NewgroundsAPI.normal_format); NewgroundsAPI.link_format.url = redirect_url; _root.NGAPI_new_version_overlay.message.setTextFormat(v5, v4, NewgroundsAPI.link_format); }; v1.onDenyHost = function (hostname, movie_url, redirect_url) { NewgroundsAPI.InitTextFormats(); _root.createEmptyMovieClip('NGAPI_deny_host_overlay', _root.getNextHighestDepth()); _root.NGAPI_deny_host_overlay.lineStyle(20, 0, 100); _root.NGAPI_deny_host_overlay.beginFill(6684672); _root.NGAPI_deny_host_overlay.moveTo(0, 0); _root.NGAPI_deny_host_overlay.lineTo(Stage.width, 0); _root.NGAPI_deny_host_overlay.lineTo(Stage.width, Stage.height); _root.NGAPI_deny_host_overlay.lineTo(0, Stage.height); _root.NGAPI_deny_host_overlay.lineTo(0, 0); _root.NGAPI_deny_host_overlay.endFill(); var v2 = 'This movie has not been approved for use on ' + hostname + '.'; v2 += '\r\rFor an aproved copy, please visit:\r'; var v4 = v2.length; v2 += movie_url; var v3 = v2.length; _root.NGAPI_deny_host_overlay.createTextField('mousekill', 100, 0, 0, Stage.width, Stage.height); _root.NGAPI_deny_host_overlay.createTextField('error', 101, (Stage.width - 400) / 2, Stage.height / 2 - 100, 400, 200); _root.NGAPI_deny_host_overlay.error.text = 'ERROR!'; _root.NGAPI_deny_host_overlay.error.setTextFormat(NewgroundsAPI.error_format); _root.NGAPI_deny_host_overlay.createTextField('message', 102, (Stage.width - 400) / 2, Stage.height / 2, 400, 200); _root.NGAPI_deny_host_overlay.message.text = v2; _root.NGAPI_deny_host_overlay.message.multiline = true; _root.NGAPI_deny_host_overlay.message.wordWrap = true; _root.NGAPI_deny_host_overlay.message.html = true; _root.NGAPI_deny_host_overlay.message.setTextFormat(NewgroundsAPI.normal_format); NewgroundsAPI.link_format.url = redirect_url; _root.NGAPI_deny_host_overlay.message.setTextFormat(v4, v3, NewgroundsAPI.link_format); }; v1.isInstalled = function () { return true; }; v1.onAdsApproved = function (ad_url) {}; v1.movie_options = new Object(); v1.custom_events = new Object(); v1.custom_links = new Object(); v1.MOVIE_VIEWS = 1; v1.AUTHOR_SITE = 2; v1.NEWGROUNDS = 3; v1.NEW_VERSION = 4; v1.CUSTOM_STATS = 50; v1.GATEWAY_URL = 'http://www.ngads.com/gateway.php'; ASSetPropFlags(_global.NewgroundsAPI.prototype, null, 1); } #endinitclip } movieClip 2511 __Packages.ab3.rankz.Armor_Bot_30_En_AS1 { #initclip if (!_global.ab3) { _global.ab3 = new Object(); } if (!_global.ab3.rankz) { _global.ab3.rankz = new Object(); } if (!_global.ab3.rankz.Armor_Bot_30_En_AS1) { var v1 = function () { super(); }; ab3.rankz.Armor_Bot_30_En_AS1 = v1; ab3.rankz.Armor_Bot_30_En_AS1 extends Object; var v2 = v1.prototype; v1.Encode = function (str) { var v1 = new ab3.rankz.Armor_Bot_30_En_AS1(); return v1.encodeArmor_Bot_30_En_AS1(str); }; v1.Decode = function (str) { var v1 = new ab3.rankz.Armor_Bot_30_En_AS1(); return v1.decodeArmor_Bot_30_En_AS1(str); }; v1.StringReplaceAll = function (source, find, replacement) { return (source.split(find)).join(replacement); }; v1.InitReverseChars = function () { ab3.rankz.Armor_Bot_30_En_AS1._CharsReverseLookup = new Array(); var v1 = 0; while (v1 < ab3.rankz.Armor_Bot_30_En_AS1._Chars.length) { ab3.rankz.Armor_Bot_30_En_AS1._CharsReverseLookup[ab3.rankz.Armor_Bot_30_En_AS1._Chars[v1]] = v1; ++v1; } return true; }; v1.UrlDecode = function (str) { str = ab3.rankz.Armor_Bot_30_En_AS1.StringReplaceAll(str, '\\', ' '); str = unescape(str); return str; }; v1.UrlEncode = function (str) { str = escape(str); str = ab3.rankz.Armor_Bot_30_En_AS1.StringReplaceAll(str, '\\', '%2B'); str = ab3.rankz.Armor_Bot_30_En_AS1.StringReplaceAll(str, '%20', '+'); return str; }; v2.setArmor_Bot_30_En_AS1Str = function (str) { this._Armor_Bot_30_En_AS1Str = str; this._Armor_Bot_30_En_AS1Count = 0; }; v2.readArmor_Bot_30_En_AS1 = function () { if (!this._Armor_Bot_30_En_AS1Str) { return ab3.rankz.Armor_Bot_30_En_AS1._EndOfInput; } if (this._Armor_Bot_30_En_AS1Count >= this._Armor_Bot_30_En_AS1Str.length) { return ab3.rankz.Armor_Bot_30_En_AS1._EndOfInput; } var v2 = this._Armor_Bot_30_En_AS1Str.charCodeAt(this._Armor_Bot_30_En_AS1Count) & 255; ++this._Armor_Bot_30_En_AS1Count; return v2; }; v2.encodeArmor_Bot_30_En_AS1 = function (str) { this.setArmor_Bot_30_En_AS1Str(str); var v3 = ''; var v2 = new Array(3); var v5 = 0; var v4 = false; for (;;) { if (!(!v4 && v2[0] != ab3.rankz.Armor_Bot_30_En_AS1._EndOfInput)) break; v2[1] = this.readArmor_Bot_30_En_AS1(); v2[2] = this.readArmor_Bot_30_En_AS1(); v3 += ab3.rankz.Armor_Bot_30_En_AS1._Chars[v2[0] >> 2]; if (v2[1] != ab3.rankz.Armor_Bot_30_En_AS1._EndOfInput) { v3 += ab3.rankz.Armor_Bot_30_En_AS1._Chars[v2[0] << 4 & 48 | v2[1] >> 4]; if (v2[2] != ab3.rankz.Armor_Bot_30_En_AS1._EndOfInput) { v3 += ab3.rankz.Armor_Bot_30_En_AS1._Chars[v2[1] << 2 & 60 | v2[2] >> 6]; v3 += ab3.rankz.Armor_Bot_30_En_AS1._Chars[v2[2] & 63]; } else { v3 += ab3.rankz.Armor_Bot_30_En_AS1._Chars[v2[1] << 2 & 60]; v3 += '='; v4 = true; } } else { v3 += ab3.rankz.Armor_Bot_30_En_AS1._Chars[v2[0] << 4 & 48]; v3 += '='; v3 += '='; v4 = true; } v5 += 4; if (v5 >= 76) { v3 += '\n'; v5 = 0; } } return v3; }; v2.readReverseArmor_Bot_30_En_AS1 = function () { if (!this._Armor_Bot_30_En_AS1Str) { return ab3.rankz.Armor_Bot_30_En_AS1._EndOfInput; } while (!false) { if (this._Armor_Bot_30_En_AS1Count >= this._Armor_Bot_30_En_AS1Str.length) { return ab3.rankz.Armor_Bot_30_En_AS1._EndOfInput; } var v2 = this._Armor_Bot_30_En_AS1Str.charAt(this._Armor_Bot_30_En_AS1Count); ++this._Armor_Bot_30_En_AS1Count; if (ab3.rankz.Armor_Bot_30_En_AS1._CharsReverseLookup[v2]) { return ab3.rankz.Armor_Bot_30_En_AS1._CharsReverseLookup[v2]; } if (v2 == 'A') { return 0; } } return ab3.rankz.Armor_Bot_30_En_AS1._EndOfInput; }; v2.ntos = function (n) { var v1 = n.toString(16); if (v1.length == 1) { v1 = '0' + v1; } v1 = '%' + v1; return unescape(v1); }; v2.decodeArmor_Bot_30_En_AS1 = function (str) { this.setArmor_Bot_30_En_AS1Str(str); var v3 = ''; var v2 = new Array(4); var v4 = false; for (;;) { if (!(!v4 && v2[0] != ab3.rankz.Armor_Bot_30_En_AS1._EndOfInput && v2[1] != ab3.rankz.Armor_Bot_30_En_AS1._EndOfInput)) break; v2[2] = this.readReverseArmor_Bot_30_En_AS1(); v2[3] = this.readReverseArmor_Bot_30_En_AS1(); v3 += this.ntos(v2[0] << 2 & 255 | v2[1] >> 4); if (v2[2] != ab3.rankz.Armor_Bot_30_En_AS1._EndOfInput) { v3 += this.ntos(v2[1] << 4 & 255 | v2[2] >> 2); if (v2[3] != ab3.rankz.Armor_Bot_30_En_AS1._EndOfInput) { v3 += this.ntos(v2[2] << 6 & 255 | v2[3]); } else { v4 = true; } } else { v4 = true; } } return v3; }; v2.toHex = function (n) { var v4 = ''; var v3 = true; var v1 = 32; while (v1 > 0) { v1 -= 4; var v2 = n >> v1 & 15; if (!v3 || v2 != 0) { v3 = false; v4 += ab3.rankz.Armor_Bot_30_En_AS1._Digits[v2]; } } return (v4 == '') ? '0' : v4; }; v2.pad = function (str, len, pad) { var v2 = str; var v1 = str.length; while (v1 < len) { v2 = pad + v2; ++v1; } return v2; }; v2.encodeHex = function (str) { var v4 = ''; var v2 = 0; while (v2 < str.length) { v4 += this.pad(this.toHex(str.charCodeAt(v2) & 255), 2, '0'); ++v2; } return v4; }; v2.decodeHex = function (str) { var v5 = ''; var v3 = ''; var v2 = 0; while (v2 < str.length) { v3 += str.charAt(v2); if (v3.length == 2) { v5 += this.ntos(parseInt('0x' + v3)); v3 = ''; } ++v2; } return v5; }; v1._EndOfInput = -1; v1._Chars = new Array('A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '+', '/'); v1._CharsReverseLookupInited = ab3.rankz.Armor_Bot_30_En_AS1.InitReverseChars(); v1._Digits = new Array('0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b', 'c', 'd', 'e', 'f'); ASSetPropFlags(ab3.rankz.Armor_Bot_30_En_AS1.prototype, null, 1); } #endinitclip } frame 2 { function onEnterFrame() { if (a > 192) { _root.backmask.play(); a = 192; } else { ++a; } } stop(); NewgroundsAPI.connectMovie(304); var a = 0; _global.clock = false; _global.dadnme = false; _global.flathead = false; _global.picowin = false; _global.nenewin = false; _global.darnellwin = false; } button 2147 { on (release) { NewgroundsAPI.loadNewgrounds(); } } button 2152 { on (release) { NewgroundsAPI.loadNewgrounds(); } } movieClip 2153 { } movieClip 2154 { frame 1 { function startAd(ngad_url) { trace('opening ' + ngad_url); System.security.allowDomain('70.87.128.99'); System.security.allowInsecureDomain('70.87.128.99'); System.security.allowDomain('ads.shizmoo.com'); System.security.allowInsecureDomain('ads.shizmoo.com'); System.security.allowDomain('www.cpmstar.com'); System.security.allowInsecureDomain('www.cpmstar.com'); System.security.allowDomain('server.cpmstar.com'); System.security.allowInsecureDomain('server.cpmstar.com'); var ngads_redirect = new XML(); ngads_redirect.ignoreWhite = true; ngads_redirect.onLoad = function (success) { trace('[NEWGROUNDS FLASH ADS] :: You may get a \'Security Sandbox Violation\' ... this is normal, do not freak out!'); if (success) { ng_ad.loadMovie(ngads_redirect.toString(), 'GET'); } else {} }; ngads_redirect.load(ngad_url); } if (NewgroundsAPI.getAdURL()) { startAd(NewgroundsAPI.getAdURL()); } NewgroundsAPI.onAdsApproved = function (ad_url) { startAd(ad_url); }; stop(); } } instance of movieClip 2154 { onClipEvent (release) { NewgroundsAPI.loadNewgrounds(); } } movieClip 2157 { frame 41 { stop(); } } movieClip 2160 { frame 1 { stop(); } frame 41 { _root.nextFrame(); stop(); } } frame 3 { stop(); _global.instruct = false; _global.credit = false; _global.going = false; if (_root.music == undefined) { _root.music = new Sound(_root); _root.music.attachSound('loomingpicabyss'); _root.music.start(0, 9999); _root.vol = 100; _root.voldown = false; } } movieClip 2166 { frame 7 { stop(); } } movieClip 2168 { frame 5 { stop(); } } button 2169 { on (release) { _root.tri.gotoAndPlay(2); _root.loompica.removeMovieClip(); } } button 2173 { on (release) { if (!_global.going) { if (!_global.instruct && _global.credit) { _root.menuu.gotoAndPlay('cti'); } else { if (_global.instruct && !_global.credit) { _root.menuu.gotoAndPlay('oneone'); } else { _root.menuu.gotoAndPlay('one'); } } } } } button 2176 { on (release) { if (!_global.going) { if (_global.instruct && !_global.credit) { _root.menuu.gotoAndPlay('itc'); } else { if (_global.credit && !_global.instruct) { _root.menuu.gotoAndPlay('twotwo'); } else { _root.menuu.gotoAndPlay('two'); } } } } } button 2182 { on (release) { if (_global.going == false) { _root.menuu.gotoAndPlay('oneone'); } } } movieClip 2184 { frame 1 { stop(); } } button 2193 { on (release) { getURL('http://www.newgrounds.com/', '_blank'); } } button 2197 { on (release) { getURL('http://www.camp-north.net/', '_blank'); } } button 2198 { on (release) { if (_global.going == false) { _root.menuu.gotoAndPlay('twotwo'); } } } movieClip 2199 { } movieClip 2212 { frame 1 { stop(); _global.instruct = false; _global.credit = false; _global.going = false; } frame 2 { _global.going = true; } frame 50 { stop(); _global.instruct = true; _global.credit = false; _global.going = false; } frame 51 { _global.going = true; } frame 101 { gotoAndStop('none'); } frame 102 { _global.going = true; } frame 150 { stop(); _global.credit = true; _global.instruct = false; _global.going = false; } frame 151 { _global.going = true; } frame 201 { gotoAndStop('none'); } frame 202 { _global.going = true; } frame 252 { gotoAndStop('instructions'); } frame 253 { _global.going = true; } frame 303 { gotoAndStop('credit'); } } movieClip 2214 { frame 30 { stop(); } } movieClip 2215 { frame 1 { stop(); } frame 31 { _root.gotoAndStop('character'); } } movieClip 2216 { frame 30 { stop(); } } movieClip 2217 { frame 30 { stop(); } } frame 4 { function onEnterFrame() { if (_root.voldown) { _root.vol -= 5; _root.music.setVolume(_root.vol); if (_root.vol <= 5) { _root.music.stop(); } } if (_root.players == 1) { _root.iDarnell2._visible = false; _root.iPico2._visible = false; _root.iNene2._visible = false; _root.iSec2._visible = false; _root.player2 = null; _root.box2.swapDepths(_root.getNextHighestDepth()); _root.box2.removeMovieClip(); } else { _root.iDarnell2._visible = true; _root.iPico2._visible = true; _root.iNene2._visible = true; _root.iSec2._visible = true; } } function select(obj, number, type) { if (_root.tri2._currentframe < 2) { var a = _root.createEmptyMovieClip('box' + number, 10 + number); with (a) { beginFill(0, 50); moveTo(0, 0); lineTo(8, 4); lineTo(5, 5); lineTo(4, 8); lineTo(0, 0); _x = obj._x - 15; _y = obj._y - 15; } if (number != 0) { _root['player' + number] = type; } } } stop(); _root.dbad = 0; _root.players = 1; _root.player1; _root.player2; _root.iDarnell.sel = false; _root.iPico.sel = false; _root.iNene.sel = false; _root.iSec.sel = false; _root.iDarnell2.sel = false; _root.iPico2.sel = false; _root.iNene2.sel = false; _root.iSec2.sel = false; _root.pOne.sel = true; _root.pTwo.sel = false; select(_root.pOne, 0, 'USELESS'); _root.iDarnell.onRelease = function () { _root.iDarnell.sel = true; _root.iPico.sel = false; _root.iNene.sel = false; _root.iSec.sel = false; select(_root.iDarnell, 1, 'DARNELL'); }; _root.iPico.onRelease = function () { _root.iDarnell.sel = false; _root.iPico.sel = true; _root.iNene.sel = false; _root.iSec.sel = false; select(_root.iPico, 1, 'PICO'); }; _root.iNene.onRelease = function () { _root.iDarnell.sel = false; _root.iPico.sel = false; _root.iNene.sel = true; _root.iSec.sel = false; select(_root.iNene, 1, 'NENE'); }; _root.iSec.onRelease = function () { if (_root.iSec._currentframe < 4) { _root.iDarnell.sel = false; _root.iPico.sel = false; _root.inene.sel = false; _root.iSec.sel = true; select(_root.iSec, 1, 'SPECIAL'); } }; _root.iDarnell2.onRelease = function () { _root.iDarnell2.sel = true; _root.iPico2.sel = false; _root.iNene2.sel = false; _root.iSec2.sel = false; select(_root.iDarnell2, 2, 'DARNELL'); }; _root.iPico2.onRelease = function () { _root.iDarnell2.sel = false; _root.iPico2.sel = true; _root.iNene2.sel = false; _root.iSec2.sel = false; select(_root.iPico2, 2, 'PICO'); }; _root.iNene2.onRelease = function () { _root.iDarnell2.sel = false; _root.iPico2.sel = false; _root.iNene2.sel = true; _root.iSec2.sel = false; select(_root.iNene2, 2, 'NENE'); }; _root.iSec2.onRelease = function () { if (_root.iSec2._currentframe < 4) { _root.iDarnell2.sel = false; _root.iPico2.sel = false; _root.iNene2.sel = false; _root.iSec2.sel = true; select(_root.iSec2, 2, 'SPECIAL'); } }; _root.pOne.onRelease = function () { _root.pOne.sel = true; _root.pTwo.sel = false; _root.players = 1; select(_root.pOne, 0, 'USELESS'); }; _root.pTwo.onRelease = function () { _root.pOne.sel = false; _root.pTwo.sel = true; _root.players = 2; select(_root.pTwo, 0, 'USELESS'); }; _root.nextbut.onRelease = function () { if (_root.players == 1) { if (_root.box0._x != undefined) { if (_root.box1._x != undefined) { _root.tri2.swapDepths(_root.getNextHighestDepth()); _root.tri2.gotoAndPlay(2); _root.box0.swapDepths(_root.getNextHighestDepth() + 2); _root.box0.removeMovieClip(); _root.box1.swapDepths(_root.getNextHighestDepth() + 4); _root.box1.removeMovieClip(); _root.voldown = true; if (_root.player1 == 'SPECIAL') { if (_root.iSec._currentframe == 1) { _root.player1 = 'CLOCK'; } else { if (_root.iSec._currentframe == 2) { _root.player1 = 'FLATHEAD'; } else { if (_root.iSec._currentframe == 3) { _root.player1 = 'DADNME'; } } } } } } } else { if (_root.players == 2) { if (_root.box0._x != undefined) { if (_root.box1._x != undefined) { if (_root.box2._x != undefined) { if (_root.player1 == 'SPECIAL') { if (_root.iSec._currentframe == 1) { _root.player1 = 'CLOCK'; } else { if (_root.iSec._currentframe == 2) { _root.player1 = 'FLATHEAD'; } else { if (_root.iSec._currentframe == 3) { _root.player1 = 'DADNME'; } } } } if (_root.player2 == 'SPECIAL') { if (_root.iSec2._currentframe == 1) { _root.player2 = 'CLOCK'; } else { if (_root.iSec2._currentframe == 2) { _root.player2 = 'FLATHEAD'; } else { if (_root.iSec2._currentframe == 3) { _root.player2 = 'DADNME'; } } } } _root.tri2.swapDepths(_root.getNextHighestDepth()); _root.tri2.gotoAndPlay(2); _root.box0.swapDepths(_root.getNextHighestDepth() + 2); _root.box0.removeMovieClip(); _root.box1.swapDepths(_root.getNextHighestDepth() + 4); _root.box1.removeMovieClip(); _root.box2.swapDepths(_root.getNextHighestDepth() + 6); _root.box2.removeMovieClip(); _root.voldown = true; } } } } } }; _root.backbut.onRelease = function () { _root.tri.gotoAndPlay(2); }; if (_global.picowin || _global.nenewin || _global.darnellwin) { _global.clock = true; } if (_global.picowin && _global.nenewin || _global.picowin && _global.darnellwin || _global.darnellwin && _global.nenewin) { _global.flathead = true; } if (_global.picowin && _global.nenewin && _global.darnellwin) { _global.dadnme = true; } } movieClip 2232 { frame 1 { stop(); } frame 31 { _root.vol = 100; _root.nextFrame(); } } movieClip 2233 { frame 1 { stop(); } frame 31 { _root.gotoAndStop('menu'); } } button 2247 { on (release) { if (_root.iSec._currentframe == 6) { _root.iSec.gotoAndStop(1); } else { _root.iSec.nextFrame(); } } } button 2248 { on (release) { if (_root.iSec2._currentframe == 6) { _root.iSec2.gotoAndStop(1); } else { _root.iSec2.nextFrame(); } } } movieClip 2258 { frame 1 { stop(); } frame 1 { if (!_global.clock) { gotoAndStop(4); } } frame 2 { if (!_global.flathead) { gotoAndStop(5); } } frame 3 { if (!_global.dadnme) { gotoAndStop(6); } } frame 4 { if (_global.clock) { gotoAndStop(1); } } frame 5 { if (_global.flathead) { gotoAndStop(2); } } frame 6 { if (_global.dadnme) { gotoAndStop(3); } } } instance iSec of movieClip 2258 { onClipEvent (enterFrame) { if (sel) { if (_currentframe > 3) { _root.box1.removeMovieClip(); } } } } instance iSec2 of movieClip 2258 { onClipEvent (enterFrame) { if (sel) { if (_currentframe > 3) { _root.box2.removeMovieClip(); } } if (_root.players == 1) { _root.arr2._visible = false; } else { _root.arr2._visible = true; } } } movieClip 2260 { } movieClip 2261 { frame 31 { stop(); } } frame 5 { stop(); _root.vol = 100; _root.voldown = false; } movieClip 2265 { } movieClip 2279 { } movieClip 2283 { } movieClip 2325 { } movieClip 2329 { } movieClip 2330 { } movieClip 2334 { } movieClip 2339 { } movieClip 2342 { } movieClip 2345 { } movieClip 2346 { } movieClip 2349 { } movieClip 2352 { } movieClip 2355 { } movieClip 2356 { } movieClip 2361 { } movieClip 2364 { } movieClip 2367 { } movieClip 2370 { } movieClip 2376 { } movieClip 2382 { instance of movieClip 2376 { onClipEvent (enterFrame) { this._alpha -= 5; } } instance of movieClip 2376 { onClipEvent (load) { this._alpha = 0; } } } movieClip 2383 { frame 2007 { _root.nextFrame(); } } button 2388 { on (release) { _root.nextFrame(); } } frame 6 { function onEnterFrame() { ++time_in; if (_root.go) { if (_root.players == 1) { if (_root.game.player1._x >= 400 && _root.game.player1._x < 3200) { if (_root.game.player1.alive) { xd = Math.floor((_root.game.player1._x + _root.game._x - 360) * 0.07000000000000001); _root.game._x -= xd; _root.game.hp1._x += xd; _root.game.hp2._x += xd; _root.game.pic1._x += xd; _root.game.pic2._x += xd; _root.game.dp1._x += xd; _root.game.dp2._x += xd; _root.game.clouds._x += xd / 1.02; _root.game.gBorder._x += xd; _root.game.dadnmehp._x += xd; } } } else { if (_root.players == 2) { if (_root.game.player1._x >= 500 && _root.game.player1._x < 3100 && _root.game.player1.alive || !_root.game.player1.alive && _root.game.player2._x < 3100 && _root.game.player2._x > 500) { if (_root.game.player1.alive) { xd = Math.floor((_root.game.player1._x + _root.game._x - 360) * 0.07000000000000001); } else { xd = Math.floor((_root.game.player2._x + _root.game._x - 360) * 0.07000000000000001); } if (_root.game.player1.alive && _root.game.player2.alive) { if (Math.abs(_root.game.player1._x - _root.game.player2._x) < 250) { _root.game._x -= xd; _root.game.hp1._x += xd; _root.game.hp2._x += xd; _root.game.pic1._x += xd; _root.game.pic2._x += xd; _root.game.clouds._x += xd / 1.02; _root.game.gBorder._x += xd; _root.game.dadnmehp._x += xd; } } else { if (_root.game.player1.alive) { _root.game._x -= xd; _root.game.hp1._x += xd; _root.game.hp2._x += xd; _root.game.pic1._x += xd; _root.game.pic2._x += xd; _root.game.clouds._x += xd / 1.02; _root.game.gBorder._x += xd; _root.game.dadnmehp._x += xd; } else { if (_root.game.player2.alive) { _root.game._x -= xd; _root.game.hp1._x += xd; _root.game.hp2._x += xd; _root.game.pic1._x += xd; _root.game.pic2._x += xd; _root.game.clouds._x += xd / 1.02; _root.game.gBorder._x += xd; _root.game.dadnmehp._x += xd; } else {} } } } } } } if (_root.dbad >= _root.fbad) { if (_root.level < 3) { if (!_root.finish) { _root.finish = true; var v5 = _root.attachMovie('lcstats', 'lcstats', _root.getNextHighestDepth()); v5._x = 0; v5._y = 0; _root.game.player1.removeMovieClip(); _root.game.player2.removeMovieClip(); _root.game.front.removeMovieClip(); var v3 = 0; while (v3 < 60) { _root.game['badguy' + v3].removeMovieClip(); _root.game['barrel' + v3].removeMovieClip(); _root.game['barrier' + v3].removeMovieClip(); _root.game['bush' + v3].removeMovieClip(); _root.game['b_hp' + v3].removeMovieClip(); _root.game['raccoon' + v3].removeMovieClip(); ++v3; } this.removeMovieClip(); } } } qualities(81); pauses(80); var v6 = Math.round(1000 / (getTimer() - pt)); pt = getTimer(); _root.fr.frameRate.text = v6 + ' FPS // ' + _root.dbad + ' / ' + _root.fbad; _root.fr.swapDepths(100000); if (!_root.finish && time_in > 20) { if (_currentframe == 6) { if (_root.players == 1) { if (!_root.game.player1.alive) { var v4 = 0; while (v4 < 61) { _root.game['barrel' + v4].removeMovieClip(); _root.game['badguy' + v4].removeMovieClip(); _root.game.player1.removeMovieClip(); _root.game['barrier' + v4].removeMovieClip(); _root.game['bush' + v4].removeMovieClip(); _root.game['b_hp' + v4].removeMovieClip(); ++v4; } az = 0; while (az < 3) { _root.game['pic' + az].removeMovieClip(); _root.game['hp' + az].removeMovieClip(); _root.game['dp' + az].removeMovieClip(); _root.game['raccoon' + az].removeMovieClip(); ++az; } _root.gotoAndStop('lose'); } } else { if (_root.players == 2) { if (!_root.game.player1.alive && !_root.game.player2.alive) { var v4 = 0; while (v4 < 61) { _root.game['barrel' + v4].removeMovieClip(); _root.game['badguy' + v4].removeMovieClip(); _root.game.player1.removeMovieClip(); _root.game['barrier' + v4].removeMovieClip(); _root.game['bush' + v4].removeMovieClip(); _root.game['b_hp' + v4].removeMovieClip(); ++v4; } az = 0; while (az < 3) { _root.game['pic' + az].removeMovieClip(); _root.game['hp' + az].removeMovieClip(); _root.game['dp' + az].removeMovieClip(); _root.game['raccoon' + az].removeMovieClip(); ++az; } _root.gotoAndStop('lose'); } } } } } } function qualities(key) { if (Key.isDown(key)) { if (qchange) { qchange = false; if (_quality == 'LOW') { _quality = 'HIGH'; } else { _quality = 'LOW'; } } } else { qchange = true; } } function pauses(key2) { if (_currentframe == 6) { if (Key.isDown(key2)) { if (pchange) { pchange = false; if (_root.pausegame) { _root.pausegame = false; a.removeMovieClip(); } else { if (!_root.pausegame) { _root.pausegame = true; a = _root.attachMovie('pausemenu', 'pausemenu', _root.getNextHighestDepth()); } } } } else { pchange = true; } } } stop(); var time_in = 0; var xd; var qchange; var pchange; var pt = getTimer(); var a; _root.nFrame = false; _root.dbad = 0; _root.finish = false; _root.fbad = 30; _root.go = true; _root.level = 1; _root.pausegame = false; _quality = 'LOW'; } movieClip 2391 { } movieClip 2394 { } movieClip 2399 { } movieClip 2402 { } movieClip 2409 { } movieClip 2416 { } movieClip 2423 { } movieClip 2427 { } movieClip 2431 { } movieClip 2435 { } movieClip 2436 { } movieClip 2438 { } movieClip 2441 { } movieClip 2444 { } movieClip 2447 { } movieClip 2450 { } movieClip 2453 { } movieClip 2454 { frame 1 { function onEnterFrame() { if (_root.begin > 138) { _root.dnmstart.removeMovieClip(); } var v2 = _root.minb - 1; while (v2 < _root.bad + 2) { if (_root.game['badguy' + v2]._x != undefined) { _root.minb = v2 - 3; break; } ++v2; } ++_root.begin; } stopAllSounds(); _root.game.music = new Sound(this); _root.game.music.attachSound('brickbuilder'); _root.game.music.start(0, 9999); _root.bad = 8; _root.sbad = 0; _root.dbad = 0; _root.fbad = 25; _root.mbad = 35; _root.minb = 0; _root.begin = 0; _global.raccoons = 0; _root.fraccoons = 2; _root.bars = 9; _root.pspot = [3292.5, 249.3]; _root.finish = false; var a = _root.game.attachMovie('dnmstart', 'dnmstart', 10030); a._x = 530; a._y = 140.3; } frame 1 { stop(); gotoAndStop(_root.level); var a; var b; if (_root.players == 1) { if (_root.player1 == 'PICO') { a = _root.game.attachMovie('pico', 'player1', _root.getNextHighestDepth()); } else { if (_root.player1 == 'NENE') { a = _root.game.attachMovie('nene', 'player1', _root.getNextHighestDepth()); } else { if (_root.player1 == 'DARNELL') { a = _root.game.attachMovie('darnell', 'player1', _root.getNextHighestDepth()); } } } if (_root.player1 == 'CLOCK') { a = _root.game.attachMovie('clockp', 'player1', _root.getNextHighestDepth()); a.secret = true; } if (_root.player1 == 'DADNME') { a = _root.game.attachMovie('dadnmep', 'player1', _root.getNextHighestDepth()); a.secret = true; a.dadnme = true; } if (_root.player1 == 'FLATHEAD') { a = _root.game.attachMovie('flatheadp', 'player1', _root.getNextHighestDepth()); a.secret = true; a.dadnme = true; } a._x = 150; a._y = 200; a.number = 1; a.keyset = [65, 68, 87, 83, 70, 71, 72]; a._xscale *= -1; } else { if (_root.players == 2) { if (_root.player1 == 'PICO') { a = _root.game.attachMovie('pico', 'player1', _root.getNextHighestDepth()); } else { if (_root.player1 == 'NENE') { a = _root.game.attachMovie('nene', 'player1', _root.getNextHighestDepth()); } else { if (_root.player1 == 'DARNELL') { a = _root.game.attachMovie('darnell', 'player1', _root.getNextHighestDepth()); } } } if (_root.player1 == 'CLOCK') { a = _root.game.attachMovie('clockp', 'player1', _root.getNextHighestDepth()); a.secret = true; } if (_root.player1 == 'DADNME') { a = _root.game.attachMovie('dadnmep', 'player1', _root.getNextHighestDepth()); a.secret = true; a.dadnme = true; } if (_root.player1 == 'FLATHEAD') { a = _root.game.attachMovie('flatheadp', 'player1', _root.getNextHighestDepth()); a.secret = true; a.dadnme = true; } a._x = 150; a._y = 200; a.number = 1; a.keyset = [65, 68, 87, 83, 70, 71]; a._xscale *= -1; if (_root.player2 == 'PICO') { b = _root.game.attachMovie('pico', 'player2', _root.getNextHighestDepth() + 1); } else { if (_root.player2 == 'NENE') { b = _root.game.attachMovie('nene', 'player2', _root.getNextHighestDepth() + 1); } else { if (_root.player2 == 'DARNELL') { b = _root.game.attachMovie('darnell', 'player2', _root.getNextHighestDepth() + 1); } } } if (_root.player2 == 'CLOCK') { b = _root.game.attachMovie('clockp', 'player2', _root.getNextHighestDepth() + 1); b.secret = true; } if (_root.player2 == 'DADNME') { b = _root.game.attachMovie('dadnmep', 'player2', _root.getNextHighestDepth() + 1); b.secret = true; b.dadnme = true; } if (_root.player2 == 'FLATHEAD') { b = _root.game.attachMovie('flatheadp', 'player2', _root.getNextHighestDepth() + 1); b.secret = true; b.dadnme = true; } b._x = 150; b._y = 250; b.number = 2; b.keyset = [37, 39, 38, 40, 74, 75]; b._xscale *= -1; } } } instance badguy2 of movieClip 1986 clock { onClipEvent (load) { id = 2; bgtype = 'clock'; } } instance badguy1 of movieClip 1917 flathead { onClipEvent (load) { id = 1; bgtype = 'flathead'; } } instance badguy3 of movieClip 1917 flathead { onClipEvent (load) { id = 3; bgtype = 'flathead'; } } instance badguy4 of movieClip 1917 flathead { onClipEvent (load) { id = 4; bgtype = 'flathead'; } } instance badguy5 of movieClip 1917 flathead { onClipEvent (load) { id = 5; bgtype = 'flathead'; } } instance badguy6 of movieClip 1986 clock { onClipEvent (load) { id = 6; bgtype = 'clock'; } } instance badguy7 of movieClip 1986 clock { onClipEvent (load) { id = 7; bgtype = 'clock'; } } instance badguy8 of movieClip 1917 flathead { onClipEvent (load) { id = 8; bgtype = 'flathead'; } } instance barrier5 of movieClip 1848 barrier { onClipEvent (load) { gotoAndStop(2); var big = false; fFrame = 2; } } instance barrier1 of movieClip 1848 barrier { onClipEvent (load) { gotoAndStop(6); var big = false; fFrame = 6; } } instance barrier6 of movieClip 1848 barrier { onClipEvent (load) { gotoAndStop(7); var big = false; fFrame = 7; } } instance barrier2 of movieClip 1848 barrier { onClipEvent (load) { gotoAndStop(4); var big = false; fFrame = 4; } } instance bush1 of movieClip 1829 bush { onClipEvent (load) { gotoAndStop(3); } } instance barrier7 of movieClip 1848 barrier { onClipEvent (load) { gotoAndStop(5); var big = false; fFrame = 5; } } instance barrier8 of movieClip 1848 barrier { onClipEvent (load) { gotoAndStop(3); var big = false; fFrame = 3; } } instance barrier9 of movieClip 1848 barrier { onClipEvent (load) { gotoAndStop(5); var big = false; fFrame = 5; } } instance bush4 of movieClip 1829 bush { onClipEvent (load) { gotoAndStop(5); } } instance barrier3 of movieClip 1848 barrier { onClipEvent (load) { gotoAndStop(7); var big = false; fFrame = 7; } } instance barrier4 of movieClip 1848 barrier { onClipEvent (load) { gotoAndStop(6); var big = false; fFrame = 6; } } instance bush2 of movieClip 1829 bush { onClipEvent (load) { gotoAndStop(3); } } instance bush3 of movieClip 1829 bush { onClipEvent (load) { gotoAndStop(5); } } instance spawn1 of movieClip 1788 Spawn { onClipEvent (load) { var spots = [377, 243, 2486, 269]; } } instance front of movieClip 2402 { onClipEvent (load) { swapDepths(999); } } instance pic1 of movieClip 2436 { onClipEvent (load) { level = _root.level; } onClipEvent (enterFrame) { swapDepths(10000); gotoAndStop(_root.player1); if (level != _root.level) { this.removeMovieClip(); } } } instance hp1 of movieClip 1770 Health { onClipEvent (load) { object = _root.game.player1; gotoAndStop(_root.player1); lvl = 1; } onClipEvent (enterFrame) { swapDepths(10001); } } instance pic2 of movieClip 2436 { onClipEvent (load) { level = _root.level; } onClipEvent (enterFrame) { swapDepths(10002); if (_root.players == 2) { gotoAndStop(_root.player2); } else { _visible = false; } if (level != _root.level) { this.removeMovieClip(); } } } instance hp2 of movieClip 1770 Health { onClipEvent (load) { object = _root.game.player2; gotoAndStop(_root.player2); lvl = 1; } onClipEvent (enterFrame) { swapDepths(10003); if (_root.players == 1) { _visible = false; } } } instance dp1 of movieClip 1763 defensebar { onClipEvent (load) { object = _root.game.player1; gotoAndStop(_root.player1); lvl = 1; } onClipEvent (enterFrame) { swapDepths(10004); } } instance dp2 of movieClip 1763 defensebar { onClipEvent (load) { object = _root.game.player2; gotoAndStop(_root.player2); lvl = 1; } onClipEvent (enterFrame) { swapDepths(10005); if (_root.players == 1) { _visible = false; } } } frame 2 { function onEnterFrame() { if (_root.begin > 138) { _root.dnmstart.removeMovieClip(); } var v2 = _root.minb - 1; while (v2 < _root.bad + 2) { if (_root.game['badguy' + v2]._x != undefined) { _root.minb = v2; break; } ++v2; } ++_root.begin; } stopAllSounds(); _root.game.music = new Sound(this); _root.game.music.attachSound('picosucksnuts'); _root.game.music.start(0, 9999); _root.bad = 5; _root.sbad = 0; _root.dbad = 0; _root.fbad = 30; _root.mbad = 40; _root.minb = 0; _root.begin = 0; _global.raccoons = 0; _root.fraccoons = 2; _root.bars = 4; _root.pspot = [3167.6, 315.4]; _root.finish = false; var a = _root.game.attachMovie('dnmstart', 'dnmstart', 10030); a._x = 530; a._y = 140.3; } frame 2 { stop(); gotoAndStop(_root.level); var a; var b; _root.game.player1.removeMovieClip(); _root.game.player2.removeMovieClip(); if (_root.players == 1) { if (_root.player1 == 'PICO') { a = _root.game.attachMovie('pico', 'player1', _root.getNextHighestDepth()); } else { if (_root.player1 == 'NENE') { a = _root.game.attachMovie('nene', 'player1', _root.getNextHighestDepth()); } else { if (_root.player1 == 'DARNELL') { a = _root.game.attachMovie('darnell', 'player1', _root.getNextHighestDepth()); } } } if (_root.player1 == 'CLOCK') { a = _root.game.attachMovie('clockp', 'player1', _root.getNextHighestDepth()); a.secret = true; } if (_root.player1 == 'DADNME') { a = _root.game.attachMovie('dadnmep', 'player1', _root.getNextHighestDepth()); a.secret = true; a.dadnme = true; } if (_root.player1 == 'FLATHEAD') { a = _root.game.attachMovie('flatheadp', 'player1', _root.getNextHighestDepth()); a.secret = true; a.dadnme = true; } a._x = 150; a._y = 200; a.number = 1; a.keyset = [65, 68, 87, 83, 70, 71, 72]; a._xscale *= -1; } else { if (_root.players == 2) { if (_root.player1 == 'PICO') { a = _root.game.attachMovie('pico', 'player1', _root.getNextHighestDepth()); } else { if (_root.player1 == 'NENE') { a = _root.game.attachMovie('nene', 'player1', _root.getNextHighestDepth()); } else { if (_root.player1 == 'DARNELL') { a = _root.game.attachMovie('darnell', 'player1', _root.getNextHighestDepth()); } } } if (_root.player1 == 'CLOCK') { a = _root.game.attachMovie('clockp', 'player1', _root.getNextHighestDepth()); a.secret = true; } if (_root.player1 == 'DADNME') { a = _root.game.attachMovie('dadnmep', 'player1', _root.getNextHighestDepth()); a.secret = true; a.dadnme = true; } if (_root.player1 == 'FLATHEAD') { a = _root.game.attachMovie('flatheadp', 'player1', _root.getNextHighestDepth()); a.secret = true; a.dadnme = true; } a._x = 150; a._y = 200; a.number = 1; a.keyset = [65, 68, 87, 83, 70, 71]; a._xscale *= -1; if (_root.player2 == 'PICO') { b = _root.game.attachMovie('pico', 'player2', _root.getNextHighestDepth() + 1); } else { if (_root.player2 == 'NENE') { b = _root.game.attachMovie('nene', 'player2', _root.getNextHighestDepth() + 1); } else { if (_root.player2 == 'DARNELL') { b = _root.game.attachMovie('darnell', 'player2', _root.getNextHighestDepth() + 1); } } } if (_root.player2 == 'CLOCK') { b = _root.game.attachMovie('clockp', 'player2', _root.getNextHighestDepth() + 1); b.secret = true; } if (_root.player2 == 'DADNME') { b = _root.game.attachMovie('dadnmep', 'player2', _root.getNextHighestDepth() + 1); b.secret = true; b.dadnme = true; } if (_root.player2 == 'FLATHEAD') { b = _root.game.attachMovie('flatheadp', 'player2', _root.getNextHighestDepth() + 1); b.secret = true; b.dadnme = true; } b._x = 150; b._y = 250; b.number = 2; b.keyset = [37, 39, 38, 40, 74, 75]; b._xscale *= -1; } } } instance barrier1 of movieClip 1756 barrier2 { onClipEvent (load) { gotoAndStop(1); var big = true; } } instance barrier2 of movieClip 1756 barrier2 { onClipEvent (load) { gotoAndStop(2); var big = true; } } instance barrier4 of movieClip 1756 barrier2 { onClipEvent (load) { gotoAndStop(2); var big = true; } } instance bush7 of movieClip 1750 dbush { onClipEvent (load) { gotoAndStop(2); } } instance barrier3 of movieClip 1756 barrier2 { onClipEvent (load) { gotoAndStop(1); var big = true; } } instance front of movieClip 2444 { onClipEvent (load) { swapDepths(999); } } instance bush1 of movieClip 1750 dbush { onClipEvent (load) { gotoAndStop(1); } } instance bush2 of movieClip 1750 dbush { onClipEvent (load) { gotoAndStop(2); } } instance bush3 of movieClip 1750 dbush { onClipEvent (load) { gotoAndStop(1); } } instance spawn2 of movieClip 1788 Spawn { onClipEvent (load) { var spots = [775.5, 297.4, 23050.7, 17800.7]; } } instance bush4 of movieClip 1750 dbush { onClipEvent (load) { gotoAndStop(2); } } instance bush5 of movieClip 1750 dbush { onClipEvent (load) { gotoAndStop(1); } } instance bush6 of movieClip 1750 dbush { onClipEvent (load) { gotoAndStop(2); } } instance badguy1 of movieClip 1722 uberkid { onClipEvent (load) { id = 1; bgtype = 'uberkid'; } } instance badguy3 of movieClip 1722 uberkid { onClipEvent (load) { id = 3; bgtype = 'uberkid'; } } instance badguy2 of movieClip 1722 uberkid { onClipEvent (load) { id = 2; bgtype = 'uberkid'; } } instance badguy5 of movieClip 1722 uberkid { onClipEvent (load) { id = 5; bgtype = 'uberkid'; } } instance badguy4 of movieClip 1722 uberkid { onClipEvent (load) { id = 4; bgtype = 'uberkid'; } } instance pic1 of movieClip 2436 { onClipEvent (load) { level = _root.level; } onClipEvent (enterFrame) { swapDepths(10006); gotoAndStop(_root.player1); if (level != _root.level) { this.removeMovieClip(); } } } instance hp1 of movieClip 1770 Health { onClipEvent (load) { object = _root.game.player1; gotoAndStop(_root.player1); lvl = 2; } onClipEvent (enterFrame) { swapDepths(10007); } } instance pic2 of movieClip 2436 { onClipEvent (load) { level = _root.level; } onClipEvent (enterFrame) { swapDepths(10009); if (_root.players == 2) { gotoAndStop(_root.player2); } else { _visible = false; } if (level != _root.level) { this.removeMovieClip(); } } } instance hp2 of movieClip 1770 Health { onClipEvent (load) { object = _root.game.player2; gotoAndStop(_root.player2); lvl = 2; } onClipEvent (enterFrame) { swapDepths(10010); if (_root.players == 1) { _visible = false; } } } instance dp1 of movieClip 1763 defensebar { onClipEvent (load) { object = _root.game.player1; gotoAndStop(_root.player1); lvl = 2; } onClipEvent (enterFrame) { swapDepths(100008); } } instance dp2 of movieClip 1763 defensebar { onClipEvent (load) { object = _root.game.player2; gotoAndStop(_root.player2); lvl = 2; } onClipEvent (enterFrame) { swapDepths(100011); if (_root.players == 1) { _visible = false; } } } frame 3 { function onEnterFrame() { if (_root.begin > 138) { _root.dnmstart.removeMovieClip(); } var v2 = _root.minb - 1; while (v2 < _root.bad + 2) { if (_root.game['badguy' + v2]._x != undefined) { _root.minb = v2; break; } ++v2; } ++_root.begin; if (_root.boss) { if (c > 0) { --c; _root.game.music.setVolume(c); } else { _root.game.music.stop(); if (!attAud) { _root.game.bossmusic.start(0, 9999); attAud = true; } } } } stopAllSounds(); _root.game.music = new Sound(this); _root.game.music.attachSound('adapttothehorde'); _root.game.music.start(0, 9999); _root.game.bossmusic = new Sound(_root); _root.game.bossmusic.attachSound('chaoswithin'); _root.bad = 7; _root.sbad = 0; _root.dbad = 0; _root.fbad = 30; _root.mbad = 33; _root.minb = 0; _root.begin = 0; _root.boss = false; _global.raccoons = 0; _root.fraccoons = 0; _root.bars = 9; _root.finish = false; var a = _root.game.attachMovie('dnmstart', 'dnmstart', 10030); a._x = 530; a._y = 140.3; var c = 100; var attAud = false; } frame 3 { stop(); gotoAndStop(_root.level); var a; var b; _root.game.player1.removeMovieClip(); _root.game.player2.removeMovieClip(); if (_root.players == 1) { if (_root.player1 == 'PICO') { a = _root.game.attachMovie('pico', 'player1', _root.getNextHighestDepth()); } else { if (_root.player1 == 'NENE') { a = _root.game.attachMovie('nene', 'player1', _root.getNextHighestDepth()); } else { if (_root.player1 == 'DARNELL') { a = _root.game.attachMovie('darnell', 'player1', _root.getNextHighestDepth()); } } } if (_root.player1 == 'CLOCK') { a = _root.game.attachMovie('clockp', 'player1', _root.getNextHighestDepth()); a.secret = true; } if (_root.player1 == 'DADNME') { a = _root.game.attachMovie('dadnmep', 'player1', _root.getNextHighestDepth()); a.secret = true; a.dadnme = true; } if (_root.player1 == 'FLATHEAD') { a = _root.game.attachMovie('flatheadp', 'player1', _root.getNextHighestDepth()); a.secret = true; a.dadnme = true; } a._x = 150; a._y = 200; a.number = 1; a.keyset = [65, 68, 87, 83, 70, 71, 72]; a._xscale *= -1; } else { if (_root.players == 2) { if (_root.player1 == 'PICO') { a = _root.game.attachMovie('pico', 'player1', _root.getNextHighestDepth()); } else { if (_root.player1 == 'NENE') { a = _root.game.attachMovie('nene', 'player1', _root.getNextHighestDepth()); } else { if (_root.player1 == 'DARNELL') { a = _root.game.attachMovie('darnell', 'player1', _root.getNextHighestDepth()); } } } if (_root.player1 == 'CLOCK') { a = _root.game.attachMovie('clockp', 'player1', _root.getNextHighestDepth()); a.secret = true; } if (_root.player1 == 'DADNME') { a = _root.game.attachMovie('dadnmep', 'player1', _root.getNextHighestDepth()); a.secret = true; a.dadnme = true; } if (_root.player1 == 'FLATHEAD') { a = _root.game.attachMovie('flatheadp', 'player1', _root.getNextHighestDepth()); a.secret = true; a.dadnme = true; } a._x = 150; a._y = 200; a.number = 1; a.keyset = [65, 68, 87, 83, 70, 71]; a._xscale *= -1; if (_root.player2 == 'PICO') { b = _root.game.attachMovie('pico', 'player2', _root.getNextHighestDepth() + 1); } else { if (_root.player2 == 'NENE') { b = _root.game.attachMovie('nene', 'player2', _root.getNextHighestDepth() + 1); } else { if (_root.player2 == 'DARNELL') { b = _root.game.attachMovie('darnell', 'player2', _root.getNextHighestDepth() + 1); } } } if (_root.player2 == 'CLOCK') { b = _root.game.attachMovie('clockp', 'player2', _root.getNextHighestDepth() + 1); b.secret = true; } if (_root.player2 == 'DADNME') { b = _root.game.attachMovie('dadnmep', 'player2', _root.getNextHighestDepth() + 1); b.secret = true; b.dadnme = true; } if (_root.player2 == 'FLATHEAD') { b = _root.game.attachMovie('flatheadp', 'player2', _root.getNextHighestDepth() + 1); b.secret = true; b.dadnme = true; } b._x = 150; b._y = 250; b.number = 2; b.keyset = [37, 39, 38, 40, 74, 75]; b._xscale *= -1; } } } instance spawn of movieClip 1788 Spawn { onClipEvent (load) { var place = 1; var spots = [377, 243, 2486, 269]; } } instance badguy1 of movieClip 1658 tankmen { onClipEvent (load) { id = 1; bgtype = 'tankmen'; } } instance front of movieClip 2453 { onClipEvent (load) { swapDepths(999); } } instance barrier1 of movieClip 1594 statue { onClipEvent (load) { gotoAndStop(1); } } instance barrier2 of movieClip 1594 statue { onClipEvent (load) { gotoAndStop(2); } } instance barrier3 of movieClip 1594 statue { onClipEvent (load) { gotoAndStop(1); } } instance barrier6 of movieClip 1594 statue { onClipEvent (load) { gotoAndStop(2); } } instance barrier5 of movieClip 1594 statue { onClipEvent (load) { gotoAndStop(1); } } instance barrier8 of movieClip 1594 statue { onClipEvent (load) { gotoAndStop(2); } } instance barrier7 of movieClip 1594 statue { onClipEvent (load) { gotoAndStop(1); } } instance barrier9 of movieClip 1594 statue { onClipEvent (load) { gotoAndStop(1); } } instance pic1 of movieClip 2436 { onClipEvent (load) { level = _root.level; } onClipEvent (enterFrame) { swapDepths(10000); gotoAndStop(_root.player1); if (level != _root.level) { this.removeMovieClip(); } } } instance hp1 of movieClip 1770 Health { onClipEvent (load) { object = _root.game.player1; gotoAndStop(_root.player1); lvl = 3; } onClipEvent (enterFrame) { swapDepths(10001); } } instance pic2 of movieClip 2436 { onClipEvent (load) { level = _root.level; } onClipEvent (enterFrame) { swapDepths(10002); if (_root.players == 2) { gotoAndStop(_root.player2); } else { _visible = false; } if (level != _root.level) { this.removeMovieClip(); } } } instance hp2 of movieClip 1770 Health { onClipEvent (load) { object = _root.game.player2; gotoAndStop(_root.player2); lvl = 3; } onClipEvent (enterFrame) { swapDepths(10003); if (_root.players == 1) { _visible = false; } } } instance dp1 of movieClip 1763 defensebar { onClipEvent (load) { object = _root.game.player1; gotoAndStop(_root.player1); lvl = 3; } onClipEvent (enterFrame) { swapDepths(10004); } } instance dp2 of movieClip 1763 defensebar { onClipEvent (load) { object = _root.game.player2; gotoAndStop(_root.player2); lvl = 3; } onClipEvent (enterFrame) { swapDepths(10005); if (_root.players == 1) { _visible = false; } } } instance badguy2 of movieClip 1658 tankmen { onClipEvent (load) { id = 2; bgtype = 'tankmen'; } } instance badguy3 of movieClip 1658 tankmen { onClipEvent (load) { id = 3; bgtype = 'tankmen'; } } instance badguy4 of movieClip 1658 tankmen { onClipEvent (load) { id = 4; bgtype = 'tankmen'; } } instance badguy5 of movieClip 1658 tankmen { onClipEvent (load) { id = 5; bgtype = 'tankmen'; } } instance badguy6 of movieClip 1658 tankmen { onClipEvent (load) { id = 6; bgtype = 'tankmen'; } } instance badguy7 of movieClip 1658 tankmen { onClipEvent (load) { id = 7; bgtype = 'tankmen'; } } } movieClip 2457 { } instance fr of movieClip 2457 { onClipEvent (load) { swapDepths(20001); } onClipEvent (enterFrame) { if (_root._currentframe != 6) { this.removeMovieClip(); } } } frame 7 { stop(); } button 2476 { on (release) { getURL('http://www.newgrounds.com', '_blank'); } } button 2479 { on (release) { getURL('http://www.camp-north.net', '_blank'); } } button 2481 { on (release) { _root.gotoAndStop('character'); _root.music.stop(); } } button 2482 { on (release) { function __rankz_send__(par1, par2, par3, par4) { par227 = new LoadVars(); par228 = new LoadVars(); par227.flashkey = par2; par227.SU0249 = par1; par227.bmFtZTE = ab3.rankz.Armor_Bot_30_En_AS1.Encode(par3); par227.c2NvcmUx = ab3.rankz.Armor_Bot_30_En_AS1.Encode(par4 + 'j%e%a%n%s'); par227.flashkey = (par227.flashkey.split('=')).join(''); par227.SU0249 = (par227.SU0249.split('=')).join(''); par228.onLoad = function (success) { if (success) { trace(par228.msg); } else { trace(par228.loaded); } }; par227.sendAndLoad('http://rankz.armorbot.com/submit/', par228, 'POST'); } bXlnYW1lX25hbWVfdmFyaWFibGU = _root.win.nametxt.text; bXlnYW1lX3Njb3JlX3ZhcmlhYmxl = _global.fullscore; __rankz_send__('MjU3OGolZSVhJW4lcw==', 'S3h6UWplUU0=', bXlnYW1lX25hbWVfdmFyaWFibGU, bXlnYW1lX3Njb3JlX3ZhcmlhYmxl); getURL('http://rankz.armorbot.com/pico_and_pals/', _blank); _root.music.stop(); _root.gotoAndStop('menu'); } } button 2486 { on (release) { NewgroundsAPI.loadNewgrounds(); } } movieClip 2488 { frame 1 { _root.music = new Sound(_root); _root.music.attachSound('blacksky'); _root.music.start(0, 9999); } frame 46 { if (_root.player1 == 'PICO') { _global.picowin = true; } if (_root.player1 == 'DARNELL') { _global.darnellwin = true; } if (_root.player1 == 'NENE') { _global.nenewin = true; } } frame 46 { stop(); if (_global.comp1 > 100) { _global.comp1 = 100; } if (_global.comp2 > 100) { _global.comp2 = 100; } if (_global.comp3 > 100) { _global.comp3 = 100; } _global.score = _global.comp1 + _global.comp2 + _global.comp3; _global.fullscore += _global.score; } } frame 8 { stop(); } button 2497 { on (release) { _root.music.stop(); _root.gotoAndStop('character'); } } movieClip 2499 { frame 1 { _root.music.stop(); _root.game.music.stop(); _root.game.bossmusic.stop(); stopAllSounds(); _root.music = new Sound(_root); _root.music.attachSound('burden'); _root.music.setVolume(100); _root.music.start(0, 9999); } frame 46 { stop(); if (_global.comp1 > 100) { _global.comp1 = 100; } if (_global.comp2 > 100) { _global.comp2 = 100; } if (_global.comp3 > 100) { _global.comp3 = 100; } _global.score = _global.comp1 + _global.comp2 + _global.comp3; if (_global.score == NaN || _global.score == undefined) { _global.score = 0; } } }




http://swfchan.com/10/47419/info.shtml
Created: 1/5 -2019 20:40:06 Last modified: 1/5 -2019 20:40:06 Server time: 05/11 -2024 08:35:17