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

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

jewelv20.swf

This is the info page for
Flash #268586

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


ActionScript [AS1/AS2]
Combined Code
frame 3 { ifFrameLoaded (226) { gotoAndPlay(5); } } frame 4 { gotoAndPlay(2); } frame 5 { fscommand('allowscale', 'false'); } button 8 { on (rollOver) { if (..:disableclick == '0') { stop = '0'; gotoAndPlay(jewelno * '10'); } } on (rollOut, dragOut) { if (..:disableclick == '0') { stop = '1'; } } on (release) { if (..:disableclick == '0') { ..:click = jewelxy; } } } movieClip 147 { frame 10 { if (jewelno != '1') { stop = '1'; gotoAndStop(jewelno); } } frame 11 { if (jewelno != '1') { stop = '1'; gotoAndStop(jewelno); } } frame 12 { if (jewelno != '1') { stop = '1'; gotoAndStop(jewelno); } } frame 13 { if (jewelno != '1') { stop = '1'; gotoAndStop(jewelno); } } frame 14 { if (jewelno != '1') { stop = '1'; gotoAndStop(jewelno); } } frame 15 { if (jewelno != '1') { stop = '1'; gotoAndStop(jewelno); } } frame 16 { if (jewelno != '1') { stop = '1'; gotoAndStop(jewelno); } } frame 17 { if (jewelno != '1') { stop = '1'; gotoAndStop(jewelno); } } frame 18 { if (jewelno != '1') { stop = '1'; gotoAndStop(jewelno); } } frame 19 { if (jewelno != '1') { stop = '1'; gotoAndStop(jewelno); } } frame 19 { if (stop == '1') { gotoAndStop(jewelno); } else { gotoAndPlay(10); } } frame 20 { if (jewelno != '2') { stop = '1'; gotoAndStop(jewelno); } } frame 21 { if (jewelno != '2') { stop = '1'; gotoAndStop(jewelno); } } frame 22 { if (jewelno != '2') { stop = '1'; gotoAndStop(jewelno); } } frame 23 { if (jewelno != '2') { stop = '1'; gotoAndStop(jewelno); } } frame 24 { if (jewelno != '2') { stop = '1'; gotoAndStop(jewelno); } } frame 25 { if (jewelno != '2') { stop = '1'; gotoAndStop(jewelno); } } frame 26 { if (jewelno != '2') { stop = '1'; gotoAndStop(jewelno); } } frame 27 { if (jewelno != '2') { stop = '1'; gotoAndStop(jewelno); } } frame 28 { if (jewelno != '2') { stop = '1'; gotoAndStop(jewelno); } } frame 29 { if (jewelno != '2') { stop = '1'; gotoAndStop(jewelno); } } frame 29 { if (stop == '1') { gotoAndStop(jewelno); } else { gotoAndPlay(20); } } frame 30 { if (jewelno != '3') { stop = '1'; gotoAndStop(jewelno); } } frame 31 { if (jewelno != '3') { stop = '1'; gotoAndStop(jewelno); } } frame 32 { if (jewelno != '3') { stop = '1'; gotoAndStop(jewelno); } } frame 33 { if (jewelno != '3') { stop = '1'; gotoAndStop(jewelno); } } frame 34 { if (jewelno != '3') { stop = '1'; gotoAndStop(jewelno); } } frame 35 { if (jewelno != '3') { stop = '1'; gotoAndStop(jewelno); } } frame 36 { if (jewelno != '3') { stop = '1'; gotoAndStop(jewelno); } } frame 37 { if (jewelno != '3') { stop = '1'; gotoAndStop(jewelno); } } frame 38 { if (jewelno != '3') { stop = '1'; gotoAndStop(jewelno); } } frame 39 { if (jewelno != '3') { stop = '1'; gotoAndStop(jewelno); } } frame 39 { if (stop == '1') { gotoAndStop(jewelno); } else { gotoAndPlay(30); } } frame 40 { if (jewelno != '4') { stop = '1'; gotoAndStop(jewelno); } } frame 41 { if (jewelno != '4') { stop = '1'; gotoAndStop(jewelno); } } frame 42 { if (jewelno != '4') { stop = '1'; gotoAndStop(jewelno); } } frame 43 { if (jewelno != '4') { stop = '1'; gotoAndStop(jewelno); } } frame 44 { if (jewelno != '4') { stop = '1'; gotoAndStop(jewelno); } } frame 45 { if (jewelno != '4') { stop = '1'; gotoAndStop(jewelno); } } frame 46 { if (jewelno != '4') { stop = '1'; gotoAndStop(jewelno); } } frame 47 { if (jewelno != '4') { stop = '1'; gotoAndStop(jewelno); } } frame 48 { if (jewelno != '4') { stop = '1'; gotoAndStop(jewelno); } } frame 49 { if (jewelno != '4') { stop = '1'; gotoAndStop(jewelno); } } frame 49 { if (stop == '1') { gotoAndStop(jewelno); } else { gotoAndPlay(40); } } frame 50 { if (jewelno != '5') { stop = '1'; gotoAndStop(jewelno); } } frame 51 { if (jewelno != '5') { stop = '1'; gotoAndStop(jewelno); } } frame 52 { if (jewelno != '5') { stop = '1'; gotoAndStop(jewelno); } } frame 53 { if (jewelno != '5') { stop = '1'; gotoAndStop(jewelno); } } frame 54 { if (jewelno != '5') { stop = '1'; gotoAndStop(jewelno); } } frame 55 { if (jewelno != '5') { stop = '1'; gotoAndStop(jewelno); } } frame 56 { if (jewelno != '5') { stop = '1'; gotoAndStop(jewelno); } } frame 57 { if (jewelno != '5') { stop = '1'; gotoAndStop(jewelno); } } frame 58 { if (jewelno != '5') { stop = '1'; gotoAndStop(jewelno); } } frame 59 { if (jewelno != '5') { stop = '1'; gotoAndStop(jewelno); } } frame 59 { if (stop == '1') { gotoAndStop(jewelno); } else { gotoAndPlay(50); } } frame 60 { if (jewelno != '6') { stop = '1'; gotoAndStop(jewelno); } } frame 61 { if (jewelno != '6') { stop = '1'; gotoAndStop(jewelno); } } frame 62 { if (jewelno != '6') { stop = '1'; gotoAndStop(jewelno); } } frame 63 { if (jewelno != '6') { stop = '1'; gotoAndStop(jewelno); } } frame 64 { if (jewelno != '6') { stop = '1'; gotoAndStop(jewelno); } } frame 65 { if (jewelno != '6') { stop = '1'; gotoAndStop(jewelno); } } frame 66 { if (jewelno != '6') { stop = '1'; gotoAndStop(jewelno); } } frame 67 { if (jewelno != '6') { stop = '1'; gotoAndStop(jewelno); } } frame 68 { if (jewelno != '6') { stop = '1'; gotoAndStop(jewelno); } } frame 69 { if (jewelno != '6') { stop = '1'; gotoAndStop(jewelno); } } frame 69 { if (stop == '1') { gotoAndStop(jewelno); } else { gotoAndPlay(60); } } frame 70 { if (jewelno != '7') { stop = '1'; gotoAndStop(jewelno); } } frame 71 { if (jewelno != '7') { stop = '1'; gotoAndStop(jewelno); } } frame 72 { if (jewelno != '7') { stop = '1'; gotoAndStop(jewelno); } } frame 73 { if (jewelno != '7') { stop = '1'; gotoAndStop(jewelno); } } frame 74 { if (jewelno != '7') { stop = '1'; gotoAndStop(jewelno); } } frame 75 { if (jewelno != '7') { stop = '1'; gotoAndStop(jewelno); } } frame 76 { if (jewelno != '7') { stop = '1'; gotoAndStop(jewelno); } } frame 77 { if (jewelno != '7') { stop = '1'; gotoAndStop(jewelno); } } frame 78 { if (jewelno != '7') { stop = '1'; gotoAndStop(jewelno); } } frame 79 { if (jewelno != '7') { stop = '1'; gotoAndStop(jewelno); } } frame 79 { if (stop == '1') { gotoAndStop(jewelno); } else { gotoAndPlay(70); } } } movieClip 148 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); } frame 7 { stop(); } } movieClip 152 { } movieClip 154 { } movieClip 158 { frame 1 { stop(); } } movieClip 159 { frame 26 { removeMovieClip(''); } } movieClip 161 { } movieClip 162 { frame 30 { removeMovieClip(''); } } movieClip 168 { frame 80 { removeMovieClip(''); } } movieClip 170 { } movieClip 172 { } frame 6 { /hintmov._visible = '0'; /jewel._visible = '0'; /jewelpic._visible = '0'; /vline._visible = '0'; /hline._visible = '0'; tellTarget ('/lvlupmov') { gotoAndStop(1); } /lvlupmov._visible = '0'; /boxa._visible = '0'; tellTarget ('/hintmov') { gotoAndStop(1); } /hintmov._visible = '0'; /hline._visible = '0'; /vline._visible = '0'; /box1._visible = '0'; /box2._visible = '0'; tellTarget ('/addpointsmov') { gotoAndStop(1); } /addpointsmov._visible = '0'; if (hsnamer != '') { name = hsnamer; gotoAndPlay(9); } } frame 9 { /scoreboard._visible = '0'; bonuslevel._visible = '0'; duplicateMovieClip('/scoreboard', 'sb', 16384); jewelsinplay = '4'; call('buildboard'); duplicateMovieClip('/boxa', 'box1', 16384); duplicateMovieClip('/boxa', 'box2', 16384); moveispossible = '1'; score = '0'; level = '1'; scorebuffer = '0'; progress = '0'; tellTarget ('/progbar') { gotoAndStop(1); } /boxa._visible = '0'; /box1._visible = '0'; /box2._visible = '0'; } button 175 { on (release) { if (moveispossible == '1') { duplicateMovieClip('/hintmov', 'hintmov1', 16384); hintmov1._x = xoffset + hintx * '50'; hintmov1._y = yoffset + hinty * '50'; } } } button 177 { on (release) { if (scoretobeat < score + scorebuffer) { /sb:score += scorebuffer; scorebuffer = '0'; gotoAndPlay(220); } else { call('resetclicks'); gotoAndPlay(9); } } } button 180 { on (press) { getURL('http://www.ronnorth.com', ''); } } frame 13 { inarow = '0'; call('movepossible'); if (moveispossible == '0') { disableclick = '1'; gotoAndPlay(16); } if (click != '0') { if (click1 == '0') { disableclick = '1'; click1y = substring(click, '1', '1'); click1x = substring(click, '2', '1'); call('movebox1'); click1 = '1'; click = '0'; disableclick = '0'; playmovesound = '1'; } else { disableclick = '1'; click2y = substring(click, '1', '1'); click2x = substring(click, '2', '1'); call('movebox2'); click2 = '1'; if (click1x == click2x and click1y == click2y) { call('resetclicks'); } else { if (click1x == click2x and (click1y == click2y - '1' or click1y == click2y + '1') or click1y == click2y and (click1x == click2x - '1' or click1x == click2x + '1')) { gotoAndPlay(163); } else { playmovesound = '1'; output = output add '[not adjacent] '; call('resetclicks'); click1y = substring(click, '1', '1'); click1x = substring(click, '2', '1'); call('movebox1'); click1 = '1'; } } click = '0'; disableclick = '0'; } } if (playbadsound == '1') { playbadsound = '0'; gotoAndPlay(67); } } frame 14 { call('score'); if (levelup == '1') { levelup = '0'; duplicateMovieClip('/lvlupmov', 'lvlupmov1', 16384); call('resetclicks'); disableclick = '1'; call('buildboard'); /box1._visible = '0'; /box2._visible = '0'; call('resetclicks'); } if (playmovesound == '1') { playmovesound = '0'; gotoAndPlay(64); } if (playlevelsound == '1') { playlevelsound = '0'; gotoAndPlay(78); } if ('1' < inarow) { inarow = '0'; gotoAndPlay(96); } gotoAndPlay(13); } frame 16 { moveispossible = '1'; } frame 54 { gotoAndPlay(56); } frame 57 { call('score'); if (scoretobeat < /sb:score + scorebuffer) { /sb:score += scorebuffer; scorebuffer = '0'; gotoAndPlay(220); } else { gotoAndPlay(56); } } frame 65 { gotoAndPlay(13); } frame 68 { gotoAndPlay(14); } frame 79 { gotoAndPlay(13); } frame 97 { scoresub = '25' * level; scorebuffer += scoresub; scoremov += '1'; if ('100' < scoremov) { scoremov = '1'; } duplicateMovieClip('/addpointsmov', 'addpointsmov' add scoremov, 16384); eval('/addpointsmov' add scoremov add '/pointrise:pointval') = '+' add scoresub; gotoAndPlay(13); } frame 113 { xoffset = '0' - '24'; yoffset = '0' - '22'; numx = '8'; numy = '8'; curx = '1'; cury = '1'; jewelnum = '1'; while (numy >= cury) { while (numx >= curx) { eval('jewelframe' add cury add curx) = int(random(jewelsinplay)) + '1'; duplicateMovieClip('jewel', 'jewel' add cury add curx, 16384); eval('jewel' add cury add curx add ':jewelno') = eval('jewelframe' add cury add curx); eval('jewel' add cury add curx add ':jewelxy') = cury add curx; eval('jewel' add cury add curx add ':stop') = '1'; tellTarget (''jewel' add cury add curx') { gotoAndPlay(jewelno * '10'); } eval('jewel' add cury add curx)._x = xoffset + curx * '50'; eval('jewel' add cury add curx)._y = yoffset + cury * '50'; curx += '1'; jewelnum += '1'; } cury += '1'; curx = '1'; } curx = '1'; while (numx + '1' >= curx) { duplicateMovieClip('/vline', 'vline' add curx, 16384); eval('vline' add curx)._x = '2' + curx * '50' - '50'; curx += '1'; } cury = '1'; while (numy + '1' >= cury) { duplicateMovieClip('/hline', 'hline' add cury, 16384); eval('hline' add cury)._y = '45' + cury * '50' - '93'; cury += '1'; } } frame 122 { curx = '1'; cury = '1'; nummatches = '0'; while (numy >= cury) { while (numx >= curx) { chkretval = '0'; if (eval('jewelframe' add cury add curx) == eval('jewelframe' add cury add (curx + '1'))) { if (eval('jewelframe' add cury add curx) == eval('jewelframe' add cury add (curx + '2'))) { if (eval('jewelframe' add cury add curx) == eval('jewelframe' add cury add (curx + '3'))) { if (eval('jewelframe' add cury add curx) == eval('jewelframe' add cury add (curx + '4'))) { if (eval('jewelframe' add cury add curx) == eval('jewelframe' add cury add (curx + '5'))) { chkretval = '6'; } else { chkretval = '5'; } } else { chkretval = '4'; } } else { chkretval = '3'; } } } if ('0' < chkretval) { output = output add 'x=' add curx add ' y=' add cury add ' dir=x len=' add chkretval add ' curj=' add eval('jewelframe' add cury add curx) add chr('13'); nummatches += '1'; eval('match' add nummatches add 'x') = curx; eval('match' add nummatches add 'y') = cury; eval('match' add nummatches add 'dir') = 'x'; eval('match' add nummatches add 'len') = chkretval; } chkretval = '0'; if (eval('jewelframe' add cury add curx) == eval('jewelframe' add (cury + '1') add curx)) { if (eval('jewelframe' add cury add curx) == eval('jewelframe' add (cury + '2') add curx)) { if (eval('jewelframe' add cury add curx) == eval('jewelframe' add (cury + '3') add curx)) { if (eval('jewelframe' add cury add curx) == eval('jewelframe' add (cury + '4') add curx)) { if (eval('jewelframe' add cury add curx) == eval('jewelframe' add (cury + '5') add curx)) { chkretval = '6'; } else { chkretval = '5'; } } else { chkretval = '4'; } } else { chkretval = '3'; } } } if ('0' < chkretval) { output = output add 'x=' add curx add ' y=' add cury add ' dir=y len=' add chkretval add ' curj=' add eval('jewelframe' add cury add curx) add chr('13'); nummatches += '1'; eval('match' add nummatches add 'x') = curx; eval('match' add nummatches add 'y') = cury; eval('match' add nummatches add 'dir') = 'y'; eval('match' add nummatches add 'len') = chkretval; } curx += '1'; } cury += '1'; curx = '1'; } } frame 132 { output = ''; cursx = '1'; cursy = '1'; jewelnum = '1'; while (numy >= cursy) { while (numx >= cursx) { output = output add eval('jewelframe' add cursy add cursx) add ','; cursx += '1'; } output = output add chr('13'); cursy += '1'; cursx = '1'; } } frame 139 { /box1._x = xoffset + click1x * '50'; /box1._y = yoffset + click1y * '50'; /box1._visible = '1'; } frame 147 { /box2._x = xoffset + click2x * '50'; /box2._y = yoffset + click2y * '50'; /box2._visible = '1'; } frame 155 { /box1._visible = '0'; /box2._visible = '0'; click1 = '0'; click2 = '0'; disableclick = '0'; } frame 163 { jewelframeclick1 = eval('jewelframe' add click1y add click1x); jewelframeclick2 = eval('jewelframe' add click2y add click2x); eval('jewelframe' add click1y add click1x) = jewelframeclick2; eval('jewelframe' add click2y add click2x) = jewelframeclick1; eval('jewel' add click1y add click1x add ':jewelno') = jewelframeclick2; eval('jewel' add click2y add click2x add ':jewelno') = jewelframeclick1; tellTarget (''jewel' add click1y add click1x') { gotoAndStop(..:jewelframeclick2); } tellTarget (''jewel' add click2y add click2x') { gotoAndStop(..:jewelframeclick1); } } frame 164 { call('chkmatches'); if ('0' < nummatches) { /box1._visible = '0'; /box2._visible = '0'; gotoAndPlay(170); } else { playbadsound = '1'; eval('jewelframe' add click1y add click1x) = jewelframeclick1; eval('jewelframe' add click2y add click2x) = jewelframeclick2; eval('jewel' add click1y add click1x add ':jewelno') = jewelframeclick1; eval('jewel' add click2y add click2x add ':jewelno') = jewelframeclick2; tellTarget (''jewel' add click1y add click1x') { gotoAndStop(..:jewelframeclick1); } output = output add '[' add jewelframeclick2 add '] '; tellTarget (''jewel' add click2y add click2x') { gotoAndStop(..:jewelframeclick2); } } } frame 165 { call('resetclicks'); gotoAndPlay(14); } frame 170 { removematches = nummatches; mpieces = '0'; while ('0' < removematches) { if (eval('match' add removematches add 'dir') eq 'y') { mpiecex = eval('match' add removematches add 'x'); mpiececur = eval('match' add removematches add 'y'); testron = eval('match' add removematches add 'y') + eval('match' add removematches add 'len'); while (mpiececur < testron) { mpiecestmp = mpieces; foundmatch = '0'; while ('0' < mpiecestmp) { if (eval('mpieceno' add mpiecestmp) == mpiececur add mpiecex) { foundmatch = '1'; } mpiecestmp -= '1'; } if (foundmatch == '0') { mpieces += '1'; eval('mpieceno' add mpieces) = mpiececur add mpiecex; } mpiececur += '1'; } } else { mpiecey = eval('match' add removematches add 'y'); mpiececurx = eval('match' add removematches add 'x'); testron = eval('match' add removematches add 'x') + eval('match' add removematches add 'len'); while (mpiececurx < testron) { mpiecestmp = mpieces; foundmatch = '0'; while ('0' < mpiecestmp) { if (eval('mpieceno' add mpiecestmp) == mpiecey add mpiececurx) { foundmatch = '1'; } mpiecestmp -= '1'; } if (foundmatch == '0') { mpieces += '1'; eval('mpieceno' add mpieces) = mpiecey add mpiececurx; } mpiececurx += '1'; } } removematches -= '1'; } max2 = mpieces; while ('1' < max2) { max1 = mpieces; while ('1' < max1) { if (eval('mpieceno' add (max1 - '1')) < eval('mpieceno' add max1)) { ronpieceno = eval('mpieceno' add (max1 - '1')); eval('mpieceno' add (max1 - '1')) = eval('mpieceno' add max1); eval('mpieceno' add max1) = ronpieceno; } max1 -= '1'; } max2 -= '1'; } if ('8' < mpieces) { playinarowsound = '1'; } totalpieces = mpieces; while ('0' < totalpieces) { curxy = eval('mpieceno' add totalpieces); eval('jewelpic' add totalpieces add 'xstep') = (xoffset + int(substring(curxy, '2', '1')) * '50' - '450') / '8'; eval('jewelpic' add totalpieces add 'ystep') = (yoffset + int(substring(curxy, '1', '1')) * '50' - '305') / '8'; eval('jewel' add curxy)._visible = '0'; duplicateMovieClip('/jewelpic', 'jewelpicture' add totalpieces, 16384); eval('jewelpicture' add totalpieces add ':jewelno') = eval('jewelframe' add curxy); tellTarget (''jewelpicture' add totalpieces') { gotoAndStop(jewelno); } eval('jewelpicture' add totalpieces)._x = xoffset + int(substring(curxy, '2', '1')) * '50'; eval('jewelpicture' add totalpieces)._y = yoffset + int(substring(curxy, '1', '1')) * '50'; eval('jewelframe' add curxy) = '0'; totalpieces -= '1'; } stepno = '0'; fillgapnum = '9'; if (playinarowsound == '1') { playinarowsound = '0'; gotoAndPlay(191); } } frame 173 { call('score'); if ('0' < stepno) { curx = '8'; cury = '8'; while ('1' < cury) { while ('0' < curx) { if (eval('jewelframe' add cury add curx) == '0') { eval('jewelframe' add cury add curx) = eval('jewelframe' add (cury - '1') add curx); eval('jewel' add cury add curx add ':jewelno') = eval('jewelframe' add cury add curx); if (eval('jewel' add cury add curx add ':jewelno') == '0') { eval('jewel' add cury add curx)._visible = '0'; } else { eval('jewel' add cury add curx)._visible = '1'; tellTarget (''jewel' add cury add curx') { gotoAndStop(jewelno); } if ('0' < eval('jewel' add (cury + '1') add curx add ':jewelno')) { if (playclickonetime == '0') { playclickonetime = '1'; playclicksound = '1'; } } } eval('jewelframe' add (cury - '1') add curx) = '0'; eval('jewel' add (cury - '1') add curx add ':jewelno') = eval('jewelframe' add (cury - '1') add curx); if (eval('jewel' add (cury - '1') add curx add ':jewelno') == '0') { eval('jewel' add (cury - '1') add curx)._visible = '0'; } else { eval('jewel' add (cury - '1') add curx)._visible = '1'; tellTarget (''jewel' add (cury - '1') add curx') { gotoAndStop(jewelno); } } } curx -= '1'; } cury -= '1'; curx = '8'; } } stepno += '1'; totalpieces = mpieces; while ('0' < totalpieces) { eval('jewelpicture' add totalpieces)._x = (eval('jewelpicture' add totalpieces))._x - eval('jewelpic' add totalpieces add 'xstep'); eval('jewelpicture' add totalpieces)._y = (eval('jewelpicture' add totalpieces))._y - eval('jewelpic' add totalpieces add 'ystep'); eval('jewelpicture' add totalpieces)._xscale = '100' - stepno * '10'; eval('jewelpicture' add totalpieces)._yscale = '100' - stepno * '10'; totalpieces -= '1'; } if (stepno == '8') { totalpieces = mpieces; scoresub = '0'; while ('0' < totalpieces) { eval('jewelpicture' add totalpieces)._visible = '0'; scoresub += '5'; progress += '1'; totalpieces -= '1'; } scorebuffer += scoresub; scoremov += '1'; if ('100' < scoremov) { scoremov = '1'; } duplicateMovieClip('/addpointsmov', 'addpointsmov' add scoremov, 16384); eval('/addpointsmov' add scoremov add '/pointrise:pointval') = '+' add scoresub; gotoAndPlay(173); } if (playclicksound == '1') { playclicksound = '0'; gotoAndPlay(185); } } frame 174 { fillgapnum -= '1'; if ('0' < fillgapnum) { gotoAndPlay(173); } else { fillnewnum = '8'; gotoAndPlay(175); } } frame 175 { call('score'); curx = '8'; cury = '8'; while ('0' < cury) { fillzero = '8'; while ('0' < fillzero) { eval('jewelframe0' add fillzero) = int(random(jewelsinplay)) + '1'; fillzero -= '1'; } while ('0' < curx) { if (eval('jewelframe' add cury add curx) == '0') { eval('jewelframe' add cury add curx) = eval('jewelframe' add (cury - '1') add curx); eval('jewel' add cury add curx add ':jewelno') = eval('jewelframe' add cury add curx); if (eval('jewel' add cury add curx add ':jewelno') == '0') { eval('jewel' add cury add curx)._visible = '0'; } else { eval('jewel' add cury add curx)._visible = '1'; tellTarget (''jewel' add cury add curx') { gotoAndStop(jewelno); } if ('0' < eval('jewel' add (cury + '1') add curx add ':jewelno')) { if (playonce == '0') { playonce = '1'; playclicksoundtwo = '1'; } } } if ('1' < cury) { eval('jewelframe' add (cury - '1') add curx) = '0'; eval('jewel' add (cury - '1') add curx add ':jewelno') = eval('jewelframe' add (cury - '1') add curx); if (eval('jewel' add (cury - '1') add curx add ':jewelno') == '0') { eval('jewel' add (cury - '1') add curx)._visible = '0'; } else { eval('jewel' add (cury - '1') add curx)._visible = '1'; tellTarget (''jewel' add (cury - '1') add curx') { gotoAndStop(jewelno); } } } } curx -= '1'; } cury -= '1'; curx = '8'; } fillzero = '8'; while ('0' < fillzero) { eval('jewelframe0' add fillzero) = '0'; fillzero -= '1'; } if (playclicksoundtwo == '1') { playclicksoundtwo = '0'; gotoAndPlay(188); } } frame 176 { fillnewnum -= '1'; if ('0' < fillnewnum) { gotoAndPlay(175); } else { playonce = '0'; playclickonetime = '0'; call('chkmatches'); if ('0' < nummatches) { inarow += '1'; if ('1' < inarow) { inarow = '0'; playinarowsound = '1'; } gotoAndPlay(170); } else { call('resetclicks'); gotoAndPlay(14); } } } frame 179 { if ('0' < scorebuffer) { /sb:score += '5'; scorebuffer -= '5'; } if ('100' < progress) { level += '1'; progress -= '100'; levelup = '1'; playlevelsound = '1'; if (level == '3') { jewelsinplay = '5'; } if (level == '5') { jewelsinplay = '6'; } if ('7' < level) { if (level / '5' == int(level / '5')) { jewelsinplay = '3'; bonuslevel._visible = '1'; } else { jewelsinplay = '7'; bonuslevel._visible = '0'; } } } if (progress == '0') { tellTarget ('/progbar') { gotoAndStop(1); } } else { tellTarget ('/progbar') { gotoAndStop(..:progress); } } } frame 186 { gotoAndPlay(174); } frame 189 { gotoAndPlay(176); } frame 192 { scoresub = '25' * level; scorebuffer += scoresub; scoremov += '1'; if ('100' < scoremov) { scoremov = '1'; } duplicateMovieClip('/addpointsmov', 'addpointsmov' add scoremov, 16384); eval('/addpointsmov' add scoremov add '/pointrise:pointval') = '+' add scoresub; gotoAndPlay(171); } frame 208 { moveispossible = '0'; curx = '1'; cury = '1'; hintx = '0'; hinty = '0'; while (cury < '9') { while (curx < '8') { compbase = eval('jewelframe' add cury add curx); if (compbase == eval('jewelframe' add cury add (curx + '1'))) { if (compbase == eval('jewelframe' add (cury - '1') add (curx - '1')) or compbase == eval('jewelframe' add (cury + '1') add (curx - '1')) or compbase == eval('jewelframe' add cury add (curx - '2')) or compbase == eval('jewelframe' add (cury - '1') add (curx + '2')) or compbase == eval('jewelframe' add (cury + '1') add (curx + '2')) or compbase == eval('jewelframe' add cury add (curx + '3'))) { hintx = curx; hinty = cury; moveispossible = '1'; curx = '7'; cury = '8'; } } curx += '1'; } cury += '1'; curx = '1'; } if (moveispossible == '0') { cury = '1'; curx = '1'; while (curx < '9') { while (cury < '8') { compbase = eval('jewelframe' add cury add curx); if (compbase == eval('jewelframe' add (cury + '1') add curx)) { if (compbase == eval('jewelframe' add (cury - '1') add (curx - '1')) or compbase == eval('jewelframe' add (cury - '1') add (curx + '1')) or compbase == eval('jewelframe' add (cury - '2') add curx) or compbase == eval('jewelframe' add (cury + '2') add (curx - '1')) or compbase == eval('jewelframe' add (cury + '2') add (curx + '1')) or compbase == eval('jewelframe' add (cury + '3') add curx)) { hintx = curx; hinty = cury; moveispossible = '1'; cury = '7'; curx = '8'; } } cury += '1'; } curx += '1'; cury = '1'; } } if (moveispossible == '0') { cury = '1'; curx = '1'; while (cury < '9') { while (curx < '7') { compbase = eval('jewelframe' add cury add curx); if (compbase == eval('jewelframe' add cury add (curx + '2'))) { if (compbase == eval('jewelframe' add (cury - '1') add (curx + '1')) or compbase == eval('jewelframe' add (cury + '1') add (curx + '1'))) { hintx = curx; hinty = cury; moveispossible = '1'; cury = '8'; curx = '6'; } } curx += '1'; } cury += '1'; curx = '1'; } } if (moveispossible == '0') { cury = '1'; curx = '1'; while (curx < '9') { while (cury < '7') { compbase = eval('jewelframe' add cury add curx); if (compbase == eval('jewelframe' add (cury + '2') add curx)) { if (compbase == eval('jewelframe' add (cury + '1') add (curx - '1')) or compbase == eval('jewelframe' add (cury + '1') add (curx + '1'))) { hintx = curx; hinty = cury; moveispossible = '1'; cury = '6'; curx = '8'; } } cury += '1'; } curx += '1'; cury = '1'; } } } frame 220 { /hsmovie._visible = '0'; duplicateMovieClip('/hsmovie', hsmovie add '1', 16384); } button 191 { on (release) { fscommand('' add 'nameme', name); fscommand('' add 'scoreme', /sb:score); fscommand('' add 'levelme', ..:level); fscommand('submitme', '0'); gotoAndPlay(5); } } movieClip 194 { } frame 225 { gotoAndStop(224); }




https://swfchan.com/54/268586/info.shtml
Created: 22/8 -2026 23:55:01 Last modified: 22/8 -2026 23:55:01 Server time: 24/08 -2026 23:41:00