STORY LOOP FURRY PORN GAMES C SERVICES [?] [R] RND POPULAR | Archived flashes: 229595 |
/disc/ · /res/ — /show/ · /fap/ · /gg/ · /swf/ | P0001 · P2595 · P5190 |
This is the info page for Flash #93775 |
level1 |
reset |
s |
a |
l |
g |
d |
e |
n |
i |
t |
completed |
click to continue to the next level. |
gamedesign |
congratulations! |
http://www.gamedesign.jp/ |
ActionScript [AS1/AS2]
Frame 5WAKU_MAX = 50; waku_x = new Array(WAKU_MAX); waku_y = new Array(WAKU_MAX); waku_cel = new Array(WAKU_MAX); CEL_MAX = 25; cel_left = new Array(CEL_MAX); cel_right = new Array(CEL_MAX); cel_top = new Array(CEL_MAX); cel_bottom = new Array(CEL_MAX); level = 1; xmax = 3; ymax = 3; cel_num = xmax * ymax; waku_num = cel_num * 2; old_wn = 0; size = 40; sndPick = new Sound(); sndPick.attachSound("wav_pick.wav"); sndPut = new Sound(); sndPut.attachSound("wav_put.wav");Frame 6function pick_cel(n) { mc = eval ("mcCel" + n); mc.swapDepths(mcPrio); mc.startDrag(); var wn = -1; i = 0; while (i < waku_num) { if (n == waku_cel[i]) { wn = i; } i++; } if (wn < 0) { trace("error"); } waku_cel[wn] = -1; old_wn = wn; sndPick.start(); } function put_cel(n) { mc = eval ("mcCel" + n); mc.swapDepths(mcPrio); mc.stopDrag(); var cx = (mc._x + (size / 2)); var cy = (mc._y + (size / 2)); var wn = -1; i = 0; while (i < waku_num) { if (waku_cel[i] >= 0) { } else { mcw = eval ("mcWaku" + i); var x = mcw._x; var y = mcw._y; if ((((cx >= x) && (cx < (x + size))) && (cy >= y)) && (cy < (y + size))) { wn = i; } } i++; } if (wn < 0) { mcw = eval ("mcWaku" + old_wn); mc._x = mcw._x; mc._y = mcw._y; waku_cel[old_wn] = n; return(undefined); } mcw = eval ("mcWaku" + wn); mc._x = mcw._x; mc._y = mcw._y; waku_cel[wn] = n; sndPut.start(); c = 0; i = 0; while (i < ymax) { j = 0; while (j < xmax) { n = waku_cel[c]; if (n < 0) { return(undefined); } mc1 = eval ("mcCel" + n); if (j > 0) { n2 = waku_cel[c - 1]; mc2 = eval ("mcCel" + n2); if (mc1.mcCol3._currentframe != mc2.mcCol1._currentframe) { return(undefined); } } if (i > 0) { n2 = waku_cel[c - xmax]; mc2 = eval ("mcCel" + n2); if (mc1.mcCol0._currentframe != mc2.mcCol2._currentframe) { return(undefined); } } c++; j++; } i++; } if (level < 5) { gotoAndStop ("clear"); } else { gotoAndStop ("comp"); } }Frame 15switch (level) { case 1 : xmax = 3; ymax = 3; break; case 2 : xmax = 3; ymax = 4; break; case 3 : xmax = 4; ymax = 4; break; case 4 : xmax = 4; ymax = 5; break; default : xmax = 5; ymax = 5; } cel_num = xmax * ymax; waku_num = cel_num * 2; c = 0; i = 0; while (i < ymax) { j = 0; while (j < xmax) { cel_left[c] = 1 + Math.floor(Math.random() * 10); cel_right[c] = 1 + Math.floor(Math.random() * 10); cel_top[c] = 1 + Math.floor(Math.random() * 10); cel_bottom[c] = 1 + Math.floor(Math.random() * 10); if (j > 0) { cel_left[c] = cel_right[c - 1]; } if (i > 0) { cel_top[c] = cel_bottom[c - xmax]; } c++; j++; } i++; } i = 0; while (i < cel_num) { r = Math.floor(Math.random() * cel_num); tmp = cel_left[i]; cel_left[i] = cel_left[r]; cel_left[r] = tmp; tmp = cel_right[i]; cel_right[i] = cel_right[r]; cel_right[r] = tmp; tmp = cel_top[i]; cel_top[i] = cel_top[r]; cel_top[r] = tmp; tmp = cel_bottom[i]; cel_bottom[i] = cel_bottom[r]; cel_bottom[r] = tmp; i++; } yohaku = 40; aida = 40; area_w = 580 - (yohaku * 2); area_h = 320 - (yohaku * 2); xsize = Math.floor((area_w - aida) / (xmax * 2)); ysize = Math.floor(area_h / ymax); size = ((xsize < ysize) ? (xsize) : (ysize)); ox = 290 - ((((size * xmax) * 2) + aida) / 2); oy = 160 - ((size * ymax) / 2); c = 0; i = 0; while (i < ymax) { j = 0; while (j < xmax) { x = ox + (j * size); y = oy + (i * size); mc = eval ("mcWaku" + c); mc._x = (waku_x[c] = x); mc._y = (waku_y[c] = y); mc._xscale = (100 * size) / 40; mc._yscale = (100 * size) / 40; mc._visible = true; waku_cel[c] = -1; wn = c + cel_num; x = x + ((xmax * size) + aida); mc = eval ("mcWaku" + wn); mc._x = (waku_x[wn] = x); mc._y = (waku_y[wn] = y); mc._xscale = (100 * size) / 40; mc._yscale = (100 * size) / 40; mc._visible = true; mc = eval ("mcCel" + c); mc._x = x; mc._y = y; mc._xscale = (100 * size) / 40; mc._yscale = (100 * size) / 40; mc._visible = true; waku_cel[wn] = c; k = 0; while (k < 4) { mc = eval ((("mcCel" + c) + ".mcCol") + k); col = 1; switch (k) { case 0 : col = cel_top[c]; break; case 1 : col = cel_right[c]; break; case 2 : col = cel_bottom[c]; break; case 3 : col = cel_left[c]; } mc.gotoAndStop(col); k++; } c++; j++; } i++; } i = waku_num; while (i < WAKU_MAX) { mc = eval ("mcWaku" + i); mc._visible = false; i++; } i = cel_num; while (i < CEL_MAX) { mc = eval ("mcCel" + i); mc._visible = false; i++; } i = 0; while (i < 2) { mc = eval ("mcWin" + i); mc._x = ox + (i * ((xmax * size) + aida)); mc._y = oy; mc._xscale = ((xmax * 100) * size) / 40; mc._yscale = ((ymax * 100) * size) / 40; mc._visible = true; i++; } level_txt = "level" + level; gotoAndStop ("play");Frame 21this.stop();Frame 28this.stop(); mcWin1._visible = false;Frame 34this.stop(); mcWin1._visible = false;Symbol 22 Buttonon (press) { var n = Number(this._name.slice(5)); _parent.pick_cel(n); } on (release) { var n = Number(this._name.slice(5)); _parent.put_cel(n); }Symbol 23 MovieClip Frame 1this.stop();Symbol 25 MovieClip Frame 1this.stop();Symbol 30 Buttonon (press) { gotoAndPlay ("start"); }Symbol 43 Buttonon (press) { level++; gotoAndPlay ("start"); }Symbol 51 Buttonon (press) { getURL ("http://www.gamedesign.jp/"); }
Library Items
Symbol 1 Sound [wav_put.wav] | ||
Symbol 2 Sound [wav_pick.wav] | ||
Symbol 3 Graphic | Used by:4 | |
Symbol 4 MovieClip | Uses:3 | Used by:Timeline |
Symbol 5 Graphic | Used by:6 | |
Symbol 6 MovieClip | Uses:5 | Used by:Timeline |
Symbol 7 Graphic | Used by:8 | |
Symbol 8 MovieClip | Uses:7 | Used by:Timeline |
Symbol 9 Graphic | Used by:19 | |
Symbol 10 Graphic | Used by:19 | |
Symbol 11 Graphic | Used by:19 | |
Symbol 12 Graphic | Used by:19 | |
Symbol 13 Graphic | Used by:19 | |
Symbol 14 Graphic | Used by:19 | |
Symbol 15 Graphic | Used by:19 | |
Symbol 16 Graphic | Used by:19 | |
Symbol 17 Graphic | Used by:19 | |
Symbol 18 Graphic | Used by:19 | |
Symbol 19 MovieClip | Uses:9 10 11 12 13 14 15 16 17 18 | Used by:23 |
Symbol 20 Graphic | Used by:23 | |
Symbol 21 Graphic | Used by:22 | |
Symbol 22 Button | Uses:21 | Used by:23 |
Symbol 23 MovieClip | Uses:19 20 22 | Used by:Timeline |
Symbol 24 Graphic | Used by:25 | |
Symbol 25 MovieClip | Uses:24 | Used by:Timeline |
Symbol 26 Font | Used by:27 28 31 32 33 34 35 36 37 38 39 40 41 48 | |
Symbol 27 EditableText | Uses:26 | Used by:Timeline |
Symbol 28 Text | Uses:26 | Used by:30 |
Symbol 29 Graphic | Used by:30 51 | |
Symbol 30 Button | Uses:28 29 | Used by:Timeline |
Symbol 31 Text | Uses:26 | Used by:Timeline |
Symbol 32 Text | Uses:26 | Used by:Timeline |
Symbol 33 Text | Uses:26 | Used by:Timeline |
Symbol 34 Text | Uses:26 | Used by:Timeline |
Symbol 35 Text | Uses:26 | Used by:Timeline |
Symbol 36 Text | Uses:26 | Used by:Timeline |
Symbol 37 Text | Uses:26 | Used by:Timeline |
Symbol 38 Text | Uses:26 | Used by:Timeline |
Symbol 39 Text | Uses:26 | Used by:Timeline |
Symbol 40 Text | Uses:26 | Used by:43 |
Symbol 41 Text | Uses:26 | Used by:43 |
Symbol 42 Graphic | Used by:43 | |
Symbol 43 Button | Uses:40 41 42 | Used by:Timeline |
Symbol 44 Sound | Used by:Timeline | |
Symbol 45 Font | Used by:46 | |
Symbol 46 Text | Uses:45 | Used by:Timeline |
Symbol 47 Graphic | Used by:51 | |
Symbol 48 Text | Uses:26 | Used by:51 |
Symbol 49 Font | Used by:50 | |
Symbol 50 Text | Uses:49 | Used by:51 |
Symbol 51 Button | Uses:47 48 50 29 | Used by:Timeline |
Instance Names
"mcWin0" | Frame 15 | Symbol 4 MovieClip |
"mcWin1" | Frame 15 | Symbol 6 MovieClip |
"mcWaku0" | Frame 15 | Symbol 8 MovieClip |
"mcWaku1" | Frame 15 | Symbol 8 MovieClip |
"mcWaku2" | Frame 15 | Symbol 8 MovieClip |
"mcWaku3" | Frame 15 | Symbol 8 MovieClip |
"mcWaku4" | Frame 15 | Symbol 8 MovieClip |
"mcWaku5" | Frame 15 | Symbol 8 MovieClip |
"mcWaku6" | Frame 15 | Symbol 8 MovieClip |
"mcWaku7" | Frame 15 | Symbol 8 MovieClip |
"mcWaku8" | Frame 15 | Symbol 8 MovieClip |
"mcWaku9" | Frame 15 | Symbol 8 MovieClip |
"mcWaku10" | Frame 15 | Symbol 8 MovieClip |
"mcWaku11" | Frame 15 | Symbol 8 MovieClip |
"mcWaku12" | Frame 15 | Symbol 8 MovieClip |
"mcWaku13" | Frame 15 | Symbol 8 MovieClip |
"mcWaku14" | Frame 15 | Symbol 8 MovieClip |
"mcWaku15" | Frame 15 | Symbol 8 MovieClip |
"mcWaku16" | Frame 15 | Symbol 8 MovieClip |
"mcWaku17" | Frame 15 | Symbol 8 MovieClip |
"mcWaku18" | Frame 15 | Symbol 8 MovieClip |
"mcWaku19" | Frame 15 | Symbol 8 MovieClip |
"mcWaku20" | Frame 15 | Symbol 8 MovieClip |
"mcWaku21" | Frame 15 | Symbol 8 MovieClip |
"mcWaku22" | Frame 15 | Symbol 8 MovieClip |
"mcWaku23" | Frame 15 | Symbol 8 MovieClip |
"mcWaku24" | Frame 15 | Symbol 8 MovieClip |
"mcWaku25" | Frame 15 | Symbol 8 MovieClip |
"mcWaku26" | Frame 15 | Symbol 8 MovieClip |
"mcWaku27" | Frame 15 | Symbol 8 MovieClip |
"mcWaku28" | Frame 15 | Symbol 8 MovieClip |
"mcWaku29" | Frame 15 | Symbol 8 MovieClip |
"mcWaku30" | Frame 15 | Symbol 8 MovieClip |
"mcWaku31" | Frame 15 | Symbol 8 MovieClip |
"mcWaku32" | Frame 15 | Symbol 8 MovieClip |
"mcWaku33" | Frame 15 | Symbol 8 MovieClip |
"mcWaku34" | Frame 15 | Symbol 8 MovieClip |
"mcWaku35" | Frame 15 | Symbol 8 MovieClip |
"mcWaku36" | Frame 15 | Symbol 8 MovieClip |
"mcWaku37" | Frame 15 | Symbol 8 MovieClip |
"mcWaku38" | Frame 15 | Symbol 8 MovieClip |
"mcWaku39" | Frame 15 | Symbol 8 MovieClip |
"mcWaku40" | Frame 15 | Symbol 8 MovieClip |
"mcWaku41" | Frame 15 | Symbol 8 MovieClip |
"mcWaku42" | Frame 15 | Symbol 8 MovieClip |
"mcWaku43" | Frame 15 | Symbol 8 MovieClip |
"mcWaku44" | Frame 15 | Symbol 8 MovieClip |
"mcWaku45" | Frame 15 | Symbol 8 MovieClip |
"mcWaku46" | Frame 15 | Symbol 8 MovieClip |
"mcWaku47" | Frame 15 | Symbol 8 MovieClip |
"mcWaku48" | Frame 15 | Symbol 8 MovieClip |
"mcWaku49" | Frame 15 | Symbol 8 MovieClip |
"mcCel0" | Frame 15 | Symbol 23 MovieClip |
"mcCel1" | Frame 15 | Symbol 23 MovieClip |
"mcCel2" | Frame 15 | Symbol 23 MovieClip |
"mcCel3" | Frame 15 | Symbol 23 MovieClip |
"mcCel4" | Frame 15 | Symbol 23 MovieClip |
"mcCel5" | Frame 15 | Symbol 23 MovieClip |
"mcCel6" | Frame 15 | Symbol 23 MovieClip |
"mcCel7" | Frame 15 | Symbol 23 MovieClip |
"mcCel8" | Frame 15 | Symbol 23 MovieClip |
"mcCel9" | Frame 15 | Symbol 23 MovieClip |
"mcCel10" | Frame 15 | Symbol 23 MovieClip |
"mcCel11" | Frame 15 | Symbol 23 MovieClip |
"mcCel12" | Frame 15 | Symbol 23 MovieClip |
"mcCel13" | Frame 15 | Symbol 23 MovieClip |
"mcCel14" | Frame 15 | Symbol 23 MovieClip |
"mcCel15" | Frame 15 | Symbol 23 MovieClip |
"mcCel16" | Frame 15 | Symbol 23 MovieClip |
"mcCel17" | Frame 15 | Symbol 23 MovieClip |
"mcCel18" | Frame 15 | Symbol 23 MovieClip |
"mcCel19" | Frame 15 | Symbol 23 MovieClip |
"mcCel20" | Frame 15 | Symbol 23 MovieClip |
"mcCel21" | Frame 15 | Symbol 23 MovieClip |
"mcCel22" | Frame 15 | Symbol 23 MovieClip |
"mcCel23" | Frame 15 | Symbol 23 MovieClip |
"mcCel24" | Frame 15 | Symbol 23 MovieClip |
"mcPrio" | Frame 15 | Symbol 25 MovieClip |
"mcCol0" | Symbol 23 MovieClip Frame 1 | Symbol 19 MovieClip |
"mcCol1" | Symbol 23 MovieClip Frame 1 | Symbol 19 MovieClip |
"mcCol2" | Symbol 23 MovieClip Frame 1 | Symbol 19 MovieClip |
"mcCol3" | Symbol 23 MovieClip Frame 1 | Symbol 19 MovieClip |
Special Tags
ExportAssets (56) | Timeline Frame 1 | Symbol 1 as "wav_put.wav" |
ExportAssets (56) | Timeline Frame 1 | Symbol 2 as "wav_pick.wav" |
Labels
"init" | Frame 5 |
"start" | Frame 15 |
"play" | Frame 21 |
"clear" | Frame 28 |
"comp" | Frame 34 |
Dynamic Text Variables
level_txt | Symbol 27 EditableText | "level1" |
|