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

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

Ucogi Solitaire Quest.swf

This is the info page for
Flash #216651

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


ActionScript [AS1/AS2]
Combined Code
movieClip 3 dragMC { frame 1 { var g = eval('_root.' + _root.o.group); i = _root.o.order + 1; j = 1; while (i < g.length) { a = eval('_root.' + _root.o.name); b = eval('_root.' + g[i]); b._x = a._x; b._y = a._y + 15 * j; i++; j++; } } frame 2 { gotoAndPlay(1); } } movieClip 4 deep { } button 7 { on (press) { if (_root.deck == 0) { var name = _parent._parent._name; _root.tripleDeck(name); } } } movieClip 8 bgmc6 { } button 11 { on (press) { if (_root.deck == 0) { var name = _parent._parent._name; _root.tripleDeck(name); } } } movieClip 12 bgmc5 { } button 15 { on (press) { if (_root.deck == 0) { var name = _parent._parent._name; _root.tripleDeck(name); } } } movieClip 16 bgmc4 { } button 19 { on (press) { if (_root.deck == 0) { var name = _parent._parent._name; _root.tripleDeck(name); } } } movieClip 20 bgmc3 { } button 23 { on (press) { if (_root.deck == 0) { var name = _parent._parent._name; _root.tripleDeck(name); } } } movieClip 24 bgmc2 { } button 27 { on (press) { if (_root.deck == 0) { var name = _parent._parent._name; _root.tripleDeck(name); } } } movieClip 28 bgmc1 { } button 30 { on (release) { _global.deck_back = 2; _root.selectBackground(); this.removeMovieClip(); } } button 31 { on (release) { _global.deck_back = 1; _root.selectBackground(); this.removeMovieClip(); } } button 32 { on (release) { _global.deck_back = 3; _root.selectBackground(); this.removeMovieClip(); } } button 33 { on (release) { _global.deck_back = 5; _root.selectBackground(); this.removeMovieClip(); } } button 34 { on (release) { _global.deck_back = 6; _root.selectBackground(); this.removeMovieClip(); } } button 35 { on (release) { _global.deck_back = 4; _root.selectBackground(); this.removeMovieClip(); } } movieClip 36 bgbutton { } movieClip 51 { frame 1 { stop(); gotoAndStop(_global.deck_number); } } button 52 { on (press) { x = _x; y = _y; _root.pressEvent(_name); startDrag(this, false); } on (release, releaseOutside) { stopDrag(); _root.releaseEvent(_name, x, y); } } movieClip 53 { frame 1 { attachMovie('bgmc1', 'bg', 0); stop(); } frame 2 { attachMovie('bgmc2', 'bg', 0); stop(); } frame 3 { attachMovie('bgmc3', 'bg', 0); stop(); } frame 4 { attachMovie('bgmc4', 'bg', 0); stop(); } frame 5 { attachMovie('bgmc5', 'bg', 0); stop(); } frame 6 { attachMovie('bgmc6', 'bg', 0); stop(); } } movieClip 54 c134 { frame 1 { stop(); } frame 19 { gotoAndStop(1); } frame 20 { stop(); } } movieClip 69 { frame 1 { stop(); gotoAndStop(_global.deck_number); } } button 70 { on (press) { x = _x; y = _y; _root.pressEvent(_name); startDrag(this, false); } on (release, releaseOutside) { stopDrag(); _root.releaseEvent(_name, x, y); } } movieClip 71 c124 { frame 1 { stop(); } frame 19 { gotoAndStop(1); } frame 20 { stop(); } } movieClip 86 { frame 1 { stop(); gotoAndStop(_global.deck_number); } } button 87 { on (press) { x = _x; y = _y; _root.pressEvent(_name); startDrag(this, false); } on (release) { stopDrag(); _root.releaseEvent(_name, x, y); } } movieClip 88 c114 { frame 1 { stop(); } frame 19 { gotoAndStop(1); } frame 20 { stop(); } } movieClip 103 { frame 1 { stop(); gotoAndStop(_global.deck_number); } } button 104 { on (press) { x = _x; y = _y; _root.pressEvent(_name); startDrag(this, false); } on (release, releaseOutside) { stopDrag(); _root.releaseEvent(_name, x, y); } } movieClip 105 c104 { frame 1 { stop(); } frame 19 { gotoAndStop(1); } frame 20 { stop(); } } movieClip 120 { frame 1 { stop(); gotoAndStop(_global.deck_number); } } button 121 { on (press) { x = _x; y = _y; _root.pressEvent(_name); startDrag(this, false); } on (release, releaseOutside) { stopDrag(); _root.releaseEvent(_name, x, y); } } movieClip 122 c094 { frame 1 { stop(); } frame 19 { gotoAndStop(1); } frame 20 { stop(); } } movieClip 137 { frame 1 { stop(); gotoAndStop(_global.deck_number); } } button 138 { on (press) { x = _x; y = _y; _root.pressEvent(_name); startDrag(this, false); } on (release, releaseOutside) { stopDrag(); _root.releaseEvent(_name, x, y); } } movieClip 139 c084 { frame 1 { stop(); } frame 19 { gotoAndStop(1); } frame 20 { stop(); } } movieClip 154 { frame 1 { stop(); gotoAndStop(_global.deck_number); } } button 155 { on (press) { x = _x; y = _y; _root.pressEvent(_name); startDrag(this, false); } on (release, releaseOutside) { stopDrag(); _root.releaseEvent(_name, x, y); } } movieClip 156 c074 { frame 1 { stop(); } frame 19 { gotoAndStop(1); } frame 20 { stop(); } } movieClip 171 { frame 1 { stop(); gotoAndStop(_global.deck_number); } } button 172 { on (press) { x = _x; y = _y; _root.pressEvent(_name); startDrag(this, false); } on (release, releaseOutside) { stopDrag(); _root.releaseEvent(_name, x, y); } } movieClip 173 c064 { frame 1 { stop(); } frame 19 { gotoAndStop(1); } frame 20 { stop(); } } movieClip 188 { frame 1 { stop(); gotoAndStop(_global.deck_number); } } button 189 { on (press) { x = _x; y = _y; _root.pressEvent(_name); startDrag(this, false); } on (release, releaseOutside) { stopDrag(); _root.releaseEvent(_name, x, y); } } movieClip 190 c054 { frame 1 { stop(); } frame 19 { gotoAndStop(1); } frame 20 { stop(); } } movieClip 205 { frame 1 { stop(); gotoAndStop(_global.deck_number); } } button 206 { on (press) { x = _x; y = _y; _root.pressEvent(_name); startDrag(this, false); } on (release, releaseOutside) { stopDrag(); _root.releaseEvent(_name, x, y); } } movieClip 207 c044 { frame 1 { stop(); } frame 19 { gotoAndStop(1); } frame 20 { stop(); } } movieClip 222 { frame 1 { stop(); gotoAndStop(_global.deck_number); } } button 223 { on (press) { x = _x; y = _y; _root.pressEvent(_name); startDrag(this, false); } on (release, releaseOutside) { stopDrag(); _root.releaseEvent(_name, x, y); } } movieClip 224 c034 { frame 1 { stop(); } frame 19 { gotoAndStop(1); } frame 20 { stop(); } } movieClip 239 { frame 1 { stop(); gotoAndStop(_global.deck_number); } } button 240 { on (press) { x = _x; y = _y; _root.pressEvent(_name); startDrag(this, false); } on (release, releaseOutside) { stopDrag(); _root.releaseEvent(_name, x, y); } } movieClip 241 c024 { frame 1 { stop(); } frame 19 { gotoAndStop(1); } frame 20 { stop(); } } movieClip 256 { frame 1 { stop(); gotoAndStop(_global.deck_number); } } button 257 { on (press) { x = _x; y = _y; _root.pressEvent(_name); startDrag(this, false); } on (release, releaseOutside) { stopDrag(); _root.releaseEvent(_name, x, y); } } movieClip 258 c014 { frame 1 { stop(); } frame 19 { gotoAndStop(1); } frame 20 { stop(); } } movieClip 273 { frame 1 { stop(); gotoAndStop(_global.deck_number); } } button 274 { on (press) { x = _x; y = _y; _root.pressEvent(_name); startDrag(this, false); } on (release, releaseOutside) { stopDrag(); _root.releaseEvent(_name, x, y); } } movieClip 275 c133 { frame 1 { stop(); } frame 19 { gotoAndStop(1); } frame 20 { stop(); } } movieClip 290 { frame 1 { stop(); gotoAndStop(_global.deck_number); } } button 291 { on (press) { x = _x; y = _y; _root.pressEvent(_name); startDrag(this, false); } on (release, releaseOutside) { stopDrag(); _root.releaseEvent(_name, x, y); } } movieClip 292 c123 { frame 1 { stop(); } frame 19 { gotoAndStop(1); } frame 20 { stop(); } } movieClip 307 { frame 1 { stop(); gotoAndStop(_global.deck_number); } } button 308 { on (press) { x = _x; y = _y; _root.pressEvent(_name); startDrag(this, false); } on (release, releaseOutside) { stopDrag(); _root.releaseEvent(_name, x, y); } } movieClip 309 c113 { frame 1 { stop(); } frame 19 { gotoAndStop(1); } frame 20 { stop(); } } movieClip 324 { frame 1 { stop(); gotoAndStop(_global.deck_number); } } button 325 { on (press) { x = _x; y = _y; _root.pressEvent(_name); startDrag(this, false); } on (release, releaseOutside) { stopDrag(); _root.releaseEvent(_name, x, y); } } movieClip 326 c103 { frame 1 { stop(); } frame 19 { gotoAndStop(1); } frame 20 { stop(); } } movieClip 341 { frame 1 { stop(); gotoAndStop(_global.deck_number); } } button 342 { on (press) { x = _x; y = _y; _root.pressEvent(_name); startDrag(this, false); } on (release, releaseOutside) { stopDrag(); _root.releaseEvent(_name, x, y); } } movieClip 343 c093 { frame 1 { stop(); } frame 19 { gotoAndStop(1); } frame 20 { stop(); } } movieClip 358 { frame 1 { stop(); gotoAndStop(_global.deck_number); } } button 359 { on (press) { x = _x; y = _y; _root.pressEvent(_name); startDrag(this, false); } on (release, releaseOutside) { stopDrag(); _root.releaseEvent(_name, x, y); } } movieClip 360 c083 { frame 1 { stop(); } frame 19 { gotoAndStop(1); } frame 20 { stop(); } } movieClip 375 { frame 1 { stop(); gotoAndStop(_global.deck_number); } } button 376 { on (press) { x = _x; y = _y; _root.pressEvent(_name); startDrag(this, false); } on (release, releaseOutside) { stopDrag(); _root.releaseEvent(_name, x, y); } } movieClip 377 c073 { frame 1 { stop(); } frame 19 { gotoAndStop(1); } frame 20 { stop(); } } movieClip 392 { frame 1 { stop(); gotoAndStop(_global.deck_number); } } button 393 { on (press) { x = _x; y = _y; _root.pressEvent(_name); startDrag(this, false); } on (release, releaseOutside) { stopDrag(); _root.releaseEvent(_name, x, y); } } movieClip 394 c063 { frame 1 { stop(); } frame 19 { gotoAndStop(1); } frame 20 { stop(); } } movieClip 409 { frame 1 { stop(); gotoAndStop(_global.deck_number); } } button 410 { on (press) { x = _x; y = _y; _root.pressEvent(_name); startDrag(this, false); } on (release, releaseOutside) { stopDrag(); _root.releaseEvent(_name, x, y); } } movieClip 411 c053 { frame 1 { stop(); } frame 19 { gotoAndStop(1); } frame 20 { stop(); } } movieClip 426 { frame 1 { stop(); gotoAndStop(_global.deck_number); } } button 427 { on (press) { x = _x; y = _y; _root.pressEvent(_name); startDrag(this, false); } on (release, releaseOutside) { stopDrag(); _root.releaseEvent(_name, x, y); } } movieClip 428 c043 { frame 1 { stop(); } frame 19 { gotoAndStop(1); } frame 20 { stop(); } } movieClip 443 { frame 1 { stop(); gotoAndStop(_global.deck_number); } } button 444 { on (press) { x = _x; y = _y; _root.pressEvent(_name); startDrag(this, false); } on (release, releaseOutside) { stopDrag(); _root.releaseEvent(_name, x, y); } } movieClip 445 c033 { frame 1 { stop(); } frame 19 { gotoAndStop(1); } frame 20 { stop(); } } movieClip 460 { frame 1 { stop(); gotoAndStop(_global.deck_number); } } button 461 { on (press) { x = _x; y = _y; _root.pressEvent(_name); startDrag(this, false); } on (release, releaseOutside) { stopDrag(); _root.releaseEvent(_name, x, y); } } movieClip 462 c023 { frame 1 { stop(); } frame 19 { gotoAndStop(1); } frame 20 { stop(); } } movieClip 477 { frame 1 { stop(); gotoAndStop(_global.deck_number); } } button 478 { on (press) { x = _x; y = _y; _root.pressEvent(_name); startDrag(this, false); } on (release, releaseOutside) { stopDrag(); _root.releaseEvent(_name, x, y); } } movieClip 479 c013 { frame 1 { stop(); } frame 19 { gotoAndStop(1); } frame 20 { stop(); } } movieClip 494 { frame 1 { stop(); gotoAndStop(_global.deck_number); } } button 495 { on (press) { x = _x; y = _y; _root.pressEvent(_name); startDrag(this, false); } on (release, releaseOutside) { stopDrag(); _root.releaseEvent(_name, x, y); } } movieClip 496 c131 { frame 1 { stop(); } frame 19 { gotoAndStop(1); } frame 20 { stop(); } } movieClip 511 { frame 1 { stop(); gotoAndStop(_global.deck_number); } } button 512 { on (press) { x = _x; y = _y; _root.pressEvent(_name); startDrag(this, false); } on (release, releaseOutside) { stopDrag(); _root.releaseEvent(_name, x, y); } } movieClip 513 c121 { frame 1 { stop(); } frame 19 { gotoAndStop(1); } frame 20 { stop(); } } movieClip 528 { frame 1 { stop(); gotoAndStop(_global.deck_number); } } button 529 { on (press) { x = _x; y = _y; _root.pressEvent(_name); startDrag(this, false); } on (release, releaseOutside) { stopDrag(); _root.releaseEvent(_name, x, y); } } movieClip 530 c111 { frame 1 { stop(); } frame 19 { gotoAndStop(1); } frame 20 { stop(); } } movieClip 545 { frame 1 { stop(); gotoAndStop(_global.deck_number); } } button 546 { on (press) { x = _x; y = _y; _root.pressEvent(_name); startDrag(this, false); } on (release, releaseOutside) { stopDrag(); _root.releaseEvent(_name, x, y); } } movieClip 547 c101 { frame 1 { stop(); } frame 19 { gotoAndStop(1); } frame 20 { stop(); } } movieClip 562 { frame 1 { stop(); gotoAndStop(_global.deck_number); } } button 563 { on (press) { x = _x; y = _y; _root.pressEvent(_name); startDrag(this, false); } on (release, releaseOutside) { stopDrag(); _root.releaseEvent(_name, x, y); } } movieClip 564 c091 { frame 1 { stop(); } frame 19 { gotoAndStop(1); } frame 20 { stop(); } } movieClip 579 { frame 1 { stop(); gotoAndStop(_global.deck_number); } } button 580 { on (press) { x = _x; y = _y; _root.pressEvent(_name); startDrag(this, false); } on (release, releaseOutside) { stopDrag(); _root.releaseEvent(_name, x, y); } } movieClip 581 c081 { frame 1 { stop(); } frame 19 { gotoAndStop(1); } frame 20 { stop(); } } movieClip 596 { frame 1 { stop(); gotoAndStop(_global.deck_number); } } button 597 { on (press) { x = _x; y = _y; _root.pressEvent(_name); startDrag(this, false); } on (release, releaseOutside) { stopDrag(); _root.releaseEvent(_name, x, y); } } movieClip 598 c071 { frame 1 { stop(); } frame 19 { gotoAndStop(1); } frame 20 { stop(); } } movieClip 613 { frame 1 { stop(); gotoAndStop(_global.deck_number); } } button 614 { on (press) { x = _x; y = _y; _root.pressEvent(_name); startDrag(this, false); } on (release, releaseOutside) { stopDrag(); _root.releaseEvent(_name, x, y); } } movieClip 615 c061 { frame 1 { stop(); } frame 19 { gotoAndStop(1); } frame 20 { stop(); } } movieClip 630 { frame 1 { stop(); gotoAndStop(_global.deck_number); } } button 631 { on (press) { x = _x; y = _y; _root.pressEvent(_name); startDrag(this, false); } on (release, releaseOutside) { stopDrag(); _root.releaseEvent(_name, x, y); } } movieClip 632 c051 { frame 1 { stop(); } frame 19 { gotoAndStop(1); } frame 20 { stop(); } } movieClip 647 { frame 1 { stop(); gotoAndStop(_global.deck_number); } } button 648 { on (press) { x = _x; y = _y; _root.pressEvent(_name); startDrag(this, false); } on (release, releaseOutside) { stopDrag(); _root.releaseEvent(_name, x, y); } } movieClip 649 c041 { frame 1 { stop(); } frame 19 { gotoAndStop(1); } frame 20 { stop(); } } movieClip 664 { frame 1 { stop(); gotoAndStop(_global.deck_number); } } button 665 { on (press) { x = _x; y = _y; _root.pressEvent(_name); startDrag(this, false); } on (release, releaseOutside) { stopDrag(); _root.releaseEvent(_name, x, y); } } movieClip 666 c031 { frame 1 { stop(); } frame 19 { gotoAndStop(1); } frame 20 { stop(); } } movieClip 681 { frame 1 { stop(); gotoAndStop(_global.deck_number); } } button 682 { on (press) { x = _x; y = _y; _root.pressEvent(_name); startDrag(this, false); } on (release, releaseOutside) { stopDrag(); _root.releaseEvent(_name, x, y); } } movieClip 683 c021 { frame 1 { stop(); } frame 19 { gotoAndStop(1); } frame 20 { stop(); } } movieClip 698 { frame 1 { stop(); gotoAndStop(_global.deck_number); } } button 699 { on (press) { x = _x; y = _y; _root.pressEvent(_name); startDrag(this, false); } on (release, releaseOutside) { stopDrag(); _root.releaseEvent(_name, x, y); } } movieClip 700 c011 { frame 1 { stop(); } frame 19 { gotoAndStop(1); } frame 20 { stop(); } } movieClip 715 { frame 1 { stop(); gotoAndStop(_global.deck_number); } } button 716 { on (press) { x = _x; y = _y; _root.pressEvent(_name); startDrag(this, false); } on (release, releaseOutside) { stopDrag(); _root.releaseEvent(_name, x, y); } } movieClip 717 c132 { frame 1 { stop(); } frame 19 { gotoAndStop(1); } frame 20 { stop(); } } movieClip 732 { frame 1 { stop(); gotoAndStop(_global.deck_number); } } button 733 { on (press) { x = _x; y = _y; _root.pressEvent(_name); startDrag(this, false); } on (release, releaseOutside) { stopDrag(); _root.releaseEvent(_name, x, y); } } movieClip 734 c122 { frame 1 { stop(); } frame 19 { gotoAndStop(1); } frame 20 { stop(); } } movieClip 749 { frame 1 { stop(); gotoAndStop(_global.deck_number); } } button 750 { on (press) { x = _x; y = _y; _root.pressEvent(_name); startDrag(this, false); } on (release, releaseOutside) { stopDrag(); _root.releaseEvent(_name, x, y); } } movieClip 751 c112 { frame 1 { stop(); } frame 19 { gotoAndStop(1); } frame 20 { stop(); } } movieClip 766 { frame 1 { stop(); gotoAndStop(_global.deck_number); } } button 767 { on (press) { x = _x; y = _y; _root.pressEvent(_name); startDrag(this, false); } on (release, releaseOutside) { stopDrag(); _root.releaseEvent(_name, x, y); } } movieClip 768 c102 { frame 1 { stop(); } frame 19 { gotoAndStop(1); } frame 20 { stop(); } } movieClip 783 { frame 1 { stop(); gotoAndStop(_global.deck_number); } } button 784 { on (press) { x = _x; y = _y; _root.pressEvent(_name); startDrag(this, false); } on (release, releaseOutside) { stopDrag(); _root.releaseEvent(_name, x, y); } } movieClip 785 c092 { frame 1 { stop(); } frame 19 { gotoAndStop(1); } frame 20 { stop(); } } movieClip 800 { frame 1 { stop(); gotoAndStop(_global.deck_number); } } button 801 { on (press) { x = _x; y = _y; _root.pressEvent(_name); startDrag(this, false); } on (release, releaseOutside) { stopDrag(); _root.releaseEvent(_name, x, y); } } movieClip 802 c082 { frame 1 { stop(); } frame 19 { gotoAndStop(1); } frame 20 { stop(); } } movieClip 817 { frame 1 { stop(); gotoAndStop(_global.deck_number); } } button 818 { on (press) { x = _x; y = _y; _root.pressEvent(_name); startDrag(this, false); } on (release, releaseOutside) { stopDrag(); _root.releaseEvent(_name, x, y); } } movieClip 819 c072 { frame 1 { stop(); } frame 19 { gotoAndStop(1); } frame 20 { stop(); } } movieClip 834 { frame 1 { stop(); gotoAndStop(_global.deck_number); } } button 835 { on (press) { x = _x; y = _y; _root.pressEvent(_name); startDrag(this, false); } on (release, releaseOutside) { stopDrag(); _root.releaseEvent(_name, x, y); } } movieClip 836 c062 { frame 1 { stop(); } frame 19 { gotoAndStop(1); } frame 20 { stop(); } } movieClip 851 { frame 1 { stop(); gotoAndStop(_global.deck_number); } } button 852 { on (press) { x = _x; y = _y; _root.pressEvent(_name); startDrag(this, false); } on (release, releaseOutside) { stopDrag(); _root.releaseEvent(_name, x, y); } } movieClip 853 c052 { frame 1 { stop(); } frame 19 { gotoAndStop(1); } frame 20 { stop(); } } movieClip 868 { frame 1 { stop(); gotoAndStop(_global.deck_number); } } button 869 { on (press) { x = _x; y = _y; _root.pressEvent(_name); startDrag(this, false); } on (release, releaseOutside) { stopDrag(); _root.releaseEvent(_name, x, y); } } movieClip 870 c042 { frame 1 { stop(); } frame 19 { gotoAndStop(1); } frame 20 { stop(); } } movieClip 885 { frame 1 { stop(); gotoAndStop(_global.deck_number); } } button 886 { on (press) { x = _x; y = _y; _root.pressEvent(_name); startDrag(this, false); } on (release, releaseOutside) { stopDrag(); _root.releaseEvent(_name, x, y); } } movieClip 887 c032 { frame 1 { stop(); } frame 19 { gotoAndStop(1); } frame 20 { stop(); } } movieClip 902 { frame 1 { stop(); gotoAndStop(_global.deck_number); } } button 903 { on (press) { x = _x; y = _y; _root.pressEvent(_name); startDrag(this, false); } on (release, releaseOutside) { stopDrag(); _root.releaseEvent(_name, x, y); } } movieClip 904 c022 { frame 1 { stop(); } frame 19 { gotoAndStop(1); } frame 20 { stop(); } } movieClip 919 { frame 1 { stop(); gotoAndStop(_global.deck_number); } } button 920 { on (press) { x = _x; y = _y; _root.pressEvent(_name); startDrag(this, false); } on (release, releaseOutside) { stopDrag(); trace(_name); _root.releaseEvent(_name, x, y); } } movieClip 921 c012 { frame 1 { stop(); } frame 19 { gotoAndStop(1); } frame 20 { stop(); } } frame 1 { function createExplosion(targetX, targetY) { var v6 = 0; while (v6 < particleTotal) { var v5 = flash.display.BitmapData.loadBitmap('sparkle_purple'); var v3 = _root.createEmptyMovieClip('main_holder', _root.getNextHighestDepth()); var v4 = v3.createEmptyMovieClip('internal_holder', v3.getNextHighestDepth()); v4._x = -v5.width / 2; v4._y = -v5.height / 2; v4.attachBitmap(v5, v4.getNextHighestDepth(), 'never', true); v3._x = targetX; v3._y = targetY; v3._rotation = random(360); v3._alpha = random(40) + 40; v3.boundyLeft = targetX - particleRange; v3.boundyTop = targetY - particleRange; v3.boundyRight = targetX + particleRange; v3.boundyBottom = targetY + particleRange; v3.speedX = Math.random(particleMaxSpeed) - Math.random(particleMaxSpeed); v3.speedY = Math.random(particleMaxSpeed) - Math.random(particleMaxSpeed); v3.speedX *= particleMaxSpeed; v3.speedY *= particleMaxSpeed; v3.fadeSpeed = Math.random(particleFadeSpeed) * particleFadeSpeed; ++numberOfParticles; v3.onEnterFrame = function () { this._alpha -= this.fadeSpeed; this._x += this.speedX; this._y += this.speedY; if (this._alpha <= 0 || this._x < this.boundyLeft || this._x > this.boundyRight || this._y < this.boundyTop || this._y > this.boundyBottom) { this.removeMovieClip(); --numberOfParticles; } }; ++v6; } } var particleMaxSpeed = 2; var particleFadeSpeed = 15; var particleTotal = 1; var particleRange = 58; mouseListener = new Object(); mouseListener.onMouseMove = function () { createExplosion(_xmouse + 8, _ymouse + 18); }; Mouse.addListener(mouseListener); } frame 1 { _global.story_mode = 0; _global.story_level = 1; _global.game_complete = 0; _global.scene_watched = 0; _global.story_fade = 0; _global.story_frame_num = 0; _global.gotoFrame = 0; _global.depth_swapped = 0; _global.deck_number = 1; _global.deck_back = 1; _global.deckDraw = 1; _global.goto_frame_num = 0; _global.game_seconds = 0; _global.game_minutes = 0; _global.game_hours = 0; _global.secret_level = 0; } movieClip 926 { } movieClip 928 { } movieClip 931 { } movieClip 934 { } movieClip 936 { } movieClip 938 { } movieClip 940 { } movieClip 943 { } movieClip 946 { } movieClip 948 { } movieClip 966 { } movieClip 969 { } movieClip 971 { } movieClip 974 { } movieClip 978 { } movieClip 979 { } movieClip 981 { } movieClip 983 { } // unknown tag 88 length 84 movieClip 988 { } movieClip 998 { } movieClip 1000 { } movieClip 1002 { } movieClip 1005 { } movieClip 1006 { } movieClip 1012 { } movieClip 1014 { } movieClip 1017 { } movieClip 1020 { } movieClip 1030 { } movieClip 1032 { frame 40 { stop(); } } movieClip 1043 { } button 1044 { on (release) { startMovie(); } } movieClip 1045 { frame 1 { function timerHandler() { if (!loadingComplete) { var v4 = _root.getBytesLoaded() / _root.getBytesTotal(); bar._xscale = 100 * v4; if (v4 == 1) { loadingComplete = true; if (AUTO_PLAY) { startMovie(); } else { gotoAndStop('loaded'); } return undefined; } } dt = getTimer() - time; time += dt; frameAccum += dt; var v3 = 0; for (;;) { if (!(frameAccum >= FRAME_TIME && v3 < MAX_FRAME_SKIP)) break; advanceFrame(tankLogo, true, true); advanceFrame(loadingText, false, true); advanceFrame(barGfx, false, true); if (loadingComplete) { advanceFrame(this, false, false); } frameAccum -= FRAME_TIME; v3++; } updateAfterEvent(); } function advanceFrame(clip, recurse, loop) { if (!clip) { return undefined; } clip.stop(); if (clip._currentframe == clip._totalframes) { if (loop) { clip.gotoAndStop(1); } } else { clip.nextFrame(); } if (recurse) { for (childName in clip) { if (typeof clip[childName] == 'movieclip') { advanceFrame(clip[childName], recurse, loop); } } } } function startMovie() { clearInterval(intervalId); _root.play(); } _root.stop(); stop(); var FRAME_TIME = 33.33333333333334; var AUTO_PLAY = false; var MAX_FRAME_SKIP = 5; var loadingComplete; var intervalId; var time; var frameAccum; loadingComplete = false; intervalId = setInterval(this, 'timerHandler', FRAME_TIME / 2); frameAccum = 0; time = getTimer(); timerHandler(); } } // unknown tag 88 length 63 button 1053 { on (release) { getURL('http://www.ucogi.com/', '_blank'); } } button 1058 { on (release) { getURL('http://offbeatr.com/project/mogi-origins-ero-platformer-12701231334/', '_blank'); } } movieClip 1060 { } movieClip 1062 { } instance mouse_cursor of movieClip 1062 { onClipEvent (enterFrame) { this._x = _root._xmouse; this._y = _root._ymouse; Mouse.hide(); } } frame 2 { function deadClick() {} function gotoMySite() { getURL('http://www.Ucogi.com', '_top'); } Button.prototype.tabEnabled = false; var theMenu = new ContextMenu(); theMenu.hideBuiltInItems(); var copyrightNotice = new ContextMenuItem('Copyright © 2013 Victor A (Veins)', deadClick); var mySiteLink = new ContextMenuItem('Ucogi.com', gotoMySite); theMenu.customItems.push(mySiteLink, copyrightNotice); copyrightNotice.separatorBefore = true; _root.menu = theMenu; } frame 2 { _global.story_mode = 0; _global.instructions = 1; stop(); } movieClip 1065 { } movieClip 1067 { } movieClip 1069 { } movieClip 1073 { } movieClip 1075 { } movieClip 1077 { } movieClip 1078 { } movieClip 1081 { } movieClip 1085 { } movieClip 1088 { } movieClip 1095 { } movieClip 1097 { } movieClip 1100 { } movieClip 1103 { } movieClip 1108 { frame 1 { stop(); } frame 2 { play(); } frame 25 { gotoAndStop(1); } frame 26 { play(); } frame 36 { gotoAndStop(1); } frame 37 { play(); } frame 47 { gotoAndStop(1); } } movieClip 1114 { frame 1 { stop(); this.onRollOver = function () { gotoAndPlay('on'); }; this.onRollOut = function () { gotoAndPlay('off'); }; this.onRelease = function () { if (_root.fader._currentframe == 1) { _global.story_fade = 0; _global.goto_frame_num = 6; _global.story_mode = 1; _global.story_level = 1; _global.done_loading = 0; SQ_so = SharedObject.getLocal('squest'); if (SQ_so.data.saved_data != undefined) { while (_global.done_loading != 1) { _global.story_mode = SQ_so.data.story_mode; _global.story_level = SQ_so.data.story_level; _global.game_complete = SQ_so.data.game_complete; _global.scene_watched = SQ_so.data.scene_watched; _global.done_loading = SQ_so.data.done; } } else { trace('no save data found'); } _global.done_loading = 0; _root.fader.gotoAndPlay(2); } }; } frame 6 { stop(); } } movieClip 1118 { frame 1 { stop(); this.onRollOver = function () { gotoAndPlay('on'); }; this.onRollOut = function () { gotoAndPlay('off'); }; this.onRelease = function () { if (_root.fader._currentframe == 1) { _global.goto_frame_num = 3; _root.fader.gotoAndPlay(2); } }; } frame 6 { stop(); } } movieClip 1122 { frame 1 { stop(); this.onRollOver = function () { gotoAndPlay('on'); }; this.onRollOut = function () { gotoAndPlay('off'); }; this.onRelease = function () { if (_root.fader._currentframe == 1) { _global.goto_frame_num = 4; _root.fader.gotoAndPlay(2); } }; } frame 6 { stop(); } } movieClip 1126 { frame 1 { stop(); this.onRollOver = function () { gotoAndPlay('on'); }; this.onRollOut = function () { gotoAndPlay('off'); }; this.onRelease = function () { if (_root.fader._currentframe == 1) { _global.goto_frame_num = 3; _root.fader.gotoAndPlay(2); } }; } frame 6 { stop(); } } instance of movieClip 1126 { onClipEvent (release) { _root.gotoAndStop('DeletaData'); } } button 1129 { on (release) { stopAllSounds(); gotoAndStop(2); } } button 1132 { on (release) { if (_root._currentframe < 4) { _root.stageImusic.start(0, 99); } else { if (_root._currentframe < 5) { _root.stageXmusic.start(0, 99); } else { if (_root._currentframe == 5) { _root.music_select(_global.story_level); } else { if (_root._currentframe == 6) { if (_root.story._currentframe < 5) { _root.stageXmusic.start(0, 99); } else { if (_root.story._currentframe < 26) { _root.stage1music.start(0, 99); } else { _root.stageEmusic.start(0, 99); } } } } } } gotoAndStop(1); } } movieClip 1133 { frame 1 { stop(); } frame 2 { stopAllSounds(); } } button 1135 { on (release) { _root.debug_end(); } } movieClip 1142 { frame 1 { stop(); } frame 2 { this.swapDepths(1000); } frame 14 { if (_root._currentframe != 6) { stopAllSounds(); } } frame 15 { if (_global.story_fade == 1) { _global.story_fade = 0; _global.goto_frame_num = 0; _root.story.gotoAndStop(_global.story_frame_num + 1); } else { if (_global.goto_frame_num > 0) { if (_root._currentframe == 5) { _root.back.removeMovieClip(); _root.restart(); } _global.gotoFrame = _global.goto_frame_num; _global.story_fade = 0; _global.goto_frame_num = 0; _root.gotoAndStop(_global.gotoFrame); } } } frame 34 { gotoAndStop(1); } } frame 3 { stop(); _root.back_button._visible = true; } movieClip 1151 { } movieClip 1153 { } movieClip 1155 { } movieClip 1156 { } // unknown tag 88 length 68 button 1164 { on (release) { getURL('http://www.vic.com.gr', '_blank'); } } button 1166 { on (release) { getURL('http://www.spiralvortexplay.com', '_blank'); } } button 1171 { on (release) { getURL('http://www.freestockmusic.com', '_blank'); } } movieClip 1182 { frame 1 { stop(); this.onRollOver = function () { gotoAndPlay('on'); }; this.onRollOut = function () { gotoAndPlay('off'); }; this.onRelease = function () { if (_root._currentframe == 5) { _root.back_to_map(); } else { if (_root.story.secretgallery._currentframe > 1) { _root.story.secretgallery.gotoAndStop(1); } else { if (_root.story.secretgallery._currentframe == 1) { _root.story.gotoAndStop(26); } else { if (_root._currentframe == 6 && _root.story._currentframe == 1) { _root.gotoAndStop(2); } else { if (_root._currentframe == 6 && _root.story._currentframe == 3) { _root.story.gotoAndStop(_root.story._currentframe - 1); } else { if (_root._currentframe == 6 && _root.story._currentframe == 7) { _root.story.gotoAndStop(_root.story._currentframe - 1); } else { if (_root._currentframe == 6 && _root.story._currentframe == 11) { _root.story.gotoAndStop(_root.story._currentframe - 1); } else { if (_root._currentframe == 6 && _root.story._currentframe == 15) { _root.story.gotoAndStop(_root.story._currentframe - 1); } else { if (_root._currentframe == 6 && _root.story._currentframe == 19) { _root.story.gotoAndStop(_root.story._currentframe - 1); } else { if (_root._currentframe == 6 && _root.story._currentframe == 23) { _root.story.gotoAndStop(_root.story._currentframe - 1); } else { if (_root._currentframe == 6) { _global.saved_data = 1; SQ_so = SharedObject.getLocal('squest'); SQ_so.data.saved_data = _global.saved_data; SQ_so.data.story_mode = _global.story_mode; SQ_so.data.story_level = _global.story_level; SQ_so.data.game_complete = _global.game_complete; SQ_so.data.scene_watched = _global.scene_watched; SQ_so.data.done = 1; trace('saved data'); _parent.gotoAndPlay('Mainmenu'); } else { _parent.gotoAndPlay('Mainmenu'); } } } } } } } } } } } }; } frame 6 { stop(); } } button 1184 { on (release) { stopAllSounds(); gotoAndStop(2); } } button 1185 { on (release) { if (_root._currentframe < 4) { _root.stageImusic.start(0, 99); } else { if (_root._currentframe < 5) { _root.stageXmusic.start(0, 99); } else { if (_root._currentframe == 5) { _root.music_select(_global.story_level); } else { if (_root._currentframe == 6) { if (_root.story._currentframe < 5) { _root.stageXmusic.start(0, 99); } else { if (_root.story._currentframe < 26) { _root.stage1music.start(0, 99); } else { _root.stageEmusic.start(0, 99); } } } } } } gotoAndStop(1); } } movieClip 1186 { frame 1 { stop(); } frame 2 { stopAllSounds(); } } frame 4 { stop(); _root.back_button._visible = true; } movieClip 1189 { } movieClip 1191 { } button 1196 { on (press) { gotoAndPlay('start tut'); } } button 1200 { on (press) { gotoAndPlay('page2'); } } // unknown tag 88 length 73 movieClip 1206 { } movieClip 1209 { } movieClip 1213 { } movieClip 1222 { } movieClip 1225 { } movieClip 1232 { } movieClip 1235 { } movieClip 1238 { } // unknown tag 88 length 68 movieClip 1242 { } movieClip 1243 { frame 6 { stop(); } } button 1244 { on (press) { gotoAndPlay('page1'); } } button 1245 { on (press) { gotoAndPlay('page3'); } } movieClip 1254 { } movieClip 1255 { frame 6 { stop(); } } movieClip 1258 { frame 10 { stop(); } } button 1261 { on (press) { gotoAndPlay('page4'); } } movieClip 1266 { } movieClip 1267 { frame 6 { stop(); } } movieClip 1272 { } button 1273 { on (press) { gotoAndPlay('page5'); } } movieClip 1278 { } movieClip 1279 { frame 6 { stop(); } } movieClip 1281 { } movieClip 1282 { frame 9 { stop(); } } movieClip 1287 { } movieClip 1288 { } movieClip 1305 { } button 1306 { on (press) { gotoAndPlay('page6'); } } movieClip 1309 { } movieClip 1310 { frame 6 { stop(); } } movieClip 1314 { } movieClip 1317 { } movieClip 1319 { } movieClip 1321 { } movieClip 1322 { } movieClip 1323 { } movieClip 1324 { frame 71 { stop(); } } button 1327 { on (press) { gotoAndPlay('page7'); } } movieClip 1330 { } movieClip 1331 { frame 6 { stop(); } } movieClip 1334 { frame 10 { stop(); } } button 1337 { on (press) { gotoAndPlay('page8'); } } movieClip 1340 { } movieClip 1341 { frame 6 { stop(); } } movieClip 1357 { } movieClip 1361 { frame 25 { stop(); } } movieClip 1369 { } movieClip 1373 { frame 25 { stop(); } } button 1379 { on (press) { gotoAndPlay('page9'); } } movieClip 1382 { } movieClip 1383 { frame 6 { stop(); } } movieClip 1394 { } movieClip 1396 { frame 25 { stop(); } } movieClip 1408 { } movieClip 1410 { frame 25 { stop(); } } button 1412 { on (press) { gotoAndPlay('page10'); } } movieClip 1416 { } movieClip 1417 { frame 6 { stop(); } } movieClip 1424 { } movieClip 1428 { frame 25 { stop(); } } button 1440 { on (press) { gotoAndPlay('page11'); } } movieClip 1444 { } movieClip 1445 { frame 6 { stop(); } } movieClip 1447 { } movieClip 1448 { } movieClip 1449 { } movieClip 1450 { frame 60 { stop(); } } button 1453 { on (press) { gotoAndPlay('page12'); } } movieClip 1457 { } movieClip 1458 { frame 6 { stop(); } } movieClip 1462 { } movieClip 1463 { frame 20 { stop(); } } movieClip 1465 { } movieClip 1466 { frame 12 { stop(); } } button 1468 { on (press) { gotoAndPlay('page13'); } } movieClip 1471 { } movieClip 1472 { frame 6 { stop(); } } movieClip 1474 { } movieClip 1475 { } movieClip 1476 { } movieClip 1477 { } movieClip 1478 { } movieClip 1479 { } movieClip 1480 { } movieClip 1481 { } movieClip 1482 { } movieClip 1483 { } movieClip 1484 { } movieClip 1485 { } movieClip 1486 { } movieClip 1488 { frame 26 { stop(); } } movieClip 1490 { } movieClip 1491 { frame 10 { stop(); } } button 1493 { on (press) { gotoAndPlay('page14'); } } movieClip 1496 { } movieClip 1497 { frame 6 { stop(); } } button 1499 { on (press) { gotoAndPlay('page15'); } } movieClip 1505 { } movieClip 1506 { frame 6 { stop(); } } movieClip 1514 { } movieClip 1516 { frame 11 { stop(); } } movieClip 1524 { } movieClip 1525 { frame 6 { stop(); } } movieClip 1527 { frame 1 { } frame 49 { stop(); } frame 59 { stop(); } frame 68 { stop(); } frame 93 { stop(); } frame 105 { stop(); } frame 114 { stop(); } frame 123 { stop(); } frame 133 { stop(); } frame 139 { stop(); } frame 147 { stop(); } frame 156 { stop(); } frame 163 { stop(); } frame 170 { stop(); } frame 180 { stop(); } frame 190 { stop(); } } button 1532 { on (rollOver) { _global.instructions = 2; } on (rollOut) { _global.instructions = 1; } on (release) { _global.instructions = 1; } on (releaseOutside) { _global.instructions = 1; } } frame 5 { function tripleDeck(gName) { aname = gName; var t = eval('' + aname); var t3 = aname; var o = eval('o' + aname); if (o.group == 'a1Cards') { _root.sfx_mc.gotoAndPlay('card_reveal'); deck; while (deck < _global.deckDraw) { aname = a1Cards[a1Cards.length - 1]; t = eval('' + aname); o = eval('o' + aname); t._x = _root.a2._x + 17 * deck; t._y = _root.a2._y; a2long = _root.a2Cards.push(aname); a1long = _root.a1Cards.pop(aname); o.group = 'a2Cards'; o.order = a2long - 1; o.depth = 170 + a2long; _root.attachMovie('deep', 'temp', o.depth); t.swapDepths(_root.temp); _root.temp.removeMovieClip(); t.gotoAndStop(1); ++deck; } var l = 0; while (l < a2Cards.length) { trace(a2Cards[l]); trace(t3); if (a2Cards[l] == t3) { break; } var l4 = eval(a2Cards[l]); l4._x = _root.a2._x; l4._y = _root.a2._y; ++l; } var t1 = eval(a2Cards[a2Cards.length - 1]); var t2 = eval(a2Cards[0]); block._width = t1._x - t2._x; block._x = t1._x - t1._width / 2; block._y = t1._y; deck = 0; } else { if (o.order == (eval('_root.' + o.group)).length - 1) { t.gotoAndStop(1); } } } function game_init() { _global.deck_number = _global.story_level; _global.deck_back = _global.story_level; _root.background_mc.gotoAndStop(_global.story_level); if (_global.secret_level == 1) { _global.secret_level = 0; _global.deckDraw = 3; _global.deck_back = random(6) + 1; _global.deck_number = 7; _root.background_mc.gotoAndStop(7); } } function selectBackground() { lab = _global.deck_back; n = _global.deck_back; i = 0; while (i < 52) { (eval(all[i])).cb.gotoAndStop(n); ++i; } trace('wweeee'); } function restart() { i = 1; while (i <= 4) { j = 0; while (j < 13) { (eval((eval('b' + i + 'Cards'))[j])).removeMovieClip(); ++j; } ++i; } i = 0; while (i < 13) { j = 0; while (j < 4) { this['c' + order1[i] + order2[j]].removeMovieClip(); ++j; } ++i; } i = 0; while (i < 52) { (eval(all[i])).removeMovieClip(); ++i; } _root.back.removeMovieClip(); all = []; all.splice(0); delete allcards; delete cards; } function GetCards(forwho, num, cardDepth) { var card = new Array(); var myCards = new Array(); var myCardsLength = 0; var i = 0; while (i < num) { var n = random(cardslength); card[i] = cards[n]; cards.splice(n, 1); myCardsLength = myCards.push(card[i]); cardslength = cards.length; attachMovie(card[i], card[i], cardDepth); cardDepth += 1; var a = eval(card[i]); var b = eval(forwho); with (a) { if (b == a1) { _x = b._x; _y = b._y; gotoAndStop(20); cb.gotoAndStop(lab); } else { _x = b._x; _y = b._y + 4 * i; if (i < num - 1) { gotoAndStop(20); cb.gotoAndStop(lab); } else { gotoAndStop(1); } } } ++i; } return myCards; } function swap(name) { o = eval('o' + name); var g = eval(o.group); i = o.order; j = 0; while (i < g.length) { (eval(g[i])).swapDepths(eval(swapCards[j])); i++; j++; } } function pressEvent(name) { swap(name); attachMovie('dragMC', 'dragCards', 0); } function releaseEvent(name, x, y) { swap(name); a = eval(name); detect = (eval('o' + name)).group; if (name.substring(1, 3) == '01') { i = 1; while (i <= 4) { var b = eval('b' + i); var c = 'b' + i + 'Cards'; var p = eval('b' + i + 'Cards'); if (a.hitTest(b) && p.length == 0) { a._x = b._x; a._y = b._y; p.push(name); (eval(o.group)).pop(name); o.group = c; o.order = 0; o.depth = 181 + 20 * i; attachMovie('deep', 'temp', 181 + 20 * i); (eval(name)).swapDepths(temp); temp.removeMovieClip(); _root.sfx_mc.gotoAndPlay('card_place'); break; } ++i; } bottom(name); other(detect); } else { if (name.substring(1, 3) == '13') { top(name); i = 1; while (i <= 7) { var b = eval('d' + i); var c = 'd' + i + 'Cards'; var p = eval('d' + i + 'Cards'); var s = p.length; if (a.hitTest(b) && p.length == 0) { _root.card_place.gotoAndPlay(2); k = o.order; j = 0; while (k < (eval(o.group)).length) { d = eval((eval(o.group))[k]); d._x = b._x; d._y = b._y + 15 * j; k++; j++; } k = o.order; while (k < (eval(o.group)).length) { p.push((eval(o.group))[k]); ++k; } (eval(o.group)).splice(o.order, (eval(o.group)).length - o.order); k = s; while (k < p.length) { var h = 20 * i - 19; (eval('o' + p[k])).group = c; (eval('o' + p[k])).order = k; attachMovie('deep', 'temp' + k, h + k); (eval(p[k])).swapDepths(eval('temp' + k)); (eval('o' + p[k])).depth = h + k; (eval('temp' + k)).removeMovieClip(); ++k; } break; } ++i; } other(detect); } else { var cgroup = (String(eval(o.group))).split(','); var i = 0; while (i < cgroup.length) { if (cgroup[i] == name) { if (i + 1 >= cgroup.length) { top(name); break; } else { break; } } ++i; } test = false; bottom(name); other(detect); } } dragCards.removeMovieClip(); var t1 = eval(a2Cards[a2Cards.length - 1]); var t2 = eval(a2Cards[0]); block._width = t1._x - t2._x; block._x = t1._x - t1._width / 2; block._y = t1._y; if (o.group.substring(0, 1) != 'b' && (eval(o.group)).length == o.order + 1) { a.play(); } end(); } function top(name) { i = 1; while (i <= 4) { var c = 'b' + i + 'Cards'; var p = eval('b' + i + 'Cards'); var b = p[p.length - 1]; if (p.length > 0 && a.hitTest(eval(b)) && name.substring(1, 3) - b.substring(1, 3) == 1 && name.substring(3, 4) - b.substring(3, 4) == 0) { _root.sfx_mc.gotoAndPlay(2); trace('=========================================================='); a._x = (eval(b))._x; a._y = (eval(b))._y; p.push(name); (eval(o.group)).pop(name); o.group = c; o.order = p.length - 1; o.depth = (eval('o' + p[p.length - 2])).depth + 1; trace('----------top------------------'); trace('p.length:' + p.length); trace('o.order:' + o.order); trace('o.depth:' + o.depth); trace('c:' + c); trace('p:' + p); trace('p.length:' + p.length); trace('b:' + b); trace('eval(o.group).length:' + (eval(o.group)).length); attachMovie('deep', 'temp', o.depth); trace('temp:' + temp); trace('temp-length:' + temp.length); trace('temp-depth:' + temp.depth); (eval(name)).swapDepths(temp); trace('afterswap'); trace('temp:' + temp); trace('temp-length:' + temp.length); trace('temp-depth:' + temp.depth); temp.removeMovieClip(); break; } ++i; } } function bottom(name) { i = 1; while (i <= 7) { var c = 'd' + i + 'Cards'; var p = eval('d' + i + 'Cards'); var s = p.length; var t = p[p.length - 1]; var b = eval(t); if (a.hitTest(b) && b._currentframe == 1 && t.substring(1, 3) - name.substring(1, 3) == 1 && Math.abs(t.substring(3, 4) - name.substring(3, 4)) % 2 != 0) { _root.sfx_mc.gotoAndPlay(2); trace('----------bottom------------------'); trace('c:' + c); trace('p:' + p); trace('s:' + s); trace('t:' + t); trace('b:' + b); k = o.order; j = 1; while (k < (eval(o.group)).length) { d = eval((eval(o.group))[k]); d._x = b._x; d._y = b._y + 15 * j; k++; j++; } k = o.order; while (k < (eval(o.group)).length) { p.push((eval(o.group))[k]); ++k; } (eval(o.group)).splice(o.order, (eval(o.group)).length - o.order); k = s; while (k < p.length) { var h = 20 * i - 19; (eval('o' + p[k])).group = c; (eval('o' + p[k])).order = k; attachMovie('deep', 'temp' + k, h + k); (eval(p[k])).swapDepths(eval('temp' + k)); (eval('o' + p[k])).depth = h + k; (eval('temp' + k)).removeMovieClip(); ++k; } break; } ++i; } } function other(detect) { if (detect == o.group) { _root.sfx_mc.gotoAndPlay(2); trace('other----------------------'); trace('detect:' + detect); trace('eval(o.group).length:' + (eval(o.group)).length); eval(o.group); trace('a:' + a); i = o.order; j = 0; while (i < (eval(o.group)).length) { b = eval((eval(o.group))[i]); b._x = a.x; b._y = a.y + 15 * j; i++; j++; } } } function double(name) { o = eval('o' + name); a = eval(name); if (name.substring(1, 3) == '01') { i = 1; while (i <= 4) { var b = eval('b' + i); var c = 'b' + i + 'Cards'; var p = eval('b' + i + 'Cards'); if (p.length == 0) { a._x = b._x; a._y = b._y; p.push(name); (eval(o.group)).pop(name); o.group = c; o.order = 0; o.depth = 181 + 20 * i; attachMovie('deep', 'temp', 181 + 20 * i); (eval(name)).swapDepths(temp); temp.removeMovieClip(); break; } ++i; } } else { i = 1; while (i <= 4) { var c = 'b' + i + 'Cards'; var p = eval('b' + i + 'Cards'); var b = p[p.length - 1]; if (p.length > 0 && name.substring(1, 3) - b.substring(1, 3) == 1 && name.substring(3, 4) - b.substring(3, 4) == 0) { a._x = (eval(b))._x; a._y = (eval(b))._y; p.push(name); (eval(o.group)).pop(name); o.group = c; o.order = p.length - 1; o.depth = (eval('o' + p[p.length - 2])).depth + 1; attachMovie('deep', 'temp', o.depth); (eval(name)).swapDepths(temp); temp.removeMovieClip(); break; } ++i; } } end(); } function end() { if (b1Cards.length == 13 && b2Cards.length == 13 && b3Cards.length == 13 && b4Cards.length == 13) { i = 1; while (i <= 4) { j = 0; while (j < 13) { (eval((eval('b' + i + 'Cards'))[j])).removeMovieClip(); ++j; } ++i; } _root.back.removeMovieClip(); restart(); if (_root.fader._currentframe == 1) { if (_global.story_level < 7) { ++_global.story_level; if (_global.story_level > 7) { _global.story_level = 7; } } _global.goto_frame_num = 6; _root.instructions.removeMovieClip(); cleanup(); _root.fader.gotoAndPlay(2); } } } function debug_end() { _root.back.removeMovieClip(); restart(); if (_root.fader._currentframe == 1) { if (_global.story_level < 7) { ++_global.story_level; if (_global.story_level > 7) { _global.story_level = 7; } } _global.goto_frame_num = 6; _root.instructions.removeMovieClip(); cleanup(); _root.fader.gotoAndPlay(2); } } function back_to_title() { _global.goto_frame_num = 2; _root.fader.gotoAndPlay(2); } function back_to_map() { _global.goto_frame_num = 6; _root.fader.gotoAndPlay(2); } function cleanup() { block._x -= 1000; } stop(); _root.back_button._visible = true; var test = false; var deck = 0; _global.deckDraw = 1 + Math.floor(_global.story_level / 3); if (_global.deckDraw > 1) { _global.deckDraw = 1; } trace(_global.deckDraw); var deckDraw = _global.deckDraw; var block = this.attachMovie('blocker', 'f', this.getNextHighestDepth()); block._alpha = 0; game_init(); order1 = new Array('01', '02', '03', '04', '05', '06', '07', '08', '09', '10', '11', '12', '13'); order2 = new Array('1', '2', '3', '4'); allcards = new Array(); cards = new Array(); all = new Array(); i = 0; while (i < 13) { j = 0; while (j < 4) { i; allcards[j] = 'c' + order1[i] + order2[j]; i; cardslength = cards.push(allcards[j]); i; alllength = all.push(allcards[j]); ++j; } ++i; } d1Cards = GetCards(d1, 1, 1); i = 0; while (i < 1) { this['o' + d1Cards[i]] = {'name': d1Cards[i], 'group': 'd1Cards', 'order': i, 'depth': 1 + i}; ++i; } d2Cards = GetCards(d2, 2, 21); i = 0; while (i < 2) { this['o' + d2Cards[i]] = {'name': d2Cards[i], 'group': 'd2Cards', 'order': i, 'depth': 21 + i}; ++i; } d3Cards = GetCards(d3, 3, 41); i = 0; while (i < 3) { this['o' + d3Cards[i]] = {'name': d3Cards[i], 'group': 'd3Cards', 'order': i, 'depth': 41 + i}; ++i; } d4Cards = GetCards(d4, 4, 61); i = 0; while (i < 4) { this['o' + d4Cards[i]] = {'name': d4Cards[i], 'group': 'd4Cards', 'order': i, 'depth': 61 + i}; ++i; } d5Cards = GetCards(d5, 5, 81); i = 0; while (i < 5) { this['o' + d5Cards[i]] = {'name': d5Cards[i], 'group': 'd5Cards', 'order': i, 'depth': 81 + i}; ++i; } d6Cards = GetCards(d6, 6, 101); i = 0; while (i < 6) { this['o' + d6Cards[i]] = {'name': d6Cards[i], 'group': 'd6Cards', 'order': i, 'depth': 101 + i}; ++i; } d7Cards = GetCards(d7, 7, 121); i = 0; while (i < 7) { this['o' + d7Cards[i]] = {'name': d7Cards[i], 'group': 'd7Cards', 'order': i, 'depth': 121 + i}; ++i; } a1Cards = GetCards(a1, 24, 141); i = 0; while (i < 24) { this['o' + a1Cards[i]] = {'name': a1Cards[i], 'group': 'a1Cards', 'order': i, 'depth': 141 + i}; ++i; } a2Cards = new Array(); b1Cards = new Array(); b2Cards = new Array(); b3Cards = new Array(); b4Cards = new Array(); swapCards = new Array(); i = 301; while (i <= 313) { attachMovie('deep', 'top' + i, i); swapCardsLength = swapCards.push('top' + i); ++i; } selectBackground(); _root.mouse_cursor.swapDepths(_root.getNextHighestDepth()); } movieClip 1534 { } movieClip 1538 { } button 1540 { on (release) { stopAllSounds(); gotoAndStop(2); } } button 1541 { on (release) { if (_root._currentframe < 4) { _root.stageImusic.start(0, 99); } else { if (_root._currentframe < 5) { _root.stageXmusic.start(0, 99); } else { if (_root._currentframe == 5) { _root.music_select(_global.story_level); } else { if (_root._currentframe == 6) { if (_root.story._currentframe < 5) { _root.stageXmusic.start(0, 99); } else { if (_root.story._currentframe < 26) { _root.stage1music.start(0, 99); } else { _root.stageEmusic.start(0, 99); } } } } } } gotoAndStop(1); } } movieClip 1542 { frame 1 { stop(); } frame 2 { stopAllSounds(); } } movieClip 1547 { } movieClip 1549 { } movieClip 1552 { } movieClip 1553 { } movieClip 1555 { } button 1556 { on (release) { stopAllSounds(); gotoAndStop(2); } } button 1557 { on (release) { if (_root._currentframe < 4) { _root.stageImusic.start(0, 99); } else { if (_root._currentframe < 5) { _root.stageXmusic.start(0, 99); } else { if (_root._currentframe == 5) { _root.music_select(_global.story_level); } else { if (_root._currentframe == 6) { if (_root.story._currentframe < 5) { _root.stageXmusic.start(0, 99); } else { if (_root.story._currentframe < 26) { _root.stage1music.start(0, 99); } else { _root.stageEmusic.start(0, 99); } } } } } } gotoAndStop(1); } } movieClip 1558 { frame 1 { stop(); } frame 2 { stopAllSounds(); } } movieClip 1562 { } movieClip 1564 { } movieClip 1568 { } movieClip 1571 { } button 1572 { on (release) { stopAllSounds(); gotoAndStop(2); } } button 1573 { on (release) { if (_root._currentframe < 4) { _root.stageImusic.start(0, 99); } else { if (_root._currentframe < 5) { _root.stageXmusic.start(0, 99); } else { if (_root._currentframe == 5) { _root.music_select(_global.story_level); } else { if (_root._currentframe == 6) { if (_root.story._currentframe < 5) { _root.stageXmusic.start(0, 99); } else { if (_root.story._currentframe < 26) { _root.stage1music.start(0, 99); } else { _root.stageEmusic.start(0, 99); } } } } } } gotoAndStop(1); } } movieClip 1574 { frame 1 { stop(); } frame 2 { stopAllSounds(); } } button 1577 { on (release) { getURL('https://www.thegamecrafter.com/games/ghastles-playing-cards', '_blank'); } } movieClip 1587 { } movieClip 1592 { } movieClip 1597 { } movieClip 1602 { } movieClip 1605 { } movieClip 1607 { } button 1608 { on (release) { getURL('https://www.thegamecrafter.com/games/ucogi-fairy-deck', '_blank'); } } movieClip 1611 { } movieClip 1613 { } movieClip 1615 { } button 1616 { on (release) { getURL('https://www.thegamecrafter.com/games/mogi-playing-cards', '_blank'); } } movieClip 1625 { } movieClip 1633 { } movieClip 1641 { } movieClip 1649 { } movieClip 1657 { } movieClip 1665 { } movieClip 1673 { } movieClip 1681 { } movieClip 1689 { } movieClip 1697 { } movieClip 1705 { } movieClip 1707 { } movieClip 1709 { } button 1713 { on (release) { gotoAndPlay(2); } } movieClip 1714 { frame 1 { stop(); } frame 7 { stop(); } } movieClip 1715 { frame 1 { stop(); } } movieClip 1717 { } button 1720 { on (press) { var n = _root.a2Cards.length; if (_root.a2Cards.length != 0) { i = n - 1; j = 0; while (i >= 0) { var t = eval('_root.' + _root.a2Cards[i]); var o = eval('_root.o' + _root.a2Cards[i]); _root.a1Cards.push(_root.a2Cards[i]); o.group = 'a1Cards'; o.order = i; o.depth = 141 + j; _root.attachMovie('deep', 'temp', o.depth); t.swapDepths(_root.temp); _root.temp.removeMovieClip(); t._x = _root.a1._x; t._y = _root.a1._y; t.gotoAndStop(20); t.cb.gotoAndStop(_root.lab); i--; j++; } _root.a2Cards.splice(0, n); } } } movieClip 1721 { } // unknown tag 88 length 70 movieClip 1743 { frame 1 { stop(); } frame 2 { this.swapDepths(_root.getNextHighestDepth() + 1); } } instance instructions of movieClip 1743 { onClipEvent (load) { this.gotoAndStop(_global.instructions); } onClipEvent (enterFrame) { this.gotoAndStop(_global.instructions); } } frame 6 { stop(); _global.instructions = 1; _global.game_total_seconds = 0; _global.game_seconds = 0; _global.game_minutes = 0; _global.game_hours = 0; _root.back_button._visible = true; } movieClip 1746 { } movieClip 1753 { } movieClip 1756 { } movieClip 1758 { } movieClip 1760 { } movieClip 1767 { frame 24 { gotoAndPlay('Loop'); } } button 1769 { on (release, keyPress '<Enter>') { nextFrame(); } } movieClip 1780 { frame 1 { stop(); this.onRelease = function () { if (_root._currentframe == 5) { _root.back_to_title(); } else { if (_root.fader._currentframe == 1 && _parent._parent._currentframe != 3 && _parent._parent._currentframe != 7 && _parent._parent._currentframe != 11 && _parent._parent._currentframe != 15 && _parent._parent._currentframe != 19 && _parent._parent._currentframe != 23) { _global.story_fade = 1; _global.scene_watched = _global.story_level; _root.fader.gotoAndPlay(2); } else { if (_root.fader._currentframe) { _global.story_fade = 0; _global.goto_frame_num = 5; _global.scene_watched = _global.story_level; _root.fader.gotoAndPlay(2); } } } }; } frame 6 { stop(); } } movieClip 1783 { frame 17 { stop(); } } movieClip 1794 { frame 42 { gotoAndPlay('Loop'); } } button 1796 { on (release, keyPress '<Enter>') { if (_root.fader._currentframe == 1) { _global.story_fade = 1; _global.scene_watched = _global.story_level; _root.fader.gotoAndPlay(2); } } } movieClip 1798 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); } } movieClip 1801 { } movieClip 1805 { } movieClip 1808 { } movieClip 1810 { } // unknown tag 88 length 213 movieClip 1816 { } movieClip 1818 { } button 1822 { on (release) { if (_root.fader._currentframe == 1) { _global.story_fade = 1; _root.fader.gotoAndPlay(2); } } } movieClip 1824 { } movieClip 1827 { } movieClip 1833 { } movieClip 1835 { } movieClip 1837 { } movieClip 1839 { } movieClip 1841 { } movieClip 1843 { } button 1844 { on (release) { gotoAndPlay(2); } } button 1845 { on (release) { gotoAndPlay(3); } } button 1847 { on (release) { ++_global.story_level; _global.scene_watched = _global.story_level; _parent.gotoAndPlay(_parent._currentframe + 4); } } movieClip 1848 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } } button 1849 { on (release) { gotoAndPlay(2); } } button 1850 { on (release) { gotoAndPlay(3); } } button 1851 { on (release) { _parent.gotoAndPlay(26); } } movieClip 1852 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } } movieClip 1858 { } movieClip 1863 { frame 1 { play(); } frame 12 { stop(); } } movieClip 1866 { } movieClip 1867 { } movieClip 1872 { } movieClip 1876 { } movieClip 1877 { frame 14 { stop(); } } movieClip 1884 { frame 17 { stop(); } } movieClip 1887 { } movieClip 1889 { } movieClip 1890 { frame 29 { stop(); } } movieClip 1896 { frame 6 { stop(); } } movieClip 1900 { } movieClip 1902 { } movieClip 1904 { } movieClip 1905 { frame 38 { stop(); } } button 1906 { on (release, keyPress '<Enter>') { if (_root.fader._currentframe == 1) { _global.goto_frame_num = 5; _global.scene_watched = _global.story_level; _root.fader.gotoAndPlay(2); } } } movieClip 1908 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); } frame 7 { stop(); } frame 8 { stop(); } } movieClip 1917 { } movieClip 1918 { frame 6 { stop(); } } movieClip 1920 { frame 8 { stop(); } } movieClip 1922 { frame 6 { stop(); } } movieClip 1927 { frame 6 { stop(); } } movieClip 1932 { } movieClip 1933 { frame 4 { stop(); } } movieClip 1935 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); } frame 7 { stop(); } frame 8 { stop(); } frame 9 { stop(); } frame 10 { stop(); } frame 11 { stop(); } frame 12 { stop(); } frame 13 { stop(); } } button 1936 { on (release) { stopAllSounds(); gotoAndStop(2); } } button 1937 { on (release) { if (_root._currentframe < 4) { _root.stageImusic.start(0, 99); } else { if (_root._currentframe < 5) { _root.stageXmusic.start(0, 99); } else { if (_root._currentframe == 5) { _root.music_select(_global.story_level); } else { if (_root._currentframe == 6) { if (_root.story._currentframe < 5) { _root.stageXmusic.start(0, 99); } else { if (_root.story._currentframe < 26) { _root.stage1music.start(0, 99); } else { _root.stageEmusic.start(0, 99); } } } } } } gotoAndStop(1); } } movieClip 1938 { frame 1 { stop(); } frame 2 { stopAllSounds(); } } button 1941 { on (release) { if (_root.fader._currentframe == 1) { _global.story_fade = 1; _root.fader.gotoAndPlay(2); } } } movieClip 1945 { } button 1946 { on (release) { gotoAndPlay(2); } } button 1947 { on (release) { gotoAndPlay(3); } } movieClip 1948 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } } movieClip 1971 { frame 25 { stop(); } } movieClip 1973 { } button 1977 { on (release, keyPress '<Enter>') { if (_root.fader._currentframe == 1) { _global.goto_frame_num = 5; _global.scene_watched = _global.story_level; _root.fader.gotoAndPlay(2); } } } movieClip 1979 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } frame 4 { stop(); } } movieClip 1981 { frame 35 { gotoAndPlay(7); } } movieClip 1985 { frame 35 { gotoAndPlay(7); } } movieClip 1989 { frame 35 { gotoAndPlay(7); } } movieClip 1993 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); } frame 7 { stop(); } } movieClip 1998 { } button 2000 { on (release) { if (_root.fader._currentframe == 1) { _global.story_fade = 1; _root.fader.gotoAndPlay(2); } } } movieClip 2004 { } button 2005 { on (release) { gotoAndPlay(2); } } button 2006 { on (release) { gotoAndPlay(3); } } movieClip 2007 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } } movieClip 2037 { frame 35 { stop(); } } movieClip 2040 { } movieClip 2048 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); } frame 7 { stop(); } } movieClip 2051 { frame 6 { stop(); } } movieClip 2057 { frame 35 { gotoAndPlay(7); } } movieClip 2061 { frame 6 { stop(); } } movieClip 2068 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); } frame 7 { stop(); } frame 8 { stop(); } frame 9 { stop(); } frame 10 { stop(); } frame 11 { stop(); } } movieClip 2071 { } button 2073 { on (release) { if (_root.fader._currentframe == 1) { _global.story_fade = 1; _root.fader.gotoAndPlay(2); } } } movieClip 2078 { } button 2079 { on (release) { gotoAndPlay(2); } } button 2080 { on (release) { gotoAndPlay(3); } } movieClip 2081 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } } movieClip 2110 { frame 35 { stop(); } } movieClip 2112 { } movieClip 2121 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); } frame 7 { stop(); } frame 8 { stop(); } } movieClip 2124 { frame 6 { stop(); } } movieClip 2128 { frame 6 { stop(); } } movieClip 2139 { frame 6 { stop(); } } movieClip 2143 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); } frame 7 { stop(); } frame 8 { stop(); } frame 9 { stop(); } frame 10 { stop(); } frame 11 { stop(); } frame 12 { stop(); } } movieClip 2146 { } button 2148 { on (release) { if (_root.fader._currentframe == 1) { _global.story_fade = 1; _root.fader.gotoAndPlay(2); } } } movieClip 2153 { } button 2154 { on (release) { gotoAndPlay(2); } } button 2155 { on (release) { gotoAndPlay(3); } } movieClip 2156 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } } movieClip 2175 { frame 25 { stop(); } } movieClip 2177 { } movieClip 2181 { frame 6 { stop(); } } movieClip 2193 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); } frame 7 { stop(); } frame 8 { stop(); } } movieClip 2196 { frame 6 { stop(); } } movieClip 2204 { frame 6 { stop(); } } movieClip 2216 { frame 15 { stop(); } } movieClip 2225 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); } frame 7 { stop(); } frame 8 { stop(); } frame 9 { stop(); } frame 10 { stop(); } frame 11 { stop(); } frame 12 { stop(); } frame 13 { stop(); } frame 14 { stop(); } frame 15 { stop(); } frame 16 { stop(); } frame 17 { stop(); } frame 18 { stop(); } frame 19 { stop(); } frame 20 { stop(); } frame 21 { stop(); } } movieClip 2228 { } button 2230 { on (release) { if (_root.fader._currentframe == 1) { _global.story_fade = 1; _root.fader.gotoAndPlay(2); } } } movieClip 2235 { } button 2236 { on (release) { gotoAndPlay(2); } } button 2237 { on (release) { gotoAndPlay(3); } } movieClip 2238 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } } movieClip 2250 { frame 30 { stop(); } } movieClip 2252 { } movieClip 2256 { frame 8 { stop(); } } movieClip 2271 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); } frame 7 { stop(); } } movieClip 2273 { } movieClip 2278 { frame 6 { stop(); } } movieClip 2283 { frame 8 { stop(); } } movieClip 2288 { frame 6 { stop(); } } movieClip 2304 { } movieClip 2305 { } movieClip 2306 { frame 30 { stop(); } } movieClip 2309 { } movieClip 2313 { } movieClip 2320 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); } frame 7 { stop(); } frame 8 { stop(); } frame 9 { stop(); } frame 10 { stop(); } frame 11 { stop(); } frame 12 { stop(); } frame 13 { stop(); } frame 14 { stop(); } frame 15 { stop(); } frame 16 { stop(); } frame 17 { stop(); } frame 18 { stop(); } frame 19 { stop(); } frame 20 { stop(); } frame 21 { stop(); } frame 22 { stop(); } frame 23 { stop(); } frame 24 { stop(); } frame 25 { stop(); } frame 26 { stop(); } frame 27 { stop(); } } button 2322 { on (release) { if (_root.fader._currentframe == 1) { _global.goto_frame_num = 5; _global.story_fade = 0; _global.story_level = 2; _root.fader.gotoAndPlay(2); } } } button 2323 { on (release) { if (_root.fader._currentframe == 1) { _global.goto_frame_num = 5; _global.story_fade = 0; _global.story_level = 3; _root.fader.gotoAndPlay(2); } } } button 2327 { on (release) { if (_root.fader._currentframe == 1) { _global.goto_frame_num = 5; _global.story_fade = 0; _global.story_level = 1; _root.fader.gotoAndPlay(2); } } } button 2328 { on (release) { if (_root.fader._currentframe == 1) { _global.goto_frame_num = 5; _global.story_fade = 0; _global.story_level = 5; _root.fader.gotoAndPlay(2); } } } button 2329 { on (release) { if (_root.fader._currentframe == 1) { _global.goto_frame_num = 5; _global.story_fade = 0; _global.story_level = 6; _root.fader.gotoAndPlay(2); } } } button 2330 { on (release) { if (_root.fader._currentframe == 1) { _global.goto_frame_num = 5; _global.story_fade = 0; _global.story_level = 4; _root.fader.gotoAndPlay(2); } } } button 2332 { on (release) { if (_root.fader._currentframe == 1) { _global.goto_frame_num = 5; _global.secret_level = 1; _root.fader.gotoAndPlay(2); } } } movieClip 2334 { } button 2337 { on (release) { gotoAndPlay(27); } } button 2338 { on (release) { stopAllSounds(); gotoAndStop(2); } } button 2339 { on (release) { if (_root._currentframe < 4) { _root.stageImusic.start(0, 99); } else { if (_root._currentframe < 5) { _root.stageXmusic.start(0, 99); } else { if (_root._currentframe == 5) { _root.music_select(_global.story_level); } else { if (_root._currentframe == 6) { if (_root.story._currentframe < 5) { _root.stageXmusic.start(0, 99); } else { if (_root.story._currentframe < 26) { _root.stage1music.start(0, 99); } else { _root.stageEmusic.start(0, 99); } } } } } } gotoAndStop(1); } } movieClip 2340 { frame 1 { stop(); } frame 2 { stopAllSounds(); } } movieClip 2342 { } movieClip 2344 { } button 2353 { on (release) { gotoAndPlay(2); } } button 2357 { on (release) { gotoAndPlay(3); } } button 2362 { on (release) { gotoAndPlay(4); } } button 2366 { on (release) { gotoAndPlay(5); } } button 2371 { on (release) { gotoAndPlay(6); } } button 2374 { on (release) { gotoAndPlay(7); } } button 2378 { on (release) { gotoAndStop(2); } } button 2379 { on (release) { gotoAndPlay(3); } } button 2380 { on (release) { gotoAndPlay(4); } } button 2381 { on (release) { gotoAndPlay(1); } } movieClip 2382 { frame 1 { stop(); } } button 2410 { on (release) { gotoAndPlay(2); } } button 2412 { on (release) { gotoAndPlay(3); } } button 2414 { on (release) { gotoAndPlay(4); } } button 2416 { on (release) { gotoAndStop(1); } } movieClip 2417 { frame 1 { stop(); } } button 2450 { on (release) { gotoAndPlay(2); } } button 2452 { on (release) { gotoAndPlay(1); } } movieClip 2453 { frame 1 { stop(); } } button 2473 { on (release) { gotoAndPlay(2); } } button 2474 { on (release) { gotoAndPlay(3); } } button 2475 { on (release) { gotoAndPlay(1); } } movieClip 2476 { frame 1 { stop(); } } movieClip 2487 { frame 7 { stop(); } } button 2532 { on (release) { gotoAndStop(2); } } button 2534 { on (release) { gotoAndPlay(3); } } movieClip 2536 { frame 7 { stop(); } } button 2537 { on (release) { gotoAndPlay(1); } } movieClip 2549 { frame 1 { stop(); } } movieClip 2591 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); } frame 7 { stop(); } } button 2592 { on (release) { stopAllSounds(); gotoAndStop(2); } } button 2593 { on (release) { if (_root._currentframe < 4) { _root.stageImusic.start(0, 99); } else { if (_root._currentframe < 5) { _root.stageXmusic.start(0, 99); } else { if (_root._currentframe == 5) { _root.music_select(_global.story_level); } else { if (_root._currentframe == 6) { if (_root.story._currentframe < 5) { _root.stageXmusic.start(0, 99); } else { if (_root.story._currentframe < 26) { _root.stage1music.start(0, 99); } else { _root.stageEmusic.start(0, 99); } } } } } } gotoAndStop(1); } } movieClip 2594 { frame 1 { stop(); } frame 2 { stopAllSounds(); } } movieClip 2595 { frame 1 { _root.back_button._visible = false; } frame 1 { stop(); trace(_global.scene_watched); trace(_global.story_level); trace('___'); if (_global.game_complete == 1) { gotoAndStop(26); } else { _global.select = 0; if (_global.scene_watched > 0) { if (_global.scene_watched == 1 && _global.story_level == 1) { _global.select = 1; gotoAndStop(2); } else { if (_global.scene_watched == 2 && _global.story_level == 2) { _global.select = 1; gotoAndStop(6); } else { if (_global.scene_watched == 3 && _global.story_level == 3) { _global.select = 1; gotoAndStop(10); } else { if (_global.scene_watched == 4 && _global.story_level == 4) { _global.select = 1; gotoAndStop(14); } else { if (_global.scene_watched == 5 && _global.story_level == 5) { _global.select = 1; gotoAndStop(18); } else { if (_global.scene_watched == 6 && _global.story_level == 6) { _global.select = 1; gotoAndStop(22); } else { if (_global.scene_watched == 7 && _global.story_level == 7) { _global.select = 1; gotoAndStop(26); } } } } } } } } if (_global.select == 0) { if (_global.story_level == 1) { } else { if (_global.story_level == 2) { gotoAndStop(5); } else { if (_global.story_level == 3) { gotoAndStop(9); } else { if (_global.story_level == 4) { gotoAndStop(13); } else { if (_global.story_level == 5) { gotoAndStop(17); } else { if (_global.story_level == 6) { gotoAndStop(21); } else { if (_global.story_level == 7) { gotoAndStop(25); } } } } } } } } } _global.story_frame_num = _currentframe; } instance sfx_mc of movieClip 1108 { onClipEvent (load) { if (_global.music_playing == 1) { stopAllSounds(); _root.stageXmusic.start(0, 99); } } } frame 2 { _root.back_button._visible = true; } frame 2 { stop(); _global.story_frame_num = _currentframe; } frame 3 { _root.back_button._visible = false; } frame 3 { stop(); _global.story_frame_num = _currentframe; } frame 4 { _root.back_button._visible = false; } frame 4 { stop(); _global.story_frame_num = _currentframe; } frame 5 { _root.back_button._visible = false; } frame 5 { stop(); _global.story_frame_num = _currentframe; } instance sfx_mc2 of movieClip 1108 { onClipEvent (load) { if (_global.music_playing == 1) { stopAllSounds(); _root.stage1music.start(0, 99); } } } frame 6 { Secr1.tabEnabled = false; Secr2.tabEnabled = false; Secr3.tabEnabled = false; Secr4.tabEnabled = false; Secr5.tabEnabled = false; Secr6.tabEnabled = false; Secr7.tabEnabled = false; } frame 6 { _root.back_button._visible = true; } frame 6 { stop(); _global.story_frame_num = _currentframe; } frame 7 { _root.back_button._visible = false; } frame 7 { stop(); _global.story_frame_num = _currentframe; } frame 8 { _root.back_button._visible = false; } frame 8 { stop(); _global.story_frame_num = _currentframe; } frame 9 { _root.back_button._visible = false; } frame 9 { stop(); _global.story_frame_num = _currentframe; } frame 10 { _root.back_button._visible = true; } frame 10 { stop(); _global.story_frame_num = _currentframe; } frame 11 { _root.back_button._visible = false; } frame 11 { stop(); _global.story_frame_num = _currentframe; } frame 12 { _root.back_button._visible = false; } frame 12 { stop(); _global.story_frame_num = _currentframe; } frame 13 { _root.back_button._visible = false; } frame 13 { stop(); _global.story_frame_num = _currentframe; } frame 14 { _root.back_button._visible = true; } frame 14 { stop(); _global.story_frame_num = _currentframe; } frame 15 { _root.back_button._visible = false; } frame 15 { stop(); _global.story_frame_num = _currentframe; } frame 16 { _root.back_button._visible = false; } frame 16 { stop(); _global.story_frame_num = _currentframe; } frame 17 { _root.back_button._visible = false; } frame 17 { stop(); _global.story_frame_num = _currentframe; } frame 18 { _root.back_button._visible = true; } frame 18 { stop(); _global.story_frame_num = _currentframe; } frame 19 { _root.back_button._visible = false; } frame 19 { stop(); _global.story_frame_num = _currentframe; } frame 20 { _root.back_button._visible = false; } frame 20 { stop(); _global.story_frame_num = _currentframe; } frame 21 { _root.back_button._visible = false; } frame 21 { stop(); _global.story_frame_num = _currentframe; } frame 22 { _root.back_button._visible = true; } frame 22 { stop(); _global.story_frame_num = _currentframe; } frame 23 { _root.back_button._visible = false; } frame 23 { stop(); _global.story_frame_num = _currentframe; } frame 24 { _root.back_button._visible = false; } frame 24 { stop(); _global.story_frame_num = _currentframe; } frame 25 { _root.back_button._visible = false; } frame 25 { stop(); _global.story_frame_num = _currentframe; } frame 26 { _root.back_button._visible = true; } frame 26 { stop(); _global.game_complete = 1; _global.story_level = 7; _global.story_frame_num = _currentframe; } instance sfx_mc3 of movieClip 1108 { onClipEvent (load) { if (_global.music_playing == 1) { stopAllSounds(); _root.stageEmusic.start(0, 99); } } } frame 27 { _root.back_button._visible = true; } frame 27 { stop(); _global.game_complete = 1; _global.story_level = 7; _global.story_frame_num = _currentframe; } } frame 7 { stop(); } movieClip 2604 { frame 1 { stop(); this.onRollOver = function () { gotoAndPlay('on'); }; this.onRollOut = function () { gotoAndPlay('off'); }; this.onRelease = function () { if (_root.fader._currentframe == 1) { _global.goto_frame_num = 3; _root.fader.gotoAndPlay(2); } }; } frame 6 { stop(); } } instance of movieClip 2604 { onClipEvent (release) { SQ_so = SharedObject.getLocal('squest'); SQ_so.data.saved_data = 0; SQ_so.data.story_mode = 0; SQ_so.data.story_level = 1; SQ_so.data.game_complete = 0; SQ_so.data.scene_watched = 0; SQ_so.clear(); _global.story_mode = 0; _global.story_level = 1; _global.game_complete = 0; _global.scene_watched = 0; _root.gotoAndStop('MainMenu'); } } movieClip 2610 { frame 1 { stop(); this.onRollOver = function () { gotoAndPlay('on'); }; this.onRollOut = function () { gotoAndPlay('off'); }; this.onRelease = function () { if (_root.fader._currentframe == 1) { _global.goto_frame_num = 3; _root.fader.gotoAndPlay(2); } }; } frame 6 { stop(); } } instance of movieClip 2610 { onClipEvent (release) { _root.gotoAndStop('MainMenu'); } }




http://swfchan.com/44/216651/info.shtml
Created: 28/1 -2019 00:33:43 Last modified: 28/1 -2019 00:33:43 Server time: 22/12 -2024 01:34:49