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

<div style="position:absolute;top:-99px;left:-99px;"><img src="https://tools.swfchan.com/stathit.asp?noj=FRM22254176-26DC&rnd=22254176" width="1" height="1"></div>

armorgames platcore-13772.swf

This is the info page for
Flash #264249

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


ActionScript [AS1/AS2]
Combined Code
movieClip 3 { } movieClip 5 { } movieClip 6 bullet { frame 1 { stop(); } } // unknown tag 88 length 68 movieClip 11 fps { frame 1 { fps = 30; var timeinit = new Date(); var lasttime = timeinit.getMilliseconds(); onEnterFrame = function () { var v1 = new Date(); timepassed = v1.getMilliseconds() - lasttime >= 0 ? v1.getMilliseconds() - lasttime : 1000 + (v1.getMilliseconds() - lasttime); fps = Math.round(10000 / timepassed) / 10; lasttime = v1.getMilliseconds(); }; } } movieClip 14 turretbarrel2 { } movieClip 23 { } movieClip 26 { } movieClip 36 { } movieClip 38 { frame 40 { stop(); } } movieClip 44 { } button 45 { on (release) { startMovie(); } } movieClip 46 Preloader Bar (NewgroundsAPI) { #initclip Object.registerClass('Preloader Bar (NewgroundsAPI)', com.newgrounds.components.PreloaderBar); #endinitclip } frame 1 { function onKeyDown() { if (Key.getCode() == 'R'.charCodeAt(0)) { trace(_root.hurt); trace(_root.shieldsoffnow); trace(_root.shieldson); trace(_root.health); } } Key.addListener(this); } frame 1 { function __com_mochibot__(swfid, mc, lv, trk) { var x; var g; var s; var fv; var sb; var u; var res; var mb; var mbc; var pv; mb = '__mochibot__'; mbc = 'mochibot.com'; g = _global ? _global : _level0._root; if (g[mb + swfid]) { return g[mb + swfid]; } s = System.security; x = mc._root.getSWFVersion; fv = x ? mc.getSWFVersion() : (_global ? 6 : 5); if (!s) { s = {}; } sb = s.sandboxType; if (sb == 'localWithFile') { return null; } x = s.allowDomain; if (x) { s.allowDomain(mbc); } x = s.allowInsecureDomain; if (x) { s.allowInsecureDomain(mbc); } pv = (fv == 5) ? /:$version : System.capabilities.version; u = 'http://' + mbc + '/my/core.swf?mv=8&fv=' + fv + '&v=' + escape(pv) + '&swfid=' + escape(swfid) + '&l=' + lv + '&f=' + mc + (sb ? '&sb=' + sb : '') + (trk ? '&t=1' : ''); lv = fv > 6 ? mc.getNextHighestDepth() : (g[mb + 'level'] ? g[mb + 'level'] + 1 : lv); g[mb + 'level'] = lv; if (fv == 5) { res = '_level' + lv; if (!eval(res)) { loadMovieNum(u, lv); } return res; } res = mc.createEmptyMovieClip(mb + swfid, lv); res.loadMovie(u); return res; } __com_mochibot__('ca587da1', this, 10301, true); var kongstuff = false; var otherbranding = true; } frame 1 { function itemHandler1(obj, item) { getURL('http://chris-jeff.com', '_blank'); } function itemHandler2(obj, item) { getURL('http://nch-productions.com', '_blank'); } function itemHandler8(obj, item) {} function itemHandler3(obj, item) { global.setVolume(100); _root.mutebut.gotoAndStop(1); } function itemHandler4(obj, item) { global.setVolume(0); _root.mutebut.gotoAndStop(2); } function itemHandler5(obj, item) { _quality = 'high'; } function itemHandler6(obj, item) { _quality = 'medium'; } function itemHandler7(obj, item) { _quality = 'low'; } function save() { savefile.data.whichlevel = _root.whichlevel; savefile.data.bottime1 = _root.bottime1; savefile.data.hmsbottime = _root.hmsbottime; savefile.data.time1 = _root.time1; savefile.data.hmstime = _root.hmstime; savefile.data.achieve1 = _root.achieve1; savefile.data.achieve2 = _root.achieve2; savefile.data.achieve3 = _root.achieve3; savefile.data.achieve4 = _root.achieve4; savefile.data.achieve5 = _root.achieve5; savefile.data.achieve6 = _root.achieve6; savefile.data.achieve7 = _root.achieve7; savefile.data.achieve8 = _root.achieve8; savefile.data.achieve9 = _root.achieve9; savefile.data.achieve10 = _root.achieve10; savefile.data.achieve11 = _root.achieve11; savefile.data.achieve12 = _root.achieve12; savefile.data.achieve13 = _root.achieve13; savefile.data.achieve14 = _root.achieve14; savefile.data.achieve15 = _root.achieve15; savefile.data.achieve16 = _root.achieve16; savefile.data.achieve17 = _root.achieve17; savefile.data.achieve18 = _root.achieve18; savefile.data.achieve19 = _root.achieve19; savefile.data.achieve20 = _root.achieve20; savefile.data.achieve21 = _root.achieve21; savefile.data.achieve22 = _root.achieve22; savefile.data.achieve23 = _root.achieve23; savefile.data.achieve24 = _root.achieve24; savefile.data.s1bothead = _root.s1bothead; savefile.data.s1botarm = _root.s1botarm; savefile.data.s1botbody = _root.s1botbody; savefile.data.s1botleg = _root.s1botleg; savefile.data.s1rarityvalue = _root.s1rarityvalue; savefile.data.s1raritystar = _root.s1raritystar; savefile.data.s1playtime = _root.s1playtime; savefile.data.s1randomset = _root.s1randomset; savefile.data.s1exp = _root.s1exp; savefile.data.s1botlvl = _root.s1botlvl; savefile.data.s1dmgtaken = _root.s1dmgtaken; savefile.data.s1cogscollected = _root.s1cogscollected; savefile.data.s2bothead = _root.s2bothead; savefile.data.s2botarm = _root.s2botarm; savefile.data.s2botbody = _root.s2botbody; savefile.data.s2botleg = _root.s2botleg; savefile.data.s2rarityvalue = _root.s2rarityvalue; savefile.data.s2raritystar = _root.s2raritystar; savefile.data.s2playtime = _root.s2playtime; savefile.data.s2randomset = _root.s2randomset; savefile.data.s2exp = _root.s2exp; savefile.data.s2botlvl = _root.s2botlvl; savefile.data.s2dmgtaken = _root.s2dmgtaken; savefile.data.s2cogscollected = _root.s2cogscollected; savefile.data.s3bothead = _root.s3bothead; savefile.data.s3botarm = _root.s3botarm; savefile.data.s3botbody = _root.s3botbody; savefile.data.s3botleg = _root.s3botleg; savefile.data.s3rarityvalue = _root.s3rarityvalue; savefile.data.s3raritystar = _root.s3raritystar; savefile.data.s3playtime = _root.s3playtime; savefile.data.s3randomset = _root.s3randomset; savefile.data.s3exp = _root.s3exp; savefile.data.s3botlvl = _root.s3botlvl; savefile.data.s3dmgtaken = _root.s3dmgtaken; savefile.data.s3cogscollected = _root.s3cogscollected; savefile.data.selectedsave = _root.selectedsave; savefile.data.save1used = _root.save1used; savefile.data.save2used = _root.save2used; savefile.data.save3used = _root.save3used; savefile.data.bothead = _root.bothead; savefile.data.botarm = _root.botarm; savefile.data.botbody = _root.botbody; savefile.data.botleg = _root.botleg; savefile.data.randomset = _root.randomset; savefile.data.tutorialseen = _root.tutorialseen; savefile.data.rarityvalue = _root.rarityvalue; savefile.data.raritystar = _root.raritystar; savefile.data.clickedf = _root.clickedf; savefile.data.clickedt = _root.clickedt; savefile.data.bottime = _root.bottime; savefile.data.botexp = _root.botexp; savefile.data.botlvl = _root.botlvl; savefile.data.dmgtaken = _root.dmgtaken; savefile.data.cogscollected = _root.cogscollected; savefile.data.cogcoin = _root.cogcoin; savefile.data.totalcompletes = _root.totalcompletes; savefile.data.intro1watched = _root.intro1watched; savefile.data.intro2watched = _root.intro2watched; savefile.data.intro3watched = _root.intro3watched; savefile.data.intro4watched = _root.intro4watched; savefile.data.intro5watched = _root.intro5watched; savefile.data.intro6watched = _root.intro6watched; savefile.data.intro7watched = _root.intro7watched; savefile.data.ttlexp = _root.ttlexp; savefile.data.ttldmgtaken = _root.ttldmgtaken; savefile.data.ttlcogscollected = _root.ttlcogscollected; savefile.data.ttldeaths = _root.ttldeaths; savefile.data.bosssurv = _root.bosssurv; savefile.data.ttltestpass = _root.ttltestpass; savefile.data.ttlstomped = _root.ttlstomped; savefile.data.escptimes = _root.escptimes; savefile.data.botsarchived = _root.botsarchived; savefile.data.escapescurrent = _root.escapescurrent; savefile.data.cogscollcurrent = _root.cogscollcurrent; savefile.data.deathscurrent = _root.deathscurrent; savefile.data.rankpoint = _root.rankpoint; savefile.data.completeyscreen = _root.completeyscreen; savefile.data.expnextlvl = _root.expnextlvl; savefile.data.h1bought = _root.h1bought; savefile.data.h2bought = _root.h2bought; savefile.data.h3bought = _root.h3bought; savefile.data.h4bought = _root.h4bought; savefile.data.h5bought = _root.h5bought; savefile.data.h6bought = _root.h6bought; savefile.data.h7bought = _root.h7bought; savefile.data.h8bought = _root.h8bought; savefile.data.h9bought = _root.h9bought; savefile.data.h10bought = _root.h10bought; savefile.data.h11bought = _root.h11bought; savefile.data.h12bought = _root.h12bought; savefile.data.h13bought = _root.h13bought; savefile.data.h14bought = _root.h14bought; savefile.data.h15bought = _root.h15bought; savefile.data.h16bought = _root.h16bought; savefile.data.h17bought = _root.h17bought; savefile.data.h18bought = _root.h18bought; savefile.data.h19bought = _root.h19bought; savefile.data.h20bought = _root.h20bought; savefile.data.h21bought = _root.h21bought; savefile.data.h22bought = _root.h22bought; savefile.data.h23bought = _root.h23bought; savefile.data.h24bought = _root.h24bought; savefile.data.h25bought = _root.h25bought; savefile.data.h26bought = _root.h26bought; savefile.data.h27bought = _root.h27bought; savefile.data.h28bought = _root.h28bought; savefile.data.h29bought = _root.h29bought; savefile.data.abought1 = _root.abought1; savefile.data.abought2 = _root.abought2; savefile.data.abought3 = _root.abought3; savefile.data.abought4 = _root.abought4; savefile.data.abought5 = _root.abought5; savefile.data.abought6 = _root.abought6; savefile.data.abought7 = _root.abought7; savefile.data.abought8 = _root.abought8; savefile.data.abought9 = _root.abought9; savefile.data.abought10 = _root.abought10; savefile.data.abought11 = _root.abought11; savefile.data.abought12 = _root.abought12; savefile.data.abought13 = _root.abought13; savefile.data.abought14 = _root.abought14; savefile.data.abought15 = _root.abought15; savefile.data.abought16 = _root.abought16; savefile.data.abought17 = _root.abought17; savefile.data.abought18 = _root.abought18; savefile.data.abought19 = _root.abought19; savefile.data.abought20 = _root.abought20; savefile.data.abought21 = _root.abought21; savefile.data.abought22 = _root.abought22; savefile.data.abought23 = _root.abought23; savefile.data.abought24 = _root.abought24; savefile.data.abought25 = _root.abought25; savefile.data.abought26 = _root.abought26; savefile.data.abought27 = _root.abought27; savefile.data.abought28 = _root.abought28; savefile.data.abought29 = _root.abought29; savefile.data.bbought1 = _root.bbought1; savefile.data.bbought2 = _root.bbought2; savefile.data.bbought3 = _root.bbought3; savefile.data.bbought4 = _root.bbought4; savefile.data.bbought5 = _root.bbought5; savefile.data.bbought6 = _root.bbought6; savefile.data.bbought7 = _root.bbought7; savefile.data.bbought8 = _root.bbought8; savefile.data.bbought9 = _root.bbought9; savefile.data.bbought10 = _root.bbought10; savefile.data.bbought11 = _root.bbought11; savefile.data.bbought12 = _root.bbought12; savefile.data.bbought13 = _root.bbought13; savefile.data.bbought14 = _root.bbought14; savefile.data.bbought15 = _root.bbought15; savefile.data.bbought16 = _root.bbought16; savefile.data.bbought17 = _root.bbought17; savefile.data.bbought18 = _root.bbought18; savefile.data.bbought19 = _root.bbought19; savefile.data.bbought20 = _root.bbought20; savefile.data.bbought21 = _root.bbought21; savefile.data.bbought22 = _root.bbought22; savefile.data.bbought23 = _root.bbought23; savefile.data.bbought24 = _root.bbought24; savefile.data.bbought25 = _root.bbought25; savefile.data.bbought26 = _root.bbought26; savefile.data.bbought27 = _root.bbought27; savefile.data.bbought28 = _root.bbought28; savefile.data.bbought29 = _root.bbought29; savefile.data.lbought1 = _root.lbought1; savefile.data.lbought2 = _root.lbought2; savefile.data.lbought3 = _root.lbought3; savefile.data.lbought4 = _root.lbought4; savefile.data.lbought5 = _root.lbought5; savefile.data.lbought6 = _root.lbought6; savefile.data.lbought7 = _root.lbought7; savefile.data.lbought8 = _root.lbought8; savefile.data.lbought9 = _root.lbought9; savefile.data.lbought10 = _root.lbought10; savefile.data.lbought11 = _root.lbought11; savefile.data.lbought12 = _root.lbought12; savefile.data.lbought13 = _root.lbought13; savefile.data.lbought14 = _root.lbought14; savefile.data.lbought15 = _root.lbought15; savefile.data.lbought16 = _root.lbought16; savefile.data.lbought17 = _root.lbought17; savefile.data.lbought18 = _root.lbought18; savefile.data.lbought19 = _root.lbought19; savefile.data.lbought20 = _root.lbought20; savefile.data.lbought21 = _root.lbought21; savefile.data.lbought22 = _root.lbought22; savefile.data.lbought23 = _root.lbought23; savefile.data.lbought24 = _root.lbought24; savefile.data.lbought25 = _root.lbought25; savefile.data.lbought26 = _root.lbought26; savefile.data.lbought27 = _root.lbought27; savefile.data.lbought28 = _root.lbought28; savefile.data.lbought29 = _root.lbought29; savefile.data.secretf = _root.secretf; savefile.data.itemsbgt = _root.itemsbgt; savefile.data.consoleinstructions = _root.consoleinstructions; savefile.data.firsttimeplay = _root.firsttimeplay; _root.saveyload.gotoAndStop(3); _root.saveyload.savey.gotoAndPlay(1); savefile.flush(); } function sitelock(urls_allowed) { lock = true; domain_parts = _url.split('://'); real_domain = domain_parts[1].split('/'); domain.text = real_domain[0]; for (x in urls_allowed) { if (urls_allowed[x] == real_domain[0]) { lock = false; } } if (lock) { if (_root.lockedon == true) { _root.handy._visible = true; _root.kongstuff = true; _root.otherbranding = false; loadshitup(); } } } function loadshitup() { playbut.gotoAndStop(1); loader1._visible = true; } stop(); Playtomic.Log.View(6563, '1d848c51a8354d4b', _root._url); Stage.scaleMode = 'noborder'; var tc = new com.ronnieswietek.utils.TimecodesAS2(); root_cm = new ContextMenu(); root_cm.hideBuiltInItems(); aaa_cmi = new ContextMenuItem('Developed by ChrisJeff Games (Chris Jeffrey)', itemHandler1); bbb_cmi = new ContextMenuItem('Art and Animation by NCHproductions', itemHandler2); zzz_cmi = new ContextMenuItem('Music by Waterflame/I-Saved-The-World/Meonly70/PeterGMusic', itemHandler8); ccc_cmi = new ContextMenuItem('Music On', itemHandler3); ddd_cmi = new ContextMenuItem('Music Off', itemHandler4); eee_cmi = new ContextMenuItem('High Quality', itemHandler5); fff_cmi = new ContextMenuItem('Mid Quality', itemHandler6); ggg_cmi = new ContextMenuItem('Low Quality', itemHandler7); ccc_cmi.separatorBefore = true; eee_cmi.separatorBefore = true; root_cm.customItems.push(aaa_cmi, bbb_cmi, zzz_cmi, ccc_cmi, ddd_cmi, eee_cmi, fff_cmi, ggg_cmi); _root.menu = root_cm; _root.tabEnabled = false; _root.tabChildren = false; this._lockroot = true; var savefile = SharedObject.getLocal('Platcore'); playbut.gotoAndStop(2); var lockedon = true; _root.lockbuty._visible = false; urls_allowed = ['chris-jeff.com', 'games.armorgames.com', 'preview.armorgames.com', 'cdn.armorgames.com', 'cache.armorgames.com', 'armor.armorgames.com', 'cache2.armorgames.com', 'edgecast.armorgames.com', 'gamehosting.armorgames.com', 'files.armorgames.com', 'swf.armorgames.com', 'http://cache.armorgames.com', 'http://*.armorgames.com', 'armorgames.com', 'http://www.armorgames.com', 'www.armorgames.com', 'http://armorgames.com']; sitelock(urls_allowed); global = new Sound(); } movieClip 72 { } movieClip 74 { } movieClip 80 { } movieClip 81 { } movieClip 83 { frame 10 { stop(); } } movieClip 84 { frame 4 { stop(); } } button 85 { on (release) { getURL('http://www.kongregate.com/?haref=platcore&src=spon&cm=platcore', '_blank'); } } movieClip 86 { frame 11 { stop(); } } instance of movieClip 86 { onClipEvent (load) { if (_root.kongstuff == false) { this._visible = false; } } } movieClip 93 { frame 8 { stop(); } } movieClip 96 { frame 4 { stop(); } } button 97 { on (release) { getURL('http://www.kongregate.com/?haref=platcore&src=spon&cm=platcore', '_blank'); } } movieClip 98 { frame 9 { stop(); } } instance of movieClip 98 { onClipEvent (load) { if (_root.kongstuff == false) { this._visible = false; } } } movieClip 101 { } movieClip 102 { } movieClip 103 { frame 7 { stop(); } } movieClip 110 { frame 12 { stop(); } } movieClip 111 { frame 8 { stop(); } } button 112 { on (release) { getURL('http://http://chris-jeff.com/', '_blank'); } } button 113 { on (release) { getURL('http://www.chris-jeff.com', '_blank'); } } movieClip 114 { frame 20 { stop(); } } movieClip 116 { } movieClip 117 { frame 6 { stop(); } } button 118 { on (release) { getURL('http://www.nch-productions.com/', '_blank'); } } movieClip 119 { frame 25 { stop(); } } // unknown tag 88 length 52 // unknown tag 88 length 52 movieClip 127 { } movieClip 130 { } movieClip 132 { } movieClip 134 { } movieClip 136 { } movieClip 138 { } movieClip 140 { } movieClip 141 { } movieClip 142 { } movieClip 143 { frame 4 { stop(); } } movieClip 144 { frame 4 { stop(); } } button 145 { on (release) { getURL('http://www.kongregate.com/?haref=platcore&src=spon&cm=platcore', '_blank'); } } movieClip 146 { } instance of movieClip 146 { onClipEvent (load) { if (_root.kongstuff == false) { this._visible = false; } } } movieClip 148 { } movieClip 149 { frame 7 { stop(); } } movieClip 155 { frame 12 { stop(); } } movieClip 156 { frame 8 { stop(); } } button 157 { on (release) { getURL('http://armorgames.com', '_blank'); } } movieClip 158 { } instance of movieClip 158 { onClipEvent (load) { if (_root.otherbranding == false) { this._visible = false; } } } movieClip 160 { frame 1 { stop(); } instance of movieClip 46 Preloader Bar (NewgroundsAPI) { onClipEvent (construct) { AUTO_PLAY = false; } } instance of movieClip 46 Preloader Bar (NewgroundsAPI) { onClipEvent (construct) { AUTO_PLAY = true; } } } movieClip 169 { } movieClip 170 { frame 7 { stop(); } } movieClip 172 { frame 8 { stop(); } } button 173 { on (release) { getURL('http://www.facebook.com/ChrisJeffGames', '_blank'); } } movieClip 174 { frame 1 { if (_root.fbflash == true) { gotoAndStop(36); } } frame 32 { _root.fbflash = true; stop(); } } movieClip 176 { } movieClip 177 { frame 7 { stop(); } } movieClip 178 { frame 8 { stop(); } } button 179 { on (release) { getURL('https://twitter.com/#!/ChrisJeffGames', '_blank'); } } movieClip 180 { frame 1 { if (_root.twflash == true) { gotoAndStop(36); } } frame 36 { _root.twflash = true; stop(); } } movieClip 184 { } movieClip 185 { } movieClip 187 { } movieClip 188 { frame 50 { _root.saveyload.gotoAndStop(1); } } movieClip 190 { frame 50 { _root.saveyload.gotoAndStop(1); } } movieClip 191 { frame 1 { stop(); } } movieClip 196 { } movieClip 202 { } button 203 { on (release) { getURL('http://www.chris-jeff.com', '_blank'); } } movieClip 206 { frame 1 { stop(); } } instance handy of movieClip 206 { onClipEvent (enterFrame) { _x = _root._xmouse; _y = _root._ymouse; Mouse.hide(); if (Key.isDown(1)) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } } } movieClip 4436 __Packages.Playtomic.LogRequest { #initclip if (!_global.Playtomic) { _global.Playtomic = new Object(); } if (!_global.Playtomic.LogRequest) { var v1 = function () {}; Playtomic.LogRequest = v1; var v2 = v1.prototype; v2.Queue = function (data) { ++this.Pieces; this.Data += ((this.Data == '') ? '' : '~') + data; if (this.Pieces == 8 || this.Data.length > 300) { this.Pieces = 0; this.Ready = true; } }; v2.Send = function () { var v3 = function (success) { if (this.Data.indexOf('v/') == 0 || this.Data.indexOf('~v/') > -1) { Playtomic.Log.IncreaseViews(); } if (this.Data.indexOf('p/') == 0 || this.Data.indexOf('~p/') > -1) { Playtomic.Log.IncreasePlays(); } }; var v2 = new LoadVars(); v2.sendAndLoad('http://g' + Playtomic.Log.GUID + '.api.playtomic.com/Tracker/q.aspx?swfid=' + Playtomic.Log.SWFID + '&q=' + this.Data + '&url=' + Playtomic.Log.SourceUrl + '&' + Math.random() + 'z', v3, 'POST'); }; v2.Data = ''; v2.Ready = false; ASSetPropFlags(Playtomic.LogRequest.prototype, null, 1); } #endinitclip } movieClip 4437 __Packages.Playtomic.Log { #initclip if (!_global.Playtomic) { _global.Playtomic = new Object(); } if (!_global.Playtomic.Log) { var v1 = function () {}; Playtomic.Log = v1; var v2 = v1.prototype; v1.View = function (swfid, guid, defaulturl) { if (swfid == undefined) { swfid = 0; } if (guid == undefined) { guid = ''; } if (defaulturl == undefined) { defaulturl = ''; } if (Playtomic.Log.SWFID > 0) { return undefined; } Playtomic.Log.SWFID = swfid; Playtomic.Log.GUID = guid; Playtomic.Log.Enabled = true; if (Playtomic.Log.SWFID == 0 || Playtomic.Log.GUID == '') { Playtomic.Log.Enabled = false; return undefined; } if (defaulturl.indexOf('http://') != 0) { Playtomic.Log.Enabled = false; return undefined; } Playtomic.Log.SourceUrl = defaulturl; if (Playtomic.Log.SourceUrl == null || Playtomic.Log.SourceUrl == '' || Playtomic.Log.SourceUrl.indexOf('https://') == 0) { Playtomic.Log.Enabled = false; return undefined; } Playtomic.Log.Cookie = SharedObject.getLocal('playtomic'); var v5 = Playtomic.Log.GetCookie('views'); Playtomic.Log.Send('v/' + v5, true); _global.setTimeout(Playtomic.Log.PingServer, 60000); }; v1.ForceSend = function () { if (Playtomic.Log.Request == null) { return undefined; } Playtomic.Log.Request.Send(); Playtomic.Log.Request = new Playtomic.LogRequest(); }; v1.Play = function () { if (!Playtomic.Log.Enabled) { return undefined; } Playtomic.Log.LevelCounters = new Array(); Playtomic.Log.LevelAverages = new Array(); Playtomic.Log.LevelRangeds = new Array(); Playtomic.Log.Send('p/' + (Playtomic.Log.Plays + 1), true); }; v1.CustomMetric = function (name, group, unique) { if (!Playtomic.Log.Enabled) { return undefined; } if (group == null || group == undefined) { group = ''; } if (unique == null || unique == undefined) { unique = false; } if (unique) { if (Playtomic.Log.Contains(Playtomic.Log.Customs, name)) { return undefined; } Playtomic.Log.Customs.push(name); } Playtomic.Log.Send('c/' + Playtomic.Log.Clean(name) + '/' + Playtomic.Log.Clean(group)); }; v1.Link = function (url, name, group, unique, total, fail) { if (!Playtomic.Log.Enabled) { return undefined; } Playtomic.Log.Send('l/' + Playtomic.Log.Clean(name) + '/' + Playtomic.Log.Clean(group) + '/' + Playtomic.Log.Clean(url) + '/' + unique + '/' + total + '/' + fail); }; v1.LevelCounterMetric = function (name, level, unique) { if (!Playtomic.Log.Enabled) { return undefined; } if (unique) { var v1 = name + '.' + level.toString(); if (Playtomic.Log.Contains(Playtomic.Log.LevelCounters, v1)) { return undefined; } Playtomic.Log.LevelCounters.push(v1); } Playtomic.Log.Send('lc/' + Playtomic.Log.Clean(name) + '/' + Playtomic.Log.Clean(level)); }; v1.LevelRangedMetric = function (name, level, value, unique) { if (!Playtomic.Log.Enabled) { return undefined; } if (unique) { var v1 = name + '.' + level.toString(); if (Playtomic.Log.Contains(Playtomic.Log.LevelRangeds, v1)) { return undefined; } Playtomic.Log.LevelRangeds.push(v1); Playtomic.Log.SaveCookie('lr_' + name, 1); } Playtomic.Log.Send('lr/' + Playtomic.Log.Clean(name) + '/' + Playtomic.Log.Clean(level) + '/' + value); }; v1.LevelAverageMetric = function (name, level, value, unique) { if (!Playtomic.Log.Enabled) { return undefined; } if (unique) { var v1 = name + '.' + level.toString(); if (Playtomic.Log.Contains(Playtomic.Log.LevelAverages, v1)) { return undefined; } Playtomic.Log.LevelAverages.push(v1); } Playtomic.Log.Send('la/' + Playtomic.Log.Clean(name) + '/' + Playtomic.Log.Clean(level) + '/' + value); }; v1.Contains = function (arr, key) { var v1 = arr.length - 1; while (v1 > -1) { if (arr[v1] == key) { return true; } --v1; } return false; }; v1.Heatmap = function (metric, heatmap, x, y) { if (!Playtomic.Log.Enabled) { return undefined; } Playtomic.Log.Send('h/' + Playtomic.Log.Clean(metric) + '/' + Playtomic.Log.Clean(heatmap) + '/' + x + '/' + y); }; v1.Funnel = function (name, step, stepnum) { if (!Playtomic.Log.Enabled) { return undefined; } Playtomic.Log.Send('f/' + Playtomic.Log.Clean(name) + '/' + Playtomic.Log.Clean(step) + '/' + stepnum); }; v1.PlayerLevelStart = function (levelid) { if (!Playtomic.Log.Enabled) { return undefined; } Playtomic.Log.Send('pls/' + levelid); }; v1.PlayerLevelWin = function (levelid) { if (!Playtomic.Log.Enabled) { return undefined; } Playtomic.Log.Send('plw/' + levelid); }; v1.PlayerLevelQuit = function (levelid) { if (!Playtomic.Log.Enabled) { return undefined; } Playtomic.Log.Send('plq/' + levelid); }; v1.PlayerLevelRetry = function (levelid) { if (!Playtomic.Log.Enabled) { return undefined; } Playtomic.Log.Send('plr/' + levelid); }; v1.PlayerLevelFlag = function (levelid) { if (!Playtomic.Log.Enabled) { return undefined; } Playtomic.Log.Send('plf/' + levelid); }; v1.PingServer = function () { if (!Playtomic.Log.Enabled) { return undefined; } ++Playtomic.Log.Pings; Playtomic.Log.Send('t/' + (Playtomic.Log.FirstPing ? 'y' : 'n') + '/' + Playtomic.Log.Pings, true); if (Playtomic.Log.FirstPing) { Playtomic.Log.FirstPing = false; setInterval(Playtomic.Log.PingServer, 60000); } }; v1.Send = function (s, view) { if (view == undefined) { view = false; } Playtomic.Log.Request.Queue(s); if (Playtomic.Log.Request.Ready || view || !Playtomic.Log.Queue) { Playtomic.Log.Request.Send(); Playtomic.Log.Request = new Playtomic.LogRequest(); } }; v1.GetCookie = function (n) { if (Playtomic.Log.Cookie.data[n] == undefined) { return 0; } else { return parseInt(Playtomic.Log.Cookie.data[n]); } }; v1.SaveCookie = function (n, v) { Playtomic.Log.Cookie.data[n] = v.toString(); Playtomic.Log.Cookie.flush(); }; v1.Clean = function (s) { while (s.indexOf('/') > -1) { s = Playtomic.Log.Replace(s, '/', '\\'); } while (s.indexOf('~') > -1) { s = Playtomic.Log.Replace(s, '~', '-'); } return escape(s); }; v1.Replace = function (str, find, replace) { return (str.split(find)).join(replace); }; v1.IncreaseViews = function () { var v1 = Playtomic.Log.GetCookie('views'); ++v1; Playtomic.Log.SaveCookie('views', v1); }; v1.IncreasePlays = function () { ++Playtomic.Log.Plays; }; v1.Enabled = false; v1.Queue = true; v1.SWFID = 0; v1.GUID = ''; v1.Request = new Playtomic.LogRequest(); v1.FirstPing = true; v1.Pings = 0; v1.Plays = 0; v1.HighestGoal = 0; v1.Customs = new Array(); v1.LevelCounters = new Array(); v1.LevelAverages = new Array(); v1.LevelRangeds = new Array(); ASSetPropFlags(Playtomic.Log.prototype, null, 1); } #endinitclip } movieClip 4438 __Packages.com.ronnieswietek.utils.TimecodesAS2 { #initclip if (!_global.com) { _global.com = new Object(); } if (!_global.com.ronnieswietek) { _global.com.ronnieswietek = new Object(); } if (!_global.com.ronnieswietek.utils) { _global.com.ronnieswietek.utils = new Object(); } if (!_global.com.ronnieswietek.utils.TimecodesAS2) { var v1 = function () {}; com.ronnieswietek.utils.TimecodesAS2 = v1; var v2 = v1.prototype; v2.timecodeToSeconds = function (tcStr) { var v1 = tcStr.split(':'); return v1[0] * 3600 + v1[1] * 60 + v1[2] * 1; }; v2.secondsToTimecode = function (seconds) { var v3 = Math.floor(seconds / 60); var v2 = seconds % 60; var v4 = v3 % 60; var v5 = Math.floor(v3 / 60); var v7 = Math.floor((v2 - Math.floor(v2)) * 100); v2 = Math.floor(v2); return this.getTwoDigits(v5) + ':' + this.getTwoDigits(v4) + ':' + this.getTwoDigits(v2); }; v2.getTwoDigits = function (number) { if (number < 10) { return '0' + number; } else { return number + ''; } }; ASSetPropFlags(com.ronnieswietek.utils.TimecodesAS2.prototype, null, 1); } #endinitclip } movieClip 15 __Packages.com.newgrounds.components.PreloaderBar { #initclip if (!_global.com) { _global.com = new Object(); } if (!_global.com.newgrounds) { _global.com.newgrounds = new Object(); } if (!_global.com.newgrounds.components) { _global.com.newgrounds.components = new Object(); } if (!_global.com.newgrounds.components.PreloaderBar) { var v1 = function () { super(); }; com.newgrounds.components.PreloaderBar = v1; com.newgrounds.components.PreloaderBar extends MovieClip; var v2 = v1.prototype; v2.onLoad = function () { _root.stop(); var v3 = com.newgrounds.API.getPercentLoaded(); if (v3 == 100) { if (this.AUTO_PLAY) { this.startMovie(); } else { this.gotoAndStop(this._totalframes); } } else { this.advanceFrame(this, false, false); this.FRAME_TIME = 1000 / this.FRAME_RATE; this.loadingComplete = false; this.intervalId = setInterval(this, 'timerHandler', this.FRAME_TIME / 2); this.frameAccum = 0; this.time = getTimer(); this.timerHandler(); } }; v2.timerHandler = function () { if (!this.loadingComplete) { var v4 = com.newgrounds.API.getPercentLoaded(); this.bar._xscale = v4; if (v4 == 100) { this.loadingComplete = true; if (this.AUTO_PLAY) { this.startMovie(); } return undefined; } } var v3 = getTimer() - this.time; this.time += v3; this.frameAccum += v3; var v2 = 0; for (;;) { if (!(this.frameAccum >= this.FRAME_TIME && v2 < this.MAX_FRAME_SKIP)) break; if (this.loadingComplete) { this.advanceFrame(this, false, false); } this.frameAccum -= this.FRAME_TIME; v2++; } updateAfterEvent(); }; v2.advanceFrame = function (clip, recurse, loop) { if (!clip) { return undefined; } clip.stop(); if (clip._currentframe == clip._totalframes) { if (loop) { clip.gotoAndStop(1); } } else { clip.nextFrame(); } if (recurse) { for (var v5 in clip) { if (typeof clip[v5] == 'movieclip') { this.advanceFrame(clip[v5], recurse, loop); } } } }; v2.startMovie = function () { clearInterval(this.intervalId); _root.play(); }; v1.symbolName = 'preloaderBar'; v1.symbolOwner = 'com.newgrounds.API'; v2.AUTO_PLAY = false; v2.FRAME_RATE = 30; v2.MAX_FRAME_SKIP = 5; v2.loadingComplete = false; v2.frameAccum = 0; ASSetPropFlags(com.newgrounds.components.PreloaderBar.prototype, null, 1); } #endinitclip } movieClip 47 __Packages.com.newgrounds.APIError { #initclip if (!_global.com) { _global.com = new Object(); } if (!_global.com.newgrounds) { _global.com.newgrounds = new Object(); } if (!_global.com.newgrounds.APIError) { var v1 = function (error, msg) { if ((Number(error)).toString() == String(error)) { error = Number(error); } else { if (com.newgrounds.APIError.error_codes[String(error)]) { error = com.newgrounds.APIError.error_codes[String(error)]; } else { error = 0; } } this.code = error; this.message = msg; this.name = com.newgrounds.APIError.error_names[error]; this.alias = com.newgrounds.APIError.aliases[error]; }; com.newgrounds.APIError = v1; var v2 = v1.prototype; v1.init_codes = function () { var v2 = new Object(); var v1 = 0; while (v1 < com.newgrounds.APIError.aliases.length) { v2[com.newgrounds.APIError.aliases[v1]] = v1; ++v1; } return v2; }; v1.init_names = function () { var v5 = new Array(); var v3 = 0; while (v3 < com.newgrounds.APIError.aliases.length) { var v2 = (com.newgrounds.APIError.aliases[v3].toLowerCase()).split('_'); var v1 = 0; while (v1 < v2.length) { v2[v1] = (v2[v1].substr(0, 1)).toUpperCase() + v2[v1].substr(1, v2[v1].length); for (var v4 in com.newgrounds.APIError.always_caps) { if (v2[v1].toUpperCase() == com.newgrounds.APIError.always_caps[v4]) { v2[v1] = v2[v1].toUpperCase(); } } ++v1; } v5[v3] = v2.join(' '); ++v3; } return v5; }; v2.isError = function () { return true; }; v1.aliases = new Array('UNKNOWN_ERROR', 'INVALID_API_ID', 'MISSING_PARAM', 'INVALID_STAT_ID', 'INVALID_COMMAND_ID', 'FLASH_ADS_NOT_APPROVED', 'PERMISSION_DENIED', 'IDENTIFICATION_REQUIRED', 'INVALID_EMAIL_ADDRESS', 'BANNED_USER', 'SESSION_EXPIRED', 'INVALID_SCORE', 'INVALID_MEDAL', 'INVALID_SAVE_GROUP', 'FILE_NOT_FOUND', 'SITE_ID_REQUIRED', 'UPLOAD_IN_PROGRESS', 'USER_CANCELLED', 'CONFIRM_REQUEST', 'ILLEGAL_REQUEST', 'CONNECTION_FAILED', 'QUERY_INCOMPLETE', 'SAVE_FILE_ERROR', 'INVALID_VALUE', 'SERVER_ERROR', 'INVALID_SCOREBOARD'); v1.always_caps = new Array('API', 'URL', 'ID'); v1.error_codes = com.newgrounds.APIError.init_codes(); v1.error_names = com.newgrounds.APIError.init_names(); v2.code = 0; ASSetPropFlags(com.newgrounds.APIError.prototype, null, 1); } #endinitclip } movieClip 48 __Packages.com.newgrounds.API { #initclip if (!_global.com) { _global.com = new Object(); } if (!_global.com.newgrounds) { _global.com.newgrounds = new Object(); } if (!_global.com.newgrounds.API) { var v1 = function () {}; com.newgrounds.API = v1; var v2 = v1.prototype; v1.setVersion = function (v) { com.newgrounds.API.version = v; }; v1.setUserEmail = function (e) { com.newgrounds.API.user_email = e; }; v1.setFakeSession = function (fake) { com.newgrounds.API.fake_session = fake; }; v1.setPreload = function (p) { com.newgrounds.API.preload = p; }; v1.getPercentLoaded = function () { var v2; if (com.newgrounds.API.preload && com.newgrounds.API.preload_items > 0) { v2 = 80; var v4 = Math.round((com.newgrounds.API.preload_items_loaded / com.newgrounds.API.preload_items) * 20); var v3 = Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * v2) + v4; return v3; } v2 = 100; v3 = Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * v2); return v3; }; v1.reportNewAsset = function () { if (com.newgrounds.API.preload) { ++com.newgrounds.API.preload_items; } }; v1.reportAssetLoaded = function () { if (com.newgrounds.API.preload) { ++com.newgrounds.API.preload_items_loaded; } }; v1.populateMedals = function (medal_list) { if (com.newgrounds.API.medals === null) { com.newgrounds.API.medals = new Array(); var v2 = 0; while (v2 < medal_list.length) { var v1 = medal_list[v2]; com.newgrounds.API.medals.push(new com.newgrounds.Medal(v1.medal_id, v1.medal_name, v1.medal_value, v1.medal_difficulty, v1.medal_unlocked, v1.medal_icon)); ++v2; } } }; v1.populateSaveGroups = function (save_group_list, file_path, image_path) { com.newgrounds.SaveFile.setFilePath(file_path); com.newgrounds.SaveFile.setImagePath(image_path); com.newgrounds.API.save_groups = new Array(); var v6 = 0; while (v6 < save_group_list.length) { var v2 = save_group_list[v6]; var v5 = new com.newgrounds.SaveGroup(v2.group_id, v2.group_name, v2.group_type); var v4 = 0; while (v4 < v2.keys.length) { var v3 = v2.keys[v4]; v5.addKey(v3.id, v3.name, v3.type); ++v4; } v4 = 0; while (v4 < v2.ratings.length) { var v1 = v2.ratings[v4]; v5.addRating(v1.id, v1.name, v1.min, v1.max, v1.float); ++v4; } com.newgrounds.API.save_groups.push(v5); ++v6; } }; v1.populateScoreBoards = function (score_boards) { com.newgrounds.API.scoreboards = new Array(); var v1 = 0; while (v1 < score_boards.length) { com.newgrounds.API.scoreboards.push(new com.newgrounds.ScoreBoard(score_boards[v1].id, score_boards[v1].name)); ++v1; } }; v1.getOfficialURL = function () { var v1 = com.newgrounds.API.GATEWAY_URL + '?tracker_id=' + com.newgrounds.API.movie_id + '&command_id=loadOfficalVersion&seed=' + Math.random(); if (com.newgrounds.API.debug) { v1 += '&debug=1'; } return v1; }; v1.loadOfficialURL = function () { getURL(com.newgrounds.API.getOfficialURL(), '_blank'); }; v1.hasUserSession = function () { if (com.newgrounds.API.session_id && com.newgrounds.API.publisher_id) { return true; return false; } if (_root.NewgroundsAPI_PublisherID && _root.NewgroundsAPI_SessionID) { return true; } return false; }; v1.hostIsCompatible = function () { return _root.NewgroundsAPI_PublisherID !== undefined; }; v1.isNewgrounds = function () { return com.newgrounds.API.publisher_id == 1 || _root.NewgroundsAPI_PublisherID == 1 || ((com.newgrounds.API.getHost()).toLowerCase()).indexOf('ungrounded.net') > -1 || ((com.newgrounds.API.getHost()).toLowerCase()).indexOf('newgrounds.com') > -1; }; v1.hasPublisher = function () { return com.newgrounds.API.publisher_id || _root.NewgroundsAPI_PublisherID; }; v1.hasUserEmail = function () { if (com.newgrounds.API.user_email) { return true; } return false; }; v1.isConnected = function () { return com.newgrounds.API.connected; }; v1.getID = function () { return com.newgrounds.API.getTrackerID(); }; v1.getTrackerID = function () { return com.newgrounds.API.tracker_id; }; v1.getUserID = function () { return com.newgrounds.API.user_id; }; v1.getUserName = function () { return com.newgrounds.API.user_name; }; v1.connectionTimeOut = function () { com.newgrounds.API.reportAssetLoaded(); clearInterval(com.newgrounds.API.timeout); com.newgrounds.API.callListener(com.newgrounds.APIEvent.API_CONNECTED, false, new com.newgrounds.APIError('CONNECTION_FAILED', 'Connection to API gateway timed out.')); }; v1.connect = function (m_id, encrypt_key, debug_mode) { if (com.newgrounds.API.connected) { return undefined; } com.newgrounds.API.sendMessage('Connecting to the Newgrounds API Gateway...'); var v2 = function () { com.newgrounds.API.connectionTimeOut(); }; com.newgrounds.API.timeout = setInterval(v2, 10000, null); if (!m_id) { com.newgrounds.API.fatalError('API.connect() - missing required movie_id parameter', 'connect'); } com.newgrounds.API.movie_id = String(m_id); com.newgrounds.API.tracker_id = Number(com.newgrounds.API.movie_id.substring(0, com.newgrounds.API.movie_id.indexOf(':'))); com.newgrounds.API.encryption_key = encrypt_key; com.newgrounds.API.debug = debug_mode; com.newgrounds.API.user_id = 0; com.newgrounds.API.user_name = 'Guest'; if (_root.NewgroundsAPI_PublisherID) { com.newgrounds.API.publisher_id = _root.NewgroundsAPI_PublisherID; if (_root.NewgroundsAPI_SessionID) { com.newgrounds.API.session_id = _root.NewgroundsAPI_SessionID; } } else { if (com.newgrounds.API.fake_session) { com.newgrounds.API.publisher_id = 1; com.newgrounds.API.session_id = 'D3bu64p1U53R'; com.newgrounds.API.user_id = 10; com.newgrounds.API.user_name = 'API-Debugger'; } else { if (com.newgrounds.API.debug) { com.newgrounds.API.publisher_id = 1; } com.newgrounds.API.session_id = null; } } if (_root.NewgroundsAPI_UserName) { com.newgrounds.API.user_name = _root.NewgroundsAPI_UserName; } if (_root.NewgroundsAPI_UserID) { com.newgrounds.API.user_id = _root.NewgroundsAPI_UserID; } if (_root.NewgroundsAPI_UserpageFormat) { com.newgrounds.API.userpage_format = _root.NewgroundsAPI_UserpageFormat; } com.newgrounds.API.reportNewAsset(); com.newgrounds.API.connected = true; com.newgrounds.API.sendCommand('connectMovie', {'host': com.newgrounds.API.getHost(), 'movie_version': com.newgrounds.API.version}); }; v1.getHost = function () { if (!com.newgrounds.API.host) { var v1 = _url; if ((v1.toLowerCase()).indexOf('http://') > -1 or (v1.toLowerCase()).indexOf('https://') > -1) { if ((v1.toLowerCase()).indexOf(com.newgrounds.API.NEWGROUNDS_PREVIEW) > -1) { com.newgrounds.API.host = com.newgrounds.API.NEWGROUNDS_PREVIEW; } else { com.newgrounds.API.host = (v1.split('/'))[2].toLowerCase(); } return com.newgrounds.API.host; } com.newgrounds.API.host = com.newgrounds.API.LOCAL_HOST; } return com.newgrounds.API.host; }; v1.isPublishedHost = function () { for (var v1 in com.newgrounds.API.PREVIEW_HOSTS) { if (com.newgrounds.API.getHost() == com.newgrounds.API.PREVIEW_HOSTS[v1]) { return false; } } return true; }; v1.loadUserPage = function (u_id, u_name) { if (u_id == undefined && u_name == undefined) { if (com.newgrounds.API.hasUserSession()) { u_id = com.newgrounds.API.user_id; u_name = com.newgrounds.API.user_name; } else { return false; } } if (com.newgrounds.API.publisher_id == 1) { var v1 = 'http://' + com.newgrounds.API.user_name.toLowerCase() + '.newgrounds.com'; getURL(v1, '_blank'); return true; return false; } if (com.newgrounds.API.userpage_format) { v1 = com.newgrounds.API.userpage_format; v1 = (v1.split(':user_id:')).join(u_id.toString()); v1 = (v1.split(':user_name:')).join(escape(u_name)); getURL(v1, '_blank'); return true; } return false; }; v1.loadNewgrounds = function () { com.newgrounds.API.sendCommand('loadNewgrounds', {'host': com.newgrounds.API.getHost()}, true); }; v1.loadMySite = function () { com.newgrounds.API.sendCommand('loadMySite', {'host': com.newgrounds.API.getHost()}, true); }; v1.loadCustomLink = function (link) { com.newgrounds.API.sendCommand('loadCustomLink', {'host': com.newgrounds.API.getHost(), 'link': link}, true); }; v1.logCustomEvent = function (event) { com.newgrounds.API.sendCommand('logCustomEvent', {'host': com.newgrounds.API.getHost(), 'event': event}); }; v1.getScoreBoard = function (board) { if (!com.newgrounds.API.scoreboards || com.newgrounds.API.scoreboards.length < 1) { com.newgrounds.API.sendWarning('You do not have any scoreboards configured in your API setup.'); return null; } for (var v2 in com.newgrounds.API.scoreboards) { if (typeof board == 'string' && com.newgrounds.API.scoreboards[v2].name == board) { return com.newgrounds.API.scoreboards[v2]; } else { if (typeof board == 'number' && com.newgrounds.API.scoreboards[v2].id == board) { return com.newgrounds.API.scoreboards[v2]; } } } com.newgrounds.API.sendWarning('Could not find any scoreboards named \'' + board + '\'.'); return null; }; v1.postScore = function (board_name, value, tag) { var v3 = com.newgrounds.API.getScoreBoard(board_name); if (tag === undefined) { tag = ''; } if (!v3) { com.newgrounds.API.sendError({'command_id': 'postScore'}, new com.newgrounds.APIError('INVALID_SCOREBOARD', 'Failed to post score. Check the spelling of your board name.')); return undefined; } if (value == undefined) { com.newgrounds.API.sendError({'command_id': 'postScore'}, new com.newgrounds.APIError('MISSING_PARAM', 'Missing score value')); return undefined; } com.newgrounds.API.sendSecureCommand('postScore', {'user_name': com.newgrounds.API.user_name, 'board': v3.id, 'value': value, 'tag': tag, 'publisher_id': com.newgrounds.API.publisher_id}); }; v1.loadScores = function (board_name, period, tag) { var v3 = 'loadScores'; var v2 = com.newgrounds.API.getScoreBoard(board_name); if (!v2) { com.newgrounds.API.sendError({'command_id': v3}, new com.newgrounds.APIError('INVALID_SCOREBOARD', 'Failed to load scores. Check the spelling of your board name.')); return undefined; } var v1 = {}; v1.publisher_id = com.newgrounds.API.publisher_id; v1.board = v2.id; v1.num_results = v2.num_results; v1.page = v2.page; if (period === undefined) { v1.period = v2.period; } else { v1.period = period; } if (tag === undefined) { v1.tag = v2.tag; } else { v1.tag = tag; } com.newgrounds.API.sendCommand(v3, v1); }; v1.unlockMedal = function (medal, x, y) { if (!medal) { com.newgrounds.API.sendError({'command_id': 'unlockMedal'}, new com.newgrounds.APIError('MISSING_PARAM', 'missing required medal name')); return undefined; } if (typeof medal != 'object') { medal = com.newgrounds.API.getMedal(medal); } if (!medal) { com.newgrounds.API.sendError({'command_id': 'unlockMedal'}, new com.newgrounds.APIError('INVALID_MEDAL', 'medal unlock failed, check your medal name for correct spelling.')); return undefined; } com.newgrounds.API.callListener(com.newgrounds.APIEvent.UNLOCK_MEDAL, true, {'medal': medal, 'x': x, 'y': y}); if (com.newgrounds.API.hasUserSession() or com.newgrounds.API.debug) { com.newgrounds.API.sendMessage('Attempting to unlock \'' + medal.getName() + '\''); var v3 = new Object(); v3.medal_id = medal.getID(); com.newgrounds.API.sendSecureCommand('unlockMedal', v3); } else { com.newgrounds.API.sendMessage('Unlocking \'' + medal.getName() + '\''); medal.setUnlocked(true); var v2 = com.newgrounds.API.loadLocal('medals_unlocked'); if (!v2) { v2 = new Object(); } v2[medal.getID()] = true; com.newgrounds.API.saveLocal('medals_unlocked', v2); } }; v1.loadMedals = function () { if (com.newgrounds.API.medals) { com.newgrounds.API.callListener(com.newgrounds.APIEvent.MEDALS_LOADED, true, {'medals': com.newgrounds.API.medals}); return undefined; } var v1 = new Object(); if (com.newgrounds.API.hasUserSession()) { v1.publisher_id = com.newgrounds.API.publisher_id; v1.user_id = com.newgrounds.API.user_id; } com.newgrounds.API.sendCommand('getMedals', v1); }; v1.getMedals = function () { return com.newgrounds.API.medals; }; v1.getMedal = function (identifier) { if (!com.newgrounds.API.medals || com.newgrounds.API.medals.length < 1) { com.newgrounds.API.sendWarning('You do not have any medals configured on your API setup!'); return false; } for (var v3 in com.newgrounds.API.medals) { var v1 = com.newgrounds.API.medals[v3]; if (typeof identifier == 'string' && v1.getName() == identifier) { return v1; } else { if (v1.getID() == identifier) { return v1; } } } com.newgrounds.API.sendWarning('Could not find any medals named \'' + identifier + '\'.'); return false; }; v1.saveLocal = function (save_id, save_data, size_allocation) { if (!com.newgrounds.API.sharedObjects[save_id]) { com.newgrounds.API.sharedObjects[save_id] = SharedObject.getLocal('ng_ap_secure_' + com.newgrounds.API.movie_id + '_' + save_id); } com.newgrounds.API.sharedObjects[save_id].data[save_id] = com.newgrounds.API.encodeData(save_data); com.newgrounds.API.sharedObjects[save_id].flush(); }; v1.loadLocal = function (save_id) { if (!com.newgrounds.API.sharedObjects[save_id]) { com.newgrounds.API.sharedObjects[save_id] = SharedObject.getLocal('ng_ap_secure_' + com.newgrounds.API.movie_id + '_' + save_id); } com.newgrounds.API.sharedObjects[save_id].flush(); com.newgrounds.API.echo('sharedobject ' + save_id + ' is: ' + com.newgrounds.API.sharedObjects[save_id].data[save_id]); if (com.newgrounds.API.sharedObjects[save_id].data[save_id]) { com.newgrounds.API.echo('decoded: ' + com.newgrounds.API.decodeData(com.newgrounds.API.sharedObjects[save_id].data[save_id])); return com.newgrounds.API.decodeData(com.newgrounds.API.sharedObjects[save_id].data[save_id]); } else { return null; } }; v1.encodeData = function (data) { return com.newgrounds.API.compressHex(com.newgrounds.encoders.RC4.encrypt(com.newgrounds.encoders.JSON.encode(data), com.newgrounds.API.encryption_key)); }; v1.decodeData = function (base) { return com.newgrounds.encoders.JSON.decode(com.newgrounds.encoders.RC4.decrypt(com.newgrounds.API.uncompressHex(base), com.newgrounds.API.encryption_key)); }; v1.compressHex = function (hex_value) { var v6 = hex_value.length % 6; var v4 = ''; var v5 = new com.newgrounds.encoders.BaseN(com.newgrounds.API.compression_radix); var v1 = 0; while (v1 < hex_value.length) { var v2 = Number('0x' + hex_value.substr(v1, 6)); v4 += v5.encode(v2, 4); v1 += 6; } return v6 + v4; }; v1.uncompressHex = function (base_value) { var v9 = Number(base_value.charAt(0)); var v7 = ''; var v3; var v8 = new com.newgrounds.encoders.BaseN(com.newgrounds.API.compression_radix); var v2 = 1; while (v2 < base_value.length) { var v6 = base_value.substr(v2, 4); var v5 = v8.decode(v6); var v1 = com.newgrounds.API.dec2hex(v5); if (v2 + 4 < base_value.length) { v3 = 6; } else { v3 = v9; } while (v1.length < v3) { v1 = '0' + v1; } v7 += v1; v2 += 4; } return v7; }; v1.dec2hex = function (dec) { var v4 = '0123456789ABCDEF'; var v3 = ''; while (dec > 0) { var v2 = dec % 16; v3 = v4.charAt(v2) + v3; dec = (dec - v2) / 16; } return v3; }; v1.getSaveGroup = function (group) { if (com.newgrounds.API.save_groups == null || com.newgrounds.API.save_groups.length < 1) { com.newgrounds.API.sendWarning('You do not have any save groups configured in your API setup!'); return null; } var v1 = 0; while (v1 <= com.newgrounds.API.save_groups.length) { if (typeof group == 'number' or (Number(group)).toString() == String(group)) { if (com.newgrounds.API.save_groups[v1].getID() == Number(group)) { return com.newgrounds.API.save_groups[v1]; } } else { if (typeof group == 'string') { if ((com.newgrounds.API.save_groups[v1].getName()).toLowerCase() == group.toLowerCase()) { return com.newgrounds.API.save_groups[v1]; } } } ++v1; } com.newgrounds.API.sendWarning('Could not find any save groups named \'' + group + '\'.'); return null; }; v1.getCurrentSaveFile = function () { return com.newgrounds.API.save_file; }; v1.setCurrentSaveFile = function (current) { com.newgrounds.API.save_file = current; }; v1.loadSaveFile = function (save_id, get_contents) { if (get_contents === undefined) { get_contents = true; } var v1 = 'loadSaveFile'; var v2 = {'publisher_id': com.newgrounds.API.publisher_id, 'save_id': save_id, 'get_contents': get_contents}; com.newgrounds.API.save_file = null; com.newgrounds.API.sendCommand(v1, v2); }; v1.loadFilesByDate = function (group_name, sort_descending, key_name, key_value) { if (sort_descending === undefined) { sort_descending = true; } var v2 = com.newgrounds.API.getSaveGroup(group_name); if (!v2) { var v3 = new com.newgrounds.APIError('QUERY_INCOMPLETE', 'The query could not be preformed, check the spelling of your save group name.'); com.newgrounds.API.sendError({'command_id': 'loadFilesByDate'}, v3); return undefined; } var v1 = new com.newgrounds.SaveGroupQuery(v2); if (key_name) { v1.addKeyCondition(key_name, '=', key_value); } v1.sortOn('CREATED_ON', sort_descending ? 'DESC' : 'ASC'); v1.execute(); }; v1.loadFilesByViews = function (group_name, sort_descending, key_name, key_value) { if (sort_descending === undefined) { sort_descending = true; } var v2 = com.newgrounds.API.getSaveGroup(group_name); if (!v2) { var v3 = new com.newgrounds.APIError('QUERY_INCOMPLETE', 'The query could not be preformed, check the spelling of your save group name.'); com.newgrounds.API.sendError({'command_id': 'loadFilesByViews'}, v3); return undefined; } var v1 = new com.newgrounds.SaveGroupQuery(v2); if (key_name) { v1.addKeyCondition(key_name, '=', key_value); } v1.sortOn('TOTAL_VIEWS', sort_descending ? 'DESC' : 'ASC'); v1.execute(); }; v1.loadFilesByRating = function (group_name, rating_name, sort_descending, key_name, key_value) { if (sort_descending === undefined) { sort_descending = true; } var v2 = com.newgrounds.API.getSaveGroup(group_name); if (!v2) { var v3 = new com.newgrounds.APIError('QUERY_INCOMPLETE', 'The query could not be preformed, check the spelling of your save group name.'); com.newgrounds.API.sendError({'command_id': 'loadFilesByRating'}, v3); return undefined; } var v1 = new com.newgrounds.SaveGroupQuery(v2); if (key_name) { v1.addKeyCondition(key_name, '=', key_value); } v1.sortOnRating(rating_name, sort_descending ? 'DESC' : 'ASC', 'score'); v1.execute(); }; v1.lookupSaveFiles = function (save_group) { var v1 = 'lookupSaveFiles'; var v2 = {'publisher_id': com.newgrounds.API.publisher_id, 'group_id': save_group.getID(), 'query': com.newgrounds.encoders.JSON.encode(save_group.getQuery(true))}; com.newgrounds.API.sendCommand(v1, v2); }; v1.newSaveFile = function (group) { var v1 = com.newgrounds.API.getSaveGroup(group); if (v1) { return v1.newFile(); } else { var v2 = new com.newgrounds.APIError('INVALID_SAVE_GROUP', 'You can not create new files in invalid groups.'); com.newgrounds.API.sendError({'command_id': 'newSaveFile'}, v2); } }; v1.newSaveQuery = function (group) { var v1 = com.newgrounds.API.getSaveGroup(group); if (v1) { return v1.newQuery(); } else { var v2 = new com.newgrounds.APIError('INVALID_SAVE_GROUP', '\'' + group + '\' is not a valid save group.'); com.newgrounds.API.sendError({'command_id': 'newSaveQuery'}, v2); } }; v1.checkFilePrivs = function (file) { if (com.newgrounds.API.user_id) { var v1 = com.newgrounds.API.user_id; } else { var v1 = 0; } var v2 = {'group': (file.getGroup()).getID(), 'filename': file.getName(), 'user_id': v1, 'publisher_id': com.newgrounds.API.publisher_id}; com.newgrounds.API.sendCommand('checkFilePrivs', v2); }; v1.saveFile = function (file, overwrite) { var v1; v1 = {'group': (file.getGroup()).getID(), 'filename': file.getName(), 'description': file.getDescription(), 'draft': file.__get__draft(), 'user_name': com.newgrounds.API.user_name}; if (overwrite) { v1.overwrite = overwrite; } if (file.getDuplicateID()) { v1.save_id = file.getDuplicateID(); } if ((file.getKeys()).length > 0) { v1.keys = file.getKeys(); } var v3; v3 = {'file': file.getRawContents()}; if (file.getThumbnailImageScan()) { v3.thumbnail = file.getThumbnailImageScan(); } com.newgrounds.API.save_file = file; com.newgrounds.API.sendSecureCommand('saveFile', v1, null, v3); }; v1.rateSaveFile = function (file, rating, vote) { var v1 = {'group': (file.getGroup()).getID(), 'save_id': file.getID(), 'rating_id': rating.rating_id, 'vote': vote, 'user_id': com.newgrounds.API.user_id}; com.newgrounds.API.sendSecureCommand('rateSaveFile', v1); }; v1.getConfirmation = function (command_name, event, msg, target, confirm, cancel) { var v1 = new com.newgrounds.APIError('CONFIRM_REQUEST', msg); v1.confirm = function () { target[confirm](); }; v1.cancel = function () { target[cancel](); }; v1.command = command_name; com.newgrounds.API.callListener(event, false, v1); }; v1.onRemoteAuthentication = function (auth_result) { var v1 = com.newgrounds.encoders.JSON.decode(com.newgrounds.encoders.RC4.decrypt(auth_result, com.newgrounds.API.encryption_key)); delete com.newgrounds.API.remote_auth; com.newgrounds.API.user_id = v1.NewgroundsAPI_UserID; com.newgrounds.API.user_name = v1.NewgroundsAPI_UserName; com.newgrounds.API.session_id = v1.NewgroundsAPI_SessionID; com.newgrounds.API.publisher_id = v1.NewgroundsAPI_PublisherID; }; v1.doEvent = function (e) { switch (e.command_id) { case 'connectMovie': clearInterval(com.newgrounds.API.timeout); com.newgrounds.API.sendMessage('You have successfully connected to the Newgrounds API Gateway'); com.newgrounds.API.sendMessage('Movie identified as "' + e.movie_name + '"'); com.newgrounds.API.callListener(com.newgrounds.APIEvent.API_CONNECTED, e.success, {'title': e.movie_name}); var v7 = false; if (e.ad_status === -1) { var v11 = 'This movie was not approved to run Flash Ads.'; com.newgrounds.API.sendWarning(v11); com.newgrounds.API.sendWarning('visit ' + com.newgrounds.API.AD_TERMS_URL + ' to view our approval guidelines'); if (!e.ad_url) { com.newgrounds.API.callListener(com.newgrounds.APIEvent.ADS_APPROVED, false, new com.newgrounds.APIError('FLASH_ADS_NOT_APPROVED', v11)); } else { v7 = true; } } else { if (e.ad_status === 0) { var v11 = 'Flash Ads are currently awaiting approval.'; com.newgrounds.API.sendNotice(v11); if (!e.ad_url) { com.newgrounds.API.callListener(com.newgrounds.APIEvent.ADS_APPROVED, false, new com.newgrounds.APIError('FLASH_ADS_NOT_APPROVED', v11)); } else { v7 = true; } } } if (e.ad_url) { com.newgrounds.API.ad_url = unescape(e.ad_url); if (!v7) { com.newgrounds.API.sendMessage('This movie has been approved to run Flash Ads!'); } com.newgrounds.API.callListener(com.newgrounds.APIEvent.ADS_APPROVED, true); } if (e.deny_host) { v11 = com.newgrounds.API.getHost() + ' does not have permission to run this movie!'; com.newgrounds.API.sendWarning(v11); com.newgrounds.API.sendWarning('\tUpdate your API configuration to unblock ' + com.newgrounds.API.getHost()); com.newgrounds.API.callListener(com.newgrounds.APIEvent.HOST_BLOCKED, true, {'real_url': unescape(e.movie_url), 'url': com.newgrounds.API.getOfficialURL()}); } else { if (e.movie_version) { com.newgrounds.API.sendWarning('According to your API Configuration, this version is out of date.'); if (com.newgrounds.API.version) { com.newgrounds.API.sendWarning('\tThe this movie is version ' + com.newgrounds.API.version); } com.newgrounds.API.sendWarning('\tThe most current version is ' + e.movie_version); com.newgrounds.API.callListener(com.newgrounds.APIEvent.NEW_VERSION_AVAILABLE, true, {'version': e.movie_version, 'real_url': unescape(e.movie_url), 'url': com.newgrounds.API.getOfficialURL()}); } } if (e.request_portal_url) { com.newgrounds.API.sendCommand('setPortalID', {'portal_url': _url}); } if (com.newgrounds.API.preload) { com.newgrounds.API.reportNewAsset(); var v8 = {}; if (com.newgrounds.API.hasUserSession()) { v8.publisher_id = com.newgrounds.API.publisher_id; v8.user_id = com.newgrounds.API.user_id; } com.newgrounds.API.sendCommand('preloadSettings', v8); } com.newgrounds.API.reportAssetLoaded(); break; case 'preloadSettings': if (e.medals) { com.newgrounds.API.populateMedals(e.medals); if (!com.newgrounds.API.hasUserSession() and !com.newgrounds.API.debug) { com.newgrounds.API.echo('checking for sharedobject medals...'); var v4 = com.newgrounds.API.loadLocal('medals_unlocked'); if (v4) { for (var v32 in v4) { v32 = Number(v32); if (v4[v32]) { var v3 = com.newgrounds.API.getMedal(v32); com.newgrounds.API.echo('now unlocking ' + v3.getName()); v3.setUnlocked(true); } } } } } if (e.save_groups) { com.newgrounds.API.populateSaveGroups(e.save_groups, e.save_file_path); } if (e.score_boards) { com.newgrounds.API.populateScoreBoards(e.score_boards); } if (_root.NewgroundsAPI_SaveFileID && _root.NewgroundsAPI_SaveGroupID) { com.newgrounds.API.callListener(com.newgrounds.APIEvent.FILE_REQUESTED, true, {'save_id': _root.NewgroundsAPI_SaveFileID, 'group': com.newgrounds.API.getSaveGroup(_root.NewgroundsAPI_SaveGroupID)}); } com.newgrounds.API.callListener(com.newgrounds.APIEvent.METADATA_LOADED, true); com.newgrounds.API.reportAssetLoaded(); break; case 'logCustomEvent': if (e.success) { com.newgrounds.API.sendMessage('Event \'' + e.event + '\' was logged.'); } com.newgrounds.API.callListener(com.newgrounds.APIEvent.EVENT_LOGGED, e.success, {'event': e.event}); break; case 'postScore': var v9; if (e.success) { var v5 = 'User'; if (com.newgrounds.API.user_email) { v5 = com.newgrounds.API.user_email; } else { if (com.newgrounds.API.user_name) { v5 = com.newgrounds.API.user_name; } } var v19 = com.newgrounds.API.getScoreBoard(e.board); com.newgrounds.API.sendMessage(v5 + ' posted ' + e.value + ' to \'' + v19.name + '\''); v9 = {'board': v19, 'value': e.value, 'username': v5}; } com.newgrounds.API.callListener(com.newgrounds.APIEvent.SCORE_POSTED, e.success, v9); break; case 'loadScores': var v9 = new Object(); var v19 = com.newgrounds.API.getScoreBoard(e.board); if (v19.exists()) { v19.setScores(e.scores, e.period, e.page, e.num_results); } com.newgrounds.API.callListener(com.newgrounds.APIEvent.SCORES_LOADED, e.success, {'board': v19}); break; case 'unlockMedal': var v24 = com.newgrounds.API.getMedal(e.medal_name); v24.setUnlocked(true); com.newgrounds.API.sendMessage('Successfuly unlocked \'' + v24.getName() + '\''); com.newgrounds.API.callListener(com.newgrounds.APIEvent.MEDAL_UNLOCKED, e.success, {'medal_id': v24.id, 'medal': v24}); break; case 'getMedals': com.newgrounds.API.populateMedals(e.medals); com.newgrounds.API.callListener(com.newgrounds.APIEvent.MEDALS_LOADED, e.success, {'medals': com.newgrounds.API.medals}); break; case 'loadSaveFile': var v16 = com.newgrounds.API.getSaveGroup(e.group_id); var v14 = new com.newgrounds.SaveFile(v16); v14.id = e.file.save_id; v14.name = e.file.filename; v14.fileUrl = e.file.file; v14.thumbnailUrl = e.file.thumb; v14.authorName = e.file.user_name; v14.authorId = e.file.user_id; v14.description = e.file.description; v14.setPermissions(e.file.status, e.file.locked); for (var v6 in e.file.keys) { v14.setKey(e.file.keys[v6].id, e.file.keys[v6].value); } for (v6 in e.file.ratings) { v14.setRating(e.file.ratings[v6].id, e.file.ratings[v6].votes, e.file.ratings[v6].score); } if (e.get_contents) { v14.loadContents(); } com.newgrounds.API.callListener(com.newgrounds.APIEvent.FILE_INITIALIZED, e.success, {'save_id': v14.id, 'file': v14}); com.newgrounds.API.save_file = v14; break; case 'lookupSaveFiles': var v12 = (com.newgrounds.API.getSaveGroup(e.group_id)).getQuery(); v12.onExecuted(e.files); break; case 'rateSaveFile': var v16 = com.newgrounds.API.getSaveGroup(e.group_id); var v14 = v16.getFile(e.save_id); if (e.already_voted) { var v27 = new com.newgrounds.APIError('PERMISSION_DENIED', 'You have already voted on this item today'); com.newgrounds.API.callListener(com.newgrounds.APIEvent.VOTE_COMPLETE, false, {'error': v27, 'file': v14, 'save_id': v14.id}); return undefined; } else { if (e.success) { var v10 = v14.onVoted(e); com.newgrounds.API.callListener(com.newgrounds.APIEvent.VOTE_COMPLETE, e.success, {'rating': v10, 'file': v14, 'save_id': v14.id}); } else { com.newgrounds.API.callListener(com.newgrounds.APIEvent.VOTE_COMPLETE, e.success, {'file': v14, 'save_id': v14.id}); com.newgrounds.API.sendError('Your vote was not accepted.'); } } break; case 'saveFile': if (com.newgrounds.API.save_file) { if (!com.newgrounds.API.save_file.exists()) { com.newgrounds.API.save_file.setID(e.save_id, true); } com.newgrounds.API.save_file.onSaved(e); com.newgrounds.API.callListener(com.newgrounds.APIEvent.FILE_SAVED, e.success, {'save_id': com.newgrounds.API.save_file.__get__id(), 'file': com.newgrounds.API.save_file}); if (e.success) { com.newgrounds.API.sendMessage('You just saved a new file (id #' + e.save_id + ') to the \'' + (com.newgrounds.API.save_file.__get__group()).__get__name() + '\' save group.'); } } com.newgrounds.API.save_file = null; break; case 'checkFilePrivs': var v9 = {'file': com.newgrounds.API.save_file, 'filename': e.filename, 'group': e.group, 'exists': e.exists, 'can_write': e.can_write}; if (e.duplicate_id) { v9.duplicate_id = e.duplicate_id; } if (!e.success) { com.newgrounds.API.sendWarning('You do not have permission to save this file!'); } com.newgrounds.API.callListener(com.newgrounds.APIEvent.FILE_PRIVS_LOADED, e.success, v9); } }; v1.getDispatcher = function () { if (!com.newgrounds.API.eventDispatcher) { com.newgrounds.API.eventDispatcher = new com.newgrounds.APIEventDispatcher(); } return com.newgrounds.API.eventDispatcher; }; v1.hasEventListener = function (event) { return (com.newgrounds.API.getDispatcher()).hasEventListener(event); }; v1.addEventListener = function (event, listener, target) { com.newgrounds.API.echo('Adding a listener for \'' + event + '\''); (com.newgrounds.API.getDispatcher()).addEventListener(event, listener, target); }; v1.removeEventListener = function (event, target) { (com.newgrounds.API.getDispatcher()).removeEventListener(event, target); }; v1.callListener = function (event, success, data, target) { com.newgrounds.API.echo('Fired Event: ' + event); var v2 = new com.newgrounds.APIEvent(event, success, data); (com.newgrounds.API.getDispatcher()).dispatchEvent(v2); if (event == com.newgrounds.APIEvent.API_CONNECTED && !success) { com.newgrounds.API.connected = false; } com.newgrounds.API.bridge.sendEvent(event, {'success': success, 'data': data}); }; v1.sendError = function (c, e) { switch (c.command_id) { case 'connectMovie': clearInterval(com.newgrounds.API.timeout); com.newgrounds.API.callListener(com.newgrounds.APIEvent.API_CONNECTED, false, {'error': e, 'response': c}); break; case 'saveFile': com.newgrounds.API.callListener(com.newgrounds.APIEvent.FILE_SAVED, false, {'error': e, 'file': com.newgrounds.API.save_file, 'response': c}); com.newgrounds.API.save_file = null; } var v3 = '[Newgrounds API ERROR] :: ' + c.command_id + '() - ' + e.name + ':' + '\n' + '\t\t\t\t' + e.message; trace(v3); com.newgrounds.API.bridge.sendEvent('trace', {'data': v3}); }; v1.sendWarning = function (m, c) { if (c) { m += '\r[Newgrounds API WARNING] :: \tSee ' + com.newgrounds.API.COMMANDS_WIKI_URL + c.toLowerCase() + ' for additional information.'; } var v1 = '[Newgrounds API WARNING] :: ' + m; trace(v1); com.newgrounds.API.bridge.sendEvent('trace', {'data': v1}); }; v1.sendNotice = function (m, c) { if (c) { m += '\r[Newgrounds API NOTICE] :: \tSee ' + com.newgrounds.API.COMMANDS_WIKI_URL + c.toLowerCase() + ' for additional information.'; } trace('[Newgrounds API NOTICE] :: ' + m); }; v1.fatalError = function (m, c) { if (c) { m += '\r\tSee ' + com.newgrounds.API.COMMANDS_WIKI_URL + c.toLowerCase() + ' for additional information.'; } throw '***ERROR*** frame=' + _root._currentframe + ', class=API' + '\n' + '\n' + m; }; v1.openLoginPage = function () { if (com.newgrounds.API.hasUserSession()) { return undefined; } if (!com.newgrounds.API.remote_auth) { var v1 = com.newgrounds.encoders.MD5.calculate(Math.random() + 'a' + com.newgrounds.API.movie_id); v1 = 'POOPYPANTS'; com.newgrounds.API.remote_auth = new com.newgrounds.RemoteAuth(v1); } var v2 = com.newgrounds.encoders.RC4.encrypt(com.newgrounds.API.remote_auth.__get__token(), com.newgrounds.API.encryption_key); trace(v2); getURL(com.newgrounds.API.LOGIN_URL + '?api_auth_id=' + com.newgrounds.API.movie_id + '&api_auth_key=' + v2, '_blank'); }; v1.sendSecureCommand = function (command, secure_params, unsecure_params, files) { if (!com.newgrounds.API.debug && !com.newgrounds.API.hasUserSession() && !com.newgrounds.API.hasUserEmail()) { com.newgrounds.API.sendError({'command_id': command}, new com.newgrounds.APIError('IDENTIFICATION_REQUIRED', 'You must be logged in, or provide an e-mail address using \'API.setUserEmail("name@domain.com");\' to use ' + command + '().')); return undefined; } if (!command) { com.newgrounds.API.fatalError('Missing command', 'sendSecureCommand'); } if (!secure_params) { com.newgrounds.API.fatalError('Missing secure_params', 'sendSecureCommand'); } if (!unsecure_params) { unsecure_params = new Object(); } var v2 = ''; var v1 = 0; while (v1 < 16) { v2 += com.newgrounds.API.compression_radix.charAt(Math.floor(Math.random() * com.newgrounds.API.compression_radix.length)); ++v1; } if (com.newgrounds.API.debug && !com.newgrounds.API.fake_session && !com.newgrounds.API.session_id) { secure_params.session_id = ''; } else { secure_params.session_id = com.newgrounds.API.session_id; } secure_params.as_version = 2; secure_params.user_email = com.newgrounds.API.user_email; secure_params.publisher_id = com.newgrounds.API.publisher_id; secure_params.seed = v2; secure_params.command_id = command; var v6 = com.newgrounds.encoders.JSON.encode(secure_params); trace('JSON: ' + v6 + '\n'); var v9 = com.newgrounds.encoders.MD5.calculate(v2); var v7 = com.newgrounds.encoders.RC4.encrypt(v6, com.newgrounds.API.encryption_key); var v8 = v9 + v7; unsecure_params.secure = com.newgrounds.API.compressHex(v8); com.newgrounds.API.sendCommand('securePacket', unsecure_params, false, files); }; v1.sendCommand = function (command, params, open_browser, files) { if (!com.newgrounds.API.connected and command != 'connectMovie') { var v12 = 'API.' + command + '() - API.connect() must be called before this command can be called' + '\n'; com.newgrounds.API.fatalError(v12, 'connect'); } if (open_browser) { var v2 = new Object(); } else { var v2 = new LoadVars(); } v2.command_id = command; v2.tracker_id = com.newgrounds.API.movie_id; if (com.newgrounds.API.debug) { v2.debug = com.newgrounds.API.debug; } if (params) { for (var v9 in params) { v2[v9] = params[v9]; } } if (files) { for (v9 in files) { v2[v9] = files[v9]; } } if (open_browser) { var v6 = com.newgrounds.API.GATEWAY_URL + '?seed=' + Math.random(); for (v9 in v2) { v6 += '&' + escape(v9) + '=' + escape(v2[v9]); } trace('OPENING ' + v6); getURL(v6, '_blank'); v2.removeMovieClip(); } else { var v10 = new LoadVars(); v10.remember_command_id = v2.command_id; v10.onData = function (data) { com.newgrounds.API.echo('INPUT: \r' + data + '\n'); if (data) { var v2 = com.newgrounds.encoders.JSON.decode(data); } else { var v2 = {'success': false}; } if (!v2.success) { if (!v2.error_code && !v2.error_msg) { v2.error_code = 'CONNECTION_FAILED'; v2.error_msg = 'Could not contact the API Gateway'; v2.command_id = this.remember_command_id; } var v4 = new com.newgrounds.APIError(v2.error_code, v2.error_msg); com.newgrounds.API.sendError(v2, v4); } else { com.newgrounds.API.doEvent(v2); } }; var v7 = new Array(); for (var v8 in v2) { v7.push(v8 + '=' + escape(v2[v8])); } com.newgrounds.API.echo('POST ' + com.newgrounds.API.GATEWAY_URL + '?' + v7.join('&')); v2.sendAndLoad(com.newgrounds.API.GATEWAY_URL + '?seed=' + Math.random(), v10, 'POST'); com.newgrounds.API.last_command = v2.command_id; } }; v1.renderAd = function (target) { if (com.newgrounds.API.ad_swf_url) { target.background = target.createEmptyMovieClip('background', 100); target.background.beginFill(0); target.background.moveTo(0, 0); target.background.lineTo(300, 0); target.background.lineTo(300, 250); target.background.lineTo(0, 250); target.background.lineTo(0, 0); target.background.endFill(); target.mask = target.createEmptyMovieClip('mask', 101); target.mask.beginFill(0); target.mask.moveTo(0, 0); target.mask.lineTo(300, 0); target.mask.lineTo(300, 250); target.mask.lineTo(0, 250); target.mask.lineTo(0, 0); target.mask.endFill(); target.clip = target.createEmptyMovieClip('clip', 102); target.clip.ad = target.clip.createEmptyMovieClip('ad', 100); target.clip.setMask(target.mask); target.clip.ad._lockroot = true; loadMovie(com.newgrounds.API.ad_swf_url, target.clip.ad); com.newgrounds.API.callListener(com.newgrounds.APIEvent.AD_ATTACHED, true, {'target': target}); } else { com.newgrounds.API.callListener(com.newgrounds.APIEvent.AD_ATTACHED, false, new com.newgrounds.APIError('FLASH_ADS_NOT_APPROVED', 'Unable to render ad')); } }; v1.attachFlashAd = function (target) { if (com.newgrounds.API.checkAdFlood()) { com.newgrounds.API.ad_swf_url = null; } else { if (com.newgrounds.API.checkAdCache()) { com.newgrounds.API.reportNewAsset(); var v1 = new LoadVars(); v1.onData = function (data) { if (data) { com.newgrounds.API.ad_swf_url = data; } else { com.newgrounds.API.ad_swf_url = null; } com.newgrounds.API.reportAssetLoaded(); com.newgrounds.API.renderAd(target); }; if (com.newgrounds.API.ad_url.indexOf('?') > -1) { v1.load(com.newgrounds.API.ad_url + '&random=' + Math.random()); } else { v1.load(com.newgrounds.API.ad_url + '?random=' + Math.random()); } if (!com.newgrounds.API.ad_warning) { com.newgrounds.API.ad_warning = true; com.newgrounds.API.sendMessage('You may get a security sandbox violation from this ad. This is nothing to worry about!'); } } else { if (com.newgrounds.API.ad_swf_url) { com.newgrounds.API.renderAd(target); } } } }; v1.checkAdFlood = function () { if (!com.newgrounds.API.ad_url) { return false; } var v2 = new Date(); var v1 = v2.getTime(); if (v1 >= com.newgrounds.API.ad_flood) { if (v1 - com.newgrounds.API.ad_flood > 1000) { com.newgrounds.API.ad_flood = v1 + 1000; return false; } com.newgrounds.API.ad_flood = v1; com.newgrounds.API.sendWarning('This movie is attempting to load multiple ads at too high of a frequency; you may have a bad preloader loop.'); return true; } return false; }; v1.checkAdCache = function () { if (!com.newgrounds.API.ad_url) { return false; } var v2 = new Date(); var v1 = v2.getTime(); if (v1 >= com.newgrounds.API.ad_url_cache) { com.newgrounds.API.ad_url_cache = v1 + 300000; return true; } return false; }; v1.sendMessage = function (m, r) { var v1 = '[Newgrounds API] :: ' + m; if (r) { return v1; } else { trace(v1); com.newgrounds.API.bridge.sendEvent('trace', {'data': v1}); } }; v1.echo = function (m) { if (com.newgrounds.API.do_echo) { trace(m); } }; v1.LOGIN_URL = 'http://ng-local.newgrounds.com/apilogin/'; v1.do_echo = true; v1.GATEWAY_URL = 'http://www.ngads.com/gateway_v2.php'; v1.NEWGROUNDS_PREVIEW = 'uploads.ungrounded.net/previews'; v1.AD_TERMS_URL = 'http://www.newgrounds.com/wiki/using-the-site/terms-of-use/flash-ads/'; v1.COMMANDS_WIKI_URL = 'http://www.newgrounds.com/wiki/developer-resources/flash-api/commands/'; v1.LOCAL_HOST = 'localhost'; v1.NEWGROUNDS_WWW = 'www.newgrounds.com'; v1.PREVIEW_HOSTS = new Array(com.newgrounds.API.LOCAL_HOST, com.newgrounds.API.NEWGROUNDS_PREVIEW); v1.ad_url_cache = 0; v1.ad_flood = 0; v1.ad_warning = false; v1.save_file = null; v1.publisher_id = 1; v1.fake_session = false; v1.medals = null; v1.userpage_format = null; v1.scoreboards = new Array(); v1.save_groups = null; v1.compression_radix = '/g8236klvBQ#&|;Zb*7CEA59%s`Oue1wziFp$rDVY@TKxUPWytSaGHJ>dmoMR^<0~4qNLhc(I+fjn)X'; v1.errors = com.newgrounds.APIError.init_codes(); v1.sharedObjects = new Object(); v1.bridge = new com.newgrounds.Bridge(_root.NewgroundsAPI_SandboxID); v1.preload = true; v1.preload_items = 0; v1.preload_items_loaded = 0; ASSetPropFlags(com.newgrounds.API.prototype, null, 1); } #endinitclip } movieClip 49 __Packages.com.newgrounds.Bridge { #initclip if (!_global.com) { _global.com = new Object(); } if (!_global.com.newgrounds) { _global.com.newgrounds = new Object(); } if (!_global.com.newgrounds.Bridge) { var v1 = function (id) { this.widget_id = id; this.receiver = new LocalConnection(); this.transmitter = new LocalConnection(); this.receiver.receiveEvent = function (event, params) { com.newgrounds.API.callListener(event, params.success, params.data); }; try { this.receiver.connect('rec_' + this.widget_id); } catch (v0) { if (Error(v0) != null) { var error = Error(v0); } else { throw v0; } } }; com.newgrounds.Bridge = v1; var v2 = v1.prototype; v2.sendEvent = function (event, params) { if (this.widget_id) { this.transmitter.send(this.widget_id, 'sendEvent', event, this.validateParams(params)); } }; v2.sendCommand = function (command, params) { if (this.widget_id) { this.transmitter.send(this.widget_id, 'sendCommand', command, this.validateParams(params)); } }; v2.validateParams = function (params) { var v2 = {}; for (var v3 in params) { if (typeof params[v3] == 'string' || typeof params[v3] == 'number') { v2[v3] = params[v3]; } } return v2; }; ASSetPropFlags(com.newgrounds.Bridge.prototype, null, 1); } #endinitclip } movieClip 50 __Packages.com.newgrounds.SaveFile { #initclip if (!_global.com) { _global.com = new Object(); } if (!_global.com.newgrounds) { _global.com.newgrounds = new Object(); } if (!_global.com.newgrounds.SaveFile) { var v1 = function (_group) { this._group = _group; this._filename = null; this._file_id = null; this._contents = null; this._thumbnail = null; this._thumbnail_url = null; this.raw = null; this.img = null; this._draft = false; this._keys = new Array(); this._ratings = new Array(); this._file_url = null; com.newgrounds.API.addEventListener(com.newgrounds.APIEvent.FILE_PRIVS_LOADED, this.checkPrivs, this); }; com.newgrounds.SaveFile = v1; var v2 = v1.prototype; v1.setFilePath = function (path) { com.newgrounds.SaveFile.file_path = path + '/'; }; v1.setImagePath = function (path) { com.newgrounds.SaveFile.image_path = path + '/'; }; v2.__get__name = function () { return this._filename; }; v2.__set__name = function (s) { this._filename = s; return this.__get__name(); }; v2.__get__id = function () { return this._file_id; }; v2.__get__description = function () { return this._description; }; v2.__set__description = function (s) { this._description = s; return this.__get__description(); }; v2.__get__contents = function () { return this._contents; }; v2.__set__contents = function (o) { this._contents = o; return this.__get__contents(); }; v2.__get__thumbnailUrl = function () { return com.newgrounds.SaveFile.image_path + this._thumbnail_url; }; v2.__set__thumbnailUrl = function (s) { this._thumbnail_url = s; return this.__get__thumbnailUrl(); }; v2.__get__fileUrl = function () { return com.newgrounds.SaveFile.file_path + this._file_url; }; v2.__set__fileUrl = function (s) { this._file_url = s; return this.__get__fileUrl(); }; v2.__get__authorID = function () { return this._author_id; }; v2.__set__authorID = function (i) { this._author_id = i; return this.__get__authorID(); }; v2.__get__authorName = function () { return this._author_name; }; v2.__set__authorName = function (n) { this._author_name = n; return this.__get__authorName(); }; v2.__get__views = function () { return this._views; }; v2.__get__draft = function () { return this._draft; }; v2.__set__draft = function (d) { this._draft = d; return this.__get__draft(); }; v2.__get__group = function () { return this._group; }; v2.__get__groupId = function () { return this._group.getID(); }; v2.__get__groupName = function () { return this._group.getName(); }; v2.__get__groupType = function () { return this._group.getType(); }; v2.__get__locked = function () { return this._locked; }; v2.__get__shared = function () { return this._isShared(); }; v2.__get__isPrivate = function () { return this._isPrivate(); }; v2.__get__isPublic = function () { return this._isPublic(); }; v2.__get__approved = function () { return this._isApproved(); }; v2.__get__keys = function () { return this._keys; }; v2.__get__ratings = function () { return this._ratings; }; v2.loadAuthorPage = function () { com.newgrounds.API.loadUserPage(this._author_id, this._author_name); }; v2.getID = function () { return this._file_id; }; v2.exists = function () { return this._file_id !== null; }; v2.getGroup = function () { return this._group; }; v2.getName = function () { return this._filename; }; v2._isPrivate = function () { return this.status == com.newgrounds.SaveFile.STATUS.PRIVATE; }; v2._isShared = function () { return this.status > com.newgrounds.SaveFile.STATUS.PRIVATE; }; v2._isApproved = function () { return this.status > com.newgrounds.SaveFile.STATUS.UNAPPROVED; }; v2._isPublic = function () { if (this._isPrivate()) { return false; return false; } if (this._group.isType('SYSTEM') or this._group.isType('PRIVATE')) { return false; return false; } if (this._group.isType('PUBLIC')) { return true; return false; } if (this._isApproved()) { return true; } return false; }; v2.isLocked = function () { return this._locked; }; v2.getDescription = function () { return this._description; }; v2.getShared = function () { return this._draft; }; v2.getThumbnailImageScan = function () { return this.img; }; v2.getRawContents = function () { return this.raw; }; v2.getDuplicateID = function () { return this.duplicate_id; }; v2.getKeys = function () { return this._keys; }; v2.getKey = function (key) { var v3 = (this.getGroup()).getKey(key); var v2 = 0; while (v2 < this._keys.length) { if (this._keys[v2].id == v3.key_id) { return this._keys[v2].value; } ++v2; } }; v2.getRating = function (rating) { var v2 = (this.getGroup()).getRating(rating); if (this._ratings[v2.rating_id]) { return this._ratings[v2.rating_id]; } else { return null; } }; v2.overwriteAllowed = function () { return this.overwrite; }; v2.getFileURL = function () { return com.newgrounds.SaveFile.file_path + this._file_url; }; v2.getThumbnailURL = function () { return com.newgrounds.SaveFile.image_path + this._thumbnail_url; }; v2.overwriteExisting = function () { this.overwrite = true; }; v2.setID = function (id, add_to_group) { this._file_id = id; if (add_to_group) { (this.getGroup()).addFile(this); } }; v2.setName = function (filename, locked) { this._filename = filename; this._locked = locked; }; v2.setDescription = function (description) { this._description = description; }; v2.setDraft = function (draft) { this._draft = draft; }; v2.setContents = function (_contents) { this._contents = _contents; }; v2.setThumbnail = function (thumb) { if (thumb) { this._thumbnail = thumb; } else { this._thumbnail = null; } }; v2.setThumbnailURL = function (url) { this._thumbnail_url = url; }; v2.setFileURL = function (url) { this._file_url = url; }; v2.setPermissions = function (status, _locked) { this._locked = _locked; this.status = status; }; v2.setKey = function (key, val) { var v4 = (this.getGroup()).getKeyID(key); var v2; if (!v4) { this.onError('\'' + key + '\' is not a valid key for the \'' + this._group.__get__name() + '\' save group', 'setKey', 'INVALID_VALUE', true); return undefined; } if (!this._group.keyValueIsValid(key, val) && val !== null) { this.onError('\'' + val + '\' is not a valid ' + this._group.getKeyType(key, true), 'setKey', 'INVALID_VALUE', true); return undefined; } switch (this._group.getKeyType(key, true)) { case 'string': if (val) { val = String(val); } else { val = undefined; } break; default: val = Number(val); } var v5 = {'id': v4, 'value': val}; for (var v6 in this._keys) { v2 = this._keys[v6]; if (v2.id == v4) { this._keys[v6] = v5; return undefined; } } this._keys.push(v5); }; v2.setRating = function (rating, votes, score) { var v2 = (this.getGroup()).getRating(rating); if (!votes) { votes = 0; } if (!score) { score = 0; } if (!v2.is_float) { score = Math.round(Number(score)); } this._ratings[v2.rating_id] = {'id': Number(v2.rating_id), 'name': v2.rating_name, 'votes': Number(votes), 'score': Number(score)}; return this._ratings[v2.rating_id]; }; v2.clearBuffer = function () { this._contents = null; this.raw = null; this.img = null; this.scanner = null; this.overwrite = false; this.duplicate_id = null; }; v2.onError = function (msg, funct, code) { com.newgrounds.SaveFile.busy = false; if (!code) { code = 'SAVE_FILE_ERROR'; } if (!funct) { funct = 'unknown_function'; } var v3 = 'getSaveGroup(\'' + this._group.getName() + '\')'; if (this.exists()) { funct = v3 + '.getFile(\'' + this.getName() + '\').' + funct; } else { funct = v3 + '.getNewFile().' + funct; } var v5 = new com.newgrounds.APIError(code, msg); com.newgrounds.API.sendError({'command_id': funct}, v5); }; v2.onSaved = function (p) { com.newgrounds.SaveFile.busy = false; if (!this.exists()) { this.setID(p.save_id, true); } this.setName(p.filename); this.setFileURL(p.file_url); if (p.thumbnail) { this._thumbnail_url = p.thumbnail; } }; v2.onVoted = function (p) { trace('ONVOTED WAS CALLED'); return this.setRating(p.rating_id, p.votes, p.score); }; v2.sendRating = function (rating, vote) { var v6 = null; if (!com.newgrounds.API.hasUserSession()) { v6 = new com.newgrounds.APIError('PERMISSION_DENIED', 'You must be logged in to vote on save files'); } var v2 = this._group.getRating(rating); if (!v2) { v6 = new com.newgrounds.APIError('PERMISSION_DENIED', '\'' + rating + '\' is not a valid rating for the \'' + this._group.getName() + '\' save group'); } if (this.voted === true) { v6 = new com.newgrounds.APIError('PERMISSION_DENIED', 'You have already voted on this item today'); } if (vote < v2.min_value or vote > v2.max_value) { v6 = new com.newgrounds.APIError('PERMISSION_DENIED', '\'' + rating + '\' votes must be between ' + v2.min_value + ' and ' + v2.max_value); } if (v6) { com.newgrounds.API.callListener(com.newgrounds.APIEvent.VOTE_COMPLETE, false, {'error': v6, 'file': this}); return undefined; } this.voted = true; com.newgrounds.API.rateSaveFile(this, v2, vote); }; v2.replace = function () { if (com.newgrounds.SaveFile.busy) { this.onError('Another file is currently being saved, please try again later', 'replace'); return undefined; } this.overwriteExisting(); this.save(); }; v2.save = function () { if (com.newgrounds.API.hasUserSession() && !this._author_id && !this._author_name) { this._author_id = com.newgrounds.API.getUserID(); this._author_name = com.newgrounds.API.getUserName(); } if (com.newgrounds.SaveFile.busy) { this.onError('Another file is currently being saved, please try again later', 'save', 'UPLOAD_IN_PROGRESS'); return undefined; } com.newgrounds.SaveFile.busy = true; if (this.isLocked()) { this.onError('This file is _locked and cannot be overwritten.', 'save', 'PERMISSION_DENIED'); return undefined; } if (!this._filename) { this.onError('Please provide a name for your file.', 'save', 'MISSING_PARAM'); return undefined; } else { if (!this._contents) { this.onError('The file is empty.', 'save', 'MISSING_PARAM'); return undefined; } } this.img = null; com.newgrounds.API.checkFilePrivs(this); }; v2.checkPrivs = function (e) { if (e.data.file.id != this.__get__id()) { return undefined; } if (e.success) { if (e.data.can_write) { this.can_write = e.data.can_write; if (e.data.duplicate_id) { this.duplicate_id = e.data.duplicate_id; } if (e.data.exists && !this.overwriteAllowed()) { this.onError('You already have a file named \'' + this.getName() + '\'', 'save', 'CONFIRM_REQUEST'); } else { this.startFile(); } } else { this.onError('This file is _locked and cannot be overwritten', 'save', 'PERMISSION_DENIED'); } } else { this.onError('There was a problem looking up your file\'s details. The server may be down.', 'save', 'UNKNOWN_ERROR'); } }; v2.startFile = function () { if (this.can_write) { if (this._thumbnail) { this.scanner = new com.newgrounds.encoders.ImageScanner(this._thumbnail); this.scanner.setCallback(this, 'encodeFile'); this.scanner.startScan(100, 100, true); } else { this.encodeFile(); } } else { this.onError('You do not have permission to save this file.', 'save', 'PERMISSION_DENIED'); } }; v2.encodeFile = function (img) { this.img = img; this.raw = (com.newgrounds.encoders.SerialXML.encode(this._contents)).toString(); this.compressFile(); }; v2.compressFile = function () { com.newgrounds.encoders.LZW2.compress(this.raw, function (s, p) { p.file.onCompressed(s); }, {'file': this}); }; v2.onCompressed = function (compressed) { this.raw = escape(compressed); this.writeFile(); }; v2.getProgress = function () {}; v2.writeFile = function () { ((this.getGroup()).getQuery()).clearCache(); com.newgrounds.API.saveFile(this); this.clearBuffer(); }; v2.loadContents = function () { if (this._contents) { com.newgrounds.API.setCurrentSaveFile(this); com.newgrounds.API.callListener(com.newgrounds.APIEvent.FILE_LOADED, true, {'file': this}); return undefined; } if (!this.getFileURL()) { var v4 = new com.newgrounds.APIError('FILE_NOT_FOUND', 'Attempted to load contents of an unsaved file.'); com.newgrounds.API.callListener(com.newgrounds.APIEvent.FILE_LOADED, false, {'file': this, 'error': v4}); return undefined; } var v2 = new LoadVars(); v2.target = this; var target = this; v2.onData = function (encoded) { target.onLoaded(encoded); }; v2.load(this.getFileURL()); }; v2.onLoaded = function (encoded) { if (encoded == undefined) { var v3 = new com.newgrounds.APIError('FILE_NOT_FOUND', 'We could not find the contents for this file. It may have been deleted.'); com.newgrounds.API.callListener(com.newgrounds.APIEvent.FILE_LOADED, false, {'file': this, 'error': v3}); return undefined; } com.newgrounds.encoders.LZW.setXMLSafe(true); this._contents = com.newgrounds.encoders.SerialXML.decode(com.newgrounds.encoders.LZW.decompress(encoded)); com.newgrounds.API.callListener(com.newgrounds.APIEvent.FILE_LOADED, true, {'file': this}); }; v2.setViews = function (n) { this._views = n; }; v1.busy = false; v2.can_write = false; v2._draft = false; v2.status = 0; v2.voted = false; v2._views = 0; v2._locked = false; v2.overwrite = false; v2.duplicate_id = null; v2._keys = null; v2._ratings = null; v2._author_id = null; v2._author_name = null; v1.STATUS = {'PRIVATE': 1, 'PUBLIC': 2, 'UNAPPROVED': 3, 'APPROVED': 4}; v2.addProperty('approved', v2.__get__approved, function () {}); v2.addProperty('authorID', v2.__get__authorID, v2.__set__authorID); v2.addProperty('authorName', v2.__get__authorName, v2.__set__authorName); v2.addProperty('contents', v2.__get__contents, v2.__set__contents); v2.addProperty('description', v2.__get__description, v2.__set__description); v2.addProperty('draft', v2.__get__draft, v2.__set__draft); v2.addProperty('fileUrl', v2.__get__fileUrl, v2.__set__fileUrl); v2.addProperty('group', v2.__get__group, function () {}); v2.addProperty('groupId', v2.__get__groupId, function () {}); v2.addProperty('groupName', v2.__get__groupName, function () {}); v2.addProperty('groupType', v2.__get__groupType, function () {}); v2.addProperty('id', v2.__get__id, function () {}); v2.addProperty('isPrivate', v2.__get__isPrivate, function () {}); v2.addProperty('isPublic', v2.__get__isPublic, function () {}); v2.addProperty('keys', v2.__get__keys, function () {}); v2.addProperty('locked', v2.__get__locked, function () {}); v2.addProperty('name', v2.__get__name, v2.__set__name); v2.addProperty('ratings', v2.__get__ratings, function () {}); v2.addProperty('shared', v2.__get__shared, function () {}); v2.addProperty('thumbnailUrl', v2.__get__thumbnailUrl, v2.__set__thumbnailUrl); v2.addProperty('views', v2.__get__views, function () {}); ASSetPropFlags(com.newgrounds.SaveFile.prototype, null, 1); } #endinitclip } movieClip 51 __Packages.com.newgrounds.SaveGroup { #initclip if (!_global.com) { _global.com = new Object(); } if (!_global.com.newgrounds) { _global.com.newgrounds = new Object(); } if (!_global.com.newgrounds.SaveGroup) { var v1 = function (group_id, group_name, group_type) { this.group_name = group_name; this.group_id = group_id; this.group_type = group_type; this.query = new com.newgrounds.SaveGroupQuery(this); this.ratings = new Array(); this.keys = new Array(); this.files = new Array(); }; com.newgrounds.SaveGroup = v1; var v2 = v1.prototype; v2.__get__id = function () { return this.group_id; }; v2.__get__name = function () { return this.group_name; }; v2.__get__type = function () { return this.group_type; }; v2.addFile = function (file) { var v2 = 0; while (v2 < this.files.length) { if (this.files[v2].getID() == file.getID()) { this.files[v2] = file; return undefined; } ++v2; } this.files.push(file); }; v2.getFile = function (file_id) { trace('getting the file ' + file_id); var v2 = 0; while (v2 < this.files.length) { trace('Looking up ' + file_id + ' :: ' + this.files[v2].getID() + ' || ' + this.files[v2].getName()); if (com.newgrounds.SaveGroup.isNumeric(file_id) and this.files[v2].getID() == Number(file_id)) { return this.files[v2]; } else { if (this.files[v2].getName() == file_id) { return this.files[v2]; } } ++v2; } return null; }; v2.addRating = function (rating_id, rating_name, min_value, max_value, is_float) { var v3 = {'rating_id': rating_id, 'rating_name': rating_name, 'min_value': min_value, 'max_value': max_value, 'is_float': is_float}; if (!this.getRatingID(rating_name)) { this.ratings.push(v3); } }; v2.getRating = function (rating_id) { var v2 = 0; while (v2 < this.ratings.length) { if (com.newgrounds.SaveGroup.isNumeric(rating_id) and this.ratings[v2].rating_id == rating_id) { return this.ratings[v2]; } else { if (this.ratings[v2].rating_name == rating_id) { return this.ratings[v2]; } } ++v2; } return null; }; v2.getRatingID = function (rating_id) { var v2 = this.getRating(rating_id); if (v2) { return v2.rating_id; } return null; }; v2.getRatingName = function (rating_id) { var v2 = this.getRating(rating_id); if (v2) { return v2.rating_name; } return null; }; v2.addKey = function (key_id, key_name, key_type) { trace('>>>>>>>>>>> ADDING KEY ' + key_id + ' ' + key_name + ' ' + key_type); var v2 = {'key_id': key_id, 'key_name': key_name, 'key_type': key_type}; if (!this.getKey(key_name)) { this.keys.push(v2); } }; v2.getKey = function (key_id) { var v2 = 0; while (v2 < this.keys.length) { if (com.newgrounds.SaveGroup.isNumeric(key_id) and this.keys[v2].key_id == key_id) { return this.keys[v2]; } else { if (this.keys[v2].key_name == key_id) { return this.keys[v2]; } } ++v2; } return null; }; v2.getKeyType = function (key_name, as_string) { var v2 = this.getKey(key_name); if (v2) { return as_string ? com.newgrounds.SaveGroup.KEY_TYPES[v2.key_type] : v2.key_type; } return null; }; v2.getKeyID = function (key_id) { var v2 = this.getKey(key_id); if (v2) { return v2.key_id; } return null; }; v2.getKeyName = function (key_id) { var v2 = this.getKey(key_id); if (v2) { return v2.key_name; } return null; }; v2.keyValueIsValid = function (key, value) { var v4; var v7; if (typeof value == 'number' or (Number(value)).toString() == String(value)) { value = Number(value); v4 = (Math.round(value) === value) ? 'integer' : 'float'; } else { v4 = typeof value; if (v4 == 'string') { var v6 = '01234567890.-'; var v5 = true; var v2 = 0; while (v2 < value.length) { if (v6.indexOf(value.charAt(v2)) < 0) { v5 = false; break; } ++v2; } if (v5) { value = Number(value); v4 = 'float'; } } } switch (this.getKeyType(key, true)) { case 'integer': v7 = v4 == 'integer' or v4 == 'boolean'; return v7; case 'float': v7 = v4 == 'float' or v4 == 'integer' or v4 == 'boolean'; return v7; case 'string': v7 = v4 == 'string' or v4 == 'float' or v4 == 'integer' or v4 == 'boolean'; return v7; case 'boolean': v7 = v4 == 'boolean' or value == 1 or value == 0 or value == ''; return v7; } v7 = false; return v7; }; v2.isType = function (type) { return this.group_type == com.newgrounds.SaveGroup.TYPES[type.toUpperCase()]; }; v2.getID = function () { return this.group_id; }; v2.getName = function () { return this.group_name; }; v2.getType = function () { return this.group_type; }; v2.isSystem = function () { return undefined; }; v2.getQuery = function (as_object) { if (as_object) { return this.query.toObject(); } return this.query; }; v2.newQuery = function () { this.query.reset(); return this.query; }; v2.clearQuery = function () { this.query.reset(); }; v2.newFile = function () { var v2 = new com.newgrounds.SaveFile(this); return v2; }; v1.isNumeric = function (value) { return typeof value == 'number' or (Number(value)).toString() == String(value); }; v1.KEY_TYPES = [null, 'float', 'integer', 'string', 'boolean']; v1.TYPES = {'SYSTEM': 0, 'PRIVATE': 1, 'PUBLIC': 2, 'MODERATED': 3}; v2.addProperty('id', v2.__get__id, function () {}); v2.addProperty('name', v2.__get__name, function () {}); v2.addProperty('type', v2.__get__type, function () {}); ASSetPropFlags(com.newgrounds.SaveGroup.prototype, null, 1); } #endinitclip } movieClip 52 __Packages.com.newgrounds.ValidationTools { #initclip if (!_global.com) { _global.com = new Object(); } if (!_global.com.newgrounds) { _global.com.newgrounds = new Object(); } if (!_global.com.newgrounds.ValidationTools) { var v1 = function () {}; com.newgrounds.ValidationTools = v1; var v2 = v1.prototype; v1.isNumber = function (v) { if (typeof v == 'number') { return true; return false; } if (typeof v == 'string' and (Number(v)).toString() == v) { return true; } return false; }; v1.isInteger = function (v) { if (com.newgrounds.ValidationTools.isNumber(v)) { v = Number(v); return Math.floor(v) == v; } return false; }; v1.isFloat = function (v) { return com.newgrounds.ValidationTools.isNumber(v); }; v1.isString = function (v) { if (typeof v == 'string' or typeof v == 'number') { return true; } return false; }; v1.isEmpty = function (o) { for (var v2 in o) { return false; } return true; }; ASSetPropFlags(com.newgrounds.ValidationTools.prototype, null, 1); } #endinitclip } movieClip 53 __Packages.com.newgrounds.APIEvent { #initclip if (!_global.com) { _global.com = new Object(); } if (!_global.com.newgrounds) { _global.com.newgrounds = new Object(); } if (!_global.com.newgrounds.APIEvent) { var v1 = function (type, success, data) { this._type = type; this._success = success; if (data.isError()) { this._error = data; this.data = null; } else { if (data.error && data.error.isError()) { this._error = data.error; this.data = data; } else { this.data = data; this._error = null; } } }; com.newgrounds.APIEvent = v1; var v2 = v1.prototype; v2.__get__error = function () { return this._error; }; v2.__get__type = function () { return this._type; }; v2.__get__success = function () { return this._success; }; v1.API_CONNECTED = 'apiConnected'; v1.ADS_APPROVED = 'adsApproved'; v1.AD_ATTACHED = 'adAttached'; v1.HOST_BLOCKED = 'hostBlocked'; v1.NEW_VERSION_AVAILABLE = 'newVersionAvailable'; v1.EVENT_LOGGED = 'eventLogged'; v1.SCORE_POSTED = 'scorePosted'; v1.SCORES_LOADED = 'scoresLoaded'; v1.UNLOCK_MEDAL = 'unlockMedal'; v1.MEDAL_UNLOCKED = 'medalUnlocked'; v1.MEDALS_LOADED = 'medalsLoaded'; v1.METADATA_LOADED = 'metadataLoaded'; v1.FILE_PRIVS_LOADED = 'filePrivsLoaded'; v1.FILE_SAVED = 'fileSaved'; v1.FILE_LOADED = 'fileLoaded'; v1.FILE_INITIALIZED = 'fileInitialized'; v1.FILE_REQUESTED = 'fileRequested'; v1.QUERY_COMPLETE = 'queryComplete'; v1.VOTE_COMPLETE = 'voteComplete'; v1.API_ERROR = 'apiError'; v1.UNCAUGHT_EVENT = 'uncaughtEvent'; v2.addProperty('error', v2.__get__error, function () {}); v2.addProperty('success', v2.__get__success, function () {}); v2.addProperty('type', v2.__get__type, function () {}); ASSetPropFlags(com.newgrounds.APIEvent.prototype, null, 1); } #endinitclip } movieClip 54 __Packages.com.newgrounds.SaveGroupQuery { #initclip if (!_global.com) { _global.com = new Object(); } if (!_global.com.newgrounds) { _global.com.newgrounds = new Object(); } if (!_global.com.newgrounds.SaveGroupQuery) { var v1 = function (_group) { this._group = _group; this.reset(); }; com.newgrounds.SaveGroupQuery = v1; var v2 = v1.prototype; v2.__get__group = function () { return this._group; }; v2.__get__groupId = function () { return this._group.getID(); }; v2.__get__resultsPerPage = function () { return this._num_results; }; v2.__set__resultsPerPage = function (n) { this._num_results = n; return this.__get__resultsPerPage(); }; v2.__get__pages = function () { return this._pages; }; v2.__get__page = function () { return this._page; }; v2.__set__page = function (n) { this._page = n; return this.__get__page(); }; v2.__get__randomize = function () { return this._randomize_results; }; v2.__set__randomize = function (b) { this._randomize_results = b; return this.__get__randomize(); }; v2.__get__results = function () { return this._results; }; v2.clearCache = function () { this._results = []; }; v2.reset = function () { this.file_conditions = new Array(); this.key_conditions = new Array(); this.rating_conditions = new Array(); this.sort_conditions = new Array(); this.lookup_keys = new Object(); this.lookup_ratings = new Object(); this._num_results = 20; this._page = 1; this._randomize_results = false; this._group_by = new Array(); this.clearCache(); }; v2.getGroup = function () { return this._group; }; v2.getGroupID = function () { return this._group.getID(); }; v2.isRandomized = function () { return this._randomize_results; }; v2.toObject = function () { var v2; var v11 = {'page': this._page, 'num_results': this._num_results}; if (this._randomize_results) { v11.randomize = 1; } if (!com.newgrounds.ValidationTools.isEmpty(this.file_conditions)) { var v12 = []; v2 = 0; while (v2 < this.file_conditions.length) { var v6 = this.file_conditions[v2]; v12.push({'field': com.newgrounds.SaveGroupQuery.file_fields[v6.field.toUpperCase()].id, 'operator': v6.operator, 'value': v6.value}); ++v2; } v11.file_conditions = v12; } if (!com.newgrounds.ValidationTools.isEmpty(this.key_conditions)) { v11.key_conditions = this.key_conditions; } if (!com.newgrounds.ValidationTools.isEmpty(this.rating_conditions)) { v11.rating_conditions = this.rating_conditions; } if (!com.newgrounds.ValidationTools.isEmpty(this.sort_conditions)) { var v14 = []; v2 = 0; while (v2 < this.sort_conditions.length) { var v3 = this.sort_conditions[v2]; if (v3.table == com.newgrounds.SaveGroupQuery.TABLE_FILES) { var v8 = com.newgrounds.SaveGroupQuery.file_fields[v3.field.toUpperCase()].id; } else { var v8 = v3.field; } var v5 = {'field': v8, 'table': v3.table}; if (v3.desc) { v5.desc = 1; } if (v3.extra) { v5.extra = v3.extra; } v14.push(v5); ++v2; } v11.sort_conditions = v14; } if (!com.newgrounds.ValidationTools.isEmpty(this.lookup_keys)) { var v15 = []; for (v2 in this.lookup_keys) { v15.push(v2); } v11.lookup_keys = v15; } if (!com.newgrounds.ValidationTools.isEmpty(this.lookup_ratings)) { var v13 = []; for (v2 in this.lookup_ratings) { v13.push(v2); } v11.lookup_ratings = v13; } if (!com.newgrounds.ValidationTools.isEmpty(this._group_by)) { var v16 = []; v2 = 0; while (v2 < this._group_by.length) { var v4 = this._group_by[v2]; if (v4.table == com.newgrounds.SaveGroupQuery.TABLE_FILES) { v8 = com.newgrounds.SaveGroupQuery.file_fields[v4.field.toUpperCase()].id; } else { v8 = v4.field; } v16.push({'field': v8, 'table': v4.table}); ++v2; } v11.group_by = v16; } return v11; }; v2.toString = function () { var v9; var v2; var v11 = []; v9 = 'Lookup:\r'; var v14 = []; for (var v6 in com.newgrounds.SaveGroupQuery.file_fields) { v14.push(' ' + v6); v2 = true; } v9 += v14.join('\n'); v11.push(v9); v9 = ''; v2 = false; var v16 = []; for (v6 in this.lookup_keys) { v16.push(' KEY \'' + this._group.getKeyName(v6) + '\''); v2 = true; } if (v2) { v9 += v16.join('\n'); v11.push(v9); } v9 = ''; v2 = false; var v15 = []; for (v6 in this.lookup_ratings) { v15.push(' RATING \'' + this._group.getRatingName(v6) + '\''); v2 = true; } if (v2) { v9 += v15.join('\n'); v11.push(v9); } v9 = 'Where:\r'; v2 = false; var v8 = []; v6 = 0; while (v6 < this.file_conditions.length) { var v7 = this.file_conditions[v6]; var v10 = ' ' + v7.field + ' ' + v7.operator + ' ' + v7.value; v8.push(v10); v2 = true; ++v6; } v6 = 0; while (v6 < this.key_conditions.length) { v7 = this.key_conditions[v6]; v10 = ' KEY \'' + this._group.getKeyName(v7.key_id) + '\' ' + v7.operator + ' ' + v7.value; v8.push(v10); v2 = true; ++v6; } v6 = 0; while (v6 < this.rating_conditions.length) { v7 = this.rating_conditions[v6]; v10 = ' RATING \'' + this._group.getRatingName(v7.rating_id) + '\' ' + v7.operator + ' ' + v7.value; v8.push(v10); v2 = true; ++v6; } if (v2) { v9 += v8.join('\n'); v11.push(v9); } v9 = 'Group By:\r'; v2 = false; var v13 = []; v6 = 0; while (v6 < this._group_by.length) { var v4 = this._group_by[v6]; var v5; if (v4.table == com.newgrounds.SaveGroupQuery.TABLE_KEYS) { v5 = ' KEY \'' + this._group.getKeyName(v4.field) + '\''; } else { if (v4.table == com.newgrounds.SaveGroupQuery.TABLE_RATINGS) { v5 = ' RATING \'' + this._group.getRatingName(v4.field) + '\''; } else { v5 = ' ' + v4.field; } } v13.push(v5); v2 = true; ++v6; } if (v2) { v9 += v13.join('\n'); v11.push(v9); } v9 = 'Order By:\r'; v2 = false; var v12 = []; if (this.isRandomized()) { v12.push(' RANDOM'); v2 = true; } v6 = 0; while (v6 < this.sort_conditions.length) { var v3 = this.sort_conditions[v6]; if (v3.table == com.newgrounds.SaveGroupQuery.TABLE_KEYS) { v5 = ' KEY \'' + this._group.getKeyName(v3.field) + '\''; } else { if (v3.table == com.newgrounds.SaveGroupQuery.TABLE_RATINGS) { v5 = ' RATING \'' + this._group.getRatingName(v3.field) + '\' ' + ((v3.extra == 'votes') ? 'VOTES' : 'SCORE'); } else { v5 = ' ' + v3.field; } } v5 += v3.desc ? ' (DESCENDING)' : ''; v12.push(v5); v2 = true; ++v6; } if (v2) { v9 += v12.join('\n'); v11.push(v9); } v11.push('Page:\r ' + this._page); v11.push('Results Per Page:\r ' + this._num_results); return v11.join('\n'); }; v2.setResultsPerPage = function (r) { this._num_results = r; this.clearCache(); }; v2.setPage = function (p) { this._page = p; this.clearCache(); }; v2.setRandomize = function (bool) { this._randomize_results = (bool === false) ? false : true; }; v2.includeKey = function (key) { if (!this._group.getKeyID(key)) { trace('[SaveGroupQuery Error] :: \'' + key + '\' is not a valid key for the \'' + this._group.__get__name() + '\' group.'); return undefined; } this.lookup_keys[this._group.getKeyID(key)] = 1; this.clearCache(); }; v2.includeRating = function (rating) { if (!this._group.getRatingID(rating)) { trace('[SaveGroupQuery Error] :: \'' + rating + '\' is not a valid rating for the \'' + this._group.__get__name() + '\' group.'); return undefined; } this.lookup_ratings[this._group.getRatingID(rating)] = 1; this.clearCache(); }; v2.groupBy = function (field) { this.addGroupItem(com.newgrounds.SaveGroupQuery.TABLE_FILES, field); }; v2.groupByKey = function (key) { if (!this._group.getKeyID(key)) { this.error('\'' + key + '\' is not a valid key for the \'' + this._group.getName() + '\' _group'); return undefined; } this.addGroupItem(com.newgrounds.SaveGroupQuery.TABLE_KEYS, this._group.getKeyID(key)); }; v2.groupByRating = function (rating) { if (!this._group.getRatingID(rating)) { this.error('\'' + rating + '\' is not a valid rating for the \'' + this._group.getName() + '\' _group'); return undefined; } this.addGroupItem(com.newgrounds.SaveGroupQuery.TABLE_RATINGS, this._group.getRatingID(rating)); }; v2.addGroupItem = function (table, field) { this._group_by.push({'table': table, 'field': field}); this.clearCache(); }; v2.excludeKey = function (key) { delete this.lookup_keys[this._group.getKeyID(key)]; this.clearCache(); }; v2.excludeRating = function (rating) { delete this.lookup_ratings[this._group.getRatingID(rating)]; this.clearCache(); }; v2.addCondition = function (field, operator, value) { if (field == 'FILE_STATUS' && typeof value == 'string' && com.newgrounds.SaveFile.STATUS[value.toUpperCase()] !== undefined) { value = com.newgrounds.SaveFile.STATUS[value.toUpperCase()]; } if (operator == '==') { operator = '='; } if (!this.validateOperator(operator) or !this.validateValue(field, value)) { return undefined; } this.file_conditions.push({'field': field, 'operator': operator, 'value': value}); this.clearCache(); }; v2.addKeyCondition = function (key, operator, value) { if (!this._group.getKeyID(key)) { this.error('\'' + key + '\' is not a valid key for the \'' + this._group.getName() + '\' save _group'); } else { if (!this.validateOperator(operator) or !this.validateKeyValue(key, value)) { return undefined; } } this.key_conditions.push({'key_id': this._group.getKeyID(key), 'operator': operator, 'value': value}); this.clearCache(); }; v2.addRatingCondition = function (rating, operator, value, column) { if (!column) { column = 'SCORE'; } if (!this._group.getRatingID(rating)) { this.error('\'' + rating + '\' is not a valid rating for the \'' + this._group.getName() + '\' save _group'); } else { if (!this.validateOperator(operator)) { return undefined; } else { if (!com.newgrounds.ValidationTools.isNumber(value)) { this.error('Expected numeric value for rating \'' + rating + '\''); return undefined; } } } if (!com.newgrounds.SaveGroupQuery.rating_columns[column]) { var v2 = []; for (var v3 in com.newgrounds.SaveGroupQuery.rating_columns) { v2.push(v3); } this.error('Invalid rating column \'' + column + '\'. Valid columns are ' + v2.join(', ')); return undefined; } this.rating_conditions.push({'rating_id': this._group.getRatingID(rating), 'operator': operator, 'value': value, 'column': com.newgrounds.SaveGroupQuery.rating_columns[column]}); this.clearCache(); }; v2.sortOn = function (field, order) { if (!com.newgrounds.SaveGroupQuery.file_fields[field]) { var v2 = []; for (var v3 in com.newgrounds.SaveGroupQuery.file_fields) { v2.push(v3); } this.error('\'' + field + '\' is not a valid sort field. Valid fields are: ' + v2.join(', ')); return undefined; } this.addSortCondition(com.newgrounds.SaveGroupQuery.TABLE_FILES, field, order); }; v2.sortOnKey = function (key, order) { if (!this._group.getKeyID(key)) { this.error('\'' + key + '\' is not a valid key for the \'' + this._group.getName() + '\' _group'); return undefined; } this.addSortCondition(com.newgrounds.SaveGroupQuery.TABLE_KEYS, this._group.getKeyID(key), order); }; v2.sortOnRating = function (rating, order, column) { if (!this._group.getRatingID(rating)) { this.error('\'' + rating + '\' is not a valid rating for the \'' + this._group.getName() + '\' _group'); return undefined; } if (!column) { column = 'score'; } this.addSortCondition(com.newgrounds.SaveGroupQuery.TABLE_RATINGS, this._group.getRatingID(rating), order, column); }; v2.sortOnRatingScore = function (rating, order) { this.sortOnRating(rating, order, 'score'); }; v2.sortOnRatingVotes = function (rating, order) { this.sortOnRating(rating, order, 'votes'); }; v2.addSortCondition = function (table, field, order, extra) { var v7; if (!order or order == '' or order.toUpperCase() == 'ASC') { v7 = false; } else { if (order.toUpperCase() == 'DESC') { v7 = true; } else { this.error('\'' + order + '\' is not a valid sort order!'); return undefined; } } var v3 = {'table': table, 'field': field, 'desc': v7}; if (extra) { v3.extra = extra; } this.sort_conditions.push(v3); this.clearCache(); }; v2.onExecuted = function (results) { this._results = []; var v6 = 0; while (v6 < results.length) { var v2 = results[v6]; var v3 = new com.newgrounds.SaveFile(this._group); v3.setName(v2.filename); v3.setID(v2.save_id); v3.setDescription(v2.description); v3.setThumbnailURL(v2.thumb); v3.setFileURL(v2.file); if (v2.views) { v3.setViews(v2.views); } v3.setPermissions(v2.status, v2.locked); v3.authorName = v2.user_name; v3.authorID = v2.user_id; var v5 = 0; while (v5 < v2.keys.length) { v3.setKey(v2.keys[v5].id, v2.keys[v5].value); ++v5; } var v4 = 0; while (v4 < v2.ratings.length) { v3.setRating(v2.ratings[v4].id, v2.ratings[v4].votes, v2.ratings[v4].score); ++v4; } (this.getGroup()).addFile(v3); this._results.push(v3); ++v6; } this.callEventDispatcher(); }; v2.hasResults = function () { return this._results && this._results.length > 0; }; v2.callEventDispatcher = function () { com.newgrounds.API.callListener(com.newgrounds.APIEvent.QUERY_COMPLETE, true, {'query': this}); }; v2.execute = function () { if (this.hasResults() && !this.isRandomized()) { this.callEventDispatcher(); return undefined; } this._group.query = this; com.newgrounds.API.lookupSaveFiles(this._group); }; v2.processResults = function (files) { return null; }; v2.validateKeyValue = function (key, value) { var v3 = this._group.getKeyType(key); if (v3) { var v2 = com.newgrounds.SaveGroup.KEY_TYPES[v3]; if (v2 == 'float' and com.newgrounds.ValidationTools.isFloat(value)) { return true; } else { if (v2 == 'integer' and com.newgrounds.ValidationTools.isInteger(value)) { return true; } else { if (v2 == 'string' and com.newgrounds.ValidationTools.isString(value)) { return true; } } } this.error('Expected type ' + v2 + ' for key \'' + key + '\''); } return false; }; v2.validateValue = function (field, value) { if (com.newgrounds.SaveGroupQuery.file_fields[field]) { if (com.newgrounds.SaveGroupQuery.file_fields[field].type == 'integer' and com.newgrounds.ValidationTools.isInteger(value)) { return true; } else { if (com.newgrounds.SaveGroupQuery.file_fields[field].type == 'float' and com.newgrounds.ValidationTools.isFloat(value)) { return true; } else { if (com.newgrounds.SaveGroupQuery.file_fields[field].type == 'string' and com.newgrounds.ValidationTools.isString(value)) { return true; } else { this.error('Expecting ' + com.newgrounds.SaveGroupQuery.file_fields[field].type + ' value on \'' + field + '\' condition'); } } } return false; } var v2 = []; for (var v4 in com.newgrounds.SaveGroupQuery.file_fields) { v2.push(v4); } this.error('\'' + field + '\' is not a searchable field. Valid fields are: ' + v2.join(', ')); return false; }; v2.validateOperator = function (operator) { var v2 = 0; while (v2 < com.newgrounds.SaveGroupQuery.valid_operators.length) { if (operator == com.newgrounds.SaveGroupQuery.valid_operators[v2]) { return true; } ++v2; } this.error('\'' + operator + '\' is not a valid lookup operation. Valid operations are: ' + com.newgrounds.SaveGroupQuery.valid_operators.join(', ')); return false; }; v2.error = function (msg) { trace('[QUERY ERROR] :: ' + msg); }; v1.TABLE_FILES = 1; v1.TABLE_KEYS = 2; v1.TABLE_RATINGS = 3; v2._results = []; v1.file_fields = {'FILE_ID': {'id': 0, 'field': 'file_id', 'type': 'integer'}, 'AUTHOR_ID': {'id': 1, 'field': 'user_id', 'type': 'integer'}, 'AUTHOR_NAME': {'id': 2, 'field': 'user_name', 'type': 'string'}, 'FILE_NAME': {'id': 3, 'field': 'file_name', 'type': 'string'}, 'CREATED_ON': {'id': 4, 'field': 'created', 'type': 'string'}, 'UPDATED_ON': {'id': 5, 'field': 'last_update', 'type': 'string'}, 'TOTAL_VIEWS': {'id': 6, 'field': 'views', 'type': 'integer'}, 'FILE_STATUS': {'id': 7, 'field': 'status', 'type': 'integer'}}; v1.rating_columns = {'TOTAL_VOTES': 'votes', 'SCORE': 'score'}; v1.valid_operators = ['=', '<', '>', '!=', '<>', '<=', '>=', '*', '!*', '!*=', '!=*', '*=', '=*']; v2.addProperty('group', v2.__get__group, function () {}); v2.addProperty('groupId', v2.__get__groupId, function () {}); v2.addProperty('page', v2.__get__page, v2.__set__page); v2.addProperty('pages', v2.__get__pages, function () {}); v2.addProperty('randomize', v2.__get__randomize, v2.__set__randomize); v2.addProperty('results', v2.__get__results, function () {}); v2.addProperty('resultsPerPage', v2.__get__resultsPerPage, v2.__set__resultsPerPage); ASSetPropFlags(com.newgrounds.SaveGroupQuery.prototype, null, 1); } #endinitclip } movieClip 55 __Packages.com.newgrounds.encoders.BaseN { #initclip if (!_global.com) { _global.com = new Object(); } if (!_global.com.newgrounds) { _global.com.newgrounds = new Object(); } if (!_global.com.newgrounds.encoders) { _global.com.newgrounds.encoders = new Object(); } if (!_global.com.newgrounds.encoders.BaseN) { var v1 = function (hash) { this.ceiling = 100000000000000.0; if (hash) { this.hashIndex = hash; } else { this.hashIndex = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ`~@#$%^&*()+|;/'; } this.bitSize = this.hashIndex.length; this.hashVal = new Object(); this.i = 0; while (this.i < this.bitSize) { this.hashVal[this.hashIndex.charAt(this.i)] = this.i; ++this.i; } }; com.newgrounds.encoders.BaseN = v1; var v2 = v1.prototype; v2.verify = function (s) { if (this.hashVal[s] != undefined) { return true; } else { return false; } }; v2.encode = function (n, minchars) { this.debug.lastencode = ''; if (typeof this.i != 'string') { n = n.toString(); } if (n.charAt(0) == '-') { var v3 = '-'; n = n.substring(1); } else { var v3 = ''; } if ((String(n)).indexOf('.') > -1) { var v4 = (String(n)).split('.', 2); return v3 + this.baseNEncoder(v4[0], minchars) + '.' + this.baseNEncoder(v4[1]); } else { this.debug.lastencode += '\tNo decimal\r'; return v3 + this.baseNEncoder(n, minchars); } }; v2.decode = function (s) { var v4 = 1; if (s.charAt(0) == '-') { v4 = -1; s = s.substring(1, s.length); } var v3 = s.indexOf('.'); if (v3 > -1) { var v5 = Math.pow(10, this.baseNDecoder(s.substring(v3 + 1, s.length))); return (this.baseNDecoder(s.substring(0, v3)) / v5) * v4; } else { return this.baseNDecoder(s) * v4; } }; v2.baseNEncoder = function (n, minchars) { if (!minchars) { minchars = 1; } var v4 = ''; while (n != 0) { n = Math.round(n); var v3 = n % this.bitSize; if (Math.round(v3) != v3) { trace('BaseN failed on ' + n + '%' + this.bitSize + ' = ' + v3 + ' ' + int(n) + ' ' + int(this.bitSize)); } v4 = this.hashIndex.charAt(v3) + v4; this.debug.lastencode += '\t-> n:' + n + ' % bitSize:' + this.bitSize + ' = ' + v3 + ', final char=' + v4 + '\n'; n -= v3; n /= this.bitSize; } if (minchars) { while (v4.length < minchars) { v4 = this.hashIndex.charAt(0) + v4; } } return v4; }; v2.baseNDecoder = function (s) { var v2 = 0; var v6 = 0; this.i = 0; while (this.i < s.length) { var v3 = s.charAt(s.length - this.i - 1); if (v3 == this.hashIndex.charAt(0)) { var v5 = 0; } else { var v5 = this.hashVal[v3] * Math.pow(this.bitSize, this.i); } v2 += v5; if (v2 >= this.ceiling) { v6 += (v2 - v2 % this.ceiling) / this.ceiling; v2 %= this.ceiling; } ++this.i; } if (v6 > 0) { v2 = '' + v2; while (v2.length < (this.ceiling.toString()).length - 1) { v2 = '0' + v2; } v2 = '' + v6 + v2; } return v2; }; v2.debug = new Object(); ASSetPropFlags(com.newgrounds.encoders.BaseN.prototype, null, 1); } #endinitclip } movieClip 56 __Packages.com.newgrounds.encoders.ImageScanner { #initclip if (!_global.com) { _global.com = new Object(); } if (!_global.com.newgrounds) { _global.com.newgrounds = new Object(); } if (!_global.com.newgrounds.encoders) { _global.com.newgrounds.encoders = new Object(); } if (!_global.com.newgrounds.encoders.ImageScanner) { var v1 = function (the_source) { if (the_source) { this.image_source = the_source; } else { this.image_source = _root; } this.reset(); if (typeof this.image_source == 'movieclip') { if (this.image_source == _root) { this.source_width = Stage.width; this.source_height = Stage.height; } else { this.source_width = Math.floor(this.image_source._width); this.source_height = Math.floor(this.image_source._height); } this.sourceBitmap = new flash.display.BitmapData(this.source_width, this.source_height, false, 4294967295.0); this.sourceBitmap.draw(_root); } else { if (this.image_source.width) { this.source_width = this.image_source.width; this.source_height = this.image_source.height; this.sourceBitmap = this.image_source; } else { this.error('You can only use BitMaptData and MovieClip objects to create images'); } } }; com.newgrounds.encoders.ImageScanner = v1; var v2 = v1.prototype; v2.setCallback = function (target, funct) { if (target && funct) { this.callback_target = target; this.callback_function = funct; } }; v2.reset = function () { this.callback_target = null; this.callback_function = null; this.debug.bad_pixels = 0; this.hash = '0123456789aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ<>?:;-_=+()!&'; var v3 = Math.pow(this.hash.length, 2); trace('MAX COLORS: ' + v3); var v2 = Math.floor(Math.pow(v3, 0.3333333333333333)) - 1; var v4 = Math.pow(v2, 3); this.cube = v2; this.basen = new com.newgrounds.encoders.BaseN(this.hash); this.xpos = 0; this.ypos = 0; this.pixels = 0; this.busy = false; }; v2.startScan = function (w, h, s) { if (w) { this.image_width = w; } if (h) { this.image_height = h; } if (s != undefined) { this.crop = s; } var v7 = _root.getNextHighestDepth(); var v6 = _root.createEmptyMovieClip('API_image_container_' + v7, v7); var v5 = v6.createEmptyMovieClip('canvas', 100); v5.attachBitmap(this.sourceBitmap, 100); if (this.crop) { if (this.image_width / this.source_width > this.image_height / this.source_height) { this.canvas_width = this.image_width; this.canvas_height = Math.ceil(this.source_height * (this.image_width / this.source_width)); } else { this.canvas_height = this.image_height; this.canvas_width = Math.ceil(this.source_width * (this.image_height / this.source_height)); } } else { this.canvas_width = this.image_width; this.canvas_height = this.image_height; } v5._x = Math.round((this.image_width - this.canvas_width) / 2); v5._width = this.canvas_width; v5._height = this.canvas_height; this.resizedBitmap = new flash.display.BitmapData(this.image_width, this.image_height, false, 4294967295.0); this.resizedBitmap.draw(v6); v6.removeMovieClip(); this.copyBitmap = new flash.display.BitmapData(this.image_width, this.image_height, false, 4294967295.0); var v3 = '' + this.image_width; while (v3.length < 3) { v3 = '0' + v3; } var v4 = '' + this.image_height; while (v4.length < 3) { v4 = '0' + v4; } this.output = v3 + v4; this.draw_interval = setInterval(this, 'drawChunk', 10); this.busy = false; return this.resizedBitmap; }; v2.getBitmapData = function () { return this.copyBitmap; }; v2.getBytesTotal = function () { return this.image_width * this.image_height * 2; }; v2.getBytesScanned = function () { return this.pixels * 2; }; v2.getProgress = function () { return Math.round((this.getBytesScanned() / this.getBytesTotal()) * 100); }; v2.drawChunk = function () { if (!this.busy) { this.busy = true; var v2 = 0; while (v2 < this.pixels_per_chunk) { if (!this.nextPixel()) { clearInterval(this.draw_interval); this.callback_interval = setInterval(this, 'doCallback', 25); this.busy = true; break; } ++v2; } this.busy = false; } }; v2.doCallback = function () { this.busy = false; clearInterval(this.callback_interval); if (this.callback_target and this.callback_function) { this.callback_target[this.callback_function](this.output); } else { this.onScanComplete(this.output); } }; v2.onScanComplete = function (packet) { this.sendMessage('packet size: ' + this.output.length + ' bytes', 'onScanComplete'); }; v2.nextPixel = function () { var v15 = this.xpos; var v14 = this.ypos; var v7 = this.resizedBitmap.getPixel(v15, v14); var v17 = v7 >> 16 & 255; var v20 = v7 >> 8 & 255; var v16 = v7 >> 0 & 255; var v11 = Math.round(((v17 + 1) / 256) * this.cube); var v10 = Math.round(((v20 + 1) / 256) * this.cube); var v13 = Math.round(((v16 + 1) / 256) * this.cube); var v12 = v11 * (this.cube + 1) * (this.cube + 1) + v10 * (this.cube + 1) + v13; var v6 = this.basen.encode(v12, 2); this.output += v6; if (v6.length != 2) { trace('bad pixel ' + v6); } var v5 = this.basen.decode(v6); var v18 = v5; var v8 = v5 % (this.cube + 1); v5 = (v5 - v8) / (this.cube + 1); var v9 = v5 % (this.cube + 1); var v19 = (v5 - v9) / (this.cube + 1); if (v13 != v8 and v10 != v9 and v11 != v10) { ++this.debug.bad_pixels; trace('BAD PIXEL ' + this.debug.bad_pixels + ') ' + v12 + ' != ' + v18 + ' ' + v6); trace(this.basen.debug.lastencode); } var v2 = (Math.round((v19 / this.cube) * 255)).toString(16); var v4 = (Math.round((v9 / this.cube) * 255)).toString(16); var v3 = (Math.round((v8 / this.cube) * 255)).toString(16); while (v2.length < 2) { v2 = '0' + v2; } while (v4.length < 2) { v4 = '0' + v4; } while (v3.length < 2) { v3 = '0' + v3; } this.copyBitmap.setPixel(v15, v14, Number('0x' + v2 + v4 + v3)); ++this.pixels; if (this.pixels >= this.image_width * this.image_height) { return false; } ++this.xpos; if (this.xpos >= this.image_width) { this.xpos = 0; ++this.ypos; } return true; }; v2.error = function (e, f) { this.sendMessage(e, f, 'ERROR'); }; v2.sendMessage = function (msg, func, type) { var v1 = 'ImageScanner'; if (func) { v1 += '.' + func + '()'; } if (type) { v1 = type + ' in ' + v1; } v1 += ' :: ' + msg; trace(v1); }; v2.image_width = 100; v2.image_height = 100; v2.crop = true; v2.pixels_per_chunk = 500; v2.debug = new Object(); ASSetPropFlags(com.newgrounds.encoders.ImageScanner.prototype, null, 1); } #endinitclip } movieClip 57 __Packages.com.newgrounds.encoders.SerialXML { #initclip if (!_global.com) { _global.com = new Object(); } if (!_global.com.newgrounds) { _global.com.newgrounds = new Object(); } if (!_global.com.newgrounds.encoders) { _global.com.newgrounds.encoders = new Object(); } if (!_global.com.newgrounds.encoders.SerialXML) { var v1 = function () {}; com.newgrounds.encoders.SerialXML = v1; var v2 = v1.prototype; v1.decode = function (xml) { if (!(xml instanceof XML)) { xml = new XML(xml); } var v2 = com.newgrounds.encoders.SerialXML.populateObject(xml.firstChild, {}); return v2.DATA; }; v1.encode = function (obj) { var v1 = new XML(); com.newgrounds.encoders.SerialXML.populateXML(v1, obj, 'DATA'); return v1; }; v1.populateObject = function (child, object) { var v6 = child.nodeName; var v5 = com.newgrounds.encoders.SerialXML.getValue(v6, child.attributes.v); var v4 = child.attributes.n; if (object instanceof Array) { v4 = object.length; object.push(v5); } else { object[v4] = v5; } if (child.hasChildNodes()) { var v1 = 0; while (v1 < child.childNodes.length) { com.newgrounds.encoders.SerialXML.populateObject(child.childNodes[v1], object[v4]); ++v1; } } return object; }; v1.populateXML = function (child, obj, name) { if (obj === undefined) { return undefined; } var v5 = new XML(); var v2; if (obj instanceof Array) { v2 = v5.createElement(com.newgrounds.encoders.SerialXML.getType(obj)); if (name) { v2.attributes.n = name; } child.appendChild(v2); var v4 = 0; while (v4 < obj.length) { com.newgrounds.encoders.SerialXML.populateXML(v2, obj[v4]); ++v4; } } else { if (typeof obj == 'object') { v2 = v5.createElement(com.newgrounds.encoders.SerialXML.getType(obj)); if (name) { v2.attributes.n = name; } child.appendChild(v2); for (var v4 in obj) { com.newgrounds.encoders.SerialXML.populateXML(v2, obj[v4], v4); } } else { v2 = v5.createElement(com.newgrounds.encoders.SerialXML.getType(obj)); if (name) { v2.attributes.n = name; } if ((com.newgrounds.encoders.SerialXML.getType(obj)).length == 1) { v2.attributes.v = obj; } child.appendChild(v2); } } }; v1.getValue = function (type, stringval) { switch (type.toUpperCase()) { case 'O': return new Object(); break; case 'A': return new Array(); break; case 'N': return Number(stringval); break; case 'S': return String(stringval); break; case 'TRUE': return true; break; case 'FALSE': return false; break; default: return null; } }; v1.getType = function (obj) { switch (obj instanceof Array ? 'array' : typeof obj) { case 'array': return 'A'; break; case 'object': return 'O'; break; case 'string': return 'S'; break; case 'number': return 'N'; case 'boolean': return (obj === true) ? 'TRUE' : 'FALSE'; break; default: return 'NULL'; } }; ASSetPropFlags(com.newgrounds.encoders.SerialXML.prototype, null, 1); } #endinitclip } movieClip 58 __Packages.com.newgrounds.encoders.LZW2 { #initclip if (!_global.com) { _global.com = new Object(); } if (!_global.com.newgrounds) { _global.com.newgrounds = new Object(); } if (!_global.com.newgrounds.encoders) { _global.com.newgrounds.encoders = new Object(); } if (!_global.com.newgrounds.encoders.LZW2) { var v1 = function () {}; com.newgrounds.encoders.LZW2 = v1; var v2 = v1.prototype; v1.doCompressorConfig = function () { com.newgrounds.encoders.LZW2.comp_dict = []; var v1 = 0; while (v1 < 256) { com.newgrounds.encoders.LZW2.comp_dict[String.fromCharCode(v1)] = v1; ++v1; } com.newgrounds.encoders.LZW2.comp_dict.< = 256; com.newgrounds.encoders.LZW2.comp_dict.> = 257; com.newgrounds.encoders.LZW2.comp_dict.& = 258; com.newgrounds.encoders.LZW2.comp_dict." = 259; com.newgrounds.encoders.LZW2.comp_dict.\' = 260; com.newgrounds.encoders.LZW2.pos = 0; com.newgrounds.encoders.LZW2.result = ''; com.newgrounds.encoders.LZW2.buffer = ''; com.newgrounds.encoders.LZW2.nbChar = 256 + com.newgrounds.encoders.LZW2.skipnum; }; v1.compress = function (string, callback, callback_params) { com.newgrounds.encoders.LZW2.doCompressorConfig(); if (com.newgrounds.encoders.LZW2.busy) { trace('[LZW COMPRESSOR] :: Compression can not begin until previous compression or decompression is complete!'); return undefined; } com.newgrounds.encoders.LZW2.splitStr = string.split(''); string = ''; com.newgrounds.encoders.LZW2.len = com.newgrounds.encoders.LZW2.splitStr.length; com.newgrounds.encoders.LZW2.local = {'delay': 30, 'callback': callback, 'callback_params': callback_params, 'compress_chunk': function () { com.newgrounds.encoders.LZW2.compress_chunk(); }, 'busy': false, 'complete': false}; com.newgrounds.encoders.LZW2.interval = setInterval(com.newgrounds.encoders.LZW2.local, 'compress_chunk', 5); }; v1.getProgress = function () { return Math.round((com.newgrounds.encoders.LZW2.pos / com.newgrounds.encoders.LZW2.len) * 100); }; v1.compress_chunk = function () { if (com.newgrounds.encoders.LZW2.local.delay > 0) { --com.newgrounds.encoders.LZW2.local.delay; } else { if (!com.newgrounds.encoders.LZW2.local.busy) { com.newgrounds.encoders.LZW2.local.busy = true; var v1 = 0; while (v1 < com.newgrounds.encoders.LZW2.max_chunk_length) { com.newgrounds.encoders.LZW2.encode_next(); if (com.newgrounds.encoders.LZW2.local.complete) { break; } ++v1; } com.newgrounds.encoders.LZW2.local.busy = false; } } if (com.newgrounds.encoders.LZW2.local.complete) { trace('LZW2 complete ' + com.newgrounds.encoders.LZW2.nbChar + ' ' + com.newgrounds.encoders.LZW2.comp_dict.length + ' ' + com.newgrounds.encoders.LZW2.len + ' ' + com.newgrounds.encoders.LZW2.pos + ' ' + com.newgrounds.encoders.LZW2.skipnum); clearInterval(com.newgrounds.encoders.LZW2.interval); com.newgrounds.encoders.LZW2.local.callback(com.newgrounds.encoders.LZW2.result, com.newgrounds.encoders.LZW2.local.callback_params); com.newgrounds.encoders.LZW2.result = ''; com.newgrounds.encoders.LZW2.buffer = ''; } }; v1.encode_next = function () { if (com.newgrounds.encoders.LZW2.pos <= com.newgrounds.encoders.LZW2.len) { var v1 = com.newgrounds.encoders.LZW2.splitStr[com.newgrounds.encoders.LZW2.pos]; if (com.newgrounds.encoders.LZW2.comp_dict[com.newgrounds.encoders.LZW2.buffer + v1] !== undefined) { com.newgrounds.encoders.LZW2.buffer += v1; } else { com.newgrounds.encoders.LZW2.result += String.fromCharCode(com.newgrounds.encoders.LZW2.comp_dict[com.newgrounds.encoders.LZW2.buffer]); com.newgrounds.encoders.LZW2.comp_dict[com.newgrounds.encoders.LZW2.buffer + v1] = com.newgrounds.encoders.LZW2.nbChar; ++com.newgrounds.encoders.LZW2.nbChar; com.newgrounds.encoders.LZW2.buffer = v1; } ++com.newgrounds.encoders.LZW2.pos; } else { com.newgrounds.encoders.LZW2.local.complete = true; return undefined; } }; v1.comp_config = false; v1.skipnum = 5; v1.busy = false; v1.max_chunk_length = 12000; ASSetPropFlags(com.newgrounds.encoders.LZW2.prototype, null, 1); } #endinitclip } movieClip 59 __Packages.com.newgrounds.encoders.LZW { #initclip if (!_global.com) { _global.com = new Object(); } if (!_global.com.newgrounds) { _global.com.newgrounds = new Object(); } if (!_global.com.newgrounds.encoders) { _global.com.newgrounds.encoders = new Object(); } if (!_global.com.newgrounds.encoders.LZW) { var v1 = function () {}; com.newgrounds.encoders.LZW = v1; var v2 = v1.prototype; v1.setXMLSafe = function (x) { com.newgrounds.encoders.LZW.xmlsafe = x; }; v1.compress = function (str, escape_chars) { var v2 = new Array(); var v11 = com.newgrounds.encoders.LZW.xmlsafe ? 5 : 0; var v5 = 0; while (v5 < 256) { v2[String.fromCharCode(v5)] = v5; ++v5; } if (com.newgrounds.encoders.LZW.xmlsafe) { v2.< = 256; v2.> = 257; v2.& = 258; v2." = 259; v2.\' = 260; } var v7 = ''; var v8 = str.split(''); var v9 = v8.length; var v6 = 256 + v11; var v1 = ''; var v4; v5 = 0; while (v5 <= v9) { var v3 = v8[v5]; if (v2[v1 + v3] !== undefined) { v1 += v3; } else { v4 = String.fromCharCode(v2[v1]); if (escape_chars and (v2[v1] < 33 or v2[v1] > 126 or v4 == '%')) { v4 = escape(v4); } v7 += v4; v2[v1 + v3] = v6; ++v6; v1 = v3; } ++v5; } return v7; }; v1.decompress = function (str) { var v4 = new Array(); var v10 = com.newgrounds.encoders.LZW.xmlsafe ? 5 : 0; var v6 = 0; while (v6 < 256) { var v9 = String.fromCharCode(v6); v4[v6] = v9; ++v6; } if (com.newgrounds.encoders.LZW.xmlsafe) { v4[256] = '<'; v4[257] = '>'; v4[258] = '&'; v4[259] = '"'; v4[260] = '\''; } var v11 = str; var v13 = v11.split(''); var v12 = v13.length; var v7 = 256 + v10; var v1 = ''; var v2 = ''; var v8 = ''; v6 = 0; while (v6 < v12) { var v5 = v11.charCodeAt(v6); var v3 = v4[v5]; if (v1 == '') { v1 = v3; v8 += v3; } else { if (v5 <= 255 + v10) { v8 += v3; v2 = v1 + v3; v4[v7] = v2; ++v7; v1 = v3; } else { v2 = v4[v5]; if (v2 == undefined) { v2 = v1 + v1.slice(0, 1); } v8 += v2; v4[v7] = v1 + v2.slice(0, 1); ++v7; v1 = v2; } } ++v6; } return v8; }; v1.compress_fp6 = function (str) { var v3 = new Array(); var v10 = com.newgrounds.encoders.LZW.xmlsafe ? 5 : 0; var v4 = 0; while (v4 < 256) { v3[String(v4)] = v4; ++v4; } if (com.newgrounds.encoders.LZW.xmlsafe) { var v14 = String((new String('<')).charCodeAt(0)); var v11 = String((new String('>')).charCodeAt(0)); var v13 = String((new String('&')).charCodeAt(0)); var v15 = String((new String('"')).charCodeAt(0)); var v12 = String((new String('\'')).charCodeAt(0)); v3[v14] = 256; v3[v11] = 257; v3[v13] = 258; v3[v15] = 259; v3[v12] = 260; } var v7 = ''; var v16 = str; var v8 = v16.split(''); var v9 = v8.length; var v6 = 256 + v10; var v1 = new Array(); v4 = 0; while (v4 <= v9) { var v2 = v8[v4]; if (v1.length == 0) { var v5 = String(v2.charCodeAt(0)); } else { var v5 = v1.join('-') + '-' + String(v2.charCodeAt(0)); } if (v3[v5] !== undefined) { v1.push(v2.charCodeAt(0)); } else { v7 += String.fromCharCode(v3[v1.join('-')]); v3[v5] = v6; ++v6; false; v1 = new Array(); v1.push(v2.charCodeAt(0)); } ++v4; } return v7; }; v1.xmlsafe = false; ASSetPropFlags(com.newgrounds.encoders.LZW.prototype, null, 1); } #endinitclip } movieClip 60 __Packages.com.newgrounds.RemoteAuth { #initclip if (!_global.com) { _global.com = new Object(); } if (!_global.com.newgrounds) { _global.com.newgrounds = new Object(); } if (!_global.com.newgrounds.RemoteAuth) { var v1 = function (id) { this.auth_token = id; System.security.allowDomain('*'); this.receiver = new LocalConnection(); this.receiver.allowDomain = function () { return true; }; this.receiver.onAuth = function (auth_result) { trace('remote login is a success! ' + auth_result); com.newgrounds.API.onRemoteAuthentication(auth_result); }; this.receiver.connect('_' + this.auth_token); }; com.newgrounds.RemoteAuth = v1; var v2 = v1.prototype; v2.__get__token = function () { return this.auth_token; }; v2.addProperty('token', v2.__get__token, function () {}); ASSetPropFlags(com.newgrounds.RemoteAuth.prototype, null, 1); } #endinitclip } movieClip 61 __Packages.com.newgrounds.Medal { #initclip if (!_global.com) { _global.com = new Object(); } if (!_global.com.newgrounds) { _global.com.newgrounds = new Object(); } if (!_global.com.newgrounds.Medal) { var v1 = function (id, name, value, difficulty, unlocked, _icon_url) { if (id == undefined || name == undefined || value == undefined || difficulty == undefined) { com.newgrounds.API.fatalError('Medal instances require an id, name, value and difficulty'); } this._medal_id = id; this._medal_name = name; this._medal_value = value; this._medal_difficulty = difficulty; if (unlocked) { this._medal_unlocked = true; } if (_icon_url) { this._icon_url = _icon_url; } }; com.newgrounds.Medal = v1; var v2 = v1.prototype; v2.__get__difficulty = function () { return com.newgrounds.Medal.difficulty_names[this._medal_difficulty]; }; v2.__get__difficultyId = function () { return this._medal_difficulty; }; v2.__get__icon_url = function () { return this._icon_url; }; v2.__get__id = function () { return this._medal_id; }; v2.__get__name = function () { return this._medal_name; }; v2.__get__unlocked = function () { return this._medal_unlocked; }; v2.__get__value = function () { return this._medal_value; }; v2.isUnlocked = function () { return this._medal_unlocked; }; v2.unlock = function () { if (!this.isUnlocked()) { com.newgrounds.API.unlockMedal(this); } }; v2.setUnlocked = function (u) { this._medal_unlocked = u; }; v2.attachIcon = function (target, depth) { if (!depth) { depth = target.getNextHighestDepth(); } var v3 = target.createEmptyMovieClip('Asset_Medal_Icon_' + this.getID(), depth); if (this._icon_url) { v3.loadMovie(this._icon_url); } else { var v4 = flash.display.BitmapData.loadBitmap('Asset_default_medal_icon_' + this.getDifficulty(), depth); v3.attachBitmap(v4, depth, true); } }; v2.getID = function () { return this._medal_id; }; v2.getName = function () { return this._medal_name; }; v2.getValue = function () { return this._medal_value; }; v2.getDifficulty = function (as_string) { if (as_string) { return com.newgrounds.Medal.difficulty_names[this._medal_difficulty]; } else { return this._medal_difficulty; } }; v2._medal_unlocked = false; v2._icon_loaded = false; v2._icon_width = 50; v2._icon_height = 50; v2._icon_url = null; v1.difficulty_names = new Array(null, 'Easy', 'Moderate', 'Challenging', 'Difficult', 'Brutal'); v2.addProperty('difficulty', v2.__get__difficulty, function () {}); v2.addProperty('difficultyId', v2.__get__difficultyId, function () {}); v2.addProperty('icon_url', v2.__get__icon_url, function () {}); v2.addProperty('id', v2.__get__id, function () {}); v2.addProperty('name', v2.__get__name, function () {}); v2.addProperty('unlocked', v2.__get__unlocked, function () {}); v2.addProperty('value', v2.__get__value, function () {}); ASSetPropFlags(com.newgrounds.Medal.prototype, null, 1); } #endinitclip } movieClip 62 __Packages.com.newgrounds.ScoreBoard { #initclip if (!_global.com) { _global.com = new Object(); } if (!_global.com.newgrounds) { _global.com.newgrounds = new Object(); } if (!_global.com.newgrounds.ScoreBoard) { var v1 = function (id, name, tag) { this._name = name; this._id = id; if (tag !== undefined) { this._tag = tag; } }; com.newgrounds.ScoreBoard = v1; var v2 = v1.prototype; v2.exists = function () { return Number(this._id) > 0; }; v2.__get__id = function () { return this._id; }; v2.__get__name = function () { return this._name; }; v2.__get__period = function () { return this._period; }; v2.__get__tag = function () { return this._tag; }; v2.__get__page = function () { return this._page; }; v2.__get__num_results = function () { return this._num_results; }; v2.__get__scores = function () { return this._scores; }; v2.postScore = function (value, tag) { if (tag !== undefined) { this._tag = tag; } com.newgrounds.API.postScore(this._name, value, this._tag); }; v2.loadScores = function (period, page, num_results, tag) { if (period) { this._period = period; } if (page) { this._page = page; } if (num_results) { this._num_results = num_results; } this._scores = []; com.newgrounds.API.loadScores(this._name, this._period, tag); }; v2.setScores = function (scores, period, page, num_results) { if (period) { this._period = period; } if (page) { this._page = page; } if (num_results) { this._num_results = num_results; } this._scores = []; var v2 = 0; while (v2 < scores.length) { var v4 = this._num_results * (this._page - 1) + 1 + v2; this._scores.push(new com.newgrounds.Score(this, v4, scores[v2].username, scores[v2].value, scores[v2].numeric_value)); ++v2; } }; v2._period = 'Today'; v2._num_results = 10; v2._page = 1; v2._tag = ''; v2.addProperty('id', v2.__get__id, function () {}); v2.addProperty('name', v2.__get__name, function () {}); v2.addProperty('num_results', v2.__get__num_results, function () {}); v2.addProperty('page', v2.__get__page, function () {}); v2.addProperty('period', v2.__get__period, function () {}); v2.addProperty('scores', v2.__get__scores, function () {}); v2.addProperty('tag', v2.__get__tag, function () {}); ASSetPropFlags(com.newgrounds.ScoreBoard.prototype, null, 1); } #endinitclip } movieClip 63 __Packages.com.newgrounds.Score { #initclip if (!_global.com) { _global.com = new Object(); } if (!_global.com.newgrounds) { _global.com.newgrounds = new Object(); } if (!_global.com.newgrounds.Score) { var v1 = function (board, position, username, value, numeric_value) { this._board = board; this._position = position; this._username = username; this._value = value; this._numeric_value = numeric_value; }; com.newgrounds.Score = v1; var v2 = v1.prototype; v2.__get__board = function () { return this._board; }; v2.__get__position = function () { return this._position; }; v2.__get__username = function () { return this._username; }; v2.__get__value = function () { return this._value; }; v2.__get__numeric_value = function () { return this._numeric_value; }; v1.fromTime = function (time) { var v1 = time.split(':'); var v2 = Math.round(Number(v1.pop()) * 1000); if (v1.length > 0) { v2 += Number(v1.pop()) * 60; } if (v1.length > 0) { v2 += Number(v1.pop()) * 3600; } return v2; }; v1.fromDistance = function (distance) { var v1 = distance.indexOf('\''); var v5 = distance.indexOf('"', v1); var v3 = Number(distance.substr(0, v1)); var v4 = Number(distance.substring(v1 + 1, v5)); return Math.round(v3 * 12 + v4); }; v2.addProperty('board', v2.__get__board, function () {}); v2.addProperty('numeric_value', v2.__get__numeric_value, function () {}); v2.addProperty('position', v2.__get__position, function () {}); v2.addProperty('username', v2.__get__username, function () {}); v2.addProperty('value', v2.__get__value, function () {}); ASSetPropFlags(com.newgrounds.Score.prototype, null, 1); } #endinitclip } movieClip 64 __Packages.com.newgrounds.encoders.RC4 { #initclip if (!_global.com) { _global.com = new Object(); } if (!_global.com.newgrounds) { _global.com.newgrounds = new Object(); } if (!_global.com.newgrounds.encoders) { _global.com.newgrounds.encoders = new Object(); } if (!_global.com.newgrounds.encoders.RC4) { var v1 = function () {}; com.newgrounds.encoders.RC4 = v1; var v2 = v1.prototype; v1.encrypt = function (src, key) { var v3 = com.newgrounds.encoders.RC4.strToChars(src); var v1 = com.newgrounds.encoders.RC4.strToChars(key); var v2 = com.newgrounds.encoders.RC4.calculate(v3, v1); return com.newgrounds.encoders.RC4.charsToHex(v2); }; v1.encryptbin = function (src, key) { var v3 = com.newgrounds.encoders.RC4.strToChars(src); var v1 = com.newgrounds.encoders.RC4.strToChars(key); var v2 = com.newgrounds.encoders.RC4.calculate(v3, v1); return v2; }; v1.decrypt = function (src, key) { var v3 = com.newgrounds.encoders.RC4.hexToChars(src); var v1 = com.newgrounds.encoders.RC4.strToChars(key); var v2 = com.newgrounds.encoders.RC4.calculate(v3, v1); return com.newgrounds.encoders.RC4.charsToStr(v2); }; v1.initialize = function (pwd) { var v2 = 0; var v3; var v4 = pwd.length; var v1 = 0; while (v1 <= 255) { com.newgrounds.encoders.RC4.mykey[v1] = pwd[v1 % v4]; com.newgrounds.encoders.RC4.sbox[v1] = v1; ++v1; } v1 = 0; while (v1 <= 255) { v2 = (v2 + com.newgrounds.encoders.RC4.sbox[v1] + com.newgrounds.encoders.RC4.mykey[v1]) % 256; v3 = com.newgrounds.encoders.RC4.sbox[v1]; com.newgrounds.encoders.RC4.sbox[v1] = com.newgrounds.encoders.RC4.sbox[v2]; com.newgrounds.encoders.RC4.sbox[v2] = v3; ++v1; } }; v1.calculate = function (plaintxt, psw) { com.newgrounds.encoders.RC4.initialize(psw); var v1 = 0; var v2 = 0; var v9 = new Array(); var v7; var v5; var v6; var v3 = 0; while (v3 < plaintxt.length) { v1 = (v1 + 1) % 256; v2 = (v2 + com.newgrounds.encoders.RC4.sbox[v1]) % 256; v5 = com.newgrounds.encoders.RC4.sbox[v1]; com.newgrounds.encoders.RC4.sbox[v1] = com.newgrounds.encoders.RC4.sbox[v2]; com.newgrounds.encoders.RC4.sbox[v2] = v5; var v4 = (com.newgrounds.encoders.RC4.sbox[v1] + com.newgrounds.encoders.RC4.sbox[v2]) % 256; v7 = com.newgrounds.encoders.RC4.sbox[v4]; v6 = plaintxt[v3] ^ v7; v9.push(v6); ++v3; } return v9; }; v1.charsToHex = function (chars) { var v4 = new String(''); var v3 = new Array('0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b', 'c', 'd', 'e', 'f'); var v1 = 0; while (v1 < chars.length) { v4 += v3[chars[v1] >> 4] + v3[chars[v1] & 15]; ++v1; } return v4; }; v1.hexToChars = function (hex) { var v3 = new Array(); var v1 = (hex.substr(0, 2) == '0x') ? 2 : 0; while (v1 < hex.length) { v3.push(parseInt(hex.substr(v1, 2), 16)); v1 += 2; } return v3; }; v1.charsToStr = function (chars) { var v3 = new String(''); var v1 = 0; while (v1 < chars.length) { v3 += String.fromCharCode(chars[v1]); ++v1; } return v3; }; v1.strToChars = function (str) { var v3 = new Array(); var v1 = 0; while (v1 < str.length) { v3.push(str.charCodeAt(v1)); ++v1; } return v3; }; v1.sbox = new Array(255); v1.mykey = new Array(255); ASSetPropFlags(com.newgrounds.encoders.RC4.prototype, null, 1); } #endinitclip } movieClip 65 __Packages.com.newgrounds.encoders.JSON { #initclip if (!_global.com) { _global.com = new Object(); } if (!_global.com.newgrounds) { _global.com.newgrounds = new Object(); } if (!_global.com.newgrounds.encoders) { _global.com.newgrounds.encoders = new Object(); } if (!_global.com.newgrounds.encoders.JSON) { var v1 = function () {}; com.newgrounds.encoders.JSON = v1; var v2 = v1.prototype; v1.encode = function (arg, noquotes) { var v3; var v2; var v6; var v1 = ''; var v4; if (arg.isSServerVar()) { var v8 = 'sservervariable'; } else { var v8 = typeof arg; } switch (v8) { return 'null'; case 'sservervariable': return '?' + arg.getEncodedValue(); break; case 'object': if (arg) { if (arg instanceof Array) { v2 = 0; while (v2 < arg.length) { v4 = com.newgrounds.encoders.JSON.encode(arg[v2]); if (v1) { v1 += ','; } v1 += v4; ++v2; } return '[' + v1 + ']'; } else { if (typeof arg.toString != 'undefined') { for (v2 in arg) { v4 = arg[v2]; if (typeof v4 != 'undefined' && typeof v4 != 'function') { v4 = com.newgrounds.encoders.JSON.encode(v4); if (v1) { v1 += ','; } v1 += com.newgrounds.encoders.JSON.encode(v2) + ':' + v4; } } return '{' + v1 + '}'; } } } return 'null'; case 'number': return isFinite(arg) ? String(arg) : 'null'; case 'string': v6 = arg.length; if (noquotes) { var v7 = ''; } else { var v7 = '"'; } v1 = v7; v2 = 0; while (v2 < v6) { v3 = arg.charAt(v2); if (v3 >= ' ') { if (v3 == '\\' || v3 == '"') { v1 += '\\'; } v1 += v3; } else { switch (v3) { case '\b': v1 += '\\b'; break; case '\f': v1 += '\\f'; break; case '\n': v1 += '\\n'; break; case '\r': v1 += '\\r'; break; case '\t': v1 += '\\t'; break; default: v3 = v3.charCodeAt(); v1 += '\\u00' + (Math.floor(v3 / 16)).toString(16) + (v3 % 16).toString(16); } } v2 += 1; } return v1 + v7; case 'boolean': return String(arg); default: return 'null'; } }; v1.background_encode = function (arg, callback) { if (com.newgrounds.encoders.JSON.busy) { trace('[Newgrounds Encoder] :: Cannot encode a new file until the previous file is completed'); return false; } else { if (!callback) { trace('[Newgrounds Encoder] :: Missing a callback function, skipping encode'); return false; } } com.newgrounds.encoders.JSON.busy = true; var v2 = new Date(); com.newgrounds.encoders.JSON.start = v2.getTime(); com.newgrounds.encoders.JSON.cache = {'busy': false, 'complete': false, 'arg': arg, 'target': arg, 'parents': [], 'encoded': '', 'callback': callback, 'encode_chunk': function () { com.newgrounds.encoders.JSON.encode_chunk(); }}; if (com.newgrounds.encoders.JSON.getType(arg) == 'object') { com.newgrounds.encoders.JSON.cache.encoded = '{'; com.newgrounds.encoders.JSON.interval = setInterval(com.newgrounds.encoders.JSON.cache, 'encode_chunk', 25); return true; } if (com.newgrounds.encoders.JSON.getType(arg) == 'array') { com.newgrounds.encoders.JSON.cache.encoded = '['; } com.newgrounds.encoders.JSON.interval = setInterval(com.newgrounds.encoders.JSON.cache, 'encode_chunk', 25); return true; }; v1.background_decode = function (arg, callback) { if (com.newgrounds.encoders.JSON.busy) { trace('[Newgrounds Encoder] :: Cannot decode a new file until the previous file is completed'); return false; } else { if (!callback) { trace('[Newgrounds Encoder] :: Missing a callback function, skipping decode'); return false; } } com.newgrounds.encoders.JSON.busy = true; var v1 = new Date(); com.newgrounds.encoders.JSON.start = v1.getTime(); com.newgrounds.encoders.JSON.cache = {'busy': false, 'callback': callback, 'complete': false, 'arg': arg, 'pos': 0, 'parents': ['root'], 'target': null, 'scratch': '', 'decode_chunk': function () { com.newgrounds.encoders.JSON.decode_chunk(); }}; com.newgrounds.encoders.JSON.interval = setInterval(com.newgrounds.encoders.JSON.cache, 'decode_chunk', 25); return true; }; v1.decode = function (text) { var at = 0; var ch = ' '; var _value; var _error = function (m) { throw {'name': 'JSONError', 'message': m, 'at': at - 1, 'text': text}; }; var _next = function () { ch = text.charAt(at); at += 1; return ch; }; var _white = function () { while (ch) { if (ch <= ' ') { _next(); } else { if (ch == '/') { switch (_next()) { case '/': for (;;) { if (!(_next() && ch != '\n' && ch != '\r')) break; } break; case '*': _next(); for (;;) { if (ch) { if (ch == '*') { if (_next() == '/') { _next(); break; } } else { _next(); } continue; } _error('Unterminated comment'); } break; default: _error('Syntax error'); } } else { break; } } } }; var _string = function () { var v4; var v1 = ''; var v3; var v2; var v5 = false; if (ch == '"') { while (_next()) { if (ch == '"') { _next(); return v1; } else { if (ch == '\\') { switch (_next()) { case 'b': v1 += '\b'; break; case 'f': v1 += '\f'; break; case 'n': v1 += '\n'; break; case 'r': v1 += '\r'; break; case 't': v1 += '\t'; break; case 'u': v2 = 0; v4 = 0; while (v4 < 4) { v3 = parseInt(_next(), 16); if (!isFinite(v3)) { v5 = true; break; } v2 = v2 * 16 + v3; v4 += 1; } if (v5) { v5 = false; } else { v1 += String.fromCharCode(v2); break; default: v1 += ch; } } } else { v1 += ch; } } } } _error('Bad string'); }; var _array = function () { var v1 = []; if (ch == '[') { _next(); _white(); if (ch == ']') { _next(); return v1; } while (ch) { v1.push(_value()); _white(); if (ch == ']') { _next(); return v1; } else { if (ch != ',') { break; } } _next(); _white(); } } _error('Bad array'); }; var _object = function () { var v2; var v1 = {}; if (ch == '{') { _next(); _white(); if (ch == '}') { _next(); return v1; } while (ch) { v2 = _string(); _white(); if (ch != ':') { break; } _next(); v1[v2] = _value(); _white(); if (ch == '}') { _next(); return v1; } else { if (ch != ',') { break; } } _next(); _white(); } } _error('Bad object'); }; var _number = function () { var v1 = ''; var v2; if (ch == '-') { v1 = '-'; _next(); } for (;;) { if (!(ch >= '0' && ch <= '9')) break; v1 += ch; _next(); } if (ch == '.') { v1 += '.'; for (;;) { if (!(_next() && ch >= '0' && ch <= '9')) break; v1 += ch; } } v2 = 1 * v1; if (!isFinite(v2)) { _error('Bad number'); } else { return v2; } }; var _word = function () { switch (ch) { case 't': if (_next() == 'r' && _next() == 'u' && _next() == 'e') { _next(); return true; } break; case 'f': if (_next() == 'a' && _next() == 'l' && _next() == 's' && _next() == 'e') { _next(); return false; } break; case 'n': if (_next() == 'u' && _next() == 'l' && _next() == 'l') { _next(); return null; } } _error('Syntax error'); }; _value = function () { _white(); switch (ch) { case '{': return _object(); case '[': return _array(); case '"': return _string(); case '-': return _number(); } return (ch >= '0' && ch <= '9') ? _number() : _word(); }; return _value(); }; v1.getType = function (v) { if (v instanceof Array) { return 'array'; } else { return typeof v; } }; v1.decode_chunk = function () { if (!com.newgrounds.encoders.JSON.cache.busy && !com.newgrounds.encoders.JSON.cache.complete) { com.newgrounds.encoders.JSON.cache.busy = true; var v1 = 0; while (v1 < com.newgrounds.encoders.JSON.decode_chunks) { com.newgrounds.encoders.JSON.chunk_decoder(); if (com.newgrounds.encoders.JSON.cache.complete) { break; } ++v1; } trace(Math.round((com.newgrounds.encoders.JSON.cache.pos / com.newgrounds.encoders.JSON.cache.arg.length) * 100) + '% decoded'); com.newgrounds.encoders.JSON.cache.busy = false; } if (com.newgrounds.encoders.JSON.cache.complete) { var v2 = new Date(); com.newgrounds.encoders.JSON.busy = false; clearInterval(com.newgrounds.encoders.JSON.interval); com.newgrounds.encoders.JSON.cache.callback(com.newgrounds.encoders.JSON.cache.root, v2.getTime() - com.newgrounds.encoders.JSON.start); com.newgrounds.encoders.JSON.cache.arg = ''; } }; v1.encode_chunk = function () { if (!com.newgrounds.encoders.JSON.cache.busy && !com.newgrounds.encoders.JSON.cache.complete) { com.newgrounds.encoders.JSON.cache.busy = true; var v1 = 0; while (v1 < com.newgrounds.encoders.JSON.encode_chunks) { com.newgrounds.encoders.JSON.chunk_encoder(); if (com.newgrounds.encoders.JSON.cache.complete) { break; } ++v1; } com.newgrounds.encoders.JSON.cache.busy = false; } if (com.newgrounds.encoders.JSON.cache.complete) { var v3 = new Date(); var v2 = v3.getTime(); com.newgrounds.encoders.JSON.busy = false; clearInterval(com.newgrounds.encoders.JSON.interval); com.newgrounds.encoders.JSON.cache.callback(com.newgrounds.encoders.JSON.cache.encoded, v2 - com.newgrounds.encoders.JSON.start); com.newgrounds.encoders.JSON.cache.encoded = ''; } }; v1.chunk_decoder = function () { function _object() { var v1 = com.newgrounds.encoders.JSON.cache.arg.charAt(com.newgrounds.encoders.JSON.cache.pos); if (!com.newgrounds.encoders.JSON.cache.mode) { com.newgrounds.encoders.JSON.cache.mode = 'object'; ++com.newgrounds.encoders.JSON.cache.pos; v1 = com.newgrounds.encoders.JSON.cache.arg.charAt(com.newgrounds.encoders.JSON.cache.pos); if (v1 != '"') { throw 'Malformed object key in encoded string. Keys must be wrapped in quotes ("")'; } com.newgrounds.encoders.JSON.cache.scratch = ''; _setTargetValue({}); } else { if (v1 == ',') { ++com.newgrounds.encoders.JSON.cache.pos; v1 = com.newgrounds.encoders.JSON.cache.arg.charAt(com.newgrounds.encoders.JSON.cache.pos); if (v1 != '"') { throw 'Malformed object key in encoded string. Keys must be wrapped in quotes ("")'; } com.newgrounds.encoders.JSON.cache.scratch = ''; } else { if (v1 == '}') { _useParent(); } else { if (v1 == '"') { ++com.newgrounds.encoders.JSON.cache.pos; v1 = com.newgrounds.encoders.JSON.cache.arg.charAt(com.newgrounds.encoders.JSON.cache.pos); if (v1 != ':') { throw 'Malformed object notation. Object keys and values must be separated by colons(:)'; } _addParent(com.newgrounds.encoders.JSON.cache.scratch); com.newgrounds.encoders.JSON.cache.mode = null; } else { if (v1 == '\\') { ++com.newgrounds.encoders.JSON.cache.pos; v1 = com.newgrounds.encoders.JSON.cache.arg.charAt(com.newgrounds.encoders.JSON.cache.pos); } com.newgrounds.encoders.JSON.cache.scratch += v1; } } } } ++com.newgrounds.encoders.JSON.cache.pos; } function _array() { var v1 = com.newgrounds.encoders.JSON.cache.arg.charAt(com.newgrounds.encoders.JSON.cache.pos); if (!com.newgrounds.encoders.JSON.cache.mode) { com.newgrounds.encoders.JSON.cache.mode = 'array'; ++com.newgrounds.encoders.JSON.cache.pos; v1 = com.newgrounds.encoders.JSON.cache.arg.charAt(com.newgrounds.encoders.JSON.cache.pos); _setTargetValue([]); if (v1 != ']') { _addArrayKey(); } else { _useParent(); } return undefined; } else { if (v1 == ',') { _addArrayKey(); } else { if (v1 == ']') { _useParent(); } } } ++com.newgrounds.encoders.JSON.cache.pos; } function _boolean() { var v1 = com.newgrounds.encoders.JSON.cache.arg.charAt(com.newgrounds.encoders.JSON.cache.pos); if (v1 == 't') { _setTargetValue(true); com.newgrounds.encoders.JSON.cache.pos += 3; } else { if (v1 == 'f') { _setTargetValue(false); com.newgrounds.encoders.JSON.cache.pos += 4; } else { throw 'Bool values must be true or false'; } } _useParent(); } function _null() { var v1 = com.newgrounds.encoders.JSON.cache.arg.charAt(com.newgrounds.encoders.JSON.cache.pos); if (v1 == 'n') { _setTargetValue(null); com.newgrounds.encoders.JSON.cache.pos += 2; } else { throw 'Null values must be null'; } _useParent(); } function _string() { var v1 = com.newgrounds.encoders.JSON.cache.arg.charAt(com.newgrounds.encoders.JSON.cache.pos); if (!com.newgrounds.encoders.JSON.cache.mode) { if (v1 != '"') { throw 'Strings must be wrapped in quotes ("")'; } com.newgrounds.encoders.JSON.cache.scratch = ''; com.newgrounds.encoders.JSON.cache.mode = 'string'; } else { if (v1 == '"') { _setTargetValue(com.newgrounds.encoders.JSON.cache.scratch); _useParent(); } else { if (v1 == '\\') { ++com.newgrounds.encoders.JSON.cache.pos; v1 = com.newgrounds.encoders.JSON.cache.arg.charAt(com.newgrounds.encoders.JSON.cache.pos); switch (v1) { case 'n': v1 = '\n'; break; case 'r': v1 = '\n'; break; case 't': v1 = '\t'; break; case 'u': v1 = '\\' + v1; } } com.newgrounds.encoders.JSON.cache.scratch += v1; } } ++com.newgrounds.encoders.JSON.cache.pos; } function _number() { var v1 = com.newgrounds.encoders.JSON.cache.arg.charAt(com.newgrounds.encoders.JSON.cache.pos); var v2 = '01234567890.-'; if (!com.newgrounds.encoders.JSON.cache.mode) { com.newgrounds.encoders.JSON.cache.mode = 'number'; com.newgrounds.encoders.JSON.cache.scratch = ''; } if (v2.indexOf(v1) < 0) { _setTargetValue(Number(com.newgrounds.encoders.JSON.cache.scratch)); _useParent(); } else { com.newgrounds.encoders.JSON.cache.scratch += v1; ++com.newgrounds.encoders.JSON.cache.pos; } } function _setTargetValue(newval) { var v2 = (_getParent()).obj; var v1 = com.newgrounds.encoders.JSON.cache.parents[com.newgrounds.encoders.JSON.cache.parents.length - 1]; v2[v1] = newval; } function _useParent() { com.newgrounds.encoders.JSON.cache.mode = com.newgrounds.encoders.JSON.getType((_getParent()).obj); com.newgrounds.encoders.JSON.cache.parents.pop(); } function _getParent() { var v2 = com.newgrounds.encoders.JSON.cache; var v1 = 0; while (v1 < com.newgrounds.encoders.JSON.cache.parents.length - 1) { v2 = v2[com.newgrounds.encoders.JSON.cache.parents[v1]]; ++v1; } return {'obj': v2, 'name': com.newgrounds.encoders.JSON.cache.parents[v1]}; } function _getCurrent() { var v2 = com.newgrounds.encoders.JSON.cache; var v1 = 0; while (v1 < com.newgrounds.encoders.JSON.cache.parents.length) { v2 = v2[com.newgrounds.encoders.JSON.cache.parents[v1]]; ++v1; } return {'obj': v2, 'name': com.newgrounds.encoders.JSON.cache.parents[v1]}; } function _addParent(child) { com.newgrounds.encoders.JSON.cache.parents.push(child); } function _addArrayKey() { var v1 = (_getCurrent()).obj.length; com.newgrounds.encoders.JSON.cache.parents.push(v1); com.newgrounds.encoders.JSON.cache.mode = null; } if (com.newgrounds.encoders.JSON.cache.pos >= com.newgrounds.encoders.JSON.cache.arg.length) { com.newgrounds.encoders.JSON.cache.complete = true; return undefined; } else { if (com.newgrounds.encoders.JSON.cache.mode) { ('_' + com.newgrounds.encoders.JSON.cache.mode)(); } else { var char = com.newgrounds.encoders.JSON.cache.arg.charAt(com.newgrounds.encoders.JSON.cache.pos); switch (char) { case '{': _object(); break; case '[': _array(); break; case '"': _string(); break; case 'n': _null(); break; case 't': _boolean(); break; case 'f': _boolean(); break; default: _number(); } } } }; v1.chunk_encoder = function () { if (com.newgrounds.encoders.JSON.cache.complete) { return undefined; } var v2 = com.newgrounds.encoders.JSON.getType(com.newgrounds.encoders.JSON.cache.target); switch (v2) { case 'number': com.newgrounds.encoders.JSON.cache.encoded += com.newgrounds.encoders.JSON.cache.target; com.newgrounds.encoders.JSON.getParent(); break; case 'string': com.newgrounds.encoders.JSON.cache.encoded += '"' + (com.newgrounds.encoders.JSON.cache.target.split('"')).join('\\"') + '"'; com.newgrounds.encoders.JSON.getParent(); break; case 'boolean': com.newgrounds.encoders.JSON.cache.encoded += (com.newgrounds.encoders.JSON.cache.target == true) ? 'true' : 'false'; com.newgrounds.encoders.JSON.getParent(); break; case 'null': com.newgrounds.encoders.JSON.cache.encoded += 'null'; com.newgrounds.encoders.JSON.getParent(); break; case 'array': if (com.newgrounds.encoders.JSON.cache.target.length < 1) { com.newgrounds.encoders.JSON.cache.encoded += ']'; com.newgrounds.encoders.JSON.getParent(); } else { com.newgrounds.encoders.JSON.cache.parents.push(com.newgrounds.encoders.JSON.cache.target); com.newgrounds.encoders.JSON.cache.target = com.newgrounds.encoders.JSON.cache.target[0]; if (com.newgrounds.encoders.JSON.getType(com.newgrounds.encoders.JSON.cache.target) == 'array') { com.newgrounds.encoders.JSON.cache.encoded += '['; } else { if (com.newgrounds.encoders.JSON.getType(com.newgrounds.encoders.JSON.cache.target) == 'object') { com.newgrounds.encoders.JSON.cache.encoded += '{'; } } } break; case 'object': for (var v1 in com.newgrounds.encoders.JSON.cache.target) { break; } if (v1 === undefined) { com.newgrounds.encoders.JSON.cache.encoded += '}'; com.newgrounds.encoders.JSON.getParent(); } else { com.newgrounds.encoders.JSON.cache.parents.push(com.newgrounds.encoders.JSON.cache.target); com.newgrounds.encoders.JSON.cache.target = com.newgrounds.encoders.JSON.cache.target[v1]; com.newgrounds.encoders.JSON.cache.encoded += '"' + (v1.split('"')).join('\\"') + '":'; if (com.newgrounds.encoders.JSON.getType(com.newgrounds.encoders.JSON.cache.target) == 'array') { com.newgrounds.encoders.JSON.cache.encoded += '['; } else { if (com.newgrounds.encoders.JSON.getType(com.newgrounds.encoders.JSON.cache.target) == 'object') { com.newgrounds.encoders.JSON.cache.encoded += '{'; } } } break; default: com.newgrounds.encoders.JSON.cache.encoded += 'null'; com.newgrounds.encoders.JSON.getParent(); } }; v1.getParent = function () { if (com.newgrounds.encoders.JSON.cache.parents.length > 0) { var v1 = com.newgrounds.encoders.JSON.cache.parents.pop(); if (com.newgrounds.encoders.JSON.getType(v1) == 'array') { v1.shift(); } else { for (var v3 in v1) { delete v1[v3]; break; } } if (com.newgrounds.encoders.JSON.getType(v1) == 'object' or com.newgrounds.encoders.JSON.getType(v1) == 'array') { for (var v2 in v1) { break; } if (v2 !== undefined) { com.newgrounds.encoders.JSON.cache.encoded += ','; } } com.newgrounds.encoders.JSON.cache.target = v1; } else { com.newgrounds.encoders.JSON.cache.complete = true; } }; v1.encode_chunks = 20000; v1.decode_chunks = 20000; v1.busy = false; ASSetPropFlags(com.newgrounds.encoders.JSON.prototype, null, 1); } #endinitclip } movieClip 66 __Packages.com.newgrounds.APIEventDispatcher { #initclip if (!_global.com) { _global.com = new Object(); } if (!_global.com.newgrounds) { _global.com.newgrounds = new Object(); } if (!_global.com.newgrounds.APIEventDispatcher) { var v1 = function () {}; com.newgrounds.APIEventDispatcher = v1; var v2 = v1.prototype; v2.addEventListener = function (event, callback, target) { if (!target) { throw 'Attempted to create a listener without providing a target object.'; } if (!this.listeners[event]) { this.listeners[event] = []; } else { this.removeEventListener(event, target); } this.listeners[event].push({'target': target, 'callback': callback}); }; v2.removeEventListener = function (event, target) { if (!target) { throw 'Attempted to remove a listener without providing a target object.'; } if (!this.listeners[event] || this.listeners[event].length < 1) { return undefined; } var v4 = []; var v2 = 0; while (v2 < this.listeners[event].length) { if (this.listeners[event][v2].target != target) { v4.push(this.listeners[event][v2]); } ++v2; } this.listeners[event] = v4; }; v2.dispatchEvent = function (event) { if (!this.hasEventListener(event.__get__type())) { return false; } this.collectGarbage(event.__get__type()); var v2 = 0; while (v2 < this.listeners[event.__get__type()].length) { var v4 = this.listeners[event.__get__type()][v2].callback; if (this.listeners[event.__get__type()][v2].target) { var v5 = this.listeners[event.__get__type()][v2].target; v4.call(v5, event); } else { v4(event); } ++v2; } return true; }; v2.hasEventListener = function (event) { return this.listeners[event] != undefined && this.listeners[event].length > 0; }; v2.collectGarbage = function (event) { var v5 = []; if (!this.hasEventListener) { return undefined; } var v2 = 0; while (v2 < this.listeners[event].length) { var v4 = this.listeners[event][v2].target; if (v4) { v5.push(this.listeners[event][v2]); } ++v2; } this.listeners[event] = v5; }; v2.listeners = {}; ASSetPropFlags(com.newgrounds.APIEventDispatcher.prototype, null, 1); } #endinitclip } movieClip 67 __Packages.com.newgrounds.encoders.MD5 { #initclip if (!_global.com) { _global.com = new Object(); } if (!_global.com.newgrounds) { _global.com.newgrounds = new Object(); } if (!_global.com.newgrounds.encoders) { _global.com.newgrounds.encoders = new Object(); } if (!_global.com.newgrounds.encoders.MD5) { var v1 = function () {}; com.newgrounds.encoders.MD5 = v1; var v2 = v1.prototype; v1.calculate = function (src) { return com.newgrounds.encoders.MD5.hex_md5(src); }; v1.hex_md5 = function (src) { return com.newgrounds.encoders.MD5.binl2hex(com.newgrounds.encoders.MD5.core_md5(com.newgrounds.encoders.MD5.str2binl(src), src.length * 8)); }; v1.core_md5 = function (x, len) { x[len >> 5] |= 128 << len % 32; x[(len + 64 >>> 9 << 4) + 14] = len; var v4 = 1732584193; var v3 = -271733879; var v2 = -1732584194; var v1 = 271733878; var v5 = 0; while (v5 < x.length) { var v10 = v4; var v9 = v3; var v8 = v2; var v7 = v1; v4 = com.newgrounds.encoders.MD5.md5_ff(v4, v3, v2, v1, x[v5 + 0], 7, -680876936); v1 = com.newgrounds.encoders.MD5.md5_ff(v1, v4, v3, v2, x[v5 + 1], 12, -389564586); v2 = com.newgrounds.encoders.MD5.md5_ff(v2, v1, v4, v3, x[v5 + 2], 17, 606105819); v3 = com.newgrounds.encoders.MD5.md5_ff(v3, v2, v1, v4, x[v5 + 3], 22, -1044525330); v4 = com.newgrounds.encoders.MD5.md5_ff(v4, v3, v2, v1, x[v5 + 4], 7, -176418897); v1 = com.newgrounds.encoders.MD5.md5_ff(v1, v4, v3, v2, x[v5 + 5], 12, 1200080426); v2 = com.newgrounds.encoders.MD5.md5_ff(v2, v1, v4, v3, x[v5 + 6], 17, -1473231341); v3 = com.newgrounds.encoders.MD5.md5_ff(v3, v2, v1, v4, x[v5 + 7], 22, -45705983); v4 = com.newgrounds.encoders.MD5.md5_ff(v4, v3, v2, v1, x[v5 + 8], 7, 1770035416); v1 = com.newgrounds.encoders.MD5.md5_ff(v1, v4, v3, v2, x[v5 + 9], 12, -1958414417); v2 = com.newgrounds.encoders.MD5.md5_ff(v2, v1, v4, v3, x[v5 + 10], 17, -42063); v3 = com.newgrounds.encoders.MD5.md5_ff(v3, v2, v1, v4, x[v5 + 11], 22, -1990404162); v4 = com.newgrounds.encoders.MD5.md5_ff(v4, v3, v2, v1, x[v5 + 12], 7, 1804603682); v1 = com.newgrounds.encoders.MD5.md5_ff(v1, v4, v3, v2, x[v5 + 13], 12, -40341101); v2 = com.newgrounds.encoders.MD5.md5_ff(v2, v1, v4, v3, x[v5 + 14], 17, -1502002290); v3 = com.newgrounds.encoders.MD5.md5_ff(v3, v2, v1, v4, x[v5 + 15], 22, 1236535329); v4 = com.newgrounds.encoders.MD5.md5_gg(v4, v3, v2, v1, x[v5 + 1], 5, -165796510); v1 = com.newgrounds.encoders.MD5.md5_gg(v1, v4, v3, v2, x[v5 + 6], 9, -1069501632); v2 = com.newgrounds.encoders.MD5.md5_gg(v2, v1, v4, v3, x[v5 + 11], 14, 643717713); v3 = com.newgrounds.encoders.MD5.md5_gg(v3, v2, v1, v4, x[v5 + 0], 20, -373897302); v4 = com.newgrounds.encoders.MD5.md5_gg(v4, v3, v2, v1, x[v5 + 5], 5, -701558691); v1 = com.newgrounds.encoders.MD5.md5_gg(v1, v4, v3, v2, x[v5 + 10], 9, 38016083); v2 = com.newgrounds.encoders.MD5.md5_gg(v2, v1, v4, v3, x[v5 + 15], 14, -660478335); v3 = com.newgrounds.encoders.MD5.md5_gg(v3, v2, v1, v4, x[v5 + 4], 20, -405537848); v4 = com.newgrounds.encoders.MD5.md5_gg(v4, v3, v2, v1, x[v5 + 9], 5, 568446438); v1 = com.newgrounds.encoders.MD5.md5_gg(v1, v4, v3, v2, x[v5 + 14], 9, -1019803690); v2 = com.newgrounds.encoders.MD5.md5_gg(v2, v1, v4, v3, x[v5 + 3], 14, -187363961); v3 = com.newgrounds.encoders.MD5.md5_gg(v3, v2, v1, v4, x[v5 + 8], 20, 1163531501); v4 = com.newgrounds.encoders.MD5.md5_gg(v4, v3, v2, v1, x[v5 + 13], 5, -1444681467); v1 = com.newgrounds.encoders.MD5.md5_gg(v1, v4, v3, v2, x[v5 + 2], 9, -51403784); v2 = com.newgrounds.encoders.MD5.md5_gg(v2, v1, v4, v3, x[v5 + 7], 14, 1735328473); v3 = com.newgrounds.encoders.MD5.md5_gg(v3, v2, v1, v4, x[v5 + 12], 20, -1926607734); v4 = com.newgrounds.encoders.MD5.md5_hh(v4, v3, v2, v1, x[v5 + 5], 4, -378558); v1 = com.newgrounds.encoders.MD5.md5_hh(v1, v4, v3, v2, x[v5 + 8], 11, -2022574463); v2 = com.newgrounds.encoders.MD5.md5_hh(v2, v1, v4, v3, x[v5 + 11], 16, 1839030562); v3 = com.newgrounds.encoders.MD5.md5_hh(v3, v2, v1, v4, x[v5 + 14], 23, -35309556); v4 = com.newgrounds.encoders.MD5.md5_hh(v4, v3, v2, v1, x[v5 + 1], 4, -1530992060); v1 = com.newgrounds.encoders.MD5.md5_hh(v1, v4, v3, v2, x[v5 + 4], 11, 1272893353); v2 = com.newgrounds.encoders.MD5.md5_hh(v2, v1, v4, v3, x[v5 + 7], 16, -155497632); v3 = com.newgrounds.encoders.MD5.md5_hh(v3, v2, v1, v4, x[v5 + 10], 23, -1094730640); v4 = com.newgrounds.encoders.MD5.md5_hh(v4, v3, v2, v1, x[v5 + 13], 4, 681279174); v1 = com.newgrounds.encoders.MD5.md5_hh(v1, v4, v3, v2, x[v5 + 0], 11, -358537222); v2 = com.newgrounds.encoders.MD5.md5_hh(v2, v1, v4, v3, x[v5 + 3], 16, -722521979); v3 = com.newgrounds.encoders.MD5.md5_hh(v3, v2, v1, v4, x[v5 + 6], 23, 76029189); v4 = com.newgrounds.encoders.MD5.md5_hh(v4, v3, v2, v1, x[v5 + 9], 4, -640364487); v1 = com.newgrounds.encoders.MD5.md5_hh(v1, v4, v3, v2, x[v5 + 12], 11, -421815835); v2 = com.newgrounds.encoders.MD5.md5_hh(v2, v1, v4, v3, x[v5 + 15], 16, 530742520); v3 = com.newgrounds.encoders.MD5.md5_hh(v3, v2, v1, v4, x[v5 + 2], 23, -995338651); v4 = com.newgrounds.encoders.MD5.md5_ii(v4, v3, v2, v1, x[v5 + 0], 6, -198630844); v1 = com.newgrounds.encoders.MD5.md5_ii(v1, v4, v3, v2, x[v5 + 7], 10, 1126891415); v2 = com.newgrounds.encoders.MD5.md5_ii(v2, v1, v4, v3, x[v5 + 14], 15, -1416354905); v3 = com.newgrounds.encoders.MD5.md5_ii(v3, v2, v1, v4, x[v5 + 5], 21, -57434055); v4 = com.newgrounds.encoders.MD5.md5_ii(v4, v3, v2, v1, x[v5 + 12], 6, 1700485571); v1 = com.newgrounds.encoders.MD5.md5_ii(v1, v4, v3, v2, x[v5 + 3], 10, -1894986606); v2 = com.newgrounds.encoders.MD5.md5_ii(v2, v1, v4, v3, x[v5 + 10], 15, -1051523); v3 = com.newgrounds.encoders.MD5.md5_ii(v3, v2, v1, v4, x[v5 + 1], 21, -2054922799); v4 = com.newgrounds.encoders.MD5.md5_ii(v4, v3, v2, v1, x[v5 + 8], 6, 1873313359); v1 = com.newgrounds.encoders.MD5.md5_ii(v1, v4, v3, v2, x[v5 + 15], 10, -30611744); v2 = com.newgrounds.encoders.MD5.md5_ii(v2, v1, v4, v3, x[v5 + 6], 15, -1560198380); v3 = com.newgrounds.encoders.MD5.md5_ii(v3, v2, v1, v4, x[v5 + 13], 21, 1309151649); v4 = com.newgrounds.encoders.MD5.md5_ii(v4, v3, v2, v1, x[v5 + 4], 6, -145523070); v1 = com.newgrounds.encoders.MD5.md5_ii(v1, v4, v3, v2, x[v5 + 11], 10, -1120210379); v2 = com.newgrounds.encoders.MD5.md5_ii(v2, v1, v4, v3, x[v5 + 2], 15, 718787259); v3 = com.newgrounds.encoders.MD5.md5_ii(v3, v2, v1, v4, x[v5 + 9], 21, -343485551); v4 = com.newgrounds.encoders.MD5.safe_add(v4, v10); v3 = com.newgrounds.encoders.MD5.safe_add(v3, v9); v2 = com.newgrounds.encoders.MD5.safe_add(v2, v8); v1 = com.newgrounds.encoders.MD5.safe_add(v1, v7); v5 += 16; } return new Array(v4, v3, v2, v1); }; v1.md5_cmn = function (q, a, b, x, s, t) { return com.newgrounds.encoders.MD5.safe_add(com.newgrounds.encoders.MD5.bit_rol(com.newgrounds.encoders.MD5.safe_add(com.newgrounds.encoders.MD5.safe_add(a, q), com.newgrounds.encoders.MD5.safe_add(x, t)), s), b); }; v1.md5_ff = function (a, b, c, d, x, s, t) { return com.newgrounds.encoders.MD5.md5_cmn(b & c | ~b & d, a, b, x, s, t); }; v1.md5_gg = function (a, b, c, d, x, s, t) { return com.newgrounds.encoders.MD5.md5_cmn(b & d | c & ~d, a, b, x, s, t); }; v1.md5_hh = function (a, b, c, d, x, s, t) { return com.newgrounds.encoders.MD5.md5_cmn(b ^ c ^ d, a, b, x, s, t); }; v1.md5_ii = function (a, b, c, d, x, s, t) { return com.newgrounds.encoders.MD5.md5_cmn(c ^ (b | ~d), a, b, x, s, t); }; v1.bit_rol = function (num, cnt) { return num << cnt | num >>> 32 - cnt; }; v1.safe_add = function (x, y) { var v1 = (x & 65535) + (y & 65535); var v2 = (x >> 16) + (y >> 16) + (v1 >> 16); return v2 << 16 | v1 & 65535; }; v1.str2binl = function (str) { var v3 = new Array(); var v4 = 255; var v1 = 0; while (v1 < str.length * 8) { v3[v1 >> 5] |= (str.charCodeAt(v1 / 8) & v4) << v1 % 32; v1 += 8; } return v3; }; v1.binl2hex = function (binarray) { var v4 = new String(''); var v3 = new String('0123456789abcdef'); var v1 = 0; while (v1 < binarray.length * 4) { v4 += v3.charAt(binarray[v1 >> 2] >> (v1 % 4) * 8 + 4 & 15) + v3.charAt(binarray[v1 >> 2] >> (v1 % 4) * 8 & 15); ++v1; } return v4; }; ASSetPropFlags(com.newgrounds.encoders.MD5.prototype, null, 1); } #endinitclip } frame 3 { var savefile = SharedObject.getLocal('Platcore'); var whichlevel = savefile.data.whichlevel; var bottime1 = savefile.data.bottime1; var hmsbottime = savefile.data.hmsbottime; var time1 = savefile.data.time1; var hmstime = savefile.data.hmstime; var achieve1 = savefile.data.achieve1; var achieve2 = savefile.data.achieve2; var achieve3 = savefile.data.achieve3; var achieve4 = savefile.data.achieve4; var achieve5 = savefile.data.achieve5; var achieve6 = savefile.data.achieve6; var achieve7 = savefile.data.achieve7; var achieve8 = savefile.data.achieve8; var achieve9 = savefile.data.achieve9; var achieve10 = savefile.data.achieve10; var achieve11 = savefile.data.achieve11; var achieve12 = savefile.data.achieve12; var achieve13 = savefile.data.achieve13; var achieve14 = savefile.data.achieve14; var achieve15 = savefile.data.achieve15; var achieve16 = savefile.data.achieve16; var achieve17 = savefile.data.achieve17; var achieve18 = savefile.data.achieve18; var achieve19 = savefile.data.achieve19; var achieve20 = savefile.data.achieve20; var achieve21 = savefile.data.achieve21; var achieve22 = savefile.data.achieve22; var achieve23 = savefile.data.achieve23; var achieve24 = savefile.data.achieve24; var s1bothead = savefile.data.s1bothead; var s1botarm = savefile.data.s1botarm; var s1botbody = savefile.data.s1botbody; var s1botleg = savefile.data.s1botleg; var s1rarityvalue = savefile.data.s1rarityvalue; var s1raritystar = savefile.data.s1raritystar; var s1playtime = savefile.data.s1playtime; var s1randomset = savefile.data.s1randomset; var s1exp = savefile.data.s1exp; var s1botlvl = savefile.data.s1botlvl; var s1dmgtaken = savefile.data.s1dmgtaken; var s1cogscollected = savefile.data.s1cogscollected; var s2bothead = savefile.data.s2bothead; var s2botarm = savefile.data.s2botarm; var s2botbody = savefile.data.s2botbody; var s2botleg = savefile.data.s2botleg; var s2rarityvalue = savefile.data.s2rarityvalue; var s2raritystar = savefile.data.s2raritystar; var s2playtime = savefile.data.s2playtime; var s2randomset = savefile.data.s2randomset; var s2exp = savefile.data.s2exp; var s2botlvl = savefile.data.s2botlvl; var s2dmgtaken = savefile.data.s2dmgtaken; var s2cogscollected = savefile.data.s2cogscollected; var s3bothead = savefile.data.s3bothead; var s3botarm = savefile.data.s3botarm; var s3botbody = savefile.data.s3botbody; var s3botleg = savefile.data.s3botleg; var s3rarityvalue = savefile.data.s3rarityvalue; var s3raritystar = savefile.data.s3raritystar; var s3playtime = savefile.data.s3playtime; var s3randomset = savefile.data.s3randomset; var s3exp = savefile.data.s3exp; var s3botlvl = savefile.data.s3botlvl; var s3dmgtaken = savefile.data.s3dmgtaken; var s3cogscollected = savefile.data.s3cogscollected; var selectedsave = savefile.data.selectedsave; var save1used = savefile.data.save1used; var save2used = savefile.data.save2used; var save3used = savefile.data.save3used; var bothead = savefile.data.bothead; var botarm = savefile.data.botarm; var botbody = savefile.data.botbody; var botleg = savefile.data.botleg; var randomset = savefile.data.randomset; var rarityvalue = savefile.data.rarityvalue; var raritystar = savefile.data.raritystar; var clickedf = savefile.data.clickedf; var clickedt = savefile.data.clickedt; var bottime = savefile.data.bottime; var botexp = savefile.data.botexp; var botlvl = savefile.data.botlvl; var dmgtaken = savefile.data.dmgtaken; var cogscollected = savefile.data.cogscollected; var cogcoin = savefile.data.cogcoin; var totalcompletes = savefile.data.totalcompletes; var intro1watched = savefile.data.intro1watched; var intro2watched = savefile.data.intro2watched; var intro3watched = savefile.data.intro3watched; var intro4watched = savefile.data.intro4watched; var intro5watched = savefile.data.intro5watched; var intro6watched = savefile.data.intro6watched; var intro7watched = savefile.data.intro7watched; var ttlexp = savefile.data.ttlexp; var ttldmgtaken = savefile.data.ttldmgtaken; var ttlcogscollected = savefile.data.ttlcogscollected; var ttldeaths = savefile.data.ttldeaths; var bosssurv = savefile.data.bosssurv; var ttltestpass = savefile.data.ttltestpass; var ttlstomped = savefile.data.ttlstomped; var escptimes = savefile.data.escptimes; var botsarchived = savefile.data.botsarchived; var escapescurrent = savefile.data.escapescurrent; var cogscollcurrent = savefile.data.cogscollcurrent; var deathscurrent = savefile.data.deathscurrent; var rankpoint = savefile.data.rankpoint; var completeyscreen = savefile.data.completeyscreen; var expnextlvl = savefile.data.expnextlvl; var tutorialseen = savefile.data.tutorialseen; var h1bought = savefile.data.h1bought; var h2bought = savefile.data.h2bought; var h3bought = savefile.data.h3bought; var h4bought = savefile.data.h4bought; var h5bought = savefile.data.h5bought; var h6bought = savefile.data.h6bought; var h7bought = savefile.data.h7bought; var h8bought = savefile.data.h8bought; var h9bought = savefile.data.h9bought; var h10bought = savefile.data.h10bought; var h11bought = savefile.data.h11bought; var h12bought = savefile.data.h12bought; var h13bought = savefile.data.h13bought; var h14bought = savefile.data.h14bought; var h15bought = savefile.data.h15bought; var h16bought = savefile.data.h16bought; var h17bought = savefile.data.h17bought; var h18bought = savefile.data.h18bought; var h19bought = savefile.data.h19bought; var h20bought = savefile.data.h20bought; var h21bought = savefile.data.h21bought; var h22bought = savefile.data.h22bought; var h23bought = savefile.data.h23bought; var h24bought = savefile.data.h24bought; var h25bought = savefile.data.h25bought; var h26bought = savefile.data.h26bought; var h27bought = savefile.data.h27bought; var h28bought = savefile.data.h28bought; var h29bought = savefile.data.h29bought; var abought1 = savefile.data.abought1; var abought2 = savefile.data.abought2; var abought3 = savefile.data.abought3; var abought4 = savefile.data.abought4; var abought5 = savefile.data.abought5; var abought6 = savefile.data.abought6; var abought7 = savefile.data.abought7; var abought8 = savefile.data.abought8; var abought9 = savefile.data.abought9; var abought10 = savefile.data.abought10; var abought11 = savefile.data.abought11; var abought12 = savefile.data.abought12; var abought13 = savefile.data.abought13; var abought14 = savefile.data.abought14; var abought15 = savefile.data.abought15; var abought16 = savefile.data.abought16; var abought17 = savefile.data.abought17; var abought18 = savefile.data.abought18; var abought19 = savefile.data.abought19; var abought20 = savefile.data.abought20; var abought21 = savefile.data.abought21; var abought22 = savefile.data.abought22; var abought23 = savefile.data.abought23; var abought24 = savefile.data.abought24; var abought25 = savefile.data.abought25; var abought26 = savefile.data.abought26; var abought27 = savefile.data.abought27; var abought28 = savefile.data.abought28; var abought29 = savefile.data.abought29; var bbought1 = savefile.data.bbought1; var bbought2 = savefile.data.bbought2; var bbought3 = savefile.data.bbought3; var bbought4 = savefile.data.bbought4; var bbought5 = savefile.data.bbought5; var bbought6 = savefile.data.bbought6; var bbought7 = savefile.data.bbought7; var bbought8 = savefile.data.bbought8; var bbought9 = savefile.data.bbought9; var bbought10 = savefile.data.bbought10; var bbought11 = savefile.data.bbought11; var bbought12 = savefile.data.bbought12; var bbought13 = savefile.data.bbought13; var bbought14 = savefile.data.bbought14; var bbought15 = savefile.data.bbought15; var bbought16 = savefile.data.bbought16; var bbought17 = savefile.data.bbought17; var bbought18 = savefile.data.bbought18; var bbought19 = savefile.data.bbought19; var bbought20 = savefile.data.bbought20; var bbought21 = savefile.data.bbought21; var bbought22 = savefile.data.bbought22; var bbought23 = savefile.data.bbought23; var bbought24 = savefile.data.bbought24; var bbought25 = savefile.data.bbought25; var bbought26 = savefile.data.bbought26; var bbought27 = savefile.data.bbought27; var bbought28 = savefile.data.bbought28; var bbought29 = savefile.data.bbought29; var lbought1 = savefile.data.lbought1; var lbought2 = savefile.data.lbought2; var lbought3 = savefile.data.lbought3; var lbought4 = savefile.data.lbought4; var lbought5 = savefile.data.lbought5; var lbought6 = savefile.data.lbought6; var lbought7 = savefile.data.lbought7; var lbought8 = savefile.data.lbought8; var lbought9 = savefile.data.lbought9; var lbought10 = savefile.data.lbought10; var lbought11 = savefile.data.lbought11; var lbought12 = savefile.data.lbought12; var lbought13 = savefile.data.lbought13; var lbought14 = savefile.data.lbought14; var lbought15 = savefile.data.lbought15; var lbought16 = savefile.data.lbought16; var lbought17 = savefile.data.lbought17; var lbought18 = savefile.data.lbought18; var lbought19 = savefile.data.lbought19; var lbought20 = savefile.data.lbought20; var lbought21 = savefile.data.lbought21; var lbought22 = savefile.data.lbought22; var lbought23 = savefile.data.lbought23; var lbought24 = savefile.data.lbought24; var lbought25 = savefile.data.lbought25; var lbought26 = savefile.data.lbought26; var lbought27 = savefile.data.lbought27; var lbought28 = savefile.data.lbought28; var lbought29 = savefile.data.lbought29; var secretf = savefile.data.secretf; var itemsbgt = savefile.data.itemsbgt; var consoleinstructions = savefile.data.consoleinstructions; var firsttimeplay = savefile.data.firsttimeplay; if (savefile.data.whichlevel == undefined) { var whichlevel = 1; } if (savefile.data.bottime1 == undefined) { var bottime1 = 0; } if (savefile.data.hmsbottime == undefined) { var hmsbottime = 0; } if (savefile.data.time1 == undefined) { var time1 = 0; } if (savefile.data.hmstime == undefined) { var hmstime = 0; } if (savefile.data.achieve1 == undefined) { var achieve1 = false; } if (savefile.data.achieve2 == undefined) { var achieve2 = false; } if (savefile.data.achieve3 == undefined) { var achieve3 = false; } if (savefile.data.achieve4 == undefined) { var achieve4 = false; } if (savefile.data.achieve5 == undefined) { var achieve5 = false; } if (savefile.data.achieve6 == undefined) { var achieve6 = false; } if (savefile.data.achieve7 == undefined) { var achieve7 = false; } if (savefile.data.achieve8 == undefined) { var achieve8 = false; } if (savefile.data.achieve9 == undefined) { var achieve9 = false; } if (savefile.data.achieve10 == undefined) { var achieve10 = false; } if (savefile.data.achieve11 == undefined) { var achieve11 = false; } if (savefile.data.achieve12 == undefined) { var achieve12 = false; } if (savefile.data.achieve13 == undefined) { var achieve13 = false; } if (savefile.data.achieve14 == undefined) { var achieve14 = false; } if (savefile.data.achieve15 == undefined) { var achieve15 = false; } if (savefile.data.achieve16 == undefined) { var achieve16 = false; } if (savefile.data.achieve17 == undefined) { var achieve17 = false; } if (savefile.data.achieve18 == undefined) { var achieve18 = false; } if (savefile.data.achieve19 == undefined) { var achieve19 = false; } if (savefile.data.achieve20 == undefined) { var achieve20 = false; } if (savefile.data.achieve21 == undefined) { var achieve21 = false; } if (savefile.data.achieve22 == undefined) { var achieve22 = false; } if (savefile.data.achieve23 == undefined) { var achieve23 = false; } if (savefile.data.achieve24 == undefined) { var achieve24 = false; } if (savefile.data.clickedf == undefined) { var clickedf = false; } if (savefile.data.clickedt == undefined) { var clickedt = false; } if (savefile.data.s1bothead == undefined) { var s1bothead = 'not set'; } if (savefile.data.s1botarm == undefined) { var s1botarm = 'not set'; } if (savefile.data.s1botbody == undefined) { var s1botbody = 'not set'; } if (savefile.data.s1botleg == undefined) { var s1botleg = 'not set'; } if (savefile.data.s1rarityvalue == undefined) { var s1rarityvalue = 'not set'; } if (savefile.data.s1raritystar == undefined) { var s1raritystar = 'not set'; } if (savefile.data.s1playtime == undefined) { var s1playtime = 'not set'; } if (savefile.data.s1randomset == undefined) { var s1randomset = 'not set'; } if (savefile.data.s1exp == undefined) { var s1exp = 'not set'; } if (savefile.data.s1botlvl == undefined) { var s1botlvl = 'not set'; } if (savefile.data.s1dmgtaken == undefined) { var s1dmgtaken = 'not set'; } if (savefile.data.s1cogscollected == undefined) { var s1cogscollected = 'not set'; } if (savefile.data.s2bothead == undefined) { var s2bothead = 'not set'; } if (savefile.data.s2botarm == undefined) { var s2botarm = 'not set'; } if (savefile.data.s2botbody == undefined) { var s2botbody = 'not set'; } if (savefile.data.s2botleg == undefined) { var s2botleg = 'not set'; } if (savefile.data.s2rarityvalue == undefined) { var s2rarityvalue = 'not set'; } if (savefile.data.s2raritystar == undefined) { var s2raritystar = 'not set'; } if (savefile.data.s2playtime == undefined) { var s2playtime = 'not set'; } if (savefile.data.s2randomset == undefined) { var s2randomset = 'not set'; } if (savefile.data.s2exp == undefined) { var s2exp = 'not set'; } if (savefile.data.s2botlvl == undefined) { var s2botlvl = 'not set'; } if (savefile.data.s2dmgtaken == undefined) { var s2dmgtaken = 'not set'; } if (savefile.data.s2cogscollected == undefined) { var s2cogscollected = 'not set'; } if (savefile.data.s3bothead == undefined) { var s3bothead = 'not set'; } if (savefile.data.s3botarm == undefined) { var s3botarm = 'not set'; } if (savefile.data.s3botbody == undefined) { var s3botbody = 'not set'; } if (savefile.data.s3botleg == undefined) { var s3botleg = 'not set'; } if (savefile.data.s3rarityvalue == undefined) { var s3rarityvalue = 'not set'; } if (savefile.data.s3raritystar == undefined) { var s3raritystar = 'not set'; } if (savefile.data.s3playtime == undefined) { var s3playtime = 'not set'; } if (savefile.data.s3randomset == undefined) { var s3randomset = 'not set'; } if (savefile.data.s3exp == undefined) { var s3exp = 'not set'; } if (savefile.data.s3botlvl == undefined) { var s3botlvl = 'not set'; } if (savefile.data.s3dmgtaken == undefined) { var s3dmgtaken = 'not set'; } if (savefile.data.s3cogscollected == undefined) { var s3cogscollected = 'not set'; } if (savefile.data.selectedsave == undefined) { var selectedsave = 'not set'; } if (savefile.data.save1used == undefined) { var save1used = false; } if (savefile.data.save2used == undefined) { var save2used = false; } if (savefile.data.save3used == undefined) { var save3used = false; } if (savefile.data.bothead == undefined) { var bothead = 1; } if (savefile.data.botarm == undefined) { var botarm = 1; } if (savefile.data.botbody == undefined) { var botbody = 1; } if (savefile.data.botleg == undefined) { var botleg = 1; } if (savefile.data.randomset == undefined) { var randomset = 0; } if (savefile.data.rarityvalue == undefined) { var rarityvalue = 'not set'; } if (savefile.data.raritystar == undefined) { var raritystar = 'not set'; } if (savefile.data.bottime == undefined) { var bottime = 0; } if (savefile.data.botexp == undefined) { var botexp = 0; } if (savefile.data.botlvl == undefined) { var botlvl = 0; } if (savefile.data.dmgtaken == undefined) { var dmgtaken = 0; } if (savefile.data.cogscollected == undefined) { var cogscollected = 0; } if (savefile.data.cogcoin == undefined) { var cogcoin = 0; } if (savefile.data.totalcompletes == undefined) { var totalcompletes = 0; } if (savefile.data.intro1watched == undefined) { var intro1watched = false; } if (savefile.data.intro2watched == undefined) { var intro2watched = false; } if (savefile.data.intro3watched == undefined) { var intro3watched = false; } if (savefile.data.intro4watched == undefined) { var intro4watched = false; } if (savefile.data.intro5watched == undefined) { var intro5watched = false; } if (savefile.data.intro6watched == undefined) { var intro6watched = false; } if (savefile.data.intro7watched == undefined) { var intro7watched = false; } if (savefile.data.ttlexp == undefined) { var ttlexp = 0; } if (savefile.data.ttldmgtaken == undefined) { var ttldmgtaken = 0; } if (savefile.data.ttlcogscollected == undefined) { var ttlcogscollected = 0; } if (savefile.data.ttldeaths == undefined) { var ttldeaths = 0; } if (savefile.data.bosssurv == undefined) { var bosssurv = 0; } if (savefile.data.ttltestpass == undefined) { var ttltestpass = 0; } if (savefile.data.ttlstomped == undefined) { var ttlstomped = 0; } if (savefile.data.escptimes == undefined) { var escptimes = 0; } if (savefile.data.botsarchived == undefined) { var botsarchived = 0; } if (savefile.data.escapescurrent == undefined) { var escapescurrent = 0; } if (savefile.data.cogscollcurrent == undefined) { var cogscollcurrent = 0; } if (savefile.data.deathscurrent == undefined) { var deathscurrent = 0; } if (savefile.data.rankpoint == undefined) { var rankpoint = 0; } if (savefile.data.completeyscreen == undefined) { var completeyscreen = false; } if (savefile.data.tutorialseen == undefined) { var tutorialseen = false; } if (savefile.data.expnextlvl == undefined) { var expnextlvl = 0; } if (savefile.data.h1bought == undefined) { var h1bought = false; } if (savefile.data.h2bought == undefined) { var h2bought = false; } if (savefile.data.h3bought == undefined) { var h3bought = false; } if (savefile.data.h4bought == undefined) { var h4bought = false; } if (savefile.data.h5bought == undefined) { var h5bought = false; } if (savefile.data.h6bought == undefined) { var h6bought = false; } if (savefile.data.h7bought == undefined) { var h7bought = false; } if (savefile.data.h8bought == undefined) { var h8bought = false; } if (savefile.data.h9bought == undefined) { var h9bought = false; } if (savefile.data.h10bought == undefined) { var h10bought = false; } if (savefile.data.h11bought == undefined) { var h11bought = false; } if (savefile.data.h12bought == undefined) { var h12bought = false; } if (savefile.data.h13bought == undefined) { var h13bought = false; } if (savefile.data.h14bought == undefined) { var h14bought = false; } if (savefile.data.h15bought == undefined) { var h15bought = false; } if (savefile.data.h16bought == undefined) { var h16bought = false; } if (savefile.data.h17bought == undefined) { var h17bought = false; } if (savefile.data.h18bought == undefined) { var h18bought = false; } if (savefile.data.h19bought == undefined) { var h19bought = false; } if (savefile.data.h20bought == undefined) { var h20bought = false; } if (savefile.data.h21bought == undefined) { var h21bought = false; } if (savefile.data.h22bought == undefined) { var h22bought = false; } if (savefile.data.h23bought == undefined) { var h23bought = false; } if (savefile.data.h24bought == undefined) { var h24bought = false; } if (savefile.data.h25bought == undefined) { var h25bought = false; } if (savefile.data.h26bought == undefined) { var h26bought = false; } if (savefile.data.h27bought == undefined) { var h27bought = false; } if (savefile.data.h28bought == undefined) { var h28bought = false; } if (savefile.data.h29bought == undefined) { var h29bought = false; } if (savefile.data.abought1 == undefined) { var abought1 = false; } if (savefile.data.abought2 == undefined) { var abought2 = false; } if (savefile.data.abought3 == undefined) { var abought3 = false; } if (savefile.data.abought4 == undefined) { var abought4 = false; } if (savefile.data.abought5 == undefined) { var abought5 = false; } if (savefile.data.abought6 == undefined) { var abought6 = false; } if (savefile.data.abought7 == undefined) { var abought7 = false; } if (savefile.data.abought8 == undefined) { var abought8 = false; } if (savefile.data.abought9 == undefined) { var abought9 = false; } if (savefile.data.abought10 == undefined) { var abought10 = false; } if (savefile.data.abought11 == undefined) { var abought11 = false; } if (savefile.data.abought12 == undefined) { var abought12 = false; } if (savefile.data.abought13 == undefined) { var abought13 = false; } if (savefile.data.abought14 == undefined) { var abought14 = false; } if (savefile.data.abought15 == undefined) { var abought15 = false; } if (savefile.data.abought16 == undefined) { var abought16 = false; } if (savefile.data.abought17 == undefined) { var abought17 = false; } if (savefile.data.abought18 == undefined) { var abought18 = false; } if (savefile.data.abought19 == undefined) { var abought19 = false; } if (savefile.data.abought20 == undefined) { var abought20 = false; } if (savefile.data.abought21 == undefined) { var abought21 = false; } if (savefile.data.abought22 == undefined) { var abought22 = false; } if (savefile.data.abought23 == undefined) { var abought23 = false; } if (savefile.data.abought24 == undefined) { var abought24 = false; } if (savefile.data.abought25 == undefined) { var abought25 = false; } if (savefile.data.abought26 == undefined) { var abought26 = false; } if (savefile.data.abought27 == undefined) { var abought27 = false; } if (savefile.data.abought28 == undefined) { var abought28 = false; } if (savefile.data.abought29 == undefined) { var abought29 = false; } if (savefile.data.bbought1 == undefined) { var bbought1 = false; } if (savefile.data.bbought2 == undefined) { var bbought2 = false; } if (savefile.data.bbought3 == undefined) { var bbought3 = false; } if (savefile.data.bbought4 == undefined) { var bbought4 = false; } if (savefile.data.bbought5 == undefined) { var bbought5 = false; } if (savefile.data.bbought6 == undefined) { var bbought6 = false; } if (savefile.data.bbought7 == undefined) { var bbought7 = false; } if (savefile.data.bbought8 == undefined) { var bbought8 = false; } if (savefile.data.bbought9 == undefined) { var bbought9 = false; } if (savefile.data.bbought10 == undefined) { var bbought10 = false; } if (savefile.data.bbought11 == undefined) { var bbought11 = false; } if (savefile.data.bbought12 == undefined) { var bbought12 = false; } if (savefile.data.bbought13 == undefined) { var bbought13 = false; } if (savefile.data.bbought14 == undefined) { var bbought14 = false; } if (savefile.data.bbought15 == undefined) { var bbought15 = false; } if (savefile.data.bbought16 == undefined) { var bbought16 = false; } if (savefile.data.bbought17 == undefined) { var bbought17 = false; } if (savefile.data.bbought18 == undefined) { var bbought18 = false; } if (savefile.data.bbought19 == undefined) { var bbought19 = false; } if (savefile.data.bbought20 == undefined) { var bbought20 = false; } if (savefile.data.bbought21 == undefined) { var bbought21 = false; } if (savefile.data.bbought22 == undefined) { var bbought22 = false; } if (savefile.data.bbought23 == undefined) { var bbought23 = false; } if (savefile.data.bbought24 == undefined) { var bbought24 = false; } if (savefile.data.bbought25 == undefined) { var bbought25 = false; } if (savefile.data.bbought26 == undefined) { var bbought26 = false; } if (savefile.data.bbought27 == undefined) { var bbought27 = false; } if (savefile.data.bbought28 == undefined) { var bbought28 = false; } if (savefile.data.bbought29 == undefined) { var bbought29 = false; } if (savefile.data.lbought1 == undefined) { var lbought1 = false; } if (savefile.data.lbought2 == undefined) { var lbought2 = false; } if (savefile.data.lbought3 == undefined) { var lbought3 = false; } if (savefile.data.lbought4 == undefined) { var lbought4 = false; } if (savefile.data.lbought5 == undefined) { var lbought5 = false; } if (savefile.data.lbought6 == undefined) { var lbought6 = false; } if (savefile.data.lbought7 == undefined) { var lbought7 = false; } if (savefile.data.lbought8 == undefined) { var lbought8 = false; } if (savefile.data.lbought9 == undefined) { var lbought9 = false; } if (savefile.data.lbought10 == undefined) { var lbought10 = false; } if (savefile.data.lbought11 == undefined) { var lbought11 = false; } if (savefile.data.lbought12 == undefined) { var lbought12 = false; } if (savefile.data.lbought13 == undefined) { var lbought13 = false; } if (savefile.data.lbought14 == undefined) { var lbought14 = false; } if (savefile.data.lbought15 == undefined) { var lbought15 = false; } if (savefile.data.lbought16 == undefined) { var lbought16 = false; } if (savefile.data.lbought17 == undefined) { var lbought17 = false; } if (savefile.data.lbought18 == undefined) { var lbought18 = false; } if (savefile.data.lbought19 == undefined) { var lbought19 = false; } if (savefile.data.lbought20 == undefined) { var lbought20 = false; } if (savefile.data.lbought21 == undefined) { var lbought21 = false; } if (savefile.data.lbought22 == undefined) { var lbought22 = false; } if (savefile.data.lbought23 == undefined) { var lbought23 = false; } if (savefile.data.lbought24 == undefined) { var lbought24 = false; } if (savefile.data.lbought25 == undefined) { var lbought25 = false; } if (savefile.data.lbought26 == undefined) { var lbought26 = false; } if (savefile.data.lbought27 == undefined) { var lbought27 = false; } if (savefile.data.lbought28 == undefined) { var lbought28 = false; } if (savefile.data.lbought29 == undefined) { var lbought29 = false; } if (savefile.data.secretf == undefined) { var secretf = false; } if (savefile.data.itemsbgt == undefined) { var itemsbgt = 0; } if (savefile.data.consoleinstructions == undefined) { var consoleinstructions = false; } if (savefile.data.firsttimeplay == undefined) { var firsttimeplay = false; } _root.save(); _root.saveyload.gotoAndStop(2); _root.saveyload.loady.gotoAndPlay(1); } frame 19 { stop(); } movieClip 209 { } button 211 { on (release) { getURL('http://kongregate.com/', '_blank'); } } movieClip 213 { } movieClip 214 { } movieClip 216 { } movieClip 217 { } movieClip 218 { } movieClip 219 { } movieClip 220 { } movieClip 223 { } movieClip 226 { } movieClip 227 { } movieClip 229 { } // unknown tag 88 length 63 movieClip 232 { } movieClip 233 { frame 180 { _root.nextFrame(); } } instance of movieClip 233 { onClipEvent (load) { if (_root.kongstuff == false) { this._visible = false; } } onClipEvent (release) { if (_root.kongstuff == true) { getURL('http://www.kongregate.com/?haref=platcore&src=spon&cm=platcore', '_blank'); } } } movieClip 241 { } movieClip 247 { } movieClip 250 { frame 1 { _root.stop(); gotoAndPlay(2); } frame 218 { _root.nextFrame(); } } instance ag of movieClip 250 { onClipEvent (load) { if (_root.otherbranding == false) { this._visible = false; } } onClipEvent (release) { if (_root.otherbranding == true) { getURL('http://www.armorgames.com', '_blank'); } } } frame 20 { stop(); } button 252 { on (release) { getURL('http://www.chris-jeff.com', '_blank'); } } movieClip 263 { frame 105 { _parent.nextFrame(); } } frame 21 { stop(); } movieClip 278 { } movieClip 279 { } movieClip 314 { } movieClip 320 { frame 156 { _parent.nextFrame(); } } instance of movieClip 320 { onClipEvent (release) { getURL('http://www.nch-productions.com/', '_blank'); } } frame 22 { function randomintro() { _root.intronum = Math.round(Math.random() * 5) + 2; _root.introplayer.gotoAndStop(_root.intronum); } if (_root.intro1watched == false) { _root.introplayer.gotoAndStop(1); } if (_root.intro1watched == true) { _root.introplayer.gotoAndStop(2); } if (_root.intro2watched == true) { _root.introplayer.gotoAndStop(3); } if (_root.intro3watched == true) { _root.introplayer.gotoAndStop(4); } if (_root.intro4watched == true) { _root.introplayer.gotoAndStop(5); } if (_root.intro5watched == true) { _root.introplayer.gotoAndStop(6); } if (_root.intro6watched == true) { _root.introplayer.gotoAndStop(7); } if (_root.intro7watched == true) { _root.randomintro(); } stop(); } movieClip 324 { } movieClip 328 { } movieClip 332 { } movieClip 334 { } movieClip 336 { } movieClip 338 { } movieClip 341 { } movieClip 343 { } movieClip 345 { } movieClip 387 { frame 1 { stop(); } } movieClip 393 { } movieClip 397 { } movieClip 398 { } movieClip 400 { } movieClip 401 { frame 1 { stop(); } } movieClip 402 { frame 1 { stop(); } } movieClip 403 { frame 1 { stop(); } } movieClip 418 { frame 49 { stop(); } } movieClip 422 { } button 423 { on (press) { nextFrame(); } on (press) { wordwipe.gotoAndPlay(1); } } movieClip 455 { frame 57 { stop(); } } movieClip 460 { frame 148 { stop(); } frame 154 { play(); } frame 228 { stop(); } frame 231 { play(); } frame 412 { stop(); _root.intro1watched = true; _root.firsttimeplay = false; _root.play(); } } movieClip 491 { frame 1 { stop(); } } movieClip 521 { frame 1 { stop(); } } movieClip 551 { frame 1 { stop(); } } movieClip 552 { frame 1 { stop(); } } movieClip 563 { frame 148 { stop(); } frame 154 { play(); } frame 397 { stop(); _root.intro2watched = true; _root.play(); } } movieClip 568 { frame 1 { stop(); } } movieClip 584 { frame 148 { stop(); } frame 156 { play(); } frame 230 { stop(); } frame 233 { play(); } frame 414 { stop(); _root.intro3watched = true; _root.play(); } } movieClip 589 { frame 1 { stop(); } } movieClip 605 { frame 148 { stop(); } frame 155 { play(); } frame 235 { stop(); } frame 236 { play(); } frame 370 { stop(); } frame 371 { play(); } frame 413 { stop(); _root.intro4watched = true; _root.play(); } } movieClip 610 { frame 1 { stop(); } } movieClip 627 { frame 148 { stop(); } frame 155 { play(); } frame 230 { stop(); } frame 233 { play(); } frame 373 { stop(); } frame 375 { play(); } frame 433 { stop(); _root.intro5watched = true; _root.play(); } } movieClip 636 { frame 1 { stop(); } } movieClip 645 { frame 148 { stop(); } frame 155 { play(); } frame 227 { stop(); } frame 230 { play(); } frame 308 { stop(); } frame 311 { play(); } frame 489 { stop(); _root.intro6watched = true; _root.play(); } } movieClip 649 { frame 1 { stop(); } } movieClip 651 { } movieClip 653 { } movieClip 655 { } movieClip 656 { frame 1 { stop(); } } movieClip 674 { frame 148 { stop(); } frame 153 { play(); } frame 227 { stop(); } frame 233 { play(); } frame 311 { stop(); } frame 314 { play(); } frame 491 { stop(); _root.intro7watched = true; _root.play(); } } movieClip 675 { frame 1 { _root.introdude = 1; } frame 2 { _root.introdude = 2; } frame 3 { _root.introdude = 3; } frame 4 { _root.introdude = 4; } frame 5 { _root.introdude = 5; } frame 6 { _root.introdude = 6; } frame 7 { _root.introdude = 7; } } movieClip 678 { } movieClip 679 { } button 680 { on (release) { play(); } } frame 23 { function countdown() { time1 += 0.1; _root.hmstime = tc.secondsToTimecode(_root.time1); time = int(time1 * 10) / 10; if (time % 1 == 0) { time += '.0'; } timer.text = time; } function bottimergo() { function countdownbot() { bottime1 += 0.1; _root.hmsbottime = tc.secondsToTimecode(_root.bottime1); bottime = int(bottime1 * 10) / 10; if (bottime % 1 == 0) { bottime += '.0'; } bottimer.text = time; } platbottimer = setInterval(countdownbot, 100); } myIntervalID = setInterval(countdown, 100); _root.bottimergo(); } frame 26 { function arrowcontrols() { _root.newSHIELDKEY = 65; _root.newJUMPKEY = 38; _root.newCROUCHKEY = 40; _root.newRUNLEFTKEY = 37; _root.newRUNRIGHTKEY = 39; _root.newOPENDOORKEY = 32; } function wasdcontrols() { _root.newSHIELDKEY = 38; _root.newJUMPKEY = 87; _root.newCROUCHKEY = 83; _root.newRUNLEFTKEY = 65; _root.newRUNRIGHTKEY = 68; _root.newOPENDOORKEY = 32; } stop(); var newSHIELDKEY = ''; var newJUMPKEY = ''; var newCROUCHKEY = ''; var newRUNLEFTKEY = ''; var newRUNRIGHTKEY = ''; var newOPENDOORKEY = ''; var controlscheme = ''; } movieClip 690 { } movieClip 692 { } movieClip 698 { } movieClip 724 { frame 1 { stop(); } } movieClip 746 { frame 1 { stop(); } } movieClip 773 { frame 1 { stop(); } } movieClip 800 { frame 1 { stop(); } } movieClip 801 { } movieClip 802 { } movieClip 807 { } movieClip 811 { } movieClip 820 { } movieClip 822 { frame 1 { stop(); } } movieClip 838 { frame 1 { stop(); } } button 844 { on (release) { arrowness.clicked = true; _root.choices.gotoAndPlay(43); _root.arrowcontrols(); _root.controlscheme = 'arrow'; } on (rollOver) { arrowness.hover = true; } on (rollOut) { arrowness.hover = false; } } button 845 { on (release) { wasdness.clicked = true; _root.choices.gotoAndPlay(43); _root.wasdcontrols(); _root.controlscheme = 'wasd'; } on (rollOver) { wasdness.hover = true; } on (rollOut) { wasdness.hover = false; } } movieClip 846 { frame 38 { stop(); } instance arrowness of movieClip 822 { onClipEvent (load) { gotoAndStop(1); hover = false; clicked = false; } onClipEvent (enterFrame) { if (hover == true) { gotoAndStop(2); } if (hover == false) { gotoAndStop(1); } if (clicked == true) { gotoAndStop(3); } } } instance wasdness of movieClip 838 { onClipEvent (load) { gotoAndStop(1); hover = false; clicked = false; } onClipEvent (enterFrame) { if (hover == true) { gotoAndStop(2); } if (hover == false) { gotoAndStop(1); } if (clicked == true) { gotoAndStop(3); } } } instance of movieClip 822 { onClipEvent (load) { if (_root.controlscheme == 'arrow') { gotoAndStop(3); } if (_root.controlscheme == 'wasd') { gotoAndStop(1); } } } instance of movieClip 838 { onClipEvent (load) { if (_root.controlscheme == 'arrow') { gotoAndStop(1); } if (_root.controlscheme == 'wasd') { gotoAndStop(3); } } } frame 65 { _root.play(); } } frame 27 { function achieve1get() { if (_root.achieve1 == false) { _root.achievementunlock.gotoAndPlay(1); _root.achievementunlock.achievetitle = 'First Time'; _root.achievementunlock.achievedesc = 'Complete the game for the first time'; _root.achieveiconnum = 2; _root.achieve1 = true; } } function achieve2get() { if (_root.achieve2 == false) { _root.achievementunlock.gotoAndPlay(1); _root.achievementunlock.achievetitle = 'Double Hero'; _root.achievementunlock.achievedesc = 'Complete the game twice'; _root.achieveiconnum = 3; _root.achieve2 = true; } } function achieve3get() { if (_root.achieve3 == false) { _root.achievementunlock.gotoAndPlay(1); _root.achievementunlock.achievetitle = 'Fives the Charm'; _root.achievementunlock.achievedesc = 'Complete the game five times'; _root.achieveiconnum = 4; _root.achieve3 = true; } } function achieve4get() { if (_root.achieve4 == false) { _root.achievementunlock.gotoAndPlay(1); _root.achievementunlock.achievetitle = 'True Player'; _root.achievementunlock.achievedesc = 'Complete the game with an exclusive'; _root.achieveiconnum = 5; _root.achieve4 = true; } } function achieve5get() { if (_root.achieve5 == false) { _root.achievementunlock.gotoAndPlay(1); _root.achievementunlock.achievetitle = 'Replaceable'; _root.achievementunlock.achievedesc = 'Destroy a Platbot'; _root.achieveiconnum = 6; _root.achieve5 = true; } } function achieve6get() { if (_root.achieve6 == false) { _root.achievementunlock.gotoAndPlay(1); _root.achievementunlock.achievetitle = 'Not so Replaceable'; _root.achievementunlock.achievedesc = 'Destroy an exclusive Platbot'; _root.achieveiconnum = 7; _root.achieve6 = true; } } function achieve7get() { if (_root.achieve7 == false) { _root.achievementunlock.gotoAndPlay(1); _root.achievementunlock.achievetitle = 'The Intern'; _root.achievementunlock.achievedesc = 'Watch all the intros'; _root.achieveiconnum = 8; _root.achieve7 = true; } } function achieve8get() { if (_root.achieve8 == false) { _root.achievementunlock.gotoAndPlay(1); _root.achievementunlock.achievetitle = 'Hall of Famer'; _root.achievementunlock.achievedesc = 'Place a Platbot in the Hall of Fame'; _root.achieveiconnum = 9; _root.achieve8 = true; } } function achieve9get() { if (_root.achieve9 == false) { _root.achievementunlock.gotoAndPlay(1); _root.achievementunlock.achievetitle = 'Top Dog'; _root.achievementunlock.achievedesc = 'Fill all Hall of Fame slots'; _root.achieveiconnum = 10; _root.achieve9 = true; } } function achieve10get() { if (_root.achieve10 == false) { _root.achievementunlock.gotoAndPlay(1); _root.achievementunlock.achievetitle = 'The Collector'; _root.achievementunlock.achievedesc = 'Three exclusives in the Hall of Fame'; _root.achieveiconnum = 11; _root.achieve10 = true; } } function achieve11get() { if (_root.achieve11 == false) { _root.achievementunlock.gotoAndPlay(1); _root.achievementunlock.achievetitle = 'The Discoverer'; _root.achievementunlock.achievedesc = 'You found the hidden room!'; _root.achieveiconnum = 12; _root.achieve11 = true; } } function achieve12get() { if (_root.achieve12 == false) { _root.achievementunlock.gotoAndPlay(1); _root.achievementunlock.achievetitle = 'Robocide'; _root.achievementunlock.achievedesc = 'Kill 100 Platbots'; _root.achieveiconnum = 13; _root.achieve12 = true; } } function achieve13get() { if (_root.achieve13 == false) { _root.achievementunlock.gotoAndPlay(1); _root.achievementunlock.achievetitle = 'Novice'; _root.achievementunlock.achievedesc = 'Reach Bot Level 1'; _root.achieveiconnum = 14; _root.achieve13 = true; } } function achieve14get() { if (_root.achieve14 == false) { _root.achievementunlock.gotoAndPlay(1); _root.achievementunlock.achievetitle = 'Amateur'; _root.achievementunlock.achievedesc = 'Reach Bot Level 3'; _root.achieveiconnum = 15; _root.achieve14 = true; } } function achieve15get() { if (_root.achieve15 == false) { _root.achievementunlock.gotoAndPlay(1); _root.achievementunlock.achievetitle = 'Pro'; _root.achievementunlock.achievedesc = 'Reach Bot Level 5'; _root.achieveiconnum = 16; _root.achieve15 = true; } } function achieve16get() { if (_root.achieve16 == false) { _root.achievementunlock.gotoAndPlay(1); _root.achievementunlock.achievetitle = 'Novice+'; _root.achievementunlock.achievedesc = 'Reach Bot Level 1 (Exclusive)'; _root.achieveiconnum = 17; _root.achieve16 = true; } } function achieve17get() { if (_root.achieve17 == false) { _root.achievementunlock.gotoAndPlay(1); _root.achievementunlock.achievetitle = 'Amateur+'; _root.achievementunlock.achievedesc = 'Reach Bot Level 3 (Exclusive)'; _root.achieveiconnum = 18; _root.achieve17 = true; } } function achieve18get() { if (_root.achieve18 == false) { _root.achievementunlock.gotoAndPlay(1); _root.achievementunlock.achievetitle = 'Pro+'; _root.achievementunlock.achievedesc = 'Reach Bot Level 5 (Exclusive)'; _root.achieveiconnum = 19; _root.achieve18 = true; } } function achieve19get() { if (_root.achieve19 == false) { _root.achievementunlock.gotoAndPlay(1); _root.achievementunlock.achievetitle = 'Godlike'; _root.achievementunlock.achievedesc = 'Reach Bot Level 10 (ANY PLATBOT)'; _root.achieveiconnum = 20; _root.achieve19 = true; } } function achieve20get() { if (_root.achieve20 == false) { _root.achievementunlock.gotoAndPlay(1); _root.achievementunlock.achievetitle = 'The Lurker'; _root.achievementunlock.achievedesc = 'Hung Around Too Long At The End Of The Credits'; _root.achieveiconnum = 21; _root.achieve20 = true; } } function achieve21get() { if (_root.achieve21 == false) { _root.achievementunlock.gotoAndPlay(1); _root.achievementunlock.achievetitle = 'Shiny Cogs'; _root.achievementunlock.achievedesc = 'Collect 300 Golden Cogs'; _root.achieveiconnum = 22; _root.achieve21 = true; } } function achieve22get() { if (_root.achieve22 == false) { _root.achievementunlock.gotoAndPlay(1); _root.achievementunlock.achievetitle = 'Squishy Squishy'; _root.achievementunlock.achievedesc = 'Squished 10 Times'; _root.achieveiconnum = 23; _root.achieve22 = true; } } function achieve23get() { if (_root.achieve23 == false) { _root.achievementunlock.gotoAndPlay(1); _root.achievementunlock.achievetitle = 'The Creator'; _root.achievementunlock.achievedesc = 'Customise Your Own Platbot In The Lab'; _root.achieveiconnum = 24; _root.achieve23 = true; } } function achieve24get() { if (_root.achieve24 == false) { _root.achievementunlock.gotoAndPlay(1); _root.achievementunlock.achievetitle = 'Shopaholic'; _root.achievementunlock.achievedesc = 'Purchase All Customisations In The Lab'; _root.achieveiconnum = 25; _root.achieve24 = true; } } function ach9checker() { if (_root.save1used == true) { if (_root.save2used == true) { if (_root.save3used == true) { _root.achieve9get(); } } } } function ach10checker() { if (_root.s1randomset == 10) { if (_root.s2randomset == 10) { if (_root.s3randomset == 10) { _root.achieve10get(); } } } } function deathachchecker() { if (_root.ttldeaths > 99) { _root.achieve12get(); } if (_root.ttlstomped > 9) { _root.achieve22get(); } } function botlvlachchecker() { if (_root.botlvl > 9) { _root.achieve19get(); } if (_root.botlvl > 4) { if (_root.randomset !== 10) { _root.achieve15get(); } } if (_root.botlvl > 4) { if (_root.randomset == 10) { _root.achieve18get(); } } if (_root.botlvl > 2) { if (_root.randomset !== 10) { _root.achieve14get(); } } if (_root.botlvl > 2) { if (_root.randomset == 10) { _root.achieve17get(); } } if (_root.botlvl > 0) { if (_root.randomset !== 10) { _root.achieve13get(); } } if (_root.botlvl > 0) { if (_root.randomset == 10) { _root.achieve16get(); } } } function itemsboughtcheck() { if (_root.itemsbgt == 116) { _root.achieve24get(); } } _root.achievementunlock.gotoAndStop(1); var achievemeiconnum = 1; var ach1stuff = 'First Time - Complete the game for the first time'; var ach2stuff = 'Double Hero - Complete the game twice'; var ach3stuff = 'Fives the Charm - Complete the game five times'; var ach4stuff = 'True Player - Complete the game with an exclusive Platbot'; var ach5stuff = 'Replaceable - Destroy a Platbot'; var ach6stuff = 'Not so Replaceable - Destroy an exclusive Platbot'; var ach7stuff = 'The Intern - Watch all the intros'; var ach8stuff = 'Hall of Famer - Place a Platbot in the Hall of Fame'; var ach9stuff = 'Top Dog - Fill all Hall of Fame slots'; var ach10stuff = 'The Collector - Place three exclusive platbots in the Hall of Fame'; var ach11stuff = 'The Discoverer - Find the hidden storage room'; var ach12stuff = 'Robocide - Kill 100 Platbots'; var ach13stuff = 'Novice - Reach Bot Level 1 (Normal Platbot)'; var ach14stuff = 'Amateur - Reach Bot Level 3 (Normal Platbot)'; var ach15stuff = 'Pro - Reach Bot Level 5 (Normal Platbot)'; var ach16stuff = 'Novice+ - Reach Bot Level 1 (Exclusive Platbot)'; var ach17stuff = 'Amateur+ - Reach Bot Level 3 (Exclusive Platbot)'; var ach18stuff = 'Pro+ - Reach Bot Level 5 (Exclusive Platbot)'; var ach19stuff = 'Godlike - Reach Bot Level 10 (ANY PLATBOT)'; var ach20stuff = 'The Lurker - Hung Around Too Long At The End Of The Credits'; var ach21stuff = 'Shiny Cogs - Collect 300 Golden Cogs'; var ach22stuff = 'Squishy Squishy - Squished 10 Times'; var ach23stuff = 'The Creator - Customise Your Own Platbot In The Lab'; var ach24stuff = 'Shopaholic - Purchase All Customisations In The Lab'; var achstatdefaultmess = 'HOVER OVER AN ACHIEVEMENT FOR A DESCRIPTION ON HOW TO UNLOCK'; if (_root.intro1watched == true) { if (_root.intro2watched == true) { if (_root.intro3watched == true) { if (_root.intro4watched == true) { if (_root.intro5watched == true) { if (_root.intro6watched == true) { if (_root.intro7watched == true) { _root.achieve7get(); } } } } } } } } frame 27 { Stage.scaleMode = 'stretch'; } movieClip 849 { } movieClip 851 { } movieClip 853 { } movieClip 858 { frame 1 { stop(); } frame 39 { _root.mcPLAYER.enterdoor = false; this.gotoAndStop(1); } } instance arenago of movieClip 858 { onClipEvent (enterFrame) { if (_root.completeyscreen == false) { if (_root.mcPLAYER.enterdoor == false) { if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) { if (Key.isDown(32)) { _root.mcPLAYER._x = 319.75; _root.mcPLAYER._y = 413.65; _root.consoleinstructions = true; _root.mcPLAYER.enterdoor = true; _root.save(); _root.gotoAndStop('platarena'); } } } } } } movieClip 860 { } movieClip 862 { } movieClip 866 { frame 1 { stop(); } frame 39 { _root.mcPLAYER._alpha = 100; _root.mcPLAYER.enterdoor = false; _root.gotoAndStop(247); stop(); } frame 56 { _root.mcPLAYER.enterdoor = false; this.gotoAndStop(1); } } instance ctrlroom of movieClip 866 { onClipEvent (enterFrame) { if (_root.mcPLAYER.enterdoor == false) { if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) { if (Key.isDown(32)) { _root.mcPLAYER._x = 565; _root.mcPLAYER._y = 419.95; _root.consoleinstructions = true; _root.mcPLAYER.enterdoor = true; _root.save(); _root.gotoAndStop('Control room'); } } } } } movieClip 868 { } movieClip 870 { } movieClip 874 { frame 1 { stop(); } frame 56 { _root.mcPLAYER.enterdoor = false; this.gotoAndStop(1); } } instance halloffame of movieClip 874 { onClipEvent (enterFrame) { if (_root.mcPLAYER.enterdoor == false) { if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) { if (Key.isDown(32)) { _root.mcPLAYER._x = 316.5; _root.mcPLAYER._y = 457.95; _root.consoleinstructions = true; _root.mcPLAYER.enterdoor = true; _root.save(); _root.gotoAndStop('Hall of fame'); } } } } } movieClip 875 { } movieClip 884 { frame 1 { stop(); } frame 39 { _root.mcPLAYER.enterdoor = false; this.gotoAndStop(1); } } instance labdoor of movieClip 884 { onClipEvent (enterFrame) { if (_root.mcPLAYER.enterdoor == false) { if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) { if (Key.isDown(32)) { _root.mcPLAYER._x = 122.95; _root.mcPLAYER._y = 419.95; _root.consoleinstructions = true; _root.mcPLAYER.enterdoor = true; _root.save(); _root.gotoAndStop('Custom Lab'); } } } } } movieClip 899 { } movieClip 909 { frame 20 { stop(); } } movieClip 916 { frame 20 { stop(); } } movieClip 925 { frame 20 { stop(); } } movieClip 932 { frame 20 { stop(); } } movieClip 939 { frame 20 { stop(); } } movieClip 946 { frame 20 { stop(); } } movieClip 952 { frame 20 { stop(); } } movieClip 958 { } movieClip 960 { } movieClip 962 { } movieClip 964 { } movieClip 967 { frame 20 { stop(); } } movieClip 974 { frame 20 { stop(); } } movieClip 982 { frame 20 { stop(); } } movieClip 988 { frame 20 { stop(); } } movieClip 1019 { frame 1 { this.gotoAndStop(_root.bothead); } frame 1 { stop(); } } movieClip 1041 { frame 1 { this.gotoAndStop(_root.botleg); } frame 1 { stop(); } } movieClip 1068 { frame 1 { this.gotoAndStop(_root.botbody); } frame 1 { stop(); } } movieClip 1094 { frame 1 { this.gotoAndStop(_root.botarm); } frame 1 { stop(); } } movieClip 1096 { frame 20 { stop(); } } movieClip 1097 { frame 1 { stop(); this.gotoAndStop(_root.achieveiconnum); } } movieClip 1103 { frame 1 { stop(); this.gotoAndStop(_root.achieveiconnum); } } movieClip 1104 { frame 1 { stop(); this.gotoAndStop(_root.achieveiconnum); } } movieClip 1111 { frame 20 { stop(); } } movieClip 1118 { frame 20 { stop(); } } movieClip 1125 { frame 20 { stop(); } } movieClip 1132 { frame 20 { stop(); } } movieClip 1139 { frame 20 { stop(); } } movieClip 1146 { frame 20 { stop(); } } movieClip 1153 { frame 20 { stop(); } } movieClip 1159 { frame 20 { stop(); } } movieClip 1166 { frame 20 { stop(); } } movieClip 1173 { frame 20 { stop(); } } movieClip 1180 { frame 20 { stop(); } } movieClip 1187 { } movieClip 1190 { frame 20 { stop(); } } movieClip 1191 { frame 1 { stop(); this.gotoAndStop(_root.achieveiconnum); } } movieClip 1201 { frame 163 { stop(); } } movieClip 1208 { } movieClip 1209 { frame 7 { stop(); } } movieClip 1211 { frame 8 { stop(); } } button 1212 { on (release) { getURL('http://www.chris-jeff.com', '_blank'); } } movieClip 1214 { } movieClip 1215 { frame 7 { stop(); } } movieClip 1216 { frame 8 { stop(); } } button 1217 { on (release) { getURL('http://www.nch-productions.com/', '_blank'); } } movieClip 1218 { } button 1220 { on (release) { _root.mutethat(); gotoAndStop(2); } } button 1222 { on (release) { _root.unmutethat(); gotoAndStop(1); } } movieClip 1223 { frame 1 { stop(); } } movieClip 1226 { } movieClip 1227 { } movieClip 1230 { frame 1 { stop(); } } instance of movieClip 86 { onClipEvent (load) { this.gotoAndStop(1); if (_root.kongstuff == false) { this._visible = false; } } } instance of movieClip 98 { onClipEvent (load) { this.gotoAndStop(1); if (_root.kongstuff == false) { this._visible = false; } } } button 1232 { on (release) { getURL('http://armorgames.com', '_blank'); } } movieClip 1233 { } instance of movieClip 1233 { onClipEvent (load) { if (_root.otherbranding == false) { this._visible = false; } } } movieClip 1235 { } movieClip 1236 { frame 7 { stop(); } } movieClip 1241 { frame 12 { stop(); } } movieClip 1242 { frame 8 { stop(); } } button 1243 { on (release) { getURL('http://armorgames.com', '_blank'); } } movieClip 1244 { } instance of movieClip 1244 { onClipEvent (load) { if (_root.otherbranding == false) { this._visible = false; } } } frame 108 { _root.twflash = false; _root.fbflash = false; } instance of movieClip 86 { onClipEvent (load) { this.gotoAndStop(1); if (_root.kongstuff == false) { this._visible = false; } } } instance of movieClip 98 { onClipEvent (load) { this.gotoAndStop(1); if (_root.kongstuff == false) { this._visible = false; } } } frame 109 { function mutethat() { global.setVolume(0); } function unmutethat() { global.setVolume(100); } } instance of movieClip 1233 { onClipEvent (load) { if (_root.otherbranding == false) { this._visible = false; } } } instance of movieClip 1244 { onClipEvent (load) { if (_root.otherbranding == false) { this._visible = false; } } } instance of movieClip 86 { onClipEvent (load) { if (_root.kongstuff == false) { this._visible = false; } } } instance of movieClip 98 { onClipEvent (load) { if (_root.kongstuff == false) { this._visible = false; } } } movieClip 1247 { } movieClip 1258 { } movieClip 1260 { } movieClip 1262 { } movieClip 1263 { } button 1264 { on (release) { gotoAndPlay(249); } } movieClip 1273 { } movieClip 1275 { } movieClip 1283 { } movieClip 1284 { } movieClip 1288 { } movieClip 1290 { } movieClip 1300 { } movieClip 1304 { } movieClip 1306 { frame 1 { stop(); } } movieClip 1312 { frame 1 { stop(); } } movieClip 1314 { } movieClip 1316 { } movieClip 1317 { } movieClip 1320 { } movieClip 1321 { } movieClip 1322 { } movieClip 1328 { frame 105 { stop(); } instance of movieClip 1260 { onClipEvent (release) { _parent.play(); } } frame 126 { stop(); } instance of movieClip 1260 { onClipEvent (release) { _parent.play(); } } frame 150 { stop(); } instance of movieClip 1260 { onClipEvent (release) { _parent.play(); } } frame 172 { stop(); } instance of movieClip 1260 { onClipEvent (release) { _parent.play(); } } frame 196 { stop(); } instance of movieClip 1260 { onClipEvent (release) { _parent.play(); } } frame 217 { stop(); } instance of movieClip 1260 { onClipEvent (release) { _parent.play(); } } frame 236 { stop(); } instance of movieClip 1260 { onClipEvent (release) { _parent.play(); } } frame 288 { stop(); _root.tutorialseen = true; _root.enablecontrols(); _root.save(); _root.play(); } } instance tutorialshizz of movieClip 1328 { onClipEvent (load) { if (_root.tutorialseen == true) { this.gotoAndStop(1); } if (_root.tutorialseen == false) { _root.disablecontrols(); _root.stop(); } } } frame 154 { _root.currentroom = 'main'; } frame 154 { function shieldsoff() { if (_root.shieldsoffnow == false) { _root.mcPLAYER.shieldy.gotoAndStop(4); _root.hurt = false; _root.shieldactivated = false; _root.shieldsoffnow = true; } } function convert(radians) { degrees = radians * 57.29577951308232; return degrees; } function raritystarupdate() { if (_root.rarityvalue <= 32) { _root.raritystar = 1; } else { if (_root.rarityvalue >= 33 and _root.rarityvalue <= 56) { _root.raritystar = 2; } else { if (_root.rarityvalue >= 57 and _root.rarityvalue <= 80) { _root.raritystar = 3; } else { if (_root.rarityvalue >= 81 and _root.rarityvalue <= 104) { _root.raritystar = 4; } else { if (_root.rarityvalue >= 82 and _root.rarityvalue <= 116) { _root.raritystar = 5; } } } } } } function disablecontrols() { _root.JUMPKEY = 'notinuse'; _root.CROUCHKEY = 'notinuse'; _root.RUNLEFTKEY = 'notinuse'; _root.RUNRIGHTKEY = 'notinuse'; _root.OPENDOORKEY = 'notinuse'; } function enablecontrols() { _root.JUMPKEY = _root.newJUMPKEY; _root.CROUCHKEY = _root.newCROUCHKEY; _root.RUNLEFTKEY = _root.newRUNLEFTKEY; _root.RUNRIGHTKEY = _root.newRUNRIGHTKEY; _root.OPENDOORKEY = _root.newOPENDOORKEY; } function rarityupdate() { _root.rarityvalue = bothead + botarm + botbody + botleg; } function randombot() { _root.bothead = Math.round(Math.random() * 28) + 1; _root.botarm = Math.round(Math.random() * 28) + 1; _root.botleg = Math.round(Math.random() * 28) + 1; _root.botbody = Math.round(Math.random() * 28) + 1; _root.mcPLAYER.play(); screen.hallplayer.play(); _root.headgui.gotoAndPlay(1); randomsetbot(); rarityupdate(); raritystarupdate(); resetbotstats(); } function resetbotstats() { _root.bottime = 0; _root.botexp = 0; _root.botlvl = 0; _root.dmgtaken = 0; _root.cogscollected = 0; _root.bottime1 = 0; } function randomsetbot() { _root.randomset = Math.round(Math.random() * 24) + 1; if (_root.randomset == 10) { _root.botarm = _root.bothead; _root.botleg = _root.bothead; _root.botbody = _root.bothead; _root.mcPLAYER.play(); } } function save1bot() { _root.botsarchived += 1; s1bothead = _root.bothead; s1botarm = _root.botarm; s1botbody = _root.botbody; s1botleg = _root.botleg; s1randomset = _root.randomset; s1raritystar = _root.raritystar; s1rarityvalue = _root.rarityvalue; s1playtime = _root.hmsbottime; s1exp = _root.botexp; s1botlvl = _root.botlvl; s1dmgtaken = _root.dmgtaken; s1cogscollected = _root.cogscollected; } function save2bot() { _root.botsarchived += 1; s2bothead = _root.bothead; s2botarm = _root.botarm; s2botbody = _root.botbody; s2botleg = _root.botleg; s2randomset = _root.randomset; s2raritystar = _root.raritystar; s2rarityvalue = _root.rarityvalue; s2playtime = _root.hmsbottime; s2exp = _root.botexp; s2botlvl = _root.botlvl; s2dmgtaken = _root.dmgtaken; s2cogscollected = _root.cogscollected; } function save3bot() { _root.botsarchived += 1; s3bothead = _root.bothead; s3botarm = _root.botarm; s3botbody = _root.botbody; s3botleg = _root.botleg; s3randomset = _root.randomset; s3raritystar = _root.raritystar; s3rarityvalue = _root.rarityvalue; s3playtime = _root.hmsbottime; s3exp = _root.botexp; s3botlvl = _root.botlvl; s3dmgtaken = _root.dmgtaken; s3cogscollected = _root.cogscollected; } function storebot1() { _root.botheadt = _root.s1bothead; _root.botarmt = _root.s1botarm; _root.botbodyt = _root.s1botbody; _root.botlegt = _root.s1botleg; _root.randomsett = _root.s1randomset; _root.raritystart = _root.s1raritystar; _root.rarityvaluet = _root.s1rarityvalue; _root.bottime1t = _root.s1playtime; _root.botexpt = _root.s1exp; _root.botlvlt = _root.s1botlvl; _root.dmgtakent = _root.s1dmgtaken; _root.cogscollectedt = _root.s1cogscollected; } function storebot2() { _root.botheadt = _root.s2bothead; _root.botarmt = _root.s2botarm; _root.botbodyt = _root.s2botbody; _root.botlegt = _root.s2botleg; _root.randomsett = _root.s2randomset; _root.raritystart = _root.s2raritystar; _root.rarityvaluet = _root.s2rarityvalue; _root.bottime1t = _root.s2playtime; _root.botexpt = _root.s2exp; _root.botlvlt = _root.s2botlvl; _root.dmgtakent = _root.s2dmgtaken; _root.cogscollectedt = _root.s2cogscollected; } function storebot3() { _root.botheadt = _root.s3bothead; _root.botarmt = _root.s3botarm; _root.botbodyt = _root.s3botbody; _root.botlegt = _root.s3botleg; _root.randomsett = _root.s3randomset; _root.raritystart = _root.s3raritystar; _root.rarityvaluet = _root.s3rarityvalue; _root.bottime1t = _root.s3playtime; _root.botexpt = _root.s3exp; _root.botlvlt = _root.s3botlvl; _root.dmgtakent = _root.s3dmgtaken; _root.cogscollectedt = _root.s3cogscollected; } function swapbot1() { _root.bothead = _root.botheadt; _root.botarm = _root.botarmt; _root.botbody = _root.botbodyt; _root.botleg = _root.botlegt; _root.randomset = _root.randomsett; _root.raritystar = _root.raritystart; _root.rarityvalue = _root.rarityvaluet; _root.bottime1 = tc.timecodeToSeconds(_root.bottime1t); _root.botexp = _root.botexpt; _root.botlvl = _root.botlvlt; _root.dmgtaken = _root.dmgtakent; _root.cogscollected = _root.cogscollectedt; } function hitplatform() { _root.disablecontrols(); _root.mcPLAYER.XMOVEMENT = 0; _root.selectedsave = 1; _root.savingbay1.play(); } function hitplatform2() { _root.disablecontrols(); _root.mcPLAYER.XMOVEMENT = 0; _root.selectedsave = 2; _root.savingbay2.play(); } function hitplatform3() { _root.disablecontrols(); _root.mcPLAYER.XMOVEMENT = 0; _root.selectedsave = 3; _root.savingbay3.play(); } function swapdepthsstuff() { _root.savingbay.telepad.swapDepths(-100); _root.savingbay1.swapDepths(-100); } function platbotinvisible() { _root.mcPLAYER._visible = false; } function showbotagain() { _root.enablecontrols(); randombot(); _root.mcPLAYER.gotoAndStop(7); _root.mcPLAYER._visible = true; _root.save1used = true; _root.mcPLAYER.YMOVEMENT = 0; _root.mcPLAYER.XMOVEMENT = 0; } function showbotagain2() { _root.enablecontrols(); randombot(); _root.mcPLAYER.gotoAndStop(7); _root.mcPLAYER._visible = true; _root.save2used = true; _root.mcPLAYER.YMOVEMENT = 0; _root.mcPLAYER.XMOVEMENT = 0; } function showbotagain3() { _root.enablecontrols(); randombot(); _root.mcPLAYER.gotoAndStop(7); _root.mcPLAYER._visible = true; _root.save3used = true; _root.mcPLAYER.YMOVEMENT = 0; _root.mcPLAYER.XMOVEMENT = 0; } function showbotagainp() { _root.enablecontrols(); _root.mcPLAYER.gotoAndStop(7); _root.mcPLAYER._visible = true; _root.save1used = true; _root.mcPLAYER.YMOVEMENT = 0; _root.mcPLAYER.XMOVEMENT = 0; } function showbotagainp2() { _root.enablecontrols(); _root.mcPLAYER.gotoAndStop(7); _root.mcPLAYER._visible = true; _root.save2used = true; _root.mcPLAYER.YMOVEMENT = 0; _root.mcPLAYER.XMOVEMENT = 0; } function showbotagainp3() { _root.enablecontrols(); _root.mcPLAYER.gotoAndStop(7); _root.mcPLAYER._visible = true; _root.save3used = true; _root.mcPLAYER.YMOVEMENT = 0; _root.mcPLAYER.XMOVEMENT = 0; } function onbuttonshow() { _root.hallmessages.gotoAndPlay(6); } function notonbutton() { _root.hallmessages.gotoAndStop(5); } function onbuttonshow2() { _root.hallmessages.gotoAndPlay(6); } function notonbutton2() { _root.hallmessages.gotoAndStop(5); } function onbuttonshow3() { _root.hallmessages.gotoAndPlay(6); } function notonbutton3() { _root.hallmessages.gotoAndStop(5); } function onbuttonshowpurge() { _root.hallmessages.gotoAndPlay(132); } function onbuttonshowpurge2() { _root.hallmessages.gotoAndPlay(132); } function onbuttonshowpurge3() { _root.hallmessages.gotoAndPlay(132); } function notonbuttonpurge() { _root.hallmessages.gotoAndStop(5); } function notonbuttonpurge2() { _root.hallmessages.gotoAndStop(5); } function notonbuttonpurge3() { _root.hallmessages.gotoAndStop(5); } function hitplatformpurge() { _root.disablecontrols(); _root.mcPLAYER.XMOVEMENT = 0; _root.selectedsave = 1; _root.savingbay1.gotoAndPlay(74); } function hitplatformpurge2() { _root.disablecontrols(); _root.mcPLAYER.XMOVEMENT = 0; _root.selectedsave = 2; _root.savingbay2.gotoAndPlay(74); } function hitplatformpurge3() { _root.disablecontrols(); _root.mcPLAYER.XMOVEMENT = 0; _root.selectedsave = 3; _root.savingbay3.gotoAndPlay(74); } function botlvlupdater() { if (_root.botexp >= 0) { _root.botlvl = 0; } if (_root.botexp >= botlvl1expneeded) { _root.botlvl = 1; } if (_root.botexp >= botlvl2expneeded) { _root.botlvl = 2; } if (_root.botexp >= botlvl3expneeded) { _root.botlvl = 3; } if (_root.botexp >= botlvl4expneeded) { _root.botlvl = 4; } if (_root.botexp >= botlvl5expneeded) { _root.botlvl = 5; } if (_root.botexp >= botlvl6expneeded) { _root.botlvl = 6; } if (_root.botexp >= botlvl7expneeded) { _root.botlvl = 7; } if (_root.botexp >= botlvl8expneeded) { _root.botlvl = 8; } if (_root.botexp >= botlvl9expneeded) { _root.botlvl = 9; } if (_root.botexp >= botlvl10expneeded) { _root.botlvl = 10; } _root.botlvlachchecker(); } function expneededcalc() { if (_root.botlvl == 0) { _root.expnextlvl = botlvl1expneeded - botexp; } if (_root.botlvl == 1) { _root.expnextlvl = botlvl2expneeded - botexp; } if (_root.botlvl == 2) { _root.expnextlvl = botlvl3expneeded - botexp; } if (_root.botlvl == 3) { _root.expnextlvl = botlvl4expneeded - botexp; } if (_root.botlvl == 4) { _root.expnextlvl = botlvl5expneeded - botexp; } if (_root.botlvl == 5) { _root.expnextlvl = botlvl6expneeded - botexp; } if (_root.botlvl == 6) { _root.expnextlvl = botlvl7expneeded - botexp; } if (_root.botlvl == 7) { _root.expnextlvl = botlvl8expneeded - botexp; } if (_root.botlvl == 8) { _root.expnextlvl = botlvl9expneeded - botexp; } if (_root.botlvl == 9) { _root.expnextlvl = botlvl10expneeded - botexp; } if (_root.botlvl == 10) { _root.expnextlvl = 0; } } function buyeffects() { if (_root.lockeff == false) { _root.lockeff = true; } _root.buyingfx.gotoAndPlay(2); _root.hunlock.gotoAndPlay(2); _root.itemsbgt += 1; _root.itemsboughtcheck(); } function buyeffects2() { if (_root.lockeff == false) { _root.lockeff = true; } _root.buyingfx.gotoAndPlay(2); _root.aunlock.gotoAndPlay(2); _root.itemsbgt += 1; _root.itemsboughtcheck(); } function buyeffects3() { if (_root.lockeff == false) { _root.lockeff = true; } _root.buyingfx.gotoAndPlay(2); _root.bunlock.gotoAndPlay(2); _root.itemsbgt += 1; _root.itemsboughtcheck(); } function buyeffects4() { if (_root.lockeff == false) { _root.lockeff = true; } _root.buyingfx.gotoAndPlay(2); _root.lunlock.gotoAndPlay(2); _root.itemsbgt += 1; _root.itemsboughtcheck(); } function customup() { _root.customscreen.botflash.gotoAndPlay(2); _root.customscreen.hallplayer.play(); _root.rarityupdate(); _root.raritystarupdate(); _root.raritystar = 'custom'; _root.achieve23get(); _root.applyfx.gotoAndPlay(2); _root.mcPLAYER.gotoAndPlay(1); } _root.hurt = false; _root.shieldactivated = false; _root.mcPLAYER.shieldy.gotoAndStop(1); _root.mcPLAYER._x = _global.PLAYERX; _root.mcPLAYER._y = _global.PLAYERY; _root.mcPLAYER.YMOVEMENT = 0; _root.mcPLAYER.XMOVEMENT = 0; _root.mcPLAYER.JUMPPOWER = 15; _root.mcPLAYER.GROUNDED = false; _root.mcPLAYER.FALLING = false; _root.mcPLAYER.GRAVITY = 1.2; _root.mcPLAYER.INVERSEGRAVITY = 0.8; _root.mcPLAYER.DIRECTION = 'R'; _root.SHIELDKEY = _root.newSHIELDKEY; _root.JUMPKEY = _root.newJUMPKEY; _root.CROUCHKEY = _root.newCROUCHKEY; _root.RUNLEFTKEY = _root.newRUNLEFTKEY; _root.RUNRIGHTKEY = _root.newRUNRIGHTKEY; _root.OPENDOORKEY = _root.newOPENDOORKEY; _root.mcPLAYER.enterdoor = false; _root.currentroom = 'not set'; a = 1; while (a <= 50) { _root['mcWALL' + a]._visible = true; _root['mcCEILING' + a]._visible = true; _root['mcPLATFORM' + a]._visible = true; ++a; } var shieldsoffnow = false; var shieldson = false; onEnterFrame = function () { if (Key.isDown(_root.SHIELDKEY)) { if (_root.stamina < 1) { _root.shieldsoff(); } if (_root.stamina > 0) { if (_root.stamout == false) { _root.shieldson = true; root.invincibleplayer.gotoAndStop(1); _root.hbar.gotoAndStop(1); } _root.mcPLAYER.shieldy.gotoAndStop(2); _root.hurt = true; _root.shieldactivated = true; if (_root.stamina > 0) { if (_root.shieldactivated == true) { _root.stamina -= 0.1; } } } } if (!Key.isDown(_root.SHIELDKEY)) { if (_root.shieldactivated == true) { _root.mcPLAYER.shieldy.gotoAndStop(4); _root.hurt = false; _root.shieldactivated = false; } } if (Key.isDown(_root.JUMPKEY)) { if (_root.mcPLAYER.GROUNDED == true) { _root.mcPLAYER.GROUNDED = false; _root.mcPLAYER.YMOVEMENT = -_root.mcPLAYER.JUMPPOWER; _root.mcPLAYER.FALLING = false; } } if (_root.mcPLAYER.GROUNDED == false) { if (_root.mcPLAYER.FALLING == false) { _root.mcPLAYER.YMOVEMENT *= _root.mcPLAYER.INVERSEGRAVITY; } else { _root.mcPLAYER.YMOVEMENT *= _root.mcPLAYER.GRAVITY; } if (_root.mcPLAYER.YMOVEMENT > -1) { if (_root.mcPLAYER.FALLING == false) { _root.mcPLAYER.FALLING = true; _root.mcPLAYER.YMOVEMENT = 1; } } } _root.mcPLAYER.XMOVEMENT *= 0.9; tempX = _root.mcPLAYER._x; tempY = _root.mcPLAYER._y; _root.mcPLAYER._y += _root.mcPLAYER.YMOVEMENT; _root.mcPLAYER._x += _root.mcPLAYER.XMOVEMENT; a = 1; while (a <= 50) { if (_root.mcPLAYER.mcCOLLIDER.hitTest(_root['mcWALL' + a]) == true) { _root.mcPLAYER._x = tempX; _root.mcPLAYER.XMOVEMENT = 0; } ++a; } a = 1; while (a <= 50) { if (_root.mcPLAYER.mcCOLLIDER.hitTest(_root['mcCEILING' + a]) == true) { if (_root.mcPLAYER.FALLING == false) { _root.mcPLAYER._y = tempY; _root.mcPLAYER.YMOVEMENT = 2; _root.mcPLAYER.FALLING = true; } } ++a; } a = 1; while (a <= 50) { if (_root.mcPLAYER.mcCOLLIDER.hitTest(_root['mcPLATFORM' + a]) == true) { if (_root.mcPLAYER.FALLING == true) { _root.mcPLAYER.YMOVEMENT = 0; _root.mcPLAYER._y = _root['mcPLATFORM' + a]._y; _root.mcPLAYER.GROUNDED = true; } } ++a; } if (_root.mcPLAYER.GROUNDED == true) { nohit = false; a = 1; while (a <= 50) { _root.mcPLAYER._y += 2; if (_root.mcPLAYER.mcCOLLIDER.hitTest(_root['mcPLATFORM' + a]) == true) { nohit = true; } _root.mcPLAYER._y -= 2; ++a; } if (nohit == false) { _root.mcPLAYER.YMOVEMENT = 1; _root.mcPLAYER.GROUNDED = false; } } if (_root.mcPLAYER.GROUNDED == true) { if (_root.mcPLAYER.XMOVEMENT < 0.3 and _root.mcPLAYER.XMOVEMENT > -0.3) { if (_root.mcPLAYER.DIRECTION == 'R') { _root.mcPLAYER.gotoAndStop(1); } else { _root.mcPLAYER.gotoAndStop(2); } } else { if (_root.mcPLAYER.DIRECTION == 'R') { _root.mcPLAYER.gotoAndStop(3); } else { _root.mcPLAYER.gotoAndStop(4); } } } else { if (_root.mcPLAYER.DIRECTION == 'R') { if (_root.mcPLAYER.FALLING == false) { _root.mcPLAYER.gotoAndStop(5); } else { _root.mcPLAYER.gotoAndStop(6); } } else { if (_root.mcPLAYER.DIRECTION == 'L') { if (_root.mcPLAYER.FALLING == false) { _root.mcPLAYER.gotoAndStop(12); } else { _root.mcPLAYER.gotoAndStop(13); } } } } if (_root.mcPLAYER.XMOVEMENT < 0.3 and _root.mcPLAYER.XMOVEMENT > -0.3) { if (Key.isDown(_root.CROUCHKEY)) { if (_root.mcPLAYER.GROUNDED == true) { if (_root.mcPLAYER.DIRECTION == 'R') { _root.mcPLAYER.gotoAndStop(10); } else { if (_root.mcPLAYER.DIRECTION == 'L') { _root.mcPLAYER.gotoAndStop(11); } } } } } if (Key.isDown(_root.CROUCHKEY)) { if (_root.mcPLAYER.GROUNDED == true) { if (_root.mcPLAYER.DIRECTION == 'R') { if (_root.mcPLAYER.XMOVEMENT > 0.3) { _root.mcPLAYER.gotoAndStop(8); } } else { if (_root.mcPLAYER.DIRECTION == 'L') { if (_root.mcPLAYER.XMOVEMENT < -0.3) { _root.mcPLAYER.gotoAndStop(9); } } } } } else { if (Key.isDown(_root.RUNRIGHTKEY)) { _root.mcPLAYER.XMOVEMENT += 1; _root.mcPLAYER.DIRECTION = 'R'; } if (Key.isDown(_root.RUNLEFTKEY)) { _root.mcPLAYER.XMOVEMENT -= 1; _root.mcPLAYER.DIRECTION = 'L'; } } }; gun.onEnterFrame = function () { var v3 = this._x - _root.mcPLAYER._x; var v4 = this._y - _root.mcPLAYER._y; var v5 = Math.atan2(v4, v3); gun.shoot._rotation = convert(v5); }; if (_root.raritystar !== 'custom') { rarityupdate(); raritystarupdate(); } var onbutton = false; var onbutton2 = false; var onbutton3 = false; var onbuttonpurge1 = false; var onbuttonpurge2 = false; var onbuttonpurge3 = false; botlvl1expneeded = 50; botlvl2expneeded = 100; botlvl3expneeded = 200; botlvl4expneeded = 350; botlvl5expneeded = 500; botlvl6expneeded = 700; botlvl7expneeded = 950; botlvl8expneeded = 1300; botlvl9expneeded = 1700; botlvl10expneeded = 2500; var expnextlvl = 100; _root.botlvlupdater(); _root.expneededcalc(); var htier1price = 70; var htier2price = 90; var htier3price = 110; var htier4price = 130; var atier1price = 60; var atier2price = 80; var atier3price = 100; var atier4price = 120; var btier1price = 80; var btier2price = 100; var btier3price = 120; var btier4price = 140; var ltier1price = 60; var ltier2price = 80; var ltier3price = 100; var ltier4price = 120; var expprice = 20; var secretcome = false; } movieClip 1331 { } movieClip 1332 { } movieClip 1338 { } movieClip 1341 { } movieClip 1342 { frame 4 { stop(); } } movieClip 1343 { frame 1 { _root.hurt = true; } frame 3 { _root.shieldson = false; if (_root.health > 0) { _root.hurt = false; } } frame 9 { stop(); } } movieClip 1344 { } movieClip 1345 { } movieClip 1346 { } movieClip 1347 { } movieClip 1348 { } movieClip 1349 { } movieClip 1350 { } movieClip 1351 { } movieClip 1352 { } movieClip 1353 { } movieClip 1354 { } movieClip 1355 { } movieClip 1356 { } movieClip 1357 { } movieClip 1358 { } movieClip 1359 { } movieClip 1360 { frame 1 { stop(); } frame 1 { mcCOLLIDER._visible = false; } } frame 229 { _root.consoleinstructions = false; } movieClip 1379 { frame 12 { function tipselect() { tipnum = Math.round(Math.random() * 18) + 1; tipnumber1 = 'Keep an eye out for the warning lights for stompers and large laser blasts.'; tipnumber2 = 'If you like your Platbot, put him in the Hall of Fame and save him!'; tipnumber3 = 'You can quit the test arena at anytime by going out the door, your Platbot will survive.'; tipnumber4 = 'Have you checked out the Achievement screen? Mmmm Achievements!'; tipnumber5 = 'Exclusive Platbots are very rare. Don\'t kill them please!'; tipnumber6 = 'Wonder how many times you\'ve been stomped? Check out the Stats screen!'; tipnumber7 = 'Don\'t forget to use your shield. It will save you a lot! Duh.'; tipnumber8 = 'There is more than one intro animation. Check them out!'; tipnumber9 = 'Lasers shoot a thin tracker before the actual beam, this doesn\'t hurt you either!'; tipnumber10 = 'You get 1xp for every 10 seconds you\'re in the arena.'; tipnumber11 = 'You get 1 cog to spend and 0.5xp for every Golden Cog you pick up!'; tipnumber12 = 'You have a 1/25 chance of an exclusive bot!'; tipnumber13 = 'If you complete a song, then escape. You will enter at the next song!'; tipnumber14 = 'Escaping too much may affect your ranking. Try not to escape too much to reach higher ranks!'; tipnumber15 = 'If you really need to go, just take a break and escape the arena by pressing Q at the doorway!'; tipnumber16 = 'Your data will be saved automatically when entering new rooms!'; tipnumber17 = 'Your data will be saved automatically actively whilst in the Arena too!'; tipnumber18 = 'Did you know there are 7 intro\'s in total?! They load randomly when you play the game!'; tipnumber19 = 'Did you know that when you leave the Arena, your health and shield regenerate?'; if (tipnum == 1) { _root.tipvar = tipnumber1; } if (tipnum == 2) { _root.tipvar = tipnumber2; } if (tipnum == 3) { _root.tipvar = tipnumber3; } if (tipnum == 4) { _root.tipvar = tipnumber4; } if (tipnum == 5) { _root.tipvar = tipnumber5; } if (tipnum == 6) { _root.tipvar = tipnumber6; } if (tipnum == 7) { _root.tipvar = tipnumber7; } if (tipnum == 8) { _root.tipvar = tipnumber8; } if (tipnum == 9) { _root.tipvar = tipnumber9; } if (tipnum == 10) { _root.tipvar = tipnumber10; } if (tipnum == 11) { _root.tipvar = tipnumber12; } if (tipnum == 12) { _root.tipvar = tipnumber12; } if (tipnum == 13) { _root.tipvar = tipnumber13; } if (tipnum == 14) { _root.tipvar = tipnumber14; } if (tipnum == 15) { _root.tipvar = tipnumber15; } if (tipnum == 16) { _root.tipvar = tipnumber16; } if (tipnum == 17) { _root.tipvar = tipnumber17; } if (tipnum == 18) { _root.tipvar = tipnumber18; } if (tipnum == 19) { _root.tipvar = tipnumber19; } } tipselect(); } frame 44 { stop(); } } movieClip 1380 { frame 1 { if (_root.consoleinstructions == true) { gotoAndStop(73); } } frame 73 { stop(); _root.consoleinstructions = true; } } movieClip 1421 { frame 1 { if (_root.consoleinstructions == true) { gotoAndStop(71); } } frame 71 { stop(); _root.consoleinstructions = true; } frame 72 { if (_root.consoleinstructions == true) { gotoAndStop(142); } } frame 142 { stop(); _root.consoleinstructions = true; } } instance of movieClip 1421 { onClipEvent (load) { if (_root.controlscheme == 'arrow') { this.gotoAndPlay(1); } if (_root.controlscheme == 'wasd') { this.gotoAndPlay(72); } } } frame 272 { if (_root.completeyscreen == true) { _root.disablecontrols(); _root.mcPLAYER.YMOVEMENT = 0; _root.mcPLAYER.XMOVEMENT = 0; _root.sboard.gotoAndPlay(1); } _root.handy._visible = true; var twitURL = 'https://twitter.com/intent/tweet?text= I survived Platcore, however I destroyed ' + deathscurrent + ' Platbots doing so! Can you do better?! In Platcore by @ChrisJeffGames'; var fbURL = 'http://www.facebook.com/share.php?u=http://chris-jeff.com/games/platcore/'; if (_root.deathscurrent == 1) { var twitURL = 'https://twitter.com/intent/tweet?text= I survived Platcore, however I destroyed ' + deathscurrent + ' Platbot doing so! Can you do better?! In Platcore by @ChrisJeffGames'; } if (_root.deathscurrent !== 1) { var twitURL = 'https://twitter.com/intent/tweet?text= I survived Platcore, however I destroyed ' + deathscurrent + ' Platbots doing so! Can you do better?! In Platcore by @ChrisJeffGames'; } } frame 272 { stop(); if (_root.currentroom == 'ctrl') { _root.ctrlroom.gotoAndPlay(40); } else { if (_root.currentroom == 'hall') { _root.halloffame.gotoAndPlay(40); } else { if (_root.currentroom == 'arena') { _root.arenago.gotoAndPlay(22); } else { if (_root.currentroom == 'Lab') { _root.labdoor.gotoAndPlay(22); } } } } _root.currentroom = 'main'; _root.mcPLAYER._alpha = 100; _root.mcPLAYER._visible = 100; _root.botlvlupdater(); _root.expneededcalc(); root.confstopped = true; _root.mcPLAYER.shieldy.gotoAndStop(1); if (_root.ttlcogscollected > 299) { _root.achieve21get(); } _root.save(); } movieClip 1423 { } movieClip 1432 { } button 1435 { on (release) { getURL(_root.twitURL, '_blank'); } } movieClip 1437 { frame 32 { stop(); } } button 1438 { on (release) { getURL(_root.fbURL, '_blank'); } } movieClip 1440 { frame 32 { stop(); } } movieClip 1463 { frame 9 { _root.sboard.rankcalc(); } } movieClip 1465 { frame 1 { deathscurrent = _root.deathscurrent; _root.twitURL = 'https://twitter.com/intent/tweet?text= I survived Platcore, however I destroyed ' + deathscurrent + ' Platbots doing so! Can you do better?! In Platcore by @ChrisJeffGames'; _root.fbURL = 'http://www.facebook.com/share.php?u=http://chris-jeff.com/games/platcore/'; if (_root.deathscurrent == 1) { _root.twitURL = 'https://twitter.com/intent/tweet?text= I survived Platcore, however I destroyed ' + deathscurrent + ' Platbot doing so! Can you do better?! In Platcore by @ChrisJeffGames'; } if (_root.deathscurrent !== 1) { _root.twitURL = 'https://twitter.com/intent/tweet?text= I survived Platcore, however I destroyed ' + deathscurrent + ' Platbots doing so! Can you do better?! In Platcore by @ChrisJeffGames'; } } frame 55 { stop(); } } movieClip 1467 { frame 1 { if (_root.completeyscreen == false) { this.stop(); } } instance of movieClip 1432 { onClipEvent (release) { _root.sboard.gotoAndPlay(11); } } frame 10 { function rankcalc() { if (_root.rankpoint > 19) { _root.sboard.fancysco.ranking.gotoAndStop(8); } if (_root.rankpoint < 20) { _root.sboard.fancysco.ranking.gotoAndStop(7); } if (_root.rankpoint < 16) { _root.sboard.fancysco.ranking.gotoAndStop(6); } if (_root.rankpoint < 11) { _root.sboard.fancysco.ranking.gotoAndStop(5); } if (_root.rankpoint < 6) { _root.sboard.fancysco.ranking.gotoAndStop(4); } if (_root.rankpoint < 3) { _root.sboard.fancysco.ranking.gotoAndStop(3); } if (_root.rankpoint < 2) { _root.sboard.fancysco.ranking.gotoAndStop(2); } if (_root.rankpoint < 1) { _root.sboard.fancysco.ranking.gotoAndStop(1); } } cheese = false; stop(); } instance of movieClip 1432 { onClipEvent (release) { if (_root.sboard._currentframe == 10) { _root.sboard.gotoAndPlay(11); } } } frame 17 { _root.enablecontrols(); _root.mcPLAYER.YMOVEMENT = 0; _root.mcPLAYER.XMOVEMENT = 0; _root.cogscollcurrent = 0; _root.completeyscreen = false; _root.escapescurrent = 0; _root.deathscurrent = 0; _root.rankpoint = 0; _root.save(); _root.gotoAndPlay(27); } } frame 273 { function achievementshow() { _root.screen.gotoAndPlay(99); } function statshow() { _root.screen.gotoAndPlay(58); } function profshow() { _root.screen.gotoAndPlay(354); } function resetshow() { _root.screen.gotoAndPlay(142); } function cancelreset() { _root.screen.gotoAndPlay(197); } function goreset() { _root.screen.gotoAndPlay(227); _root.ttlstomped = 0; _root.botsarchived = 0; _root.ttltestpass = 0; _root.bosssurv = 0; _root.ttlcogscollected = 0; _root.ttlexp = 0; _root.ttldmgtaken = 0; _root.ttldeaths = 0; _root.hmstime = 0; _root.time1 = 0; _root.escptimes = 0; _root.whichlevel = 1; _root.itemsbgt = 0; _root.rankpoint = 0; _root.botlvl = 0; _root.botexp = 0; _root.dmgtaken = 0; _root.hmsbottime = 0; _root.bottime1 = 0; _root.cogscollec; _root.intro1watched = false; _root.intro2watched = false; _root.intro3watched = false; _root.intro4watched = false; _root.intro5watched = false; _root.intro6watched = false; _root.intro7watched = false; achieve1 = false; achieve2 = false; achieve3 = false; achieve4 = false; achieve5 = false; achieve6 = false; achieve7 = false; achieve8 = false; achieve9 = false; achieve10 = false; achieve11 = false; achieve12 = false; achieve13 = false; achieve14 = false; achieve15 = false; achieve16 = false; achieve17 = false; achieve18 = false; achieve19 = false; achieve20 = false; achieve21 = false; achieve22 = false; achieve23 = false; achieve24 = false; _root.lbought1 = false; _root.lbought2 = false; _root.lbought3 = false; _root.lbought4 = false; _root.lbought5 = false; _root.lbought6 = false; _root.lbought7 = false; _root.lbought8 = false; _root.lbought9 = false; _root.lbought10 = false; _root.lbought11 = false; _root.lbought12 = false; _root.lbought13 = false; _root.lbought14 = false; _root.lbought15 = false; _root.lbought16 = false; _root.lbought17 = false; _root.lbought18 = false; _root.lbought19 = false; _root.lbought20 = false; _root.lbought21 = false; _root.lbought22 = false; _root.lbought23 = false; _root.lbought24 = false; _root.lbought25 = false; _root.lbought26 = false; _root.lbought27 = false; _root.lbought28 = false; _root.lbought29 = false; _root.bbought1 = false; _root.bbought2 = false; _root.bbought3 = false; _root.bbought4 = false; _root.bbought5 = false; _root.bbought6 = false; _root.bbought7 = false; _root.bbought8 = false; _root.bbought9 = false; _root.bbought10 = false; _root.bbought11 = false; _root.bbought12 = false; _root.bbought13 = false; _root.bbought14 = false; _root.bbought15 = false; _root.bbought16 = false; _root.bbought17 = false; _root.bbought18 = false; _root.bbought19 = false; _root.bbought20 = false; _root.bbought21 = false; _root.bbought22 = false; _root.bbought23 = false; _root.bbought24 = false; _root.bbought25 = false; _root.bbought26 = false; _root.bbought27 = false; _root.bbought28 = false; _root.bbought29 = false; _root.abought1 = false; _root.abought2 = false; _root.abought3 = false; _root.abought4 = false; _root.abought5 = false; _root.abought6 = false; _root.abought7 = false; _root.abought8 = false; _root.abought9 = false; _root.abought10 = false; _root.abought11 = false; _root.abought12 = false; _root.abought13 = false; _root.abought14 = false; _root.abought15 = false; _root.abought16 = false; _root.abought17 = false; _root.abought18 = false; _root.abought19 = false; _root.abought20 = false; _root.abought21 = false; _root.abought22 = false; _root.abought23 = false; _root.abought24 = false; _root.abought25 = false; _root.abought26 = false; _root.abought27 = false; _root.abought28 = false; _root.abought29 = false; _root.h1bought = false; _root.h2bought = false; _root.h3bought = false; _root.h4bought = false; _root.h5bought = false; _root.h6bought = false; _root.h7bought = false; _root.h8bought = false; _root.h9bought = false; _root.h10bought = false; _root.h11bought = false; _root.h12bought = false; _root.h13bought = false; _root.h14bought = false; _root.h15bought = false; _root.h16bought = false; _root.h17bought = false; _root.h18bought = false; _root.h19bought = false; _root.h20bought = false; _root.h21bought = false; _root.h22bought = false; _root.h23bought = false; _root.h24bought = false; _root.h25bought = false; _root.h26bought = false; _root.h27bought = false; _root.h28bought = false; _root.h29bought = false; _root.cogcoin = 0; _root.disablecontrols(); _root.mcPLAYER.XMOVEMENT = 0; } stop(); var resetting = false; var achpress = false; var statpress = false; var profpress = false; _root.currentroom = 'ctrl'; _root.botlvlupdater(); _root.expneededcalc(); _root.consoleinstructions = true; } movieClip 1469 { } movieClip 1474 { frame 69 { _root.mcPLAYER.enterdoor = false; stop(); } } movieClip 1479 { } movieClip 1480 { } movieClip 1484 { } movieClip 1488 { } movieClip 1490 { frame 1 { stop(); } instance of movieClip 1484 { onClipEvent (enterFrame) { if (_root.resetting == false) { if (_root.statpress == false) { _root.statpress == true; if (this.hitTest(_root.mcPLAYER)) { _root.statshow(); _root.achbut.achred.gotoAndStop(1); _root.achpress == false; _root.profbut.profred.gotoAndStop(1); _root.profpress == false; _root.statbut.statred.play(); } } } } } frame 7 { stop(); } } movieClip 1495 { } movieClip 1496 { } movieClip 1497 { } movieClip 1498 { } movieClip 1499 { frame 1 { stop(); } instance of movieClip 1497 { onClipEvent (enterFrame) { if (_root.resetting == false) { if (this.hitTest(_root.mcPLAYER)) { _root.resetshow(); _root.statpress == false; _root.achpress == false; _root.statbut.statred.gotoAndStop(1); _root.achbut.achred.gotoAndStop(1); _root.profbut.profred.gotoAndStop(1); _root.profpress == false; _root.resetbut.resetred.play(); } } } } frame 7 { stop(); } instance of movieClip 1498 { onClipEvent (enterFrame) { if (_root.resetting == false) { if (this.hitTest(_root.mcPLAYER)) { } else { _root.screen.gotoAndPlay(327); _root.resetbut.resetred.play(); } } } } } movieClip 1500 { } movieClip 1501 { frame 1 { stop(); } instance of movieClip 1484 { onClipEvent (enterFrame) { if (_root.resetting == false) { if (_root.achpress == false) { _root.achpress == true; if (this.hitTest(_root.mcPLAYER)) { _root.achievementshow(); _root.statbut.statred.gotoAndStop(1); _root.statpress == false; _root.profbut.profred.gotoAndStop(1); _root.profpress == false; _root.achbut.achred.play(); } } } } } frame 7 { stop(); } } movieClip 1502 { } movieClip 1503 { } movieClip 1504 { frame 1 { stop(); } instance of movieClip 1503 { onClipEvent (enterFrame) { if (_root.resetting == false) { if (_root.profpress == false) { _root.profpress == true; if (this.hitTest(_root.mcPLAYER)) { _root.profshow(); _root.achbut.achred.gotoAndStop(1); _root.achpress == false; _root.statbut.statred.gotoAndStop(1); _root.statpress == false; _root.profbut.profred.play(); } } } } } frame 7 { stop(); } } movieClip 1505 { } movieClip 1512 { frame 2 { gotoAndPlay(40); } frame 39 { _root.mcPLAYER._alpha = 100; _root.mcPLAYER.enterdoor = false; _global.ctrlroom.play(); _root.gotoAndStop(246); stop(); } frame 56 { _root.mcPLAYER.enterdoor = false; stop(); } } instance of movieClip 1512 { onClipEvent (enterFrame) { if (_root.mcPLAYER.enterdoor == false) { if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) { if (Key.isDown(32)) { _root.mcPLAYER.enterdoor = true; _root.mcPLAYER._x = 193; _root.mcPLAYER._y = 419.95; _root.save(); _root.gotoAndStop('mainroom'); } } } } } movieClip 1517 { } movieClip 1520 { } movieClip 1521 { } movieClip 1558 { frame 1 { stop(); } } movieClip 1559 { frame 1 { stop(); } } movieClip 1563 { } movieClip 1565 { frame 1 { stop(); } } button 1566 { on (release) { _root.screen.gotoAndStop(141); } } button 1568 { on (release) { _root.screen.gotoAndStop(140); if (_root.achieve1 == true) { _root.screen.achievestat1.gotoAndStop(2); } if (_root.achieve2 == true) { _root.screen.achievestat2.gotoAndStop(3); } if (_root.achieve3 == true) { _root.screen.achievestat3.gotoAndStop(4); } if (_root.achieve4 == true) { _root.screen.achievestat4.gotoAndStop(5); } if (_root.achieve5 == true) { _root.screen.achievestat5.gotoAndStop(6); } if (_root.achieve6 == true) { _root.screen.achievestat6.gotoAndStop(7); } if (_root.achieve7 == true) { _root.screen.achievestat7.gotoAndStop(8); } if (_root.achieve8 == true) { _root.screen.achievestat8.gotoAndStop(9); } if (_root.achieve9 == true) { _root.screen.achievestat9.gotoAndStop(10); } if (_root.achieve10 == true) { _root.screen.achievestat10.gotoAndStop(11); } if (_root.achieve11 == true) { _root.screen.achievestat11.gotoAndStop(12); } if (_root.achieve12 == true) { _root.screen.achievestat12.gotoAndStop(13); } if (_root.achieve13 == true) { _root.screen.achievestat13.gotoAndStop(14); } if (_root.achieve14 == true) { _root.screen.achievestat14.gotoAndStop(15); } if (_root.achieve15 == true) { _root.screen.achievestat15.gotoAndStop(16); } if (_root.achieve16 == true) { _root.screen.achievestat16.gotoAndStop(17); } if (_root.achieve17 == true) { _root.screen.achievestat17.gotoAndStop(18); } if (_root.achieve18 == true) { _root.screen.achievestat18.gotoAndStop(19); } if (_root.achieve19 == true) { _root.screen.achievestat19.gotoAndStop(20); } if (_root.achieve20 == true) { _root.screen.achievestat20.gotoAndStop(21); } if (_root.achieve21 == true) { _root.screen.achievestat21.gotoAndStop(22); } if (_root.achieve22 == true) { _root.screen.achievestat22.gotoAndStop(23); } if (_root.achieve23 == true) { _root.screen.achievestat23.gotoAndStop(24); } if (_root.achieve24 == true) { _root.screen.achievestat24.gotoAndStop(25); } } } movieClip 1571 { } movieClip 1572 { } movieClip 1574 { frame 17 { stop(); } } // unknown tag 88 length 66 button 1589 { on (release) { _root.goreset(); } } button 1590 { on (release) { _root.cancelreset(); } } movieClip 1599 { } movieClip 1617 { } movieClip 1644 { frame 1 { this.gotoAndStop(_root.botarm); } frame 1 { stop(); } } movieClip 1666 { frame 1 { this.gotoAndStop(_root.botleg); } frame 1 { stop(); } } movieClip 1693 { frame 1 { this.gotoAndStop(_root.botbody); } frame 1 { stop(); } } movieClip 1720 { frame 1 { this.gotoAndStop(_root.bothead); } frame 1 { stop(); } } movieClip 1721 { } movieClip 1722 { frame 1 { stop(); } frame 1 { mcCOLLIDER._visible = false; } } movieClip 1738 { frame 1 { onEnterFrame = function () { if (_root.raritystar == 1) { this.gotoAndStop(1); } else { if (_root.randomset == 10) { this.gotoAndStop(9); } else { if (_root.raritystar == 2) { this.gotoAndStop(5); } else { if (_root.raritystar == 3) { this.gotoAndStop(6); } else { if (_root.raritystar == 4) { this.gotoAndStop(7); } else { if (_root.raritystar == 5) { this.gotoAndStop(8); } else { if (_root.raritystar == 'custom') { this.gotoAndStop(10); } } } } } } } }; } } movieClip 1802 { frame 32 { stop(); } frame 57 { stop(); } frame 98 { stop(); } frame 122 { if (_root.achieve1 == true) { _root.screen.achievestat1.gotoAndStop(2); } if (_root.achieve2 == true) { _root.screen.achievestat2.gotoAndStop(3); } if (_root.achieve3 == true) { _root.screen.achievestat3.gotoAndStop(4); } if (_root.achieve4 == true) { _root.screen.achievestat4.gotoAndStop(5); } if (_root.achieve5 == true) { _root.screen.achievestat5.gotoAndStop(6); } if (_root.achieve6 == true) { _root.screen.achievestat6.gotoAndStop(7); } if (_root.achieve7 == true) { _root.screen.achievestat7.gotoAndStop(8); } if (_root.achieve8 == true) { _root.screen.achievestat8.gotoAndStop(9); } if (_root.achieve9 == true) { _root.screen.achievestat9.gotoAndStop(10); } if (_root.achieve10 == true) { _root.screen.achievestat10.gotoAndStop(11); } if (_root.achieve11 == true) { _root.screen.achievestat11.gotoAndStop(12); } if (_root.achieve12 == true) { _root.screen.achievestat12.gotoAndStop(13); } if (_root.achieve13 == true) { _root.screen.achievestat13.gotoAndStop(14); } if (_root.achieve14 == true) { _root.screen.achievestat14.gotoAndStop(15); } if (_root.achieve15 == true) { _root.screen.achievestat15.gotoAndStop(16); } if (_root.achieve16 == true) { _root.screen.achievestat16.gotoAndStop(17); } if (_root.achieve17 == true) { _root.screen.achievestat17.gotoAndStop(18); } if (_root.achieve18 == true) { _root.screen.achievestat18.gotoAndStop(19); } if (_root.achieve19 == true) { _root.screen.achievestat19.gotoAndStop(20); } if (_root.achieve20 == true) { _root.screen.achievestat20.gotoAndStop(21); } if (_root.achieve21 == true) { _root.screen.achievestat21.gotoAndStop(22); } if (_root.achieve22 == true) { _root.screen.achievestat22.gotoAndStop(23); } if (_root.achieve23 == true) { _root.screen.achievestat23.gotoAndStop(24); } if (_root.achieve24 == true) { _root.screen.achievestat24.gotoAndStop(25); } } instance achievestat1 of movieClip 1559 { onClipEvent (rollOver) { _root.screen.achievedescstat = _root.ach1stuff; } } instance achievestat2 of movieClip 1559 { onClipEvent (rollOver) { _root.screen.achievedescstat = _root.ach2stuff; } } instance achievestat3 of movieClip 1559 { onClipEvent (rollOver) { _root.screen.achievedescstat = _root.ach3stuff; } } instance achievestat4 of movieClip 1559 { onClipEvent (rollOver) { _root.screen.achievedescstat = _root.ach4stuff; } } instance achievestat5 of movieClip 1559 { onClipEvent (rollOver) { _root.screen.achievedescstat = _root.ach5stuff; } } instance achievestat6 of movieClip 1559 { onClipEvent (rollOver) { _root.screen.achievedescstat = _root.ach6stuff; } } instance achievestat7 of movieClip 1559 { onClipEvent (rollOver) { _root.screen.achievedescstat = _root.ach7stuff; } } instance achievestat8 of movieClip 1559 { onClipEvent (rollOver) { _root.screen.achievedescstat = _root.ach8stuff; } } instance achievestat9 of movieClip 1559 { onClipEvent (rollOver) { _root.screen.achievedescstat = _root.ach9stuff; } } instance achievestat10 of movieClip 1559 { onClipEvent (rollOver) { _root.screen.achievedescstat = _root.ach10stuff; } } instance achievestat11 of movieClip 1559 { onClipEvent (rollOver) { _root.screen.achievedescstat = _root.ach11stuff; } } instance achievestat12 of movieClip 1559 { onClipEvent (rollOver) { _root.screen.achievedescstat = _root.ach12stuff; } } frame 140 { stop(); } frame 141 { stop(); } frame 141 { if (_root.achieve1 == true) { _root.screen.achievestat1.gotoAndStop(2); } if (_root.achieve2 == true) { _root.screen.achievestat2.gotoAndStop(3); } if (_root.achieve3 == true) { _root.screen.achievestat3.gotoAndStop(4); } if (_root.achieve4 == true) { _root.screen.achievestat4.gotoAndStop(5); } if (_root.achieve5 == true) { _root.screen.achievestat5.gotoAndStop(6); } if (_root.achieve6 == true) { _root.screen.achievestat6.gotoAndStop(7); } if (_root.achieve7 == true) { _root.screen.achievestat7.gotoAndStop(8); } if (_root.achieve8 == true) { _root.screen.achievestat8.gotoAndStop(9); } if (_root.achieve9 == true) { _root.screen.achievestat9.gotoAndStop(10); } if (_root.achieve10 == true) { _root.screen.achievestat10.gotoAndStop(11); } if (_root.achieve11 == true) { _root.screen.achievestat11.gotoAndStop(12); } if (_root.achieve12 == true) { _root.screen.achievestat12.gotoAndStop(13); } if (_root.achieve13 == true) { _root.screen.achievestat13.gotoAndStop(14); } if (_root.achieve14 == true) { _root.screen.achievestat14.gotoAndStop(15); } if (_root.achieve15 == true) { _root.screen.achievestat15.gotoAndStop(16); } if (_root.achieve16 == true) { _root.screen.achievestat16.gotoAndStop(17); } if (_root.achieve17 == true) { _root.screen.achievestat17.gotoAndStop(18); } if (_root.achieve18 == true) { _root.screen.achievestat18.gotoAndStop(19); } if (_root.achieve19 == true) { _root.screen.achievestat19.gotoAndStop(20); } if (_root.achieve20 == true) { _root.screen.achievestat20.gotoAndStop(21); } if (_root.achieve21 == true) { _root.screen.achievestat21.gotoAndStop(22); } if (_root.achieve22 == true) { _root.screen.achievestat22.gotoAndStop(23); } if (_root.achieve23 == true) { _root.screen.achievestat23.gotoAndStop(24); } if (_root.achieve24 == true) { _root.screen.achievestat24.gotoAndStop(25); } } instance achievestat13 of movieClip 1559 { onClipEvent (rollOver) { _root.screen.achievedescstat = _root.ach13stuff; } } instance achievestat14 of movieClip 1559 { onClipEvent (rollOver) { _root.screen.achievedescstat = _root.ach14stuff; } } instance achievestat15 of movieClip 1559 { onClipEvent (rollOver) { _root.screen.achievedescstat = _root.ach15stuff; } } instance achievestat16 of movieClip 1559 { onClipEvent (rollOver) { _root.screen.achievedescstat = _root.ach16stuff; } } instance achievestat17 of movieClip 1559 { onClipEvent (rollOver) { _root.screen.achievedescstat = _root.ach17stuff; } } instance achievestat18 of movieClip 1559 { onClipEvent (rollOver) { _root.screen.achievedescstat = _root.ach18stuff; } } instance achievestat19 of movieClip 1559 { onClipEvent (rollOver) { _root.screen.achievedescstat = _root.ach19stuff; } } instance achievestat20 of movieClip 1559 { onClipEvent (rollOver) { _root.screen.achievedescstat = _root.ach20stuff; } } instance achievestat21 of movieClip 1559 { onClipEvent (rollOver) { _root.screen.achievedescstat = _root.ach21stuff; } } instance achievestat22 of movieClip 1559 { onClipEvent (rollOver) { _root.screen.achievedescstat = _root.ach22stuff; } } instance achievestat23 of movieClip 1559 { onClipEvent (rollOver) { _root.screen.achievedescstat = _root.ach23stuff; } } instance achievestat24 of movieClip 1559 { onClipEvent (rollOver) { _root.screen.achievedescstat = _root.ach24stuff; } } frame 196 { stop(); } frame 226 { stop(); _root.screen.gotoAndPlay(327); } frame 242 { _root.save(); } frame 318 { _root.enablecontrols(); } frame 327 { _root.resetting = false; } frame 353 { gotoAndPlay(1); } frame 414 { stop(); } } movieClip 1804 { } movieClip 1806 { } movieClip 1809 { } frame 294 { stop(); } frame 295 { _root.currentroom = 'hall'; if (_root.save1used == true) { _root.savingbay1.gotoAndStop(149); } if (_root.save2used == true) { _root.savingbay2.gotoAndStop(149); } if (_root.save3used == true) { _root.savingbay3.gotoAndStop(149); } _root.botlvlupdater(); _root.expneededcalc(); _root.ach9checker(); _root.ach10checker(); _root.consoleinstructions = true; } movieClip 1818 { } movieClip 1820 { } movieClip 1822 { } movieClip 1827 { } movieClip 1831 { frame 5 { stop(); } frame 23 { stop(); } frame 32 { gotoAndPlay(1); } frame 131 { stop(); } frame 155 { stop(); } } movieClip 1833 { frame 1 { stop(); } } movieClip 1837 { frame 1 { onEnterFrame = function () { if (_root.s1raritystar == 1) { this.gotoAndStop(1); } else {} if (_root.s1raritystar == 'not set') { this.gotoAndStop(10); } else { if (_root.s1randomset == 10) { this.gotoAndStop(9); } else { if (_root.s1raritystar == 2) { this.gotoAndStop(5); } else { if (_root.s1raritystar == 3) { this.gotoAndStop(6); } else { if (_root.s1raritystar == 4) { this.gotoAndStop(7); } else { if (_root.s1raritystar == 5) { this.gotoAndStop(8); } else { if (_root.s1raritystar == 'custom') { this.gotoAndStop(11); } } } } } } } }; } } movieClip 1839 { } movieClip 1851 { } movieClip 1859 { frame 38 { gotoAndPlay(7); } } movieClip 1861 { } movieClip 1889 { frame 1 { if (_root.selectedsave == 1) { this.gotoAndStop(_root.s1botarm); } else { if (_root.selectedsave == 2) { this.gotoAndStop(_root.s2botarm); } else { if (_root.selectedsave == 3) { this.gotoAndStop(_root.s3botarm); } } } } frame 1 { stop(); } } movieClip 1911 { frame 1 { if (_root.selectedsave == 1) { this.gotoAndStop(_root.s1botleg); } else { if (_root.selectedsave == 2) { this.gotoAndStop(_root.s2botleg); } else { if (_root.selectedsave == 3) { this.gotoAndStop(_root.s3botleg); } } } } frame 1 { stop(); } } movieClip 1938 { frame 1 { if (_root.selectedsave == 1) { this.gotoAndStop(_root.s1botbody); } else { if (_root.selectedsave == 2) { this.gotoAndStop(_root.s2botbody); } else { if (_root.selectedsave == 3) { this.gotoAndStop(_root.s3botbody); } } } } frame 1 { stop(); } } movieClip 1965 { frame 1 { if (_root.selectedsave == 1) { this.gotoAndStop(_root.s1bothead); } else { if (_root.selectedsave == 2) { this.gotoAndStop(_root.s2bothead); } else { if (_root.selectedsave == 3) { this.gotoAndStop(_root.s3bothead); } } } } frame 1 { stop(); } } movieClip 1966 { } movieClip 1999 { frame 1 { _root.save1used = true; if (_root.save1used) { this.gotoAndStop(_root.s1botarm); } } frame 1 { stop(); } } movieClip 2021 { frame 1 { _root.save1used = true; if (_root.save1used) { this.gotoAndStop(_root.s1botleg); } } frame 1 { stop(); } } movieClip 2043 { frame 1 { _root.save1used = true; if (_root.save1used) { this.gotoAndStop(_root.s1botleg); } } frame 1 { stop(); } } movieClip 2070 { frame 1 { _root.save1used = true; if (_root.save1used) { this.gotoAndStop(_root.s1botbody); } } frame 1 { stop(); } } movieClip 2097 { frame 1 { _root.save1used = true; if (_root.save1used) { this.gotoAndStop(_root.s1bothead); } } frame 1 { stop(); } } movieClip 2123 { frame 1 { _root.save1used = true; if (_root.save1used) { this.gotoAndStop(_root.s1botarm); } } frame 1 { stop(); } } movieClip 2124 { } movieClip 2131 { instance of movieClip 1839 { onClipEvent (enterFrame) { if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) { _root.selectedsave = 1; _root.save1bot(); _root.mcPLAYER.XMOVEMENT = 0; _root.mcPLAYER.YMOVEMENT = 0; _root.savingbay1.play(); } } } frame 5 { stop(); } instance of movieClip 1839 { onClipEvent (enterFrame) { if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) { if (Key.isDown(32)) { _root.hitplatform(); } } } onClipEvent (enterFrame) { if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) { if (_root.onbutton == false) { _root.onbutton = true; _root.onbuttonshow(); } } } onClipEvent (enterFrame) { if (!this.hitTest(_root.mcPLAYER.mcCOLLIDER)) { if (_root.onbutton == true) { _root.onbutton = false; _root.notonbutton(); } } } } frame 6 { _root.hallmessages.gotoAndPlay(33); } frame 39 { _root.platbotinvisible(); _root.onbutton = false; } frame 48 { _root.save1bot(); } frame 59 { _root.showbotagain(); _root.achieve8get(); _root.ach9checker(); _root.ach10checker(); } frame 73 { stop(); } instance of movieClip 1839 { onClipEvent (enterFrame) { if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) { if (Key.isDown(32)) { _root.hitplatformpurge(); } } } onClipEvent (enterFrame) { if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) { if (_root.onbuttonpurge1 == false) { _root.onbuttonpurge1 = true; _root.onbuttonshowpurge(); } } } onClipEvent (enterFrame) { if (!this.hitTest(_root.mcPLAYER.mcCOLLIDER)) { if (_root.onbuttonpurge1 == true) { _root.onbuttonpurge1 = false; _root.notonbuttonpurge(); } } } } frame 74 { _root.hallmessages.gotoAndPlay(156); } frame 108 { _root.platbotinvisible(); _root.onbutton = false; } frame 121 { _root.storebot1(); _root.save1bot(); _root.swapbot1(); } frame 132 { _root.showbotagainp(); _root.achieve8get(); _root.ach9checker(); _root.ach10checker(); } frame 149 { stop(); } instance of movieClip 1839 { onClipEvent (enterFrame) { if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) { if (Key.isDown(32)) { _root.hitplatformpurge(); } } } onClipEvent (enterFrame) { if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) { if (_root.onbuttonpurge1 == false) { _root.onbuttonpurge1 = true; _root.onbuttonshowpurge(); } } } onClipEvent (enterFrame) { if (!this.hitTest(_root.mcPLAYER.mcCOLLIDER)) { if (_root.onbuttonpurge1 == true) { _root.onbuttonpurge1 = false; _root.notonbuttonpurge(); } } } } } movieClip 2133 { frame 1 { onEnterFrame = function () { if (_root.s2raritystar == 1) { this.gotoAndStop(1); } else {} if (_root.s2raritystar == 'not set') { this.gotoAndStop(10); } else { if (_root.s2randomset == 10) { this.gotoAndStop(9); } else { if (_root.s2raritystar == 2) { this.gotoAndStop(5); } else { if (_root.s2raritystar == 3) { this.gotoAndStop(6); } else { if (_root.s2raritystar == 4) { this.gotoAndStop(7); } else { if (_root.s2raritystar == 5) { this.gotoAndStop(8); } else { if (_root.s2raritystar == 'custom') { this.gotoAndStop(11); } } } } } } } }; } } movieClip 2168 { frame 1 { _root.save2used = true; if (_root.save2used) { this.gotoAndStop(_root.s2botarm); } } frame 1 { stop(); } } movieClip 2190 { frame 1 { _root.save2used = true; if (_root.save2used) { this.gotoAndStop(_root.s2botleg); } } frame 1 { stop(); } } movieClip 2212 { frame 1 { _root.save2used = true; if (_root.save2used) { this.gotoAndStop(_root.s2botleg); } } frame 1 { stop(); } } movieClip 2239 { frame 1 { _root.save2used = true; if (_root.save2used) { this.gotoAndStop(_root.s2botbody); } } frame 1 { stop(); } } movieClip 2266 { frame 1 { _root.save2used = true; if (_root.save2used) { this.gotoAndStop(_root.s2bothead); } } frame 1 { stop(); } } movieClip 2293 { frame 1 { _root.save2used = true; if (_root.save2used) { this.gotoAndStop(_root.s2botarm); } } frame 1 { stop(); } } movieClip 2294 { } movieClip 2295 { instance of movieClip 1839 { onClipEvent (enterFrame) { if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) { _root.selectedsave = 1; _root.save1bot(); _root.mcPLAYER.XMOVEMENT = 0; _root.mcPLAYER.YMOVEMENT = 0; _root.savingbay1.play(); } } } frame 5 { stop(); } instance of movieClip 1839 { onClipEvent (enterFrame) { if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) { if (Key.isDown(32)) { _root.hitplatform2(); } } } onClipEvent (enterFrame) { if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) { if (_root.onbutton2 == false) { _root.onbutton2 = true; _root.onbuttonshow2(); } } } onClipEvent (enterFrame) { if (!this.hitTest(_root.mcPLAYER.mcCOLLIDER)) { if (_root.onbutton2 == true) { _root.onbutton2 = false; _root.notonbutton2(); } } } } frame 6 { _root.hallmessages.gotoAndPlay(33); } frame 39 { _root.platbotinvisible(); _root.onbutton = false; } frame 47 { _root.save2bot(); } frame 59 { _root.showbotagain2(); _root.achieve8get(); _root.ach9checker(); _root.ach10checker(); } frame 73 { stop(); } instance of movieClip 1839 { onClipEvent (enterFrame) { if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) { if (Key.isDown(32)) { _root.hitplatformpurge2(); } } } onClipEvent (enterFrame) { if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) { if (_root.onbuttonpurge2 == false) { _root.onbuttonpurge2 = true; _root.onbuttonshowpurge2(); } } } onClipEvent (enterFrame) { if (!this.hitTest(_root.mcPLAYER.mcCOLLIDER)) { if (_root.onbuttonpurge2 == true) { _root.onbuttonpurge2 = false; _root.notonbuttonpurge2(); } } } } frame 74 { _root.hallmessages.gotoAndPlay(156); } frame 108 { _root.platbotinvisible(); _root.onbutton = false; } frame 122 { _root.storebot2(); _root.save2bot(); _root.swapbot1(); } frame 132 { _root.showbotagainp2(); _root.achieve8get(); _root.ach9checker(); _root.ach10checker(); } frame 149 { stop(); } instance of movieClip 1839 { onClipEvent (enterFrame) { if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) { if (Key.isDown(32)) { _root.hitplatformpurge2(); } } } onClipEvent (enterFrame) { if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) { if (_root.onbuttonpurge2 == false) { _root.onbuttonpurge2 = true; _root.onbuttonshowpurge2(); } } } onClipEvent (enterFrame) { if (!this.hitTest(_root.mcPLAYER.mcCOLLIDER)) { if (_root.onbuttonpurge2 == true) { _root.onbuttonpurge2 = false; _root.notonbuttonpurge2(); } } } } } movieClip 2303 { frame 1 { onEnterFrame = function () { if (_root.s3raritystar == 1) { this.gotoAndStop(1); } else {} if (_root.s3raritystar == 'not set') { this.gotoAndStop(10); } else { if (_root.s3randomset == 10) { this.gotoAndStop(9); } else { if (_root.s3raritystar == 2) { this.gotoAndStop(5); } else { if (_root.s3raritystar == 3) { this.gotoAndStop(6); } else { if (_root.s3raritystar == 4) { this.gotoAndStop(7); } else { if (_root.s3raritystar == 5) { this.gotoAndStop(8); } else { if (_root.s3raritystar == 'custom') { this.gotoAndStop(11); } } } } } } } }; } } movieClip 2331 { frame 1 { _root.save3used = true; if (_root.save3used) { this.gotoAndStop(_root.s3botarm); } } frame 1 { stop(); } } movieClip 2352 { frame 1 { _root.save3used = true; if (_root.save3used) { this.gotoAndStop(_root.s3botleg); } } frame 1 { stop(); } } movieClip 2374 { frame 1 { _root.save3used = true; if (_root.save3used) { this.gotoAndStop(_root.s3botleg); } } frame 1 { stop(); } } movieClip 2401 { frame 1 { _root.save3used = true; if (_root.save3used) { this.gotoAndStop(_root.s3botbody); } } frame 1 { stop(); } } movieClip 2428 { frame 1 { _root.save3used = true; if (_root.save3used) { this.gotoAndStop(_root.s3bothead); } } frame 1 { stop(); } } movieClip 2454 { frame 1 { _root.save3used = true; if (_root.save3used) { this.gotoAndStop(_root.s3botarm); } } frame 1 { stop(); } } movieClip 2455 { } movieClip 2456 { instance of movieClip 1839 { onClipEvent (enterFrame) { if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) { _root.selectedsave = 1; _root.save1bot(); _root.mcPLAYER.XMOVEMENT = 0; _root.mcPLAYER.YMOVEMENT = 0; _root.savingbay1.play(); } } } frame 5 { stop(); } instance of movieClip 1839 { onClipEvent (enterFrame) { if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) { if (Key.isDown(32)) { _root.hitplatform3(); } } } onClipEvent (enterFrame) { if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) { if (_root.onbutton3 == false) { _root.onbutton3 = true; _root.onbuttonshow3(); } } } onClipEvent (enterFrame) { if (!this.hitTest(_root.mcPLAYER.mcCOLLIDER)) { if (_root.onbutton3 == true) { _root.onbutton3 = false; _root.notonbutton3(); } } } } frame 6 { _root.hallmessages.gotoAndPlay(33); } frame 39 { _root.platbotinvisible(); _root.onbutton = false; } frame 48 { _root.save3bot(); } frame 59 { _root.showbotagain3(); _root.achieve8get(); _root.ach9checker(); _root.ach10checker(); } frame 73 { stop(); } instance of movieClip 1839 { onClipEvent (enterFrame) { if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) { if (Key.isDown(32)) { _root.hitplatformpurge3(); } } } onClipEvent (enterFrame) { if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) { if (_root.onbuttonpurge3 == false) { _root.onbuttonpurge3 = true; _root.onbuttonshowpurge3(); } } } onClipEvent (enterFrame) { if (!this.hitTest(_root.mcPLAYER.mcCOLLIDER)) { if (_root.onbuttonpurge3 == true) { _root.onbuttonpurge3 = false; _root.notonbuttonpurge3(); } } } } frame 74 { _root.hallmessages.gotoAndPlay(156); } frame 108 { _root.platbotinvisible(); _root.onbutton = false; } frame 121 { _root.storebot3(); _root.save3bot(); _root.swapbot1(); } frame 132 { _root.showbotagainp3(); _root.achieve8get(); _root.ach9checker(); _root.ach10checker(); } frame 149 { stop(); _root.achieve8get(); _root.ach9checker(); _root.ach10checker(); } instance of movieClip 1839 { onClipEvent (enterFrame) { if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) { if (Key.isDown(32)) { _root.hitplatformpurge3(); } } } onClipEvent (enterFrame) { if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) { if (_root.onbuttonpurge3 == false) { _root.onbuttonpurge3 = true; _root.onbuttonshowpurge3(); } } } onClipEvent (enterFrame) { if (!this.hitTest(_root.mcPLAYER.mcCOLLIDER)) { if (_root.onbuttonpurge3 == true) { _root.onbuttonpurge3 = false; _root.notonbuttonpurge3(); } } } } } movieClip 2458 { } movieClip 2460 { } movieClip 2462 { } movieClip 2464 { } movieClip 2466 { } movieClip 2467 { } movieClip 2468 { } movieClip 2470 { } movieClip 2472 { } instance of movieClip 1512 { onClipEvent (enterFrame) { if (_root.mcPLAYER.enterdoor == false) { if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) { if (Key.isDown(32)) { _root.mcPLAYER.enterdoor = true; _root.mcPLAYER._x = 71.05; _root.mcPLAYER._y = 419.95; _root.save(); _root.gotoAndStop('mainroom'); } } } } } frame 317 { stop(); _root.ach9checker(); _root.ach10checker(); } frame 318 { function fireconf() { function cogalt() { ++a; if (a > bitis_suresi) { clearInterval(z); } ++i; _root.mc.duplicateMovieClip('mc' + i, i); _root['mc' + i].hiz = kar_hiz + random(6); _root['mc' + i].boyut = kar_boyut + random(5); _root['mc' + i]._x = random(Stage.width); _root['mc' + i].rasgele = random(2); _root['mc' + i].cacheAsBitmap(true); if (_root['mc' + i].rasgele == 0) { _root['mc' + i].konum = -random(3); } else { _root['mc' + i].konum = random(3); } _root['mc' + i].onEnterFrame = function () { this._y += this.hiz; this._x += this.konum; if (this._x > Stage.width or this._x < 0 or this._y > Stage.height) { delete this.onEnterFrame; removeMovieClip(this); } if (_root.mcPLATFORM1.hitTest(this._x, this._y, true)) { delete this.onEnterFrame; } }; } function sure() { ++s; if (s > baslama_suresi) { z = setInterval(cogalt, kar_seyrekligi); clearInterval(zamanla); } } baslama_suresi = 50; kar_seyrekligi = 1; kar_hiz = 1; kar_boyut = 0; bitis_suresi = 2000; a = 0; i = -1; mc._y = -mc._height; s = 0; zamanla = setInterval(sure, 1); } function stopconfetti() { clearInterval(z); clearInterval(zamanla); clearInterval(kar_seyrekligi); } _root.handy._visible = false; } frame 318 { function foreverbottomlasergo() { _root.bottomlasernon2.gotoAndPlay(1); } function foreverbottomlaserno() { _root.bottomlasernon2.gotoAndStop(1); } function foreverbottomlaserstop() { _root.bottomlasernon2.nonstop.gotoAndPlay(39); } function bigbosswidebeamstop() { _root.leboss.bigbossbigbeam.gotoAndStop(1); } function bigbosswidebeamgo() { _root.leboss.bigbossbigbeam.gotoAndPlay(1); } function bigbosslittlelaser1stop() { _root.leboss.bigbosslittlelaser1.gotoAndStop(1); } function bigbosslittlelaser2stop() { _root.leboss.bigbosslittlelaser2.gotoAndStop(1); } function bigbosslittlelaser3stop() { _root.leboss.bigbosslittlelaser3.gotoAndStop(1); } function bigbosslittlelaser4stop() { _root.leboss.bigbosslittlelaser4.gotoAndStop(1); } function bigbosslittlelaser5stop() { _root.leboss.bigbosslittlelaser5.gotoAndStop(1); } function bigbosslittlelaser6stop() { _root.leboss.bigbosslittlelaser6.gotoAndStop(1); } function bigbosslittlelaser1go() { _root.leboss.bigbosslittlelaser1.gotoAndPlay(1); } function bigbosslittlelaser2go() { _root.leboss.bigbosslittlelaser2.gotoAndPlay(1); } function bigbosslittlelaser3go() { _root.leboss.bigbosslittlelaser3.gotoAndPlay(1); } function bigbosslittlelaser4go() { _root.leboss.bigbosslittlelaser4.gotoAndPlay(1); } function bigbosslittlelaser5go() { _root.leboss.bigbosslittlelaser5.gotoAndPlay(1); } function bigbosslittlelaser6go() { _root.leboss.bigbosslittlelaser6.gotoAndPlay(1); } function bigbosssidelaserl2stop() { _root.leboss.bigbossdiaglaserl2.gotoAndStop(1); } function bigbosssidelaserl3stop() { _root.leboss.bigbossdiaglaserl3.gotoAndStop(1); } function bigbosssidelaserl5stop() { _root.leboss.bigbossdiaglaserl5.gotoAndStop(1); } function bigbosssidelaserl6stop() { _root.leboss.bigbossdiaglaserl6.gotoAndStop(1); } function bigbosssidelaserr1stop() { _root.leboss.bigbossdiaglaserr1.gotoAndStop(1); } function bigbosssidelaserr2stop() { _root.leboss.bigbossdiaglaserr2.gotoAndStop(1); } function bigbosssidelaserr4stop() { _root.leboss.bigbossdiaglaserr4.gotoAndStop(1); } function bigbosssidelaserr5stop() { _root.leboss.bigbossdiaglaserr5.gotoAndStop(1); } function bigbosssidelaserl2go() { _root.leboss.bigbossdiaglaserl2.gotoAndPlay(1); } function bigbosssidelaserl3go() { _root.leboss.bigbossdiaglaserl3.gotoAndPlay(1); } function bigbosssidelaserl5go() { _root.leboss.bigbossdiaglaserl5.gotoAndPlay(1); } function bigbosssidelaserl6go() { _root.leboss.bigbossdiaglaserl6.gotoAndPlay(1); } function bigbosssidelaserr1go() { _root.leboss.bigbossdiaglaserr1.gotoAndPlay(1); } function bigbosssidelaserr2go() { _root.leboss.bigbossdiaglaserr2.gotoAndPlay(1); } function bigbosssidelaserr4go() { _root.leboss.bigbossdiaglaserr4.gotoAndPlay(1); } function bigbosssidelaserr5go() { _root.leboss.bigbossdiaglaserr5.gotoAndPlay(1); } function firelaserlet1() { _root.leboss.laserlet1.gotoAndPlay(1); } function firelaserlet2() { _root.leboss.laserlet2.gotoAndPlay(1); } function firelaserlet3() { _root.leboss.laserlet3.gotoAndPlay(1); } function firelaserlet4() { _root.leboss.laserlet4.gotoAndPlay(1); } function firelaserlet5() { _root.leboss.laserlet5.gotoAndPlay(1); } function firelaserlet6() { _root.leboss.laserlet6.gotoAndPlay(1); } function laserlet1stop() { _root.leboss.laserlet1.gotoAndStop(1); } function laserlet2stop() { _root.leboss.laserlet2.gotoAndStop(1); } function laserlet3stop() { _root.leboss.laserlet3.gotoAndStop(1); } function laserlet4stop() { _root.leboss.laserlet4.gotoAndStop(1); } function laserlet5stop() { _root.leboss.laserlet5.gotoAndStop(1); } function laserlet6stop() { _root.leboss.laserlet6.gotoAndStop(1); } } frame 318 { function stopleboss() { _root.leboss.gotoAndStop(1); } function startleboss() { _root.leboss.gotoAndPlay(1); } function starttrack1() { _root.moosic.gotoAndPlay(1); } function starttrack2() { _root.moosic2.gotoAndPlay(1); } function starttrack3() { _root.moosic3.gotoAndPlay(1); } function stoptrack1() { _root.moosic.gotoAndStop(1); } function stoptrack2() { _root.moosic2.gotoAndStop(1); } function stoptrack3() { _root.moosic3.gotoAndStop(1); } function stophealthdrop() { _root.droppedhealthbox.gotoAndStop(1); } function stopshielddrop() { _root.droppedshieldbox.gotoAndStop(1); } function drophealth() { _root.droppedhealthbox.gotoAndPlay(2); } function dropshield() { _root.droppedshieldbox.gotoAndPlay(2); } _root.mcPLATFORM2._alpha = 0; _root.mcPLATFORM3._alpha = 0; stopleboss(); stoptrack1(); stoptrack2(); stoptrack3(); _root.creditsend.gotoAndStop(1); stopshielddrop(); stophealthdrop(); } frame 318 { function firepix() { var v5 = 10 + random(10); var v6 = random(_root.particle._totalframes + 1); var v4 = 0; while (v4 < v5) { ++particleIdx; var v3 = _root.particle.duplicateMovieClip('particle' + particleIdx, particleIdx + 99, fireworkContainer); v3._x = _root.mcPLAYER._x; v3._y = _root.mcPLAYER._y; v3.gotoAndStop(v6); v3.direction = 360 * Math.random(); v3.yEnergy = 1 + Math.random() * 10; v3.xEnergy = v3.yEnergy; v3.onEnterFrame = function () { if (this.direction < 180) { this.direction += 2; if (this.direction > 180) { this.direction = 180; } } else { if (this.direction > 180) { this.direction -= 2; if (this.direction < 180) { this.direction = 180; } } } if (this.direction < 180) { this.direction += 2; if (this.direction > 180) { this.direction = 180; } } else { if (this.direction > 180) { this.direction -= 2; if (this.direction < 180) { this.direction = 180; } } } this._x += Math.cos((this.direction - 90) * Math.PI / 180) * this.xEnergy; this._y += Math.sin((this.direction - 90) * Math.PI / 180) * this.yEnergy; this._alpha -= 1.1; this._xscale *= 0.95; this._yscale = this._xscale; if (this._alpha <= 0 || this._xscale <= 0.1) { this.removeMovieClip(); } }; ++v4; } } function fireWeapon() { if (reloadComplete == true) { var v3 = _root.attachMovie('bullet', 'b' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); v3._x = roofturret._x; v3._y = roofturret._y; v3.bulletLifeTimer = 0; randomNum = random(bulletOffset) - bulletOffset / 2; bulletAngle = (roofturret._rotation + randomNum + 90) * Math.PI / 180; v3.xSpeed = Math.cos(bulletAngle) * bulletSpeed; v3.ySpeed = Math.sin(bulletAngle) * bulletSpeed; v3.onEnterFrame = function () { this._x += this.xSpeed; this._y += this.ySpeed; if (_root.bulletlvl == 2) { _root.bulletdam = 20; this.gotoAndStop(2); } if (_root.bulletlvl == 1) { _root.bulletdam = 5; this.gotoAndStop(1); } if (this.bulletLifeTimer >= bulletLifeTimerTotal) { this.removeMovieClip(); } if (this.hitTest(_root.mcPLAYER)) { if (_root.health > 0) { if (_root.hurt == false) { _root.effects(); _root.health -= _root.bulletdam; _root.hurt = true; this.removeMovieClip(); } } } if (this.hitTest(_root.mcPLATFORM1)) { this.removeMovieClip(); } if (this.hitTest(_root.mcWALL1)) { this.removeMovieClip(); } if (this.hitTest(_root.mcWALL2)) { this.removeMovieClip(); } if (_root.currentroom == 'main') { this.removeMovieClip(); } ++this.bulletLifeTimer; }; startReloading(); } } function startReloading() { reloadComplete = false; reloadTimer = setInterval(this, 'gunReloaded', reloadSpeed); } function gunReloaded() { clearInterval(reloadTimer); reloadComplete = true; } function rotatePlayer() { playerX = roofturret._x; playerY = roofturret._y; rotationDirection = Math.round(360 - Math.atan2(_root.mcPLAYER._x - playerX, _root.mcPLAYER._y - playerY) * 180 / Math.PI); roofturret._rotation = rotationDirection; } function fireWeapon2() { if (reloadComplete2 == true) { var v3 = _root.attachMovie('bullet', 'b' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); v3._x = roofturret2._x; v3._y = roofturret2._y; v3.bulletLifeTimer2 = 0; randomNum2 = random(bulletOffset2) - bulletOffset2 / 2; bulletAngle2 = (roofturret2._rotation + randomNum2 + 90) * Math.PI / 180; v3.xSpeed = Math.cos(bulletAngle2) * bulletSpeed2; v3.ySpeed = Math.sin(bulletAngle2) * bulletSpeed2; v3.onEnterFrame = function () { this._x += this.xSpeed; this._y += this.ySpeed; if (_root.bulletlvl == 2) { _root.bulletdam = 10; this.gotoAndStop(2); } if (_root.bulletlvl == 1) { _root.bulletdam = 5; this.gotoAndStop(1); } if (this.bulletLifeTimer2 >= bulletLifeTimer2Total2) { this.removeMovieClip(); } if (this.hitTest(_root.mcPLAYER)) { if (_root.health > 0) { if (_root.hurt == false) { _root.effects(); _root.health -= _root.bulletdam; _root.hurt = true; this.removeMovieClip(); } } } if (this.hitTest(_root.mcPLATFORM1)) { this.removeMovieClip(); } if (this.hitTest(_root.mcWALL1)) { this.removeMovieClip(); } if (this.hitTest(_root.mcWALL2)) { this.removeMovieClip(); } if (_root.currentroom == 'main') { this.removeMovieClip(); } ++this.bulletLifeTimer2; rotatePlayer2(); }; startReloading2(); } } function startReloading2() { reloadComplete2 = false; reloadTimer2 = setInterval(this, 'gunReloaded2', reloadSpeed2); } function gunReloaded2() { clearInterval(reloadTimer2); reloadComplete2 = true; } function rotatePlayer2() { playerX = roofturret2._x; playerY = roofturret2._y; rotationDirection2 = Math.round(360 - Math.atan2(_root.mcPLAYER._x - playerX, _root.mcPLAYER._y - playerY) * 180 / Math.PI); roofturret2._rotation = rotationDirection2; } var colorful = new Color('_root.particle'); colorful.setRGB(3355443); var fireDelay = 30; var fireworkContainer; var stageWidth = 640; var stageHeight = 480; var particleIdx = 0; init(); var bulletOffset = 10; var bulletLifeTimerTotal = 90; var bulletSpeed = 10; var reloadSpeed = 200; var reloadTimer; var reloadComplete = true; var bulletAngle; var randomNum; var playerX; var playerY; var rotationDirection; var bulletOffset2 = 10; var bulletLifeTimer2Total2 = 90; var bulletSpeed2 = 10; var reloadSpeed2 = 150; var reloadTimer2; var reloadComplete2 = true; var bulletAngle2; var randomNum2; var playerX; var playerY; var rotationDirection2; } frame 318 { function deadbot() { if (_root.hurt == true) { if (_root.killedrobot == false) { if (_root.health <= 0) { _root.killedrobot = true; _root.hurt = true; _root.invincibleplayer.gotoAndStop(1); _root.hbar.gotoAndStop(1); _root.mcPLAYER._visible = false; _root.botfx._x = _root.mcPLAYER._x; _root.botfx._y = _root.mcPLAYER._y; _root.botfx.gotoAndStop(2); _root.botfx.explosybot.gotoAndPlay(1); _root.mcPLAYER._visible = false; _root.mcPLAYER._x = 317; _root.mcPLAYER._y = 239; _root.mcPLAYER._visible = false; _root.arenaindoor.gotoAndPlay(2); trace('Dead'); _root.redtextcall(); if (_root.randomset == 10) { _root.achieve6get(); } if (_root.randomset !== 10) { _root.achieve5get(); } } } } } function respawnbot() { if (_root.hurt == true) { if (_root.killedrobot == true) { _root.hurt = true; _root.invincibleplayer.gotoAndStop(1); _root.hbar.gotoAndStop(1); _root.deathflash.gotoAndPlay(2); _root.ttldeaths += 1; _root.deathscurrent += 1; _root.rankpoint += 1; _root.deathachchecker(); _root.randombot(); _root.health = 100; _root.mcPLAYER._visible = true; _root.mcPLAYER._alpha = 100; _root.mcPLAYER._x = 319.75; _root.mcPLAYER._y = 414.3; _root.invincibleplayer.gotoAndPlay(2); _root.killedrobot = false; if (_root.mcPLAYER._y < 250) { _root.respawnbot(); } } } } function effects() { _root.previoushealth = _root.health; _root.hbar.play(); _root.hurtflash.play(); _root.invincibleplayer.play(); _root.deadz(); } function gundstart() { _root.turret1.gotoAndPlay(1); } function gunclose() { _root.turret1.gotoAndPlay(63); _root.target1.go = false; _root.target1._visible = false; _root.target1.left = false; _root.target1.right = false; } function gunstop() { _root.turret1.gotoAndStop(1); } function foreverbottomlasergo() { _root.bottomlasernon2.gotoAndPlay(1); } function foreverbottomlaserno() { _root.bottomlasernon2.gotoAndStop(1); } function foreverbottomlaserstop() { _root.bottomlasernon2.gotoAndPlay(239); _root.bottomlasernon2.nonstop.gotoAndPlay(81); } function mtravelstop() { _root.midtravels.gotoAndStop(1); } function mtravelend() { _root.midtravels.gotoAndPlay(30); } function mtravelgo() { _root.midtravels.gotoAndPlay(1); } function ltravelstop() { _root.lefttravels.gotoAndStop(1); } function ltravelend() { _root.lefttravels.gotoAndPlay(30); } function ltravelgo() { _root.lefttravels.gotoAndPlay(1); } function toptoplaserwide1go() { _root.toptoplaser1.gotoAndPlay(1); } function toptoplaserwide2go() { _root.toptoplaser2.gotoAndPlay(1); } function toptoplaserwide3go() { _root.toptoplaser3.gotoAndPlay(1); } function toptoplaserwide4go() { _root.toptoplaser4.gotoAndPlay(1); } function toptoplaserwide5go() { _root.toptoplaser5.gotoAndPlay(1); } function toptoplaserwide1stop() { _root.toptoplaser1.gotoAndStop(1); } function toptoplaserwide2stop() { _root.toptoplaser2.gotoAndStop(1); } function toptoplaserwide3stop() { _root.toptoplaser3.gotoAndStop(1); } function toptoplaserwide4stop() { _root.toptoplaser4.gotoAndStop(1); } function toptoplaserwide5stop() { _root.toptoplaser5.gotoAndStop(1); } function leftlaserdiagstop() { _root.leftdiaglaser.gotoAndStop(1); } function leftlaserdiaggo() { _root.leftdiaglaser.gotoAndPlay(1); } function rightlaserdiagstop() { _root.rightdiaglaser.gotoAndStop(1); } function rightlaserdiaggo() { _root.rightdiaglaser.gotoAndPlay(1); } function roofturretstart() { _root.roofturret.gotoAndPlay(1); } function roofturretclose() { _root.roofturret.gotoAndPlay(37); } function roofturretstop() { _root.roofturret.gotoAndStop(1); } function roofturret2start() { _root.roofturret2.gotoAndPlay(1); } function roofturret2close() { _root.roofturret2.gotoAndPlay(37); } function roofturret2stop() { _root.roofturret2.gotoAndStop(1); } function fire1l() { _root.launch1 = true; _root.pew1._visible = true; _root.rocketurl.active.play(); } function fire12() { _root.launch2 = true; _root.pew2._visible = true; _root.rocketurl.active.play(); } function rocketleftstop() { _root.rocketurl.gotoAndStop(1); } function rocketleftstart() { _root.rocketurl.gotoAndPlay(1); } function rocketleftpack() { _root.rocketurl.gotoAndPlay(108); } function leftpulstompgo() { _root.leftpulstomp.gotoAndPlay(1); } function leftpulstompstop() { _root.leftpulstomp.gotoAndStop(1); } function rightpulstompgo() { _root.rightpulstomp.gotoAndPlay(1); } function rightpulstompstop() { _root.rightpulstomp.gotoAndStop(1); } function midstompgo() { _root.midstomp.gotoAndPlay(1); } function midstompstop() { _root.midstomp.gotoAndStop(1); } function roofstomplstop() { _root.roofstompl.gotoAndStop(1); } function roofstomprstop() { _root.roofstompr.gotoAndStop(1); } function roofstomplgo() { _root.roofstompl.gotoAndPlay(1); } function roofstomprgo() { _root.roofstompr.gotoAndPlay(1); } function bottomlaserstop() { _root.bottomlaser.gotoAndStop(1); } function bottomlasergo() { _root.bottomlaser.gotoAndPlay(1); } function bottomlaser2stop() { _root.bottomlaser2.gotoAndStop(1); } function bottomlaser2go() { _root.bottomlaser2.gotoAndPlay(1); } function bottomlaser2nonstop() { _root.bottomlaser2non.shooterdooper.play(); } function bottomlaser2nongo() { _root.bottomlaser2non.gotoAndPlay(1); } function toplaserlstop() { _root.toplaserl.gotoAndStop(1); } function toplaserl2stop() { _root.toplaserl2.gotoAndStop(1); } function toplasermstop() { _root.toplaserm.gotoAndStop(1); } function toplaserrstop() { _root.toplaserr.gotoAndStop(1); } function toplaserr2stop() { _root.toplaserr2.gotoAndStop(1); } function toplaserr3stop() { _root.toplaserr3.gotoAndStop(1); } function toplaserl3stop() { _root.toplaserl3.gotoAndStop(1); } function toplaserlgo() { _root.toplaserl.gotoAndPlay(1); } function toplaserl2go() { _root.toplaserl2.gotoAndPlay(1); } function toplasermgo() { _root.toplaserm.gotoAndPlay(1); } function toplaserrgo() { _root.toplaserr.gotoAndPlay(1); } function toplaserr2go() { _root.toplaserr2.gotoAndPlay(1); } function toplaserr3go() { _root.toplaserr3.gotoAndPlay(1); } function toplaserl3go() { _root.toplaserl3.gotoAndPlay(1); } function rightturretstop() { _root.turret1.gotoAndStop(1); } function Midlevelstart() { _root.midpan.messagepanel.messageboard.gotoAndPlay('level01'); _root.midpan.messagepanel.messageboard.line1 = '0'; _root.midpan.messagepanel.messageboard.line2 = '10'; } function Platformdeploy() { _root.midpan.gotoAndPlay('platform panel'); _root.midpan.platformpanel.gotoAndPlay(1); } function Midundeploy() { _root.midpan.messagepanel.gotoAndPlay('undeploy'); } function Midlevelend() { _root.midpan.messagepanel.messageboard.gotoAndPlay('LEVEL END'); } function Midlevelclear() { _root.midpan.messagepanel.messageboard.gotoAndPlay('LEVEL CLEAR'); } function Midbosswarning() { _root.midpan.messagepanel.messageboard.gotoAndPlay('boss warning'); } var health = 100; var stamina = 100; var hurt = false; var bulletdam = 5; var rocketdam = 15; var roofstompdam = 100; var roofstomppulse = 15; var roofstompelectric = 20; var bottomlaserdam = 30; var toplaserdam = 15; var turretgun = 10; var turretgunscope = 15; var bulletlvl = 1; var laserletdam = 15; var rightturrentaim = 90; var killedrobot = false; bottomlaserstop(); roofturretstop(); roofstomplstop(); roofstomprstop(); bottomlaserstop(); toplaserlstop(); toplaserl2stop(); toplasermstop(); toplaserrstop(); toplaserr2stop(); toplaserr3stop(); toplaserl3stop(); rocketleftstop(); gunstop(); roofturret2stop(); leftlaserdiagstop(); rightlaserdiagstop(); toptoplaserwide1stop(); toptoplaserwide2stop(); toptoplaserwide3stop(); toptoplaserwide4stop(); toptoplaserwide5stop(); ltravelstop(); bottomlaser2stop(); mtravelstop(); midstompstop(); rightpulstompstop(); leftpulstompstop(); foreverbottomlaserno(); } frame 318 { function escapecounter() { if (_root.completeyscreen == false) { _root.escapescurrent += 1; _root.escptimes += 1; trace(_root.escptimes); trace(_root.escapescurrent); } } function redtextcall() { if (_root.bossmessageson == false) { if (_root.alreadymessage == false) { _root.whitetimer.gotoAndPlay(1); _root.midpan.messagepanel.messageboard.gotoAndPlay('Redtext'); } } } function whitetextcall() { if (_root.bossmessageson == false) { if (_root.alreadymessage == false) { _root.midpan.messagepanel.messageboard.gotoAndPlay('Whitetext'); } } } function eventcall() { _root.midpan.messagepanel.messageboard.gotoAndPlay('Events'); } function endingcall() { _root.midpan.messagepanel.messageboard.gotoAndPlay('Ending'); } _root.mcPLAYER._x = 319.75; _root.mcPLAYER._y = 414.3; _root.enterdoor = false; _root.currentroom = 'arena'; var stamout = false; _root.botlvlupdater(); _root.expneededcalc(); _root.gearcol.gotoAndStop(1); _root.gearco2.gotoAndStop(1); _root.gearco3.gotoAndStop(1); _root.gearco4.gotoAndStop(1); _root.gearco5.gotoAndStop(1); _root.mcPLAYER.XMOVEMENT = 0; _root.mcPLAYER.YMOVEMENT = 0; _root.disablecontrols(); _root.mcPLAYER._visible = false; _root.whitetimer.gotoAndStop(1); var bossmessageson = false; var alreadymessage = false; } frame 318 { _root.expcounter.gotoAndStop(1); } frame 318 { var previoushealth = _root.health; _root.consoleinstructions = true; _root.endingcalltime = false; } frame 318 { function startleveltimer() { function countdownmid() { leveltime1 -= 0.1; _root.hmsleveltime = tc.secondsToTimecode(_root.leveltime1); leveltime = int(leveltime1 * 10) / 10; if (leveltime % 1 == 0) { leveltime += '.0'; } leveltimer.text = leveltime; } midcountdownstuff = setInterval(countdownmid, 100); } function clearmidpanelcount() { clearInterval(countdownmid); clearInterval(midcountdownstuff); } var allowdrops = false; lvl1length = 251; lvl2length = 275; lvl3length = 111; _root.longopendoor = true; _root.creditsdoor = false; } movieClip 2476 { } movieClip 2478 { } movieClip 2480 { } movieClip 2482 { } movieClip 2488 { } movieClip 2490 { } movieClip 2492 { } movieClip 2493 { } movieClip 2496 { } movieClip 2527 { } movieClip 2571 { } movieClip 2573 { } movieClip 2578 { } movieClip 2579 { } movieClip 2580 { } movieClip 2584 { } movieClip 2604 { } movieClip 2605 { } movieClip 2610 { } movieClip 2633 { } movieClip 2642 { frame 30 { gotoAndPlay(1); } frame 60 { gotoAndPlay(31); } frame 90 { gotoAndPlay(61); } frame 120 { gotoAndPlay(91); } frame 150 { gotoAndPlay(121); } frame 180 { gotoAndPlay(151); } } movieClip 2688 { } movieClip 2689 { } movieClip 2732 { } movieClip 2745 { frame 1 { stop(); } } movieClip 2780 { } movieClip 2787 { } movieClip 2788 { } movieClip 2816 { } movieClip 2869 { frame 1 { stop(); } } movieClip 2873 { } movieClip 2874 { } movieClip 2875 { } movieClip 2877 { } movieClip 2878 { } movieClip 2880 { } movieClip 2887 { } movieClip 2888 { frame 1 { stop(); } } movieClip 2917 { frame 1 { stop(); } } movieClip 2918 { frame 30 { if (_root.whichlevel == 1) { line2 = 1; } if (_root.whichlevel == 2) { line2 = 2; } if (_root.whichlevel == 3) { line2 = 3; } } frame 69 { lvl1length = 251; lvl2length = 275; lvl3length = 111; if (_root.whichlevel == 1) { _root.leveltime1 = lvl1length; } if (_root.whichlevel == 2) { _root.leveltime1 = lvl2length; } if (_root.whichlevel == 3) { _root.leveltime1 = lvl3length; } if (_root.whichlevel == 1) { _root.leveltime = lvl1length; } if (_root.whichlevel == 2) { _root.leveltime = lvl2length; } if (_root.whichlevel == 3) { _root.leveltime = lvl3length; } } frame 169 { if (_root.whichlevel == 1) { _root.starttrack1(); } if (_root.whichlevel == 2) { _root.starttrack2(); } if (_root.whichlevel == 3) { _root.midpan.messagepanel.messageboard.gotoAndPlay('Bosswarn'); } } frame 170 { _root.alreadymessage = true; } frame 171 { _root.alreadymessage = true; } frame 185 { _root.alreadymessage = false; } frame 203 { stop(); } frame 203 { _root.alreadymessage = false; } frame 204 { _root.alreadymessage = true; } frame 209 { _root.alreadymessage = false; } frame 247 { stop(); } frame 248 { lvl1length = 251; lvl2length = 275; lvl3length = 111; if (_root.whichlevel == 1) { _root.leveltime1 = lvl1length; } if (_root.whichlevel == 2) { _root.leveltime1 = lvl2length; } if (_root.whichlevel == 3) { _root.leveltime1 = lvl3length; } if (_root.whichlevel == 1) { _root.leveltime = lvl1length; } if (_root.whichlevel == 2) { _root.leveltime = lvl2length; } if (_root.whichlevel == 3) { _root.leveltime = lvl3length; } } frame 278 { _root.startleboss(); } frame 340 { _root.alreadymessage = false; } frame 380 { stop(); } frame 525 { whichframered = Math.round(Math.random() * 48) + 2; _root.midpan.messagepanel.messageboard.redmess.gotoAndStop(whichframered); _root.alreadymessage = true; } frame 663 { stop(); _root.alreadymessage = false; if (_root.whichlevel !== 3) { _root.midpan.messagepanel.messageboard.gotoAndPlay(171); } if (_root.whichlevel == 3) { _root.midpan.messagepanel.messageboard.gotoAndPlay(340); } } frame 665 { whichframewhite = Math.round(Math.random() * 60) + 2; _root.midpan.messagepanel.messageboard.whitemess.gotoAndStop(whichframewhite); _root.alreadymessage = true; } frame 803 { stop(); _root.alreadymessage = false; if (_root.whichlevel !== 3) { _root.midpan.messagepanel.messageboard.gotoAndPlay(171); } if (_root.whichlevel == 3) { _root.midpan.messagepanel.messageboard.gotoAndPlay(340); } } frame 805 { _root.midpan.messagepanel.messageboard.eventmess.gotoAndStop(_root.eventmesschoose); _root.alreadymessage = true; } frame 811 { stop(); } frame 882 { stop(); } frame 883 { whichframeend = Math.round(Math.random() * 13) + 1; _root.midpan.messagepanel.messageboard.endmess.gotoAndStop(whichframeend); _root.alreadymessage = true; } frame 889 { stop(); } frame 960 { stop(); } } movieClip 2921 { frame 1 { _root.alreadymessage = true; } frame 95 { stop(); } frame 167 { stop(); } } movieClip 2925 { } movieClip 2927 { } movieClip 2929 { } movieClip 2931 { } movieClip 2934 { } movieClip 2937 { } movieClip 2938 { } movieClip 2947 { } movieClip 2952 { } movieClip 2954 { } movieClip 2956 { } movieClip 2960 { } movieClip 2967 { } movieClip 2977 { instance of movieClip 2960 { onClipEvent (enterFrame) { this._visible = false; if (this.hitTest(_root.mcPLAYER)) { if (_root.health > 0) { if (_root.hurt == false) { _root.effects(); _root.health -= _root.bottomlaserdam; removeMovieClip(this); _root.hurt = true; } } } } } frame 118 { stop(); } } movieClip 2978 { } movieClip 2980 { } movieClip 2981 { frame 1 { stop(); } } movieClip 2985 { frame 113 { _root.mcPLATFORM2.gotoAndStop(2); _root.mcPLATFORM3.gotoAndStop(2); } frame 121 { stop(); } frame 122 { _root.mcPLATFORM2.gotoAndStop(1); _root.mcPLATFORM3.gotoAndStop(1); } } movieClip 2986 { frame 1 { stop(); } frame 14 { stop(); } } instance midpan of movieClip 2986 { onClipEvent (enterFrame) { if (_root.leveltime1 < 0.1) { _root.leveltime1 = 0; _root.clearmidpanelcount(); } if (_root.leveltime1 < 0.1) { if (_root.endingcalltime == false) { _root.endingcalltime = true; _root.endingcall(); } } } } movieClip 2988 { } movieClip 2989 { } movieClip 2990 { frame 1 { stop(); } } movieClip 2996 { } movieClip 2998 { } movieClip 3002 { frame 3 { if (_root.topfollow == true) { _root.rotatePlayer(); } } frame 7 { if (_root.topfollow == true) { _root.rotatePlayer(); } } } movieClip 3003 { frame 36 { stop(); } frame 50 { stop(); } } movieClip 3005 { frame 1 { stop(); } frame 2 { _root.mcPLAYER._alpha = 50; } frame 4 { _root.mcPLAYER._visible = false; } frame 7 { _root.mcPLAYER._visible = true; } frame 10 { _root.mcPLAYER._visible = false; } frame 13 { _root.mcPLAYER._visible = true; } frame 16 { _root.mcPLAYER._visible = false; } frame 19 { _root.mcPLAYER._visible = true; } frame 22 { _root.mcPLAYER._visible = false; } frame 25 { _root.mcPLAYER._visible = true; } frame 29 { _root.mcPLAYER._visible = false; } frame 32 { this.gotoAndStop(1); _root.mcPLAYER._alpha = 100; _root.mcPLAYER._visible = true; _root.hurt = false; } } movieClip 3015 { } movieClip 3017 { } movieClip 3019 { } movieClip 3023 { } movieClip 3030 { } movieClip 3046 { instance of movieClip 3030 { onClipEvent (enterFrame) { this._visible = false; if (this.hitTest(_root.mcPLAYER)) { if (_root.health > 0) { if (_root.hurt == false) { _root.effects(); _root.health -= _root.toplaserdam; removeMovieClip(this); _root.hurt = true; } } } } } frame 130 { this.stop(); } } movieClip 3047 { } movieClip 3049 { frame 299 { gotoAndStop(1); } } movieClip 3053 { } movieClip 3057 { } movieClip 3058 { } movieClip 3063 { } movieClip 3066 { } movieClip 3067 { } movieClip 3075 { } movieClip 3080 { } movieClip 3081 { frame 1 { stop(); } frame 87 { stop(); } } movieClip 3082 { frame 1 { stop(); } } movieClip 3083 { } movieClip 3087 { frame 3 { if (_root.topfollow2 == true) { _root.rotatePlayer2(); } } } movieClip 3088 { frame 36 { stop(); } frame 50 { stop(); } } movieClip 3090 { } movieClip 3099 { } movieClip 3135 { } movieClip 3140 { instance of movieClip 3135 { onClipEvent (enterFrame) { this._visible = false; if (this.hitTest(_root.mcPLAYER)) { if (_root.health > 0) { if (_root.hurt == false) { _root.effects(); _root.health -= _root.turretgun; removeMovieClip(this); _root.hurt = true; } } } } } instance of movieClip 3135 { onClipEvent (enterFrame) { this._visible = false; if (this.hitTest(_root.mcPLAYER)) { if (_root.health > 0) { if (_root.hurt == false) { _root.effects(); _root.health -= _root.turretgun; removeMovieClip(this); _root.hurt = true; } } } } } instance of movieClip 3135 { onClipEvent (enterFrame) { this._visible = false; if (this.hitTest(_root.mcPLAYER)) { if (_root.health > 0) { if (_root.hurt == false) { _root.effects(); _root.health -= _root.turretgun; removeMovieClip(this); _root.hurt = true; } } } } } instance of movieClip 3135 { onClipEvent (enterFrame) { this._visible = false; if (this.hitTest(_root.mcPLAYER)) { if (_root.health > 0) { if (_root.hurt == false) { _root.effects(); _root.health -= _root.turretgun; removeMovieClip(this); _root.hurt = true; } } } } } instance of movieClip 3135 { onClipEvent (enterFrame) { this._visible = false; if (this.hitTest(_root.mcPLAYER)) { if (_root.health > 0) { if (_root.hurt == false) { _root.effects(); _root.health -= _root.turretgun; removeMovieClip(this); _root.hurt = true; } } } } } instance of movieClip 3135 { onClipEvent (enterFrame) { this._visible = false; if (this.hitTest(_root.mcPLAYER)) { if (_root.health > 0) { if (_root.hurt == false) { _root.effects(); _root.health -= _root.turretgun; removeMovieClip(this); _root.hurt = true; } } } } } instance of movieClip 3135 { onClipEvent (enterFrame) { this._visible = false; if (this.hitTest(_root.mcPLAYER)) { if (_root.health > 0) { if (_root.hurt == false) { _root.effects(); _root.health -= _root.turretgun; removeMovieClip(this); _root.hurt = true; } } } } } instance of movieClip 3135 { onClipEvent (enterFrame) { this._visible = false; if (this.hitTest(_root.mcPLAYER)) { if (_root.health > 0) { if (_root.hurt == false) { _root.effects(); _root.health -= _root.turretgun; removeMovieClip(this); _root.hurt = true; } } } } } instance of movieClip 3135 { onClipEvent (enterFrame) { this._visible = false; if (this.hitTest(_root.mcPLAYER)) { if (_root.health > 0) { if (_root.hurt == false) { _root.effects(); _root.health -= _root.turretgun; removeMovieClip(this); _root.hurt = true; } } } } } instance of movieClip 3135 { onClipEvent (enterFrame) { this._visible = false; if (this.hitTest(_root.mcPLAYER)) { if (_root.health > 0) { if (_root.hurt == false) { _root.effects(); _root.health -= _root.turretgun; removeMovieClip(this); _root.hurt = true; } } } } } } movieClip 3143 { } movieClip 3155 { frame 62 { stop(); _root.target1.go = true; _root.target1.left = true; } frame 99 { stop(); } } instance turret1 of movieClip 3155 { onClipEvent (enterFrame) { _root.turret1.turretbarrel1._rotation = Math.atan2(_root.target1._y - (_root.turret1._y + _root.turret1.turretbarrel1._y), _root.target1._x - (_root.turret1._x + _root.turret1.turretbarrel1._x)) * 180 / Math.PI + 180; } } movieClip 3161 { } movieClip 3162 { } instance target1 of movieClip 3162 { onClipEvent (load) { left = false; right = false; go = false; this._visible = false; } onClipEvent (enterFrame) { if (go == true) { if (left == true) { this._visible = true; this._x -= 2; } if (go == true) { if (right == true) { this._visible = true; this._x += 2; } if (go == true) { if (this._x >= 636) { left = true; right = false; } if (go == true) { if (this._x <= 500) { left = false; right = true; } } } } } } onClipEvent (enterFrame) { function convert(radians) { degrees = radians * 57.29577951308232; return degrees; } this.onEnterFrame = function () { var v3 = this._x - _root.turret1._x; var v4 = this._y - _root.turret1._y; var v5 = Math.atan2(v4, v3); this._rotation = convert(v5); }; } } movieClip 3165 { frame 4 { _root.whichlevel = 3; _root.expcounter.gotoAndPlay(1); _root.allowdrops = true; _root.startleveltimer(); _root.whitetimer.gotoAndPlay(1); } frame 94 { _root.bigbosslittlelaser1go(); } frame 144 { _root.bigbosslittlelaser6go(); } frame 148 { _root.toplaserl3go(); _root.toplaserr3go(); } frame 193 { _root.bigbosssidelaserl2go(); } frame 244 { _root.bigbosssidelaserr5go(); } frame 289 { _root.bigbosslittlelasel3go(); _root.bigbosslittlelaserl1go(); } frame 342 { _root.bigbosslittlelaser1go(); _root.bigbosslittlelaser6go(); } frame 394 { _root.bigbosslittlelaser2go(); _root.bigbosslittlelaser5go(); } frame 439 { _root.bigbosssidelaserr1go(); } frame 487 { _root.bigbosswidebeamgo(); } frame 540 { _root.bigbosssidelaserl2go(); _root.toplaserl3go(); _root.toplaserr3go(); } frame 587 { _root.bigbosssidelaserr2go(); } frame 637 { _root.bigbosslittlelaser1go(); } frame 648 { _root.bigbosslittlelaser2go(); } frame 655 { _root.bigbosslittlelaser3go(); } frame 665 { _root.bigbosslittlelaser4go(); } frame 675 { _root.bigbosslittlelaser5go(); } frame 689 { _root.bigbosssidelaserl5go(); } frame 735 { _root.bigbosssidelaserl6go(); } frame 744 { _root.bigbosssidelaserl5go(); } frame 755 { _root.bigbosssidelaserr4go(); } frame 765 { _root.bigbosssidelaserl3go(); } frame 774 { _root.bigbosssidelaserr2go(); } frame 783 { _root.bigbosswidebeamgo(); } frame 884 { _root.bigbosssidelaserl6go(); } frame 931 { _root.bigbosssidelaserl3go(); } frame 941 { _root.toplaserl3go(); _root.toplaserr3go(); } frame 951 { _root.topfollow = true; _root.roofturretstart(); _root.topfollow2 = true; _root.roofturret2start(); } frame 957 { _root.fireWeapon2(); } frame 983 { _root.fireWeapon(); } frame 983 { _root.bigbosssidelaserr5go(); } frame 998 { _root.fireWeapon2(); } frame 1029 { _root.fireWeapon(); } frame 1032 { _root.bigbosslittlelaser1go(); } frame 1053 { _root.fireWeapon(); } frame 1080 { _root.fireWeapon(); } frame 1081 { _root.bigbosslittlelaser3go(); } frame 1100 { _root.fireWeapon(); } frame 1129 { _root.fireWeapon2(); } frame 1134 { _root.bigbosslittlelaser2go(); } frame 1146 { _root.fireWeapon2(); } frame 1179 { _root.fireWeapon2(); } frame 1184 { _root.bigbosssidelaserr5go(); } frame 1196 { _root.fireWeapon2(); } frame 1231 { _root.fireWeapon(); } frame 1231 { _root.bigbosssidelaserl6go(); } frame 1248 { _root.fireWeapon(); } frame 1280 { _root.fireWeapon2(); } frame 1283 { _root.bigbosssidelaserl3go(); } frame 1297 { _root.fireWeapon2(); } frame 1329 { _root.fireWeapon(); } frame 1329 { _root.bigbosssidelaserr2go(); _root.bigbosssidelaserl1go(); } frame 1346 { _root.fireWeapon(); } frame 1378 { _root.fireWeapon2(); } frame 1378 { _root.bigbosslittlelaser5go(); } frame 1395 { _root.fireWeapon2(); } frame 1397 { _root.toplaserl3go(); _root.toplaserr3go(); } frame 1424 { _root.fireWeapon(); } frame 1430 { _root.bigbosslittlelaser3go(); } frame 1441 { _root.fireWeapon(); } frame 1474 { _root.fireWeapon2(); } frame 1479 { _root.bigbosslittlelaser6go(); } frame 1491 { _root.fireWeapon2(); } frame 1524 { _root.fireWeapon(); } frame 1529 { _root.bigbosslittlelaser2go(); } frame 1541 { _root.fireWeapon(); } frame 1573 { _root.fireWeapon2(); } frame 1578 { _root.bigbosssidelaserr2go(); } frame 1590 { _root.fireWeapon2(); } frame 1601 { _root.leboss.heating.gotoAndPlay(2); } frame 1624 { _root.fireWeapon(); } frame 1627 { _root.bigbosssidelaserl5go(); } frame 1641 { _root.fireWeapon(); } frame 1659 { _root.roofturretstop(); _root.roofturret2stop(); _root.topfollow = false; _root.topfollow2 = false; } frame 1712 { _root.leboss.go = false; } frame 1723 { _root.firelaserlet2(); } frame 1773 { _root.firelaserlet5(); } frame 1823 { _root.firelaserlet6(); } frame 1839 { _root.toplaserl3go(); _root.toplaserr3go(); } frame 1872 { _root.firelaserlet3(); } frame 1921 { _root.bigbosswidebeamgo(); } frame 1971 { _root.firelaserlet4(); } frame 2019 { _root.firelaserlet2(); } frame 2072 { _root.firelaserlet6(); } frame 2072 { _root.bigbosssidelaserr1go(); _root.bigbosssidelaserl2go(); } frame 2089 { _root.bigbosssidelaserr2go(); } frame 2121 { _root.firelaserlet4(); } frame 2168 { _root.firelaserlet5(); } frame 2188 { _root.bigbosslittlelaser1go(); _root.bigbosslittlelaser2go(); } frame 2219 { _root.firelaserlet3(); } frame 2267 { _root.leboss.go = true; } frame 2284 { _root.bigbosssidelaserr4go(); _root.bigbosssidelaserl1go(); } frame 2313 { _root.bigbosslittlelaser2go(); } frame 2333 { _root.bigbosslittlelaser5go(); } frame 2367 { _root.bigbosssidelaserl3go(); } frame 2371 { _root.toplaserl3go(); _root.toplaserr3go(); } frame 2384 { _root.bigbosssidelaserr4go(); _root.bigbosssidelaserl2go(); } frame 2417 { _root.bigbosssidelaserr5go(); } frame 2435 { _root.bigbosswidebeamgo(); } frame 2462 { _root.bigbosssidelaserr1go(); } frame 2482 { _root.bigbosssidelaserr2go(); } frame 2513 { _root.bigbosssidelaserr4go(); } frame 2531 { _root.bigbosssidelaserr5go(); } frame 2561 { _root.bigbosswidebeamgo(); } frame 2581 { _root.bigbosssidelaserl1go(); } frame 2610 { _root.bigbosssidelaserl3go(); } frame 2631 { _root.bigbosssidelaserr4go(); } frame 2661 { _root.bigbosssidelaserl6go(); } frame 2678 { _root.bigbosssidelaserr1go(); } frame 2710 { _root.bigbosssidelaserl3go(); } frame 2721 { _root.toplaserl3go(); _root.toplaserr3go(); } frame 2729 { _root.bigbosssidelaserl5go(); } frame 2759 { _root.bigbosslittlelaser3go(); } frame 2778 { _root.bigbosslittlelaser5go(); _root.bigbosssidelaserl2go(); } frame 2796 { _root.heatup2.gotoAndPlay(2); _root.eventmesschoose = 2; _root.eventcall(); } frame 2809 { _root.bigbosssidelaserr2go(); } frame 2825 { _root.bigbosssidelaserr4go(); } frame 2856 { _root.leboss.go = false; } frame 2875 { _root.firelaserlet2(); } frame 2905 { _root.firelaserlet5(); } frame 2924 { _root.bigbosssidelaserl2go(); _root.bigbosssidelaserl3go(); } frame 2953 { _root.firelaserlet6(); } frame 2972 { _root.firelaserlet1(); } frame 3026 { _root.leboss.go = true; } frame 3026 { _root.bigbosssidelaserl2go(); } frame 3056 { _root.bigbosssidelaserl3go(); } frame 3071 { _root.bigbosssidelaserl5go(); } frame 3103 { _root.bigbosssidelaserl6go(); } frame 3119 { _root.bigbosslittlelaser1go(); _root.bigbosslittlelaser2go(); } frame 3151 { _root.bigbosslittlelaser3go(); _root.bigbosslittlelaser4go(); } frame 3173 { _root.bigbosslittlelaser5go(); _root.bigbosssidelaserl6go(); _root.midpan.messagepanel.messageboard.gotoAndPlay(876); } frame 3201 { _root.leboss.gotoAndPlay(323); _root.leboss.go = false; _root.eventmesschoose = 3; _root.eventcall(); } frame 3369 { _root.botexp += 150; _root.ttlexp += 150; _root.botexpflash.gotoAndPlay(2); _root.completeyscreen = true; _root.save(); _root.whitetimer.gotoAndStop(1); _root.expcounter.gotoAndStop(1); _root.allowdrops = false; _root.gearcol1._x = 577.4500000000001; _root.gearcol1._y = -16.75; _root.gearcol2._x = 577.4500000000001; _root.gearcol2._y = -16.75; _root.gearcol3._x = 577.4500000000001; _root.gearcol3._y = -16.75; _root.gearcol4._x = 577.4500000000001; _root.gearcol4._y = -16.75; _root.gearcol5._x = 577.4500000000001; _root.gearcol5._y = -16.75; _root.clearmidpanelcount(); _root.midpan.messagepanel.messageboard.gotoAndPlay('LEVEL CLEAR'); _root.whichlevel = 1; _root.bosssurv += 1; _root.ttltestpass += 1; } frame 3403 { stop(); } } movieClip 3167 { frame 1 { stop(); } frame 2 { _root.mcPLAYER._alpha = 50; } frame 4 { _root.mcPLAYER._visible = false; } frame 7 { _root.mcPLAYER._visible = true; } frame 10 { _root.mcPLAYER._visible = false; } frame 13 { _root.mcPLAYER._visible = true; } frame 16 { _root.mcPLAYER._visible = false; } frame 19 { _root.mcPLAYER._visible = true; } frame 22 { _root.mcPLAYER._visible = false; } frame 25 { _root.mcPLAYER._visible = true; } frame 29 { _root.mcPLAYER._visible = false; } frame 33 { _root.mcPLAYER._visible = true; } frame 37 { _root.mcPLAYER._visible = false; } frame 41 { _root.mcPLAYER._visible = true; } frame 45 { _root.mcPLAYER._visible = false; } frame 49 { _root.mcPLAYER._visible = true; } frame 53 { _root.mcPLAYER._visible = false; } frame 57 { _root.mcPLAYER._visible = true; } frame 61 { _root.mcPLAYER._visible = false; } frame 65 { _root.mcPLAYER._visible = true; } frame 69 { _root.mcPLAYER._visible = false; } frame 73 { _root.mcPLAYER._visible = true; } frame 77 { _root.mcPLAYER._visible = false; } frame 80 { this.gotoAndStop(1); _root.mcPLAYER._alpha = 100; _root.mcPLAYER._visible = true; _root.hurt = false; } } movieClip 3169 { } movieClip 3171 { } movieClip 3175 { frame 14 { if (_root.longopendoor == true) { _root.mcPLAYER._visible = true; _root.enablecontrols(); } } frame 17 { if (_root.longopendoor == false) { _root.respawnbot(); _root.botlvlupdater(); _root.expneededcalc(); _root.killedrobot = false; _root.health = 100; _root.mcPLAYER._visible = true; _root.mcPLAYER._alpha = 100; } } frame 19 { if (_root.creditsdoor == true) { stop(); } } frame 23 { _root.longopendoor = false; } frame 39 { stop(); _root.hurt = false; } } instance arenaindoor of movieClip 3175 { onClipEvent (enterFrame) { if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) { if (_root.longopendoor == false) { if (Key.isDown(32)) { _root.clearmidpanelcount(); _root.mcPLAYER._x = 564.5; _root.mcPLAYER._y = 419.95; _root.stamina = 'moo'; _root.health = 'moo'; _root.escapecounter(); _root.consoleinstructions = true; _root.rankpoint += 1; _root.stopconfetti(); _root.confstopped = true; _root.gotoAndStop('mainroom'); } } } } } movieClip 3176 { frame 300 { _root.botexp += 1; _root.botexpflash.gotoAndPlay(2); } } instance expcounter of movieClip 3176 { onClipEvent (enterFrame) { if (_root.health < 1) { if (_root.shieldson == true) { _root.mcPLAYER._visible = false; _root.deadbot(); } } if (_root.health == 0) { if (_root.shieldson == false) { if (_root.hurt == false) { _root.deadbot(); } } } if (_root.health < 1) { _root.deadbot(); } } } movieClip 3177 { } movieClip 3178 { instance of movieClip 3177 { onClipEvent (enterFrame) { if (this.hitTest(_root.mcPLAYER)) { _root.mcPLAYER._x += 3; } } } frame 30 { stop(); } frame 55 { stop(); } } movieClip 3179 { } movieClip 3184 { } movieClip 3188 { } movieClip 3192 { } movieClip 3197 { } movieClip 3214 { } movieClip 3218 { } movieClip 3221 { } movieClip 3222 { } movieClip 3226 { } movieClip 3229 { } movieClip 3248 { } movieClip 3249 { frame 152 { stop(); } frame 152 { stop(); } instance of movieClip 3229 { onClipEvent (enterFrame) { if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) { _root.health = 100; _root.healthdropflash.gotoAndPlay(2); _root.droppedhealthbox.gotoAndPlay(167); } } } frame 226 { stop(); } } movieClip 3253 { } movieClip 3254 { } movieClip 3258 { frame 152 { stop(); } frame 152 { stop(); } instance of movieClip 3229 { onClipEvent (enterFrame) { if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) { _root.stamina = 100; _root.shielddropflash.gotoAndPlay(2); _root.droppedshieldbox.gotoAndPlay(167); } } } frame 226 { stop(); } } movieClip 3260 { } movieClip 3261 { } movieClip 3262 { } movieClip 3263 { } movieClip 3264 { frame 3 { _root.botexp += 0.5; _root.ttlexp += 0.5; _root.cogscollected += 1; _root.cogscollcurrent += 1; _root.cogcoin += 1; _root.ttlcogscollected += 1; _root.botexpflash.gotoAndPlay(2); if (_root.ttlcogscollected > 299) { _root.achieve21get(); } } frame 15 { stop(); geardrop = 0; _root.gearcol1._y = -14.8; _root.gearcol1._x = Math.round(Math.random() * 574) + 33.45; _root.gearcol1.gotoAndStop(1); } } movieClip 3265 { frame 1 { gearframe = Math.round(Math.random() * 2); this.gotoAndStop(gearframe); gearsize = Math.round(Math.random() * 50) + 50; this._xscale = gearsize; this._yscale = gearsize; restartgear = false; geardrop = 0; _root.gearcol1._x = Math.round(Math.random() * 574) + 33.45; stop(); } frame 3 { } } instance gearcol1 of movieClip 3265 { onClipEvent (enterFrame) { if (this.geardrop == 10) { if (_root.allowdrops == true) { if (this._y < 400) { this._y += 40; } } } if (this.geardrop == 10) { if (this._y > 400) { this._y = 400; } } if (geardrop !== 10) { if (_root.allowdrops == true) { geardrop = Math.round(Math.random() * 200) + 1; } } if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) { this.gotoAndStop(3); } } } movieClip 3266 { frame 3 { _root.botexp += 0.5; _root.ttlexp += 0.5; _root.cogscollected += 1; _root.cogscollcurrent += 1; _root.cogcoin += 1; _root.ttlcogscollected += 1; _root.botexpflash.gotoAndPlay(2); if (_root.ttlcogscollected > 299) { _root.achieve21get(); } } frame 15 { stop(); geardrop = 0; _root.gearcol2._y = -14.8; _root.gearcol2._x = Math.round(Math.random() * 574) + 33.45; _root.gearcol2.gotoAndStop(1); } } movieClip 3267 { frame 1 { gearframe = Math.round(Math.random() * 2); this.gotoAndStop(gearframe); gearsize = Math.round(Math.random() * 50) + 50; this._xscale = gearsize; this._yscale = gearsize; restartgear = false; geardrop = 0; _root.gearcol2._x = Math.round(Math.random() * 574) + 33.45; stop(); } frame 3 { } } instance gearcol2 of movieClip 3267 { onClipEvent (enterFrame) { if (this.geardrop == 10) { if (_root.allowdrops == true) { if (this._y < 400) { this._y += 40; } } } if (this.geardrop == 10) { if (this._y > 400) { this._y = 400; } } if (geardrop !== 10) { if (_root.allowdrops == true) { geardrop = Math.round(Math.random() * 200) + 1; } } if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) { this.gotoAndStop(3); } } } movieClip 3268 { frame 3 { _root.botexp += 0.5; _root.ttlexp += 0.5; _root.cogscollected += 1; _root.cogscollcurrent += 1; _root.cogcoin += 1; _root.ttlcogscollected += 1; _root.botexpflash.gotoAndPlay(2); if (_root.ttlcogscollected > 299) { _root.achieve21get(); } } frame 15 { stop(); geardrop = 0; _root.gearcol3._y = -14.8; _root.gearcol3._x = Math.round(Math.random() * 574) + 33.45; _root.gearcol3.gotoAndStop(1); } } movieClip 3269 { frame 1 { gearframe = Math.round(Math.random() * 2); this.gotoAndStop(gearframe); gearsize = Math.round(Math.random() * 50) + 50; this._xscale = gearsize; this._yscale = gearsize; restartgear = false; geardrop = 0; _root.gearcol3._x = Math.round(Math.random() * 574) + 33.45; stop(); } frame 3 { } } instance gearcol3 of movieClip 3269 { onClipEvent (enterFrame) { if (this.geardrop == 10) { if (_root.allowdrops == true) { if (this._y < 400) { this._y += 40; } } } if (this.geardrop == 10) { if (this._y > 400) { this._y = 400; } } if (geardrop !== 10) { if (_root.allowdrops == true) { geardrop = Math.round(Math.random() * 200) + 1; } } if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) { this.gotoAndStop(3); } } } movieClip 3270 { frame 3 { _root.botexp += 0.5; _root.ttlexp += 0.5; _root.cogscollected += 1; _root.cogscollcurrent += 1; _root.cogcoin += 1; _root.ttlcogscollected += 1; _root.botexpflash.gotoAndPlay(2); if (_root.ttlcogscollected > 299) { _root.achieve21get(); } } frame 15 { stop(); geardrop = 0; _root.gearcol4._y = -14.8; _root.gearcol4._x = Math.round(Math.random() * 574) + 33.45; _root.gearcol4.gotoAndStop(1); } } movieClip 3271 { frame 1 { gearframe = Math.round(Math.random() * 2); this.gotoAndStop(gearframe); gearsize = Math.round(Math.random() * 50) + 50; this._xscale = gearsize; this._yscale = gearsize; restartgear = false; geardrop = 0; _root.gearcol4._x = Math.round(Math.random() * 574) + 33.45; stop(); } frame 3 { } } instance gearcol4 of movieClip 3271 { onClipEvent (enterFrame) { if (this.geardrop == 10) { if (_root.allowdrops == true) { if (this._y < 400) { this._y += 40; } } } if (this.geardrop == 10) { if (this._y > 400) { this._y = 400; } } if (geardrop !== 10) { if (_root.allowdrops == true) { geardrop = Math.round(Math.random() * 200) + 1; } } if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) { this.gotoAndStop(3); } } } movieClip 3272 { frame 3 { _root.botexp += 0.5; _root.ttlexp += 0.5; _root.cogscollected += 1; _root.cogscollcurrent += 1; _root.cogcoin += 1; _root.ttlcogscollected += 1; _root.botexpflash.gotoAndPlay(2); if (_root.ttlcogscollected > 299) { _root.achieve21get(); } } frame 15 { stop(); geardrop = 0; _root.gearcol5._y = -14.8; _root.gearcol5._x = Math.round(Math.random() * 574) + 33.45; _root.gearcol5.gotoAndStop(1); } } movieClip 3273 { frame 1 { gearframe = Math.round(Math.random() * 2); this.gotoAndStop(gearframe); gearsize = Math.round(Math.random() * 50) + 50; this._xscale = gearsize; this._yscale = gearsize; restartgear = false; geardrop = 0; _root.gearcol5._x = Math.round(Math.random() * 574) + 33.45; stop(); } frame 3 { } } instance gearcol5 of movieClip 3273 { onClipEvent (enterFrame) { if (this.geardrop == 10) { if (_root.allowdrops == true) { if (this._y < 400) { this._y += 40; } } } if (this.geardrop == 10) { if (this._y > 400) { this._y = 400; } } if (geardrop !== 10) { if (_root.allowdrops == true) { geardrop = Math.round(Math.random() * 200) + 1; } } if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) { this.gotoAndStop(3); } } } instance of movieClip 3075 { onClipEvent (enterFrame) { if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) { _root.mcPLAYER._x -= 1; } } } movieClip 3274 { frame 300 { stop(); } } movieClip 3276 { frame 3 { _root.endingcalltime = false; _root.whichlevel = 1; _root.expcounter.gotoAndPlay(1); _root.allowdrops = true; _root.startleveltimer(); _root.whitetimer.gotoAndPlay(1); } frame 36 { _root.roofturretstart(); } frame 96 { _root.rotatePlayer(); _root.topfollow = true; } frame 136 { _root.fireWeapon(); } frame 146 { _root.fireWeapon(); } frame 166 { _root.fireWeapon(); } frame 196 { _root.fireWeapon(); } frame 226 { _root.fireWeapon(); } frame 243 { _root.fireWeapon(); } frame 273 { _root.fireWeapon(); } frame 290 { _root.fireWeapon(); } frame 371 { _root.toplasermgo(); } frame 397 { _root.fireWeapon(); } frame 416 { _root.fireWeapon(); } frame 435 { _root.topfollow = false; _root.topfollow2 = false; _root.roofturretclose(); } frame 461 { _root.toplaserr3go(); _root.toplaserl3go(); } frame 551 { _root.toplaserr2go(); _root.toplaserlgo(); } frame 632 { _root.toplaserrgo(); _root.toplaserl2go(); } frame 801 { _root.roofturretstart(); _root.roofturret2start(); _root.rotatePlayer(); _root.topfollow = true; _root.rotatePlayer2(); _root.topfollow2 = true; } frame 845 { _root.fireWeapon(); } frame 856 { _root.fireWeapon2(); } frame 886 { _root.fireWeapon(); } frame 901 { _root.fireWeapon2(); } frame 916 { _root.fireWeapon(); } frame 922 { _root.fireWeapon2(); } frame 933 { _root.fireWeapon(); } frame 948 { _root.fireWeapon2(); } frame 951 { _root.toplaserr2go(); _root.toplaserr3go(); _root.toplaserrgo(); } frame 963 { _root.fireWeapon(); } frame 969 { _root.fireWeapon2(); } frame 978 { _root.fireWeapon(); } frame 993 { _root.fireWeapon2(); } frame 1008 { _root.fireWeapon(); } frame 1014 { _root.fireWeapon2(); } frame 1021 { _root.fireWeapon(); } frame 1036 { _root.fireWeapon2(); } frame 1051 { _root.fireWeapon(); } frame 1057 { _root.fireWeapon2(); } frame 1064 { _root.fireWeapon(); } frame 1079 { _root.fireWeapon2(); } frame 1094 { _root.fireWeapon(); } frame 1100 { _root.fireWeapon2(); } frame 1113 { _root.fireWeapon(); } frame 1124 { _root.fireWeapon(); } frame 1135 { _root.fireWeapon(); } frame 1147 { _root.fireWeapon(); } frame 1153 { _root.fireWeapon(); } frame 1162 { _root.topfollow = false; _root.topfollow2 = false; _root.roofturretclose(); _root.roofturret2close(); } frame 1166 { _root.bottomlasergo(); } frame 1326 { _root.toplaserl2go(); _root.toplaserl3go(); _root.toplaserlgo(); } frame 1407 { _root.topfollow = true; _root.roofturretstart(); _root.topfollow2 = true; _root.roofturret2start(); } frame 1426 { _root.fireWeapon(); } frame 1441 { _root.fireWeapon2(); } frame 1456 { _root.fireWeapon(); } frame 1462 { _root.fireWeapon2(); } frame 1516 { _root.fireWeapon(); } frame 1531 { _root.fireWeapon2(); } frame 1546 { _root.fireWeapon(); } frame 1552 { _root.fireWeapon2(); } frame 1559 { _root.fireWeapon(); } frame 1574 { _root.fireWeapon2(); } frame 1589 { _root.fireWeapon(); } frame 1595 { _root.fireWeapon2(); } frame 1602 { _root.fireWeapon(); } frame 1617 { _root.fireWeapon2(); } frame 1632 { _root.fireWeapon(); } frame 1638 { _root.fireWeapon2(); } frame 1645 { _root.fireWeapon(); } frame 1660 { _root.fireWeapon2(); } frame 1675 { _root.fireWeapon(); } frame 1681 { _root.fireWeapon2(); } frame 1689 { _root.fireWeapon(); } frame 1704 { _root.fireWeapon2(); } frame 1719 { _root.fireWeapon(); } frame 1725 { _root.fireWeapon2(); } frame 1732 { _root.fireWeapon(); } frame 1747 { _root.fireWeapon2(); } frame 1762 { _root.fireWeapon(); } frame 1768 { _root.fireWeapon2(); } frame 1775 { _root.fireWeapon(); } frame 1790 { _root.fireWeapon2(); } frame 1805 { _root.fireWeapon(); } frame 1811 { _root.fireWeapon2(); } frame 1818 { _root.fireWeapon(); } frame 1871 { _root.fireWeapon(); _root.fireWeapon2(); } frame 1917 { _root.fireWeapon(); _root.fireWeapon2(); } frame 1963 { _root.fireWeapon(); _root.fireWeapon2(); } frame 1997 { _root.fireWeapon(); } frame 2000 { _root.fireWeapon(); } frame 2003 { _root.fireWeapon(); } frame 2006 { _root.fireWeapon(); } frame 2012 { _root.fireWeapon(); _root.fireWeapon2(); } frame 2051 { _root.fireWeapon(); _root.fireWeapon2(); } frame 2097 { _root.fireWeapon(); _root.fireWeapon2(); } frame 2133 { _root.roofstomprgo(); } frame 2141 { _root.fireWeapon(); _root.fireWeapon2(); } frame 2186 { _root.fireWeapon(); } frame 2190 { _root.fireWeapon(); } frame 2194 { _root.fireWeapon(); } frame 2198 { _root.fireWeapon(); _root.fireWeapon2(); } frame 2205 { _root.roofturretstop(); _root.roofturret2stop(); _root.topfollow = false; _root.topfollow2 = false; } frame 2250 { _root.toplaserr3go(); } frame 2341 { _root.toplaserr2go(); } frame 2471 { _root.toplaserrgo(); } frame 2526 { _root.toplasermgo(); } frame 2606 { _root.toplaserl2go(); } frame 2696 { _root.toplaserlgo(); } frame 2791 { _root.leftlaserdiaggo(); _root.rightlaserdiaggo(); } frame 2826 { _root.toplaserl3go(); } frame 2852 { _root.roofstomplgo(); } frame 2936 { _root.bottomlasergo(); } frame 3231 { _root.toplasermgo(); _root.toplaserrgo(); _root.toplaserr2go(); _root.toplaserr3go(); _root.toplaserlgo(); _root.toplaserl2go(); _root.toplaserl3go(); } frame 3295 { _root.roofstomplgo(); } frame 3295 { _root.topfollow = true; _root.roofturretstart(); _root.topfollow2 = true; _root.roofturret2start(); } frame 3303 { _root.fireWeapon(); } frame 3344 { _root.fireWeapon(); } frame 3381 { _root.roofstomprgo(); } frame 3393 { _root.fireWeapon(); } frame 3402 { _root.fireWeapon2(); } frame 3434 { _root.fireWeapon(); } frame 3446 { _root.fireWeapon2(); } frame 3481 { _root.fireWeapon(); } frame 3492 { _root.fireWeapon2(); } frame 3524 { _root.fireWeapon(); } frame 3563 { _root.roofstomplgo(); } frame 3566 { _root.fireWeapon(); } frame 3615 { _root.fireWeapon2(); } frame 3636 { _root.fireWeapon2(); } frame 3651 { _root.roofstomprgo(); } frame 3700 { _root.fireWeapon(); } frame 3745 { _root.fireWeapon(); } frame 3759 { _root.fireWeapon2(); } frame 3791 { _root.fireWeapon(); } frame 3831 { _root.roofstomplgo(); } frame 3835 { _root.fireWeapon(); } frame 3881 { _root.fireWeapon(); } frame 3916 { _root.roofstomprgo(); } frame 3924 { _root.fireWeapon(); } frame 3951 { _root.toplaserlgo(); _root.toplasermgo(); _root.toplaserr2go(); } frame 4007 { _root.roofturretstop(); _root.roofturret2stop(); _root.topfollow = false; _root.topfollow2 = false; } frame 4121 { _root.toplaserl3go(); _root.toplaserl2go(); _root.toplaserrgo(); _root.toplaserr3go(); } frame 4256 { _root.toplaserlgo(); _root.toplasermgo(); _root.toplaserr2go(); } frame 4278 { _root.roofstomplgo(); } frame 4351 { _root.rightlaserdiaggo(); } frame 4430 { _root.leftlaserdiaggo(); } frame 4466 { _root.topfollow = true; _root.roofturretstart(); _root.topfollow2 = true; _root.roofturret2start(); } frame 4506 { _root.fireWeapon2(); } frame 4521 { _root.fireWeapon(); } frame 4527 { _root.fireWeapon2(); } frame 4534 { _root.fireWeapon(); } frame 4549 { _root.fireWeapon2(); } frame 4564 { _root.fireWeapon(); } frame 4570 { _root.fireWeapon2(); } frame 4577 { _root.fireWeapon(); } frame 4595 { _root.fireWeapon2(); } frame 4610 { _root.fireWeapon(); } frame 4612 { _root.toplasermgo(); } frame 4616 { _root.fireWeapon2(); } frame 4623 { _root.fireWeapon(); } frame 4638 { _root.fireWeapon2(); } frame 4653 { _root.fireWeapon(); } frame 4659 { _root.fireWeapon2(); } frame 4666 { _root.fireWeapon(); } frame 4668 { _root.leftlaserdiaggo(); _root.rightlaserdiaggo(); } frame 4732 { _root.fireWeapon2(); } frame 4747 { _root.fireWeapon(); } frame 4753 { _root.fireWeapon2(); } frame 4760 { _root.fireWeapon(); } frame 4775 { _root.fireWeapon2(); } frame 4790 { _root.fireWeapon(); } frame 4796 { _root.fireWeapon2(); } frame 4803 { _root.fireWeapon(); } frame 4819 { _root.fireWeapon2(); } frame 4834 { _root.fireWeapon(); } frame 4840 { _root.fireWeapon2(); } frame 4846 { _root.toplaserr3go(); } frame 4847 { _root.fireWeapon(); } frame 4862 { _root.fireWeapon2(); } frame 4877 { _root.fireWeapon(); } frame 4883 { _root.fireWeapon2(); } frame 4890 { _root.fireWeapon(); } frame 4906 { _root.fireWeapon2(); } frame 4921 { _root.fireWeapon(); } frame 4927 { _root.fireWeapon2(); } frame 4934 { _root.fireWeapon(); } frame 4950 { _root.fireWeapon2(); } frame 4965 { _root.fireWeapon(); } frame 4966 { _root.bottomlasergo(); } frame 4971 { _root.fireWeapon2(); } frame 4978 { _root.fireWeapon(); } frame 4993 { _root.fireWeapon2(); } frame 5008 { _root.fireWeapon(); } frame 5011 { _root.toplasermgo(); _root.toplaserl3go(); } frame 5014 { _root.fireWeapon2(); } frame 5021 { _root.fireWeapon(); } frame 5042 { _root.fireWeapon(); } frame 5048 { _root.fireWeapon2(); } frame 5054 { _root.fireWeapon(); } frame 5065 { _root.fireWeapon(); } frame 5072 { _root.fireWeapon2(); } frame 5091 { _root.gundstart(); } frame 5091 { _root.topfollow = false; _root.topfollow2 = false; _root.roofturretclose(); _root.roofturret2close(); } frame 5101 { _root.toplaserlgo(); _root.toplaserl2go(); } frame 5189 { _root.toplaserrgo(); _root.toplaserr2go(); } frame 5281 { _root.toplaserlgo(); _root.toplaserl2go(); } frame 5281 { _root.gunclose(); } frame 5301 { _root.leftlaserdiaggo(); _root.rightlaserdiaggo(); } frame 5353 { _root.roofstomprgo(); } frame 5479 { _root.topfollow = true; _root.roofturretstart(); _root.topfollow2 = true; _root.roofturret2start(); } frame 5489 { _root.fireWeapon2(); } frame 5504 { _root.fireWeapon(); } frame 5510 { _root.fireWeapon2(); } frame 5517 { _root.fireWeapon(); } frame 5533 { _root.fireWeapon2(); } frame 5548 { _root.fireWeapon(); } frame 5554 { _root.fireWeapon2(); } frame 5561 { _root.fireWeapon(); } frame 5576 { _root.fireWeapon2(); } frame 5591 { _root.fireWeapon(); } frame 5597 { _root.fireWeapon2(); } frame 5604 { _root.fireWeapon(); } frame 5620 { _root.fireWeapon2(); } frame 5635 { _root.fireWeapon(); } frame 5641 { _root.fireWeapon2(); } frame 5648 { _root.fireWeapon(); } frame 5663 { _root.fireWeapon2(); } frame 5678 { _root.fireWeapon(); } frame 5684 { _root.fireWeapon2(); } frame 5691 { _root.fireWeapon(); } frame 5707 { _root.fireWeapon2(); } frame 5722 { _root.fireWeapon(); } frame 5728 { _root.fireWeapon2(); } frame 5735 { _root.fireWeapon(); } frame 5756 { _root.fireWeapon(); } frame 5768 { _root.fireWeapon2(); } frame 5784 { _root.fireWeapon2(); } frame 5790 { _root.fireWeapon(); } frame 5803 { _root.fireWeapon(); } frame 5809 { _root.fireWeapon(); } frame 5814 { _root.fireWeapon(); } frame 5818 { _root.fireWeapon(); } frame 5824 { _root.fireWeapon(); } frame 5829 { _root.fireWeapon(); } frame 5834 { _root.fireWeapon(); } frame 5846 { _root.fireWeapon2(); } frame 5861 { _root.fireWeapon(); } frame 5867 { _root.fireWeapon2(); } frame 5874 { _root.fireWeapon(); } frame 5890 { _root.fireWeapon2(); } frame 5905 { _root.fireWeapon(); } frame 5911 { _root.fireWeapon2(); } frame 5918 { _root.fireWeapon(); } frame 5931 { _root.fireWeapon2(); } frame 5946 { _root.fireWeapon(); } frame 5952 { _root.fireWeapon2(); } frame 5959 { _root.fireWeapon(); } frame 5975 { _root.fireWeapon2(); } frame 5990 { _root.fireWeapon(); } frame 5996 { _root.fireWeapon2(); } frame 5998 { _root.bottomlasergo(); } frame 6003 { _root.fireWeapon(); } frame 6021 { _root.fireWeapon2(); } frame 6036 { _root.fireWeapon(); } frame 6042 { _root.fireWeapon2(); } frame 6049 { _root.fireWeapon(); } frame 6065 { _root.fireWeapon2(); } frame 6080 { _root.fireWeapon(); } frame 6086 { _root.fireWeapon2(); } frame 6093 { _root.fireWeapon(); } frame 6105 { _root.topfollow = false; _root.topfollow2 = false; _root.roofturretclose(); _root.roofturret2close(); } frame 6248 { _root.topfollow = true; _root.roofturretstart(); _root.topfollow2 = true; _root.roofturret2start(); } frame 6258 { _root.fireWeapon2(); } frame 6271 { _root.fireWeapon(); } frame 6276 { _root.fireWeapon2(); } frame 6279 { _root.leftlaserdiaggo(); _root.rightlaserdiaggo(); } frame 6281 { _root.fireWeapon(); } frame 6300 { _root.fireWeapon2(); } frame 6315 { _root.fireWeapon(); } frame 6321 { _root.fireWeapon2(); } frame 6328 { _root.fireWeapon(); } frame 6344 { _root.fireWeapon2(); } frame 6359 { _root.fireWeapon(); } frame 6365 { _root.fireWeapon2(); } frame 6372 { _root.fireWeapon(); } frame 6391 { _root.fireWeapon2(); } frame 6406 { _root.fireWeapon(); } frame 6412 { _root.fireWeapon2(); } frame 6419 { _root.fireWeapon(); } frame 6435 { _root.fireWeapon2(); } frame 6450 { _root.fireWeapon(); } frame 6456 { _root.fireWeapon2(); } frame 6463 { _root.fireWeapon(); } frame 6482 { _root.fireWeapon2(); } frame 6487 { _root.toplaserr3go(); } frame 6497 { _root.fireWeapon(); } frame 6503 { _root.fireWeapon2(); } frame 6507 { _root.toplaserr2go(); } frame 6510 { _root.fireWeapon(); } frame 6526 { _root.fireWeapon2(); } frame 6531 { _root.toplaserrgo(); } frame 6541 { _root.fireWeapon(); } frame 6547 { _root.fireWeapon2(); } frame 6553 { _root.toplaserl3go(); } frame 6554 { _root.fireWeapon(); } frame 6559 { _root.topfollow = false; _root.topfollow2 = false; _root.roofturretclose(); _root.roofturret2close(); } frame 6588 { _root.toplaserlgo(); } frame 6596 { _root.toplaserl2go(); } frame 6618 { _root.toplasermgo(); } frame 6666 { _root.rightlaserdiaggo(); } frame 6708 { _root.leftlaserdiaggo(); } frame 6822 { _root.roofstomplgo(); _root.roofstomprgo(); } frame 6936 { _root.toplasermgo(); } frame 6953 { _root.toplaserl2go(); _root.toplaserrgo(); } frame 6977 { _root.leftlaserdiaggo(); _root.rightlaserdiaggo(); } frame 7181 { _root.roofstomplgo(); _root.roofstomprgo(); } frame 7212 { _root.leftlaserdiaggo(); } frame 7221 { _root.rightlaserdiaggo(); } frame 7266 { _root.toplaserrgo(); } frame 7277 { _root.toplaserl2go(); } frame 7324 { _root.bottomlasergo(); } frame 7334 { _root.toplasermgo(); } frame 7346 { _root.toplaserlgo(); } frame 7357 { _root.toplaserr2go(); } frame 7491 { _root.toplaserr3go(); _root.toplaserl3go(); } frame 7501 { _root.toplaserr2go(); _root.toplaserlgo(); } frame 7566 { _root.toplasermgo(); } frame 7616 { _root.topfollow = true; _root.roofturretstart(); _root.topfollow2 = true; _root.roofturret2start(); } frame 7631 { _root.fireWeapon2(); } frame 7646 { _root.fireWeapon(); } frame 7652 { _root.fireWeapon2(); } frame 7659 { _root.toplaserr2go(); } frame 7659 { _root.fireWeapon(); } frame 7675 { _root.fireWeapon2(); } frame 7690 { _root.fireWeapon(); } frame 7696 { _root.fireWeapon2(); } frame 7703 { _root.fireWeapon(); } frame 7719 { _root.fireWeapon2(); } frame 7734 { _root.fireWeapon(); } frame 7740 { _root.fireWeapon2(); } frame 7747 { _root.fireWeapon(); } frame 7749 { _root.toplaserl2go(); } frame 7765 { _root.fireWeapon2(); } frame 7780 { _root.fireWeapon(); } frame 7786 { _root.fireWeapon2(); } frame 7793 { _root.fireWeapon(); } frame 7808 { _root.fireWeapon2(); } frame 7823 { _root.fireWeapon(); } frame 7829 { _root.fireWeapon2(); } frame 7836 { _root.fireWeapon(); } frame 7837 { _root.toplaserrgo(); } frame 7852 { _root.fireWeapon2(); } frame 7867 { _root.fireWeapon(); } frame 7873 { _root.fireWeapon2(); } frame 7880 { _root.fireWeapon(); } frame 7901 { _root.fireWeapon2(); } frame 7916 { _root.fireWeapon(); } frame 7922 { _root.fireWeapon2(); } frame 7926 { _root.toplaserr3go(); _root.toplaserl3go(); } frame 7929 { _root.fireWeapon(); } frame 7944 { _root.fireWeapon(); } frame 7953 { _root.fireWeapon(); } frame 7962 { _root.fireWeapon(); } frame 7972 { _root.fireWeapon(); } frame 7980 { _root.fireWeapon(); } frame 7989 { _root.fireWeapon2(); } frame 8004 { _root.fireWeapon(); } frame 8010 { _root.fireWeapon2(); } frame 8017 { _root.toplasermgo(); } frame 8017 { _root.fireWeapon(); } frame 8032 { _root.fireWeapon2(); } frame 8047 { _root.fireWeapon(); } frame 8053 { _root.fireWeapon2(); } frame 8060 { _root.fireWeapon(); } frame 8076 { _root.fireWeapon2(); } frame 8091 { _root.fireWeapon(); } frame 8097 { _root.fireWeapon2(); } frame 8104 { _root.toplaserr2go(); _root.toplaserlgo(); } frame 8104 { _root.fireWeapon(); } frame 8124 { _root.fireWeapon2(); } frame 8139 { _root.fireWeapon(); } frame 8145 { _root.fireWeapon2(); } frame 8152 { _root.fireWeapon(); } frame 8169 { _root.fireWeapon2(); } frame 8184 { _root.fireWeapon(); } frame 8190 { _root.fireWeapon2(); } frame 8195 { _root.rightlaserdiaggo(); _root.leftlaserdiaggo(); } frame 8197 { _root.fireWeapon(); } frame 8212 { _root.fireWeapon2(); } frame 8227 { _root.fireWeapon(); } frame 8233 { _root.fireWeapon2(); } frame 8240 { _root.fireWeapon(); } frame 8253 { _root.fireWeapon2(); } frame 8268 { _root.fireWeapon(); } frame 8274 { _root.fireWeapon2(); } frame 8281 { _root.fireWeapon(); } frame 8297 { _root.roofstomplgo(); } frame 8307 { _root.fireWeapon(); } frame 8312 { _root.fireWeapon(); } frame 8317 { _root.fireWeapon(); } frame 8322 { _root.fireWeapon(); } frame 8328 { _root.fireWeapon(); } frame 8333 { _root.fireWeapon(); } frame 8339 { _root.fireWeapon(); } frame 8343 { _root.fireWeapon(); } frame 8344 { _root.roofstomprgo(); } frame 8347 { _root.fireWeapon(); } frame 8356 { _root.topfollow = false; _root.topfollow2 = false; _root.roofturretclose(); _root.roofturret2close(); } frame 8407 { _root.toplasermgo(); _root.toplaserrgo(); _root.toplaserl2go(); } frame 8523 { _root.roofstomplgo(); } frame 8568 { _root.roofstomprgo(); } frame 8628 { _root.rightlaserdiaggo(); _root.leftlaserdiaggo(); } frame 8719 { _root.toplaserl3go(); } frame 8776 { _root.toplaserr3go(); } frame 8808 { _root.toplaserlgo(); } frame 8852 { _root.toplaserr2go(); } frame 8907 { _root.toplasermgo(); } frame 8966 { _root.roofstomplgo(); _root.roofstomprgo(); } frame 9010 { _root.drophealth(); _root.dropshield(); } frame 9094 { _root.botexp += 50; _root.ttlexp += 50; _root.ttltestpass += 1; _root.botexpflash.gotoAndPlay(2); _root.save(); _root.whitetimer.gotoAndStop(1); _root.expcounter.gotoAndStop(1); _root.allowdrops = false; _root.gearcol1._x = 577.4500000000001; _root.gearcol1._y = -16.75; _root.gearcol2._x = 577.4500000000001; _root.gearcol2._y = -16.75; _root.gearcol3._x = 577.4500000000001; _root.gearcol3._y = -16.75; _root.gearcol4._x = 577.4500000000001; _root.gearcol4._y = -16.75; _root.gearcol5._x = 577.4500000000001; _root.gearcol5._y = -16.75; _root.clearmidpanelcount(); _root.midpan.messagepanel.messageboard.gotoAndPlay('LEVEL CLEAR'); } frame 9163 { stop(); _root.whichlevel = 2; _root.midpan.messagepanel.messageboard.gotoAndPlay('level01'); } } movieClip 3284 { } movieClip 3289 { } movieClip 3300 { instance of movieClip 3289 { onClipEvent (enterFrame) { this._visible = false; if (this.hitTest(_root.mcPLAYER)) { if (_root.health > 0) { if (_root.hurt == false) { _root.effects(); _root.health -= _root.toplaserdam; removeMovieClip(this); _root.hurt = true; } } } } } instance of movieClip 3289 { onClipEvent (enterFrame) { this._visible = false; if (this.hitTest(_root.mcPLAYER)) { if (_root.health > 0) { if (_root.hurt == false) { _root.effects(); _root.health -= _root.toplaserdam; removeMovieClip(this); _root.hurt = true; } } } } } instance of movieClip 3289 { onClipEvent (enterFrame) { this._visible = false; if (this.hitTest(_root.mcPLAYER)) { if (_root.health > 0) { if (_root.hurt == false) { _root.effects(); _root.health -= _root.toplaserdam; removeMovieClip(this); _root.hurt = true; } } } } } instance of movieClip 3289 { onClipEvent (enterFrame) { this._visible = false; if (this.hitTest(_root.mcPLAYER)) { if (_root.health > 0) { if (_root.hurt == false) { _root.effects(); _root.health -= _root.toplaserdam; removeMovieClip(this); _root.hurt = true; } } } } } instance of movieClip 3289 { onClipEvent (enterFrame) { this._visible = false; if (this.hitTest(_root.mcPLAYER)) { if (_root.health > 0) { if (_root.hurt == false) { _root.effects(); _root.health -= _root.toplaserdam; removeMovieClip(this); _root.hurt = true; } } } } } instance of movieClip 3289 { onClipEvent (enterFrame) { this._visible = false; if (this.hitTest(_root.mcPLAYER)) { if (_root.health > 0) { if (_root.hurt == false) { _root.effects(); _root.health -= _root.toplaserdam; removeMovieClip(this); _root.hurt = true; } } } } } instance of movieClip 3289 { onClipEvent (enterFrame) { this._visible = false; if (this.hitTest(_root.mcPLAYER)) { if (_root.health > 0) { if (_root.hurt == false) { _root.effects(); _root.health -= _root.toplaserdam; removeMovieClip(this); _root.hurt = true; } } } } } instance of movieClip 3289 { onClipEvent (enterFrame) { this._visible = false; if (this.hitTest(_root.mcPLAYER)) { if (_root.health > 0) { if (_root.hurt == false) { _root.effects(); _root.health -= _root.toplaserdam; removeMovieClip(this); _root.hurt = true; } } } } } instance of movieClip 3289 { onClipEvent (enterFrame) { this._visible = false; if (this.hitTest(_root.mcPLAYER)) { if (_root.health > 0) { if (_root.hurt == false) { _root.effects(); _root.health -= _root.toplaserdam; removeMovieClip(this); _root.hurt = true; } } } } } instance of movieClip 3289 { onClipEvent (enterFrame) { this._visible = false; if (this.hitTest(_root.mcPLAYER)) { if (_root.health > 0) { if (_root.hurt == false) { _root.effects(); _root.health -= _root.toplaserdam; removeMovieClip(this); _root.hurt = true; } } } } } instance of movieClip 3289 { onClipEvent (enterFrame) { this._visible = false; if (this.hitTest(_root.mcPLAYER)) { if (_root.health > 0) { if (_root.hurt == false) { _root.effects(); _root.health -= _root.toplaserdam; removeMovieClip(this); _root.hurt = true; } } } } } instance of movieClip 3289 { onClipEvent (enterFrame) { this._visible = false; if (this.hitTest(_root.mcPLAYER)) { if (_root.health > 0) { if (_root.hurt == false) { _root.effects(); _root.health -= _root.toplaserdam; removeMovieClip(this); _root.hurt = true; } } } } } instance of movieClip 3289 { onClipEvent (enterFrame) { this._visible = false; if (this.hitTest(_root.mcPLAYER)) { if (_root.health > 0) { if (_root.hurt == false) { _root.effects(); _root.health -= _root.toplaserdam; removeMovieClip(this); _root.hurt = true; } } } } } instance of movieClip 3289 { onClipEvent (enterFrame) { this._visible = false; if (this.hitTest(_root.mcPLAYER)) { if (_root.health > 0) { if (_root.hurt == false) { _root.effects(); _root.health -= _root.toplaserdam; removeMovieClip(this); _root.hurt = true; } } } } } instance of movieClip 3289 { onClipEvent (enterFrame) { this._visible = false; if (this.hitTest(_root.mcPLAYER)) { if (_root.health > 0) { if (_root.hurt == false) { _root.effects(); _root.health -= _root.toplaserdam; removeMovieClip(this); _root.hurt = true; } } } } } frame 130 { this.stop(); } } movieClip 3301 { } movieClip 3303 { frame 299 { stop(); } } movieClip 3311 { } movieClip 3319 { } movieClip 3327 { instance of movieClip 3289 { onClipEvent (enterFrame) { this._visible = false; if (this.hitTest(_root.mcPLAYER)) { if (_root.health > 0) { if (_root.hurt == false) { _root.effects(); _root.health -= _root.toplaserdam; removeMovieClip(this); _root.hurt = true; } } } } } instance of movieClip 3289 { onClipEvent (enterFrame) { this._visible = false; if (this.hitTest(_root.mcPLAYER)) { if (_root.health > 0) { if (_root.hurt == false) { _root.effects(); _root.health -= _root.toplaserdam; removeMovieClip(this); _root.hurt = true; } } } } } instance of movieClip 3289 { onClipEvent (enterFrame) { this._visible = false; if (this.hitTest(_root.mcPLAYER)) { if (_root.health > 0) { if (_root.hurt == false) { _root.effects(); _root.health -= _root.toplaserdam; removeMovieClip(this); _root.hurt = true; } } } } } instance of movieClip 3289 { onClipEvent (enterFrame) { this._visible = false; if (this.hitTest(_root.mcPLAYER)) { if (_root.health > 0) { if (_root.hurt == false) { _root.effects(); _root.health -= _root.toplaserdam; removeMovieClip(this); _root.hurt = true; } } } } } instance of movieClip 3289 { onClipEvent (enterFrame) { this._visible = false; if (this.hitTest(_root.mcPLAYER)) { if (_root.health > 0) { if (_root.hurt == false) { _root.effects(); _root.health -= _root.toplaserdam; removeMovieClip(this); _root.hurt = true; } } } } } instance of movieClip 3289 { onClipEvent (enterFrame) { this._visible = false; if (this.hitTest(_root.mcPLAYER)) { if (_root.health > 0) { if (_root.hurt == false) { _root.effects(); _root.health -= _root.toplaserdam; removeMovieClip(this); _root.hurt = true; } } } } } instance of movieClip 3289 { onClipEvent (enterFrame) { this._visible = false; if (this.hitTest(_root.mcPLAYER)) { if (_root.health > 0) { if (_root.hurt == false) { _root.effects(); _root.health -= _root.toplaserdam; removeMovieClip(this); _root.hurt = true; } } } } } instance of movieClip 3289 { onClipEvent (enterFrame) { this._visible = false; if (this.hitTest(_root.mcPLAYER)) { if (_root.health > 0) { if (_root.hurt == false) { _root.effects(); _root.health -= _root.toplaserdam; removeMovieClip(this); _root.hurt = true; } } } } } instance of movieClip 3289 { onClipEvent (enterFrame) { this._visible = false; if (this.hitTest(_root.mcPLAYER)) { if (_root.health > 0) { if (_root.hurt == false) { _root.effects(); _root.health -= _root.toplaserdam; removeMovieClip(this); _root.hurt = true; } } } } } instance of movieClip 3289 { onClipEvent (enterFrame) { this._visible = false; if (this.hitTest(_root.mcPLAYER)) { if (_root.health > 0) { if (_root.hurt == false) { _root.effects(); _root.health -= _root.toplaserdam; removeMovieClip(this); _root.hurt = true; } } } } } instance of movieClip 3289 { onClipEvent (enterFrame) { this._visible = false; if (this.hitTest(_root.mcPLAYER)) { if (_root.health > 0) { if (_root.hurt == false) { _root.effects(); _root.health -= _root.toplaserdam; removeMovieClip(this); _root.hurt = true; } } } } } instance of movieClip 3289 { onClipEvent (enterFrame) { this._visible = false; if (this.hitTest(_root.mcPLAYER)) { if (_root.health > 0) { if (_root.hurt == false) { _root.effects(); _root.health -= _root.toplaserdam; removeMovieClip(this); _root.hurt = true; } } } } } instance of movieClip 3289 { onClipEvent (enterFrame) { this._visible = false; if (this.hitTest(_root.mcPLAYER)) { if (_root.health > 0) { if (_root.hurt == false) { _root.effects(); _root.health -= _root.toplaserdam; removeMovieClip(this); _root.hurt = true; } } } } } instance of movieClip 3289 { onClipEvent (enterFrame) { this._visible = false; if (this.hitTest(_root.mcPLAYER)) { if (_root.health > 0) { if (_root.hurt == false) { _root.effects(); _root.health -= _root.toplaserdam; removeMovieClip(this); _root.hurt = true; } } } } } instance of movieClip 3289 { onClipEvent (enterFrame) { this._visible = false; if (this.hitTest(_root.mcPLAYER)) { if (_root.health > 0) { if (_root.hurt == false) { _root.effects(); _root.health -= _root.toplaserdam; removeMovieClip(this); _root.hurt = true; } } } } } frame 130 { this.stop(); } } movieClip 3328 { } movieClip 3330 { frame 299 { stop(); } } movieClip 3332 { } movieClip 3334 { } movieClip 3336 { } movieClip 3338 { } movieClip 3341 { } movieClip 3343 { } movieClip 3345 { } movieClip 3347 { } movieClip 3357 { instance of movieClip 3334 { onClipEvent (enterFrame) { if (this.hitTest(_root.mcPLAYER)) { if (_root.health > 0) { if (_root.hurt == false) { _root.effects(); _root.health -= _root.roofstompdam; _root.hurt = true; _root.ttlstomped += 1; } } } } } frame 222 { stop(); } } movieClip 3359 { frame 4 { _root.endingcalltime = false; _root.whichlevel = 2; _root.expcounter.gotoAndPlay(1); _root.allowdrops = true; _root.startleveltimer(); _root.whitetimer.gotoAndPlay(1); } frame 11 { _root.toplaserl3go(); _root.toplaserr3go(); } frame 17 { _root.toplaserlgo(); } frame 29 { _root.toplaserr2go(); } frame 95 { _root.toplasermgo(); } frame 140 { _root.toplaserl2go(); } frame 186 { _root.toplaserrgo(); } frame 206 { _root.toptoplaserwide3go(); } frame 292 { _root.toptoplaserwide1go(); _root.toptoplaserwide5go(); } frame 417 { _root.roofturretstart(); _root.roofturret2start(); _root.rotatePlayer(); _root.topfollow = true; _root.rotatePlayer2(); _root.topfollow2 = true; } frame 431 { _root.fireWeapon(); } frame 446 { _root.fireWeapon2(); } frame 464 { _root.fireWeapon(); } frame 471 { _root.fireWeapon2(); } frame 487 { _root.fireWeapon(); } frame 502 { _root.fireWeapon2(); } frame 520 { _root.fireWeapon(); } frame 527 { _root.fireWeapon2(); } frame 532 { _root.fireWeapon(); } frame 536 { _root.fireWeapon2(); } frame 539 { _root.fireWeapon(); } frame 554 { _root.fireWeapon2(); } frame 572 { _root.fireWeapon(); } frame 579 { _root.fireWeapon2(); } frame 594 { _root.fireWeapon(); } frame 605 { _root.fireWeapon(); } frame 609 { _root.fireWeapon2(); } frame 627 { _root.fireWeapon(); } frame 631 { _root.fireWeapon(); } frame 634 { _root.fireWeapon2(); } frame 650 { _root.fireWeapon(); } frame 665 { _root.fireWeapon2(); } frame 683 { _root.fireWeapon(); } frame 690 { _root.fireWeapon2(); } frame 705 { _root.fireWeapon(); } frame 720 { _root.fireWeapon2(); } frame 738 { _root.fireWeapon(); } frame 745 { _root.fireWeapon2(); } frame 751 { _root.fireWeapon(); } frame 752 { _root.toptoplaserwide1go(); _root.toptoplaserwide5go(); } frame 755 { _root.fireWeapon2(); } frame 760 { _root.fireWeapon(); } frame 775 { _root.fireWeapon2(); } frame 793 { _root.fireWeapon(); } frame 800 { _root.fireWeapon2(); } frame 814 { _root.fireWeapon(); } frame 825 { _root.fireWeapon(); } frame 829 { _root.fireWeapon2(); } frame 847 { _root.fireWeapon(); } frame 851 { _root.fireWeapon(); } frame 854 { _root.fireWeapon2(); } frame 862 { _root.toptoplaserwide2go(); _root.toptoplaserwide4go(); } frame 866 { _root.fireWeapon(); } frame 880 { _root.fireWeapon2(); } frame 890 { _root.fireWeapon(); } frame 904 { _root.fireWeapon2(); } frame 920 { _root.fireWeapon(); } frame 934 { _root.fireWeapon2(); } frame 949 { _root.fireWeapon(); } frame 963 { _root.fireWeapon2(); } frame 978 { _root.fireWeapon(); } frame 992 { _root.fireWeapon2(); } frame 1004 { _root.fireWeapon(); } frame 1011 { _root.toplaserl3go(); _root.toplaserr3go(); } frame 1018 { _root.fireWeapon2(); } frame 1031 { _root.fireWeapon(); } frame 1045 { _root.fireWeapon2(); } frame 1059 { _root.fireWeapon(); } frame 1073 { _root.fireWeapon2(); } frame 1082 { _root.fireWeapon2(); } frame 1084 { _root.fireWeapon(); } frame 1098 { _root.fireWeapon2(); } frame 1111 { _root.fireWeapon(); } frame 1119 { _root.toplaserlgo(); _root.toplaserr2go(); } frame 1125 { _root.fireWeapon2(); } frame 1140 { _root.fireWeapon(); } frame 1154 { _root.fireWeapon2(); } frame 1167 { _root.fireWeapon(); } frame 1181 { _root.fireWeapon2(); } frame 1191 { _root.fireWeapon2(); } frame 1193 { _root.fireWeapon(); } frame 1207 { _root.fireWeapon2(); } frame 1222 { _root.fireWeapon(); } frame 1228 { _root.toplaserrgo(); _root.toplaserl2go(); } frame 1236 { _root.fireWeapon2(); } frame 1247 { _root.fireWeapon(); } frame 1261 { _root.fireWeapon2(); } frame 1274 { _root.fireWeapon(); } frame 1288 { _root.fireWeapon2(); } frame 1299 { _root.fireWeapon(); } frame 1301 { _root.fireWeapon2(); } frame 1317 { root.fireWeapon2(); } frame 1335 { _root.toplasermgo(); } frame 1337 { _root.fireWeapon(); } frame 1345 { _root.fireWeapon2(); } frame 1357 { _root.fireWeapon(); } frame 1371 { _root.fireWeapon2(); } frame 1391 { _root.fireWeapon(); } frame 1397 { _root.fireWeapon2(); } frame 1400 { _root.toptoplaserwide1go(); _root.toptoplaserwide5go(); } frame 1410 { _root.fireWeapon(); } frame 1424 { _root.fireWeapon2(); } frame 1444 { _root.fireWeapon(); } frame 1450 { _root.fireWeapon2(); } frame 1456 { _root.toptoplaserwide2go(); _root.toptoplaserwide4go(); } frame 1465 { _root.fireWeapon(); } frame 1479 { _root.fireWeapon2(); } frame 1499 { _root.fireWeapon(); } frame 1505 { _root.fireWeapon2(); } frame 1514 { _root.fireWeapon(); } frame 1516 { _root.fireWeapon2(); } frame 1521 { _root.fireWeapon(); } frame 1533 { _root.toptoplaserwide3go(); } frame 1535 { _root.fireWeapon2(); } frame 1555 { _root.fireWeapon(); } frame 1561 { _root.fireWeapon2(); } frame 1571 { _root.fireWeapon(); } frame 1586 { _root.fireWeapon(); } frame 1589 { _root.fireWeapon2(); } frame 1607 { _root.fireWeapon(); } frame 1610 { _root.fireWeapon(); } frame 1613 { _root.fireWeapon2(); } frame 1621 { _root.fireWeapon(); } frame 1624 { _root.fireWeapon2(); } frame 1630 { _root.fireWeapon(); } frame 1636 { _root.fireWeapon(); } frame 1641 { _root.fireWeapon(); } frame 1646 { _root.fireWeapon(); } frame 1651 { _root.fireWeapon(); } frame 1656 { _root.fireWeapon(); } frame 1661 { _root.fireWeapon(); } frame 1666 { _root.fireWeapon(); } frame 1667 { _root.toplaserl3go(); } frame 1670 { _root.fireWeapon(); } frame 1674 { _root.fireWeapon(); } frame 1712 { _root.fireWeapon2(); } frame 1715 { _root.fireWeapon2(); } frame 1718 { _root.fireWeapon(); } frame 1719 { _root.toplaserlgo(); } frame 1722 { _root.fireWeapon(); } frame 1725 { _root.fireWeapon(); } frame 1729 { _root.fireWeapon2(); } frame 1734 { _root.fireWeapon(); } frame 1738 { _root.fireWeapon2(); } frame 1744 { _root.ltravelgo(); _root.gundstart(); } frame 1747 { _root.topfollow = false; _root.topfollow2 = false; _root.roofturretclose(); _root.roofturret2close(); } frame 1774 { _root.toplaserl2go(); } frame 1827 { _root.toplasermgo(); } frame 1882 { _root.toplaserrgo(); } frame 1936 { _root.toplaserr2go(); } frame 1990 { _root.toplaserr3go(); } frame 1999 { _root.toptoplaserwide3go(); } frame 2054 { _root.toptoplaserwide1go(); _root.toptoplaserwide4go(); } frame 2157 { _root.toptoplaserwide2go(); } frame 2202 { _root.toplaserrgo(); } frame 2327 { _root.toplaserl2go(); _root.toplaserr2go(); } frame 2407 { _root.bottomlasergo(); } frame 2598 { _root.ltravelend(); _root.gunclose(); } frame 2602 { _root.roofturretstart(); _root.roofturret2start(); _root.rotatePlayer(); _root.topfollow = true; _root.rotatePlayer2(); _root.topfollow2 = true; } frame 2610 { _root.fireWeapon2(); _root.fireWeapon(); } frame 2623 { _root.fireWeapon2(); } frame 2635 { _root.fireWeapon(); } frame 2650 { _root.fireWeapon2(); } frame 2663 { _root.fireWeapon(); } frame 2670 { _root.bottomlaser2go(); } frame 2678 { _root.fireWeapon2(); } frame 2690 { _root.fireWeapon(); } frame 2705 { _root.fireWeapon2(); } frame 2717 { _root.fireWeapon(); } frame 2732 { _root.fireWeapon2(); } frame 2744 { _root.fireWeapon(); } frame 2759 { _root.fireWeapon2(); } frame 2773 { _root.fireWeapon(); } frame 2788 { _root.fireWeapon2(); } frame 2799 { _root.fireWeapon(); } frame 2811 { _root.toptoplaserwide3go(); } frame 2814 { _root.fireWeapon2(); } frame 2827 { _root.fireWeapon(); } frame 2842 { _root.fireWeapon2(); } frame 2857 { _root.fireWeapon(); } frame 2872 { _root.fireWeapon2(); } frame 2884 { _root.fireWeapon(); } frame 2899 { _root.fireWeapon2(); } frame 2910 { _root.fireWeapon(); } frame 2925 { _root.fireWeapon2(); } frame 2926 { _root.toptoplaserwide3go(); _root.toptoplaserwide2go(); _root.toptoplaserwide4go(); } frame 2936 { _root.fireWeapon(); } frame 2951 { _root.fireWeapon2(); } frame 2962 { _root.fireWeapon(); } frame 2977 { _root.fireWeapon2(); } frame 2990 { _root.fireWeapon(); } frame 3005 { _root.fireWeapon2(); } frame 3017 { _root.fireWeapon(); } frame 3021 { _root.fireWeapon2(); } frame 3025 { _root.fireWeapon(); } frame 3029 { _root.fireWeapon2(); } frame 3033 { _root.fireWeapon(); } frame 3038 { _root.fireWeapon2(); } frame 3042 { _root.fireWeapon2(); } frame 3046 { _root.fireWeapon2(); _root.fireWeapon1(); } frame 3046 { _root.toptoplaserwide1go(); _root.toptoplaserwide5go(); } frame 3051 { _root.topfollow = false; _root.topfollow2 = false; _root.roofturretclose(); _root.roofturret2close(); } frame 3184 { _root.leftlaserdiaggo(); _root.rightlaserdiaggo(); } frame 3239 { _root.toplasermgo(); } frame 3271 { _root.toplaserr3go(); _root.toplaserl3go(); } frame 3297 { _root.toplaserrgo(); } frame 3313 { _root.toplaserlgo(); } frame 3327 { _root.toplaserr2go(); } frame 3341 { _root.toplaserl2go(); } frame 3362 { _root.bottomlasergo(); } frame 3486 { _root.toptoplaserwide5go(); } frame 3525 { _root.toptoplaserwide1go(); } frame 3581 { _root.toptoplaserwide2go(); } frame 3636 { _root.toptoplaserwide4go(); } frame 3736 { _root.toplasermgo(); } frame 3746 { _root.toplaserrgo(); } frame 3756 { _root.toplaserlgo(); } frame 3767 { _root.leftlaserdiaggo(); _root.rightlaserdiaggo(); } frame 3915 { _root.roofturretstart(); _root.roofturret2start(); _root.rotatePlayer(); _root.topfollow = true; _root.rotatePlayer2(); _root.topfollow2 = true; _root.bulletlvl = 2; } frame 3930 { _root.fireWeapon2(); } frame 3945 { _root.fireWeapon(); } frame 3957 { _root.fireWeapon2(); } frame 3972 { _root.fireWeapon(); } frame 3984 { _root.fireWeapon2(); } frame 3997 { _root.fireWeapon(); } frame 4009 { _root.fireWeapon2(); } frame 4025 { _root.fireWeapon(); } frame 4037 { _root.fireWeapon2(); } frame 4054 { _root.fireWeapon(); } frame 4066 { _root.fireWeapon2(); } frame 4078 { _root.fireWeapon(); } frame 4090 { _root.fireWeapon2(); } frame 4106 { _root.fireWeapon(); } frame 4118 { _root.fireWeapon2(); } frame 4135 { _root.fireWeapon(); } frame 4147 { _root.fireWeapon2(); } frame 4162 { _root.fireWeapon(); } frame 4174 { _root.fireWeapon2(); } frame 4191 { _root.fireWeapon(); } frame 4203 { _root.fireWeapon2(); } frame 4216 { _root.fireWeapon(); } frame 4228 { _root.fireWeapon2(); } frame 4241 { _root.fireWeapon(); } frame 4253 { _root.fireWeapon2(); } frame 4269 { _root.fireWeapon(); } frame 4281 { _root.fireWeapon2(); } frame 4297 { _root.fireWeapon(); } frame 4309 { _root.fireWeapon2(); } frame 4326 { _root.fireWeapon(); } frame 4338 { _root.fireWeapon2(); } frame 4351 { _root.fireWeapon(); } frame 4363 { _root.fireWeapon2(); } frame 4376 { _root.fireWeapon(); } frame 4388 { _root.fireWeapon2(); } frame 4406 { _root.fireWeapon(); } frame 4418 { _root.fireWeapon2(); } frame 4435 { _root.fireWeapon(); } frame 4447 { _root.fireWeapon2(); } frame 4460 { _root.fireWeapon(); } frame 4472 { _root.fireWeapon2(); } frame 4486 { _root.fireWeapon(); } frame 4498 { _root.fireWeapon2(); } frame 4514 { _root.fireWeapon(); } frame 4526 { _root.fireWeapon2(); } frame 4542 { _root.fireWeapon(); } frame 4554 { _root.fireWeapon2(); } frame 4568 { _root.fireWeapon(); } frame 4580 { _root.fireWeapon2(); } frame 4596 { _root.fireWeapon(); } frame 4608 { _root.fireWeapon2(); } frame 4623 { _root.fireWeapon(); } frame 4635 { _root.fireWeapon2(); } frame 4651 { _root.fireWeapon(); } frame 4663 { _root.fireWeapon2(); } frame 4677 { _root.fireWeapon(); } frame 4689 { _root.fireWeapon2(); } frame 4705 { _root.fireWeapon(); } frame 4717 { _root.fireWeapon2(); } frame 4747 { _root.bulletlvl = 1; _root.fireWeapon2(); } frame 4758 { _root.fireWeapon2(); } frame 4761 { _root.fireWeapon2(); } frame 4768 { _root.fireWeapon2(); } frame 4771 { _root.fireWeapon2(); } frame 4777 { _root.fireWeapon2(); } frame 4783 { _root.fireWeapon2(); } frame 4790 { _root.fireWeapon2(); } frame 4802 { _root.fireWeapon2(); } frame 4821 { _root.fireWeapon(); } frame 4829 { _root.fireWeapon2(); } frame 4842 { _root.fireWeapon(); } frame 4857 { _root.fireWeapon2(); } frame 4876 { _root.fireWeapon(); } frame 4884 { _root.fireWeapon2(); } frame 4898 { _root.fireWeapon(); } frame 4913 { _root.fireWeapon2(); } frame 4932 { _root.fireWeapon(); } frame 4940 { _root.fireWeapon2(); } frame 4951 { _root.fireWeapon(); } frame 4966 { _root.fireWeapon2(); } frame 4985 { _root.fireWeapon(); } frame 4993 { _root.fireWeapon2(); } frame 4999 { _root.fireWeapon(); } frame 5003 { _root.fireWeapon2(); } frame 5007 { _root.fireWeapon(); } frame 5022 { _root.fireWeapon2(); } frame 5041 { _root.fireWeapon(); } frame 5049 { _root.fireWeapon2(); } frame 5061 { _root.fireWeapon(); } frame 5076 { _root.fireWeapon2(); } frame 5095 { _root.fireWeapon(); } frame 5103 { _root.fireWeapon2(); } frame 5117 { _root.fireWeapon(); } frame 5132 { _root.fireWeapon2(); } frame 5151 { _root.fireWeapon(); } frame 5159 { _root.fireWeapon2(); } frame 5170 { _root.fireWeapon(); } frame 5186 { _root.fireWeapon2(); } frame 5206 { _root.fireWeapon(); } frame 5209 { _root.fireWeapon(); } frame 5217 { _root.fireWeapon2(); } frame 5222 { _root.fireWeapon(); } frame 5229 { _root.topfollow = false; _root.topfollow2 = false; _root.roofturretclose(); _root.roofturret2close(); } frame 5238 { _root.roofstomprgo(); } frame 5291 { _root.roofstomplgo(); } frame 5346 { _root.midstompgo(); } frame 5456 { _root.roofstomprgo(); } frame 5469 { _root.toplaserr3go(); _root.toplaserl3go(); } frame 5511 { _root.roofstomplgo(); } frame 5676 { _root.midstompgo(); } frame 5696 { _root.leftlaserdiaggo(); _root.rightlaserdiaggo(); } frame 5781 { _root.roofstomprgo(); } frame 5803 { _root.toplaserr3go(); _root.toplaserl3go(); } frame 5836 { _root.roofstomplgo(); } frame 5893 { _root.midstompgo(); } frame 5913 { _root.toplaserrgo(); _root.toplaserl2go(); } frame 5926 { _root.bottomlasergo(); } frame 6092 { _root.toptoplaserwide1go(); } frame 6150 { _root.toptoplaserwide3go(); } frame 6171 { _root.roofturretstart(); _root.roofturret2start(); _root.rotatePlayer(); _root.topfollow = true; _root.rotatePlayer2(); _root.topfollow2 = true; } frame 6176 { _root.fireWeapon2(); } frame 6181 { _root.fireWeapon2(); } frame 6186 { _root.fireWeapon(); } frame 6190 { _root.fireWeapon2(); } frame 6194 { _root.fireWeapon2(); } frame 6198 { _root.fireWeapon(); } frame 6202 { _root.fireWeapon2(); } frame 6206 { _root.fireWeapon(); } frame 6217 { _root.fireWeapon2(); } frame 6231 { _root.fireWeapon(); } frame 6246 { _root.fireWeapon2(); } frame 6249 { _root.toplaserl3go(); } frame 6260 { _root.fireWeapon(); } frame 6275 { _root.fireWeapon2(); } frame 6288 { _root.fireWeapon(); } frame 6292 { _root.toplaserr3go(); } frame 6303 { _root.fireWeapon2(); } frame 6312 { _root.fireWeapon(); } frame 6329 { _root.fireWeapon2(); } frame 6340 { _root.fireWeapon(); } frame 6355 { _root.fireWeapon2(); } frame 6357 { _root.toplasermgo(); } frame 6366 { _root.fireWeapon(); } frame 6377 { _root.toplaserr2go(); } frame 6381 { _root.fireWeapon2(); } frame 6391 { _root.toplaserlgo(); } frame 6394 { _root.fireWeapon(); } frame 6409 { _root.fireWeapon2(); } frame 6424 { _root.fireWeapon(); } frame 6439 { _root.fireWeapon2(); } frame 6449 { _root.fireWeapon(); } frame 6464 { _root.fireWeapon2(); } frame 6476 { _root.fireWeapon(); } frame 6491 { _root.fireWeapon2(); } frame 6506 { _root.fireWeapon(); } frame 6521 { _root.fireWeapon2(); } frame 6532 { _root.fireWeapon(); } frame 6547 { _root.fireWeapon2(); } frame 6561 { _root.fireWeapon(); } frame 6576 { _root.fireWeapon2(); } frame 6588 { _root.fireWeapon(); } frame 6603 { _root.fireWeapon2(); } frame 6612 { _root.fireWeapon2(); } frame 6616 { _root.fireWeapon2(); } frame 6619 { _root.fireWeapon(); } frame 6624 { _root.fireWeapon2(); } frame 6629 { _root.fireWeapon2(); } frame 6634 { _root.fireWeapon2(); } frame 6641 { _root.fireWeapon2(); } frame 6655 { _root.fireWeapon2(); } frame 6666 { _root.fireWeapon(); } frame 6680 { _root.fireWeapon2(); } frame 6696 { _root.fireWeapon(); } frame 6707 { _root.fireWeapon2(); } frame 6719 { _root.fireWeapon(); } frame 6738 { _root.fireWeapon2(); } frame 6748 { _root.fireWeapon(); } frame 6761 { _root.fireWeapon2(); } frame 6775 { _root.fireWeapon(); } frame 6788 { _root.fireWeapon2(); } frame 6801 { _root.fireWeapon(); } frame 6814 { _root.fireWeapon2(); } frame 6829 { _root.fireWeapon(); } frame 6842 { _root.fireWeapon2(); } frame 6854 { _root.fireWeapon2(); } frame 6857 { _root.fireWeapon(); } frame 6870 { _root.fireWeapon2(); } frame 6886 { _root.fireWeapon(); } frame 6899 { _root.fireWeapon2(); } frame 6911 { _root.fireWeapon(); } frame 6924 { _root.fireWeapon2(); } frame 6937 { _root.fireWeapon(); } frame 6950 { _root.fireWeapon2(); } frame 6966 { _root.fireWeapon(); } frame 6979 { _root.fireWeapon2(); } frame 6994 { _root.fireWeapon(); } frame 7001 { _root.toplasermgo(); } frame 7007 { _root.fireWeapon2(); } frame 7016 { _root.toplaserr3go(); } frame 7022 { _root.fireWeapon(); } frame 7030 { _root.toplaserl3go(); } frame 7035 { _root.fireWeapon2(); } frame 7041 { _root.leftlaserdiaggo(); } frame 7046 { _root.fireWeapon(); } frame 7058 { _root.rightlaserdiaggo(); } frame 7059 { _root.fireWeapon2(); } frame 7073 { _root.toplaserrgo(); } frame 7075 { _root.fireWeapon2(); } frame 7079 { _root.fireWeapon(); } frame 7090 { _root.fireWeapon2(); } frame 7104 { _root.fireWeapon(); } frame 7117 { _root.fireWeapon2(); } frame 7129 { _root.fireWeapon(); } frame 7142 { _root.fireWeapon2(); } frame 7157 { _root.fireWeapon(); } frame 7170 { _root.fireWeapon2(); } frame 7177 { _root.toptoplaserwide5go(); } frame 7185 { _root.fireWeapon(); } frame 7198 { _root.fireWeapon2(); } frame 7210 { _root.fireWeapon(); } frame 7225 { _root.fireWeapon2(); } frame 7231 { _root.toptoplaserwide4go(); } frame 7239 { _root.fireWeapon(); } frame 7252 { _root.fireWeapon2(); } frame 7258 { _root.toptoplaserwide2go(); } frame 7265 { _root.fireWeapon(); } frame 7278 { _root.fireWeapon2(); } frame 7289 { _root.toptoplaserwide1go(); } frame 7294 { _root.fireWeapon2(); } frame 7296 { _root.fireWeapon(); } frame 7309 { _root.fireWeapon2(); } frame 7320 { _root.fireWeapon(); } frame 7333 { _root.fireWeapon2(); } frame 7342 { _root.bottomlaser2go(); } frame 7348 { _root.fireWeapon(); } frame 7361 { _root.fireWeapon2(); } frame 7375 { _root.fireWeapon(); } frame 7388 { _root.fireWeapon2(); } frame 7401 { _root.fireWeapon(); } frame 7414 { _root.fireWeapon2(); } frame 7431 { _root.fireWeapon(); } frame 7444 { _root.fireWeapon2(); } frame 7471 { _root.rightpulstompgo(); } frame 7487 { _root.fireWeapon2(); } frame 7491 { _root.fireWeapon2(); } frame 7495 { _root.fireWeapon2(); } frame 7499 { _root.fireWeapon2(); } frame 7503 { _root.fireWeapon2(); } frame 7507 { _root.fireWeapon2(); } frame 7510 { _root.fireWeapon2(); } frame 7513 { _root.fireWeapon(); } frame 7517 { _root.topfollow = false; _root.topfollow2 = false; _root.roofturretclose(); _root.roofturret2close(); } frame 7526 { _root.leftpulstompgo(); } frame 7581 { _root.midstompgo(); } frame 7691 { _root.roofstomprgo(); } frame 7745 { _root.roofstomplgo(); } frame 7801 { _root.midstompgo(); } frame 7910 { _root.rightpulstompgo(); } frame 7931 { _root.toplaserr3go(); _root.toplaserl3go(); } frame 7960 { _root.leftpulstompgo(); } frame 8020 { _root.midstompgo(); } frame 8027 { _root.rightlaserdiaggo(); _root.leftlaserdiaggo(); } frame 8071 { _root.roofstomprgo(); } frame 8125 { _root.roofstomplgo(); } frame 8209 { _root.toptoplaserwide1go(); } frame 8237 { _root.toptoplaserwide5go(); } frame 8266 { _root.toptoplaserwide3go(); } frame 8364 { _root.leftlaserdiaggo(); } frame 8376 { _root.toplaserl3go(); } frame 8390 { _root.gundstart(); } frame 8421 { _root.ltravelgo(); } frame 8473 { _root.toplaserrgo(); } frame 8482 { _root.foreverbottomlasergo(); } frame 8486 { _root.toplaserlgo(); } frame 8536 { _root.toptoplaserwide1go(); } frame 8590 { _root.toptoplaserwide2go(); } frame 8645 { _root.toptoplaserwide3go(); } frame 8800 { _root.toplaserl2go(); _root.toplaserrgo(); } frame 8806 { _root.toptoplaserwide5go(); } frame 8905 { _root.toplasermgo(); } frame 8956 { _root.toplaserr2go(); } frame 9016 { _root.toplaserlgo(); } frame 9026 { _root.toptoplaserwide3go(); } frame 9031 { _root.toplaserr2go(); } frame 9036 { _root.foreverbottomlaserstop(); } frame 9045 { _root.ltravelend(); _root.gunclose(); } frame 9127 { _root.rightlaserdiaggo(); } frame 9181 { _root.leftlaserdiaggo(); } frame 9215 { _root.rightpulstompgo(); } frame 9261 { _root.roofturretstart(); _root.roofturret2start(); _root.rotatePlayer(); _root.topfollow = true; _root.rotatePlayer2(); _root.topfollow2 = true; } frame 9270 { _root.fireWeapon2(); } frame 9275 { _root.fireWeapon2(); } frame 9280 { _root.fireWeapon2(); } frame 9285 { _root.fireWeapon2(); } frame 9289 { _root.fireWeapon2(); } frame 9292 { _root.fireWeapon2(); } frame 9296 { _root.fireWeapon2(); } frame 9301 { _root.fireWeapon2(); } frame 9310 { _root.fireWeapon(); } frame 9321 { _root.fireWeapon2(); } frame 9322 { _root.leftpulstompgo(); } frame 9336 { _root.fireWeapon(); } frame 9351 { _root.fireWeapon2(); } frame 9361 { _root.fireWeapon(); } frame 9376 { _root.fireWeapon2(); } frame 9391 { _root.fireWeapon(); } frame 9406 { _root.fireWeapon2(); } frame 9417 { _root.fireWeapon(); } frame 9432 { _root.fireWeapon2(); } frame 9433 { _root.midstompgo(); } frame 9446 { _root.fireWeapon(); } frame 9461 { _root.fireWeapon2(); } frame 9471 { _root.fireWeapon(); } frame 9486 { _root.fireWeapon2(); } frame 9499 { _root.fireWeapon(); } frame 9514 { _root.fireWeapon2(); } frame 9524 { _root.fireWeapon2(); } frame 9527 { _root.fireWeapon(); } frame 9542 { _root.fireWeapon2(); } frame 9552 { _root.fireWeapon(); } frame 9567 { _root.fireWeapon2(); } frame 9581 { _root.fireWeapon(); } frame 9596 { _root.fireWeapon2(); } frame 9607 { _root.fireWeapon(); } frame 9622 { _root.fireWeapon2(); } frame 9636 { _root.fireWeapon(); } frame 9651 { _root.fireWeapon2(); } frame 9652 { _root.roofstomplgo(); _root.roofstomprgo(); } frame 9666 { _root.fireWeapon(); } frame 9681 { _root.fireWeapon2(); } frame 9692 { _root.fireWeapon(); } frame 9701 { _root.drophealth(); _root.dropshield(); } frame 9707 { _root.fireWeapon2(); } frame 9717 { _root.fireWeapon(); } frame 9732 { _root.fireWeapon2(); } frame 9743 { _root.fireWeapon2(); } frame 9749 { _root.fireWeapon(); } frame 9755 { _root.topfollow = false; _root.topfollow2 = false; _root.roofturretclose(); _root.roofturret2close(); } frame 9784 { _root.botexp += 100; _root.ttlexp += 100; _root.ttltestpass += 1; _root.botexpflash.gotoAndPlay(2); _root.save(); _root.whitetimer.gotoAndStop(1); _root.expcounter.gotoAndStop(1); _root.allowdrops = false; _root.gearcol1._x = 577.4500000000001; _root.gearcol1._y = -16.75; _root.gearcol2._x = 577.4500000000001; _root.gearcol2._y = -16.75; _root.gearcol3._x = 577.4500000000001; _root.gearcol3._y = -16.75; _root.gearcol4._x = 577.4500000000001; _root.gearcol4._y = -16.75; _root.gearcol5._x = 577.4500000000001; _root.gearcol5._y = -16.75; _root.clearmidpanelcount(); _root.midpan.messagepanel.messageboard.gotoAndPlay('LEVEL CLEAR'); } frame 9828 { _root.whichlevel = 3; _root.midpan.messagepanel.messageboard.gotoAndPlay('Bosswarn'); } frame 10082 { stop(); } } movieClip 3360 { } movieClip 3361 { } movieClip 3362 { instance of movieClip 3360 { onClipEvent (enterFrame) { if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) { _root.mcPLAYER._x -= 3; } } } instance of movieClip 3361 { onClipEvent (enterFrame) { if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) { _root.mcPLAYER._x += 3; } } } instance of movieClip 3360 { onClipEvent (enterFrame) { if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) { _root.mcPLAYER._x -= 3; } } } instance of movieClip 3361 { onClipEvent (enterFrame) { if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) { _root.mcPLAYER._x += 3; } } } frame 29 { stop(); } instance of movieClip 3360 { onClipEvent (enterFrame) { if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) { _root.mcPLAYER._x -= 3; } } } instance of movieClip 3361 { onClipEvent (enterFrame) { if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) { _root.mcPLAYER._x += 3; } } } instance of movieClip 3360 { onClipEvent (enterFrame) { if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) { _root.mcPLAYER._x -= 3; } } } instance of movieClip 3361 { onClipEvent (enterFrame) { if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) { _root.mcPLAYER._x += 3; } } } instance of movieClip 3360 { onClipEvent (enterFrame) { if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) { _root.mcPLAYER._x -= 3; } } } instance of movieClip 3361 { onClipEvent (enterFrame) { if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) { _root.mcPLAYER._x += 3; } } } frame 54 { stop(); } } movieClip 3380 { } movieClip 3382 { } movieClip 3395 { instance of movieClip 3382 { onClipEvent (enterFrame) { if (this.hitTest(_root.mcPLAYER)) { if (_root.health > 0) { if (_root.hurt == false) { _root.effects(); _root.health -= _root.roofstomppulse; _root.hurt = true; } } } } } } movieClip 3407 { instance of movieClip 3334 { onClipEvent (enterFrame) { if (this.hitTest(_root.mcPLAYER)) { if (_root.health > 0) { if (_root.hurt == false) { _root.effects(); _root.health -= _root.roofstompdam; _root.hurt = true; _root.ttlstomped += 1; } } } } } instance of movieClip 3334 { onClipEvent (enterFrame) { if (this.hitTest(_root.mcPLAYER)) { if (_root.health > 0) { if (_root.hurt == false) { _root.effects(); _root.health -= _root.roofstompdam; _root.hurt = true; _root.ttlstomped += 1; } } } } } frame 222 { stop(); } } movieClip 3421 { instance of movieClip 2960 { onClipEvent (enterFrame) { this._visible = false; if (this.hitTest(_root.mcPLAYER)) { if (_root.health > 0) { if (_root.hurt == false) { _root.effects(); _root.health -= _root.bottomlaserdam; removeMovieClip(this); _root.hurt = true; } } } } } frame 80 { this.gotoAndPlay(38); } frame 118 { _root.bottomlasernon2.gotoAndPlay(239); stop(); } } movieClip 3422 { frame 238 { stop(); } instance nonstop of movieClip 3421 { onClipEvent (enterFrame) { if (this.hitTest(_root.mcPLAYER)) { if (_root.health > 0) { if (_root.hurt == false) { _root.effects(); _root.health -= _root.bottomlaserdam; removeMovieClip(this); _root.hurt = true; } } } } } frame 300 { stop(); } } movieClip 3425 { } movieClip 3427 { } movieClip 3436 { } movieClip 3459 { } movieClip 3478 { instance of movieClip 2960 { onClipEvent (enterFrame) { this._visible = false; if (this.hitTest(_root.mcPLAYER)) { if (_root.health > 0) { if (_root.hurt == false) { _root.effects(); _root.health -= _root.bottomlaserdam; removeMovieClip(this); _root.hurt = true; } } } } } frame 118 { stop(); } } movieClip 3493 { instance of movieClip 3030 { onClipEvent (enterFrame) { this._visible = false; if (this.hitTest(_root.mcPLAYER)) { if (_root.health > 0) { if (_root.hurt == false) { _root.effects(); _root.health -= _root.toplaserdam; removeMovieClip(this); _root.hurt = true; } } } } } frame 130 { stop(); } } movieClip 3507 { instance of movieClip 3030 { onClipEvent (enterFrame) { this._visible = false; if (this.hitTest(_root.mcPLAYER)) { if (_root.health > 0) { if (_root.hurt == false) { _root.effects(); _root.health -= _root.toplaserdam; removeMovieClip(this); _root.hurt = true; } } } } } frame 130 { stop(); } } movieClip 3521 { instance of movieClip 3030 { onClipEvent (enterFrame) { this._visible = false; if (this.hitTest(_root.mcPLAYER)) { if (_root.health > 0) { if (_root.hurt == false) { _root.effects(); _root.health -= _root.toplaserdam; removeMovieClip(this); _root.hurt = true; } } } } } frame 130 { stop(); } } movieClip 3535 { instance of movieClip 3030 { onClipEvent (enterFrame) { this._visible = false; if (this.hitTest(_root.mcPLAYER)) { if (_root.health > 0) { if (_root.hurt == false) { _root.effects(); _root.health -= _root.toplaserdam; removeMovieClip(this); _root.hurt = true; } } } } } frame 130 { stop(); } } movieClip 3549 { instance of movieClip 3030 { onClipEvent (enterFrame) { this._visible = false; if (this.hitTest(_root.mcPLAYER)) { if (_root.health > 0) { if (_root.hurt == false) { _root.effects(); _root.health -= _root.toplaserdam; removeMovieClip(this); _root.hurt = true; } } } } } frame 130 { stop(); } } movieClip 3563 { instance of movieClip 3030 { onClipEvent (enterFrame) { this._visible = false; if (this.hitTest(_root.mcPLAYER)) { if (_root.health > 0) { if (_root.hurt == false) { _root.effects(); _root.health -= _root.toplaserdam; removeMovieClip(this); _root.hurt = true; } } } } } frame 130 { stop(); } } movieClip 3577 { instance of movieClip 3289 { onClipEvent (enterFrame) { this._visible = false; if (this.hitTest(_root.mcPLAYER)) { if (_root.health > 0) { if (_root.hurt == false) { _root.effects(); _root.health -= _root.toplaserdam; removeMovieClip(this); _root.hurt = true; } } } } } instance of movieClip 3289 { onClipEvent (enterFrame) { this._visible = false; if (this.hitTest(_root.mcPLAYER)) { if (_root.health > 0) { if (_root.hurt == false) { _root.effects(); _root.health -= _root.toplaserdam; removeMovieClip(this); _root.hurt = true; } } } } } instance of movieClip 3289 { onClipEvent (enterFrame) { this._visible = false; if (this.hitTest(_root.mcPLAYER)) { if (_root.health > 0) { if (_root.hurt == false) { _root.effects(); _root.health -= _root.toplaserdam; removeMovieClip(this); _root.hurt = true; } } } } } instance of movieClip 3289 { onClipEvent (enterFrame) { this._visible = false; if (this.hitTest(_root.mcPLAYER)) { if (_root.health > 0) { if (_root.hurt == false) { _root.effects(); _root.health -= _root.toplaserdam; removeMovieClip(this); _root.hurt = true; } } } } } instance of movieClip 3289 { onClipEvent (enterFrame) { this._visible = false; if (this.hitTest(_root.mcPLAYER)) { if (_root.health > 0) { if (_root.hurt == false) { _root.effects(); _root.health -= _root.toplaserdam; removeMovieClip(this); _root.hurt = true; } } } } } instance of movieClip 3289 { onClipEvent (enterFrame) { this._visible = false; if (this.hitTest(_root.mcPLAYER)) { if (_root.health > 0) { if (_root.hurt == false) { _root.effects(); _root.health -= _root.toplaserdam; removeMovieClip(this); _root.hurt = true; } } } } } instance of movieClip 3289 { onClipEvent (enterFrame) { this._visible = false; if (this.hitTest(_root.mcPLAYER)) { if (_root.health > 0) { if (_root.hurt == false) { _root.effects(); _root.health -= _root.toplaserdam; removeMovieClip(this); _root.hurt = true; } } } } } instance of movieClip 3289 { onClipEvent (enterFrame) { this._visible = false; if (this.hitTest(_root.mcPLAYER)) { if (_root.health > 0) { if (_root.hurt == false) { _root.effects(); _root.health -= _root.toplaserdam; removeMovieClip(this); _root.hurt = true; } } } } } instance of movieClip 3289 { onClipEvent (enterFrame) { this._visible = false; if (this.hitTest(_root.mcPLAYER)) { if (_root.health > 0) { if (_root.hurt == false) { _root.effects(); _root.health -= _root.toplaserdam; removeMovieClip(this); _root.hurt = true; } } } } } instance of movieClip 3289 { onClipEvent (enterFrame) { this._visible = false; if (this.hitTest(_root.mcPLAYER)) { if (_root.health > 0) { if (_root.hurt == false) { _root.effects(); _root.health -= _root.toplaserdam; removeMovieClip(this); _root.hurt = true; } } } } } instance of movieClip 3289 { onClipEvent (enterFrame) { this._visible = false; if (this.hitTest(_root.mcPLAYER)) { if (_root.health > 0) { if (_root.hurt == false) { _root.effects(); _root.health -= _root.toplaserdam; removeMovieClip(this); _root.hurt = true; } } } } } instance of movieClip 3289 { onClipEvent (enterFrame) { this._visible = false; if (this.hitTest(_root.mcPLAYER)) { if (_root.health > 0) { if (_root.hurt == false) { _root.effects(); _root.health -= _root.toplaserdam; removeMovieClip(this); _root.hurt = true; } } } } } instance of movieClip 3289 { onClipEvent (enterFrame) { this._visible = false; if (this.hitTest(_root.mcPLAYER)) { if (_root.health > 0) { if (_root.hurt == false) { _root.effects(); _root.health -= _root.toplaserdam; removeMovieClip(this); _root.hurt = true; } } } } } frame 130 { this.stop(); } } movieClip 3579 { } movieClip 3583 { instance of movieClip 3579 { onClipEvent (enterFrame) { if (this.hitTest(_root.mcPLAYER)) { if (_root.health > 0) { if (_root.hurt == false) { _root.effects(); _root.health -= _root.laserletdam; _root.hurt = true; } } } } } } movieClip 3587 { frame 72 { stop(); } } movieClip 3592 { frame 105 { stop(); } } movieClip 3595 { frame 61 { stop(); } } movieClip 3596 { frame 118 { stop(); } } movieClip 3597 { frame 96 { stop(); } } movieClip 3598 { frame 113 { stop(); } } movieClip 3604 { } movieClip 3607 { } movieClip 3609 { frame 1 { stop(); } frame 600 { _root.heatup.gotoAndPlay(2); } frame 1532 { stop(); } } movieClip 3632 { } movieClip 3634 { } movieClip 3636 { } movieClip 3638 { } movieClip 3648 { } movieClip 3654 { } movieClip 3655 { } movieClip 3657 { } movieClip 3678 { frame 289 { _root.starttrack3(); } frame 322 { _root.bigbosswidebeamstop(); _root.bigbosslittlelaser1stop(); _root.bigbosslittlelaser2stop(); _root.bigbosslittlelaser3stop(); _root.bigbosslittlelaser4stop(); _root.bigbosslittlelaser5stop(); _root.bigbosslittlelaser6stop(); _root.bigbosssidelaserl2stop(); _root.bigbosssidelaserl3stop(); _root.bigbosssidelaserl5stop(); _root.bigbosssidelaserl6stop(); _root.bigbosssidelaserr1stop(); _root.bigbosssidelaserr2stop(); _root.bigbosssidelaserr4stop(); _root.bigbosssidelaserr5stop(); _root.laserlet1stop(); _root.laserlet2stop(); _root.laserlet3stop(); _root.laserlet4stop(); _root.laserlet5stop(); _root.laserlet6stop(); _root.leboss.go = true; _root.leboss.right = true; } frame 322 { stop(); } instance bigbosslittlelaser1 of movieClip 3521 { onClipEvent (enterFrame) { if (this.hitTest(_root.mcPLAYER)) { if (_root.health > 0) { if (_root.hurt == false) { _root.effects(); _root.health -= _root.toplaserdam; removeMovieClip(this); _root.hurt = true; } } } } } frame 323 { _root.leboss.go = false; _root.leboss.right = false; } frame 578 { _root.totalcompletes += 1; } frame 590 { if (_root.totalcompletes == 1) { _root.achieve1get(); } if (_root.totalcompletes == 2) { _root.achieve2get(); } if (_root.totalcompletes == 5) { _root.achieve3get(); } if (_root.randomset == 10) { _root.achieve4get(); } _root.confstopped = false; _root.fireconf(); _root.creditsend.gotoAndPlay(2); } frame 686 { stop(); } } instance leboss of movieClip 3678 { onClipEvent (load) { left = false; right = false; go = false; this._visible = true; } onClipEvent (enterFrame) { if (go == true) { if (left == true) { this._visible = true; this._x -= 2; } if (go == true) { if (right == true) { this._visible = true; this._x += 2; } if (go == true) { if (this._x >= 406.2) { left = true; right = false; } if (go == true) { if (this._x <= 232.2) { left = false; right = true; } } } } } } } movieClip 3690 { frame 27 { stop(); } } movieClip 3691 { } movieClip 3692 { frame 1 { stop(); } } movieClip 3694 { frame 1 { stop(); } } movieClip 3734 { frame 1 { stop(); } } movieClip 3751 { frame 1 { stop(); } } movieClip 3774 { frame 1 { stop(); } } movieClip 3795 { frame 1 { stop(); } } movieClip 3796 { frame 31 { stop(); } } movieClip 3797 { frame 38 { stop(); } } movieClip 3806 { frame 42 { stop(); } } movieClip 3807 { frame 47 { stop(); } } button 3808 { on (release) { getURL('http://skybase.wordpress.com/', '_blank'); } } movieClip 3809 { } movieClip 3813 { } movieClip 3814 { } movieClip 3815 { } movieClip 3816 { } movieClip 3820 { } movieClip 3821 { } movieClip 3822 { } movieClip 3824 { } movieClip 3825 { frame 2 { _root.longopendoor = true; _root.creditsdoor = true; _root.arenaindoor.gotoAndPlay(2); } frame 78 { _root.handy._visible = true; } frame 93 { _root.arenaindoor.gotoAndPlay(20); } frame 231 { _root.stopconfetti(); } frame 1881 { _root.longopendoor = true; _root.creditsdoor = true; _root.arenaindoor.gotoAndPlay(1); } frame 1934 { _root.handy._visible = false; } frame 2059 { _root.arenaindoor.gotoAndPlay(20); } frame 2204 { _root.achieve20get(); } frame 2353 { _root.creditsend.closey.stop(); } frame 2509 { stop(); } } movieClip 3827 { frame 601 { _root.whitetextcall(); } } movieClip 3828 { } movieClip 3830 { } movieClip 3831 { frame 1 { _root.botexpflashtex._visible = true; stop(); } frame 2 { _root.botnextexpflash.gotoAndPlay(2); } frame 4 { _root.botexpflashtex._visible = false; _root.botlvlupdater(); _root.expneededcalc(); } frame 7 { _root.botexpflashtex._visible = true; } frame 10 { _root.botexpflashtex._visible = false; } } movieClip 3832 { frame 1 { _root.botdeathflashtex._visible = true; stop(); } frame 4 { _root.botdeathflashtex._visible = false; } frame 7 { _root.botdeathflashtex._visible = true; } frame 10 { _root.botdeathflashtex._visible = false; } } movieClip 3838 { } movieClip 3840 { } movieClip 3842 { } movieClip 3843 { } instance sbar of movieClip 3843 { onClipEvent (enterFrame) { this._xscale = _root.stamina; if (_root.stamina < 0) { _root.stamout = true; _root.shieldactivated = false; _root.stamina = 0; _root.mcPLAYER.shieldy.gotoAndStop(4); _root.hurt = false; } } } movieClip 3845 { } movieClip 3846 { } movieClip 3850 { } movieClip 3851 { } movieClip 3854 { } movieClip 3855 { frame 1 { stop(); } frame 8 { _root.deadbot(); _root.ttldmgtaken += _root.previoushealth - _root.health; _root.dmgtaken += _root.previoushealth - _root.health; } } instance hbar of movieClip 3855 { onClipEvent (enterFrame) { this._xscale = _root.health; if (_root.health < 0) { _root.health = 0; } } } movieClip 3865 { frame 1 { _root.botnextexpflashtex._visible = true; stop(); } frame 4 { _root.botnextexpflashtex._visible = false; } frame 7 { _root.botnextexpflashtex._visible = true; } frame 10 { _root.botnextexpflashtex._visible = false; } } movieClip 3867 { frame 1 { _root.hbar._visible = true; } frame 4 { _root.hbar._visible = false; } frame 7 { _root.hbar._visible = true; } frame 10 { _root.hbar._visible = false; } frame 13 { _root.hbar._visible = true; } frame 16 { _root.hbar._visible = false; } frame 19 { _root.hbar._visible = true; stop(); } } movieClip 3868 { frame 1 { _root.sbar._visible = true; } frame 4 { _root.sbar._visible = false; } frame 7 { _root.sbar._visible = true; } frame 10 { _root.sbar._visible = false; } frame 13 { _root.sbar._visible = true; } frame 16 { _root.sbar._visible = false; } frame 19 { _root.sbar._visible = true; stop(); } } movieClip 3870 { } movieClip 3871 { } instance of movieClip 86 { onClipEvent (load) { if (_root.kongstuff == false) { this._visible = false; } } } movieClip 3872 { } movieClip 3873 { instance of movieClip 3872 { onClipEvent (enterFrame) { if (this.hitTest(_root.mcPLATFORM1)) { this.gotoAndStop(1); } if (_root.confstopped == true) { this.removeMovieClip(); this._visible = false; } } } } movieClip 3874 { } instance mc of movieClip 3874 { onClipEvent (load) { myColor = Math.round(Math.random() * 16777215); myColoredObject = new Color(this); myColoredObject.setRGB(myColor); } } movieClip 3878 { } movieClip 3879 { } movieClip 3880 { } movieClip 3882 { } movieClip 3885 { } movieClip 3886 { frame 1 { stop(); } } movieClip 3889 { } movieClip 3891 { } movieClip 3892 { } movieClip 3893 { } movieClip 3895 { } movieClip 3896 { frame 1 { stop(); } } instance of movieClip 1244 { onClipEvent (load) { if (_root.otherbranding == false) { this._visible = false; } } } instance of movieClip 1233 { onClipEvent (load) { if (_root.otherbranding == false) { this._visible = false; } } } frame 319 { _root.currentroom = 'Lab'; } frame 319 { stop(); } frame 319 { _root.lockeff = false; } frame 319 { if (_root.labcamefrom == true) { _root.mcPLAYER._x = 39; _root.mcPLAYER._y = 419.95; _root.labdoorzz.gotoAndStop(1); _root.secretz2.gotoAndPlay(49); _root.labcamefrom = false; } } movieClip 3904 { frame 91 { gotoAndPlay(30); } } movieClip 3905 { frame 1 { stop(); } } movieClip 3907 { } movieClip 3909 { } movieClip 3910 { } movieClip 3911 { frame 1 { stop(); } } movieClip 3912 { frame 1 { stop(); } instance of movieClip 1833 { onClipEvent (enterFrame) { if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) { _root.customscreen.gotoAndPlay(6); } } } frame 10 { stop(); } instance of movieClip 1833 { onClipEvent (enterFrame) { if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) { if (Key.isDown(32)) { _root.disablecontrols(); _root.mcPLAYER.XMOVEMENT = 0; _root.customscreen.gotoAndPlay(11); } } if (!this.hitTest(_root.mcPLAYER.mcCOLLIDER)) { _root.customscreen.gotoAndStop(1); } } } frame 35 { _root.platbotinvisible(); } frame 56 { _root.fuzz1.gotoAndPlay(2); _root.fuzz2.gotoAndPlay(2); _root.fuzz3.gotoAndPlay(2); _root.fuzz4.gotoAndPlay(2); _root.fuzz5.gotoAndPlay(2); } frame 87 { stop(); } instance of movieClip 3911 { onClipEvent (rollOver) { this.gotoAndStop(2); } onClipEvent (rollOut) { this.gotoAndStop(1); } onClipEvent (release) { _root.customscreen.gotoAndPlay(87); } } frame 88 { _root.fuzz1.gotoAndPlay(12); _root.fuzz2.gotoAndPlay(12); _root.fuzz3.gotoAndPlay(12); _root.fuzz4.gotoAndPlay(12); _root.fuzz5.gotoAndPlay(12); _root.save(); } frame 101 { _root.enablecontrols(); _root.mcPLAYER.gotoAndStop(7); _root.mcPLAYER._visible = true; _root.mcPLAYER.YMOVEMENT = 0; _root.mcPLAYER.XMOVEMENT = 0; } frame 105 { gotoAndStop(1); } } movieClip 3919 { frame 1 { stop(); } } button 3922 { on (release) { _root.hshop.nextFrame(); } } movieClip 3980 { frame 1 { stop(); } instance of movieClip 1565 { onClipEvent (release) { _root.hshop.nextFrame(); } } instance of movieClip 1565 { onClipEvent (release) { _root.hshop.prevFrame(); } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.h1bought == true) { this.gotoAndStop(3); } if (_root.h1bought == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.htier1price) { _root.h1bought = true; _root.cogcoin -= _root.htier1price; _root.buyeffects(); } } if (_root.cogcoin < _root.htier1price) { _root.nernershop.gotoAndPlay(2); } } onClipEvent (release) { if (this._currentframe == 3) { _root.bothead = _root.hshop._currentframe; _root.customup(); } } } instance of movieClip 1187 { onClipEvent (enterFrame) { if (_root.hshop._currentframe == 1) { if (_root.h1bought == true) { this._visible = false; } } if (_root.hshop._currentframe == 1) { if (_root.h1bought == false) { this._visible = true; } } if (_root.hshop._currentframe == 2) { if (_root.h2bought == true) { this._visible = false; } } if (_root.hshop._currentframe == 2) { if (_root.h2bought == false) { this._visible = true; } } if (_root.hshop._currentframe == 3) { if (_root.h3bought == true) { this._visible = false; } } if (_root.hshop._currentframe == 3) { if (_root.h3bought == false) { this._visible = true; } } if (_root.hshop._currentframe == 4) { if (_root.h4bought == true) { this._visible = false; } } if (_root.hshop._currentframe == 4) { if (_root.h4bought == false) { this._visible = true; } } if (_root.hshop._currentframe == 5) { if (_root.h5bought == true) { this._visible = false; } } if (_root.hshop._currentframe == 5) { if (_root.h5bought == false) { this._visible = true; } } if (_root.hshop._currentframe == 6) { if (_root.h6bought == true) { this._visible = false; } } if (_root.hshop._currentframe == 6) { if (_root.h6bought == false) { this._visible = true; } } if (_root.hshop._currentframe == 7) { if (_root.h7bought == true) { this._visible = false; } } if (_root.hshop._currentframe == 7) { if (_root.h7bought == false) { this._visible = true; } } if (_root.hshop._currentframe == 8) { if (_root.h8bought == true) { this._visible = false; } } if (_root.hshop._currentframe == 8) { if (_root.h8bought == false) { this._visible = true; } } if (_root.hshop._currentframe == 9) { if (_root.h9bought == true) { this._visible = false; } } if (_root.hshop._currentframe == 9) { if (_root.h9bought == false) { this._visible = true; } } if (_root.hshop._currentframe == 10) { if (_root.h10bought == true) { this._visible = false; } } if (_root.hshop._currentframe == 10) { if (_root.h10bought == false) { this._visible = true; } } if (_root.hshop._currentframe == 11) { if (_root.h11bought == true) { this._visible = false; } } if (_root.hshop._currentframe == 11) { if (_root.h11bought == false) { this._visible = true; } } if (_root.hshop._currentframe == 12) { if (_root.h12bought == true) { this._visible = false; } } if (_root.hshop._currentframe == 12) { if (_root.h12bought == false) { this._visible = true; } } if (_root.hshop._currentframe == 13) { if (_root.h13bought == true) { this._visible = false; } } if (_root.hshop._currentframe == 13) { if (_root.h13bought == false) { this._visible = true; } } if (_root.hshop._currentframe == 14) { if (_root.h14bought == true) { this._visible = false; } } if (_root.hshop._currentframe == 14) { if (_root.h14bought == false) { this._visible = true; } } if (_root.hshop._currentframe == 15) { if (_root.h15bought == true) { this._visible = false; } } if (_root.hshop._currentframe == 15) { if (_root.h15bought == false) { this._visible = true; } } if (_root.hshop._currentframe == 16) { if (_root.h16bought == true) { this._visible = false; } } if (_root.hshop._currentframe == 16) { if (_root.h16bought == false) { this._visible = true; } } if (_root.hshop._currentframe == 17) { if (_root.h17bought == true) { this._visible = false; } } if (_root.hshop._currentframe == 17) { if (_root.h17bought == false) { this._visible = true; } } if (_root.hshop._currentframe == 18) { if (_root.h18bought == true) { this._visible = false; } } if (_root.hshop._currentframe == 18) { if (_root.h18bought == false) { this._visible = true; } } if (_root.hshop._currentframe == 19) { if (_root.h19bought == true) { this._visible = false; } } if (_root.hshop._currentframe == 19) { if (_root.h19bought == false) { this._visible = true; } } if (_root.hshop._currentframe == 20) { if (_root.h20bought == true) { this._visible = false; } } if (_root.hshop._currentframe == 20) { if (_root.h20bought == false) { this._visible = true; } } if (_root.hshop._currentframe == 21) { if (_root.h21bought == true) { this._visible = false; } } if (_root.hshop._currentframe == 21) { if (_root.h21bought == false) { this._visible = true; } } if (_root.hshop._currentframe == 22) { if (_root.h22bought == true) { this._visible = false; } } if (_root.hshop._currentframe == 22) { if (_root.h22bought == false) { this._visible = true; } } if (_root.hshop._currentframe == 23) { if (_root.h23bought == true) { this._visible = false; } } if (_root.hshop._currentframe == 23) { if (_root.h23bought == false) { this._visible = true; } } if (_root.hshop._currentframe == 24) { if (_root.h24bought == true) { this._visible = false; } } if (_root.hshop._currentframe == 24) { if (_root.h24bought == false) { this._visible = true; } } if (_root.hshop._currentframe == 25) { if (_root.h25bought == true) { this._visible = false; } } if (_root.hshop._currentframe == 25) { if (_root.h25bought == false) { this._visible = true; } } if (_root.hshop._currentframe == 26) { if (_root.h26bought == true) { this._visible = false; } } if (_root.hshop._currentframe == 26) { if (_root.h26bought == false) { this._visible = true; } } if (_root.hshop._currentframe == 27) { if (_root.h27bought == true) { this._visible = false; } } if (_root.hshop._currentframe == 27) { if (_root.h27bought == false) { this._visible = true; } } if (_root.hshop._currentframe == 28) { if (_root.h28bought == true) { this._visible = false; } } if (_root.hshop._currentframe == 28) { if (_root.h28bought == false) { this._visible = true; } } if (_root.hshop._currentframe == 29) { if (_root.h29bought == true) { this._visible = false; } } if (_root.hshop._currentframe == 29) { if (_root.h29bought == false) { this._visible = true; } } } } instance of movieClip 1565 { onClipEvent (release) { _root.hshop.prevFrame(); } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.h2bought == true) { this.gotoAndStop(3); } if (_root.h2bought == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.htier1price) { _root.h2bought = true; _root.cogcoin -= _root.htier1price; _root.buyeffects(); } } if (_root.cogcoin < _root.htier1price) { _root.nernershop.gotoAndPlay(2); } } onClipEvent (release) { if (this._currentframe == 3) { _root.bothead = _root.hshop._currentframe; _root.customup(); } } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.h3bought == true) { this.gotoAndStop(3); } if (_root.h3bought == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.htier1price) { _root.h3bought = true; _root.cogcoin -= _root.htier1price; _root.buyeffects(); } } if (_root.cogcoin < _root.htier1price) { _root.nernershop.gotoAndPlay(2); } } onClipEvent (release) { if (this._currentframe == 3) { _root.bothead = _root.hshop._currentframe; _root.customup(); } } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.h4bought == true) { this.gotoAndStop(3); } if (_root.h4bought == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.htier1price) { _root.h4bought = true; _root.cogcoin -= _root.htier1price; _root.buyeffects(); } } if (_root.cogcoin < _root.htier1price) { _root.nernershop.gotoAndPlay(2); } } onClipEvent (release) { if (this._currentframe == 3) { _root.bothead = _root.hshop._currentframe; _root.customup(); } } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.h5bought == true) { this.gotoAndStop(3); } if (_root.h5bought == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.htier2price) { _root.h5bought = true; _root.cogcoin -= _root.htier2price; _root.buyeffects(); } } if (_root.cogcoin < _root.htier2price) { _root.nernershop.gotoAndPlay(2); } } onClipEvent (release) { if (this._currentframe == 3) { _root.bothead = _root.hshop._currentframe; _root.customup(); } } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.h6bought == true) { this.gotoAndStop(3); } if (_root.h6bought == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.htier2price) { _root.h6bought = true; _root.cogcoin -= _root.htier2price; _root.buyeffects(); } } if (_root.cogcoin < _root.htier2price) { _root.nernershop.gotoAndPlay(2); } } onClipEvent (release) { if (this._currentframe == 3) { _root.bothead = _root.hshop._currentframe; _root.customup(); } } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.h7bought == true) { this.gotoAndStop(3); } if (_root.h7bought == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.htier2price) { _root.h7bought = true; _root.cogcoin -= _root.htier2price; _root.buyeffects(); } } if (_root.cogcoin < _root.htier2price) { _root.nernershop.gotoAndPlay(2); } } onClipEvent (release) { if (this._currentframe == 3) { _root.bothead = _root.hshop._currentframe; _root.customup(); } } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.h8bought == true) { this.gotoAndStop(3); } if (_root.h8bought == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.htier2price) { _root.h8bought = true; _root.cogcoin -= _root.htier2price; _root.buyeffects(); } } if (_root.cogcoin < _root.htier2price) { _root.nernershop.gotoAndPlay(2); } } onClipEvent (release) { if (this._currentframe == 3) { _root.bothead = _root.hshop._currentframe; _root.customup(); } } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.h9bought == true) { this.gotoAndStop(3); } if (_root.h9bought == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.htier2price) { _root.h9bought = true; _root.cogcoin -= _root.htier2price; _root.buyeffects(); } } if (_root.cogcoin < _root.htier2price) { _root.nernershop.gotoAndPlay(2); } } onClipEvent (release) { if (this._currentframe == 3) { _root.bothead = _root.hshop._currentframe; _root.customup(); } } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.h10bought == true) { this.gotoAndStop(3); } if (_root.h10bought == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.htier2price) { _root.h10bought = true; _root.cogcoin -= _root.htier2price; _root.buyeffects(); } } if (_root.cogcoin < _root.htier2price) { _root.nernershop.gotoAndPlay(2); } } onClipEvent (release) { if (this._currentframe == 3) { _root.bothead = _root.hshop._currentframe; _root.customup(); } } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.h11bought == true) { this.gotoAndStop(3); } if (_root.h11bought == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.htier2price) { _root.h11bought = true; _root.cogcoin -= _root.htier2price; _root.buyeffects(); } } if (_root.cogcoin < _root.htier2price) { _root.nernershop.gotoAndPlay(2); } } onClipEvent (release) { if (this._currentframe == 3) { _root.bothead = _root.hshop._currentframe; _root.customup(); } } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.h12bought == true) { this.gotoAndStop(3); } if (_root.h12bought == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.htier2price) { _root.h12bought = true; _root.cogcoin -= _root.htier2price; _root.buyeffects(); } } if (_root.cogcoin < _root.htier2price) { _root.nernershop.gotoAndPlay(2); } } onClipEvent (release) { if (this._currentframe == 3) { _root.bothead = _root.hshop._currentframe; _root.customup(); } } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.h13bought == true) { this.gotoAndStop(3); } if (_root.h13bought == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.htier2price) { _root.h13bought = true; _root.cogcoin -= _root.htier2price; _root.buyeffects(); } } if (_root.cogcoin < _root.htier2price) { _root.nernershop.gotoAndPlay(2); } } onClipEvent (release) { if (this._currentframe == 3) { _root.bothead = _root.hshop._currentframe; _root.customup(); } } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.h14bought == true) { this.gotoAndStop(3); } if (_root.h14bought == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.htier2price) { _root.h14bought = true; _root.cogcoin -= _root.htier2price; _root.buyeffects(); } } if (_root.cogcoin < _root.htier2price) { _root.nernershop.gotoAndPlay(2); } } onClipEvent (release) { if (this._currentframe == 3) { _root.bothead = _root.hshop._currentframe; _root.customup(); } } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.h15bought == true) { this.gotoAndStop(3); } if (_root.h15bought == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.htier3price) { _root.h15bought = true; _root.cogcoin -= _root.htier3price; _root.buyeffects(); } } if (_root.cogcoin < _root.htier3price) { _root.nernershop.gotoAndPlay(2); } } onClipEvent (release) { if (this._currentframe == 3) { _root.bothead = _root.hshop._currentframe; _root.customup(); } } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.h16bought == true) { this.gotoAndStop(3); } if (_root.h16bought == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.htier3price) { _root.h16bought = true; _root.cogcoin -= _root.htier3price; _root.buyeffects(); } } if (_root.cogcoin < _root.htier3price) { _root.nernershop.gotoAndPlay(2); } } onClipEvent (release) { if (this._currentframe == 3) { _root.bothead = _root.hshop._currentframe; _root.customup(); } } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.h17bought == true) { this.gotoAndStop(3); } if (_root.h17bought == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.htier3price) { _root.h17bought = true; _root.cogcoin -= _root.htier3price; _root.buyeffects(); } } if (_root.cogcoin < _root.htier3price) { _root.nernershop.gotoAndPlay(2); } } onClipEvent (release) { if (this._currentframe == 3) { _root.bothead = _root.hshop._currentframe; _root.customup(); } } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.h18bought == true) { this.gotoAndStop(3); } if (_root.h18bought == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.htier3price) { _root.h18bought = true; _root.cogcoin -= _root.htier3price; _root.buyeffects(); } } if (_root.cogcoin < _root.htier3price) { _root.nernershop.gotoAndPlay(2); } } onClipEvent (release) { if (this._currentframe == 3) { _root.bothead = _root.hshop._currentframe; _root.customup(); } } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.h19bought == true) { this.gotoAndStop(3); } if (_root.h19bought == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.htier3price) { _root.h19bought = true; _root.cogcoin -= _root.htier3price; _root.buyeffects(); } } if (_root.cogcoin < _root.htier3price) { _root.nernershop.gotoAndPlay(2); } } onClipEvent (release) { if (this._currentframe == 3) { _root.bothead = _root.hshop._currentframe; _root.customup(); } } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.h20bought == true) { this.gotoAndStop(3); } if (_root.h20bought == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.htier3price) { _root.h20bought = true; _root.cogcoin -= _root.htier3price; _root.buyeffects(); } } if (_root.cogcoin < _root.htier3price) { _root.nernershop.gotoAndPlay(2); } } onClipEvent (release) { if (this._currentframe == 3) { _root.bothead = _root.hshop._currentframe; _root.customup(); } } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.h21bought == true) { this.gotoAndStop(3); } if (_root.h21bought == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.htier4price) { _root.h21bought = true; _root.cogcoin -= _root.htier4price; _root.buyeffects(); } } if (_root.cogcoin < _root.htier4price) { _root.nernershop.gotoAndPlay(2); } } onClipEvent (release) { if (this._currentframe == 3) { _root.bothead = _root.hshop._currentframe; _root.customup(); } } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.h22bought == true) { this.gotoAndStop(3); } if (_root.h22bought == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.htier4price) { _root.h22bought = true; _root.cogcoin -= _root.htier4price; _root.buyeffects(); } } if (_root.cogcoin < _root.htier4price) { _root.nernershop.gotoAndPlay(2); } } onClipEvent (release) { if (this._currentframe == 3) { _root.bothead = _root.hshop._currentframe; _root.customup(); } } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.h23bought == true) { this.gotoAndStop(3); } if (_root.h23bought == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.htier4price) { _root.h23bought = true; _root.cogcoin -= _root.htier4price; _root.buyeffects(); } } if (_root.cogcoin < _root.htier4price) { _root.nernershop.gotoAndPlay(2); } } onClipEvent (release) { if (this._currentframe == 3) { _root.bothead = _root.hshop._currentframe; _root.customup(); } } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.h24bought == true) { this.gotoAndStop(3); } if (_root.h24bought == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.htier4price) { _root.h24bought = true; _root.cogcoin -= _root.htier4price; _root.buyeffects(); } } if (_root.cogcoin < _root.htier4price) { _root.nernershop.gotoAndPlay(2); } } onClipEvent (release) { if (this._currentframe == 3) { _root.bothead = _root.hshop._currentframe; _root.customup(); } } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.h25bought == true) { this.gotoAndStop(3); } if (_root.h25bought == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.htier4price) { _root.h25bought = true; _root.cogcoin -= _root.htier4price; _root.buyeffects(); } } if (_root.cogcoin < _root.htier4price) { _root.nernershop.gotoAndPlay(2); } } onClipEvent (release) { if (this._currentframe == 3) { _root.bothead = _root.hshop._currentframe; _root.customup(); } } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.h26bought == true) { this.gotoAndStop(3); } if (_root.h26bought == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.htier4price) { _root.h26bought = true; _root.cogcoin -= _root.htier4price; _root.buyeffects(); } } if (_root.cogcoin < _root.htier4price) { _root.nernershop.gotoAndPlay(2); } } onClipEvent (release) { if (this._currentframe == 3) { _root.bothead = _root.hshop._currentframe; _root.customup(); } } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.h27bought == true) { this.gotoAndStop(3); } if (_root.h27bought == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.htier4price) { _root.h27bought = true; _root.cogcoin -= _root.htier4price; _root.buyeffects(); } } if (_root.cogcoin < _root.htier4price) { _root.nernershop.gotoAndPlay(2); } } onClipEvent (release) { if (this._currentframe == 3) { _root.bothead = _root.hshop._currentframe; _root.customup(); } } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.h28bought == true) { this.gotoAndStop(3); } if (_root.h28bought == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.htier4price) { _root.h28bought = true; _root.cogcoin -= _root.htier4price; _root.buyeffects(); } } if (_root.cogcoin < _root.htier4price) { _root.nernershop.gotoAndPlay(2); } } onClipEvent (release) { if (this._currentframe == 3) { _root.bothead = _root.hshop._currentframe; _root.customup(); } } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.h29bought == true) { this.gotoAndStop(3); } if (_root.h29bought == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.htier4price) { _root.h29bought = true; _root.cogcoin -= _root.htier4price; _root.buyeffects(); } } if (_root.cogcoin < _root.htier4price) { _root.nernershop.gotoAndPlay(2); } } onClipEvent (release) { if (this._currentframe == 3) { _root.bothead = _root.hshop._currentframe; _root.customup(); } } } } movieClip 4067 { frame 1 { stop(); } instance of movieClip 1565 { onClipEvent (release) { _root.bshop.nextFrame(); } } instance of movieClip 1565 { onClipEvent (release) { _root.bshop.prevFrame(); } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.bbought1 == true) { this.gotoAndStop(3); } if (_root.bbought1 == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.btier1price) { _root.bbought1 = true; _root.cogcoin -= _root.btier1price; _root.buyeffects3(); } } } onClipEvent (release) { if (this._currentframe == 3) { _root.botbody = _root.bshop._currentframe; _root.customup(); } } } instance of movieClip 1187 { onClipEvent (enterFrame) { if (_root.bshop._currentframe == 1) { if (_root.bbought1 == true) { this._visible = false; } } if (_root.bshop._currentframe == 1) { if (_root.bbought1 == false) { this._visible = true; } } if (_root.bshop._currentframe == 2) { if (_root.bbought2 == true) { this._visible = false; } } if (_root.bshop._currentframe == 2) { if (_root.bbought2 == false) { this._visible = true; } } if (_root.bshop._currentframe == 3) { if (_root.bbought3 == true) { this._visible = false; } } if (_root.bshop._currentframe == 3) { if (_root.bbought3 == false) { this._visible = true; } } if (_root.bshop._currentframe == 4) { if (_root.bbought4 == true) { this._visible = false; } } if (_root.bshop._currentframe == 4) { if (_root.bbought4 == false) { this._visible = true; } } if (_root.bshop._currentframe == 5) { if (_root.bbought5 == true) { this._visible = false; } } if (_root.bshop._currentframe == 5) { if (_root.bbought5 == false) { this._visible = true; } } if (_root.bshop._currentframe == 6) { if (_root.bbought6 == true) { this._visible = false; } } if (_root.bshop._currentframe == 6) { if (_root.bbought6 == false) { this._visible = true; } } if (_root.bshop._currentframe == 7) { if (_root.bbought7 == true) { this._visible = false; } } if (_root.bshop._currentframe == 7) { if (_root.bbought7 == false) { this._visible = true; } } if (_root.bshop._currentframe == 8) { if (_root.bbought8 == true) { this._visible = false; } } if (_root.bshop._currentframe == 8) { if (_root.bbought8 == false) { this._visible = true; } } if (_root.bshop._currentframe == 9) { if (_root.bbought9 == true) { this._visible = false; } } if (_root.bshop._currentframe == 9) { if (_root.bbought9 == false) { this._visible = true; } } if (_root.bshop._currentframe == 10) { if (_root.bbought10 == true) { this._visible = false; } } if (_root.bshop._currentframe == 10) { if (_root.bbought10 == false) { this._visible = true; } } if (_root.bshop._currentframe == 11) { if (_root.bbought11 == true) { this._visible = false; } } if (_root.bshop._currentframe == 11) { if (_root.bbought11 == false) { this._visible = true; } } if (_root.bshop._currentframe == 12) { if (_root.bbought12 == true) { this._visible = false; } } if (_root.bshop._currentframe == 12) { if (_root.bbought12 == false) { this._visible = true; } } if (_root.bshop._currentframe == 13) { if (_root.bbought13 == true) { this._visible = false; } } if (_root.bshop._currentframe == 13) { if (_root.bbought13 == false) { this._visible = true; } } if (_root.bshop._currentframe == 14) { if (_root.bbought14 == true) { this._visible = false; } } if (_root.bshop._currentframe == 14) { if (_root.bbought14 == false) { this._visible = true; } } if (_root.bshop._currentframe == 15) { if (_root.bbought15 == true) { this._visible = false; } } if (_root.bshop._currentframe == 15) { if (_root.bbought15 == false) { this._visible = true; } } if (_root.bshop._currentframe == 16) { if (_root.bbought16 == true) { this._visible = false; } } if (_root.bshop._currentframe == 16) { if (_root.bbought16 == false) { this._visible = true; } } if (_root.bshop._currentframe == 17) { if (_root.bbought17 == true) { this._visible = false; } } if (_root.bshop._currentframe == 17) { if (_root.bbought17 == false) { this._visible = true; } } if (_root.bshop._currentframe == 18) { if (_root.bbought18 == true) { this._visible = false; } } if (_root.bshop._currentframe == 18) { if (_root.bbought18 == false) { this._visible = true; } } if (_root.bshop._currentframe == 19) { if (_root.bbought19 == true) { this._visible = false; } } if (_root.bshop._currentframe == 19) { if (_root.bbought19 == false) { this._visible = true; } } if (_root.bshop._currentframe == 20) { if (_root.bbought20 == true) { this._visible = false; } } if (_root.bshop._currentframe == 20) { if (_root.bbought20 == false) { this._visible = true; } } if (_root.bshop._currentframe == 21) { if (_root.bbought21 == true) { this._visible = false; } } if (_root.bshop._currentframe == 21) { if (_root.bbought21 == false) { this._visible = true; } } if (_root.bshop._currentframe == 22) { if (_root.bbought22 == true) { this._visible = false; } } if (_root.bshop._currentframe == 22) { if (_root.bbought22 == false) { this._visible = true; } } if (_root.bshop._currentframe == 23) { if (_root.bbought23 == true) { this._visible = false; } } if (_root.bshop._currentframe == 23) { if (_root.bbought23 == false) { this._visible = true; } } if (_root.bshop._currentframe == 24) { if (_root.bbought24 == true) { this._visible = false; } } if (_root.bshop._currentframe == 24) { if (_root.bbought24 == false) { this._visible = true; } } if (_root.bshop._currentframe == 25) { if (_root.bbought25 == true) { this._visible = false; } } if (_root.bshop._currentframe == 25) { if (_root.bbought25 == false) { this._visible = true; } } if (_root.bshop._currentframe == 26) { if (_root.bbought26 == true) { this._visible = false; } } if (_root.bshop._currentframe == 26) { if (_root.bbought26 == false) { this._visible = true; } } if (_root.bshop._currentframe == 27) { if (_root.bbought27 == true) { this._visible = false; } } if (_root.bshop._currentframe == 27) { if (_root.bbought27 == false) { this._visible = true; } } if (_root.bshop._currentframe == 28) { if (_root.bbought28 == true) { this._visible = false; } } if (_root.bshop._currentframe == 28) { if (_root.bbought28 == false) { this._visible = true; } } if (_root.bshop._currentframe == 29) { if (_root.bbought29 == true) { this._visible = false; } } if (_root.bshop._currentframe == 29) { if (_root.bbought29 == false) { this._visible = true; } } } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.bbought2 == true) { this.gotoAndStop(3); } if (_root.bbought2 == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.btier1price) { _root.bbought2 = true; _root.cogcoin -= _root.btier1price; _root.buyeffects3(); } } } onClipEvent (release) { if (this._currentframe == 3) { _root.botbody = _root.bshop._currentframe; _root.customup(); } } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.bbought3 == true) { this.gotoAndStop(3); } if (_root.bbought3 == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.btier1price) { _root.bbought3 = true; _root.cogcoin -= _root.btier1price; _root.buyeffects3(); } } } onClipEvent (release) { if (this._currentframe == 3) { _root.botbody = _root.bshop._currentframe; _root.customup(); } } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.bbought4 == true) { this.gotoAndStop(3); } if (_root.bbought4 == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.btier1price) { _root.bbought4 = true; _root.cogcoin -= _root.btier1price; _root.buyeffects3(); } } } onClipEvent (release) { if (this._currentframe == 3) { _root.botbody = _root.bshop._currentframe; _root.customup(); } } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.bbought5 == true) { this.gotoAndStop(3); } if (_root.bbought5 == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.btier2price) { _root.bbought5 = true; _root.cogcoin -= _root.btier2price; _root.buyeffects3(); } } } onClipEvent (release) { if (this._currentframe == 3) { _root.botbody = _root.bshop._currentframe; _root.customup(); } } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.bbought6 == true) { this.gotoAndStop(3); } if (_root.bbought6 == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.btier2price) { _root.bbought6 = true; _root.cogcoin -= _root.btier2price; _root.buyeffects3(); } } } onClipEvent (release) { if (this._currentframe == 3) { _root.botbody = _root.bshop._currentframe; _root.customup(); } } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.bbought7 == true) { this.gotoAndStop(3); } if (_root.bbought7 == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.btier2price) { _root.bbought7 = true; _root.cogcoin -= _root.btier2price; _root.buyeffects3(); } } } onClipEvent (release) { if (this._currentframe == 3) { _root.botbody = _root.bshop._currentframe; _root.customup(); } } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.bbought8 == true) { this.gotoAndStop(3); } if (_root.bbought8 == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.btier2price) { _root.bbought8 = true; _root.cogcoin -= _root.btier2price; _root.buyeffects3(); } } } onClipEvent (release) { if (this._currentframe == 3) { _root.botbody = _root.bshop._currentframe; _root.customup(); } } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.bbought9 == true) { this.gotoAndStop(3); } if (_root.bbought9 == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.btier2price) { _root.bbought9 = true; _root.cogcoin -= _root.btier2price; _root.buyeffects3(); } } } onClipEvent (release) { if (this._currentframe == 3) { _root.botbody = _root.bshop._currentframe; _root.customup(); } } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.bbought10 == true) { this.gotoAndStop(3); } if (_root.bbought10 == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.btier2price) { _root.bbought10 = true; _root.cogcoin -= _root.btier2price; _root.buyeffects3(); } } } onClipEvent (release) { if (this._currentframe == 3) { _root.botbody = _root.bshop._currentframe; _root.customup(); } } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.bbought11 == true) { this.gotoAndStop(3); } if (_root.bbought11 == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.btier2price) { _root.bbought11 = true; _root.cogcoin -= _root.btier2price; _root.buyeffects3(); } } } onClipEvent (release) { if (this._currentframe == 3) { _root.botbody = _root.bshop._currentframe; _root.customup(); } } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.bbought12 == true) { this.gotoAndStop(3); } if (_root.bbought12 == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.btier2price) { _root.bbought12 = true; _root.cogcoin -= _root.btier2price; _root.buyeffects3(); } } } onClipEvent (release) { if (this._currentframe == 3) { _root.botbody = _root.bshop._currentframe; _root.customup(); } } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.bbought13 == true) { this.gotoAndStop(3); } if (_root.bbought13 == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.btier2price) { _root.bbought13 = true; _root.cogcoin -= _root.btier2price; _root.buyeffects3(); } } } onClipEvent (release) { if (this._currentframe == 3) { _root.botbody = _root.bshop._currentframe; _root.customup(); } } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.bbought14 == true) { this.gotoAndStop(3); } if (_root.bbought14 == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.btier2price) { _root.bbought14 = true; _root.cogcoin -= _root.btier2price; _root.buyeffects3(); } } } onClipEvent (release) { if (this._currentframe == 3) { _root.botbody = _root.bshop._currentframe; _root.customup(); } } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.bbought15 == true) { this.gotoAndStop(3); } if (_root.bbought15 == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.btier3price) { _root.bbought15 = true; _root.cogcoin -= _root.btier3price; _root.buyeffects3(); } } } onClipEvent (release) { if (this._currentframe == 3) { _root.botbody = _root.bshop._currentframe; _root.customup(); } } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.bbought16 == true) { this.gotoAndStop(3); } if (_root.bbought16 == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.btier3price) { _root.bbought16 = true; _root.cogcoin -= _root.btier3price; _root.buyeffects3(); } } } onClipEvent (release) { if (this._currentframe == 3) { _root.botbody = _root.bshop._currentframe; _root.customup(); } } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.bbought17 == true) { this.gotoAndStop(3); } if (_root.bbought17 == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.btier3price) { _root.bbought17 = true; _root.cogcoin -= _root.btier3price; _root.buyeffects3(); } } } onClipEvent (release) { if (this._currentframe == 3) { _root.botbody = _root.bshop._currentframe; _root.customup(); } } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.bbought18 == true) { this.gotoAndStop(3); } if (_root.bbought18 == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.btier3price) { _root.bbought18 = true; _root.cogcoin -= _root.btier3price; _root.buyeffects3(); } } } onClipEvent (release) { if (this._currentframe == 3) { _root.botbody = _root.bshop._currentframe; _root.customup(); } } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.bbought19 == true) { this.gotoAndStop(3); } if (_root.bbought19 == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.btier3price) { _root.bbought19 = true; _root.cogcoin -= _root.btier3price; _root.buyeffects3(); } } } onClipEvent (release) { if (this._currentframe == 3) { _root.botbody = _root.bshop._currentframe; _root.customup(); } } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.bbought20 == true) { this.gotoAndStop(3); } if (_root.bbought20 == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.btier3price) { _root.bbought20 = true; _root.cogcoin -= _root.btier3price; _root.buyeffects3(); } } } onClipEvent (release) { if (this._currentframe == 3) { _root.botbody = _root.bshop._currentframe; _root.customup(); } } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.bbought21 == true) { this.gotoAndStop(3); } if (_root.bbought21 == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.btier4price) { _root.bbought21 = true; _root.cogcoin -= _root.btier4price; _root.buyeffects3(); } } } onClipEvent (release) { if (this._currentframe == 3) { _root.botbody = _root.bshop._currentframe; _root.customup(); } } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.bbought22 == true) { this.gotoAndStop(3); } if (_root.bbought22 == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.btier4price) { _root.bbought22 = true; _root.cogcoin -= _root.btier4price; _root.buyeffects3(); } } } onClipEvent (release) { if (this._currentframe == 3) { _root.botbody = _root.bshop._currentframe; _root.customup(); } } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.bbought23 == true) { this.gotoAndStop(3); } if (_root.bbought23 == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.btier4price) { _root.bbought23 = true; _root.cogcoin -= _root.btier4price; _root.buyeffects3(); } } } onClipEvent (release) { if (this._currentframe == 3) { _root.botbody = _root.bshop._currentframe; _root.customup(); } } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.bbought24 == true) { this.gotoAndStop(3); } if (_root.bbought24 == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.btier4price) { _root.bbought24 = true; _root.cogcoin -= _root.btier4price; _root.buyeffects3(); } } } onClipEvent (release) { if (this._currentframe == 3) { _root.botbody = _root.bshop._currentframe; _root.customup(); } } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.bbought25 == true) { this.gotoAndStop(3); } if (_root.bbought25 == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.btier4price) { _root.bbought25 = true; _root.cogcoin -= _root.btier4price; _root.buyeffects3(); } } } onClipEvent (release) { if (this._currentframe == 3) { _root.botbody = _root.bshop._currentframe; _root.customup(); } } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.bbought26 == true) { this.gotoAndStop(3); } if (_root.bbought26 == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.btier4price) { _root.bbought26 = true; _root.cogcoin -= _root.btier4price; _root.buyeffects3(); } } } onClipEvent (release) { if (this._currentframe == 3) { _root.botbody = _root.bshop._currentframe; _root.customup(); } } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.bbought27 == true) { this.gotoAndStop(3); } if (_root.bbought27 == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.btier4price) { _root.bbought27 = true; _root.cogcoin -= _root.btier4price; _root.buyeffects3(); } } } onClipEvent (release) { if (this._currentframe == 3) { _root.botbody = _root.bshop._currentframe; _root.customup(); } } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.bbought28 == true) { this.gotoAndStop(3); } if (_root.bbought28 == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.btier4price) { _root.bbought28 = true; _root.cogcoin -= _root.btier4price; _root.buyeffects3(); } } } onClipEvent (release) { if (this._currentframe == 3) { _root.botbody = _root.bshop._currentframe; _root.customup(); } } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.bbought29 == true) { this.gotoAndStop(3); } if (_root.bbought29 == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.btier4price) { _root.bbought29 = true; _root.cogcoin -= _root.btier4price; _root.buyeffects3(); } } } onClipEvent (release) { if (this._currentframe == 3) { _root.botbody = _root.bshop._currentframe; _root.customup(); } } } } movieClip 4146 { frame 1 { stop(); } instance of movieClip 1565 { onClipEvent (release) { _root.lshop.nextFrame(); } } instance of movieClip 1565 { onClipEvent (release) { _root.lshop.prevFrame(); } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.lbought1 == true) { this.gotoAndStop(3); } if (_root.lbought1 == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.ltier1price) { _root.lbought1 = true; _root.cogcoin -= _root.ltier1price; _root.buyeffects4(); } } } onClipEvent (release) { if (this._currentframe == 3) { _root.botleg = _root.lshop._currentframe; _root.customup(); } } } instance of movieClip 1187 { onClipEvent (enterFrame) { if (_root.lshop._currentframe == 1) { if (_root.lbought1 == true) { this._visible = false; } } if (_root.lshop._currentframe == 1) { if (_root.lbought1 == false) { this._visible = true; } } if (_root.lshop._currentframe == 2) { if (_root.lbought2 == true) { this._visible = false; } } if (_root.lshop._currentframe == 2) { if (_root.lbought2 == false) { this._visible = true; } } if (_root.lshop._currentframe == 3) { if (_root.lbought3 == true) { this._visible = false; } } if (_root.lshop._currentframe == 3) { if (_root.lbought3 == false) { this._visible = true; } } if (_root.lshop._currentframe == 4) { if (_root.lbought4 == true) { this._visible = false; } } if (_root.lshop._currentframe == 4) { if (_root.lbought4 == false) { this._visible = true; } } if (_root.lshop._currentframe == 5) { if (_root.lbought5 == true) { this._visible = false; } } if (_root.lshop._currentframe == 5) { if (_root.lbought5 == false) { this._visible = true; } } if (_root.lshop._currentframe == 6) { if (_root.lbought6 == true) { this._visible = false; } } if (_root.lshop._currentframe == 6) { if (_root.lbought6 == false) { this._visible = true; } } if (_root.lshop._currentframe == 7) { if (_root.lbought7 == true) { this._visible = false; } } if (_root.lshop._currentframe == 7) { if (_root.lbought7 == false) { this._visible = true; } } if (_root.lshop._currentframe == 8) { if (_root.lbought8 == true) { this._visible = false; } } if (_root.lshop._currentframe == 8) { if (_root.lbought8 == false) { this._visible = true; } } if (_root.lshop._currentframe == 9) { if (_root.lbought9 == true) { this._visible = false; } } if (_root.lshop._currentframe == 9) { if (_root.lbought9 == false) { this._visible = true; } } if (_root.lshop._currentframe == 10) { if (_root.lbought10 == true) { this._visible = false; } } if (_root.lshop._currentframe == 10) { if (_root.lbought10 == false) { this._visible = true; } } if (_root.lshop._currentframe == 11) { if (_root.lbought11 == true) { this._visible = false; } } if (_root.lshop._currentframe == 11) { if (_root.lbought11 == false) { this._visible = true; } } if (_root.lshop._currentframe == 12) { if (_root.lbought12 == true) { this._visible = false; } } if (_root.lshop._currentframe == 12) { if (_root.lbought12 == false) { this._visible = true; } } if (_root.lshop._currentframe == 13) { if (_root.lbought13 == true) { this._visible = false; } } if (_root.lshop._currentframe == 13) { if (_root.lbought13 == false) { this._visible = true; } } if (_root.lshop._currentframe == 14) { if (_root.lbought14 == true) { this._visible = false; } } if (_root.lshop._currentframe == 14) { if (_root.lbought14 == false) { this._visible = true; } } if (_root.lshop._currentframe == 15) { if (_root.lbought15 == true) { this._visible = false; } } if (_root.lshop._currentframe == 15) { if (_root.lbought15 == false) { this._visible = true; } } if (_root.lshop._currentframe == 16) { if (_root.lbought16 == true) { this._visible = false; } } if (_root.lshop._currentframe == 16) { if (_root.lbought16 == false) { this._visible = true; } } if (_root.lshop._currentframe == 17) { if (_root.lbought17 == true) { this._visible = false; } } if (_root.lshop._currentframe == 17) { if (_root.lbought17 == false) { this._visible = true; } } if (_root.lshop._currentframe == 18) { if (_root.lbought18 == true) { this._visible = false; } } if (_root.lshop._currentframe == 18) { if (_root.lbought18 == false) { this._visible = true; } } if (_root.lshop._currentframe == 19) { if (_root.lbought19 == true) { this._visible = false; } } if (_root.lshop._currentframe == 19) { if (_root.lbought19 == false) { this._visible = true; } } if (_root.lshop._currentframe == 20) { if (_root.lbought20 == true) { this._visible = false; } } if (_root.lshop._currentframe == 20) { if (_root.lbought20 == false) { this._visible = true; } } if (_root.lshop._currentframe == 21) { if (_root.lbought21 == true) { this._visible = false; } } if (_root.lshop._currentframe == 21) { if (_root.lbought21 == false) { this._visible = true; } } if (_root.lshop._currentframe == 22) { if (_root.lbought22 == true) { this._visible = false; } } if (_root.lshop._currentframe == 22) { if (_root.lbought22 == false) { this._visible = true; } } if (_root.lshop._currentframe == 23) { if (_root.lbought23 == true) { this._visible = false; } } if (_root.lshop._currentframe == 23) { if (_root.lbought23 == false) { this._visible = true; } } if (_root.lshop._currentframe == 24) { if (_root.lbought24 == true) { this._visible = false; } } if (_root.lshop._currentframe == 24) { if (_root.lbought24 == false) { this._visible = true; } } if (_root.lshop._currentframe == 25) { if (_root.lbought25 == true) { this._visible = false; } } if (_root.lshop._currentframe == 25) { if (_root.lbought25 == false) { this._visible = true; } } if (_root.lshop._currentframe == 26) { if (_root.lbought26 == true) { this._visible = false; } } if (_root.lshop._currentframe == 26) { if (_root.lbought26 == false) { this._visible = true; } } if (_root.lshop._currentframe == 27) { if (_root.lbought27 == true) { this._visible = false; } } if (_root.lshop._currentframe == 27) { if (_root.lbought27 == false) { this._visible = true; } } if (_root.lshop._currentframe == 28) { if (_root.lbought28 == true) { this._visible = false; } } if (_root.lshop._currentframe == 28) { if (_root.lbought28 == false) { this._visible = true; } } if (_root.lshop._currentframe == 29) { if (_root.lbought29 == true) { this._visible = false; } } if (_root.lshop._currentframe == 29) { if (_root.lbought29 == false) { this._visible = true; } } } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.lbought2 == true) { this.gotoAndStop(3); } if (_root.lbought2 == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.ltier1price) { _root.lbought2 = true; _root.cogcoin -= _root.ltier1price; _root.buyeffects4(); } } } onClipEvent (release) { if (this._currentframe == 3) { _root.botleg = _root.lshop._currentframe; _root.customup(); } } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.lbought3 == true) { this.gotoAndStop(3); } if (_root.lbought3 == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.ltier1price) { _root.lbought3 = true; _root.cogcoin -= _root.ltier1price; _root.buyeffects4(); } } } onClipEvent (release) { if (this._currentframe == 3) { _root.botleg = _root.lshop._currentframe; _root.customup(); } } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.lbought4 == true) { this.gotoAndStop(3); } if (_root.lbought4 == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.ltier1price) { _root.lbought4 = true; _root.cogcoin -= _root.ltier1price; _root.buyeffects4(); } } } onClipEvent (release) { if (this._currentframe == 3) { _root.botleg = _root.lshop._currentframe; _root.customup(); } } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.lbought5 == true) { this.gotoAndStop(3); } if (_root.lbought5 == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.ltier2price) { _root.lbought5 = true; _root.cogcoin -= _root.ltier2price; _root.buyeffects4(); } } } onClipEvent (release) { if (this._currentframe == 3) { _root.botleg = _root.lshop._currentframe; _root.customup(); } } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.lbought6 == true) { this.gotoAndStop(3); } if (_root.lbought6 == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.ltier2price) { _root.lbought6 = true; _root.cogcoin -= _root.ltier2price; _root.buyeffects4(); } } } onClipEvent (release) { if (this._currentframe == 3) { _root.botleg = _root.lshop._currentframe; _root.customup(); } } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.lbought7 == true) { this.gotoAndStop(3); } if (_root.lbought7 == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.ltier2price) { _root.lbought7 = true; _root.cogcoin -= _root.ltier2price; _root.buyeffects4(); } } } onClipEvent (release) { if (this._currentframe == 3) { _root.botleg = _root.lshop._currentframe; _root.customup(); } } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.lbought8 == true) { this.gotoAndStop(3); } if (_root.lbought8 == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.ltier2price) { _root.lbought8 = true; _root.cogcoin -= _root.ltier2price; _root.buyeffects4(); } } } onClipEvent (release) { if (this._currentframe == 3) { _root.botleg = _root.lshop._currentframe; _root.customup(); } } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.lbought9 == true) { this.gotoAndStop(3); } if (_root.lbought9 == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.ltier2price) { _root.lbought9 = true; _root.cogcoin -= _root.ltier2price; _root.buyeffects4(); } } } onClipEvent (release) { if (this._currentframe == 3) { _root.botleg = _root.lshop._currentframe; _root.customup(); } } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.lbought10 == true) { this.gotoAndStop(3); } if (_root.lbought10 == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.ltier2price) { _root.lbought10 = true; _root.cogcoin -= _root.ltier2price; _root.buyeffects4(); } } } onClipEvent (release) { if (this._currentframe == 3) { _root.botleg = _root.lshop._currentframe; _root.customup(); } } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.lbought11 == true) { this.gotoAndStop(3); } if (_root.lbought11 == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.ltier2price) { _root.lbought11 = true; _root.cogcoin -= _root.ltier2price; _root.buyeffects4(); } } } onClipEvent (release) { if (this._currentframe == 3) { _root.botleg = _root.lshop._currentframe; _root.customup(); } } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.lbought12 == true) { this.gotoAndStop(3); } if (_root.lbought12 == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.ltier2price) { _root.lbought12 = true; _root.cogcoin -= _root.ltier2price; _root.buyeffects4(); } } } onClipEvent (release) { if (this._currentframe == 3) { _root.botleg = _root.lshop._currentframe; _root.customup(); } } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.lbought13 == true) { this.gotoAndStop(3); } if (_root.lbought13 == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.ltier2price) { _root.lbought13 = true; _root.cogcoin -= _root.ltier2price; _root.buyeffects4(); } } } onClipEvent (release) { if (this._currentframe == 3) { _root.botleg = _root.lshop._currentframe; _root.customup(); } } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.lbought14 == true) { this.gotoAndStop(3); } if (_root.lbought14 == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.ltier2price) { _root.lbought14 = true; _root.cogcoin -= _root.ltier2price; _root.buyeffects4(); } } } onClipEvent (release) { if (this._currentframe == 3) { _root.botleg = _root.lshop._currentframe; _root.customup(); } } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.lbought15 == true) { this.gotoAndStop(3); } if (_root.lbought15 == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.ltier3price) { _root.lbought15 = true; _root.cogcoin -= _root.ltier3price; _root.buyeffects4(); } } } onClipEvent (release) { if (this._currentframe == 3) { _root.botleg = _root.lshop._currentframe; _root.customup(); } } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.lbought16 == true) { this.gotoAndStop(3); } if (_root.lbought16 == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.ltier3price) { _root.lbought16 = true; _root.cogcoin -= _root.ltier3price; _root.buyeffects4(); } } } onClipEvent (release) { if (this._currentframe == 3) { _root.botleg = _root.lshop._currentframe; _root.customup(); } } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.lbought17 == true) { this.gotoAndStop(3); } if (_root.lbought17 == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.ltier3price) { _root.lbought17 = true; _root.cogcoin -= _root.ltier3price; _root.buyeffects4(); } } } onClipEvent (release) { if (this._currentframe == 3) { _root.botleg = _root.lshop._currentframe; _root.customup(); } } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.lbought18 == true) { this.gotoAndStop(3); } if (_root.lbought18 == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.ltier3price) { _root.lbought18 = true; _root.cogcoin -= _root.ltier3price; _root.buyeffects4(); } } } onClipEvent (release) { if (this._currentframe == 3) { _root.botleg = _root.lshop._currentframe; _root.customup(); } } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.lbought19 == true) { this.gotoAndStop(3); } if (_root.lbought19 == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.ltier3price) { _root.lbought19 = true; _root.cogcoin -= _root.ltier3price; _root.buyeffects4(); } } } onClipEvent (release) { if (this._currentframe == 3) { _root.botleg = _root.lshop._currentframe; _root.customup(); } } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.lbought20 == true) { this.gotoAndStop(3); } if (_root.lbought20 == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.ltier3price) { _root.lbought20 = true; _root.cogcoin -= _root.ltier3price; _root.buyeffects4(); } } } onClipEvent (release) { if (this._currentframe == 3) { _root.botleg = _root.lshop._currentframe; _root.customup(); } } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.lbought21 == true) { this.gotoAndStop(3); } if (_root.lbought21 == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.ltier4price) { _root.lbought21 = true; _root.cogcoin -= _root.ltier4price; _root.buyeffects4(); } } } onClipEvent (release) { if (this._currentframe == 3) { _root.botleg = _root.lshop._currentframe; _root.customup(); } } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.lbought22 == true) { this.gotoAndStop(3); } if (_root.lbought22 == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.ltier4price) { _root.lbought22 = true; _root.cogcoin -= _root.ltier4price; _root.buyeffects4(); } } } onClipEvent (release) { if (this._currentframe == 3) { _root.botleg = _root.lshop._currentframe; _root.customup(); } } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.lbought23 == true) { this.gotoAndStop(3); } if (_root.lbought23 == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.ltier4price) { _root.lbought23 = true; _root.cogcoin -= _root.ltier4price; _root.buyeffects4(); } } } onClipEvent (release) { if (this._currentframe == 3) { _root.botleg = _root.lshop._currentframe; _root.customup(); } } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.lbought24 == true) { this.gotoAndStop(3); } if (_root.lbought24 == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.ltier4price) { _root.lbought24 = true; _root.cogcoin -= _root.ltier4price; _root.buyeffects4(); } } } onClipEvent (release) { if (this._currentframe == 3) { _root.botleg = _root.lshop._currentframe; _root.customup(); } } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.lbought25 == true) { this.gotoAndStop(3); } if (_root.lbought25 == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.ltier4price) { _root.lbought25 = true; _root.cogcoin -= _root.ltier4price; _root.buyeffects4(); } } } onClipEvent (release) { if (this._currentframe == 3) { _root.botleg = _root.lshop._currentframe; _root.customup(); } } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.lbought26 == true) { this.gotoAndStop(3); } if (_root.lbought26 == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.ltier4price) { _root.lbought26 = true; _root.cogcoin -= _root.ltier4price; _root.buyeffects4(); } } } onClipEvent (release) { if (this._currentframe == 3) { _root.botleg = _root.lshop._currentframe; _root.customup(); } } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.lbought27 == true) { this.gotoAndStop(3); } if (_root.lbought27 == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.ltier4price) { _root.lbought27 = true; _root.cogcoin -= _root.ltier4price; _root.buyeffects4(); } } } onClipEvent (release) { if (this._currentframe == 3) { _root.botleg = _root.lshop._currentframe; _root.customup(); } } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.lbought28 == true) { this.gotoAndStop(3); } if (_root.lbought28 == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.ltier4price) { _root.lbought28 = true; _root.cogcoin -= _root.ltier4price; _root.buyeffects4(); } } } onClipEvent (release) { if (this._currentframe == 3) { _root.botleg = _root.lshop._currentframe; _root.customup(); } } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.lbought29 == true) { this.gotoAndStop(3); } if (_root.lbought29 == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.ltier4price) { _root.lbought29 = true; _root.cogcoin -= _root.ltier4price; _root.buyeffects4(); } } } onClipEvent (release) { if (this._currentframe == 3) { _root.botleg = _root.lshop._currentframe; _root.customup(); } } } } movieClip 4234 { frame 1 { stop(); } instance of movieClip 1565 { onClipEvent (release) { _root.ashop.nextFrame(); } } instance of movieClip 1565 { onClipEvent (release) { _root.ashop.prevFrame(); } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.abought1 == true) { this.gotoAndStop(3); } if (_root.abought1 == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.atier1price) { _root.abought1 = true; _root.cogcoin -= _root.atier1price; _root.buyeffects2(); } } } onClipEvent (release) { if (this._currentframe == 3) { _root.botarm = _root.ashop._currentframe; _root.customup(); } } } instance of movieClip 1187 { onClipEvent (enterFrame) { if (_root.ashop._currentframe == 1) { if (_root.abought1 == true) { this._visible = false; } } if (_root.ashop._currentframe == 1) { if (_root.abought1 == false) { this._visible = true; } } if (_root.ashop._currentframe == 2) { if (_root.abought2 == true) { this._visible = false; } } if (_root.ashop._currentframe == 2) { if (_root.abought2 == false) { this._visible = true; } } if (_root.ashop._currentframe == 3) { if (_root.abought3 == true) { this._visible = false; } } if (_root.ashop._currentframe == 3) { if (_root.abought3 == false) { this._visible = true; } } if (_root.ashop._currentframe == 4) { if (_root.abought4 == true) { this._visible = false; } } if (_root.ashop._currentframe == 4) { if (_root.abought4 == false) { this._visible = true; } } if (_root.ashop._currentframe == 5) { if (_root.abought5 == true) { this._visible = false; } } if (_root.ashop._currentframe == 5) { if (_root.abought5 == false) { this._visible = true; } } if (_root.ashop._currentframe == 6) { if (_root.abought6 == true) { this._visible = false; } } if (_root.ashop._currentframe == 6) { if (_root.abought6 == false) { this._visible = true; } } if (_root.ashop._currentframe == 7) { if (_root.abought7 == true) { this._visible = false; } } if (_root.ashop._currentframe == 7) { if (_root.abought7 == false) { this._visible = true; } } if (_root.ashop._currentframe == 8) { if (_root.abought8 == true) { this._visible = false; } } if (_root.ashop._currentframe == 8) { if (_root.abought8 == false) { this._visible = true; } } if (_root.ashop._currentframe == 9) { if (_root.abought9 == true) { this._visible = false; } } if (_root.ashop._currentframe == 9) { if (_root.abought9 == false) { this._visible = true; } } if (_root.ashop._currentframe == 10) { if (_root.abought10 == true) { this._visible = false; } } if (_root.ashop._currentframe == 10) { if (_root.abought10 == false) { this._visible = true; } } if (_root.ashop._currentframe == 11) { if (_root.abought11 == true) { this._visible = false; } } if (_root.ashop._currentframe == 11) { if (_root.abought11 == false) { this._visible = true; } } if (_root.ashop._currentframe == 12) { if (_root.abought12 == true) { this._visible = false; } } if (_root.ashop._currentframe == 12) { if (_root.abought12 == false) { this._visible = true; } } if (_root.ashop._currentframe == 13) { if (_root.abought13 == true) { this._visible = false; } } if (_root.ashop._currentframe == 13) { if (_root.abought13 == false) { this._visible = true; } } if (_root.ashop._currentframe == 14) { if (_root.abought14 == true) { this._visible = false; } } if (_root.ashop._currentframe == 14) { if (_root.abought14 == false) { this._visible = true; } } if (_root.ashop._currentframe == 15) { if (_root.abought15 == true) { this._visible = false; } } if (_root.ashop._currentframe == 15) { if (_root.abought15 == false) { this._visible = true; } } if (_root.ashop._currentframe == 16) { if (_root.abought16 == true) { this._visible = false; } } if (_root.ashop._currentframe == 16) { if (_root.abought16 == false) { this._visible = true; } } if (_root.ashop._currentframe == 17) { if (_root.abought17 == true) { this._visible = false; } } if (_root.ashop._currentframe == 17) { if (_root.abought17 == false) { this._visible = true; } } if (_root.ashop._currentframe == 18) { if (_root.abought18 == true) { this._visible = false; } } if (_root.ashop._currentframe == 18) { if (_root.abought18 == false) { this._visible = true; } } if (_root.ashop._currentframe == 19) { if (_root.abought19 == true) { this._visible = false; } } if (_root.ashop._currentframe == 19) { if (_root.abought19 == false) { this._visible = true; } } if (_root.ashop._currentframe == 20) { if (_root.abought20 == true) { this._visible = false; } } if (_root.ashop._currentframe == 20) { if (_root.abought20 == false) { this._visible = true; } } if (_root.ashop._currentframe == 21) { if (_root.abought21 == true) { this._visible = false; } } if (_root.ashop._currentframe == 21) { if (_root.abought21 == false) { this._visible = true; } } if (_root.ashop._currentframe == 22) { if (_root.abought22 == true) { this._visible = false; } } if (_root.ashop._currentframe == 22) { if (_root.abought22 == false) { this._visible = true; } } if (_root.ashop._currentframe == 23) { if (_root.abought23 == true) { this._visible = false; } } if (_root.ashop._currentframe == 23) { if (_root.abought23 == false) { this._visible = true; } } if (_root.ashop._currentframe == 24) { if (_root.abought24 == true) { this._visible = false; } } if (_root.ashop._currentframe == 24) { if (_root.abought24 == false) { this._visible = true; } } if (_root.ashop._currentframe == 25) { if (_root.abought25 == true) { this._visible = false; } } if (_root.ashop._currentframe == 25) { if (_root.abought25 == false) { this._visible = true; } } if (_root.ashop._currentframe == 26) { if (_root.abought26 == true) { this._visible = false; } } if (_root.ashop._currentframe == 26) { if (_root.abought26 == false) { this._visible = true; } } if (_root.ashop._currentframe == 27) { if (_root.abought27 == true) { this._visible = false; } } if (_root.ashop._currentframe == 27) { if (_root.abought27 == false) { this._visible = true; } } if (_root.ashop._currentframe == 28) { if (_root.abought28 == true) { this._visible = false; } } if (_root.ashop._currentframe == 28) { if (_root.abought28 == false) { this._visible = true; } } if (_root.ashop._currentframe == 29) { if (_root.abought29 == true) { this._visible = false; } } if (_root.ashop._currentframe == 29) { if (_root.abought29 == false) { this._visible = true; } } } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.abought2 == true) { this.gotoAndStop(3); } if (_root.abought2 == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.atier1price) { _root.abought2 = true; _root.cogcoin -= _root.atier1price; _root.buyeffects2(); } } } onClipEvent (release) { if (this._currentframe == 3) { _root.botarm = _root.ashop._currentframe; _root.customup(); } } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.abought3 == true) { this.gotoAndStop(3); } if (_root.abought3 == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.atier1price) { _root.abought3 = true; _root.cogcoin -= _root.atier1price; _root.buyeffects2(); } } } onClipEvent (release) { if (this._currentframe == 3) { _root.botarm = _root.ashop._currentframe; _root.customup(); } } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.abought4 == true) { this.gotoAndStop(3); } if (_root.abought4 == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.atier1price) { _root.abought4 = true; _root.cogcoin -= _root.atier1price; _root.buyeffects2(); } } } onClipEvent (release) { if (this._currentframe == 3) { _root.botarm = _root.ashop._currentframe; _root.customup(); } } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.abought5 == true) { this.gotoAndStop(3); } if (_root.abought5 == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.atier2price) { _root.abought5 = true; _root.cogcoin -= _root.atier2price; _root.buyeffects2(); } } } onClipEvent (release) { if (this._currentframe == 3) { _root.botarm = _root.ashop._currentframe; _root.customup(); } } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.abought6 == true) { this.gotoAndStop(3); } if (_root.abought6 == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.atier2price) { _root.abought6 = true; _root.cogcoin -= _root.atier2price; _root.buyeffects2(); } } } onClipEvent (release) { if (this._currentframe == 3) { _root.botarm = _root.ashop._currentframe; _root.customup(); } } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.abought7 == true) { this.gotoAndStop(3); } if (_root.abought7 == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.atier2price) { _root.abought7 = true; _root.cogcoin -= _root.atier2price; _root.buyeffects2(); } } } onClipEvent (release) { if (this._currentframe == 3) { _root.botarm = _root.ashop._currentframe; _root.customup(); } } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.abought8 == true) { this.gotoAndStop(3); } if (_root.abought8 == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.atier2price) { _root.abought8 = true; _root.cogcoin -= _root.atier2price; _root.buyeffects2(); } } } onClipEvent (release) { if (this._currentframe == 3) { _root.botarm = _root.ashop._currentframe; _root.customup(); } } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.abought9 == true) { this.gotoAndStop(3); } if (_root.abought9 == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.atier2price) { _root.abought9 = true; _root.cogcoin -= _root.atier2price; _root.buyeffects2(); } } } onClipEvent (release) { if (this._currentframe == 3) { _root.botarm = _root.ashop._currentframe; _root.customup(); } } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.abought10 == true) { this.gotoAndStop(3); } if (_root.abought10 == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.atier2price) { _root.abought10 = true; _root.cogcoin -= _root.atier2price; _root.buyeffects2(); } } } onClipEvent (release) { if (this._currentframe == 3) { _root.botarm = _root.ashop._currentframe; _root.customup(); } } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.abought11 == true) { this.gotoAndStop(3); } if (_root.abought11 == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.atier2price) { _root.abought11 = true; _root.cogcoin -= _root.atier2price; _root.buyeffects2(); } } } onClipEvent (release) { if (this._currentframe == 3) { _root.botarm = _root.ashop._currentframe; _root.customup(); } } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.abought12 == true) { this.gotoAndStop(3); } if (_root.abought12 == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.atier2price) { _root.abought12 = true; _root.cogcoin -= _root.atier2price; _root.buyeffects2(); } } } onClipEvent (release) { if (this._currentframe == 3) { _root.botarm = _root.ashop._currentframe; _root.customup(); } } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.abought13 == true) { this.gotoAndStop(3); } if (_root.abought13 == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.atier2price) { _root.abought13 = true; _root.cogcoin -= _root.atier2price; _root.buyeffects2(); } } } onClipEvent (release) { if (this._currentframe == 3) { _root.botarm = _root.ashop._currentframe; _root.customup(); } } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.abought14 == true) { this.gotoAndStop(3); } if (_root.abought14 == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.atier2price) { _root.abought14 = true; _root.cogcoin -= _root.atier2price; _root.buyeffects2(); } } } onClipEvent (release) { if (this._currentframe == 3) { _root.botarm = _root.ashop._currentframe; _root.customup(); } } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.abought15 == true) { this.gotoAndStop(3); } if (_root.abought15 == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.atier3price) { _root.abought15 = true; _root.cogcoin -= _root.atier3price; _root.buyeffects2(); } } } onClipEvent (release) { if (this._currentframe == 3) { _root.botarm = _root.ashop._currentframe; _root.customup(); } } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.abought16 == true) { this.gotoAndStop(3); } if (_root.abought16 == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.atier3price) { _root.abought16 = true; _root.cogcoin -= _root.atier3price; _root.buyeffects2(); } } } onClipEvent (release) { if (this._currentframe == 3) { _root.botarm = _root.ashop._currentframe; _root.customup(); } } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.abought17 == true) { this.gotoAndStop(3); } if (_root.abought17 == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.atier3price) { _root.abought17 = true; _root.cogcoin -= _root.atier3price; _root.buyeffects2(); } } } onClipEvent (release) { if (this._currentframe == 3) { _root.botarm = _root.ashop._currentframe; _root.customup(); } } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.abought18 == true) { this.gotoAndStop(3); } if (_root.abought18 == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.atier3price) { _root.abought18 = true; _root.cogcoin -= _root.atier3price; _root.buyeffects2(); } } } onClipEvent (release) { if (this._currentframe == 3) { _root.botarm = _root.ashop._currentframe; _root.customup(); } } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.abought19 == true) { this.gotoAndStop(3); } if (_root.abought19 == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.atier3price) { _root.abought19 = true; _root.cogcoin -= _root.atier3price; _root.buyeffects2(); } } } onClipEvent (release) { if (this._currentframe == 3) { _root.botarm = _root.ashop._currentframe; _root.customup(); } } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.abought20 == true) { this.gotoAndStop(3); } if (_root.abought20 == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.atier3price) { _root.abought20 = true; _root.cogcoin -= _root.atier3price; _root.buyeffects2(); } } } onClipEvent (release) { if (this._currentframe == 3) { _root.botarm = _root.ashop._currentframe; _root.customup(); } } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.abought21 == true) { this.gotoAndStop(3); } if (_root.abought21 == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.atier4price) { _root.abought21 = true; _root.cogcoin -= _root.atier4price; _root.buyeffects2(); } } } onClipEvent (release) { if (this._currentframe == 3) { _root.botarm = _root.ashop._currentframe; _root.customup(); } } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.abought22 == true) { this.gotoAndStop(3); } if (_root.abought22 == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.atier4price) { _root.abought22 = true; _root.cogcoin -= _root.atier4price; _root.buyeffects2(); } } } onClipEvent (release) { if (this._currentframe == 3) { _root.botarm = _root.ashop._currentframe; _root.customup(); } } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.abought23 == true) { this.gotoAndStop(3); } if (_root.abought23 == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.atier4price) { _root.abought23 = true; _root.cogcoin -= _root.atier4price; _root.buyeffects2(); } } } onClipEvent (release) { if (this._currentframe == 3) { _root.botarm = _root.ashop._currentframe; _root.customup(); } } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.abought24 == true) { this.gotoAndStop(3); } if (_root.abought24 == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.atier4price) { _root.abought24 = true; _root.cogcoin -= _root.atier4price; _root.buyeffects2(); } } } onClipEvent (release) { if (this._currentframe == 3) { _root.botarm = _root.ashop._currentframe; _root.customup(); } } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.abought25 == true) { this.gotoAndStop(3); } if (_root.abought25 == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.atier4price) { _root.abought25 = true; _root.cogcoin -= _root.atier4price; _root.buyeffects2(); } } } onClipEvent (release) { if (this._currentframe == 3) { _root.botarm = _root.ashop._currentframe; _root.customup(); } } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.abought26 == true) { this.gotoAndStop(3); } if (_root.abought26 == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.atier4price) { _root.abought26 = true; _root.cogcoin -= _root.atier4price; _root.buyeffects2(); } } } onClipEvent (release) { if (this._currentframe == 3) { _root.botarm = _root.ashop._currentframe; _root.customup(); } } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.abought27 == true) { this.gotoAndStop(3); } if (_root.abought27 == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.atier4price) { _root.abought27 = true; _root.cogcoin -= _root.atier4price; _root.buyeffects2(); } } } onClipEvent (release) { if (this._currentframe == 3) { _root.botarm = _root.ashop._currentframe; _root.customup(); } } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.abought28 == true) { this.gotoAndStop(3); } if (_root.abought28 == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.atier4price) { _root.abought28 = true; _root.cogcoin -= _root.atier4price; _root.buyeffects2(); } } } onClipEvent (release) { if (this._currentframe == 3) { _root.botarm = _root.ashop._currentframe; _root.customup(); } } } instance of movieClip 3919 { onClipEvent (enterFrame) { if (_root.abought29 == true) { this.gotoAndStop(3); } if (_root.abought29 == false) { this.gotoAndStop(2); } } onClipEvent (release) { if (this._currentframe == 2) { if (_root.cogcoin >= _root.atier4price) { _root.abought29 = true; _root.cogcoin -= _root.atier4price; _root.buyeffects2(); } } } onClipEvent (release) { if (this._currentframe == 3) { _root.botarm = _root.ashop._currentframe; _root.customup(); } } } } movieClip 4238 { frame 1 { _root.cogcoinf._visible = true; stop(); } frame 4 { _root.cogcoinf._visible = false; } frame 7 { _root.cogcoinf._visible = true; } frame 10 { _root.cogcoinf._visible = false; } frame 13 { _root.cogcoinf._visible = true; } frame 16 { _root.cogcoinf._visible = false; } } movieClip 4240 { } movieClip 4244 { frame 1 { stop(); } frame 2 { _root.lockeff = true; } frame 32 { _root.lockeff = false; } frame 35 { stop(); } } instance hunlock of movieClip 4244 { onClipEvent (enterFrame) { if (_root.lockeff == false) { if (_root.hshop._currentframe == 1) { if (_root.h1bought == true) { this._visible = false; } } if (_root.hshop._currentframe == 1) { if (_root.h1bought == false) { this._visible = true; } } if (_root.hshop._currentframe == 2) { if (_root.h2bought == true) { this._visible = false; } } if (_root.hshop._currentframe == 2) { if (_root.h2bought == false) { this._visible = true; } } if (_root.hshop._currentframe == 3) { if (_root.h3bought == true) { this._visible = false; } } if (_root.hshop._currentframe == 3) { if (_root.h3bought == false) { this._visible = true; } } if (_root.hshop._currentframe == 4) { if (_root.h4bought == true) { this._visible = false; } } if (_root.hshop._currentframe == 4) { if (_root.h4bought == false) { this._visible = true; } } if (_root.hshop._currentframe == 5) { if (_root.h5bought == true) { this._visible = false; } } if (_root.hshop._currentframe == 5) { if (_root.h5bought == false) { this._visible = true; } } if (_root.hshop._currentframe == 6) { if (_root.h6bought == true) { this._visible = false; } } if (_root.hshop._currentframe == 6) { if (_root.h6bought == false) { this._visible = true; } } if (_root.hshop._currentframe == 7) { if (_root.h7bought == true) { this._visible = false; } } if (_root.hshop._currentframe == 7) { if (_root.h7bought == false) { this._visible = true; } } if (_root.hshop._currentframe == 8) { if (_root.h8bought == true) { this._visible = false; } } if (_root.hshop._currentframe == 8) { if (_root.h8bought == false) { this._visible = true; } } if (_root.hshop._currentframe == 9) { if (_root.h9bought == true) { this._visible = false; } } if (_root.hshop._currentframe == 9) { if (_root.h9bought == false) { this._visible = true; } } if (_root.hshop._currentframe == 10) { if (_root.h10bought == true) { this._visible = false; } } if (_root.hshop._currentframe == 10) { if (_root.h10bought == false) { this._visible = true; } } if (_root.hshop._currentframe == 11) { if (_root.h11bought == true) { this._visible = false; } } if (_root.hshop._currentframe == 11) { if (_root.h11bought == false) { this._visible = true; } } if (_root.hshop._currentframe == 12) { if (_root.h12bought == true) { this._visible = false; } } if (_root.hshop._currentframe == 12) { if (_root.h12bought == false) { this._visible = true; } } if (_root.hshop._currentframe == 13) { if (_root.h13bought == true) { this._visible = false; } } if (_root.hshop._currentframe == 13) { if (_root.h13bought == false) { this._visible = true; } } if (_root.hshop._currentframe == 14) { if (_root.h14bought == true) { this._visible = false; } } if (_root.hshop._currentframe == 14) { if (_root.h14bought == false) { this._visible = true; } } if (_root.hshop._currentframe == 15) { if (_root.h15bought == true) { this._visible = false; } } if (_root.hshop._currentframe == 15) { if (_root.h15bought == false) { this._visible = true; } } if (_root.hshop._currentframe == 16) { if (_root.h16bought == true) { this._visible = false; } } if (_root.hshop._currentframe == 16) { if (_root.h16bought == false) { this._visible = true; } } if (_root.hshop._currentframe == 17) { if (_root.h17bought == true) { this._visible = false; } } if (_root.hshop._currentframe == 17) { if (_root.h17bought == false) { this._visible = true; } } if (_root.hshop._currentframe == 18) { if (_root.h18bought == true) { this._visible = false; } } if (_root.hshop._currentframe == 18) { if (_root.h18bought == false) { this._visible = true; } } if (_root.hshop._currentframe == 19) { if (_root.h19bought == true) { this._visible = false; } } if (_root.hshop._currentframe == 19) { if (_root.h19bought == false) { this._visible = true; } } if (_root.hshop._currentframe == 20) { if (_root.h20bought == true) { this._visible = false; } } if (_root.hshop._currentframe == 20) { if (_root.h20bought == false) { this._visible = true; } } if (_root.hshop._currentframe == 21) { if (_root.h21bought == true) { this._visible = false; } } if (_root.hshop._currentframe == 21) { if (_root.h21bought == false) { this._visible = true; } } if (_root.hshop._currentframe == 22) { if (_root.h22bought == true) { this._visible = false; } } if (_root.hshop._currentframe == 22) { if (_root.h22bought == false) { this._visible = true; } } if (_root.hshop._currentframe == 23) { if (_root.h23bought == true) { this._visible = false; } } if (_root.hshop._currentframe == 23) { if (_root.h23bought == false) { this._visible = true; } } if (_root.hshop._currentframe == 24) { if (_root.h24bought == true) { this._visible = false; } } if (_root.hshop._currentframe == 24) { if (_root.h24bought == false) { this._visible = true; } } if (_root.hshop._currentframe == 25) { if (_root.h25bought == true) { this._visible = false; } } if (_root.hshop._currentframe == 25) { if (_root.h25bought == false) { this._visible = true; } } if (_root.hshop._currentframe == 26) { if (_root.h26bought == true) { this._visible = false; } } if (_root.hshop._currentframe == 26) { if (_root.h26bought == false) { this._visible = true; } } if (_root.hshop._currentframe == 27) { if (_root.h27bought == true) { this._visible = false; } } if (_root.hshop._currentframe == 27) { if (_root.h27bought == false) { this._visible = true; } } if (_root.hshop._currentframe == 28) { if (_root.h28bought == true) { this._visible = false; } } if (_root.hshop._currentframe == 28) { if (_root.h28bought == false) { this._visible = true; } } if (_root.hshop._currentframe == 29) { if (_root.h29bought == true) { this._visible = false; } } if (_root.hshop._currentframe == 29) { if (_root.h29bought == false) { this._visible = true; } } } } } instance aunlock of movieClip 4244 { onClipEvent (enterFrame) { if (_root.lockeff == false) { if (_root.ashop._currentframe == 1) { if (_root.abought1 == true) { this._visible = false; } } if (_root.ashop._currentframe == 1) { if (_root.abought1 == false) { this._visible = true; } } if (_root.ashop._currentframe == 2) { if (_root.abought2 == true) { this._visible = false; } } if (_root.ashop._currentframe == 2) { if (_root.abought2 == false) { this._visible = true; } } if (_root.ashop._currentframe == 3) { if (_root.abought3 == true) { this._visible = false; } } if (_root.ashop._currentframe == 3) { if (_root.abought3 == false) { this._visible = true; } } if (_root.ashop._currentframe == 4) { if (_root.abought4 == true) { this._visible = false; } } if (_root.ashop._currentframe == 4) { if (_root.abought4 == false) { this._visible = true; } } if (_root.ashop._currentframe == 5) { if (_root.abought5 == true) { this._visible = false; } } if (_root.ashop._currentframe == 5) { if (_root.abought5 == false) { this._visible = true; } } if (_root.ashop._currentframe == 6) { if (_root.abought6 == true) { this._visible = false; } } if (_root.ashop._currentframe == 6) { if (_root.abought6 == false) { this._visible = true; } } if (_root.ashop._currentframe == 7) { if (_root.abought7 == true) { this._visible = false; } } if (_root.ashop._currentframe == 7) { if (_root.abought7 == false) { this._visible = true; } } if (_root.ashop._currentframe == 8) { if (_root.abought8 == true) { this._visible = false; } } if (_root.ashop._currentframe == 8) { if (_root.abought8 == false) { this._visible = true; } } if (_root.ashop._currentframe == 9) { if (_root.abought9 == true) { this._visible = false; } } if (_root.ashop._currentframe == 9) { if (_root.abought9 == false) { this._visible = true; } } if (_root.ashop._currentframe == 10) { if (_root.abought10 == true) { this._visible = false; } } if (_root.ashop._currentframe == 10) { if (_root.abought10 == false) { this._visible = true; } } if (_root.ashop._currentframe == 11) { if (_root.abought11 == true) { this._visible = false; } } if (_root.ashop._currentframe == 11) { if (_root.abought11 == false) { this._visible = true; } } if (_root.ashop._currentframe == 12) { if (_root.abought12 == true) { this._visible = false; } } if (_root.ashop._currentframe == 12) { if (_root.abought12 == false) { this._visible = true; } } if (_root.ashop._currentframe == 13) { if (_root.abought13 == true) { this._visible = false; } } if (_root.ashop._currentframe == 13) { if (_root.abought13 == false) { this._visible = true; } } if (_root.ashop._currentframe == 14) { if (_root.abought14 == true) { this._visible = false; } } if (_root.ashop._currentframe == 14) { if (_root.abought14 == false) { this._visible = true; } } if (_root.ashop._currentframe == 15) { if (_root.abought15 == true) { this._visible = false; } } if (_root.ashop._currentframe == 15) { if (_root.abought15 == false) { this._visible = true; } } if (_root.ashop._currentframe == 16) { if (_root.abought16 == true) { this._visible = false; } } if (_root.ashop._currentframe == 16) { if (_root.abought16 == false) { this._visible = true; } } if (_root.ashop._currentframe == 17) { if (_root.abought17 == true) { this._visible = false; } } if (_root.ashop._currentframe == 17) { if (_root.abought17 == false) { this._visible = true; } } if (_root.ashop._currentframe == 18) { if (_root.abought18 == true) { this._visible = false; } } if (_root.ashop._currentframe == 18) { if (_root.abought18 == false) { this._visible = true; } } if (_root.ashop._currentframe == 19) { if (_root.abought19 == true) { this._visible = false; } } if (_root.ashop._currentframe == 19) { if (_root.abought19 == false) { this._visible = true; } } if (_root.ashop._currentframe == 20) { if (_root.abought20 == true) { this._visible = false; } } if (_root.ashop._currentframe == 20) { if (_root.abought20 == false) { this._visible = true; } } if (_root.ashop._currentframe == 21) { if (_root.abought21 == true) { this._visible = false; } } if (_root.ashop._currentframe == 21) { if (_root.abought21 == false) { this._visible = true; } } if (_root.ashop._currentframe == 22) { if (_root.abought22 == true) { this._visible = false; } } if (_root.ashop._currentframe == 22) { if (_root.abought22 == false) { this._visible = true; } } if (_root.ashop._currentframe == 23) { if (_root.abought23 == true) { this._visible = false; } } if (_root.ashop._currentframe == 23) { if (_root.abought23 == false) { this._visible = true; } } if (_root.ashop._currentframe == 24) { if (_root.abought24 == true) { this._visible = false; } } if (_root.ashop._currentframe == 24) { if (_root.abought24 == false) { this._visible = true; } } if (_root.ashop._currentframe == 25) { if (_root.abought25 == true) { this._visible = false; } } if (_root.ashop._currentframe == 25) { if (_root.abought25 == false) { this._visible = true; } } if (_root.ashop._currentframe == 26) { if (_root.abought26 == true) { this._visible = false; } } if (_root.ashop._currentframe == 26) { if (_root.abought26 == false) { this._visible = true; } } if (_root.ashop._currentframe == 27) { if (_root.abought27 == true) { this._visible = false; } } if (_root.ashop._currentframe == 27) { if (_root.abought27 == false) { this._visible = true; } } if (_root.ashop._currentframe == 28) { if (_root.abought28 == true) { this._visible = false; } } if (_root.ashop._currentframe == 28) { if (_root.abought28 == false) { this._visible = true; } } if (_root.ashop._currentframe == 29) { if (_root.abought29 == true) { this._visible = false; } } if (_root.ashop._currentframe == 29) { if (_root.abought29 == false) { this._visible = true; } } } } } instance bunlock of movieClip 4244 { onClipEvent (enterFrame) { if (_root.lockeff == false) { if (_root.bshop._currentframe == 1) { if (_root.bbought1 == true) { this._visible = false; } } if (_root.bshop._currentframe == 1) { if (_root.bbought1 == false) { this._visible = true; } } if (_root.bshop._currentframe == 2) { if (_root.bbought2 == true) { this._visible = false; } } if (_root.bshop._currentframe == 2) { if (_root.bbought2 == false) { this._visible = true; } } if (_root.bshop._currentframe == 3) { if (_root.bbought3 == true) { this._visible = false; } } if (_root.bshop._currentframe == 3) { if (_root.bbought3 == false) { this._visible = true; } } if (_root.bshop._currentframe == 4) { if (_root.bbought4 == true) { this._visible = false; } } if (_root.bshop._currentframe == 4) { if (_root.bbought4 == false) { this._visible = true; } } if (_root.bshop._currentframe == 5) { if (_root.bbought5 == true) { this._visible = false; } } if (_root.bshop._currentframe == 5) { if (_root.bbought5 == false) { this._visible = true; } } if (_root.bshop._currentframe == 6) { if (_root.bbought6 == true) { this._visible = false; } } if (_root.bshop._currentframe == 6) { if (_root.bbought6 == false) { this._visible = true; } } if (_root.bshop._currentframe == 7) { if (_root.bbought7 == true) { this._visible = false; } } if (_root.bshop._currentframe == 7) { if (_root.bbought7 == false) { this._visible = true; } } if (_root.bshop._currentframe == 8) { if (_root.bbought8 == true) { this._visible = false; } } if (_root.bshop._currentframe == 8) { if (_root.bbought8 == false) { this._visible = true; } } if (_root.bshop._currentframe == 9) { if (_root.bbought9 == true) { this._visible = false; } } if (_root.bshop._currentframe == 9) { if (_root.bbought9 == false) { this._visible = true; } } if (_root.bshop._currentframe == 10) { if (_root.bbought10 == true) { this._visible = false; } } if (_root.bshop._currentframe == 10) { if (_root.bbought10 == false) { this._visible = true; } } if (_root.bshop._currentframe == 11) { if (_root.bbought11 == true) { this._visible = false; } } if (_root.bshop._currentframe == 11) { if (_root.bbought11 == false) { this._visible = true; } } if (_root.bshop._currentframe == 12) { if (_root.bbought12 == true) { this._visible = false; } } if (_root.bshop._currentframe == 12) { if (_root.bbought12 == false) { this._visible = true; } } if (_root.bshop._currentframe == 13) { if (_root.bbought13 == true) { this._visible = false; } } if (_root.bshop._currentframe == 13) { if (_root.bbought13 == false) { this._visible = true; } } if (_root.bshop._currentframe == 14) { if (_root.bbought14 == true) { this._visible = false; } } if (_root.bshop._currentframe == 14) { if (_root.bbought14 == false) { this._visible = true; } } if (_root.bshop._currentframe == 15) { if (_root.bbought15 == true) { this._visible = false; } } if (_root.bshop._currentframe == 15) { if (_root.bbought15 == false) { this._visible = true; } } if (_root.bshop._currentframe == 16) { if (_root.bbought16 == true) { this._visible = false; } } if (_root.bshop._currentframe == 16) { if (_root.bbought16 == false) { this._visible = true; } } if (_root.bshop._currentframe == 17) { if (_root.bbought17 == true) { this._visible = false; } } if (_root.bshop._currentframe == 17) { if (_root.bbought17 == false) { this._visible = true; } } if (_root.bshop._currentframe == 18) { if (_root.bbought18 == true) { this._visible = false; } } if (_root.bshop._currentframe == 18) { if (_root.bbought18 == false) { this._visible = true; } } if (_root.bshop._currentframe == 19) { if (_root.bbought19 == true) { this._visible = false; } } if (_root.bshop._currentframe == 19) { if (_root.bbought19 == false) { this._visible = true; } } if (_root.bshop._currentframe == 20) { if (_root.bbought20 == true) { this._visible = false; } } if (_root.bshop._currentframe == 20) { if (_root.bbought20 == false) { this._visible = true; } } if (_root.bshop._currentframe == 21) { if (_root.bbought21 == true) { this._visible = false; } } if (_root.bshop._currentframe == 21) { if (_root.bbought21 == false) { this._visible = true; } } if (_root.bshop._currentframe == 22) { if (_root.bbought22 == true) { this._visible = false; } } if (_root.bshop._currentframe == 22) { if (_root.bbought22 == false) { this._visible = true; } } if (_root.bshop._currentframe == 23) { if (_root.bbought23 == true) { this._visible = false; } } if (_root.bshop._currentframe == 23) { if (_root.bbought23 == false) { this._visible = true; } } if (_root.bshop._currentframe == 24) { if (_root.bbought24 == true) { this._visible = false; } } if (_root.bshop._currentframe == 24) { if (_root.bbought24 == false) { this._visible = true; } } if (_root.bshop._currentframe == 25) { if (_root.bbought25 == true) { this._visible = false; } } if (_root.bshop._currentframe == 25) { if (_root.bbought25 == false) { this._visible = true; } } if (_root.bshop._currentframe == 26) { if (_root.bbought26 == true) { this._visible = false; } } if (_root.bshop._currentframe == 26) { if (_root.bbought26 == false) { this._visible = true; } } if (_root.bshop._currentframe == 27) { if (_root.bbought27 == true) { this._visible = false; } } if (_root.bshop._currentframe == 27) { if (_root.bbought27 == false) { this._visible = true; } } if (_root.bshop._currentframe == 28) { if (_root.bbought28 == true) { this._visible = false; } } if (_root.bshop._currentframe == 28) { if (_root.bbought28 == false) { this._visible = true; } } if (_root.bshop._currentframe == 29) { if (_root.bbought29 == true) { this._visible = false; } } if (_root.bshop._currentframe == 29) { if (_root.bbought29 == false) { this._visible = true; } } } } } instance lunlock of movieClip 4244 { onClipEvent (enterFrame) { if (_root.lockeff == false) { if (_root.lshop._currentframe == 1) { if (_root.lbought1 == true) { this._visible = false; } } if (_root.lshop._currentframe == 1) { if (_root.lbought1 == false) { this._visible = true; } } if (_root.lshop._currentframe == 2) { if (_root.lbought2 == true) { this._visible = false; } } if (_root.lshop._currentframe == 2) { if (_root.lbought2 == false) { this._visible = true; } } if (_root.lshop._currentframe == 3) { if (_root.lbought3 == true) { this._visible = false; } } if (_root.lshop._currentframe == 3) { if (_root.lbought3 == false) { this._visible = true; } } if (_root.lshop._currentframe == 4) { if (_root.lbought4 == true) { this._visible = false; } } if (_root.lshop._currentframe == 4) { if (_root.lbought4 == false) { this._visible = true; } } if (_root.lshop._currentframe == 5) { if (_root.lbought5 == true) { this._visible = false; } } if (_root.lshop._currentframe == 5) { if (_root.lbought5 == false) { this._visible = true; } } if (_root.lshop._currentframe == 6) { if (_root.lbought6 == true) { this._visible = false; } } if (_root.lshop._currentframe == 6) { if (_root.lbought6 == false) { this._visible = true; } } if (_root.lshop._currentframe == 7) { if (_root.lbought7 == true) { this._visible = false; } } if (_root.lshop._currentframe == 7) { if (_root.lbought7 == false) { this._visible = true; } } if (_root.lshop._currentframe == 8) { if (_root.lbought8 == true) { this._visible = false; } } if (_root.lshop._currentframe == 8) { if (_root.lbought8 == false) { this._visible = true; } } if (_root.lshop._currentframe == 9) { if (_root.lbought9 == true) { this._visible = false; } } if (_root.lshop._currentframe == 9) { if (_root.lbought9 == false) { this._visible = true; } } if (_root.lshop._currentframe == 10) { if (_root.lbought10 == true) { this._visible = false; } } if (_root.lshop._currentframe == 10) { if (_root.lbought10 == false) { this._visible = true; } } if (_root.lshop._currentframe == 11) { if (_root.lbought11 == true) { this._visible = false; } } if (_root.lshop._currentframe == 11) { if (_root.lbought11 == false) { this._visible = true; } } if (_root.lshop._currentframe == 12) { if (_root.lbought12 == true) { this._visible = false; } } if (_root.lshop._currentframe == 12) { if (_root.lbought12 == false) { this._visible = true; } } if (_root.lshop._currentframe == 13) { if (_root.lbought13 == true) { this._visible = false; } } if (_root.lshop._currentframe == 13) { if (_root.lbought13 == false) { this._visible = true; } } if (_root.lshop._currentframe == 14) { if (_root.lbought14 == true) { this._visible = false; } } if (_root.lshop._currentframe == 14) { if (_root.lbought14 == false) { this._visible = true; } } if (_root.lshop._currentframe == 15) { if (_root.lbought15 == true) { this._visible = false; } } if (_root.lshop._currentframe == 15) { if (_root.lbought15 == false) { this._visible = true; } } if (_root.lshop._currentframe == 16) { if (_root.lbought16 == true) { this._visible = false; } } if (_root.lshop._currentframe == 16) { if (_root.lbought16 == false) { this._visible = true; } } if (_root.lshop._currentframe == 17) { if (_root.lbought17 == true) { this._visible = false; } } if (_root.lshop._currentframe == 17) { if (_root.lbought17 == false) { this._visible = true; } } if (_root.lshop._currentframe == 18) { if (_root.lbought18 == true) { this._visible = false; } } if (_root.lshop._currentframe == 18) { if (_root.lbought18 == false) { this._visible = true; } } if (_root.lshop._currentframe == 19) { if (_root.lbought19 == true) { this._visible = false; } } if (_root.lshop._currentframe == 19) { if (_root.lbought19 == false) { this._visible = true; } } if (_root.lshop._currentframe == 20) { if (_root.lbought20 == true) { this._visible = false; } } if (_root.lshop._currentframe == 20) { if (_root.lbought20 == false) { this._visible = true; } } if (_root.lshop._currentframe == 21) { if (_root.lbought21 == true) { this._visible = false; } } if (_root.lshop._currentframe == 21) { if (_root.lbought21 == false) { this._visible = true; } } if (_root.lshop._currentframe == 22) { if (_root.lbought22 == true) { this._visible = false; } } if (_root.lshop._currentframe == 22) { if (_root.lbought22 == false) { this._visible = true; } } if (_root.lshop._currentframe == 23) { if (_root.lbought23 == true) { this._visible = false; } } if (_root.lshop._currentframe == 23) { if (_root.lbought23 == false) { this._visible = true; } } if (_root.lshop._currentframe == 24) { if (_root.lbought24 == true) { this._visible = false; } } if (_root.lshop._currentframe == 24) { if (_root.lbought24 == false) { this._visible = true; } } if (_root.lshop._currentframe == 25) { if (_root.lbought25 == true) { this._visible = false; } } if (_root.lshop._currentframe == 25) { if (_root.lbought25 == false) { this._visible = true; } } if (_root.lshop._currentframe == 26) { if (_root.lbought26 == true) { this._visible = false; } } if (_root.lshop._currentframe == 26) { if (_root.lbought26 == false) { this._visible = true; } } if (_root.lshop._currentframe == 27) { if (_root.lbought27 == true) { this._visible = false; } } if (_root.lshop._currentframe == 27) { if (_root.lbought27 == false) { this._visible = true; } } if (_root.lshop._currentframe == 28) { if (_root.lbought28 == true) { this._visible = false; } } if (_root.lshop._currentframe == 28) { if (_root.lbought28 == false) { this._visible = true; } } if (_root.lshop._currentframe == 29) { if (_root.lbought29 == true) { this._visible = false; } } if (_root.lshop._currentframe == 29) { if (_root.lbought29 == false) { this._visible = true; } } } } } instance labdoorzz of movieClip 1512 { onClipEvent (enterFrame) { if (_root.mcPLAYER.enterdoor == false) { if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) { if (Key.isDown(32)) { _root.mcPLAYER.enterdoor = true; _root.mcPLAYER._x = 411.95; _root.mcPLAYER._y = 419.95; _root.save(); _root.gotoAndStop('mainroom'); } } } } } movieClip 4247 { frame 1 { stop(); } } movieClip 4280 { } movieClip 4282 { } movieClip 4287 { frame 1 { stop(); } frame 49 { play(); } frame 69 { _root.mcPLAYER.enterdoor = false; } } instance secretz2 of movieClip 4287 { onClipEvent (enterFrame) { if (_root.mcPLAYER.enterdoor == false) { if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) { if (Key.isDown(32)) { _root.mcPLAYER.enterdoor = true; _root.mcPLAYER._x = 411.95; _root.mcPLAYER._y = 419.95; _root.save(); _root.gotoAndStop('secret'); } } } } } movieClip 4288 { } movieClip 4289 { } movieClip 4293 { frame 1 { stop(); } frame 5 { stop(); } } movieClip 4295 { } movieClip 4296 { } movieClip 4297 { frame 1 { stop(); } } instance of movieClip 86 { onClipEvent (load) { if (_root.kongstuff == false) { this._visible = false; } } } instance of movieClip 98 { onClipEvent (load) { if (_root.kongstuff == false) { this._visible = false; } } } movieClip 4299 { } movieClip 4300 { frame 7 { stop(); } } movieClip 4304 { frame 12 { stop(); } } movieClip 4305 { frame 8 { stop(); } } button 4306 { on (release) { getURL('http://www.facebook.com/ChrisJeffGames', '_blank'); if (_root.clickedf == false) { _root.clickedf = true; tickf._visible = true; _root.flashyf.gotoAndStop(34); _root.cogcoin += 150; _root.chingching.gotoAndPlay(2); _root.save(); } } } movieClip 4307 { } movieClip 4308 { frame 7 { stop(); } } movieClip 4309 { frame 8 { stop(); } } button 4310 { on (release) { getURL('https://twitter.com/#!/ChrisJeffGames', '_blank'); if (_root.clickedt == false) { _root.clickedt = true; tickt._visible = true; _root.cogcoin += 150; _root.flashyt.gotoAndStop(34); _root.chingching.gotoAndPlay(2); _root.save(); } } } movieClip 4313 { } movieClip 4314 { instance tickf of movieClip 4313 { onClipEvent (load) { this._visible = false; if (_root.clickedf == true) { this._visible = true; } } } instance tickt of movieClip 4313 { onClipEvent (load) { this._visible = false; if (_root.clickedt == true) { this._visible = true; } } } } movieClip 4316 { frame 1 { stop(); } } movieClip 4319 { } movieClip 4321 { } movieClip 4322 { } movieClip 4323 { } movieClip 4324 { } instance flashyf of movieClip 4324 { onClipEvent (load) { this.stop(); started = false; } onClipEvent (enterFrame) { if (_root.clickedf == false) { if (started == false) { this.play(); started = true; } } } } instance flashyt of movieClip 4324 { onClipEvent (load) { this.stop(); started = false; } onClipEvent (enterFrame) { if (_root.clickedt == false) { if (started == false) { this.play(); started = true; } } } } frame 320 { _root.mcPLAYER._x = 382; _root.mcPLAYER._y = 415.75; _root.secretz.gotoAndPlay(49); if (_root.introdude == 1) { _root.easterpl.gotoAndStop(1); } if (_root.introdude == 2) { _root.easterpl.gotoAndStop(2); } if (_root.introdude == 3) { _root.easterpl.gotoAndStop(3); } if (_root.introdude == 4) { _root.easterpl.gotoAndStop(4); } if (_root.introdude == 5) { _root.easterpl.gotoAndStop(5); } if (_root.introdude == 6) { _root.easterpl.gotoAndStop(6); } if (_root.introdude == 7) { _root.easterpl.gotoAndStop(7); } } frame 320 { var labcamefrom = true; _root.achieve11get(); } movieClip 4330 { frame 69 { _root.mcPLAYER.enterdoor = false; stop(); } } instance secretz of movieClip 4330 { onClipEvent (enterFrame) { if (_root.mcPLAYER.enterdoor == false) { if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) { if (Key.isDown(32)) { _root.mcPLAYER.enterdoor = true; _root.mcPLAYER._x = 390; _root.mcPLAYER._y = 419.95; _root.secretcome = true; _root.save(); _root.gotoAndStop(319); } } } } } movieClip 4332 { } movieClip 4334 { } movieClip 4337 { frame 2 { _root.plus100.gotoAndPlay(2); } frame 3 { _root.cogscollected += 100; _root.cogscollcurrent += 100; _root.cogcoin += 100; _root.ttlcogscollected += 1; _root.botexpflash.gotoAndPlay(2); if (_root.ttlcogscollected > 299) { _root.achieve21get(); } } frame 15 { stop(); _root.secretf = true; } } movieClip 4338 { frame 1 { gearframe = Math.round(Math.random() * 2); this.gotoAndStop(gearframe); restartgear = false; geardrop = 0; stop(); } } instance of movieClip 4338 { onClipEvent (enterFrame) { if (_root.secretf == true) { this._visible = false; } if (this.hitTest(_root.mcPLAYER.mcCOLLIDER)) { if (_root.secretf == false) { this.gotoAndStop(3); } } } } movieClip 4340 { frame 1 { stop(); } } movieClip 4343 { } movieClip 4347 { } movieClip 4351 { } movieClip 4353 { } movieClip 4355 { } movieClip 4356 { } movieClip 4358 { } movieClip 4360 { } movieClip 4375 { frame 57 { stop(); } } movieClip 4379 { } movieClip 4380 { } movieClip 4407 { frame 1 { stop(); } } movieClip 4409 { } movieClip 4411 { } movieClip 4415 { } movieClip 4417 { } movieClip 4421 { } movieClip 4422 { } movieClip 4426 { } movieClip 4427 { } movieClip 4430 { } movieClip 4432 { } movieClip 4433 { } movieClip 4434 { frame 1 { stop(); } }




https://swfchan.com/53/264249/info.shtml
Created: 13/5 -2026 17:51:29 Last modified: 13/5 -2026 17:51:29 Server time: 26/05 -2026 05:48:47