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

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

armorgames chocolate-run-14684.swf

This is the info page for
Flash #264193

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


ActionScript [AS1/AS2]
Combined Code
movieClip 3 { } movieClip 4 { } movieClip 6 { } movieClip 8 { frame 1 { stop(); } } movieClip 11 { } movieClip 12 { } movieClip 15 { } movieClip 18 { frame 1 { stop(); } } movieClip 19 Preloader { frame 1 { function enterFrameHandler() { var v2 = 0; v2 = _root.getBytesLoaded() / _root.getBytesTotal(); if (loadingBar) { loadingBar.gotoAndStop(int(v2 * (loadingBar._totalframes - 1)) + 1); } if (v2 >= 1 && haltComplete != true) { onEnterFrame = null; _root.play(); } } stop(); var autoPlay; var className; var haltComplete; onEnterFrame = enterFrameHandler; } frame 10 { function _onPlayClick() { _root.nextFrame(); _root.play(); _parent._onLoaded(); } if (playButton) { playButton.onRelease = _onPlayClick; playButton.stop(); } if (autoPlay) { _onPlayClick(null); } } } frame 1 { function deadClick() {} function gotoMySite() { getURL('http://www.thepoxbox.com', '_top'); } function sitelock(urls_allowed) { lock = true; domain_parts = _url.split('://'); real_domain = domain_parts[1].split('/'); domain.text = real_domain[0]; for (x in urls_allowed) { if (urls_allowed[x] == real_domain[0]) { lock = false; } } if (lock) { } } function createSaveFile() { savefile.data.fileCreated = true; initGame(); savemydata(); } function loadmydata() { _root.mmm1 = savefile.data.mm1; _root.mmm2 = savefile.data.mm2; _root.mmm3 = savefile.data.mm3; _root.mmm4 = savefile.data.mm4; _root.mmm5 = savefile.data.mm5; _root.mmm6 = savefile.data.mm6; _root.mmm7 = savefile.data.mm7; _root.mmm8 = savefile.data.mm8; _root.mmm9 = savefile.data.mm9; _root.mmm10 = savefile.data.mm10; _root.mmm11 = savefile.data.mm11; _root.mmm12 = savefile.data.mm12; _root.mmm13 = savefile.data.mm13; _root.mmm14 = savefile.data.mm14; _root.mmm15 = savefile.data.mm15; _root.mmm16 = savefile.data.mm16; _root.armorlevel = savefile.data.armorlevel; _root.shieldlevel = savefile.data.shieldlevel; _root.maxheight = savefile.data.maxheight; _root.giftlevel = savefile.data.giftlevel; _root.fueltanks = savefile.data.fueltanks; _root.chocospawn = savefile.data.chocospawn; _root.fuellevel = savefile.data.fuellevel; _root.chocolate = savefile.data.chocolate; _root.totalchocolate = savefile.data.totalchocolate; _root.totaltime = savefile.data.totaltime; _root.gender = savefile.data.gender; _root.newgame = savefile.data.newgame; _root.playername = savefile.data.playername; _root.instructions = savefile.data.instructions; _root.speeduprate = savefile.data.speeduprate; _root.bigdroprate = savefile.data.bigdroprate; _root.pocketrate = savefile.data.pocketrate; _root.pararate = savefile.data.pararate; _root.cheater = savefile.data.cheater; _root.biggercheat = savefile.data.biggercheat; _root.choklit = savefile.data.choklit; _root.empty = savefile.data.empty; _root.powers = savefile.data.powers; _root.bestdistance = savefile.data.bestdistance; } function savedata() { _root.savefile.data.newgame = 1; _root.savefile.data.totalchocolate = _root.totalchocolate; _root.savefile.data.totaltime = _root.totaltime; _root.savefile.data.chocolate = _root.chocolate; _root.savefile.data.playername = _root.playername; _root.savefile.data.armorlevel = _root.armorlevel; _root.savefile.data.shieldlevel = _root.shieldlevel; _root.savefile.data.maxheight = _root.maxheight; _root.savefile.data.giftlevel = _root.giftlevel; _root.savefile.data.fueltanks = _root.fueltanks; _root.savefile.data.fuellevel = _root.fuellevel; _root.savefile.data.chocospawn = _root.chocospawn; _root.savefile.data.gender = _root.gender; _root.savefile.data.speeduprate = _root.speeduprate; _root.savefile.data.bigdroprate = _root.bigdroprate; _root.savefile.data.pocketrate = _root.pocketrate; _root.savefile.data.pararate = _root.pararate; _root.savefile.data.cheater = _root.cheater; _root.savefile.data.biggercheat = _root.biggercheat; _root.savefile.data.choklit = _root.choklit; _root.savefile.data.empty = _root.empty; _root.savefile.data.powers = _root.powers; _root.savefile.data.bestdistance = _root.bestdistance; _root.savefile.flush(); } function cleardata() { _root.savefile.data.mm16 = 3; _root.savefile.data.mm15 = 3; _root.savefile.data.mm14 = 3; _root.savefile.data.mm13 = 3; _root.savefile.data.mm12 = 3; _root.savefile.data.mm11 = 3; _root.savefile.data.mm10 = 3; _root.savefile.data.mm9 = 3; _root.savefile.data.mm8 = 3; _root.savefile.data.mm7 = 3; _root.savefile.data.mm6 = 3; _root.savefile.data.mm5 = 3; _root.savefile.data.mm4 = 3; _root.savefile.data.mm3 = 3; _root.savefile.data.mm2 = 3; _root.savefile.data.mm1 = 3; _root.savefile.data.newgame = 0; _root.newgame = 0; _root.savefile.data.instructions = 0; _root.instructions = 0; _root.savefile.data.chocolate = 0; _root.chocolate = 0; _root.playername = 'Bunny'; _root.savefile.data.playername = 'Bunny'; _root.savefile.data.armorlevel = 0; _root.armorlevel = 0; _root.savefile.data.shieldlevel = 0; _root.shieldlevel = 0; _root.savefile.data.maxheight = -1000; _root.maxheight = -1000; _root.savefile.data.giftlevel = 0; _root.giftlevel = 0; _root.savefile.data.fueltanks = 0; _root.fueltanks = 0; _root.savefile.data.fuellevel = 0; _root.fuellevel = 0; _root.savefile.data.chocospawn = 0; _root.chocospawn = 0; _root.savefile.data.gender = 1; _root.gender = 1; _root.savefile.data.totaltime = 0; _root.totaltime = 0; _root.savefile.data.totalchocolate = 0; _root.totalchocolate = 0; _root.savefile.data.speeduprate = 20; _root.speeduprate = 20; _root.savefile.data.bigdroprate = 0; _root.bigdroprate = 0; _root.savefile.data.pocketrate = 0; _root.pocketrate = 0; _root.savefile.data.pararate = 0; _root.pararate = 0; _root.savefile.data.cheater = false; _root.cheater = false; _root.savefile.data.biggercheat = false; _root.biggercheat = false; _root.savefile.data.choklit = false; _root.savefile.data.empty = false; _root.savefile.data.powers = false; _root.choklit = false; _root.empty = false; _root.powers = false; } stop(); if (_url.indexOf('armorgames') == -1) { _root._alpha = 0; } else {} var myMenu = new ContextMenu(); myMenu.hideBuiltInItems(); var copyrightNotice = new ContextMenuItem('© 2012 poxpower', deadClick); var mySiteLink = new ContextMenuItem('www.thepoxbox.com', gotoMySite); myMenu.customItems.push(mySiteLink, copyrightNotice); _root.menu = myMenu; urls_allowed = ['www.flashgamelicense.com', 'www.flashgamelicense.com', 'www.thepoxbox.com']; sitelock(urls_allowed); var savefile; savefile = SharedObject.getLocal('savegame'); if (!savefile.data.fileCreated) { trace('creating save file'); _root.bestdistance = 0; _root.savefile.data.bestdistance = _root.bestdistance; createSaveFile(); } loadmydata(); _root.fuelprice1 = 2; _root.fuelprice2 = 5; _root.fuelprice3 = 15; _root.fuelprice4 = 30; _root.fuelprice5 = 50; _root.fuelprice6 = 60; _root.fuelprice7 = 70; _root.fuelprice8 = 80; _root.fuelprice9 = 90; _root.fuelprice10 = 100; _root.shieldprice1 = 20; _root.shieldprice2 = 25; _root.shieldprice3 = 30; _root.shieldprice4 = 35; _root.shieldprice5 = 40; _root.shieldprice6 = 45; _root.shieldprice7 = 50; _root.shieldprice8 = 55; _root.shieldprice9 = 60; _root.shieldprice10 = 70; _root.heightprice1 = 5; _root.heightprice2 = 10; _root.heightprice3 = 20; _root.heightprice4 = 40; _root.heightprice5 = 50; _root.heightprice6 = 60; _root.heightprice7 = 70; _root.heightprice8 = 80; _root.heightprice9 = 90; _root.heightprice10 = 100; _root.armorprice1 = 20; _root.armorprice2 = 40; _root.armorprice3 = 60; _root.armorprice4 = 80; _root.armorprice5 = 100; _root.armorprice6 = 120; _root.armorprice7 = 140; _root.armorprice8 = 160; _root.armorprice9 = 180; _root.armorprice10 = 200; _root.chocoprice1 = 5; _root.chocoprice2 = 10; _root.chocoprice3 = 15; _root.chocoprice4 = 20; _root.chocoprice5 = 25; _root.chocoprice6 = 30; _root.chocoprice7 = 35; _root.chocoprice8 = 40; _root.chocoprice9 = 50; _root.chocoprice10 = 60; _root.giftprice1 = 20; _root.giftprice2 = 30; _root.giftprice3 = 50; _root.giftprice4 = 70; _root.giftprice5 = 90; _root.giftprice6 = 110; _root.giftprice7 = 140; _root.giftprice8 = 160; _root.giftprice9 = 200; _root.giftprice10 = 300; _root.bigprice1 = 20; _root.bigprice2 = 30; _root.bigprice3 = 40; _root.bigprice4 = 50; _root.bigprice5 = 60; _root.bigprice6 = 70; _root.bigprice7 = 80; _root.bigprice8 = 100; _root.bigprice9 = 140; _root.bigprice10 = 170; _root.paraprice1 = 20; _root.paraprice2 = 30; _root.paraprice3 = 40; _root.paraprice4 = 50; _root.paraprice5 = 60; _root.paraprice6 = 70; _root.paraprice7 = 80; _root.paraprice8 = 90; _root.paraprice9 = 120; _root.paraprice10 = 140; _root.pocketprice1 = 20; _root.pocketprice2 = 30; _root.pocketprice3 = 40; _root.pocketprice4 = 50; _root.pocketprice5 = 60; _root.pocketprice6 = 70; _root.pocketprice7 = 80; _root.pocketprice8 = 90; _root.pocketprice9 = 110; _root.pocketprice10 = 130; } movieClip 21 { } movieClip 23 { } movieClip 24 { } movieClip 25 { } // unknown tag 88 length 40 movieClip 62 { frame 1 { stop(); } } movieClip 63 { } movieClip 64 medalpopper { frame 89 { this.unloadMovie(); this.removeMovieClip(); } } movieClip 66 medalpop { frame 1 { stop(); var xcoor = 10; var ycoor = 620; } frame 12 { if (_root.mmm1 > 4 && _root.savefile.data.mm1 != 1 && !_root.cheater) { API.unlockMedal('My Valentine'); _root.mm1 = 1; _root.savefile.data.mm1 = 1; midilz = _root.attachMovie('medalpopper', 'cloccudaa' + _root.efffcv, _root.efffcv + 100); ++_root.efffcv; midilz._x = xcoor; midilz._y = ycoor; midilz.winmedalname = 'My Valentine'; midilz.winmedaldescription = 'View Gifts'; midilz.panel.iconn.gotoAndStop(1); } } frame 14 { if (_root.mmm2 > 4 && _root.savefile.data.mm2 != 1 && !_root.cheater) { var medal_name = 'Lotta Love'; API.unlockMedal(medal_name); API.unlockMedal('Lotta Love'); _root.mm2 = 1; _root.savefile.data.mm2 = 1; midilz2 = _root.attachMovie('medalpopper', 'cloccudaa' + _root.efffcv, _root.efffcv + 100); ++_root.efffcv; midilz2._x = xcoor; midilz2._y = ycoor; midilz2.winmedalname = 'Lotta Love'; midilz2.winmedaldescription = 'Collect 2000 pounds of chocolate'; midilz2.panel.iconn.gotoAndStop(2); } } frame 16 { if (_root.mmm3 > 4 && _root.savefile.data.mm3 != 1 && !_root.cheater) { var medal_name = 'Lucky'; API.unlockMedal(medal_name); API.unlockMedal('Lucky'); _root.mm3 = 1; _root.savefile.data.mm3 = 1; midilz3 = _root.attachMovie('medalpopper', 'cloccudaa' + _root.efffcv, _root.efffcv + 100); ++_root.efffcv; midilz3._x = xcoor; midilz3._y = ycoor; midilz3.winmedalname = 'Lucky'; midilz3.winmedaldescription = 'Last 10 seconds while you\'re out of fuel'; midilz3.panel.iconn.gotoAndStop(3); } } frame 18 { if (_root.mmm4 > 4 && _root.savefile.data.mm4 != 1 && !_root.cheater) { var medal_name = 'Avoider'; API.unlockMedal(medal_name); API.unlockMedal('Avoider'); _root.mm4 = 1; _root.savefile.data.mm4 = 1; midilz4 = _root.attachMovie('medalpopper', 'cloccudaa' + _root.efffcv, _root.efffcv + 100); ++_root.efffcv; midilz4._x = xcoor; midilz4._y = ycoor; midilz4.winmedalname = 'Avoider'; midilz4.winmedaldescription = 'Don\'t touch anything for 10 seconds'; midilz4.panel.iconn.gotoAndStop(4); } } frame 20 { if (_root.mmm5 > 4 && _root.savefile.data.mm5 != 1 && !_root.cheater) { var medal_name = 'To The Stars'; API.unlockMedal(medal_name); API.unlockMedal('To The Stars'); _root.mm5 = 1; _root.savefile.data.mm5 = 1; midilz5 = _root.attachMovie('medalpopper', 'cloccudaa' + _root.efffcv, _root.efffcv + 100); ++_root.efffcv; midilz5._x = xcoor; midilz5._y = ycoor; midilz5.winmedalname = 'To The Stars'; midilz5.winmedaldescription = 'Travel up as high as possible'; midilz5.panel.iconn.gotoAndStop(5); } } frame 22 { if (_root.mmm6 > 4 && _root.savefile.data.mm6 != 1 && !_root.cheater) { var medal_name = 'Tanker'; API.unlockMedal(medal_name); API.unlockMedal('Tanker'); _root.mm6 = 1; _root.savefile.data.mm6 = 1; midilz6 = _root.attachMovie('medalpopper', 'cloccudaa' + _root.efffcv, _root.efffcv + 100); ++_root.efffcv; midilz6._x = xcoor; midilz6._y = ycoor; midilz6.winmedalname = 'Tanker'; midilz6.winmedaldescription = 'Get 10 fuel tanks in one round'; midilz6.panel.iconn.gotoAndStop(6); } } frame 24 { if (_root.mmm7 > 4 && _root.savefile.data.mm7 != 1 && !_root.cheater) { var medal_name = 'Indestructible'; API.unlockMedal(medal_name); API.unlockMedal('Indestructible'); _root.mm7 = 1; _root.savefile.data.mm7 = 1; midilz7 = _root.attachMovie('medalpopper', 'cloccudaa' + _root.efffcv, _root.efffcv + 100); ++_root.efffcv; midilz7._x = xcoor; midilz7._y = ycoor; midilz7.winmedalname = 'Indestructible'; midilz7.winmedaldescription = 'Get hit 10 times in one round without a shield'; midilz7.panel.iconn.gotoAndStop(7); } } frame 26 { if (_root.mmm8 > 4 && _root.savefile.data.mm8 != 1 && !_root.cheater) { var medal_name = 'Killer'; API.unlockMedal(medal_name); API.unlockMedal('Killer'); _root.mm8 = 1; _root.savefile.data.mm8 = 1; midilz8 = _root.attachMovie('medalpopper', 'cloccudaa' + _root.efffcv, _root.efffcv + 100); ++_root.efffcv; midilz8._x = xcoor; midilz8._y = ycoor; midilz8.winmedalname = 'Killer'; midilz8.winmedaldescription = 'Kill 50 enemies in one round.'; midilz8.panel.iconn.gotoAndStop(8); } } frame 28 { if (_root.mmm9 > 4 && _root.savefile.data.mm9 != 1 && !_root.cheater) { var medal_name = 'Traveler'; API.unlockMedal(medal_name); API.unlockMedal('Traveler'); _root.mm9 = 1; _root.savefile.data.mm9 = 1; midilz9 = _root.attachMovie('medalpopper', 'cloccudaa' + _root.efffcv, _root.efffcv + 100); ++_root.efffcv; midilz9._x = xcoor; midilz9._y = ycoor; midilz9.winmedalname = 'Traveler'; midilz9.winmedaldescription = 'Travel 50 miles in one trip'; midilz9.panel.iconn.gotoAndStop(9); } } frame 30 { if (_root.mmm10 > 4 && _root.savefile.data.mm10 != 1 && !_root.cheater) { var medal_name = 'Pilgrimage'; API.unlockMedal(medal_name); API.unlockMedal('Pilgrimage'); _root.mm10 = 1; _root.savefile.data.mm10 = 1; midilz10 = _root.attachMovie('medalpopper', 'cloccudaa' + _root.efffcv, _root.efffcv + 100); ++_root.efffcv; midilz10._x = xcoor; midilz10._y = ycoor; midilz10.winmedalname = 'Pilgrimage'; midilz10.winmedaldescription = 'Travel 100 miles in one trip '; midilz10.panel.iconn.gotoAndStop(10); } } frame 32 { if (_root.mmm11 > 4 && _root.savefile.data.mm11 != 1 && !_root.cheater) { var medal_name = 'Sweetheart'; API.unlockMedal(medal_name); API.unlockMedal('Sweetheart'); _root.mm11 = 1; _root.savefile.data.mm11 = 1; midilz11 = _root.attachMovie('medalpopper', 'cloccudaa' + _root.efffcv, _root.efffcv + 100); ++_root.efffcv; midilz11._x = xcoor; midilz11._y = ycoor; midilz11.winmedalname = 'Sweetheart'; midilz11.winmedaldescription = 'Start the game as a girl'; midilz11.panel.iconn.gotoAndStop(11); } } frame 34 { if (_root.mmm12 > 4 && _root.savefile.data.mm12 != 1 && !_root.cheater) { var medal_name = 'Chocolate Rain'; API.unlockMedal(medal_name); API.unlockMedal('Chocolate Rain'); _root.mm12 = 1; _root.savefile.data.mm12 = 1; midilz12 = _root.attachMovie('medalpopper', 'cloccudaa' + _root.efffcv, _root.efffcv + 100); ++_root.efffcv; midilz12._x = xcoor; midilz12._y = ycoor; midilz12.winmedalname = 'Chocolate Rain'; midilz12.winmedaldescription = 'Upgrade the chocolate drop rate to maximum'; midilz12.panel.iconn.gotoAndStop(12); } } frame 36 { if (_root.mmm13 > 4 && _root.savefile.data.mm13 != 1 && !_root.cheater) { var medal_name = 'Big Spender'; API.unlockMedal(medal_name); API.unlockMedal('Big Spender'); _root.mm13 = 1; _root.savefile.data.mm13 = 1; midilz13 = _root.attachMovie('medalpopper', 'cloccudaa' + _root.efffcv, _root.efffcv + 100); ++_root.efffcv; midilz13._x = xcoor; midilz13._y = ycoor; midilz13.winmedalname = 'Big Spender'; midilz13.winmedaldescription = 'Buy the biggest gift'; midilz13.panel.iconn.gotoAndStop(13); } } frame 38 { if (_root.mmm14 > 4 && _root.savefile.data.mm14 != 1 && !_root.cheater) { var medal_name = 'You are Nuts'; API.unlockMedal(medal_name); API.unlockMedal('You are Nuts'); _root.mm14 = 1; _root.savefile.data.mm14 = 1; midilz14 = _root.attachMovie('medalpopper', 'cloccudaa' + _root.efffcv, _root.efffcv + 100); ++_root.efffcv; midilz14._x = xcoor; midilz14._y = ycoor; midilz14.winmedalname = 'You\'re Nuts'; midilz14.winmedaldescription = 'Buy everything in the store'; midilz14.panel.iconn.gotoAndStop(14); } } frame 40 { if (_root.mmm15 > 4 && _root.savefile.data.mm15 != 1 && !_root.cheater) { var medal_name = 'Get a life'; API.unlockMedal(medal_name); API.unlockMedal('Get a life'); _root.mm15 = 1; _root.savefile.data.mm15 = 1; midilz15 = _root.attachMovie('medalpopper', 'cloccudaa' + _root.efffcv, _root.efffcv + 100); ++_root.efffcv; midilz15._x = xcoor; midilz15._y = ycoor; midilz15.winmedalname = 'Get a life'; midilz15.winmedaldescription = 'Play a total of 5 hours'; midilz15.panel.iconn.gotoAndStop(15); } } frame 42 { if (_root.mmm16 > 4 && _root.savefile.data.mm16 != 1 && !_root.cheater) { var medal_name = 'What the hell was that'; API.unlockMedal(medal_name); API.unlockMedal('What the hell was that'); _root.mm16 = 1; _root.savefile.data.mm16 = 1; midilz16 = _root.attachMovie('medalpopper', 'cloccudaa' + _root.efffcv, _root.efffcv + 100); ++_root.efffcv; midilz16._x = xcoor; midilz16._y = ycoor; midilz16.winmedalname = 'What the hell was that?'; midilz16.winmedaldescription = 'Shhhh'; midilz16.panel.iconn.gotoAndStop(16); } } } instance of movieClip 19 Preloader { onClipEvent (construct) { autoPlay = false; mainClass = ''; } } movieClip 69 { } movieClip 71 { } movieClip 72 item1 { } movieClip 74 { } movieClip 75 item2 { } movieClip 77 { } movieClip 78 item3 { } movieClip 80 { } movieClip 81 item4 { } movieClip 83 { } movieClip 84 item5 { } movieClip 85 { } movieClip 87 { } movieClip 92 { } movieClip 101 { } movieClip 107 { } movieClip 113 { } movieClip 115 { } movieClip 120 { } movieClip 130 { } movieClip 136 { } movieClip 137 { } movieClip 139 { } movieClip 143 { } movieClip 144 { } movieClip 146 { } movieClip 147 { frame 1 { stop(); } frame 2 { stop(); this.onEnterFrame = function () { shield._alpha = random(50) + 20; }; } } movieClip 148 { } movieClip 152 { } movieClip 154 { } movieClip 162 { } movieClip 163 enemy5 { } movieClip 164 { } frame 6 { function playEffect(sname) { sname.start(); sname.setVolume(bgvolume); } this.createEmptyMovieClip('sfx', 1); this.createEmptyMovieClip('bgloop', 0); _root.keym = 77; _root.mdown = false; _root.soundoff = false; _root.bgvolume = 100; _root.loop1 = new Sound(_root.bgloop); _root.loop1.attachSound('loopmenus.wav'); _root.loopstarted1 = false; _root.loop2 = new Sound(_root.bgloop); _root.loop2.attachSound('mainagainwav'); _root.loopstarted2 = false; _root.loop3 = new Sound(_root.bgloop); _root.loop3.attachSound('maingame.wav'); _root.loopstarted3 = false; airburst = new Sound(sfx); airburst.attachSound('airburst.wav'); register = new Sound(sfx); register.attachSound('register.wav'); backtonormal = new Sound(sfx); backtonormal.attachSound('backtonormal.wav'); bigbird = new Sound(sfx); bigbird.attachSound('bigbird.wav'); bigboost = new Sound(sfx); bigboost.attachSound('bigboost.wav'); bigselect = new Sound(sfx); bigselect.attachSound('bigselect.wav'); blood = new Sound(sfx); blood.attachSound('blood.wav'); cdies = new Sound(sfx); cdies.attachSound('cdies.wav'); crash = new Sound(sfx); crash.attachSound('crash.wav'); chocolate1 = new Sound(sfx); chocolate1.attachSound('chocolate1.wav'); chocolate2 = new Sound(sfx); chocolate2.attachSound('chocolate2.wav'); chocolate3 = new Sound(sfx); chocolate3.attachSound('chocolate3.wav'); chocolate4 = new Sound(sfx); chocolate4.attachSound('chocolate4.wav'); chocolate5 = new Sound(sfx); chocolate5.attachSound('chocolate5.wav'); countdown = new Sound(sfx); countdown.attachSound('countdown.wav'); fireloop = new Sound(sfx); fireloop.attachSound('fireloop.wav'); getbig = new Sound(sfx); getbig.attachSound('getbig.wav'); getgas = new Sound(sfx); getgas.attachSound('getgas.wav'); guyhit = new Sound(sfx); guyhit.attachSound('guyhit.wav'); lowfuel = new Sound(sfx); lowfuel.attachSound('lowfuel.wav'); nofuel = new Sound(sfx); nofuel.attachSound('nofuel.wav'); rainbow = new Sound(sfx); rainbow.attachSound('rainbow.wav'); repair = new Sound(sfx); repair.attachSound('repair.wav'); shield = new Sound(sfx); shield.attachSound('shield.wav'); shrink = new Sound(sfx); shrink.attachSound('shrink.wav'); smallboost = new Sound(sfx); smallboost.attachSound('smallboost.wav'); smallselect = new Sound(sfx); smallselect.attachSound('smallselect.wav'); startgame = new Sound(sfx); startgame.attachSound('startgame.wav'); newgamee = new Sound(sfx); newgamee.attachSound('newgamee.wav'); explosion = new Sound(sfx); explosion.attachSound('explosion.wav'); a2bomber = new Sound(sfx); a2bomber.attachSound('a2bomber.wav'); a2bounce = new Sound(sfx); a2bounce.attachSound('a2bounce.wav'); a2combo = new Sound(sfx); a2combo.attachSound('a2combo.wav'); a2crow = new Sound(sfx); a2crow.attachSound('a2crow.wav'); a2girlscream = new Sound(sfx); a2girlscream.attachSound('a2girlscream.wav'); a2guyscream = new Sound(sfx); a2guyscream.attachSound('a2guyscream.wav'); a2jay = new Sound(sfx); a2jay.attachSound('a2jay.wav'); a2jet = new Sound(sfx); a2jet.attachSound('a2jet.wav'); a2nyan = new Sound(sfx); a2nyan.attachSound('a2nyan.wav'); a2parachute = new Sound(sfx); a2parachute.attachSound('a2parachute.wav'); a2pause = new Sound(sfx); a2pause.attachSound('a2pause.wav'); a2pop = new Sound(sfx); a2pop.attachSound('a2pop.wav'); a2rev = new Sound(sfx); a2rev.attachSound('a2rev.wav'); a2thud = new Sound(sfx); a2thud.attachSound('a2thud.wav'); a3baby = new Sound(sfx); a3baby.attachSound('a3baby.wav'); a3bounce = new Sound(sfx); a3bounce.attachSound('a3bounce.wav'); a3dragon = new Sound(sfx); a3dragon.attachSound('a3dragon.wav'); a3step = new Sound(sfx); a3step.attachSound('a3step.wav'); } movieClip 219 { frame 1 { stop(); } } movieClip 221 { } movieClip 222 { } movieClip 223 item6 { } movieClip 225 { } movieClip 226 { } movieClip 227 item7 { } movieClip 236 { frame 2 { if (!_root.soundoff) { _root.playEffect(_root.explosion); } } frame 29 { stop(); } } movieClip 237 effect3 { } movieClip 256 { frame 28 { this.unloadMovie(); this.removeMovieClip(); } } movieClip 257 effect4 { } movieClip 262 { } movieClip 263 item8 { } movieClip 265 { } movieClip 266 item9 { } movieClip 268 { } movieClip 269 enemy1 { } movieClip 277 { frame 15 { this.unloadMovie(); this.removeMovieClip(); } } movieClip 278 effect5 { } movieClip 291 { frame 13 { this.unloadMovie(); this.removeMovieClip(); } } movieClip 292 effect6 { } movieClip 296 { } movieClip 297 item10 { } movieClip 302 { } movieClip 304 { } movieClip 305 item11 { } movieClip 310 { } movieClip 312 { } movieClip 313 item12 { } movieClip 320 { } movieClip 321 enemy2 { } movieClip 329 { frame 3 { if (!_root.soundoff) { _root.playEffect(_root.bigbird); } if (!_root.soundoff) { _root.playEffect(_root.blood); } } } movieClip 330 effect7 { } movieClip 333 { } movieClip 336 { } movieClip 337 enemy3 { } movieClip 341 { } movieClip 346 { instance of movieClip 341 { onClipEvent (enterFrame) { if (_root.gamepause) { _parent.stop(); } if (!_root.gamepause) { _parent.play(); } } } } movieClip 350 { } movieClip 353 { frame 1 { stop(); _root.cantshoot = false; } instance of movieClip 350 { onClipEvent (enterFrame) { if (_root.shot) { _parent.play(); } } } frame 2 { _root.cantshoot = true; _root.shot = false; } } movieClip 354 enemy4 { } movieClip 359 { frame 28 { if (_root.lives < 0) { _root.gotoAndStop('gameover'); } stop(); } } movieClip 372 { frame 3 { if (!_root.soundoff) { _root.playEffect(_root.cdies); } } frame 12 { stop(); } } movieClip 373 effect8 { } movieClip 376 { } movieClip 385 effect9 { frame 3 { if (!_root.soundoff) { _root.playEffect(_root.nyan); } } } movieClip 386 { } movieClip 387 item13 { } movieClip 393 { } movieClip 394 item14 { } movieClip 396 { } movieClip 397 item15 { } movieClip 404 { } movieClip 405 { } movieClip 408 { } movieClip 409 { } movieClip 413 { } movieClip 414 { } movieClip 415 enemy6 { frame 1 { stop(); } frame 2 { if (!_root.soundoff) { _root.playEffect(_root.a2bomber); } } } movieClip 420 { } movieClip 423 { } movieClip 424 { } movieClip 425 enemy7 { } movieClip 434 { } movieClip 435 enemy8 { } movieClip 443 { frame 3 { if (!_root.soundoff) { _root.playEffect(_root.blood); } if (!_root.soundoff) { _root.playEffect(_root.a2jay); } } } movieClip 444 effect10 { } movieClip 457 { frame 2 { if (!_root.soundoff) { _root.playEffect(_root.a2thud); } } frame 13 { stop(); } } movieClip 458 effect11 { } movieClip 464 { } movieClip 465 effect12 { frame 16 { stop(); } } movieClip 466 effect13 { frame 16 { stop(); } } movieClip 467 effect14 { frame 16 { stop(); } } // unknown tag 88 length 89 movieClip 472 { } movieClip 473 kombos { frame 1 { var hits = _root.thegame.combolevel2; var messagee = _root.thegame.themessage; } frame 76 { stop(); this.unloadMovie(); this.removeMovieClip(); } } movieClip 475 { } movieClip 476 enemy9 { } movieClip 482 effect15 { frame 2 { if (!_root.soundoff) { _root.playEffect(_root.a2pop); } } frame 71 { stop(); this.unloadMovie(); this.removeMovieClip(); } } movieClip 491 { } movieClip 492 enemy10 { } movieClip 500 { frame 2 { if (!_root.soundoff) { _root.playEffect(_root.a2crow); } if (!_root.soundoff) { _root.playEffect(_root.blood); } } } movieClip 501 effect16 { } movieClip 507 { } movieClip 508 { } movieClip 509 enemy11 { } movieClip 516 { frame 3 { if (!_root.soundoff) { _root.playEffect(_root.a3baby); } if (!_root.soundoff) { _root.playEffect(_root.blood); } } } movieClip 517 effect17 { } movieClip 522 { } movieClip 523 { } movieClip 524 { frame 1 { stop(); } frame 108 { stop(); } } movieClip 525 enemy12 { frame 110 { gotoAndPlay(1); } } movieClip 526 effect18 { } movieClip 528 { } movieClip 529 enemy14 { } movieClip 531 { } movieClip 532 enemy13 { } movieClip 534 { } movieClip 535 enemy15 { } movieClip 537 { } movieClip 538 effect19 { frame 2 { if (!_root.soundoff) { _root.playEffect(_root.a3dragon); } } frame 136 { stop(); } } movieClip 539 effect20 { frame 113 { stop(); } } movieClip 540 effect21 { frame 148 { stop(); } } movieClip 542 { } movieClip 543 { } movieClip 544 enemy16 { frame 2 { _root.thegame._y -= 4; if (!_root.soundoff && !_root.thegame.gamepaused) { _root.playEffect(_root.a3step); } } frame 4 { _root.thegame._y += 8; if (!_root.soundoff && !_root.thegame.gamepaused) { _root.playEffect(_root.a3step); } } frame 6 { _root.thegame._y -= 8; if (!_root.soundoff && !_root.thegame.gamepaused) { _root.playEffect(_root.a3step); } } frame 8 { _root.thegame._y += 4; if (!_root.soundoff && !_root.thegame.gamepaused) { _root.playEffect(_root.a3step); } } } frame 15 { } frame 16 { stop(); } movieClip 552 { } movieClip 558 { } movieClip 561 { frame 1 { _root.stop(); gotoAndPlay(2); } frame 225 { _root.gotoAndStop('main'); } } button 563 { on (release) { getURL('http://armor.ag/MoreGames', '_blank'); } } frame 27 { stop(); _root.cheat = ''; _root.cantmute = false; } movieClip 566 { } movieClip 567 { } movieClip 568 { } movieClip 570 { } movieClip 572 { } button 574 { on (rollOver) { if (!_root.soundoff) { _root.playEffect(_root.smallselect2); } } on (release) { _root.soundoff = true; gotoAndStop('off'); } } button 575 { on (release) { _root.soundoff = false; gotoAndStop('on'); } } movieClip 577 { } movieClip 578 { frame 1 { stop(); } instance of movieClip 570 { onClipEvent (enterFrame) { if (!_root.cantmute) { if (_root.soundoff) { _parent.gotoAndStop('off'); } if (!_root.soundoff) { _parent.gotoAndStop('on'); } if (!Key.isDown(77)) { _root.mdown = false; } if (Key.isDown(77) && !_root.mdown) { if (_root.soundoff) { _root.mdown = true; _root.soundoff = false; } else { _root.mdown = true; _root.soundoff = true; } } } } } frame 7 { stop(); stopAllSounds(); } } movieClip 583 { } button 585 { on (rollOver) { if (!_root.soundoff) { _root.playEffect(_root.smallselect); } } on (release) { if (!_root.soundoff) { _root.playEffect(_root.bigselect); } target = 'blank'; getURL('http://www.thepoxbox.com/', 'blank'); } } movieClip 588 { } button 590 { on (rollOver) { if (!_root.soundoff) { _root.playEffect(_root.smallselect); } } on (release) { if (!_root.soundoff) { _root.playEffect(_root.bigselect); } getURL('http://www.facebook.com/ArmorGames', '_blank'); } } movieClip 594 { } button 596 { on (rollOver) { if (!_root.soundoff) { _root.playEffect(_root.smallselect); } } on (release) { if (!_root.soundoff) { _root.playEffect(_root.bigselect); } _root.thegame.kreds.gotoAndPlay(2); } } button 599 { on (rollOver) { if (!_root.soundoff) { _root.playEffect(_root.smallselect); } } on (release) { if (!_root.soundoff) { _root.playEffect(_root.bigselect); } getURL('http://armor.ag/MoreGames', '_blank'); } } movieClip 600 { } movieClip 602 { frame 11 { stop(); } } movieClip 603 { frame 14 { stop(); } } movieClip 604 { frame 17 { stop(); } } movieClip 605 { frame 20 { stop(); } } movieClip 606 { frame 23 { stop(); } } movieClip 607 { frame 26 { stop(); } } movieClip 608 { frame 28 { stop(); } } movieClip 609 { frame 30 { stop(); } } movieClip 610 { frame 32 { stop(); } } movieClip 611 { frame 34 { stop(); } } movieClip 612 { frame 36 { stop(); } } movieClip 613 { frame 38 { stop(); } } movieClip 614 { } movieClip 616 { } movieClip 619 { } movieClip 620 { } movieClip 621 { } movieClip 624 { } movieClip 629 { } movieClip 632 { } movieClip 633 { } button 636 { on (rollOver) { if (!_root.soundoff) { _root.playEffect(_root.smallselect); } } on (release) { if (!_root.soundoff) { _root.playEffect(_root.bigselect); } if (_root.newgame == 1) { _root.thegame.gametype._alpha = 100; _root.thegame.gametype._x = 32.7; _root.thegame.gametype._y = 37.85; } else { _root.cleardata(); _root.newgame = 1; _root.playername = 'Bunny'; _root.thegame.makeprofile._alpha = 100; _root.thegame.makeprofile._x = 32.7; _root.thegame.makeprofile._y = 37.85; } } } movieClip 639 { } movieClip 641 { } button 642 { on (rollOver) { if (!_root.soundoff) { _root.playEffect(_root.smallselect); } } on (release) { if (!_root.soundoff) { _root.playEffect(_root.bigselect); } _root.gotoAndStop('sendgift'); } } movieClip 645 { } movieClip 647 { } button 648 { on (rollOver) { if (!_root.soundoff) { _root.playEffect(_root.smallselect); } } on (release) { if (!_root.soundoff) { _root.playEffect(_root.bigselect); } _root.thegame.medals._alpha = 100; _root.thegame.medals._x = 32.7; _root.thegame.medals._y = 37.85; } } movieClip 651 { } movieClip 654 { } button 656 { on (rollOver) { if (!_root.soundoff) { _root.playEffect(_root.smallselect); } } on (release) { if (!_root.soundoff) { _root.playEffect(_root.bigselect); } getURL('http://armor.ag/MoreGames', '_blank'); } } movieClip 659 { } movieClip 660 { } movieClip 662 { } button 663 { on (rollOver) { if (!_root.soundoff) { _root.playEffect(_root.smallselect); } } on (release) { target = 'blank'; getURL('http://www.thepoxbox.com/art.php?id=chocolaterun', 'blank'); } } movieClip 664 { } movieClip 665 { } movieClip 666 { } movieClip 669 { } movieClip 670 { } movieClip 671 { } movieClip 675 { } button 681 { on (rollOver) { if (!_root.soundoff) { _root.playEffect(_root.smallselect); } } on (release) { if (!_root.soundoff) { _root.playEffect(_root.bigselect); } _parent.select1._alpha = 100; _parent.select2._alpha = 0; } } button 684 { on (rollOver) { if (!_root.soundoff) { _root.playEffect(_root.smallselect); } } on (release) { if (!_root.soundoff) { _root.playEffect(_root.bigselect); } _parent.select2._alpha = 100; _parent.select1._alpha = 0; } } movieClip 687 { } movieClip 690 { } button 691 { on (rollOver) { if (!_root.soundoff) { _root.playEffect(_root.smallselect); } } on (release) { if (!_root.soundoff) { _root.playEffect(_root.bigselect); } _root.playername = _parent.playername.text; _root.savefile.data.playernamee = _root.playername; if (_root.thegame.makeprofile.select1._alpha > 0) { _root.savefile.data.gender = 1; _root.gender = 1; _root.newgame = 1; _root.cantmute = false; _root.savedata(); } else { root.savefile.data.gender = 2; _root.gender = 2; _root.newgame = 1; _root.savedata(); } _root.gotoAndStop('game'); } } movieClip 692 { } movieClip 694 { } button 698 { on (rollOver) { if (!_root.soundoff) { _root.playEffect(_root.smallselect); } } on (release) { if (!_root.soundoff) { _root.playEffect(_root.bigselect); } _root.gotoAndStop('game'); } } button 702 { on (rollOver) { if (!_root.soundoff) { _root.playEffect(_root.smallselect); } } on (release) { if (!_root.soundoff) { _root.playEffect(_root.bigselect); } _root.thegame.yousure._alpha = 100; _root.thegame.yousure._x = 32.7; _root.thegame.yousure._y = 37.85; } } button 706 { on (rollOver) { if (!_root.soundoff) { _root.playEffect(_root.smallselect); } } on (release) { if (!_root.soundoff) { _root.playEffect(_root.bigselect); } _root.thegame.gametype._alpha = 0; _root.thegame.gametype._x += 2000; } } movieClip 707 { } movieClip 708 { } movieClip 712 { } movieClip 714 { } button 716 { on (rollOver) { if (!_root.soundoff) { _root.playEffect(_root.smallselect); } } on (release) { if (!_root.soundoff) { _root.playEffect(_root.newgamee); } _root.cleardata(); _root.thegame.makeprofile._alpha = 100; _root.thegame.makeprofile._x = 32.7; _root.thegame.makeprofile._y = 37.85; _root.thegame.gametype._alpha = 0; _root.thegame.gametype._x += 2000; _root.thegame.yousure._alpha = 0; _root.thegame.yousure._x += 2000; } } movieClip 718 { } movieClip 720 { } button 721 { on (rollOver) { if (!_root.soundoff) { _root.playEffect(_root.smallselect); } } on (release) { if (!_root.soundoff) { _root.playEffect(_root.bigselect); } _root.thegame.yousure._alpha = 0; _root.thegame.yousure._x += 2000; } } movieClip 722 { } movieClip 723 { } button 726 { on (rollOver) { medalname = 'My Valentine'; medaldescription = 'View Gifts'; } } button 727 { on (rollOver) { medalname = 'Lotta Love '; medaldescription = 'Collect 2000 pounds of chocolate'; } } button 728 { on (rollOver) { medalname = 'Lucky'; medaldescription = 'Last 10 seconds while you\'re out of fuel'; } } button 729 { on (rollOver) { medalname = 'Avoider'; medaldescription = 'Don\'t touch anything for 10 seconds'; } } button 730 { on (rollOver) { medalname = 'To The Stars'; medaldescription = 'Travel up as high as possible'; } } button 731 { on (rollOver) { medalname = 'Tanker'; medaldescription = 'Get 10 fuel tanks in one round'; } } button 732 { on (rollOver) { medalname = 'Indestructible'; medaldescription = 'Get hit 10 times in one round without a shield'; } } button 733 { on (rollOver) { medalname = 'Killer'; medaldescription = 'Kill 50 enemies in one round.'; } } button 734 { on (rollOver) { medalname = 'Traveler'; medaldescription = 'Travel 50 miles in one trip'; } } button 735 { on (rollOver) { medalname = 'Pilgrimage'; medaldescription = 'Travel 100 miles in one trip '; } } button 736 { on (rollOver) { medalname = 'Sweetheart'; medaldescription = 'Start the game as a girl'; } } button 737 { on (rollOver) { medalname = 'Chocolate Rain'; medaldescription = 'Upgrade the chocolate drop rate to maximum'; } } button 738 { on (rollOver) { medalname = 'Big Spender'; medaldescription = 'Buy the biggest gift'; } } button 739 { on (rollOver) { medalname = 'You\'re Nuts'; medaldescription = 'Buy everything in the store'; } } button 740 { on (rollOver) { medalname = 'Get a life'; medaldescription = 'Play a total of 5 hours'; } } button 741 { on (rollOver) { medalname = 'What the hell was that?'; medaldescription = 'Shhhh'; } } button 742 { on (rollOver) { if (!_root.soundoff) { _root.playEffect(_root.smallselect); } } on (release) { if (!_root.soundoff) { _root.playEffect(_root.bigselect); } _root.thegame.medals._alpha = 0; _root.thegame.medals._x += 2000; } } movieClip 744 { } movieClip 747 { frame 1 { stop(); medalname = 'Roll over a medal to see its name!'; medaldescription = 'Roll over a medal to see its description!'; stop(); if (_root.savefile.data.mm16 == 1) { mb16._alpha = 100; } if (_root.savefile.data.mm15 == 1) { mb15._alpha = 100; } if (_root.savefile.data.mm14 == 1) { mb14._alpha = 100; } if (_root.savefile.data.mm13 == 1) { mb13._alpha = 100; } if (_root.savefile.data.mm12 == 1) { mb12._alpha = 100; } if (_root.savefile.data.mm11 == 1) { mb11._alpha = 100; } if (_root.savefile.data.mm10 == 1) { mb10._alpha = 100; } if (_root.savefile.data.mm9 == 1) { mb9._alpha = 100; } if (_root.savefile.data.mm8 == 1) { mb8._alpha = 100; } if (_root.savefile.data.mm7 == 1) { mb7._alpha = 100; } if (_root.savefile.data.mm6 == 1) { mb6._alpha = 100; } if (_root.savefile.data.mm5 == 1) { mb5._alpha = 100; } if (_root.savefile.data.mm4 == 1) { mb4._alpha = 100; } if (_root.savefile.data.mm3 == 1) { mb3._alpha = 100; } if (_root.savefile.data.mm2 == 1) { mb2._alpha = 100; } if (_root.savefile.data.mm1 == 1) { mb1._alpha = 100; } } } button 754 { on (rollOver) { if (!_root.soundoff) { _root.playEffect(_root.smallselect); } } on (release) { target = 'blank'; getURL('http://www.thepoxbox.com/', 'blank'); } } button 758 { on (rollOver) { if (!_root.soundoff) { _root.playEffect(_root.smallselect); } } on (release) { target = 'blank'; getURL('http://www.freesound.org/', 'blank'); } } button 762 { on (rollOver) { if (!_root.soundoff) { _root.playEffect(_root.smallselect); } } on (release) { target = 'blank'; getURL('http://www.flashkit.com/loops/Techno-Dance/Dance/Kupala2-dkcc-10330/index.php', 'blank'); } } button 767 { on (rollOver) { if (!_root.soundoff) { _root.playEffect(_root.smallselect); } } on (release) { target = 'blank'; getURL('http://www.flashkit.com/search.php?term=Q-Music&per=10&page=1&field=Contact_Name&cat=loops', 'blank'); } } button 772 { on (rollOver) { if (!_root.soundoff) { _root.playEffect(_root.smallselect); } } on (release) { target = 'blank'; getURL('http://viewtifulday.newgrounds.com/', 'blank'); } } movieClip 773 { } button 776 { on (rollOver) { if (!_root.soundoff) { _root.playEffect(_root.smallselect); } } on (release) { if (!_root.soundoff) { _root.playEffect(_root.bigselect); } _root.thegame.kreds.gotoAndPlay(10); } } movieClip 777 { } movieClip 778 { } movieClip 780 { frame 1 { stop(); } frame 9 { stop(); } } movieClip 781 { frame 1 { stopAllSounds(); _root.loopstarted2 = false; _root.loopstarted3 = false; _root.loopstarted1 = false; if (!_root.soundoff) { _root.playEffect(_root.a2jet); } if (API.hasUserSession) { pass.pass1.logbutton._x += 1000; } else {} } frame 39 { stop(); this.onEnterFrame = function () { if (_root.soundoff) { stopAllSounds(); _root.loopstarted2 = false; } if (!_root.soundoff) { if (!_root.loopstarted2) { _root.loop2 = new Sound(_root.bgloop); _root.loop2.attachSound('mainagainwav'); _root.loop2.start(0, 999); _root.loop2.setVolume(_root.bgvolume); _root.loopstarted2 = true; } } }; } } frame 37 { _root.gotoAndStop('main'); } frame 38 { _root.cantmute = false; } movieClip 785 { } movieClip 786 { } movieClip 788 { } movieClip 789 { } movieClip 791 { } movieClip 792 { } movieClip 794 { } movieClip 795 { } movieClip 796 { } movieClip 798 { } movieClip 799 { } movieClip 800 { } movieClip 806 { } movieClip 808 { } button 809 { on (rollOver) { if (!_root.soundoff) { _root.playEffect(_root.smallselect); } } on (release) { nextFrame(); } } movieClip 814 { } movieClip 816 { } button 817 { on (rollOver) { if (!_root.soundoff) { _root.playEffect(_root.smallselect); } } on (release) { if (!_root.soundoff) { _root.playEffect(_root.bigselect); } _root.thegame.getready1._alpha = 100; _root.thegame.getready1.gotoAndPlay(2); _root.thegame.instructionscreen._alpha = 0; _root.thegame.instructionscreen._x += 1000; } } movieClip 818 { frame 1 { stop(); } } movieClip 819 { } movieClip 820 { } movieClip 825 { frame 1 { stop(); } frame 2 { play(); if (!_root.soundoff) { _root.playEffect(_root.countdown); } } frame 30 { if (!_root.soundoff) { _root.playEffect(_root.countdown); } } frame 60 { if (!_root.soundoff) { _root.playEffect(_root.countdown); } } frame 90 { _parent.gamestarted = true; if (!_root.soundoff) { _root.playEffect(_root.startgame); } } frame 126 { stop(); _parent.getready1._alpha = 0; } } movieClip 827 { frame 1 { stop(); } frame 52 { stop(); if (_root.bestdistance < _root.distancee) { _root.savefile.data.bestdistance = _root.distancee; _root.bestdistance = _root.distancee; } _root.gotoAndStop('upgrades'); } } movieClip 833 { } movieClip 838 { } movieClip 840 { } movieClip 852 { frame 1 { stop(); } } movieClip 854 { } movieClip 855 { frame 1 { stop(); } } movieClip 857 { } movieClip 861 { frame 1 { stop(); } frame 2 { stop(); } } movieClip 863 { } movieClip 865 { } movieClip 866 { } button 870 { on (release) { _root.gotoAndPlay(75); } } movieClip 871 { } movieClip 873 { } movieClip 875 { frame 5 { stop(); } } movieClip 876 { } movieClip 877 { } movieClip 878 { frame 1 { stop(); } frame 8 { stop(); } } movieClip 883 { } movieClip 884 { } movieClip 886 { } movieClip 888 { } button 892 { on (rollOver) { if (!_root.soundoff) { _root.playEffect(_root.smallselect); } } on (release) { if (!_root.soundoff) { _root.playEffect(_root.bigselect); } _root.thegame.gamepaused = false; _root.thegame.pausescreen._x += 1000; _root.thegame.gamepaused = false; _root.thegame.gamestarted = true; _root.savemydata(); } } button 896 { on (rollOver) { if (!_root.soundoff) { _root.playEffect(_root.smallselect); } } on (release) { if (!_root.soundoff) { _root.playEffect(_root.bigselect); } _root.gotoAndStop('main'); } } button 900 { on (rollOver) { if (!_root.soundoff) { _root.playEffect(_root.smallselect); } } on (release) { if (!_root.soundoff) { _root.playEffect(_root.bigselect); } getURL('http://armor.ag/MoreGames', '_blank'); } } movieClip 901 { } button 906 { on (press) { if (_root.cheat != 'MONIES' && _root.cheat != 'BADASS' && _root.cheat != 'CHOKLIT' && _root.cheat != 'NOONEHERE' && _root.cheat != 'ITEMZ') { outcome.gotoAndPlay('wrong'); } if (_root.cheat == 'MONIES') { if (!_root.soundoff) { _root.playEffect(_root.ching); } outcome.gotoAndPlay('chocolate'); } if (_root.cheat == 'BADASS') { outcome.gotoAndPlay('badass'); } if (_root.cheat == 'CHOKLIT') { outcome.gotoAndPlay('choklit'); } if (_root.cheat == 'NOONEHERE') { outcome.gotoAndPlay('empty'); } if (_root.cheat == 'ITEMZ') { outcome.gotoAndPlay('powers'); } } } movieClip 908 { } movieClip 912 { } movieClip 917 { } movieClip 920 { } movieClip 923 { } movieClip 926 { } movieClip 929 { } movieClip 930 { frame 1 { _root.cheat = 'TYPE CHEAT HERE IN ALL CAPS'; _root.savedata(); stop(); } frame 10 { _root.cheat = '-------------------'; play(); } frame 24 { gotoAndPlay('start'); } frame 25 { _root.cheat = '-------------------'; _root.chocolate += 10000; _root.cheater = true; play(); } frame 75 { _root.cheat = 'TYPE CHEAT HERE IN ALL CAPS'; gotoAndPlay('start'); } frame 76 { _root.cheat = '-------------------'; _root.biggercheat = true; _root.cheater = true; play(); } frame 121 { _root.cheat = 'TYPE CHEAT HERE IN ALL CAPS'; gotoAndPlay('start'); } frame 122 { _root.cheat = '-------------------'; _root.choklit = true; _root.cheater = true; play(); } frame 158 { _root.cheat = 'TYPE CHEAT HERE IN ALL CAPS'; gotoAndPlay('start'); } frame 159 { _root.cheat = '-------------------'; _root.empty = true; _root.cheater = true; play(); } frame 198 { _root.cheat = 'TYPE CHEAT HERE IN ALL CAPS'; gotoAndPlay('start'); } frame 199 { _root.cheat = '-------------------'; _root.powers = true; _root.cheater = true; play(); } frame 233 { _root.cheat = 'TYPE CHEAT HERE IN ALL CAPS'; gotoAndPlay('start'); } } movieClip 931 { } movieClip 932 { } button 937 { on (release) { if (gamestarted && !gamepaused) { if (!_root.soundoff) { _root.playEffect(_root.a2pause); } gamepaused = true; _root.thegame.pausescreen._x -= 1000; pdown = true; gamestarted = false; } } } movieClip 941 { } movieClip 942 { frame 1 { stop(); } frame 2 { if (!_root.soundoff) { _root.playEffect(_root.a2rev); } } } movieClip 944 { frame 1 { stop(); } frame 2 { if (!_root.soundoff) { _root.playEffect(_root.lowfuel); } } frame 36 { gotoAndPlay(2); } } movieClip 946 { frame 1 { stop(); } frame 2 { if (!_root.soundoff) { _root.playEffect(_root.nofuel); } } frame 9 { gotoAndPlay(2); } } movieClip 948 { frame 1 { stop(); } frame 2 { if (!_root.soundoff) { _root.playEffect(_root.fireloop); } } frame 52 { gotoAndPlay(2); } } movieClip 949 { frame 1 { function moveenemies() { var v3 = 0; while (v3 < enemies.length) { var v2 = enemies[v3]; v2._x -= speed + v2.speedd; if (v2.kindd2 == 13 or v2.kindd2 == 14 or v2.kindd2 == 15) { if (!dragonstart) { v2._x += speed - v2.speedd; } } if (v2.kindd2 == 7) { v2._y += 15; } if (v2.kindd2 == 9) { v2._y -= 10; } if (v2.hitarea.hitTest(_root.thegame.yourguy.hitarea) or v2.hitarea2.hitTest(_root.thegame.yourguy.hitarea)) { touchtimer = 0; if (v2.kindd > 0) { ee4 = _root.thegame.attachMovie('effect4', 'cloccudaa' + effcv, effcv + 100); ++effcv; ee4._x = v2._x; ee4._y = yourguy._y + 30; explosions.push(ee4); } if (v2.kindd < 6) { _root.chocolate += v2.chocovalue; ran = random(5) + 1; if (ran == 1) { if (!_root.soundoff) { _root.playEffect(_root.chocolate1); } } if (ran == 2) { if (!_root.soundoff) { _root.playEffect(_root.chocolate2); } } if (ran == 3) { if (!_root.soundoff) { _root.playEffect(_root.chocolate3); } } if (ran == 4) { if (!_root.soundoff) { _root.playEffect(_root.chocolate4); } } if (ran == 5) { if (!_root.soundoff) { _root.playEffect(_root.chocolate5); } } _root.totalchocolate += v2.chocovalue; if (_root.totalchocolate >= 2000) { if (!mget2) { mget2 = true; _root.mmm2 = 43; _root.medalz.gotoAndPlay('medalcheck'); } } } if (v2.kindd == 6) { tanker += 1; if (!_root.soundoff) { _root.playEffect(_root.getgas); } if (tanker > 9) { _root.mmm6 = 43; _root.medalz.gotoAndPlay('medalcheck'); } totalfuel += 100; if (totalfuel > 100) { totalfuel = 100; } } if (v2.kindd == 8) { speed += 30; if (!_root.soundoff) { _root.playEffect(_root.smallboost); } } if (v2.kindd == 10) { speed += 70; if (!_root.soundoff) { _root.playEffect(_root.bigboost); } } if (v2.kindd == 7) { if (!_root.soundoff) { _root.playEffect(_root.repair); } if (currentarmor <= _root.armorlevel) { currentarmor += 1; } } if (v2.kindd == 9 && !boosted) { if (!_root.soundoff) { _root.playEffect(_root.airburst); } boosted = true; } if (v2.kindd == 13) { xvel2 += random(100) + 30; if (!_root.soundoff) { _root.playEffect(_root.airburst); } } if (v2.kindd == 14) { xvel += random(100) + 180; if (!_root.soundoff) { _root.playEffect(_root.a2bounce); } } if (v2.kindd == 11) { if (bigger) { yourguy._width /= 6; yourguy._height /= 6; } if (!shrunk) { yourguy._width /= 6; yourguy._height /= 6; } shrinktimer = 0; bigger = false; shrunk = true; if (!_root.soundoff) { _root.playEffect(_root.shrink); } } if (v2.kindd == 12) { if (shrunk) { yourguy._width *= 6; yourguy._height *= 6; } if (!bigger) { yourguy._width *= 6; yourguy._height *= 6; } biggertimer = 0; shrunk = false; bigger = true; if (!_root.soundoff) { _root.playEffect(_root.getbig); } } if (v2.kindd == 15) { basespeed -= 5; if (!_root.soundoff) { _root.playEffect(_root.a2parachute); } if (basespeed < 10) { basespeed = 4; } } if (v2.kindd == 9 or v2.kindd == 14 or v2.kindd == 10 or v2.kindd == 13 or v2.kindd == 8) { combolevel += 1; combotimer = 0; combometer.kombo1.kombo2.kombo3.gotoAndPlay(1); if (v2.kindd == 9 or v2.kindd == 14) { ran = 12; } if (v2.kindd == 13) { ran = 13; } if (v2.kindd == 10 or v2.kindd == 8) { ran = 14; } burstedtimer = 30; bursted = true; eee = _root.thegame.attachMovie('effect' + ran, 'cloccudaa' + effcv, effcv + 100); ++effcv; eee.timer = 45; eee._x = v2._x; eee._y = v2._y; bursts.push(eee); } if (v2.kindd == 9 or v2.kindd == 13 or v2.kindd == 14) { ee = _root.thegame.bgbg.attachMovie('effect11', 'cloccudaa' + effcv, effcv + 100); ++effcv; ee._x = v2._x; ee._y = v2._y - 40; explosions.push(ee); } if (v2.kindd2 > 0) { var v4 = new flash.geom.Point(_root.thegame.yourguy._x, _root.thegame.yourguy._y - 40); _root.thegame.bgbg.globalToLocal(v4); if (v2._y > v4.y && v2.kindd2 !== 16) { xvel += random(50) + 50; v2.dir = 0; } if (v2._y <= v4.y && v2.kindd2 !== 16) { xvel2 += random(50) + 50; v2.dir = 1; } if (v2.kindd2 == 16) { xvel += random(50) + 50; v2.dir = 0; } combolevel += 1; combotimer = 0; combometer.kombo1.kombo2.kombo3.gotoAndPlay(1); if (v2.kindd2 !== 16 && v2.kindd2 !== 12) { ee = _root.thegame.bgbg.attachMovie('effect11', 'cloccudaa' + effcv, effcv + 100); ++effcv; ee._x = v2._x; ee._y = v2._y + 20; explosions.push(ee); } if (!bigger && !shielded && !bursted) { currentarmor -= v2.damagee; if (!shielded) { indestructiblecount += 1; if (indestructiblecount > 9) { _root.mmm7 = 43; _root.medalz.gotoAndPlay('medalcheck'); } } } burstedtimer = 30; bursted = true; if (v2.dir == 0) { ran = 12; } if (v2.dir == 1) { ran = 13; } eee = _root.thegame.attachMovie('effect' + ran, 'cloccudaa' + effcv, effcv + 100); ++effcv; eee.timer = 45; eee._x = v2._x; eee._y = v2._y; bursts.push(eee); killercount += 1; if (killercount > 49) { _root.mmm8 = 43; _root.medalz.gotoAndPlay('medalcheck'); } if (v2.kindd2 == 1 or v2.kindd2 == 3 or v2.kindd2 == 7 or v2.kindd2 == 6) { ee = _root.thegame.attachMovie('effect3', 'cloccudaa' + effcv, effcv + 100); ++effcv; ee._x = yourguy._x + 40; ee._y = yourguy._y; if (v2.kindd2 !== 6 && v2.kindd2 !== 7) { ee._yscale *= 2; ee._xscale *= 2; } explosions.push(ee); } if (v2.kindd2 == 16) { if (!_root.soundoff) { _root.playEffect(_root.a3bounce); } } if (v2.kindd2 == 2 or v2.kindd2 == 4 or v2.kindd2 == 5 or v2.kindd2 == 8 or v2.kindd2 == 9 or v2.kindd2 == 10 or v2.kindd2 == 11 or v2.kindd2 == 13 or v2.kindd2 == 14 or v2.kindd2 == 15) { if (v2.kindd2 == 2) { ran = 7; } if (v2.kindd2 == 4) { ran = 8; } if (v2.kindd2 == 5) { ran = 9; _root.mmm16 = 43; _root.medalz.gotoAndPlay('medalcheck'); } if (v2.kindd2 == 8) { ran = 10; } if (v2.kindd2 == 9) { ran = 15; } if (v2.kindd2 == 10) { ran = 16; } if (v2.kindd2 == 11) { ran = 17; } if (v2.kindd2 == 13) { ran = 19; } if (v2.kindd2 == 14) { ran = 20; } if (v2.kindd2 == 15) { ran = 21; } ee = _root.thegame.bgbg.attachMovie('effect' + ran, 'cloccudaa' + effcv, effcv + 100); ++effcv; ee._x = v2._x; ee._y = v2._y; if (v2.kindd2 !== 9) { explosions.push(ee); } } } if (v2.kindd2 == 6) { v2.gotoAndStop(2); } if (v2.kindd2 == 12) { v2.plane.gotoAndPlay(5); v2.hitarea._x += 10000; v2.stop(); } if (v2.kindd !== 9 && v2.kindd2 !== 16 && v2.kindd2 !== 6 && v2.kindd2 !== 12) { v2.unloadMovie(); v2.removeMovieClip(); enemies.splice(v3, 1); --v3; } } if (v2._x < -600 or v2._x > 1400 or v2._y < -200) { if (v2.kindd2 !== 6 && v2.kindd2 !== 13 && v2.kindd2 !== 14 && v2.kindd2 !== 15) { if (v2.kindd2 == 16) { _root.thegame._x = 0; _root.thegame._y = 0; } v2.unloadMovie(); v2.removeMovieClip(); enemies.splice(v3, 1); --v3; } } if (v2.kindd2 == 6 or v2.kindd2 == 13 or v2.kindd2 == 14 or v2.kindd2 == 15) { if (v2._x < -1500) { if (v2.kindd2 == 15) { dragonhere = false; } v2.unloadMovie(); v2.removeMovieClip(); enemies.splice(v3, 1); --v3; } } ++v3; } } function moveexplosions() { var v3 = 0; while (v3 < explosions.length) { var v2 = explosions[v3]; v2._x -= speed; if (yourguy._y >= 300 && bgbg._y > -1000) { v2._y -= xvel2; } if (yourguy._y <= 195 && bgbg._y < _root.maxheight) { v2._y += xvel; } if (v2._x < -300) { v2.unloadMovie(); v2.removeMovieClip(); explosions.splice(v3, 1); --v3; } ++v3; } } function movebursts() { var v2 = 0; while (v2 < bursts.length) { var v1 = bursts[v2]; v1._x = yourguy._x; v1._y = yourguy._y; v1.timer -= 1; if (e.timer < 0) { v1.unloadMovie(); v1.removeMovieClip(); bursts.splice(v2, 1); --v2; } ++v2; } } stop(); stopAllSounds(); _root.loopstarted2 = false; _root.loopstarted3 = false; _root.loopstarted1 = false; var fueldroprate = 0.2; var dragonpiece = 0; var dragonspawn2 = false; var dragonheight = 0; var dragonstart = true; var dragonspawn = false; var dragonhere = false; var dragonlenght = 0; var chocy = 1300; var randem = 0; var bursted = false; var burstedtimer = 30; var screamstarted = false; var basespeed = 4; var speed = 10; var speedtimer = 0; var gamepaused = false; var pdwown = false; var flamesalarm = false; var lowfuelalarm = false; var nofuelalarm = false; _root.choctext = int(_root.chocolate * 100) / 100; var rand = 0; var madebig = false; var originalheight = 81; var originalwidth = 153; var biggertimer = 0; var shrinktimer = 0; var bigger = false; var shrunk = false; var touchtimer = 0; var tanker = 0; var indestructiblecount = 0; var killercount = 0; var ex = 0; var ey = 0; var eheight = 0; var ewidth = 0; hud.swapDepths(3000240); speedingup.swapDepths(3000242); instructionscreen.swapDepths(3000243); combometer.swapDepths(3000400); pauseb.swapDepths(4500200); pausescreen.swapDepths(4500245); yourguy.swapDepths(3000230); fader1.swapDepths(4500246); fader2.swapDepths(4500247); var combolevel = 0; var combolevel2 = 0; var combotimer = 0; var combostarted = false; var themessage = 'bloobloobloo'; var bubbletimer = 0; var boosted = false; var boostspeed = 30; var luckycount = 0; var mget3 = false; var mget2 = false; var mget5 = false; var mget9 = false; var mget10 = false; var mget15 = false; var gamestarted = false; gamestarted = false; var currentarmor = _root.armorlevel; if (currentarmor > 0) { hud.armor._alpha = 100; hud.armor.gotoAndStop(currentarmor + 1); hud.armor.maxarmor.gotoAndStop(currentarmor + 1); } var shieldsound = false; var totalshield = 0; var spacekey = 32; var shielded = false; var shieldactive = false; if (_root.shieldlevel > 0) { totalshield = 65; hud.shield._alpha = 100; shieldactive = true; } var effcv = 0; var defaultmaneuver = 5; _root.maneuver = 5; _root.distancee = 0; _root.distanceee = 0; var keyup = 87; var keydown = 83; var keyright = 68; var keyleft = 65; var friction = 0.8; var xvel = 0; var xvel2 = 0; var yvel = 0; var yvel2 = 0; var absxvel = 0; var absxvel2 = 0; var absyvel = 0; var absyvel2 = 0; var ran = 0; var updown = false; var downdown = false; var totalfuel = 100; var controllock = false; if (_root.savefile.data.instructions > 0) { _root.thegame.getready1.gotoAndPlay(2); _root.thegame.getready1._alpha = 100; instructionscreen._alpha = 0; instructionscreen._x += 1000; } else { instructionscreen._alpha = 100; _root.savefile.data.instructions = 1; } if (_root.gender == 1) { yourguy.guybunny._alpha = 0; _root.mmm11 = 43; _root.medalz.gotoAndPlay('medalcheck'); } else { yourguy.girlbunny._alpha = 0; } enemies = new Array(); explosions = new Array(); bursts = new Array(); this.onEnterFrame = function () { if (_root.cheater) { cheet._x = 256; cheet._y = 48; } if (!_root.cheater) { cheet._x += 4478; } if (_root.biggercheat && !madebig) { madebig = true; bigger = true; yourguy._width *= 6; yourguy._height *= 6; } if (Key.isDown(80) && !gamepaused && gamestarted && !pdown) { if (!_root.soundoff) { _root.playEffect(_root.a2pause); } gamepaused = true; stopAllSounds(); _root.loopstarted1 = false; _root.loopstarted2 = false; _root.loopstarted3 = false; _root.thegame.pausescreen._x -= 1000; pdown = true; gamestarted = false; } if (Key.isDown(80) && gamepaused && !pdown) { _root.thegame.pausescreen._x += 1000; gamepaused = false; pdown = true; gamestarted = true; _root.savemydata(); } if (!Key.isDown(80)) { pdown = false; } if (!gamepaused) { moveenemies(); moveexplosions(); movebursts(); } if (!_root.soundoff) { if (!_root.loopstarted3 && !gamepaused) { _root.loop3 = new Sound(_root.bgloop); _root.loop3.attachSound('maingame.wav'); _root.loop3.start(0, 999); _root.loop3.setVolume(_root.bgvolume); _root.loopstarted3 = true; } } if (_root.soundoff) { stopAllSounds(); _root.loopstarted1 = false; _root.loopstarted2 = false; _root.loopstarted3 = false; } if (gamestarted) { combotimer += 1; if (combotimer > 34) { combostarted = false; combolevel = 0; combotimer = 0; } if (combolevel > 3) { if (!combostarted) { combometer.gotoAndPlay(2); } combostarted = true; combolevel2 = combolevel; if (combolevel > 3 && combotimer > 33) { combolevel2 = combolevel; if (!_root.soundoff) { _root.playEffect(_root.a2combo); } if (combolevel > 3 && combolevel <= 7) { totalfuel = 100; themessage = 'FULL FUEL!'; } if (combolevel > 7 && combolevel <= 10) { _root.chocolate += 15; themessage = '+25 Chocolate!!!'; } if (combolevel >= 10 && combolevel <= 20) { totalfuel = 100; currentarmor = _root.armorlevel; themessage = 'Full Fuel and Armor!'; } if (combolevel >= 20 && combolevel <= 40) { _root.chocolate += 100; themessage = '+100 Chocolate!!!'; } if (combolevel >= 50) { _root.chocolate += 200; totalfuel = 100; currentarmor = _root.armorlevel; basespeed = 4; themessage = 'Full Fuel, HP, Min Speed, +200 Chocolate!'; } combometer.gotoAndPlay(9); wer = _root.thegame.attachMovie('kombos', 'cloccudaa' + effcv, effcv + 100000); ++effcv; wer._x = 5; wer._y = 142; combolevel = 0; } } touchtimer += 1; if (touchtimer > 299) { _root.mmm4 = 43; _root.medalz.gotoAndPlay('medalcheck'); } _root.distanceee += speed / 1000; _root.distancee = int(_root.distanceee * 100) / 100; _root.choctext = int(_root.chocolate * 100) / 100; if (currentarmor > 10) { hud.armor.gotoAndStop(11); currentarmor = 10; } hud.armor.gotoAndStop(currentarmor + 1); if (currentarmor < 0) { currentarmor = -1; hud.armor.gotoAndStop(1); ran = random(2) + 5; eee = _root.thegame.attachMovie('effect' + ran, 'cloccudaa' + effcv, effcv + 100); ++effcv; eee._x = yourguy._x - 70 + random(136); eee._y = yourguy._y + random(30); } if (shrunk) { shrinktimer += 1; if (shrinktimer > 150) { yourguy._height *= 6; yourguy._width *= 6; shrunk = false; if (!_root.soundoff) { _root.playEffect(_root.backtonormal); } shrinktimer = 0; } } if (bigger && !_root.biggercheat) { biggertimer += 1; if (biggertimer > 150) { yourguy._height /= 6; yourguy._width /= 6; bigger = false; if (!_root.soundoff) { _root.playEffect(_root.backtonormal); } biggertimer = 0; } } if (bursted) { burstedtimer -= 1; if (burstedtimer < 0) { burstedimer = 30; bursted = false; } } absxvel = Math.abs(xvel); absxvel2 = Math.abs(xvel2); if (absxvel < 0.5) { xvel = 0; } if (absxvel2 < 0.5) { xvel2 = 0; } absyvel = Math.abs(yvel); absyvel2 = Math.abs(yvel2); if (absyvel < 0.5) { yvel = 0; } if (absyvel2 < 0.5) { yvel2 = 0; } yourguy._y -= xvel; yourguy._x += yvel; yourguy._x -= yvel2; yourguy._y += xvel2; xvel *= friction; xvel2 *= friction; yvel *= friction; yvel2 *= friction; if (Key.isDown(keyright) or Key.isDown(39)) { yvel += 5; } if (Key.isDown(keyleft) or Key.isDown(37)) { yvel2 += 5; } if (totalfuel > 0 && currentarmor > -1) { if (!Key.isDown(keyup) and !Key.isDown(38)) { updown = false; } if (!Key.isDown(keydown) && !Key.isDown(40)) { downdown = false; } if (Key.isDown(keyup) or Key.isDown(38)) { xvel += _root.maneuver; } if (Key.isDown(keydown) or Key.isDown(40)) { xvel2 += _root.maneuver; } } if (boosted) { xvel += boostspeed / 3; boostspeed -= 1; if (boostspeed < 1) { boostspeed = 30; boosted = false; } } if (yourguy._y < 10 && bgbg._y == _root.maxheight) { yourguy._y = 10; } if (yourguy._y <= 195 && bgbg._y < _root.maxheight) { bgbg._y += xvel; yourguy._y = 195; } if (yourguy._y > 499 && bgbg._y == -1000 && totalfuel > 0 && currentarmor > -1) { yourguy._y = 499; } if (yourguy._y >= 300 && bgbg._y > -1000) { bgbg._y -= xvel2; yourguy._y = 300; } if (bgbg._y < -1000) { bgbg._y = -1000; } if (yourguy._y > 500 && totalfuel > 0 && currentarmor > -1) { yourguy._y = 500; } if (yourguy._y > 500 && totalfuel <= 0 && bgbg._y > -1000) { yourguy._y = 500; } if (yourguy._y > 500 && bgbg._y > -1000 && currentarmor < 0) { yourguy._y = 500; } if (totalfuel <= 0 && yourguy._y == 500) { bgbg._y -= xvel2; } if (yourguy._y == 500 && currentarmor < 0) { bgbg._y -= xvel2; } if (yourguy._x > 550) { yourguy._x = 550; } if (yourguy._x < 0) { yourguy._x = 0; } if (bgbg._y < -1000) { bgbg._y = -1000; } if (bgbg._y > _root.maxheight) { bgbg._y = _root.maxheight; } if (bgbg._y == 0) { if (!mget5) { mget5 = true; _root.mmm5 = 43; _root.medalz.gotoAndPlay('medalcheck'); } } if (_root.distancee >= 50) { if (!mget9) { mget9 = true; _root.mmm9 = 43; _root.medalz.gotoAndPlay('medalcheck'); } } if (_root.distancee >= 100) { if (!mget10) { mget10 = true; _root.mmm10 = 43; _root.medalz.gotoAndPlay('medalcheck'); } } _root.totaltime += 1; if (_root.totaltime >= 540000) { if (!mget15) { mget15 = true; _root.mmm15 = 43; _root.medalz.gotoAndPlay('medalcheck'); } } if (totalfuel < 1 && !nofuelalarm) { nofuels.gotoAndPlay(2); nofuelalarm = true; } if (totalfuel > 1) { nofuels.gotoAndStop(1); nofuelalarm = false; } if (totalfuel <= 20 && !lowfuelalarm && totalfuel >= 1) { lowfuels.gotoAndPlay(2); lowfuelalarm = true; } if (totalfuel > 20 or totalfuel < 1) { lowfuels.gotoAndStop(1); lowfuelalarm = false; } if (currentarmor < 0 && !flamesalarm) { flamess.gotoAndPlay(2); flamesalarm = true; } if (currentarmor >= 0) { flamess.gotoAndStop(1); flamesalarm = false; } if (totalfuel > 0 && currentarmor > -1) { _root.maneuver = defaultmaneuver; totalfuel -= fueldroprate / (_root.fueltanks + 1); if (yourguy.flames._alpha > 100) { yourguy.flames._alpha += 5; } _root.thegame.hud.fuel.gauge._x = -100 + totalfuel; } if (totalfuel <= 0 or currentarmor < 0) { if (totalfuel <= 0) { luckycount += 1; if (luckycount > 299) { if (!mget3) { mget3 = true; _root.mmm3 = 43; _root.medalz.gotoAndPlay('medalcheck'); } } } if (bgbg._y > -1000) { _root.maneuver = 0; if (yourguy.flames._alpha > 0) { yourguy.flames._alpha -= 1; } xvel2 += 3; } if (bgbg._y == -1000) { if (yourguy.flames._alpha > 0) { yourguy.flames._alpha -= 1; } xvel2 += 3; if (yourguy._y > 550 && !screamstarted) { screamstarted = true; if (_root.gender == 1) { if (!_root.soundoff) { _root.playEffect(_root.a2girlscream); } } else { if (!_root.soundoff) { _root.playEffect(_root.a2guyscream); } } } if (yourguy._y > 865) { if (!_root.soundoff) { _root.playEffect(_root.crash); } gamestarted = false; lowfuels.gotoAndStop(1); nofuels.gotoAndStop(1); flamess.gotoAndStop(1); crash.gotoAndPlay(2); } } } bubbletimer += 1; ran = random(2000) + _root.chocospawn; randem = ran + _root.distancee; if (randem > 2000) { randem = 2000; } if (_root.powers) { ran -= 150; } if (ran > 1800) { ran = random(5) + 1; ee = _root.thegame.bgbg.attachMovie('item' + ran, 'cloccudaa' + effcv, effcv + 100); ++effcv; ee._x = 900; ee.speedd = 0; ee.kindd = ran; chocy += 100 - random(200); if (chocy < 50 + Math.abs(_root.maxheight)) { chocy = 50 + Math.abs(_root.maxheight); } if (chocy > 1400) { chocy = 1400; } ee._y = chocy; if (!_root.choklit) { ee._yscale *= 400 / ee._y; ee._xscale *= 400 / ee._y; } if (_root.choklit) { ee._yscale *= 5; ee._xscale *= 5; } ee.chocovalue = 400 / ee._y; enemies.push(ee); } rand = random(2000); randdy = 0; randem = rand + _root.distancee * 5; if (randem > 1999) { randem = 1999; } if (rand > 1600) { rand = random(10000); if (rand < 100) { randdy = 6; } if (rand > 500 && rand < 900) { randdy = 7; } if (rand > 1000 && rand < 1040) { randdy = 8; } if (rand > 1500 && rand < 1540) { randdy = 9; } if (rand > 2500 && rand < 2540) { randdy = 10; } if (rand > 3500 && rand < 3540) { randdy = 11; } if (rand > 4500 && rand < 4520 + _root.bigdroprate) { randdy = 12; } if (rand > 4600 && rand < 4950) { randdy = 13; } if (rand > 5000 && rand < 6200 + _root.pocketrate * 2 && bubbletimer > 40) { randdy = 14; bubbletimer = 0; } if (rand > 6600 && rand < 6650 + _root.pararate) { randdy = 15; } if (randdy == 7) { if (_root.armorlevel < 1 or currentarmor >= _root.armorlevel - 1) { randdy = 6; } } if (randdy > 0) { ee = _root.thegame.bgbg.attachMovie('item' + randdy, 'cloccudaa' + effcv, effcv + 100); ++effcv; ee._x = 900; ee.speedd = 0; ee.kindd = randdy; ran = random(1500) + 100; ee._y = 1600 - ran; if (randdy == 14) { ee._y = 1500; } enemies.push(ee); } } rand = random(2000); randem = rand + _root.distancee * 2; if (randem > 1999) { randem = 1999; } randy = 0; if (rand > 1000) { rand = random(10000); if (rand < 100) { randy = 1; } if (rand > 500 && rand < 800) { randy = 2; } if (rand > 1000 && rand < 1040 && _root.distancee > 10) { randy = 3; } if (rand > 1050 && rand < 1070 && _root.distancee > 10) { randy = 4; } if (rand > 1100 && rand < 1108 && _root.distancee > 50) { randy = 5; } if (rand > 1110 && rand < 1200 && _root.distancee > 30) { randy = 6; } if (rand > 1200 && rand < 1240 && _root.distancee > 20) { randy = 7; } if (rand > 1280 && rand < 1480 && _root.distancee > 0) { randy = 8; } if (rand > 1500 && rand < 1560 && _root.distancee > 0) { randy = 9; } if (rand > 1600 && rand < 1790 && _root.distancee > 0) { randy = 10; } if (rand > 1800 && rand < 1900 && _root.distancee > 0) { randy = 11; } if (rand > 1910 && rand < 2000 && _root.distancee > 0) { randy = 12; } if (rand > 2001 && rand < 2050 && _root.distancee > 0) { randy = 16; } if (rand > 2100 && rand < 2250 && _root.distancee > 0 && !dragonspawn && !dragonhere) { randy = 15; dragonlenght = random(20) + 10; dragonspawn = true; dragonhere = true; dragonstart = false; dragonpiece += 1; dragonheight = 1600 - random(1500) + 100; } if (dragonspawn2 && dragonpiece <= dragonlenght) { randy = 14; } if (dragonpiece > dragonlenght) { randy = 13; dragonstart = true; dragonspawn = false; dragonspawn2 = false; } if (randy > 0 && !_root.empty) { ee = _root.thegame.bgbg.attachMovie('enemy' + randy, 'cloccudaa' + effcv, effcv + 100); ++effcv; ee._x = 900; if (randy == 9) { ee._x = 400; } if (randy == 1) { ee.speedd = 0; heightt = 0; ee.damagee = 1; } if (randy == 2) { ee.speedd = 5; heightt = 0; ee.damagee = 1; } if (randy == 3) { ee.speedd = 9; heightt = 400; ee.damagee = 5; } if (randy == 4) { ee.speedd = -5; heightt = 0; ee.damagee = 1; } if (randy == 5) { ee.speedd = -20; heightt = 1000; ee._x = -100; } if (randy == 6) { ee.speedd = 7; heightt = 500; ee.damagee = 3; } if (randy == 7) { ee.speedd = 0; heightt = 0; ee.damagee = 6; } if (randy == 8) { ee.speedd = 6; heightt = 0; ee.damagee = 1; } if (randy == 9) { ee.speedd = -10; heightt = 0; ee.damagee = 1; } if (randy == 10) { ee.speedd = 6; heightt = 0; ee.damagee = 1; } if (randy == 11) { ee.speedd = 2; heightt = 0; ee.damagee = 1; } if (randy == 12) { ee.speedd = 0; heightt = 0; ee.damagee = 3; } if (randy == 16) { ee.speedd = 1; heightt = 0; ee.damagee = 1; } ee.kindd2 = randy; ee.dir = 0; ran = random(1500) + 100; ee._y = 1600 - ran - heightt; if (randy == 15) { ee.speedd = 2; heightt = 0; ee.damagee = 3; ee._y = dragonheight + 20; ee._x = 2500; dragonspawn2 = true; } if (randy == 14) { ee.speedd = 2; heightt = 0; ee.damagee = 1; ee._y = dragonheight; ee._x = 2500 - dragonpiece * 60; dragonpiece += 1; } if (randy == 13) { ee.speedd = 2; heightt = 0; ee.damagee = 2; ee._y = dragonheight + 20; ee._x = 2500 - dragonpiece * 60; dragonpiece = 0; } if (randy == 7) { ee._y = -100; } if (randy == 9) { ee._y = 1700; } if (randy == 16) { ee._y = 1300; } enemies.push(ee); } } if (hud.shield.bar.bar2._x < 0) { hud.shield.bar.bar2.gotoAndStop(2); } else { hud.shield.bar.bar2.gotoAndStop(1); } if (_root.shieldlevel > 0) { if (totalshield < 65) { totalshield += 0.5; hud.shield.bar.bar2._x += 0.5; } if (totalshield >= 65) { totalshield = 65; shieldactive = true; spacekey = 32; hud.shield.bar.bar2._x = 0; } if (!Key.isDown(spacekey) && totalshield < 65) { shieldactive = false; shieldsound = false; spacekey = 1231; yourguy.shield.gotoAndStop(1); shielded = false; } if (Key.isDown(spacekey) && shieldactive) { shielded = true; if (!shieldsound) { if (!_root.soundoff) { _root.playEffect(_root.shield); shieldsound = true; } } yourguy.shield.gotoAndStop(2); totalshield -= 5 * (1 / _root.shieldlevel) + 1; hud.shield.bar.bar2._x -= 5 * (1 / _root.shieldlevel) + 1; if (totalshield < 0) { totalshield = 0; spacekey = 22; hud.shield.bar.bar2._x = -65; yourguy.shield.gotoAndStop(1); shielded = false; shieldactive = false; } } } speedtimer += _root.speeduprate; if (speedtimer > 6000) { basespeed += 2; speedtimer = 0; speedingup.gotoAndPlay(2); } if (effcv > 100000) { effcv = 0; } } if (!gamepaused) { if (speed < basespeed) { speed = basespeed; } if (speed > basespeed) { speed -= 0.5; } bgbg.cloud1.cloud11._x -= speed * 3; if (bgbg.cloud1.cloud11._x < -809) { bgbg.cloud1.cloud11._x = 0; } bgbg.cloud2.cloud22._x -= speed * 2; if (bgbg.cloud2.cloud22._x < -730) { bgbg.cloud2.cloud22._x = 0; } bgbg.cloud3.cloud22._x -= speed * 1; if (bgbg.cloud3.cloud22._x < -730) { bgbg.cloud3.cloud22._x = 0; } bgbg.cloud4.cloud22._x -= speed * 0.3; if (bgbg.cloud4.cloud22._x < -730) { bgbg.cloud4.cloud22._x = 0; } bgbg.mountain1.mountain2._x -= speed * 2; if (bgbg.mountain1.mountain2._x < -637) { bgbg.mountain1.mountain2._x = 0; } bgbg.mountain2.mountain2._x -= speed * 1; if (bgbg.mountain2.mountain2._x < -636.3) { bgbg.mountain2.mountain2._x = 0; } bgbg.mountain3.mountain33._x -= speed * 0.5; if (bgbg.mountain3.mountain33._x < -636.3) { bgbg.mountain3.mountain33._x = 0; } } }; } } frame 48 { stop(); } button 951 { on (rollOver) { if (!_root.soundoff) { _root.playEffect(_root.smallselect); } } on (release) { if (!_root.soundoff) { _root.playEffect(_root.bigselect); } _root.gotoAndStop('game'); } } movieClip 954 { } movieClip 957 { } button 959 { on (rollOver) { if (!_root.soundoff) { _root.playEffect(_root.smallselect); } } on (release) { if (!_root.soundoff) { _root.playEffect(_root.bigselect); } _root.gotoAndStop('sendgift'); } } movieClip 962 { } movieClip 965 { } button 966 { on (rollOver) { if (!_root.soundoff) { _root.playEffect(_root.smallselect); } } on (release) { if (!_root.soundoff) { _root.playEffect(_root.bigselect); } yousure._x = 32.7; yousure._y = 37.85; yousure._alpha = 100; } } button 971 { on (rollOver) { if (_root.fueltanks == 1) { _parent.itemname = 'You Already Have This!'; _parent.itemcost = '---'; } else { _parent.itemname = 'Increase Fuel Efficiency'; _parent.itemcost = _root.fuelprice1; } } on (release) { if (_root.fueltanks == 0 && _root.chocolate >= _root.fuelprice1) { if (!_root.soundoff) { _root.playEffect(_root.register); } _root.chocolate -= _root.fuelprice1; _root.fueltanks += 1; _root.savedata(); _parent.checkbuttons(); } } } button 974 { on (rollOver) { if (_root.fueltanks == 2) { _parent.itemname = 'You Already Have This!'; _parent.itemcost = '---'; } else { _parent.itemname = 'Increase Fuel Efficiency'; _parent.itemcost = _root.fuelprice2; } } on (release) { if (_root.fueltanks == 1 && _root.chocolate >= _root.fuelprice2) { if (!_root.soundoff) { _root.playEffect(_root.register); } _root.chocolate -= _root.fuelprice2; _root.fueltanks += 1; _root.savedata(); _parent.checkbuttons(); } } } button 977 { on (rollOver) { if (_root.fueltanks == 3) { _parent.itemname = 'You Already Have This!'; _parent.itemcost = '---'; } else { _parent.itemname = 'Increase Fuel Efficiency'; _parent.itemcost = _root.fuelprice3; } } on (release) { if (_root.fueltanks == 2 && _root.chocolate >= _root.fuelprice3) { if (!_root.soundoff) { _root.playEffect(_root.register); } _root.chocolate -= _root.fuelprice3; _root.fueltanks += 1; _root.savedata(); _parent.checkbuttons(); } } } button 980 { on (rollOver) { if (_root.fueltanks == 4) { _parent.itemname = 'You Already Have This!'; _parent.itemcost = '---'; } else { _parent.itemname = 'Increase Fuel Efficiency'; _parent.itemcost = _root.fuelprice4; } } on (release) { if (_root.fueltanks == 3 && _root.chocolate >= _root.fuelprice4) { if (!_root.soundoff) { _root.playEffect(_root.register); } _root.chocolate -= _root.fuelprice4; _root.fueltanks += 1; _root.savedata(); _parent.checkbuttons(); } } } button 983 { on (rollOver) { if (_root.fueltanks == 5) { _parent.itemname = 'You Already Have This!'; _parent.itemcost = '---'; } else { _parent.itemname = 'Increase Fuel Efficiency'; _parent.itemcost = _root.fuelprice5; } } on (release) { if (_root.fueltanks == 4 && _root.chocolate >= _root.fuelprice5) { if (!_root.soundoff) { _root.playEffect(_root.register); } _root.chocolate -= _root.fuelprice5; _root.fueltanks += 1; _root.savedata(); _parent.checkbuttons(); } } } button 986 { on (rollOver) { if (_root.fueltanks == 6) { _parent.itemname = 'You Already Have This!'; _parent.itemcost = '---'; } else { _parent.itemname = 'Increase Fuel Efficiency'; _parent.itemcost = _root.fuelprice6; } } on (release) { if (_root.fueltanks == 5 && _root.chocolate >= _root.fuelprice6) { if (!_root.soundoff) { _root.playEffect(_root.register); } _root.chocolate -= _root.fuelprice6; _root.fueltanks += 1; _root.savedata(); _parent.checkbuttons(); } } } button 989 { on (rollOver) { if (_root.fueltanks == 7) { _parent.itemname = 'You Already Have This!'; _parent.itemcost = '---'; } else { _parent.itemname = 'Increase Fuel Efficiency'; _parent.itemcost = _root.fuelprice7; } } on (release) { if (_root.fueltanks == 6 && _root.chocolate >= _root.fuelprice7) { if (!_root.soundoff) { _root.playEffect(_root.register); } _root.chocolate -= _root.fuelprice7; _root.fueltanks += 1; _root.savedata(); _parent.checkbuttons(); } } } button 992 { on (rollOver) { if (_root.fueltanks == 8) { _parent.itemname = 'You Already Have This!'; _parent.itemcost = '---'; } else { _parent.itemname = 'Increase Fuel Efficiency'; _parent.itemcost = _root.fuelprice8; } } on (release) { if (_root.fueltanks == 7 && _root.chocolate >= _root.fuelprice8) { if (!_root.soundoff) { _root.playEffect(_root.register); } _root.chocolate -= _root.fuelprice8; _root.fueltanks += 1; _root.savedata(); _parent.checkbuttons(); } } } button 995 { on (rollOver) { if (_root.fueltanks == 9) { _parent.itemname = 'You Already Have This!'; _parent.itemcost = '---'; } else { _parent.itemname = 'Increase Fuel Efficiency'; _parent.itemcost = _root.fuelprice9; } } on (release) { if (_root.fueltanks == 8 && _root.chocolate >= _root.fuelprice9) { if (!_root.soundoff) { _root.playEffect(_root.register); } _root.chocolate -= _root.fuelprice9; _root.fueltanks += 1; _root.savedata(); _parent.checkbuttons(); } } } button 998 { on (rollOver) { if (_root.fueltanks == 10) { _parent.itemname = 'You Already Have This!'; _parent.itemcost = '---'; } else { _parent.itemname = 'Increase Fuel Efficiency'; _parent.itemcost = _root.fuelprice10; } } on (release) { if (_root.fueltanks == 9 && _root.chocolate >= _root.fuelprice10) { if (!_root.soundoff) { _root.playEffect(_root.register); } _root.chocolate -= _root.fuelprice10; _root.fueltanks += 1; _root.savedata(); _parent.checkbuttons(); } } } button 1001 { on (rollOver) { if (_root.shieldlevel == 1) { _parent.itemname = 'You Already Have This!'; _parent.itemcost = '---'; } else { _parent.itemname = 'Get a Shield! ( Use with SPACE)'; _parent.itemcost = _root.shieldprice1; } } on (release) { if (_root.shieldlevel == 0 && _root.chocolate >= _root.shieldprice1) { if (!_root.soundoff) { _root.playEffect(_root.register); } _root.chocolate -= _root.shieldprice1; _root.shieldlevel += 1; _root.savedata(); _parent.checkbuttons(); } } } button 1004 { on (rollOver) { if (_root.shieldlevel == 2) { _parent.itemname = 'You Already Have This!'; _parent.itemcost = '---'; } else { _parent.itemname = 'Increase Shield Time'; _parent.itemcost = _root.shieldprice2; } } on (release) { if (_root.shieldlevel == 1 && _root.chocolate >= _root.shieldprice2) { if (!_root.soundoff) { _root.playEffect(_root.register); } _root.chocolate -= _root.shieldprice2; _root.shieldlevel += 1; _root.savedata(); _parent.checkbuttons(); } } } button 1007 { on (rollOver) { if (_root.shieldlevel == 3) { _parent.itemname = 'You Already Have This!'; _parent.itemcost = '---'; } else { _parent.itemname = 'Increase Shield Time'; _parent.itemcost = _root.shieldprice3; } } on (release) { if (_root.shieldlevel == 2 && _root.chocolate >= _root.shieldprice3) { if (!_root.soundoff) { _root.playEffect(_root.register); } _root.chocolate -= _root.shieldprice3; _root.shieldlevel += 1; _root.savedata(); _parent.checkbuttons(); } } } button 1010 { on (rollOver) { if (_root.shieldlevel == 4) { _parent.itemname = 'You Already Have This!'; _parent.itemcost = '---'; } else { _parent.itemname = 'Increase Shield Time'; _parent.itemcost = _root.shieldprice4; } } on (release) { if (_root.shieldlevel == 3 && _root.chocolate >= _root.shieldprice4) { if (!_root.soundoff) { _root.playEffect(_root.register); } _root.chocolate -= _root.shieldprice4; _root.shieldlevel += 1; _root.savedata(); _parent.checkbuttons(); } } } button 1013 { on (rollOver) { if (_root.shieldlevel == 5) { _parent.itemname = 'You Already Have This!'; _parent.itemcost = '---'; } else { _parent.itemname = 'Increase Shield Time'; _parent.itemcost = _root.shieldprice5; } } on (release) { if (_root.shieldlevel == 4 && _root.chocolate >= _root.shieldprice5) { if (!_root.soundoff) { _root.playEffect(_root.register); } _root.chocolate -= _root.shieldprice5; _root.shieldlevel += 1; _root.savedata(); _parent.checkbuttons(); } } } button 1016 { on (rollOver) { if (_root.shieldlevel == 6) { _parent.itemname = 'You Already Have This!'; _parent.itemcost = '---'; } else { _parent.itemname = 'Increase Shield Time'; _parent.itemcost = _root.shieldprice6; } } on (release) { if (_root.shieldlevel == 5 && _root.chocolate >= _root.shieldprice6) { if (!_root.soundoff) { _root.playEffect(_root.register); } _root.chocolate -= _root.shieldprice6; _root.shieldlevel += 1; _root.savedata(); _parent.checkbuttons(); } } } button 1019 { on (rollOver) { if (_root.shieldlevel == 7) { _parent.itemname = 'You Already Have This!'; _parent.itemcost = '---'; } else { _parent.itemname = 'Increase Shield Time'; _parent.itemcost = _root.shieldprice7; } } on (release) { if (_root.shieldlevel == 6 && _root.chocolate >= _root.shieldprice7) { if (!_root.soundoff) { _root.playEffect(_root.register); } _root.chocolate -= _root.shieldprice7; _root.shieldlevel += 1; _root.savedata(); _parent.checkbuttons(); } } } button 1022 { on (rollOver) { if (_root.shieldlevel == 8) { _parent.itemname = 'You Already Have This!'; _parent.itemcost = '---'; } else { _parent.itemname = 'Increase Shield Time'; _parent.itemcost = _root.shieldprice8; } } on (release) { if (_root.shieldlevel == 7 && _root.chocolate >= _root.shieldprice8) { if (!_root.soundoff) { _root.playEffect(_root.register); } _root.chocolate -= _root.shieldprice8; _root.shieldlevel += 1; _root.savedata(); _parent.checkbuttons(); } } } button 1025 { on (rollOver) { if (_root.shieldlevel == 9) { _parent.itemname = 'You Already Have This!'; _parent.itemcost = '---'; } else { _parent.itemname = 'Increase Shield Time'; _parent.itemcost = _root.shieldprice9; } } on (release) { if (_root.shieldlevel == 8 && _root.chocolate >= _root.shieldprice9) { if (!_root.soundoff) { _root.playEffect(_root.register); } _root.chocolate -= _root.shieldprice9; _root.shieldlevel += 1; _root.savedata(); _parent.checkbuttons(); } } } button 1028 { on (rollOver) { if (_root.shieldlevel == 10) { _parent.itemname = 'You Already Have This!'; _parent.itemcost = '---'; } else { _parent.itemname = 'Increase Shield Time'; _parent.itemcost = _root.shieldprice10; } } on (release) { if (_root.shieldlevel == 9 && _root.chocolate >= _root.shieldprice10) { if (!_root.soundoff) { _root.playEffect(_root.register); } _root.chocolate -= _root.shieldprice10; _root.shieldlevel += 1; _root.savedata(); _parent.checkbuttons(); } } } button 1031 { on (rollOver) { if (_root.maxheight == -900) { _parent.itemname = 'You Already Have This!'; _parent.itemcost = '---'; } else { _parent.itemname = 'Raise maximal altitude.'; _parent.itemcost = _root.heightprice1; } } on (release) { if (_root.maxheight == -1000 && _root.chocolate >= _root.heightprice1) { if (!_root.soundoff) { _root.playEffect(_root.register); } _root.chocolate -= _root.heightprice1; _root.maxheight += 100; _root.savedata(); _parent.checkbuttons(); } } } button 1034 { on (rollOver) { if (_root.maxheight == -800) { _parent.itemname = 'You Already Have This!'; _parent.itemcost = '---'; } else { _parent.itemname = 'Raise maximal altitude.'; _parent.itemcost = _root.heightprice2; } } on (release) { if (_root.maxheight == -900 && _root.chocolate >= _root.heightprice2) { if (!_root.soundoff) { _root.playEffect(_root.register); } _root.chocolate -= _root.heightprice2; _root.maxheight += 100; _root.savedata(); _parent.checkbuttons(); } } } button 1037 { on (rollOver) { if (_root.maxheight == -700) { _parent.itemname = 'You Already Have This!'; _parent.itemcost = '---'; } else { _parent.itemname = 'Raise maximal altitude.'; _parent.itemcost = _root.heightprice3; } } on (release) { if (_root.maxheight == -800 && _root.chocolate >= _root.heightprice3) { if (!_root.soundoff) { _root.playEffect(_root.register); } _root.chocolate -= _root.heightprice3; _root.maxheight += 100; _root.savedata(); _parent.checkbuttons(); } } } button 1040 { on (rollOver) { if (_root.maxheight == -600) { _parent.itemname = 'You Already Have This!'; _parent.itemcost = '---'; } else { _parent.itemname = 'Raise maximal altitude.'; _parent.itemcost = _root.heightprice4; } } on (release) { if (_root.maxheight == -700 && _root.chocolate >= _root.heightprice4) { if (!_root.soundoff) { _root.playEffect(_root.register); } _root.chocolate -= _root.heightprice4; _root.maxheight += 100; _root.savedata(); _parent.checkbuttons(); } } } button 1043 { on (rollOver) { if (_root.maxheight == -500) { _parent.itemname = 'You Already Have This!'; _parent.itemcost = '---'; } else { _parent.itemname = 'Raise maximal altitude.'; _parent.itemcost = _root.heightprice5; } } on (release) { if (_root.maxheight == -600 && _root.chocolate >= _root.heightprice5) { if (!_root.soundoff) { _root.playEffect(_root.register); } _root.chocolate -= _root.heightprice5; _root.maxheight += 100; _root.savedata(); _parent.checkbuttons(); } } } button 1046 { on (rollOver) { if (_root.maxheight == -400) { _parent.itemname = 'You Already Have This!'; _parent.itemcost = '---'; } else { _parent.itemname = 'Raise maximal altitude.'; _parent.itemcost = _root.heightprice6; } } on (release) { if (_root.maxheight == -500 && _root.chocolate >= _root.heightprice6) { if (!_root.soundoff) { _root.playEffect(_root.register); } _root.chocolate -= _root.heightprice6; _root.maxheight += 100; _root.savedata(); _parent.checkbuttons(); } } } button 1049 { on (rollOver) { if (_root.maxheight == -300) { _parent.itemname = 'You Already Have This!'; _parent.itemcost = '---'; } else { _parent.itemname = 'Raise maximal altitude.'; _parent.itemcost = _root.heightprice7; } } on (release) { if (_root.maxheight == -400 && _root.chocolate >= _root.heightprice7) { if (!_root.soundoff) { _root.playEffect(_root.register); } _root.chocolate -= _root.heightprice7; _root.maxheight += 100; _root.savedata(); _parent.checkbuttons(); } } } button 1052 { on (rollOver) { if (_root.maxheight == -200) { _parent.itemname = 'You Already Have This!'; _parent.itemcost = '---'; } else { _parent.itemname = 'Raise maximal altitude.'; _parent.itemcost = _root.heightprice8; } } on (release) { if (_root.maxheight == -300 && _root.chocolate >= _root.heightprice8) { if (!_root.soundoff) { _root.playEffect(_root.register); } _root.chocolate -= _root.heightprice8; _root.maxheight += 100; _root.savedata(); _parent.checkbuttons(); } } } button 1055 { on (rollOver) { if (_root.maxheight == -100) { _parent.itemname = 'You Already Have This!'; _parent.itemcost = '---'; } else { _parent.itemname = 'Raise maximal altitude.'; _parent.itemcost = _root.heightprice9; } } on (release) { if (_root.maxheight == -200 && _root.chocolate >= _root.heightprice9) { if (!_root.soundoff) { _root.playEffect(_root.register); } _root.chocolate -= _root.heightprice9; _root.maxheight += 100; _root.savedata(); _parent.checkbuttons(); } } } button 1058 { on (rollOver) { if (_root.maxheight == 0) { _parent.itemname = 'You Already Have This!'; _parent.itemcost = '---'; } else { _parent.itemname = 'Raise maximal altitude.'; _parent.itemcost = _root.heightprice10; } } on (release) { if (_root.maxheight == -100 && _root.chocolate >= _root.heightprice10) { if (!_root.soundoff) { _root.playEffect(_root.register); } _root.chocolate -= _root.heightprice10; _root.maxheight += 100; _root.savedata(); _parent.checkbuttons(); } } } button 1061 { on (rollOver) { if (_root.armorlevel == 1) { _parent.itemname = 'You Already Have This!'; _parent.itemcost = '---'; } else { _parent.itemname = 'Get +1 Armor!'; _parent.itemcost = _root.armorprice1; } } on (release) { if (_root.armorlevel == 0 && _root.chocolate >= _root.armorprice1) { if (!_root.soundoff) { _root.playEffect(_root.register); } _root.chocolate -= _root.armorprice1; _root.armorlevel += 1; _root.savedata(); _parent.checkbuttons(); } } } button 1064 { on (rollOver) { if (_root.armorlevel == 2) { _parent.itemname = 'You Already Have This!'; _parent.itemcost = '---'; } else { _parent.itemname = 'Get +1 Armor!'; _parent.itemcost = _root.armorprice2; } } on (release) { if (_root.armorlevel == 1 && _root.chocolate >= _root.armorprice2) { if (!_root.soundoff) { _root.playEffect(_root.register); } _root.chocolate -= _root.armorprice2; _root.armorlevel += 1; _root.savedata(); _parent.checkbuttons(); } } } button 1067 { on (rollOver) { if (_root.armorlevel == 3) { _parent.itemname = 'You Already Have This!'; _parent.itemcost = '---'; } else { _parent.itemname = 'Get +1 Armor!'; _parent.itemcost = _root.armorprice3; } } on (release) { if (_root.armorlevel == 2 && _root.chocolate >= _root.armorprice3) { if (!_root.soundoff) { _root.playEffect(_root.register); } _root.chocolate -= _root.armorprice3; _root.armorlevel += 1; _root.savedata(); _parent.checkbuttons(); } } } button 1070 { on (rollOver) { if (_root.armorlevel == 4) { _parent.itemname = 'You Already Have This!'; _parent.itemcost = '---'; } else { _parent.itemname = 'Get +1 Armor!'; _parent.itemcost = _root.armorprice4; } } on (release) { if (_root.armorlevel == 3 && _root.chocolate >= _root.armorprice4) { if (!_root.soundoff) { _root.playEffect(_root.register); } _root.chocolate -= _root.armorprice4; _root.armorlevel += 1; _root.savedata(); _parent.checkbuttons(); } } } button 1073 { on (rollOver) { if (_root.armorlevel == 5) { _parent.itemname = 'You Already Have This!'; _parent.itemcost = '---'; } else { _parent.itemname = 'Get +1 Armor!'; _parent.itemcost = _root.armorprice5; } } on (release) { if (_root.armorlevel == 4 && _root.chocolate >= _root.armorprice5) { if (!_root.soundoff) { _root.playEffect(_root.register); } _root.chocolate -= _root.armorprice5; _root.armorlevel += 1; _root.savedata(); _parent.checkbuttons(); } } } button 1076 { on (rollOver) { if (_root.armorlevel == 6) { _parent.itemname = 'You Already Have This!'; _parent.itemcost = '---'; } else { _parent.itemname = 'Get +1 Armor!'; _parent.itemcost = _root.armorprice6; } } on (release) { if (_root.armorlevel == 5 && _root.chocolate >= _root.armorprice6) { if (!_root.soundoff) { _root.playEffect(_root.register); } _root.chocolate -= _root.armorprice6; _root.armorlevel += 1; _root.savedata(); _parent.checkbuttons(); } } } button 1079 { on (rollOver) { if (_root.armorlevel == 7) { _parent.itemname = 'You Already Have This!'; _parent.itemcost = '---'; } else { _parent.itemname = 'Get +1 Armor!'; _parent.itemcost = _root.armorprice7; } } on (release) { if (_root.armorlevel == 6 && _root.chocolate >= _root.armorprice7) { if (!_root.soundoff) { _root.playEffect(_root.register); } _root.chocolate -= _root.armorprice7; _root.armorlevel += 1; _root.savedata(); _parent.checkbuttons(); } } } button 1082 { on (rollOver) { if (_root.armorlevel == 8) { _parent.itemname = 'You Already Have This!'; _parent.itemcost = '---'; } else { _parent.itemname = 'Get +1 Armor!'; _parent.itemcost = _root.armorprice8; } } on (release) { if (_root.armorlevel == 7 && _root.chocolate >= _root.armorprice8) { if (!_root.soundoff) { _root.playEffect(_root.register); } _root.chocolate -= _root.armorprice8; _root.armorlevel += 1; _root.savedata(); _parent.checkbuttons(); } } } button 1085 { on (rollOver) { if (_root.armorlevel == 9) { _parent.itemname = 'You Already Have This!'; _parent.itemcost = '---'; } else { _parent.itemname = 'Get +1 Armor!'; _parent.itemcost = _root.armorprice9; } } on (release) { if (_root.armorlevel == 8 && _root.chocolate >= _root.armorprice9) { if (!_root.soundoff) { _root.playEffect(_root.register); } _root.chocolate -= _root.armorprice9; _root.armorlevel += 1; _root.savedata(); _parent.checkbuttons(); } } } button 1088 { on (rollOver) { if (_root.armorlevel == 10) { _parent.itemname = 'You Already Have This!'; _parent.itemcost = '---'; } else { _parent.itemname = 'Get +1 Armor!'; _parent.itemcost = _root.armorprice10; } } on (release) { if (_root.armorlevel == 9 && _root.chocolate >= _root.armorprice10) { if (!_root.soundoff) { _root.playEffect(_root.register); } _root.chocolate -= _root.armorprice10; _root.armorlevel += 1; _root.savedata(); _parent.checkbuttons(); } } } button 1091 { on (rollOver) { if (_root.chocospawn == 1) { _parent.itemname = 'You Already Have This!'; _parent.itemcost = '---'; } else { _parent.itemname = 'Increase Chocolate Apparition Rate'; _parent.itemcost = _root.chocoprice1; } } on (release) { if (_root.chocospawn == 0 && _root.chocolate >= _root.chocoprice1) { if (!_root.soundoff) { _root.playEffect(_root.register); } _root.chocolate -= _root.chocoprice1; _root.chocospawn += 1; _root.savedata(); _parent.checkbuttons(); } } } button 1094 { on (rollOver) { if (_root.chocospawn == 2) { _parent.itemname = 'You Already Have This!'; _parent.itemcost = '---'; } else { _parent.itemname = 'Increase Chocolate Apparition Rate'; _parent.itemcost = _root.chocoprice2; } } on (release) { if (_root.chocospawn == 1 && _root.chocolate >= _root.chocoprice2) { if (!_root.soundoff) { _root.playEffect(_root.register); } _root.chocolate -= _root.chocoprice2; _root.chocospawn += 1; _root.savedata(); _parent.checkbuttons(); } } } button 1097 { on (rollOver) { if (_root.chocospawn == 3) { _parent.itemname = 'You Already Have This!'; _parent.itemcost = '---'; } else { _parent.itemname = 'Increase Chocolate Apparition Rate'; _parent.itemcost = _root.chocoprice3; } } on (release) { if (_root.chocospawn == 2 && _root.chocolate >= _root.chocoprice3) { if (!_root.soundoff) { _root.playEffect(_root.register); } _root.chocolate -= _root.chocoprice3; _root.chocospawn += 1; _root.savedata(); _parent.checkbuttons(); } } } button 1100 { on (rollOver) { if (_root.chocospawn == 4) { _parent.itemname = 'You Already Have This!'; _parent.itemcost = '---'; } else { _parent.itemname = 'Increase Chocolate Apparition Rate'; _parent.itemcost = _root.chocoprice4; } } on (release) { if (_root.chocospawn == 3 && _root.chocolate >= _root.chocoprice4) { if (!_root.soundoff) { _root.playEffect(_root.register); } _root.chocolate -= _root.chocoprice4; _root.chocospawn += 1; _root.savedata(); _parent.checkbuttons(); } } } button 1103 { on (rollOver) { if (_root.chocospawn == 5) { _parent.itemname = 'You Already Have This!'; _parent.itemcost = '---'; } else { _parent.itemname = 'Increase Chocolate Apparition Rate'; _parent.itemcost = _root.chocoprice5; } } on (release) { if (_root.chocospawn == 4 && _root.chocolate >= _root.chocoprice5) { if (!_root.soundoff) { _root.playEffect(_root.register); } _root.chocolate -= _root.chocoprice5; _root.chocospawn += 1; _root.savedata(); _parent.checkbuttons(); } } } button 1106 { on (rollOver) { if (_root.chocospawn == 6) { _parent.itemname = 'You Already Have This!'; _parent.itemcost = '---'; } else { _parent.itemname = 'Increase Chocolate Apparition Rate'; _parent.itemcost = _root.chocoprice6; } } on (release) { if (_root.chocospawn == 5 && _root.chocolate >= _root.chocoprice6) { if (!_root.soundoff) { _root.playEffect(_root.register); } _root.chocolate -= _root.chocoprice6; _root.chocospawn += 1; _root.savedata(); _parent.checkbuttons(); } } } button 1109 { on (rollOver) { if (_root.chocospawn == 7) { _parent.itemname = 'You Already Have This!'; _parent.itemcost = '---'; } else { _parent.itemname = 'Increase Chocolate Apparition Rate'; _parent.itemcost = _root.chocoprice7; } } on (release) { if (_root.chocospawn == 6 && _root.chocolate >= _root.chocoprice7) { if (!_root.soundoff) { _root.playEffect(_root.register); } _root.chocolate -= _root.chocoprice7; _root.chocospawn += 1; _root.savedata(); _parent.checkbuttons(); } } } button 1112 { on (rollOver) { if (_root.chocospawn == 8) { _parent.itemname = 'You Already Have This!'; _parent.itemcost = '---'; } else { _parent.itemname = 'Increase Chocolate Apparition Rate'; _parent.itemcost = _root.chocoprice8; } } on (release) { if (_root.chocospawn == 7 && _root.chocolate >= _root.chocoprice8) { if (!_root.soundoff) { _root.playEffect(_root.register); } _root.chocolate -= _root.chocoprice8; _root.chocospawn += 1; _root.savedata(); _parent.checkbuttons(); } } } button 1115 { on (rollOver) { if (_root.chocospawn == 9) { _parent.itemname = 'You Already Have This!'; _parent.itemcost = '---'; } else { _parent.itemname = 'Increase Chocolate Apparition Rate'; _parent.itemcost = _root.chocoprice9; } } on (release) { if (_root.chocospawn == 8 && _root.chocolate >= _root.chocoprice9) { if (!_root.soundoff) { _root.playEffect(_root.register); } _root.chocolate -= _root.chocoprice9; _root.chocospawn += 1; _root.savedata(); _parent.checkbuttons(); } } } button 1118 { on (rollOver) { if (_root.chocospawn == 10) { _parent.itemname = 'You Already Have This!'; _parent.itemcost = '---'; } else { _parent.itemname = 'Increase Chocolate Apparition Rate'; _parent.itemcost = _root.chocoprice10; } } on (release) { if (_root.chocospawn == 9 && _root.chocolate >= _root.chocoprice10) { if (!_root.soundoff) { _root.playEffect(_root.register); } _root.mmm12 = 43; _root.medalz.gotoAndPlay('medalcheck'); _root.chocolate -= _root.chocoprice10; _root.chocospawn += 1; _root.savedata(); _parent.checkbuttons(); } } } button 1121 { on (rollOver) { if (_root.giftlevel == 1) { _parent.itemname = 'You Already Have This!'; _parent.itemcost = '---'; } else { _parent.itemname = 'Buy a gift to send!'; _parent.itemcost = _root.giftprice1; } } on (release) { if (_root.giftlevel == 0 && _root.chocolate >= _root.giftprice1) { if (!_root.soundoff) { _root.playEffect(_root.register); } _root.chocolate -= _root.giftprice1; _root.giftlevel += 1; _root.savedata(); _parent.checkbuttons(); } } } button 1124 { on (rollOver) { if (_root.giftlevel == 2) { _parent.itemname = 'You Already Have This!'; _parent.itemcost = '---'; } else { _parent.itemname = 'Buy a better gift!'; _parent.itemcost = _root.giftprice2; } } on (release) { if (_root.giftlevel == 1 && _root.chocolate >= _root.giftprice2) { if (!_root.soundoff) { _root.playEffect(_root.register); } _root.chocolate -= _root.giftprice2; _root.giftlevel += 1; _root.savedata(); _parent.checkbuttons(); } } } button 1127 { on (rollOver) { if (_root.giftlevel == 3) { _parent.itemname = 'You Already Have This!'; _parent.itemcost = '---'; } else { _parent.itemname = 'Buy a better gift!'; _parent.itemcost = _root.giftprice3; } } on (release) { if (_root.giftlevel == 2 && _root.chocolate >= _root.giftprice3) { if (!_root.soundoff) { _root.playEffect(_root.register); } _root.chocolate -= _root.giftprice3; _root.giftlevel += 1; _root.savedata(); _parent.checkbuttons(); } } } button 1130 { on (rollOver) { if (_root.giftlevel == 4) { _parent.itemname = 'You Already Have This!'; _parent.itemcost = '---'; } else { _parent.itemname = 'Buy a better gift!'; _parent.itemcost = _root.giftprice4; } } on (release) { if (_root.giftlevel == 3 && _root.chocolate >= _root.giftprice4) { if (!_root.soundoff) { _root.playEffect(_root.register); } _root.chocolate -= _root.giftprice4; _root.giftlevel += 1; _root.savedata(); _parent.checkbuttons(); } } } button 1133 { on (rollOver) { if (_root.giftlevel == 5) { _parent.itemname = 'You Already Have This!'; _parent.itemcost = '---'; } else { _parent.itemname = 'Buy a better gift!'; _parent.itemcost = _root.giftprice5; } } on (release) { if (_root.giftlevel == 4 && _root.chocolate >= _root.giftprice5) { if (!_root.soundoff) { _root.playEffect(_root.register); } _root.chocolate -= _root.giftprice5; _root.giftlevel += 1; _root.savedata(); _parent.checkbuttons(); } } } button 1136 { on (rollOver) { if (_root.giftlevel == 6) { _parent.itemname = 'You Already Have This!'; _parent.itemcost = '---'; } else { _parent.itemname = 'Buy a better gift!'; _parent.itemcost = _root.giftprice6; } } on (release) { if (_root.giftlevel == 5 && _root.chocolate >= _root.giftprice6) { if (!_root.soundoff) { _root.playEffect(_root.register); } _root.chocolate -= _root.giftprice6; _root.giftlevel += 1; _root.savedata(); _parent.checkbuttons(); } } } button 1139 { on (rollOver) { if (_root.giftlevel == 7) { _parent.itemname = 'You Already Have This!'; _parent.itemcost = '---'; } else { _parent.itemname = 'Buy a better gift!'; _parent.itemcost = _root.giftprice7; } } on (release) { if (_root.giftlevel == 6 && _root.chocolate >= _root.giftprice7) { if (!_root.soundoff) { _root.playEffect(_root.register); } _root.chocolate -= _root.giftprice7; _root.giftlevel += 1; _root.savedata(); _parent.checkbuttons(); } } } button 1142 { on (rollOver) { if (_root.giftlevel == 8) { _parent.itemname = 'You Already Have This!'; _parent.itemcost = '---'; } else { _parent.itemname = 'Buy a better gift!'; _parent.itemcost = _root.giftprice8; } } on (release) { if (_root.giftlevel == 7 && _root.chocolate >= _root.giftprice8) { if (!_root.soundoff) { _root.playEffect(_root.register); } _root.chocolate -= _root.giftprice8; _root.giftlevel += 1; _root.savedata(); _parent.checkbuttons(); } } } button 1145 { on (rollOver) { if (_root.giftlevel == 9) { _parent.itemname = 'You Already Have This!'; _parent.itemcost = '---'; } else { _parent.itemname = 'Buy a better gift!'; _parent.itemcost = _root.giftprice9; } } on (release) { if (_root.giftlevel == 8 && _root.chocolate >= _root.giftprice9) { if (!_root.soundoff) { _root.playEffect(_root.register); } _root.chocolate -= _root.giftprice9; _root.giftlevel += 1; _root.savedata(); _parent.checkbuttons(); } } } button 1148 { on (rollOver) { if (_root.giftlevel == 10) { _parent.itemname = 'You Already Have This!'; _parent.itemcost = '---'; } else { _parent.itemname = 'The ultimate gift?'; _parent.itemcost = _root.giftprice10; } } on (release) { if (_root.giftlevel == 9 && _root.chocolate >= _root.giftprice10) { if (!_root.soundoff) { _root.playEffect(_root.register); } _root.mmm13 = 43; _root.medalz.gotoAndPlay('medalcheck'); _root.chocolate -= _root.giftprice10; _root.giftlevel += 1; _root.savedata(); _parent.checkbuttons(); } } } movieClip 1153 { } movieClip 1162 { } button 1165 { on (rollOver) { if (!_root.soundoff) { _root.playEffect(_root.smallselect); } } on (release) { gotoAndStop(2); } } button 1170 { on (rollOver) { if (_root.pararate == 2) { _parent._parent.itemname = 'You Already Have This!'; _parent._parent.itemcost = '---'; } else { _parent._parent.itemname = 'Increase Parachute Drop Rate'; _parent._parent.itemcost = _root.paraprice1; } } on (release) { if (_root.pararate == 0 && _root.chocolate >= _root.paraprice1) { if (!_root.soundoff) { _root.playEffect(_root.register); } _root.chocolate -= _root.paraprice1; _root.pararate += 2; _root.savedata(); _parent._parent.checkbuttons(); } } } button 1173 { on (rollOver) { if (_root.pararate == 4) { _parent._parent.itemname = 'You Already Have This!'; _parent._parent.itemcost = '---'; } else { _parent._parent.itemname = 'Increase Parachute Drop Rate'; _parent._parent.itemcost = _root.paraprice2; } } on (release) { if (_root.pararate == 2 && _root.chocolate >= _root.paraprice2) { if (!_root.soundoff) { _root.playEffect(_root.register); } _root.chocolate -= _root.paraprice2; _root.pararate += 2; _root.savedata(); _parent._parent.checkbuttons(); } } } button 1176 { on (rollOver) { if (_root.pararate == 6) { _parent._parent.itemname = 'You Already Have This!'; _parent._parent.itemcost = '---'; } else { _parent._parent.itemname = 'Increase Parachute Drop Rate'; _parent._parent.itemcost = _root.paraprice3; } } on (release) { if (_root.pararate == 4 && _root.chocolate >= _root.paraprice3) { if (!_root.soundoff) { _root.playEffect(_root.register); } _root.chocolate -= _root.paraprice3; _root.pararate += 2; _root.savedata(); _parent._parent.checkbuttons(); } } } button 1179 { on (rollOver) { if (_root.pararate == 8) { _parent._parent.itemname = 'You Already Have This!'; _parent._parent.itemcost = '---'; } else { _parent._parent.itemname = 'Increase Parachute Drop Rate'; _parent._parent.itemcost = _root.paraprice4; } } on (release) { if (_root.pararate == 6 && _root.chocolate >= _root.paraprice4) { if (!_root.soundoff) { _root.playEffect(_root.register); } _root.chocolate -= _root.paraprice4; _root.pararate += 2; _root.savedata(); _parent._parent.checkbuttons(); } } } button 1182 { on (rollOver) { if (_root.pararate == 10) { _parent._parent.itemname = 'You Already Have This!'; _parent._parent.itemcost = '---'; } else { _parent._parent.itemname = 'Increase Parachute Drop Rate'; _parent._parent.itemcost = _root.paraprice5; } } on (release) { if (_root.pararate == 8 && _root.chocolate >= _root.paraprice5) { if (!_root.soundoff) { _root.playEffect(_root.register); } _root.chocolate -= _root.paraprice5; _root.pararate += 2; _root.savedata(); _parent._parent.checkbuttons(); } } } button 1185 { on (rollOver) { if (_root.pararate == 12) { _parent._parent.itemname = 'You Already Have This!'; _parent._parent.itemcost = '---'; } else { _parent._parent.itemname = 'Increase Parachute Drop Rate'; _parent._parent.itemcost = _root.paraprice6; } } on (release) { if (_root.pararate == 10 && _root.chocolate >= _root.paraprice6) { if (!_root.soundoff) { _root.playEffect(_root.register); } _root.chocolate -= _root.paraprice6; _root.pararate += 2; _root.savedata(); _parent._parent.checkbuttons(); } } } button 1188 { on (rollOver) { if (_root.pararate == 14) { _parent._parent.itemname = 'You Already Have This!'; _parent._parent.itemcost = '---'; } else { _parent._parent.itemname = 'Increase Parachute Drop Rate'; _parent._parent.itemcost = _root.paraprice7; } } on (release) { if (_root.pararate == 12 && _root.chocolate >= _root.paraprice7) { if (!_root.soundoff) { _root.playEffect(_root.register); } _root.chocolate -= _root.paraprice7; _root.pararate += 2; _root.savedata(); _parent._parent.checkbuttons(); } } } button 1191 { on (rollOver) { if (_root.pararate == 16) { _parent._parent.itemname = 'You Already Have This!'; _parent._parent.itemcost = '---'; } else { _parent._parent.itemname = 'Increase Parachute Drop Rate'; _parent._parent.itemcost = _root.paraprice8; } } on (release) { if (_root.pararate == 14 && _root.chocolate >= _root.paraprice8) { if (!_root.soundoff) { _root.playEffect(_root.register); } _root.chocolate -= _root.paraprice8; _root.pararate += 2; _root.savedata(); _parent._parent.checkbuttons(); } } } button 1194 { on (rollOver) { if (_root.pararate == 18) { _parent._parent.itemname = 'You Already Have This!'; _parent._parent.itemcost = '---'; } else { _parent._parent.itemname = 'Increase Parachute Drop Rate'; _parent._parent.itemcost = _root.paraprice9; } } on (release) { if (_root.pararate == 16 && _root.chocolate >= _root.paraprice9) { if (!_root.soundoff) { _root.playEffect(_root.register); } _root.chocolate -= _root.paraprice9; _root.pararate += 2; _root.savedata(); _parent._parent.checkbuttons(); } } } button 1197 { on (rollOver) { if (_root.pararate == 20) { _parent._parent.itemname = 'You Already Have This!'; _parent._parent.itemcost = '---'; } else { _parent._parent.itemname = 'Increase Parachute Drop Rate'; _parent._parent.itemcost = _root.paraprice10; } } on (release) { if (_root.pararate == 18 && _root.chocolate >= _root.paraprice10) { if (!_root.soundoff) { _root.playEffect(_root.register); } _root.chocolate -= _root.paraprice10; _root.pararate += 2; _root.savedata(); _parent._parent.checkbuttons(); } } } button 1200 { on (rollOver) { if (_root.pocketrate == 4) { _parent._parent.itemname = 'You Already Have This!'; _parent._parent.itemcost = '---'; } else { _parent._parent.itemname = 'Spawn more air pockets'; _parent._parent.itemcost = _root.pocketprice1; } } on (release) { if (_root.pocketrate == 0 && _root.chocolate >= _root.pocketprice1) { if (!_root.soundoff) { _root.playEffect(_root.register); } _root.chocolate -= _root.pocketprice1; _root.pocketrate += 4; _root.savedata(); _parent._parent.checkbuttons(); } } } button 1203 { on (rollOver) { if (_root.pocketrate == 8) { _parent._parent.itemname = 'You Already Have This!'; _parent._parent.itemcost = '---'; } else { _parent._parent.itemname = 'Spawn more air pockets'; _parent._parent.itemcost = _root.pocketprice2; } } on (release) { if (_root.pocketrate == 4 && _root.chocolate >= _root.pocketprice2) { if (!_root.soundoff) { _root.playEffect(_root.register); } _root.chocolate -= _root.pocketprice2; _root.pocketrate += 4; _root.savedata(); _parent._parent.checkbuttons(); } } } button 1206 { on (rollOver) { if (_root.pocketrate == 12) { _parent._parent.itemname = 'You Already Have This!'; _parent._parent.itemcost = '---'; } else { _parent._parent.itemname = 'Spawn more air pockets'; _parent._parent.itemcost = _root.pocketprice3; } } on (release) { if (_root.pocketrate == 8 && _root.chocolate >= _root.pocketprice3) { if (!_root.soundoff) { _root.playEffect(_root.register); } _root.chocolate -= _root.pocketprice3; _root.pocketrate += 4; _root.savedata(); _parent._parent.checkbuttons(); } } } button 1209 { on (rollOver) { if (_root.pocketrate == 16) { _parent._parent.itemname = 'You Already Have This!'; _parent._parent.itemcost = '---'; } else { _parent._parent.itemname = 'Spawn more air pockets'; _parent._parent.itemcost = _root.pocketprice4; } } on (release) { if (_root.pocketrate == 12 && _root.chocolate >= _root.pocketprice4) { if (!_root.soundoff) { _root.playEffect(_root.register); } _root.chocolate -= _root.pocketprice4; _root.pocketrate += 4; _root.savedata(); _parent._parent.checkbuttons(); } } } button 1212 { on (rollOver) { if (_root.pocketrate == 20) { _parent._parent.itemname = 'You Already Have This!'; _parent._parent.itemcost = '---'; } else { _parent._parent.itemname = 'Spawn more air pockets'; _parent._parent.itemcost = _root.pocketprice5; } } on (release) { if (_root.pocketrate == 16 && _root.chocolate >= _root.pocketprice5) { if (!_root.soundoff) { _root.playEffect(_root.register); } _root.chocolate -= _root.pocketprice5; _root.pocketrate += 4; _root.savedata(); _parent._parent.checkbuttons(); } } } button 1215 { on (rollOver) { if (_root.pocketrate == 24) { _parent._parent.itemname = 'You Already Have This!'; _parent._parent.itemcost = '---'; } else { _parent._parent.itemname = 'Spawn more air pockets'; _parent._parent.itemcost = _root.pocketprice6; } } on (release) { if (_root.pocketrate == 20 && _root.chocolate >= _root.pocketprice6) { if (!_root.soundoff) { _root.playEffect(_root.register); } _root.chocolate -= _root.pocketprice6; _root.pocketrate += 4; _root.savedata(); _parent._parent.checkbuttons(); } } } button 1218 { on (rollOver) { if (_root.pocketrate == 28) { _parent._parent.itemname = 'You Already Have This!'; _parent._parent.itemcost = '---'; } else { _parent._parent.itemname = 'Spawn more air pockets'; _parent._parent.itemcost = _root.pocketprice7; } } on (release) { if (_root.pocketrate == 24 && _root.chocolate >= _root.pocketprice7) { if (!_root.soundoff) { _root.playEffect(_root.register); } _root.chocolate -= _root.pocketprice7; _root.pocketrate += 4; _root.savedata(); _parent._parent.checkbuttons(); } } } button 1221 { on (rollOver) { if (_root.pocketrate == 32) { _parent._parent.itemname = 'You Already Have This!'; _parent._parent.itemcost = '---'; } else { _parent._parent.itemname = 'Spawn more air pockets'; _parent._parent.itemcost = _root.pocketprice8; } } on (release) { if (_root.pocketrate == 28 && _root.chocolate >= _root.pocketprice8) { if (!_root.soundoff) { _root.playEffect(_root.register); } _root.chocolate -= _root.pocketprice8; _root.pocketrate += 4; _root.savedata(); _parent._parent.checkbuttons(); } } } button 1224 { on (rollOver) { if (_root.pocketrate == 36) { _parent._parent.itemname = 'You Already Have This!'; _parent._parent.itemcost = '---'; } else { _parent._parent.itemname = 'Spawn more air pockets'; _parent._parent.itemcost = _root.pocketprice9; } } on (release) { if (_root.pocketrate == 32 && _root.chocolate >= _root.pocketprice9) { if (!_root.soundoff) { _root.playEffect(_root.register); } _root.chocolate -= _root.pocketprice9; _root.pocketrate += 4; _root.savedata(); _parent._parent.checkbuttons(); } } } button 1227 { on (rollOver) { if (_root.pocketrate == 40) { _parent._parent.itemname = 'You Already Have This!'; _parent._parent.itemcost = '---'; } else { _parent._parent.itemname = 'Spawn more air pockets'; _parent._parent.itemcost = _root.pocketprice10; } } on (release) { if (_root.pocketrate == 36 && _root.chocolate >= _root.pocketprice10) { if (!_root.soundoff) { _root.playEffect(_root.register); } _root.chocolate -= _root.pocketprice10; _root.pocketrate += 4; _root.savedata(); _parent._parent.checkbuttons(); } } } button 1230 { on (rollOver) { if (_root.bigdroprate == 1) { _parent._parent.itemname = 'You Already Have This!'; _parent._parent.itemcost = '---'; } else { _parent._parent.itemname = 'Spawn more BADASS powerups'; _parent._parent.itemcost = _root.bigprice1; } } on (release) { if (_root.bigdroprate == 0 && _root.chocolate >= _root.bigprice1) { if (!_root.soundoff) { _root.playEffect(_root.register); } _root.chocolate -= _root.bigprice1; _root.bigdroprate += 1; _root.savedata(); _parent._parent.checkbuttons(); } } } button 1233 { on (rollOver) { if (_root.bigdroprate == 2) { _parent._parent.itemname = 'You Already Have This!'; _parent._parent.itemcost = '---'; } else { _parent._parent.itemname = 'Spawn more BADASS powerups'; _parent._parent.itemcost = _root.bigprice2; } } on (release) { if (_root.bigdroprate == 1 && _root.chocolate >= _root.bigprice2) { if (!_root.soundoff) { _root.playEffect(_root.register); } _root.chocolate -= _root.bigprice2; _root.bigdroprate += 1; _root.savedata(); _parent._parent.checkbuttons(); } } } button 1236 { on (rollOver) { if (_root.bigdroprate == 3) { _parent._parent.itemname = 'You Already Have This!'; _parent._parent.itemcost = '---'; } else { _parent._parent.itemname = 'Spawn more BADASS powerups'; _parent._parent.itemcost = _root.bigprice3; } } on (release) { if (_root.bigdroprate == 2 && _root.chocolate >= _root.bigprice3) { if (!_root.soundoff) { _root.playEffect(_root.register); } _root.chocolate -= _root.bigprice3; _root.bigdroprate += 1; _root.savedata(); _parent._parent.checkbuttons(); } } } button 1239 { on (rollOver) { if (_root.bigdroprate == 4) { _parent._parent.itemname = 'You Already Have This!'; _parent._parent.itemcost = '---'; } else { _parent._parent.itemname = 'Spawn more BADASS powerups'; _parent._parent.itemcost = _root.bigprice4; } } on (release) { if (_root.bigdroprate == 3 && _root.chocolate >= _root.bigprice4) { if (!_root.soundoff) { _root.playEffect(_root.register); } _root.chocolate -= _root.bigprice4; _root.bigdroprate += 1; _root.savedata(); _parent._parent.checkbuttons(); } } } button 1242 { on (rollOver) { if (_root.bigdroprate == 5) { _parent._parent.itemname = 'You Already Have This!'; _parent._parent.itemcost = '---'; } else { _parent._parent.itemname = 'Spawn more BADASS powerups'; _parent._parent.itemcost = _root.bigprice5; } } on (release) { if (_root.bigdroprate == 4 && _root.chocolate >= _root.bigprice5) { if (!_root.soundoff) { _root.playEffect(_root.register); } _root.chocolate -= _root.bigprice5; _root.bigdroprate += 1; _root.savedata(); _parent._parent.checkbuttons(); } } } button 1245 { on (rollOver) { if (_root.bigdroprate == 6) { _parent._parent.itemname = 'You Already Have This!'; _parent._parent.itemcost = '---'; } else { _parent._parent.itemname = 'Spawn more BADASS powerups'; _parent._parent.itemcost = _root.bigprice6; } } on (release) { if (_root.bigdroprate == 5 && _root.chocolate >= _root.bigprice6) { if (!_root.soundoff) { _root.playEffect(_root.register); } _root.chocolate -= _root.bigprice6; _root.bigdroprate += 1; _root.savedata(); _parent._parent.checkbuttons(); } } } button 1248 { on (rollOver) { if (_root.bigdroprate == 7) { _parent._parent.itemname = 'You Already Have This!'; _parent._parent.itemcost = '---'; } else { _parent._parent.itemname = 'Spawn more BADASS powerups'; _parent._parent.itemcost = _root.bigprice7; } } on (release) { if (_root.bigdroprate == 6 && _root.chocolate >= _root.bigprice7) { if (!_root.soundoff) { _root.playEffect(_root.register); } _root.chocolate -= _root.bigprice7; _root.bigdroprate += 1; _root.savedata(); _parent._parent.checkbuttons(); } } } button 1251 { on (rollOver) { if (_root.bigdroprate == 8) { _parent._parent.itemname = 'You Already Have This!'; _parent._parent.itemcost = '---'; } else { _parent._parent.itemname = 'Spawn more BADASS powerups'; _parent._parent.itemcost = _root.bigprice8; } } on (release) { if (_root.bigdroprate == 7 && _root.chocolate >= _root.bigprice8) { if (!_root.soundoff) { _root.playEffect(_root.register); } _root.chocolate -= _root.bigprice8; _root.bigdroprate += 1; _root.savedata(); _parent._parent.checkbuttons(); } } } button 1254 { on (rollOver) { if (_root.bigdroprate == 9) { _parent._parent.itemname = 'You Already Have This!'; _parent._parent.itemcost = '---'; } else { _parent._parent.itemname = 'Spawn more BADASS powerups'; _parent._parent.itemcost = _root.bigprice9; } } on (release) { if (_root.bigdroprate == 8 && _root.chocolate >= _root.bigprice9) { if (!_root.soundoff) { _root.playEffect(_root.register); } _root.chocolate -= _root.bigprice9; _root.bigdroprate += 1; _root.savedata(); _parent._parent.checkbuttons(); } } } button 1257 { on (rollOver) { if (_root.bigdroprate == 10) { _parent._parent.itemname = 'You Already Have This!'; _parent._parent.itemcost = '---'; } else { _parent._parent.itemname = 'Spawn more BADASS powerups'; _parent._parent.itemcost = _root.bigprice10; } } on (release) { if (_root.bigdroprate == 9 && _root.chocolate >= _root.bigprice10) { if (!_root.soundoff) { _root.playEffect(_root.register); } _root.chocolate -= _root.bigprice10; _root.bigdroprate += 1; _root.savedata(); _parent._parent.checkbuttons(); } } } movieClip 1260 { } movieClip 1265 { } movieClip 1270 { } button 1273 { on (rollOver) { if (!_root.soundoff) { _root.playEffect(_root.smallselect); } } on (release) { gotoAndStop(1); } } movieClip 1274 { frame 1 { stop(); } } button 1277 { on (rollOver) { if (!_root.soundoff) { _root.playEffect(_root.smallselect); } } on (release) { if (!_root.soundoff) { _root.playEffect(_root.bigselect); } _root.gotoAndStop('main'); } } button 1278 { on (rollOver) { if (!_root.soundoff) { _root.playEffect(_root.smallselect); } } on (release) { if (!_root.soundoff) { _root.playEffect(_root.bigselect); } _root.upgrademenu.yousure._alpha = 0; _root.upgrademenu.yousure._x += 2000; } } movieClip 1280 { } movieClip 1281 { } movieClip 1285 { } movieClip 1287 { } button 1288 { on (rollOver) { if (!_root.soundoff) { _root.playEffect(_root.smallselect); } } on (release) { if (!_root.soundoff) { _root.playEffect(_root.bigselect); } _root.upgrademenu.unicorn._x = 2032.7; _root.upgrademenu.unicorn._alpha = 0; } } movieClip 1292 { } movieClip 1297 { } movieClip 1298 { } movieClip 1299 { frame 1 { function checkbuttons() { if (_root.giftlevel > 0) { giftbutton._x = 271.8; giftbutton._y = 517.15; } if (_root.chocolate >= _root.fuelprice1 && _root.fueltanks == 0) { bigmenu.upg1._alpha = 80; bigmenu.flashy1._alpha = 100; } if (_root.fueltanks > 0) { bigmenu.upg1._alpha = 100; bigmenu.flashy1._alpha = 0; } if (_root.chocolate >= _root.fuelprice2 && _root.fueltanks == 1) { bigmenu.upg2._alpha = 80; bigmenu.flashy2._alpha = 100; } if (_root.fueltanks > 1) { bigmenu.upg2._alpha = 100; bigmenu.flashy2._alpha = 0; } if (_root.chocolate >= _root.fuelprice3 && _root.fueltanks == 2) { bigmenu.upg3._alpha = 80; bigmenu.flashy3._alpha = 100; } if (_root.fueltanks > 2) { bigmenu.upg3._alpha = 100; bigmenu.flashy3._alpha = 0; } if (_root.chocolate >= _root.fuelprice4 && _root.fueltanks == 3) { bigmenu.upg4._alpha = 80; bigmenu.flashy4._alpha = 100; } if (_root.fueltanks > 3) { bigmenu.upg4._alpha = 100; bigmenu.flashy4._alpha = 0; } if (_root.chocolate >= _root.fuelprice5 && _root.fueltanks == 4) { bigmenu.upg5._alpha = 80; bigmenu.flashy5._alpha = 100; } if (_root.fueltanks > 4) { bigmenu.upg5._alpha = 100; bigmenu.flashy5._alpha = 0; } if (_root.chocolate >= _root.fuelprice6 && _root.fueltanks == 5) { bigmenu.upg6._alpha = 80; bigmenu.flashy6._alpha = 100; } if (_root.fueltanks > 5) { bigmenu.upg6._alpha = 100; bigmenu.flashy6._alpha = 0; } if (_root.chocolate >= _root.fuelprice7 && _root.fueltanks == 6) { bigmenu.upg7._alpha = 80; bigmenu.flashy7._alpha = 100; } if (_root.fueltanks > 6) { bigmenu.upg7._alpha = 100; bigmenu.flashy7._alpha = 0; } if (_root.chocolate >= _root.fuelprice8 && _root.fueltanks == 7) { bigmenu.upg8._alpha = 80; bigmenu.flashy8._alpha = 100; } if (_root.fueltanks > 7) { bigmenu.upg8._alpha = 100; bigmenu.flashy8._alpha = 0; } if (_root.chocolate >= _root.fuelprice9 && _root.fueltanks == 8) { bigmenu.upg9._alpha = 80; bigmenu.flashy9._alpha = 100; } if (_root.fueltanks > 8) { bigmenu.upg9._alpha = 100; bigmenu.flashy9._alpha = 0; } if (_root.chocolate >= _root.fuelprice10 && _root.fueltanks == 9) { bigmenu.upg10._alpha = 80; bigmenu.flashy10._alpha = 100; } if (_root.fueltanks > 9) { bigmenu.upg10._alpha = 100; bigmenu.flashy10._alpha = 0; } if (_root.chocolate < _root.fuelprice1 && _root.fueltanks == 0) { bigmenu.upg1._alpha = 0; bigmenu.flashy1._alpha = 0; } if (_root.chocolate < _root.fuelprice2 && _root.fueltanks == 1) { bigmenu.upg2._alpha = 0; bigmenu.flashy2._alpha = 0; } if (_root.chocolate < _root.fuelprice3 && _root.fueltanks == 2) { bigmenu.upg3._alpha = 0; bigmenu.flashy3._alpha = 0; } if (_root.chocolate < _root.fuelprice4 && _root.fueltanks == 3) { bigmenu.upg4._alpha = 0; bigmenu.flashy4._alpha = 0; } if (_root.chocolate < _root.fuelprice5 && _root.fueltanks == 4) { bigmenu.upg5._alpha = 0; bigmenu.flashy5._alpha = 0; } if (_root.chocolate < _root.fuelprice6 && _root.fueltanks == 5) { bigmenu.upg6._alpha = 0; bigmenu.flashy6._alpha = 0; } if (_root.chocolate < _root.fuelprice7 && _root.fueltanks == 6) { bigmenu.upg7._alpha = 0; bigmenu.flashy7._alpha = 0; } if (_root.chocolate < _root.fuelprice8 && _root.fueltanks == 7) { bigmenu.upg8._alpha = 0; bigmenu.flashy8._alpha = 0; } if (_root.chocolate < _root.fuelprice9 && _root.fueltanks == 8) { bigmenu.upg9._alpha = 0; bigmenu.flashy9._alpha = 0; } if (_root.chocolate < _root.fuelprice10 && _root.fueltanks == 9) { bigmenu.upg10._alpha = 0; bigmenu.flashy10._alpha = 0; } if (_root.chocolate >= _root.shieldprice1 && _root.shieldlevel == 0) { bigmenu.upg11._alpha = 80; bigmenu.flashy11._alpha = 100; } if (_root.shieldlevel > 0) { bigmenu.upg11._alpha = 100; bigmenu.flashy11._alpha = 0; } if (_root.chocolate >= _root.shieldprice2 && _root.shieldlevel == 1) { bigmenu.upg12._alpha = 80; bigmenu.flashy12._alpha = 100; } if (_root.shieldlevel > 1) { bigmenu.upg12._alpha = 100; bigmenu.flashy12._alpha = 0; } if (_root.chocolate >= _root.shieldprice3 && _root.shieldlevel == 2) { bigmenu.upg13._alpha = 80; bigmenu.flashy13._alpha = 100; } if (_root.shieldlevel > 2) { bigmenu.upg13._alpha = 100; bigmenu.flashy13._alpha = 0; } if (_root.chocolate >= _root.shieldprice4 && _root.shieldlevel == 3) { bigmenu.upg14._alpha = 80; bigmenu.flashy14._alpha = 100; } if (_root.shieldlevel > 3) { bigmenu.upg14._alpha = 100; bigmenu.flashy14._alpha = 0; } if (_root.chocolate >= _root.shieldprice5 && _root.shieldlevel == 4) { bigmenu.upg15._alpha = 80; bigmenu.flashy15._alpha = 100; } if (_root.shieldlevel > 4) { bigmenu.upg15._alpha = 100; bigmenu.flashy15._alpha = 0; } if (_root.chocolate >= _root.shieldprice6 && _root.shieldlevel == 5) { bigmenu.upg16._alpha = 80; bigmenu.flashy16._alpha = 100; } if (_root.shieldlevel > 5) { bigmenu.upg16._alpha = 100; bigmenu.flashy16._alpha = 0; } if (_root.chocolate >= _root.shieldprice7 && _root.shieldlevel == 6) { bigmenu.upg17._alpha = 80; bigmenu.flashy17._alpha = 100; } if (_root.shieldlevel > 6) { bigmenu.upg17._alpha = 100; bigmenu.flashy17._alpha = 0; } if (_root.chocolate >= _root.shieldprice8 && _root.shieldlevel == 7) { bigmenu.upg18._alpha = 80; bigmenu.flashy18._alpha = 100; } if (_root.shieldlevel > 7) { bigmenu.upg18._alpha = 100; bigmenu.flashy18._alpha = 0; } if (_root.chocolate >= _root.shieldprice9 && _root.shieldlevel == 8) { bigmenu.upg19._alpha = 80; bigmenu.flashy19._alpha = 100; } if (_root.shieldlevel > 8) { bigmenu.upg19._alpha = 100; bigmenu.flashy19._alpha = 0; } if (_root.chocolate >= _root.shieldprice10 && _root.shieldlevel == 9) { bigmenu.upg20._alpha = 80; bigmenu.flashy20._alpha = 100; } if (_root.shieldlevel > 9) { bigmenu.upg20._alpha = 100; bigmenu.flashy20._alpha = 0; } if (_root.chocolate < _root.shieldprice1 && _root.shieldlevel == 0) { bigmenu.upg11._alpha = 0; bigmenu.flashy11._alpha = 0; } if (_root.chocolate < _root.shieldprice2 && _root.shieldlevel == 1) { bigmenu.upg12._alpha = 0; bigmenu.flashy12._alpha = 0; } if (_root.chocolate < _root.shieldprice3 && _root.shieldlevel == 2) { bigmenu.upg13._alpha = 0; bigmenu.flashy13._alpha = 0; } if (_root.chocolate < _root.shieldprice4 && _root.shieldlevel == 3) { bigmenu.upg14._alpha = 0; bigmenu.flashy14._alpha = 0; } if (_root.chocolate < _root.shieldprice5 && _root.shieldlevel == 4) { bigmenu.upg15._alpha = 0; bigmenu.flashy15._alpha = 0; } if (_root.chocolate < _root.shieldprice6 && _root.shieldlevel == 5) { bigmenu.upg16._alpha = 0; bigmenu.flashy16._alpha = 0; } if (_root.chocolate < _root.shieldprice7 && _root.shieldlevel == 6) { bigmenu.upg17._alpha = 0; bigmenu.flashy17._alpha = 0; } if (_root.chocolate < _root.shieldprice8 && _root.shieldlevel == 7) { bigmenu.upg18._alpha = 0; bigmenu.flashy18._alpha = 0; } if (_root.chocolate < _root.shieldprice9 && _root.shieldlevel == 8) { bigmenu.upg19._alpha = 0; bigmenu.flashy19._alpha = 0; } if (_root.chocolate < _root.shieldprice10 && _root.shieldlevel == 9) { bigmenu.upg20._alpha = 0; bigmenu.flashy20._alpha = 0; } if (_root.chocolate >= _root.heightprice1 && _root.maxheight == -1000) { bigmenu.upg21._alpha = 80; bigmenu.flashy21._alpha = 100; } if (_root.maxheight > -1000) { bigmenu.upg21._alpha = 100; bigmenu.flashy21._alpha = 0; } if (_root.chocolate >= _root.heightprice2 && _root.maxheight == -900) { bigmenu.upg22._alpha = 80; bigmenu.flashy22._alpha = 100; } if (_root.maxheight > -900) { bigmenu.upg22._alpha = 100; bigmenu.flashy22._alpha = 0; } if (_root.chocolate >= _root.heightprice3 && _root.maxheight == -800) { bigmenu.upg23._alpha = 80; bigmenu.flashy23._alpha = 100; } if (_root.maxheight > -800) { bigmenu.upg23._alpha = 100; bigmenu.flashy23._alpha = 0; } if (_root.chocolate >= _root.heightprice4 && _root.maxheight == -700) { bigmenu.upg24._alpha = 80; bigmenu.flashy24._alpha = 100; } if (_root.maxheight > -700) { bigmenu.upg24._alpha = 100; bigmenu.flashy24._alpha = 0; } if (_root.chocolate >= _root.heightprice5 && _root.maxheight == -600) { bigmenu.upg25._alpha = 80; bigmenu.flashy25._alpha = 100; } if (_root.maxheight > -600) { bigmenu.upg25._alpha = 100; bigmenu.flashy25._alpha = 0; } if (_root.chocolate >= _root.heightprice6 && _root.maxheight == -500) { bigmenu.upg26._alpha = 80; bigmenu.flashy26._alpha = 100; } if (_root.maxheight > -500) { bigmenu.upg26._alpha = 100; bigmenu.flashy26._alpha = 0; } if (_root.chocolate >= _root.heightprice7 && _root.maxheight == -400) { bigmenu.upg27._alpha = 80; bigmenu.flashy27._alpha = 100; } if (_root.maxheight > -400) { bigmenu.upg27._alpha = 100; bigmenu.flashy27._alpha = 0; } if (_root.chocolate >= _root.heightprice8 && _root.maxheight == -300) { bigmenu.upg28._alpha = 80; bigmenu.flashy28._alpha = 100; } if (_root.maxheight > -300) { bigmenu.upg28._alpha = 100; bigmenu.flashy28._alpha = 0; } if (_root.chocolate >= _root.heightprice9 && _root.maxheight == -200) { bigmenu.upg29._alpha = 80; bigmenu.flashy29._alpha = 100; } if (_root.maxheight > -200) { bigmenu.upg29._alpha = 100; bigmenu.flashy29._alpha = 0; } if (_root.chocolate >= _root.heightprice10 && _root.maxheight == -100) { bigmenu.upg30._alpha = 80; bigmenu.flashy30._alpha = 100; } if (_root.maxheight > -100) { bigmenu.upg30._alpha = 100; bigmenu.flashy30._alpha = 0; } if (_root.chocolate < _root.heightprice1 && _root.maxheight == -1000) { bigmenu.upg21._alpha = 0; bigmenu.flashy21._alpha = 0; } if (_root.chocolate < _root.heightprice2 && _root.maxheight == -900) { bigmenu.upg22._alpha = 0; bigmenu.flashy22._alpha = 0; } if (_root.chocolate < _root.heightprice3 && _root.maxheight == -800) { bigmenu.upg23._alpha = 0; bigmenu.flashy23._alpha = 0; } if (_root.chocolate < _root.heightprice4 && _root.maxheight == -700) { bigmenu.upg24._alpha = 0; bigmenu.flashy24._alpha = 0; } if (_root.chocolate < _root.heightprice5 && _root.maxheight == -600) { bigmenu.upg25._alpha = 0; bigmenu.flashy25._alpha = 0; } if (_root.chocolate < _root.heightprice6 && _root.maxheight == -500) { bigmenu.upg26._alpha = 0; bigmenu.flashy26._alpha = 0; } if (_root.chocolate < _root.heightprice7 && _root.maxheight == -400) { bigmenu.upg27._alpha = 0; bigmenu.flashy27._alpha = 0; } if (_root.chocolate < _root.heightprice8 && _root.maxheight == -300) { bigmenu.upg28._alpha = 0; bigmenu.flashy28._alpha = 0; } if (_root.chocolate < _root.heightprice9 && _root.maxheight == -200) { bigmenu.upg29._alpha = 0; bigmenu.flashy29._alpha = 0; } if (_root.chocolate < _root.heightprice10 && _root.maxheight == -100) { bigmenu.upg30._alpha = 0; bigmenu.flashy30._alpha = 0; } if (_root.chocolate >= _root.armorprice1 && _root.armorlevel == 0) { bigmenu.upg31._alpha = 80; bigmenu.flashy31._alpha = 100; } if (_root.armorlevel > 0) { bigmenu.upg31._alpha = 100; bigmenu.flashy31._alpha = 0; } if (_root.chocolate >= _root.armorprice2 && _root.armorlevel == 1) { bigmenu.upg32._alpha = 80; bigmenu.flashy32._alpha = 100; } if (_root.armorlevel > 1) { bigmenu.upg32._alpha = 100; bigmenu.flashy32._alpha = 0; } if (_root.chocolate >= _root.armorprice3 && _root.armorlevel == 2) { bigmenu.upg33._alpha = 80; bigmenu.flashy33._alpha = 100; } if (_root.armorlevel > 2) { bigmenu.upg33._alpha = 100; bigmenu.flashy33._alpha = 0; } if (_root.chocolate >= _root.armorprice4 && _root.armorlevel == 3) { bigmenu.upg34._alpha = 80; bigmenu.flashy34._alpha = 100; } if (_root.armorlevel > 3) { bigmenu.upg34._alpha = 100; bigmenu.flashy34._alpha = 0; } if (_root.chocolate >= _root.armorprice5 && _root.armorlevel == 4) { bigmenu.upg35._alpha = 80; bigmenu.flashy35._alpha = 100; } if (_root.armorlevel > 4) { bigmenu.upg35._alpha = 100; bigmenu.flashy35._alpha = 0; } if (_root.chocolate >= _root.armorprice6 && _root.armorlevel == 5) { bigmenu.upg36._alpha = 80; bigmenu.flashy36._alpha = 100; } if (_root.armorlevel > 5) { bigmenu.upg36._alpha = 100; bigmenu.flashy36._alpha = 0; } if (_root.chocolate >= _root.armorprice7 && _root.armorlevel == 6) { bigmenu.upg37._alpha = 80; bigmenu.flashy37._alpha = 100; } if (_root.armorlevel > 6) { bigmenu.upg37._alpha = 100; bigmenu.flashy37._alpha = 0; } if (_root.chocolate >= _root.armorprice8 && _root.armorlevel == 7) { bigmenu.upg38._alpha = 80; bigmenu.flashy38._alpha = 100; } if (_root.armorlevel > 7) { bigmenu.upg38._alpha = 100; bigmenu.flashy38._alpha = 0; } if (_root.chocolate >= _root.armorprice9 && _root.armorlevel == 8) { bigmenu.upg39._alpha = 80; bigmenu.flashy39._alpha = 100; } if (_root.armorlevel > 8) { bigmenu.upg39._alpha = 100; bigmenu.flashy39._alpha = 0; } if (_root.chocolate >= _root.armorprice10 && _root.armorlevel == 9) { bigmenu.upg40._alpha = 80; bigmenu.flashy40._alpha = 100; } if (_root.armorlevel > 9) { bigmenu.upg40._alpha = 100; bigmenu.flashy40._alpha = 0; } if (_root.chocolate < _root.armorprice1 && _root.armorlevel == 0) { bigmenu.upg31._alpha = 0; bigmenu.flashy31._alpha = 0; } if (_root.chocolate < _root.armorprice2 && _root.armorlevel == 1) { bigmenu.upg32._alpha = 0; bigmenu.flashy32._alpha = 0; } if (_root.chocolate < _root.armorprice3 && _root.armorlevel == 2) { bigmenu.upg33._alpha = 0; bigmenu.flashy33._alpha = 0; } if (_root.chocolate < _root.armorprice4 && _root.armorlevel == 3) { bigmenu.upg34._alpha = 0; bigmenu.flashy34._alpha = 0; } if (_root.chocolate < _root.armorprice5 && _root.armorlevel == 4) { bigmenu.upg35._alpha = 0; bigmenu.flashy35._alpha = 0; } if (_root.chocolate < _root.armorprice6 && _root.armorlevel == 5) { bigmenu.upg36._alpha = 0; bigmenu.flashy36._alpha = 0; } if (_root.chocolate < _root.armorprice7 && _root.armorlevel == 6) { bigmenu.upg37._alpha = 0; bigmenu.flashy37._alpha = 0; } if (_root.chocolate < _root.armorprice8 && _root.armorlevel == 7) { bigmenu.upg38._alpha = 0; bigmenu.flashy38._alpha = 0; } if (_root.chocolate < _root.armorprice9 && _root.armorlevel == 8) { bigmenu.upg39._alpha = 0; bigmenu.flashy39._alpha = 0; } if (_root.chocolate < _root.armorprice10 && _root.armorlevel == 9) { bigmenu.upg40._alpha = 0; bigmenu.flashy40._alpha = 0; } if (_root.chocolate >= _root.chocoprice1 && _root.chocospawn == 0) { bigmenu.upg41._alpha = 80; bigmenu.flashy41._alpha = 100; } if (_root.chocospawn > 0) { bigmenu.upg41._alpha = 100; bigmenu.flashy41._alpha = 0; } if (_root.chocolate >= _root.chocoprice2 && _root.chocospawn == 1) { bigmenu.upg42._alpha = 80; bigmenu.flashy42._alpha = 100; } if (_root.chocospawn > 1) { bigmenu.upg42._alpha = 100; bigmenu.flashy42._alpha = 0; } if (_root.chocolate >= _root.chocoprice3 && _root.chocospawn == 2) { bigmenu.upg43._alpha = 80; bigmenu.flashy43._alpha = 100; } if (_root.chocospawn > 2) { bigmenu.upg43._alpha = 100; bigmenu.flashy43._alpha = 0; } if (_root.chocolate >= _root.chocoprice4 && _root.chocospawn == 3) { bigmenu.upg44._alpha = 80; bigmenu.flashy44._alpha = 100; } if (_root.chocospawn > 3) { bigmenu.upg44._alpha = 100; bigmenu.flashy44._alpha = 0; } if (_root.chocolate >= _root.chocoprice5 && _root.chocospawn == 4) { bigmenu.upg45._alpha = 80; bigmenu.flashy45._alpha = 100; } if (_root.chocospawn > 4) { bigmenu.upg45._alpha = 100; bigmenu.flashy45._alpha = 0; } if (_root.chocolate >= _root.chocoprice6 && _root.chocospawn == 5) { bigmenu.upg46._alpha = 80; bigmenu.flashy46._alpha = 100; } if (_root.chocospawn > 5) { bigmenu.upg46._alpha = 100; bigmenu.flashy46._alpha = 0; } if (_root.chocolate >= _root.chocoprice7 && _root.chocospawn == 6) { bigmenu.upg47._alpha = 80; bigmenu.flashy47._alpha = 100; } if (_root.chocospawn > 6) { bigmenu.upg47._alpha = 100; bigmenu.flashy47._alpha = 0; } if (_root.chocolate >= _root.chocoprice8 && _root.chocospawn == 7) { bigmenu.upg48._alpha = 80; bigmenu.flashy48._alpha = 100; } if (_root.chocospawn > 7) { bigmenu.upg48._alpha = 100; bigmenu.flashy48._alpha = 0; } if (_root.chocolate >= _root.chocoprice9 && _root.chocospawn == 8) { bigmenu.upg49._alpha = 80; bigmenu.flashy49._alpha = 100; } if (_root.chocospawn > 8) { bigmenu.upg49._alpha = 100; bigmenu.flashy49._alpha = 0; } if (_root.chocolate >= _root.chocoprice10 && _root.chocospawn == 9) { bigmenu.upg50._alpha = 80; bigmenu.flashy50._alpha = 100; } if (_root.chocospawn > 9) { bigmenu.upg50._alpha = 100; bigmenu.flashy50._alpha = 0; } if (_root.chocolate < _root.chocoprice1 && _root.chocospawn == 0) { bigmenu.upg41._alpha = 0; bigmenu.flashy41._alpha = 0; } if (_root.chocolate < _root.chocoprice2 && _root.chocospawn == 1) { bigmenu.upg42._alpha = 0; bigmenu.flashy42._alpha = 0; } if (_root.chocolate < _root.chocoprice3 && _root.chocospawn == 2) { bigmenu.upg43._alpha = 0; bigmenu.flashy43._alpha = 0; } if (_root.chocolate < _root.chocoprice4 && _root.chocospawn == 3) { bigmenu.upg44._alpha = 0; bigmenu.flashy44._alpha = 0; } if (_root.chocolate < _root.chocoprice5 && _root.chocospawn == 4) { bigmenu.upg45._alpha = 0; bigmenu.flashy45._alpha = 0; } if (_root.chocolate < _root.chocoprice6 && _root.chocospawn == 5) { bigmenu.upg46._alpha = 0; bigmenu.flashy46._alpha = 0; } if (_root.chocolate < _root.chocoprice7 && _root.chocospawn == 6) { bigmenu.upg47._alpha = 0; bigmenu.flashy47._alpha = 0; } if (_root.chocolate < _root.chocoprice8 && _root.chocospawn == 7) { bigmenu.upg48._alpha = 0; bigmenu.flashy48._alpha = 0; } if (_root.chocolate < _root.chocoprice9 && _root.chocospawn == 8) { bigmenu.upg49._alpha = 0; bigmenu.flashy49._alpha = 0; } if (_root.chocolate < _root.chocoprice10 && _root.chocospawn == 9) { bigmenu.upg50._alpha = 0; bigmenu.flashy50._alpha = 0; } if (_root.chocolate >= _root.giftprice1 && _root.giftlevel == 0) { bigmenu.upg51._alpha = 80; bigmenu.flashy51._alpha = 100; } if (_root.giftlevel > 0) { bigmenu.upg51._alpha = 100; bigmenu.flashy51._alpha = 0; } if (_root.chocolate >= _root.giftprice2 && _root.giftlevel == 1) { bigmenu.upg52._alpha = 80; bigmenu.flashy52._alpha = 100; } if (_root.giftlevel > 1) { bigmenu.upg52._alpha = 100; bigmenu.flashy52._alpha = 0; } if (_root.chocolate >= _root.giftprice3 && _root.giftlevel == 2) { bigmenu.upg53._alpha = 80; bigmenu.flashy53._alpha = 100; } if (_root.giftlevel > 2) { bigmenu.upg53._alpha = 100; bigmenu.flashy53._alpha = 0; } if (_root.chocolate >= _root.giftprice4 && _root.giftlevel == 3) { bigmenu.upg54._alpha = 80; bigmenu.flashy54._alpha = 100; } if (_root.giftlevel > 3) { bigmenu.upg54._alpha = 100; bigmenu.flashy54._alpha = 0; } if (_root.chocolate >= _root.giftprice5 && _root.giftlevel == 4) { bigmenu.upg55._alpha = 80; bigmenu.flashy55._alpha = 100; } if (_root.giftlevel > 4) { bigmenu.upg55._alpha = 100; bigmenu.flashy55._alpha = 0; } if (_root.chocolate >= _root.giftprice6 && _root.giftlevel == 5) { bigmenu.upg56._alpha = 80; bigmenu.flashy56._alpha = 100; } if (_root.giftlevel > 5) { bigmenu.upg56._alpha = 100; bigmenu.flashy56._alpha = 0; } if (_root.chocolate >= _root.giftprice7 && _root.giftlevel == 6) { bigmenu.upg57._alpha = 80; bigmenu.flashy57._alpha = 100; } if (_root.giftlevel > 6) { bigmenu.upg57._alpha = 100; bigmenu.flashy57._alpha = 0; } if (_root.chocolate >= _root.giftprice8 && _root.giftlevel == 7) { bigmenu.upg58._alpha = 80; bigmenu.flashy58._alpha = 100; } if (_root.giftlevel > 7) { bigmenu.upg58._alpha = 100; bigmenu.flashy58._alpha = 0; } if (_root.chocolate >= _root.giftprice9 && _root.giftlevel == 8) { bigmenu.upg59._alpha = 80; bigmenu.flashy59._alpha = 100; } if (_root.giftlevel > 8) { bigmenu.upg59._alpha = 100; bigmenu.flashy59._alpha = 0; } if (_root.chocolate >= _root.giftprice10 && _root.giftlevel == 9) { bigmenu.upg60._alpha = 80; bigmenu.flashy60._alpha = 100; } if (_root.giftlevel > 9) { bigmenu.upg60._alpha = 100; bigmenu.flashy60._alpha = 0; } if (_root.chocolate < _root.giftprice1 && _root.giftlevel == 0) { bigmenu.upg51._alpha = 0; bigmenu.flashy51._alpha = 0; } if (_root.chocolate < _root.giftprice2 && _root.giftlevel == 1) { bigmenu.upg52._alpha = 0; bigmenu.flashy52._alpha = 0; } if (_root.chocolate < _root.giftprice3 && _root.giftlevel == 2) { bigmenu.upg53._alpha = 0; bigmenu.flashy53._alpha = 0; } if (_root.chocolate < _root.giftprice4 && _root.giftlevel == 3) { bigmenu.upg54._alpha = 0; bigmenu.flashy54._alpha = 0; } if (_root.chocolate < _root.giftprice5 && _root.giftlevel == 4) { bigmenu.upg55._alpha = 0; bigmenu.flashy55._alpha = 0; } if (_root.chocolate < _root.giftprice6 && _root.giftlevel == 5) { bigmenu.upg56._alpha = 0; bigmenu.flashy56._alpha = 0; } if (_root.chocolate < _root.giftprice7 && _root.giftlevel == 6) { bigmenu.upg57._alpha = 0; bigmenu.flashy57._alpha = 0; } if (_root.chocolate < _root.giftprice8 && _root.giftlevel == 7) { bigmenu.upg58._alpha = 0; bigmenu.flashy58._alpha = 0; } if (_root.chocolate < _root.giftprice9 && _root.giftlevel == 8) { bigmenu.upg59._alpha = 0; bigmenu.flashy59._alpha = 0; } if (_root.chocolate < _root.giftprice10 && _root.giftlevel == 9) { bigmenu.upg60._alpha = 0; bigmenu.flashy60._alpha = 0; } if (_root.chocolate >= _root.paraprice1 && _root.pararate == 0) { bigmenu.bigmenu2.upg61._alpha = 80; bigmenu.bigmenu2.flashy61._alpha = 100; } if (_root.pararate > 0) { bigmenu.bigmenu2.upg61._alpha = 100; bigmenu.bigmenu2.flashy61._alpha = 0; } if (_root.chocolate >= _root.paraprice2 && _root.pararate == 2) { bigmenu.bigmenu2.upg62._alpha = 80; bigmenu.bigmenu2.flashy62._alpha = 100; } if (_root.pararate > 2) { bigmenu.bigmenu2.upg62._alpha = 100; bigmenu.bigmenu2.flashy62._alpha = 0; } if (_root.chocolate >= _root.paraprice3 && _root.pararate == 4) { bigmenu.bigmenu2.upg63._alpha = 80; bigmenu.bigmenu2.flashy63._alpha = 100; } if (_root.pararate > 4) { bigmenu.bigmenu2.upg63._alpha = 100; bigmenu.bigmenu2.flashy63._alpha = 0; } if (_root.chocolate >= _root.paraprice4 && _root.pararate == 6) { bigmenu.bigmenu2.upg64._alpha = 80; bigmenu.bigmenu2.flashy64._alpha = 100; } if (_root.pararate > 6) { bigmenu.bigmenu2.upg64._alpha = 100; bigmenu.bigmenu2.flashy64._alpha = 0; } if (_root.chocolate >= _root.paraprice5 && _root.pararate == 8) { bigmenu.bigmenu2.upg65._alpha = 80; bigmenu.bigmenu2.flashy65._alpha = 100; } if (_root.pararate > 8) { bigmenu.bigmenu2.upg65._alpha = 100; bigmenu.bigmenu2.flashy65._alpha = 0; } if (_root.chocolate >= _root.paraprice6 && _root.pararate == 10) { bigmenu.bigmenu2.upg66._alpha = 80; bigmenu.bigmenu2.flashy66._alpha = 100; } if (_root.pararate > 10) { bigmenu.bigmenu2.upg66._alpha = 100; bigmenu.bigmenu2.flashy66._alpha = 0; } if (_root.chocolate >= _root.paraprice7 && _root.pararate == 12) { bigmenu.bigmenu2.upg67._alpha = 80; bigmenu.bigmenu2.flashy67._alpha = 100; } if (_root.pararate > 12) { bigmenu.bigmenu2.upg67._alpha = 100; bigmenu.bigmenu2.flashy67._alpha = 0; } if (_root.chocolate >= _root.paraprice8 && _root.pararate == 14) { bigmenu.bigmenu2.upg68._alpha = 80; bigmenu.bigmenu2.flashy68._alpha = 100; } if (_root.pararate > 14) { bigmenu.bigmenu2.upg68._alpha = 100; bigmenu.bigmenu2.flashy68._alpha = 0; } if (_root.chocolate >= _root.paraprice9 && _root.pararate == 16) { bigmenu.bigmenu2.upg69._alpha = 80; bigmenu.bigmenu2.flashy69._alpha = 100; } if (_root.pararate > 16) { bigmenu.bigmenu2.upg69._alpha = 100; bigmenu.bigmenu2.flashy69._alpha = 0; } if (_root.chocolate >= _root.paraprice10 && _root.pararate == 18) { bigmenu.bigmenu2.upg70._alpha = 80; bigmenu.bigmenu2.flashy70._alpha = 100; } if (_root.pararate > 18) { bigmenu.bigmenu2.upg70._alpha = 100; bigmenu.bigmenu2.flashy70._alpha = 0; } if (_root.chocolate < _root.paraprice1 && _root.pararate == 0) { bigmenu.bigmenu2.upg61._alpha = 0; bigmenu.bigmenu2.flashy61._alpha = 0; } if (_root.chocolate < _root.paraprice2 && _root.pararate == 2) { bigmenu.bigmenu2.upg62._alpha = 0; bigmenu.bigmenu2.flashy62._alpha = 0; } if (_root.chocolate < _root.paraprice3 && _root.pararate == 4) { bigmenu.bigmenu2.upg63._alpha = 0; bigmenu.bigmenu2.flashy63._alpha = 0; } if (_root.chocolate < _root.paraprice4 && _root.pararate == 6) { bigmenu.bigmenu2.upg64._alpha = 0; bigmenu.bigmenu2.flashy64._alpha = 0; } if (_root.chocolate < _root.paraprice5 && _root.pararate == 8) { bigmenu.bigmenu2.upg65._alpha = 0; bigmenu.bigmenu2.flashy65._alpha = 0; } if (_root.chocolate < _root.paraprice6 && _root.pararate == 10) { bigmenu.bigmenu2.upg66._alpha = 0; bigmenu.bigmenu2.flashy66._alpha = 0; } if (_root.chocolate < _root.paraprice7 && _root.pararate == 12) { bigmenu.bigmenu2.upg67._alpha = 0; bigmenu.bigmenu2.flashy67._alpha = 0; } if (_root.chocolate < _root.paraprice8 && _root.pararate == 14) { bigmenu.bigmenu2.upg68._alpha = 0; bigmenu.bigmenu2.flashy68._alpha = 0; } if (_root.chocolate < _root.paraprice9 && _root.pararate == 16) { bigmenu.bigmenu2.upg69._alpha = 0; bigmenu.bigmenu2.flashy69._alpha = 0; } if (_root.chocolate < _root.paraprice10 && _root.pararate == 18) { bigmenu.bigmenu2.upg70._alpha = 0; bigmenu.bigmenu2.flashy70._alpha = 0; } if (_root.chocolate >= _root.pocketprice1 && _root.pocketrate == 0) { bigmenu.bigmenu2.upg71._alpha = 80; bigmenu.bigmenu2.flashy71._alpha = 100; } if (_root.pocketrate > 0) { bigmenu.bigmenu2.upg71._alpha = 100; bigmenu.bigmenu2.flashy71._alpha = 0; } if (_root.chocolate >= _root.pocketprice2 && _root.pocketrate == 4) { bigmenu.bigmenu2.upg72._alpha = 80; bigmenu.bigmenu2.flashy72._alpha = 100; } if (_root.pocketrate > 4) { bigmenu.bigmenu2.upg72._alpha = 100; bigmenu.bigmenu2.flashy72._alpha = 0; } if (_root.chocolate >= _root.pocketprice3 && _root.pocketrate == 8) { bigmenu.bigmenu2.upg73._alpha = 80; bigmenu.bigmenu2.flashy73._alpha = 100; } if (_root.pocketrate > 8) { bigmenu.bigmenu2.upg73._alpha = 100; bigmenu.bigmenu2.flashy73._alpha = 0; } if (_root.chocolate >= _root.pocketprice4 && _root.pocketrate == 12) { bigmenu.bigmenu2.upg74._alpha = 80; bigmenu.bigmenu2.flashy74._alpha = 100; } if (_root.pocketrate > 12) { bigmenu.bigmenu2.upg74._alpha = 100; bigmenu.bigmenu2.flashy74._alpha = 0; } if (_root.chocolate >= _root.pocketprice5 && _root.pocketrate == 16) { bigmenu.bigmenu2.upg75._alpha = 80; bigmenu.bigmenu2.flashy75._alpha = 100; } if (_root.pocketrate > 16) { bigmenu.bigmenu2.upg75._alpha = 100; bigmenu.bigmenu2.flashy75._alpha = 0; } if (_root.chocolate >= _root.pocketprice6 && _root.pocketrate == 20) { bigmenu.bigmenu2.upg76._alpha = 80; bigmenu.bigmenu2.flashy76._alpha = 100; } if (_root.pocketrate > 20) { bigmenu.bigmenu2.upg76._alpha = 100; bigmenu.bigmenu2.flashy76._alpha = 0; } if (_root.chocolate >= _root.pocketprice7 && _root.pocketrate == 24) { bigmenu.bigmenu2.upg77._alpha = 80; bigmenu.bigmenu2.flashy77._alpha = 100; } if (_root.pocketrate > 24) { bigmenu.bigmenu2.upg77._alpha = 100; bigmenu.bigmenu2.flashy77._alpha = 0; } if (_root.chocolate >= _root.pocketprice8 && _root.pocketrate == 28) { bigmenu.bigmenu2.upg78._alpha = 80; bigmenu.bigmenu2.flashy78._alpha = 100; } if (_root.pocketrate > 28) { bigmenu.bigmenu2.upg78._alpha = 100; bigmenu.bigmenu2.flashy78._alpha = 0; } if (_root.chocolate >= _root.pocketprice9 && _root.pocketrate == 32) { bigmenu.bigmenu2.upg79._alpha = 80; bigmenu.bigmenu2.flashy79._alpha = 100; } if (_root.pocketrate > 32) { bigmenu.bigmenu2.upg79._alpha = 100; bigmenu.bigmenu2.flashy79._alpha = 0; } if (_root.chocolate >= _root.pocketprice10 && _root.pocketrate == 36) { bigmenu.bigmenu2.upg80._alpha = 80; bigmenu.bigmenu2.flashy80._alpha = 100; } if (_root.pocketrate > 36) { bigmenu.bigmenu2.upg80._alpha = 100; bigmenu.bigmenu2.flashy80._alpha = 0; } if (_root.chocolate < _root.pocketprice1 && _root.pocketrate == 0) { bigmenu.bigmenu2.upg71._alpha = 0; bigmenu.bigmenu2.flashy71._alpha = 0; } if (_root.chocolate < _root.pocketprice2 && _root.pocketrate == 4) { bigmenu.bigmenu2.upg72._alpha = 0; bigmenu.bigmenu2.flashy72._alpha = 0; } if (_root.chocolate < _root.pocketprice3 && _root.pocketrate == 8) { bigmenu.bigmenu2.upg73._alpha = 0; bigmenu.bigmenu2.flashy73._alpha = 0; } if (_root.chocolate < _root.pocketprice4 && _root.pocketrate == 12) { bigmenu.bigmenu2.upg74._alpha = 0; bigmenu.bigmenu2.flashy74._alpha = 0; } if (_root.chocolate < _root.pocketprice5 && _root.pocketrate == 16) { bigmenu.bigmenu2.upg75._alpha = 0; bigmenu.bigmenu2.flashy75._alpha = 0; } if (_root.chocolate < _root.pocketprice6 && _root.pocketrate == 20) { bigmenu.bigmenu2.upg76._alpha = 0; bigmenu.bigmenu2.flashy76._alpha = 0; } if (_root.chocolate < _root.pocketprice7 && _root.pocketrate == 24) { bigmenu.bigmenu2.upg77._alpha = 0; bigmenu.bigmenu2.flashy77._alpha = 0; } if (_root.chocolate < _root.pocketprice8 && _root.pocketrate == 28) { bigmenu.bigmenu2.upg78._alpha = 0; bigmenu.bigmenu2.flashy78._alpha = 0; } if (_root.chocolate < _root.pocketprice9 && _root.pocketrate == 32) { bigmenu.bigmenu2.upg79._alpha = 0; bigmenu.bigmenu2.flashy79._alpha = 0; } if (_root.chocolate < _root.pocketprice10 && _root.pocketrate == 36) { bigmenu.bigmenu2.upg80._alpha = 0; bigmenu.bigmenu2.flashy80._alpha = 0; } if (_root.chocolate >= _root.bigprice1 && _root.bigdroprate == 0) { bigmenu.bigmenu2.upg81._alpha = 80; bigmenu.bigmenu2.flashy81._alpha = 100; } if (_root.bigdroprate > 0) { bigmenu.bigmenu2.upg81._alpha = 100; bigmenu.bigmenu2.flashy81._alpha = 0; } if (_root.chocolate >= _root.bigprice2 && _root.bigdroprate == 1) { bigmenu.bigmenu2.upg82._alpha = 80; bigmenu.bigmenu2.flashy82._alpha = 100; } if (_root.bigdroprate > 1) { bigmenu.bigmenu2.upg82._alpha = 100; bigmenu.bigmenu2.flashy82._alpha = 0; } if (_root.chocolate >= _root.bigprice3 && _root.bigdroprate == 2) { bigmenu.bigmenu2.upg83._alpha = 80; bigmenu.bigmenu2.flashy83._alpha = 100; } if (_root.bigdroprate > 2) { bigmenu.bigmenu2.upg83._alpha = 100; bigmenu.bigmenu2.flashy83._alpha = 0; } if (_root.chocolate >= _root.bigprice4 && _root.bigdroprate == 3) { bigmenu.bigmenu2.upg84._alpha = 80; bigmenu.bigmenu2.flashy84._alpha = 100; } if (_root.bigdroprate > 3) { bigmenu.bigmenu2.upg84._alpha = 100; bigmenu.bigmenu2.flashy84._alpha = 0; } if (_root.chocolate >= _root.bigprice5 && _root.bigdroprate == 4) { bigmenu.bigmenu2.upg85._alpha = 80; bigmenu.bigmenu2.flashy85._alpha = 100; } if (_root.bigdroprate > 4) { bigmenu.bigmenu2.upg85._alpha = 100; bigmenu.bigmenu2.flashy85._alpha = 0; } if (_root.chocolate >= _root.bigprice6 && _root.bigdroprate == 5) { bigmenu.bigmenu2.upg86._alpha = 80; bigmenu.bigmenu2.flashy86._alpha = 100; } if (_root.bigdroprate > 5) { bigmenu.bigmenu2.upg86._alpha = 100; bigmenu.bigmenu2.flashy86._alpha = 0; } if (_root.chocolate >= _root.bigprice7 && _root.bigdroprate == 6) { bigmenu.bigmenu2.upg87._alpha = 80; bigmenu.bigmenu2.flashy87._alpha = 100; } if (_root.bigdroprate > 6) { bigmenu.bigmenu2.upg87._alpha = 100; bigmenu.bigmenu2.flashy87._alpha = 0; } if (_root.chocolate >= _root.bigprice8 && _root.bigdroprate == 7) { bigmenu.bigmenu2.upg88._alpha = 80; bigmenu.bigmenu2.flashy88._alpha = 100; } if (_root.bigdroprate > 7) { bigmenu.bigmenu2.upg88._alpha = 100; bigmenu.bigmenu2.flashy88._alpha = 0; } if (_root.chocolate >= _root.bigprice9 && _root.bigdroprate == 8) { bigmenu.bigmenu2.upg89._alpha = 80; bigmenu.bigmenu2.flashy89._alpha = 100; } if (_root.bigdroprate > 8) { bigmenu.bigmenu2.upg89._alpha = 100; bigmenu.bigmenu2.flashy89._alpha = 0; } if (_root.chocolate >= _root.bigprice10 && _root.bigdroprate == 9) { bigmenu.bigmenu2.upg90._alpha = 80; bigmenu.bigmenu2.flashy90._alpha = 100; } if (_root.bigdroprate > 9) { bigmenu.bigmenu2.upg90._alpha = 100; bigmenu.bigmenu2.flashy90._alpha = 0; } if (_root.chocolate < _root.bigprice1 && _root.bigdroprate == 0) { bigmenu.bigmenu2.upg81._alpha = 0; bigmenu.bigmenu2.flashy81._alpha = 0; } if (_root.chocolate < _root.bigprice2 && _root.bigdroprate == 1) { bigmenu.bigmenu2.upg82._alpha = 0; bigmenu.bigmenu2.flashy82._alpha = 0; } if (_root.chocolate < _root.bigprice3 && _root.bigdroprate == 2) { bigmenu.bigmenu2.upg83._alpha = 0; bigmenu.bigmenu2.flashy83._alpha = 0; } if (_root.chocolate < _root.bigprice4 && _root.bigdroprate == 3) { bigmenu.bigmenu2.upg84._alpha = 0; bigmenu.bigmenu2.flashy84._alpha = 0; } if (_root.chocolate < _root.bigprice5 && _root.bigdroprate == 4) { bigmenu.bigmenu2.upg85._alpha = 0; bigmenu.bigmenu2.flashy85._alpha = 0; } if (_root.chocolate < _root.bigprice6 && _root.bigdroprate == 5) { bigmenu.bigmenu2.upg86._alpha = 0; bigmenu.bigmenu2.flashy86._alpha = 0; } if (_root.chocolate < _root.bigprice7 && _root.bigdroprate == 6) { bigmenu.bigmenu2.upg87._alpha = 0; bigmenu.bigmenu2.flashy87._alpha = 0; } if (_root.chocolate < _root.bigprice8 && _root.bigdroprate == 7) { bigmenu.bigmenu2.upg88._alpha = 0; bigmenu.bigmenu2.flashy88._alpha = 0; } if (_root.chocolate < _root.bigprice9 && _root.bigdroprate == 8) { bigmenu.bigmenu2.upg89._alpha = 0; bigmenu.bigmenu2.flashy89._alpha = 0; } if (_root.chocolate < _root.bigprice10 && _root.bigdroprate == 9) { bigmenu.bigmenu2.upg90._alpha = 0; bigmenu.bigmenu2.flashy90._alpha = 0; } _root.choctext = int(_root.chocolate * 100) / 100; if (_root.giftlevel == 10 && _root.shieldlevel == 10 && _root.chocospawn == 10 && _root.fueltanks == 10 && _root.armorlevel == 10 && _root.maxheight == 0 && _root.bigdroprate == 10 && _root.pocketrate == 40 && _root.pararate == 20) { _root.giftlevel += 1; _root.mmm14 = 43; _root.medalz.gotoAndPlay('medalcheck'); unicorn._x = 32.7; unicorn._y = 37.85; unicorn._alpha = 100; _root.savedata(); } } itemname = 'Roll over an item to see its name!'; itemcost = 'Cost'; if (!_root.cheater) { API.postScore('ChocolateRun', int(_root.distancee * 100)); } if (_root.cheater) { submit._x += 10000; submit._alpha = 0; } stopAllSounds(); _root.loopstarted2 = false; _root.loopstarted3 = false; _root.loopstarted1 = false; _root.loopstarted4 = false; _root.loopstarted5 = false; _root.loopstarted6 = false; this.onEnterFrame = function () { if (_root.soundoff) { stopAllSounds(); _root.loopstarted1 = false; } if (!_root.soundoff) { if (!_root.loopstarted1) { _root.loop1 = new Sound(_root.bgloop); _root.loop1.attachSound('loopmenus.wav'); _root.loop1.start(0, 999); _root.loop1.setVolume(_root.bgvolume); _root.loopstarted1 = true; } } }; if (_root.giftlevel > 0) { giftbutton._x = 271.8; giftbutton._y = 517.15; } checkbuttons(); } } frame 57 { _root.gotoAndStop('upgrades'); } frame 58 { stop(); _root.mmm1 = 43; _root.medalz.gotoAndPlay('medalcheck'); } movieClip 1306 { } movieClip 1309 { } movieClip 1312 { } movieClip 1313 { } movieClip 1314 { frame 7 { stop(); } } movieClip 1317 { } movieClip 1320 { } movieClip 1321 { } movieClip 1324 { } movieClip 1327 { } movieClip 1330 { } movieClip 1333 { } movieClip 1336 { } movieClip 1339 { } movieClip 1342 { } movieClip 1344 { frame 1 { stop(); } frame 1 { if (_root.giftlevel > 0) { hider._alpha = 0; _parent.currentgift = 1; _parent.giftname = 'A Crappy Little Candy Heart'; _parent.giftbutton._x = 430; _parent.giftbutton._y = 519; } else { hider._alpha = 100; _parent.currentgift = 1; _parent.giftname = 'Who Knows?'; _parent.giftbutton._x = 2286; } } frame 2 { if (_root.giftlevel > 1) { hider._alpha = 0; _parent.currentgift = 2; _parent.giftname = 'A Love Letter!'; _parent.giftbutton._x = 430; _parent.giftbutton._y = 519; } else { hider._alpha = 100; _parent.currentgift = 2; _parent.giftname = 'Who Knows?'; _parent.giftbutton._x = 2286; } } frame 3 { if (_root.giftlevel > 2) { hider._alpha = 0; _parent.currentgift = 3; _parent.giftname = 'A Single Red Rose!'; _parent.giftbutton._x = 430; _parent.giftbutton._y = 519; } else { hider._alpha = 100; _parent.currentgift = 3; _parent.giftname = 'Who Knows?'; _parent.giftbutton._x = 2286; } } frame 4 { if (_root.giftlevel > 3) { hider._alpha = 0; _parent.currentgift = 4; _parent.giftname = 'A Box of Chocolates!'; _parent.giftbutton._x = 430; _parent.giftbutton._y = 519; } else { hider._alpha = 100; _parent.currentgift = 4; _parent.giftname = 'Who Knows?'; _parent.giftbutton._x = 2286; } } frame 5 { if (_root.giftlevel > 4) { hider._alpha = 0; _parent.currentgift = 5; _parent.giftname = 'A Teddy Bear!'; _parent.giftbutton._x = 430; _parent.giftbutton._y = 519; } else { hider._alpha = 100; _parent.currentgift = 5; _parent.giftname = 'Who Knows?'; _parent.giftbutton._x = 2286; } } frame 6 { if (_root.giftlevel > 5) { hider._alpha = 0; _parent.currentgift = 6; _parent.giftname = 'A Bouquet of Roses!'; _parent.giftbutton._x = 430; _parent.giftbutton._y = 519; } else { hider._alpha = 100; _parent.currentgift = 6; _parent.giftname = 'Who Knows?'; _parent.giftbutton._x = 2286; } } frame 7 { if (_root.giftlevel > 6) { hider._alpha = 0; _parent.currentgift = 7; _parent.giftname = 'A Huge Stuffed Dinosaur!'; _parent.giftbutton._x = 430; _parent.giftbutton._y = 519; } else { hider._alpha = 100; _parent.currentgift = 7; _parent.giftname = 'Who Knows?'; _parent.giftbutton._x = 2286; } } frame 8 { if (_root.giftlevel > 7) { hider._alpha = 0; _parent.currentgift = 8; _parent.giftname = 'A Diamond Necklace!'; _parent.giftbutton._x = 430; _parent.giftbutton._y = 519; } else { hider._alpha = 100; _parent.currentgift = 8; _parent.giftname = 'Who Knows?'; _parent.giftbutton._x = 2286; } } frame 9 { if (_root.giftlevel > 8) { hider._alpha = 0; _parent.currentgift = 9; _parent.giftname = 'A Ring!'; _parent.giftbutton._x = 430; _parent.giftbutton._y = 519; } else { hider._alpha = 100; _parent.currentgift = 9; _parent.giftname = 'Who Knows?'; _parent.giftbutton._x = 2286; } } frame 10 { if (_root.giftlevel > 9) { hider._alpha = 0; _parent.currentgift = 10; _parent.giftname = 'A HugBot 3000!'; _parent.giftbutton._x = 430; _parent.giftbutton._y = 519; } else { hider._alpha = 100; _parent.currentgift = 10; _parent.giftname = 'Who Knows?'; _parent.giftbutton._x = 2286; } } frame 11 { if (_root.giftlevel > 10) { hider._alpha = 0; _parent.currentgift = 11; _parent.giftname = 'A Unicorn. Yep.'; _parent.giftbutton._x = 430; _parent.giftbutton._y = 519; } else { hider._alpha = 100; _parent.currentgift = 11; _parent.giftname = 'Who Knows?'; _parent.giftbutton._x = 2286; } } } button 1349 { on (rollOver) { if (!_root.soundoff) { _root.playEffect(_root.smallselect); } } on (release) { if (!_root.soundoff) { _root.playEffect(_root.bigselect); } if (currentgift == 1) { yourgifts.gotoAndStop(11); } else { yourgifts.prevFrame(); } } } button 1350 { on (rollOver) { if (!_root.soundoff) { _root.playEffect(_root.smallselect); } } on (release) { if (!_root.soundoff) { _root.playEffect(_root.bigselect); } if (currentgift == 11) { yourgifts.gotoAndStop(1); } else { yourgifts.nextFrame(); } } } // unknown tag 88 length 65 movieClip 1357 { } movieClip 1360 { } button 1362 { on (rollOver) { if (!_root.soundoff) { _root.playEffect(_root.smallselect); } } on (release) { if (!_root.soundoff) { _root.playEffect(_root.bigselect); } _root.gotoAndStop('main'); } } movieClip 1364 { } movieClip 1366 { } movieClip 1368 { } movieClip 1371 { } button 1372 { on (release) { _root.sendgifts.senddata._x = 32.7; _root.sendgifts.senddata._y = 37.85; } } movieClip 1373 { frame 1 { var currentgift = 1; var giftname = 'Gift Name'; } } button 1375 { on (release) { _root.sendgifts.senddata._x = 3000; } } button 1379 { on (release) { _root.sendgifts.senddata.previewimage.previewimage2.previewimage3.previewimage4.yourname2.text = _parent.entername.text.toString(); _root.sendgifts.senddata.previewimage.previewimage2.previewimage3.previewimage4.yourmessage2.text = _parent.entermessage.text.toString(); _root.sendgifts.senddata.previewimage._x = 268; } } movieClip 1381 { } movieClip 1387 { } movieClip 1390 { } movieClip 1393 { } movieClip 1399 { } movieClip 1400 { } // unknown tag 88 length 4 // unknown tag 88 length 4 movieClip 1407 { } movieClip 1408 { } movieClip 1409 { } movieClip 1411 { } movieClip 1412 { } movieClip 1414 { } movieClip 1416 { } movieClip 1418 { } movieClip 1420 { } movieClip 1422 { } movieClip 1424 { } movieClip 1426 { frame 1 { stop(); cardtext = 'HAS SENT YOU THIS CRAPPY LITTLE CANDY HEART. I GUESS THAT\'S ABOUT THE EXTEND TO WHICH YOU\'RE LOVED...'; } frame 2 { stop(); cardtext = 'HAS SENT YOU THIS LOVE LETTER. BUT IT\'S CLOSED. SORRY, GUESS YOU CAN\'T EVEN READ IT.'; } frame 3 { stop(); cardtext = 'HAS SENT YOU THIS RED ROSE. JUST ONE THOUGH.'; } frame 4 { stop(); cardtext = 'HAS SENT YOU THIS BOX OF SEMI-FANCY CHOCOLATES.'; } frame 5 { stop(); cardtext = 'HAS SENT YOU THIS PINK TEDDY BEAR.'; } frame 6 { stop(); cardtext = 'HAS SENT YOU THIS HUGE BOUQUET OF ROSES. SOMEONE LIKES YOU!'; } frame 7 { stop(); cardtext = 'HAS SENT YOU THIS GIANT STUFFED PURPLE DINOSAUR. THIS IS AWESOME FOR YOU.'; } frame 8 { stop(); cardtext = 'HAS SENT YOU THIS HEART-SHAPED DIAMOND-ENCRUSTED NECKLACE!'; } frame 9 { stop(); cardtext = 'HAS SENT YOU THIS HEART-SHAPED ENGAGEMENT RING!'; } frame 10 { stop(); cardtext = 'HAS SENT YOU HUGBOT3000. HUGBOT3000 IS THE BEST GIFT EVER; HE WILL LOVE YOU ALWAYS, FOR THAT IS ALL HE KNOWS.'; } frame 11 { stop(); cardtext = 'HAS SENT YOU THIS UNICORN. IT\'S REAL!'; } } movieClip 1430 { } button 1433 { on (release) { _parent.previewimage._x = 3000; } } movieClip 1434 { } movieClip 1435 { frame 1 { var youremail = 'AAA'; var otheremail = 'AAA'; var yourname = 'AAA'; var shortmessage = 'AAA'; this.onEnterFrame = function () { _root.sendgifts.senddata.previewimage.previewimage2.gotoAndStop(_root.sendgifts.bigbox.currentgift); if (youremail !== 'AAA' && otheremail !== 'AAA' && yourname !== 'AAA') { sendbutton._x = 355; sendbutton._y = 414; } }; } } movieClip 1436 { frame 1 { stopAllSounds(); _root.loopstarted2 = false; _root.loopstarted3 = false; _root.loopstarted1 = false; this.onEnterFrame = function () { if (_root.soundoff) { stopAllSounds(); _root.loopstarted1 = false; } if (!_root.soundoff) { if (!_root.loopstarted1) { _root.loop1 = new Sound(_root.bgloop); _root.loop1.attachSound('loopmenus.wav'); _root.loop1.start(0, 999); _root.loop1.setVolume(_root.bgvolume); _root.loopstarted1 = true; } } }; } } frame 72 { gotoAndStop('game'); }




https://swfchan.com/53/264193/info.shtml
Created: 10/5 -2026 08:10:04 Last modified: 10/5 -2026 08:10:04 Server time: 10/05 -2026 11:35:20