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

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

1323740991652.swf

This is the info page for
Flash #102068

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


ActionScript [AS1/AS2]
Combined Code
movieClip 9 Box { } movieClip 12 { } // unknown tag 88 length 45 movieClip 164 { } movieClip 171 { } // unknown tag 88 length 63 movieClip 244 { } movieClip 256 { } movieClip 258 dialogueBox { frame 1 { onEnterFrame = function () { _root.hitBox._name = 'nobox'; _root.Jade._name = 'nomove'; }; } frame 2 { onEnterFrame = function () { _root.nomove.gotoAndStop(1); }; } frame 9 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 17 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 25 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 33 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 34 { onEnterFrame = function () { _global.drp = 1; }; } frame 39 { onEnterFrame = function () { _root.nobox._name = 'hitBox'; _root.nomove._name = 'Jade'; }; } frame 40 { stop(); onEnterFrame = function () { _root.hitBox.gotoAndStop('move'); this.removeMovieClip(); }; } frame 41 { onEnterFrame = function () { _root.hitBox._name = 'nobox'; _root.Jade._name = 'nomove'; }; } frame 42 { onEnterFrame = function () { _root.nomove.gotoAndStop(1); }; } frame 49 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 57 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 65 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 73 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 74 { onEnterFrame = function () { _global.drp = 3; }; } frame 79 { onEnterFrame = function () { _root.nobox._name = 'hitBox'; _root.nomove._name = 'Jade'; }; } frame 80 { stop(); onEnterFrame = function () { _root.hitBox.gotoAndStop('move'); this.removeMovieClip(); }; } frame 81 { onEnterFrame = function () { _root.hitBox._name = 'nobox'; _root.Jade._name = 'nomove'; }; } frame 82 { onEnterFrame = function () { _root.nomove.gotoAndStop(1); }; } frame 89 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 97 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 105 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 106 { onEnterFrame = function () { _global.drp = 5; }; } frame 111 { onEnterFrame = function () { _root.nobox._name = 'hitBox'; _root.nomove._name = 'Jade'; }; } frame 112 { stop(); onEnterFrame = function () { _root.hitBox.gotoAndStop('move'); this.removeMovieClip(); }; } frame 113 { onEnterFrame = function () { _root.hitBox._name = 'nobox'; _root.Jade._name = 'nomove'; }; } frame 114 { onEnterFrame = function () { _root.nomove.gotoAndStop(1); }; } frame 121 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 129 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 133 { onEnterFrame = function () { _root.Derpy.gotoAndStop(5); _root.dialoguebox._alpha = 0; }; } frame 204 { stop(); onEnterFrame = function () { _root.dialoguebox._alpha = 100; if (Key.isDown(32)) { play(); } }; } frame 212 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 220 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 228 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 236 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 244 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 252 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 260 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 268 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 276 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 284 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 292 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 293 { onEnterFrame = function () { _global.muf = 5; }; } frame 298 { onEnterFrame = function () { _root.nobox._name = 'hitBox'; _root.nomove._name = 'Jade'; }; } frame 299 { stop(); onEnterFrame = function () { _root.hitBox.gotoAndStop('move'); this.removeMovieClip(); }; } frame 300 { onEnterFrame = function () { _root.hitBox._name = 'nobox'; _root.Jade._name = 'nomove'; }; } frame 301 { onEnterFrame = function () { _root.nomove.gotoAndStop(1); }; } frame 308 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 316 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 324 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 332 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 340 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 348 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 352 { onEnterFrame = function () { _root.Derpy.gotoAndStop(5); _root.dialoguebox._alpha = 0; }; } frame 433 { stop(); onEnterFrame = function () { _root.dialoguebox._alpha = 100; if (Key.isDown(32)) { play(); } }; } frame 441 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 449 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 457 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 465 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 473 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 481 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 489 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 497 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 498 { onEnterFrame = function () { _root.nomove.gotoAndStop(3); }; } frame 505 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 513 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 521 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 529 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 537 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 543 { _root.gotoAndPlay('MuffinEnd'); } frame 544 { stop(); onEnterFrame = function () { _root.hitBox.gotoAndStop('move'); this.removeMovieClip(); }; } frame 545 { onEnterFrame = function () { _root.hitBox._name = 'nobox'; _root.Jade._name = 'nomove'; }; } frame 546 { onEnterFrame = function () { _root.nomove.gotoAndStop(1); }; } frame 553 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 554 { onEnterFrame = function () { _global.drp = 10; }; } frame 559 { onEnterFrame = function () { _root.nobox._name = 'hitBox'; _root.nomove._name = 'Jade'; }; } frame 560 { stop(); onEnterFrame = function () { _root.hitBox.gotoAndStop('move'); this.removeMovieClip(); }; } frame 561 { onEnterFrame = function () { _root.hitBox._name = 'nobox'; _root.Jade._name = 'nomove'; }; } frame 562 { onEnterFrame = function () { _root.nomove.gotoAndStop(1); }; } frame 569 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 577 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 585 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 593 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 594 { onEnterFrame = function () { _global.tw = 1; }; } frame 599 { onEnterFrame = function () { _root.nobox._name = 'hitBox'; _root.nomove._name = 'Jade'; }; } frame 600 { stop(); onEnterFrame = function () { _root.hitBox.gotoAndStop('move'); this.removeMovieClip(); }; } frame 601 { onEnterFrame = function () { _root.hitBox._name = 'nobox'; _root.Jade._name = 'nomove'; }; } frame 602 { onEnterFrame = function () { _root.nomove.gotoAndStop(1); }; } frame 609 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 617 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 625 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 633 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 641 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 649 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 650 { onEnterFrame = function () { _global.tw = 3; }; } frame 655 { onEnterFrame = function () { _root.nobox._name = 'hitBox'; _root.nomove._name = 'Jade'; }; } frame 656 { stop(); onEnterFrame = function () { _root.hitBox.gotoAndStop('move'); this.removeMovieClip(); }; } frame 657 { onEnterFrame = function () { _root.hitBox._name = 'nobox'; _root.Jade._name = 'nomove'; }; } frame 658 { onEnterFrame = function () { _root.nomove.gotoAndStop(1); }; } frame 665 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 673 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 681 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 682 { onEnterFrame = function () { _global.tw = 5; }; } frame 687 { onEnterFrame = function () { _root.nobox._name = 'hitBox'; _root.nomove._name = 'Jade'; }; } frame 688 { stop(); onEnterFrame = function () { _root.hitBox.gotoAndStop('move'); this.removeMovieClip(); }; } frame 701 { onEnterFrame = function () { _root.hitBox._name = 'nobox'; _root.Jade._name = 'nomove'; }; } frame 702 { onEnterFrame = function () { _root.nomove.gotoAndStop(1); }; } frame 709 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 717 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 725 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 733 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 741 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 749 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 757 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 758 { onEnterFrame = function () { _global.aj = 1; }; } frame 765 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 773 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 781 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 789 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 797 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 800 { onEnterFrame = function () { _root.nomove._name = 'Jade'; }; } frame 804 { _root.gotoAndPlay('Muffin'); } frame 806 { _root.gotoAndPlay('Muffin'); } frame 807 { stop(); onEnterFrame = function () { this.removeMovieClip(); }; } frame 810 { onEnterFrame = function () { _root.hitBox._name = 'nobox'; _root.Jade._name = 'nomove'; }; } frame 811 { onEnterFrame = function () { _root.nomove.gotoAndStop(1); }; } frame 818 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 819 { onEnterFrame = function () { _global.aj = 3; }; } frame 824 { onEnterFrame = function () { _root.nobox._name = 'hitBox'; _root.nomove._name = 'Jade'; }; } frame 825 { stop(); onEnterFrame = function () { _root.hitBox.gotoAndStop('move'); this.removeMovieClip(); }; } frame 834 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 842 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 850 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 858 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 866 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 868 { _global.muf = 1; _global.durr = 1; } frame 873 { stop(); onEnterFrame = function () { this.removeMovieClip(); }; } frame 882 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 890 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 898 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 906 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 914 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 922 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 924 { _global.muf = 3; _global.durr = 1; } frame 929 { stop(); onEnterFrame = function () { this.removeMovieClip(); }; } frame 938 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 946 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 954 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 962 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 970 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 972 { _global.muf = 0; _global.durr = 1; } frame 977 { stop(); onEnterFrame = function () { this.removeMovieClip(); }; } frame 978 { onEnterFrame = function () { _root.hitBox._name = 'nobox'; _root.Jade._name = 'nomove'; }; } frame 979 { onEnterFrame = function () { _root.nomove.gotoAndStop(1); }; } frame 986 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 994 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 1002 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 1010 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 1018 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 1026 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 1034 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 1042 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 1043 { onEnterFrame = function () { _global.da = 1; }; } frame 1048 { onEnterFrame = function () { _root.nobox._name = 'hitBox'; _root.nomove._name = 'Jade'; }; } frame 1049 { stop(); onEnterFrame = function () { _root.hitBox.gotoAndStop('move'); this.removeMovieClip(); }; } frame 1050 { onEnterFrame = function () { _root.hitBox._name = 'nobox'; _root.Jade._name = 'nomove'; }; } frame 1051 { onEnterFrame = function () { _root.nomove.gotoAndStop(1); }; } frame 1058 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 1066 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 1074 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 1082 { onEnterFrame = function () { _root.Rainbow.gotoAndStop(6); _root.dialoguebox._alpha = 0; }; } frame 1178 { stop(); onEnterFrame = function () { _root.Rainbow.gotoAndStop(1); _root.dialoguebox._alpha = 1000; if (Key.isDown(32)) { play(); } }; } frame 1186 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 1187 { onEnterFrame = function () { _global.da = 3; }; } frame 1192 { onEnterFrame = function () { _root.nobox._name = 'hitBox'; _root.nomove._name = 'Jade'; }; } frame 1193 { stop(); onEnterFrame = function () { _root.hitBox.gotoAndStop('move'); this.removeMovieClip(); }; } frame 1194 { onEnterFrame = function () { _root.hitBox._name = 'nobox'; _root.Jade._name = 'nomove'; }; } frame 1195 { onEnterFrame = function () { _root.nomove.gotoAndStop(1); }; } frame 1202 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 1203 { onEnterFrame = function () { _global.da = 5; }; } frame 1208 { onEnterFrame = function () { _root.nobox._name = 'hitBox'; _root.nomove._name = 'Jade'; }; } frame 1209 { stop(); onEnterFrame = function () { _root.hitBox.gotoAndStop('move'); this.removeMovieClip(); }; } frame 1222 { onEnterFrame = function () { _root.hitBox._name = 'nobox'; _root.Jade._name = 'nomove'; }; } frame 1223 { onEnterFrame = function () { _root.nomove.gotoAndStop(1); }; } frame 1230 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 1238 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 1246 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 1254 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 1262 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 1270 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 1278 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 1286 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 1287 { onEnterFrame = function () { _global.ra = 1; }; } frame 1292 { onEnterFrame = function () { _root.nobox._name = 'hitBox'; _root.nomove._name = 'Jade'; }; } frame 1293 { stop(); onEnterFrame = function () { _root.hitBox.gotoAndStop('move'); this.removeMovieClip(); }; } frame 1294 { onEnterFrame = function () { _root.hitBox._name = 'nobox'; _root.Jade._name = 'nomove'; }; } frame 1295 { onEnterFrame = function () { _root.nomove.gotoAndStop(1); }; } frame 1302 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 1310 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 1318 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 1326 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 1334 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 1342 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 1343 { onEnterFrame = function () { _global.ra = 3; }; } frame 1348 { onEnterFrame = function () { _root.nobox._name = 'hitBox'; _root.nomove._name = 'Jade'; }; } frame 1349 { stop(); onEnterFrame = function () { _root.hitBox.gotoAndStop('move'); this.removeMovieClip(); }; } frame 1350 { onEnterFrame = function () { _root.hitBox._name = 'nobox'; _root.Jade._name = 'nomove'; }; } frame 1351 { onEnterFrame = function () { _root.nomove.gotoAndStop(1); }; } frame 1358 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 1366 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 1374 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 1382 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 1390 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 1391 { onEnterFrame = function () { _global.ra = 5; }; } frame 1396 { onEnterFrame = function () { _root.nobox._name = 'hitBox'; _root.nomove._name = 'Jade'; }; } frame 1397 { stop(); onEnterFrame = function () { _root.hitBox.gotoAndStop('move'); this.removeMovieClip(); }; } frame 1439 { onEnterFrame = function () { _root.hitBox._name = 'nobox'; _root.Jade._name = 'nomove'; _root.Gummy.gotoAndStop(3); }; } frame 1440 { onEnterFrame = function () { _root.nomove.gotoAndStop(1); }; } frame 1447 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 1455 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 1457 { onEnterFrame = function () { _global.lu = 1; _root.Luna.gotoAndStop(1); }; } frame 1463 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 1471 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 1479 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 1487 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 1495 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 1503 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 1511 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 1519 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 1527 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 1535 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 1543 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 1549 { onEnterFrame = function () { _root.nobox._name = 'hitBox'; _root.nomove._name = 'Jade'; _root.Gummy.gotoAndStop(1); }; } frame 1550 { stop(); onEnterFrame = function () { _root.hitBox.gotoAndStop('move'); this.removeMovieClip(); }; } frame 1551 { onEnterFrame = function () { _root.hitBox._name = 'nobox'; _root.Jade._name = 'nomove'; _root.Gummy.gotoAndStop(3); }; } frame 1552 { onEnterFrame = function () { _root.nomove.gotoAndStop(1); }; } frame 1559 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 1567 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 1575 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 1581 { onEnterFrame = function () { _root.nobox._name = 'hitBox'; _root.nomove._name = 'Jade'; _root.Gummy.gotoAndStop(1); }; } frame 1582 { stop(); onEnterFrame = function () { _root.hitBox.gotoAndStop('move'); this.removeMovieClip(); }; } frame 1583 { onEnterFrame = function () { _root.hitBox._name = 'nobox'; _root.Jade._name = 'nomove'; }; } frame 1584 { onEnterFrame = function () { _root.nomove.gotoAndStop(1); }; } frame 1591 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 1597 { onEnterFrame = function () { _root.nobox._name = 'hitBox'; _root.nomove._name = 'Jade'; }; } frame 1598 { stop(); onEnterFrame = function () { _root.hitBox.gotoAndStop('move'); this.removeMovieClip(); }; } frame 1623 { onEnterFrame = function () { _root.hitBox._name = 'nobox'; _root.Jade._name = 'nomove'; _root.Gummy.gotoAndStop(3); }; } frame 1624 { onEnterFrame = function () { _root.nomove.gotoAndStop(1); }; } frame 1631 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 1639 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 1640 { onEnterFrame = function () { _global.gu = 1; }; } frame 1645 { onEnterFrame = function () { _root.nobox._name = 'hitBox'; _root.nomove._name = 'Jade'; _root.Gummy.gotoAndStop(1); }; } frame 1646 { stop(); onEnterFrame = function () { _root.hitBox.gotoAndStop('move'); this.removeMovieClip(); }; } frame 1647 { onEnterFrame = function () { _root.hitBox._name = 'nobox'; _root.Jade._name = 'nomove'; }; } frame 1648 { onEnterFrame = function () { _root.nomove.gotoAndStop(1); }; } frame 1655 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 1663 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 1671 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 1679 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 1687 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 1695 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 1703 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 1711 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 1719 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 1727 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 1735 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 1743 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 1744 { onEnterFrame = function () { _global.flu = 1; }; } frame 1749 { onEnterFrame = function () { _root.nobox._name = 'hitBox'; _root.nomove._name = 'Jade'; }; } frame 1750 { stop(); onEnterFrame = function () { _root.hitBox.gotoAndStop('move'); this.removeMovieClip(); }; } frame 1751 { onEnterFrame = function () { _root.hitBox._name = 'nobox'; _root.Jade._name = 'nomove'; }; } frame 1752 { onEnterFrame = function () { _root.nomove.gotoAndStop(1); }; } frame 1759 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 1767 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 1775 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 1783 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 1791 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 1799 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 1800 { onEnterFrame = function () { _global.flu = 3; }; } frame 1805 { onEnterFrame = function () { _root.nobox._name = 'hitBox'; _root.nomove._name = 'Jade'; }; } frame 1806 { stop(); onEnterFrame = function () { _root.hitBox.gotoAndStop('move'); this.removeMovieClip(); }; } frame 1807 { onEnterFrame = function () { _root.hitBox._name = 'nobox'; _root.Jade._name = 'nomove'; }; } frame 1808 { onEnterFrame = function () { _root.nomove.gotoAndStop(1); }; } frame 1815 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 1823 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 1831 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 1839 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 1847 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 1855 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 1863 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 1871 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 1879 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 1887 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 1888 { onEnterFrame = function () { _global.flu = 5; }; } frame 1893 { onEnterFrame = function () { _root.nobox._name = 'hitBox'; _root.nomove._name = 'Jade'; }; } frame 1894 { stop(); onEnterFrame = function () { _root.hitBox.gotoAndStop('move'); this.removeMovieClip(); }; } frame 1895 { onEnterFrame = function () { _root.hitBox._name = 'nobox'; _root.Jade._name = 'nomove'; }; } frame 1896 { onEnterFrame = function () { _root.nomove.gotoAndStop(1); }; } frame 1903 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 1911 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 1919 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 1920 { onEnterFrame = function () { _global.flu = 10; }; } frame 1925 { onEnterFrame = function () { _root.nobox._name = 'hitBox'; _root.nomove._name = 'Jade'; }; } frame 1926 { stop(); onEnterFrame = function () { _root.hitBox.gotoAndStop('move'); this.removeMovieClip(); }; } frame 1933 { onEnterFrame = function () { _root.hitBox._name = 'nobox'; _root.Jade._name = 'nomove'; }; } frame 1934 { onEnterFrame = function () { _root.nomove.gotoAndStop(1); _root.Opale.gotoAndStop(3); }; } frame 1941 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 1942 { onEnterFrame = function () { _global.op = 1; }; } frame 1947 { onEnterFrame = function () { _root.nobox._name = 'hitBox'; _root.nomove._name = 'Jade'; _root.Opale.gotoAndStop(1); }; } frame 1948 { stop(); onEnterFrame = function () { _root.hitBox.gotoAndStop('move'); this.removeMovieClip(); }; } frame 1949 { onEnterFrame = function () { _root.hitBox._name = 'nobox'; _root.Jade._name = 'nomove'; }; } frame 1950 { onEnterFrame = function () { _root.nomove.gotoAndStop(1); }; } frame 1957 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 1965 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 1973 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 1981 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 1989 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 1997 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 2005 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 2013 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 2021 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 2029 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 2037 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 2045 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 2046 { onEnterFrame = function () { _global.pp = 1; }; } frame 2051 { onEnterFrame = function () { _root.nobox._name = 'hitBox'; _root.nomove._name = 'Jade'; }; } frame 2052 { stop(); onEnterFrame = function () { _root.hitBox.gotoAndStop('move'); this.removeMovieClip(); }; } frame 2053 { onEnterFrame = function () { _root.hitBox._name = 'nobox'; _root.Jade._name = 'nomove'; }; } frame 2054 { onEnterFrame = function () { _root.nomove.gotoAndStop(1); }; } frame 2061 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 2069 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 2077 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 2078 { onEnterFrame = function () { _global.pp = 3; }; } frame 2083 { onEnterFrame = function () { _root.nobox._name = 'hitBox'; _root.nomove._name = 'Jade'; }; } frame 2084 { stop(); onEnterFrame = function () { _root.hitBox.gotoAndStop('move'); this.removeMovieClip(); }; } frame 2085 { onEnterFrame = function () { _root.hitBox._name = 'nobox'; _root.Jade._name = 'nomove'; }; } frame 2086 { onEnterFrame = function () { _root.nomove.gotoAndStop(1); }; } frame 2093 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 2101 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 2109 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 2117 { _root.attachMovie('FadeBlack', 'FadeBlack', 10100); _root.FadeBlack._x = 0; _root.FadeBlack._y = 0; } frame 2123 { _root.gotoAndPlay('Party'); } frame 2124 { stop(); onEnterFrame = function () { this.removeMovieClip(); }; } frame 2137 { onEnterFrame = function () { _root.hitBox._name = 'nobox'; _root.Jade._name = 'nomove'; }; } frame 2138 { onEnterFrame = function () { _root.nomove.gotoAndStop(1); }; } frame 2145 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 2153 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 2161 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 2169 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 2177 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 2185 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 2193 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 2201 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 2202 { onEnterFrame = function () { _global.za = 1; }; } frame 2207 { onEnterFrame = function () { _root.nobox._name = 'hitBox'; _root.nomove._name = 'Jade'; }; } frame 2208 { stop(); onEnterFrame = function () { _root.hitBox.gotoAndStop('move'); this.removeMovieClip(); }; } frame 2209 { onEnterFrame = function () { _root.hitBox._name = 'nobox'; _root.Jade._name = 'nomove'; }; } frame 2210 { onEnterFrame = function () { _root.nomove.gotoAndStop(1); }; } frame 2217 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 2218 { onEnterFrame = function () { _global.za = 3; }; } frame 2223 { onEnterFrame = function () { _root.nobox._name = 'hitBox'; _root.nomove._name = 'Jade'; }; } frame 2224 { stop(); onEnterFrame = function () { _root.hitBox.gotoAndStop('move'); this.removeMovieClip(); }; } frame 2225 { onEnterFrame = function () { _root.hitBox._name = 'nobox'; _root.Jade._name = 'nomove'; }; } frame 2226 { onEnterFrame = function () { _root.nomove.gotoAndStop(1); }; } frame 2233 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 2241 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 2242 { onEnterFrame = function () { _global.ev = 3; }; } frame 2247 { onEnterFrame = function () { _root.nobox._name = 'hitBox'; _root.nomove._name = 'Jade'; }; } frame 2248 { stop(); onEnterFrame = function () { _root.hitBox.gotoAndStop('move'); this.removeMovieClip(); }; } frame 2249 { onEnterFrame = function () { _root.hitBox._name = 'nobox'; _root.Jade._name = 'nomove'; }; } frame 2250 { onEnterFrame = function () { _root.nomove.gotoAndStop(1); }; } frame 2257 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 2263 { onEnterFrame = function () { _root.nobox._name = 'hitBox'; _root.nomove._name = 'Jade'; }; } frame 2264 { stop(); onEnterFrame = function () { _root.hitBox.gotoAndStop('move'); this.removeMovieClip(); }; } frame 2265 { onEnterFrame = function () { _root.hitBox._name = 'nobox'; _root.Jade._name = 'nomove'; }; } frame 2266 { onEnterFrame = function () { _root.nomove.gotoAndStop(1); }; } frame 2273 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 2275 { _root.play(); } frame 2279 { onEnterFrame = function () { _root.nobox._name = 'hitBox'; _root.nomove._name = 'Jade'; }; } frame 2280 { stop(); onEnterFrame = function () { _root.hitBox.gotoAndStop('move'); this.removeMovieClip(); }; } frame 2281 { onEnterFrame = function () { _root.hitBox._name = 'nobox'; _root.Jade._name = 'nomove'; }; } frame 2282 { onEnterFrame = function () { _root.nomove.gotoAndStop(1); }; } frame 2289 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 2291 { _root.play(); } frame 2296 { stop(); onEnterFrame = function () { this.removeMovieClip(); }; } frame 2297 { onEnterFrame = function () { _root.hitBox._name = 'nobox'; _root.Jade._name = 'nomove'; }; } frame 2298 { onEnterFrame = function () { _root.nomove.gotoAndStop(1); }; } frame 2305 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 2311 { onEnterFrame = function () { _root.nobox._name = 'hitBox'; _root.nomove._name = 'Jade'; }; } frame 2312 { stop(); onEnterFrame = function () { _root.hitBox.gotoAndStop('move'); this.removeMovieClip(); }; } frame 2313 { onEnterFrame = function () { _root.hitBox._name = 'nobox'; _root.Jade._name = 'nomove'; }; } frame 2314 { onEnterFrame = function () { _root.nomove.gotoAndStop(1); }; } frame 2321 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 2327 { onEnterFrame = function () { _root.nobox._name = 'hitBox'; _root.nomove._name = 'Jade'; }; } frame 2328 { stop(); onEnterFrame = function () { _root.hitBox.gotoAndStop('move'); this.removeMovieClip(); }; } frame 2329 { onEnterFrame = function () { _root.hitBox._name = 'nobox'; _root.Jade._name = 'nomove'; }; } frame 2330 { onEnterFrame = function () { _root.nomove.gotoAndStop(1); }; } frame 2337 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 2343 { onEnterFrame = function () { _root.nobox._name = 'hitBox'; _root.nomove._name = 'Jade'; }; } frame 2344 { stop(); onEnterFrame = function () { _root.hitBox.gotoAndStop('move'); this.removeMovieClip(); }; } frame 2345 { onEnterFrame = function () { _root.hitBox._name = 'nobox'; _root.Jade._name = 'nomove'; }; } frame 2346 { onEnterFrame = function () { _root.nomove.gotoAndStop(1); }; } frame 2353 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 2359 { onEnterFrame = function () { _root.nobox._name = 'hitBox'; _root.nomove._name = 'Jade'; }; } frame 2360 { stop(); onEnterFrame = function () { _root.hitBox.gotoAndStop('move'); this.removeMovieClip(); }; } frame 2370 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 2375 { _root.play(); } frame 2377 { stop(); onEnterFrame = function () { this.removeMovieClip(); }; } } movieClip 295 Bloody_idle { frame 90 { stop(); } } movieClip 328 Bloody_walk { } movieClip 329 Bloody { frame 1 { stop(); } } movieClip 338 Derpy_idle { } movieClip 339 Derpy_walk { } movieClip 372 Derpy_hover { } movieClip 405 Derpy_fly { } movieClip 460 Derpy_muffin { frame 92 { onEnterFrame = function () { _root.Derpy.gotoAndStop(1); }; } } movieClip 461 Derpy { frame 1 { stop(); } } movieClip 526 Celestia_idle { } movieClip 591 Celestia_walk { } movieClip 656 Celestia_fly { } movieClip 657 Celestia { frame 1 { stop(); } } movieClip 688 { } movieClip 689 { } movieClip 734 { } movieClip 735 Gummy { frame 1 { stop(); } } movieClip 744 { } movieClip 745 { } movieClip 746 { } movieClip 751 { } movieClip 754 Luna { frame 1 { stop(); } } movieClip 767 { } movieClip 768 { } movieClip 803 { } movieClip 804 Opale { frame 1 { stop(); } } movieClip 829 { } movieClip 830 { } movieClip 849 { } movieClip 859 { } movieClip 860 Zacora { frame 1 { stop(); } } movieClip 862 Black3 { frame 1 { stop(); } } movieClip 864 Black1 { frame 1 { stop(); } } movieClip 874 FadeBlack2 { frame 193 { stop(); } } movieClip 877 InvitationList { frame 1 { if (tw >= 1) { attachMovie('TwiRedline', 'Twi', 5001); Twi._x = 0; Twi._y = 0; } if (da >= 1) { attachMovie('DashRedline', 'Das', 5002); Das._x = 0; Das._y = 0; } if (aj >= 1) { attachMovie('AJRedline', 'AJR', 5003); AJR._x = 0; AJR._y = 0; } if (ra >= 1) { attachMovie('RarRedline', 'Rari', 5004); Rari._x = 0; Rari._y = 0; } if (flu >= 1) { attachMovie('FlutterRedline', 'Flut', 5005); Flut._x = 0; Flut._y = 0; } } } movieClip 880 TwiRedline { } movieClip 883 RarRedline { } movieClip 886 FlutterRedline { } movieClip 889 DashRedline { } movieClip 892 AJRedline { } // unknown tag 88 length 45 movieClip 896 EnterSugarcube { } movieClip 899 EvilTree { } movieClip 902 EverNight { } movieClip 905 EverForeDay { } movieClip 908 EverForeNight { } movieClip 915 bullet { } movieClip 916 GameOver { } button 918 { on (release) { _root.gotoAndPlay('Retry'); Retrysfx = new Sound(this); Retrysfx.attachSound('RetrySound'); Retrysfx.start(0, 1); _root.Retrybtn.removeMovieClip(); } } movieClip 919 RetryBtn { } movieClip 932 FireBall { frame 13 { this.gotoAndPlay(5); } } movieClip 934 Black2 { frame 1 { stop(); } } movieClip 936 EmitBox { } movieClip 965 { } movieClip 1102 { } movieClip 1103 RedDragon { frame 1 { stop(); } } movieClip 1104 DragMove { frame 230 { RDragon.gotoAndStop(2); } frame 435 { RDragon.gotoAndStop(1); } frame 551 { RDragon.gotoAndStop(2); } frame 755 { RDragon.gotoAndStop(1); } } movieClip 1105 JadeFlyBox { } movieClip 1116 Jade_idle { } movieClip 1149 Jade_walk { } movieClip 1156 { } movieClip 1175 { } movieClip 1208 { } movieClip 1241 { } movieClip 1243 { } movieClip 1244 Jade { frame 1 { stop(); } } movieClip 1255 Applejack_rear { } movieClip 1256 Applejack_run { } movieClip 1289 Applejack_idle { } movieClip 1322 Applejack_walk { } movieClip 1323 Applejack { frame 1 { stop(); } } movieClip 1356 { } movieClip 1389 { } movieClip 1390 { frame 77 { stop(); } } movieClip 1391 { frame 60 { stop(); } } movieClip 1512 { } movieClip 1513 Twilight { frame 1 { stop(); } } movieClip 1556 { } movieClip 1557 { } movieClip 1590 { } movieClip 1591 { } movieClip 1624 { } movieClip 1637 { } movieClip 1638 { } movieClip 1639 Rainbow { frame 1 { stop(); } } movieClip 1674 { } movieClip 1707 { } movieClip 1732 { } movieClip 1747 { } movieClip 1748 Pinkie { frame 1 { stop(); } } movieClip 1781 { } movieClip 1814 { } movieClip 1815 Rarity { frame 1 { stop(); } } movieClip 1850 { } movieClip 1851 { } movieClip 1884 { } movieClip 1885 { } movieClip 1886 Fluttershy { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } frame 4 { stop(); } } movieClip 1903 DJ_deck { } movieClip 1920 DJ_stomp { } movieClip 1937 DJ_idle { } movieClip 1938 DJ { frame 1 { stop(); } } movieClip 1941 Foreground1 { } movieClip 1942 FadeBlack { frame 5 { stop(); } } movieClip 1945 Arrow { } movieClip 1946 hitBox { frame 1 { stop(); } frame 11 { stop(); } } movieClip 1947 BlackScreen { frame 5 { stop(); } } frame 1 { totalBytes = Math.round(getBytesTotal() / 1024); loadedBytes = Math.round(getBytesLoaded() / 1024); percentDone = Math.round((loadedBytes / totalBytes) * 100); if (_root._framesloaded >= _root._totalframes) { gotoAndPlay('Start'); } } frame 1 { Stage.showMenu = false; } movieClip 1953 { } instance of movieClip 1953 { onClipEvent (enterFrame) { _xscale = _root.percentDone; } } button 1956 { on (release) { getURL('http://jay6-the-canadian.deviantart.com/', '_blank'); } } movieClip 1958 { } movieClip 1959 { } button 1962 { on (release) { getURL('http://jay6x.blogspot.com/', '_blank'); } } frame 2 { gotoAndPlay(1); } movieClip 1965 { } button 1966 { on (release) { gotoAndPlay('Start2'); } } frame 7 { stop(); } frame 15 { stopAllSounds(); gotoAndPlay('Title'); } frame 16 { Stage.showMenu = false; } frame 16 { _global.sta = 0; } movieClip 1975 { } frame 18 { onEnterFrame = function () { if (Key.isDown(32)) { _global.sta = 5; _root.gotoAndPlay('Playgame1'); } }; } frame 191 { if (sta >= 1) { _root.gotoAndPlay('Playgame2'); } } movieClip 1979 { } frame 193 { onEnterFrame = function () { if (Key.isDown(32)) { gotoAndPlay('Title2'); } }; } movieClip 1985 { } movieClip 1986 { } movieClip 1990 { } movieClip 1993 { } frame 1127 { gotoAndPlay('Title'); } movieClip 1997 { } frame 1129 { onEnterFrame = function () { if (Key.isDown(32)) { _global.sta = 0; } }; } movieClip 2000 { } frame 1281 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 1283 { _global.sta = 0; } frame 1341 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } movieClip 2004 { frame 1716 { stop(); } } frame 1349 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 1357 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 1365 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 1373 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 1381 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 1389 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 1397 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 1405 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 1413 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 1421 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 1429 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 1437 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 1445 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 1519 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 1529 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 1547 { gotoAndPlay('Gameplay'); } frame 1549 { Stage.showMenu = false; } frame 1549 { _global.tw = 0; _global.da = 0; _global.aj = 0; _global.ra = 0; _global.flu = 0; _global.pp = 0; _global.drp = 0; _global.gu = 0; _global.op = 0; _global.muf = 0; _global.cm = 0; _global.za = 0; _global.ti = 0; _global.all = 0; _global.ev = 0; _root.BlackScreen.swapDepths(10000); _root.attachMovie('Jade', 'Jade', 20); _root.attachMovie('hitBox', 'hitBox', 1); Jade._x = 112; Jade._y = 428; hitBox._x = 80; hitBox._y = 400; hitBox._alpha = 0; } movieClip 2022 { } instance Box2 of movieClip 2022 { onClipEvent (enterFrame) { _root.Box2; if (hitTest(_root.hitBox)) { if (_root.hitBox._x + _root.hitBox._width + 4 > _root.Box2._x && _root.hitBox._x + _root.hitBox._width < _root.Box2._x + 16) { dx = 0; sx = 0; _root.hitBox._x = _root.Box2._x - _root.hitBox._width; _root.Jade._x = _root.Box2._x - _root.hitBox._width / 2; } else { if (_root.hitBox._x < _root.Box2._x + _root.Box2._width + 4 && _root.hitBox._x > _root.Box2._x + _root.Box2._width - 16) { dx = 0; sx = 0; _root.hitBox._x = _root.Box2._x + _root.Box2._width; _root.Jade._x = _root.Box2._x + _root.Box2._width + _root.hitBox._width / 2; } } if (_root.hitBox._y + _root.hitBox._height + 4 > _root.Box2._y && _root.hitBox._y + _root.hitBox._height < _root.Box2._y + 16) { dy = 0; sx = 0; _root.hitBox._y = _root.Box2._y - _root.hitBox._height; _root.Jade._y = _root.Box2._y - _root.hitBox._height + 28; } else { if (_root.hitBox._y < _root.Box2._y + _root.Box2._height + 4 && _root.hitBox._y > _root.Box2._y + _root.Box2._height - 16) { dy = 0; sx = 0; _root.hitBox._y = _root.Box2._y + _root.Box2._height; _root.Jade._y = _root.Box2._y + _root.Box2._height + 28; } } } } } instance Box1 of movieClip 2022 { onClipEvent (enterFrame) { _root.Box1; if (hitTest(_root.hitBox)) { if (_root.hitBox._x + _root.hitBox._width + 4 > _root.Box1._x && _root.hitBox._x + _root.hitBox._width < _root.Box1._x + 16) { dx = 0; sx = 0; _root.hitBox._x = _root.Box1._x - _root.hitBox._width; _root.Jade._x = _root.Box1._x - _root.hitBox._width / 2; } else { if (_root.hitBox._x < _root.Box1._x + _root.Box1._width + 4 && _root.hitBox._x > _root.Box1._x + _root.Box1._width - 16) { dx = 0; sx = 0; _root.hitBox._x = _root.Box1._x + _root.Box1._width; _root.Jade._x = _root.Box1._x + _root.Box1._width + _root.hitBox._width / 2; } } if (_root.hitBox._y + _root.hitBox._height + 4 > _root.Box1._y && _root.hitBox._y + _root.hitBox._height < _root.Box1._y + 16) { dy = 0; sx = 0; _root.hitBox._y = _root.Box1._y - _root.hitBox._height; _root.Jade._y = _root.Box1._y - _root.hitBox._height + 28; } else { if (_root.hitBox._y < _root.Box1._y + _root.Box1._height + 4 && _root.hitBox._y > _root.Box1._y + _root.Box1._height - 16) { dy = 0; sx = 0; _root.hitBox._y = _root.Box1._y + _root.Box1._height; _root.Jade._y = _root.Box1._y + _root.Box1._height + 28; } } } } } instance Box of movieClip 2022 { onClipEvent (enterFrame) { _root.Box; if (hitTest(_root.hitBox)) { if (_root.hitBox._x + _root.hitBox._width + 4 > _root.Box._x && _root.hitBox._x + _root.hitBox._width < _root.Box._x + 16) { dx = 0; sx = 0; _root.hitBox._x = _root.Box._x - _root.hitBox._width; _root.Jade._x = _root.Box._x - _root.hitBox._width / 2; } else { if (_root.hitBox._x < _root.Box._x + _root.Box._width + 4 && _root.hitBox._x > _root.Box._x + _root.Box._width - 16) { dx = 0; sx = 0; _root.hitBox._x = _root.Box._x + _root.Box._width; _root.Jade._x = _root.Box._x + _root.Box._width + _root.hitBox._width / 2; } } if (_root.hitBox._y + _root.hitBox._height + 4 > _root.Box._y && _root.hitBox._y + _root.hitBox._height < _root.Box._y + 16) { dy = 0; sx = 0; _root.hitBox._y = _root.Box._y - _root.hitBox._height; _root.Jade._y = _root.Box._y - _root.hitBox._height + 28; } else { if (_root.hitBox._y < _root.Box._y + _root.Box._height + 4 && _root.hitBox._y > _root.Box._y + _root.Box._height - 16) { dy = 0; sx = 0; _root.hitBox._y = _root.Box._y + _root.Box._height; _root.Jade._y = _root.Box._y + _root.Box._height + 28; } } } } } instance TwilightBox of movieClip 1946 hitBox { onClipEvent (enterFrame) { _root.TwilightBox; if (hitTest(_root.hitBox)) { if (_root.hitBox._x + _root.hitBox._width + 4 > _root.TwilightBox._x && _root.hitBox._x + _root.hitBox._width <= _root.TwilightBox._x + 4) { dx = 0; sx = 0; _root.hitBox._x = _root.TwilightBox._x - _root.hitBox._width; _root.Jade._x = _root.TwilightBox._x - _root.hitBox._width / 2; } else { if (_root.hitBox._x < _root.TwilightBox._x + _root.TwilightBox._width + 4 && _root.hitBox._x >= _root.TwilightBox._x + _root.TwilightBox._width - 4) { dx = 0; sx = 0; _root.hitBox._x = _root.TwilightBox._x + _root.TwilightBox._width; _root.Jade._x = _root.TwilightBox._x + _root.TwilightBox._width + _root.hitBox._width / 2; } } if (_root.hitBox._y + _root.hitBox._height + 4 > _root.TwilightBox._y && _root.hitBox._y + _root.hitBox._height <= _root.TwilightBox._y + 4) { dy = 0; _root.hitBox._y = _root.TwilightBox._y - _root.hitBox._height; _root.Jade._y = _root.TwilightBox._y - _root.hitBox._height + 28; } else { if (_root.hitBox._y < _root.TwilightBox._y + _root.TwilightBox._height + 4 && _root.hitBox._y >= _root.TwilightBox._y + _root.TwilightBox._height - 4) { dy = 0; _root.hitBox._y = _root.TwilightBox._y + _root.TwilightBox._height; _root.Jade._y = _root.TwilightBox._y + _root.TwilightBox._height + 28; } } _root.collisionTxt.text = 'Collision Detected!'; if (Key.isDown(32)) { _root.attachMovie('dialogueBox', 'dialoguebox', 1000); _root.dialoguebox._x = 20; _root.dialoguebox._y = 20; if (tw < 1) { _root.dialoguebox.gotoAndPlay('Twi1'); } if (tw >= 1 && tw < 3) { _root.dialoguebox.gotoAndPlay('Twi2'); } if (tw >= 3) { _root.dialoguebox.gotoAndPlay('Twi3'); } } } else { _root.collisionTxt.text = 'No Collision'; } if (_root.hitBox._x + _root.hitBox._width / 2 > _root.TwilightBox._x + _root.TwilightBox._width / 2 || _root.nobox._x + _root.nobox._width / 2 > _root.TwilightBox._x + _root.TwilightBox._width / 2) { _root.Twilight._xscale = 100; } else { _root.Twilight._xscale = -100; } } } instance DerpyBox of movieClip 1946 hitBox { onClipEvent (enterFrame) { _root.DerpyBox; if (hitTest(_root.hitBox)) { if (_root.hitBox._x + _root.hitBox._width + 4 > _root.DerpyBox._x && _root.hitBox._x + _root.hitBox._width <= _root.DerpyBox._x + 4) { dx = 0; sx = 0; _root.hitBox._x = _root.DerpyBox._x - _root.hitBox._width; _root.Jade._x = _root.DerpyBox._x - _root.hitBox._width / 2; } else { if (_root.hitBox._x < _root.DerpyBox._x + _root.DerpyBox._width + 4 && _root.hitBox._x >= _root.DerpyBox._x + _root.DerpyBox._width - 4) { dx = 0; sx = 0; _root.hitBox._x = _root.DerpyBox._x + _root.DerpyBox._width; _root.Jade._x = _root.DerpyBox._x + _root.DerpyBox._width + _root.hitBox._width / 2; } } if (_root.hitBox._y + _root.hitBox._height + _root.DerpyBox._y && _root.hitBox._y + _root.hitBox._height <= _root.DerpyBox._y + 4) { dy = 0; _root.hitBox._y = _root.DerpyBox._y - _root.hitBox._height; _root.Jade._y = _root.DerpyBox._y - _root.hitBox._height + 28; } else { if (_root.hitBox._y < _root.DerpyBox._y + _root.DerpyBox._height + 4 && _root.hitBox._y >= _root.DerpyBox._y + _root.DerpyBox._height - 4) { dy = 0; _root.hitBox._y = _root.DerpyBox._y + _root.DerpyBox._height; _root.Jade._y = _root.DerpyBox._y + _root.DerpyBox._height + 28; } } if (Key.isDown(32)) { _root.attachMovie('dialogueBox', 'dialoguebox', 1000); _root.dialoguebox._x = 20; _root.dialoguebox._y = 20; if (drp < 1 && muf < 1) { _root.dialoguebox.gotoAndPlay('Derpy1'); } if (drp >= 1 && drp < 3 && muf < 1) { _root.dialoguebox.gotoAndPlay('Derpy2'); } if (drp >= 3 && muf < 1) { _root.dialoguebox.gotoAndPlay('Derpy3'); } if (muf >= 1 && muf < 3) { _root.dialoguebox.gotoAndPlay('Derpy4'); } if (muf >= 3 && muf < 5) { _root.dialoguebox.gotoAndPlay('Derpy5'); } if (muf >= 5) { _root.dialoguebox.gotoAndPlay('Derpy6'); } } } if (_root.hitBox._x + _root.hitBox._width / 2 > _root.DerpyBox._x + _root.DerpyBox._width / 2 || _root.nobox._x + _root.nobox._width / 2 > _root.DerpyBox._x + _root.DerpyBox._width / 2) { _root.Derpy._xscale = 100; } else { _root.Derpy._xscale = -100; } } } frame 1550 { _root.BlackScreen.swapDepths(10000); _root.attachMovie('Twilight', 'Twilight', 10); _root.attachMovie('Derpy', 'Derpy', 30); Twilight._x = 410; Twilight._y = 434; Derpy._x = 371; Derpy._y = 456; onEnterFrame = function () { FadeBlack.removeMovieClip(); }; } frame 1554 { stop(); var dx = 0; var dy = 0; var sx = 0; var sy = 0; onEnterFrame = function () { _root.txt1.text = hitBox._x; _root.txt2.text = hitBox._y; BlackScreen.removeMovieClip(); Jade._x += dx; Jade._y += dy; hitBox._x += dx; hitBox._y += dy; if (Key.isDown(37) && dx > -4) { dx += -4; } else { if (Key.isDown(39) && dx < 4) { dx += 4; } } if (Key.isDown(38) && dy > -4) { dy += -4; } else { if (Key.isDown(40) && dy < 4) { dy += 4; } } if (Key.isDown(37)) { Jade._xscale = -100; Jade.gotoAndStop(2); } else { if (Key.isDown(39)) { Jade._xscale = 100; Jade.gotoAndStop(2); } } if (Key.isDown(38)) { Jade.gotoAndStop(2); } else { if (Key.isDown(40)) { Jade.gotoAndStop(2); } } if (!Key.isDown(37) && !Key.isDown(38) && !Key.isDown(39) && !Key.isDown(40)) { Jade.gotoAndStop(1); } if (!Key.isDown(37) && !Key.isDown(39)) { dx = 0; } if (!Key.isDown(38) && !Key.isDown(40)) { dy = 0; } if (hitBox._x < 0) { dx = 0; Jade._x = 32; hitBox._x = 0; } if (hitBox._y < 48) { dy = 0; Jade._y = 76; hitBox._y = 48; } if (hitBox._x > 640 - hitBox._width) { dx = 0; Jade._x = 640 - hitBox._width / 2; hitBox._x = 640 - hitBox._width; play(); } if (hitBox._y > 480 - hitBox._height) { dy = 0; Jade._y = 480 - hitBox._height + 28; hitBox._y = 480 - hitBox._height; } if (_root.hitBox._y + _root.hitBox._height / 2 < _root.RainbowBox._y + _root.RainbowBox._height / 2 || _root.nobox._y + _root.nobox._height / 2 < _root.RainbowBox._y + _root.RainbowBox._height / 2) { _root.Rainbow.swapDepths(21); } else { _root.Rainbow.swapDepths(5); } if (_root.hitBox._y + _root.hitBox._height / 2 < _root.TwilightBox._y + _root.TwilightBox._height / 2 || _root.nobox._y + _root.nobox._height / 2 < _root.TwilightBox._y + _root.TwilightBox._height / 2) { _root.Twilight.swapDepths(22); } else { _root.Twilight.swapDepths(10); } if (_root.hitBox._y + _root.hitBox._height / 2 > _root.DerpyBox._y + _root.DerpyBox._height / 2 || _root.nobox._y + _root.nobox._height / 2 > _root.DerpyBox._y + _root.DerpyBox._height / 2) { _root.Derpy.swapDepths(19); } else { _root.Derpy.swapDepths(30); } if (Key.isDown(16)) { _root.attachMovie('InvitationList', 'Invite', 4999); Invite._x = 318; Invite._y = 20; } else { Invite.removeMovieClip(); } }; } frame 1555 { _root.FadeBlack.swapDepths(10001); } frame 1559 { onEnterFrame = function () { Rainbow.removeMovieClip(); Twilight.removeMovieClip(); Derpy.removeMovieClip(); }; } frame 1560 { onEnterFrame = function () { if (_root.hitBox._x > 200) { Jade._x -= 560; hitBox._x -= 560; play(); } }; } frame 1561 { _root.BlackScreen.swapDepths(10000); _root.attachMovie('Fluttershy', 'Fluttershy', 5); _root.attachMovie('Opale', 'Opale', 10); Opale._x = 240; Opale._y = 430; Fluttershy._x = 400; Fluttershy._y = 458; onEnterFrame = function () { FadeBlack.removeMovieClip(); }; } instance OpalBox of movieClip 1946 hitBox { onClipEvent (enterFrame) { _root.OpalBox; if (hitTest(_root.hitBox)) { if (_root.hitBox._x + _root.hitBox._width + 4 > _root.OpalBox._x && _root.hitBox._x + _root.hitBox._width <= _root.OpalBox._x + 4) { dx = 0; sx = 0; _root.hitBox._x = _root.OpalBox._x - _root.hitBox._width; _root.Jade._x = _root.OpalBox._x - _root.hitBox._width / 2; } else { if (_root.hitBox._x < _root.OpalBox._x + _root.OpalBox._width + 4 && _root.hitBox._x >= _root.OpalBox._x + _root.OpalBox._width - 4) { dx = 0; sx = 0; _root.hitBox._x = _root.OpalBox._x + _root.OpalBox._width; _root.Jade._x = _root.OpalBox._x + _root.OpalBox._width + _root.hitBox._width / 2; } } if (_root.hitBox._y + _root.hitBox._height + 4 > _root.OpalBox._y && _root.hitBox._y + _root.hitBox._height <= _root.OpalBox._y + 4) { dy = 0; _root.hitBox._y = _root.OpalBox._y - _root.hitBox._height; _root.Jade._y = _root.OpalBox._y - _root.hitBox._height + 28; } else { if (_root.hitBox._y < _root.OpalBox._y + _root.OpalBox._height + 4 && _root.hitBox._y >= _root.OpalBox._y + _root.OpalBox._height - 4) { dy = 0; _root.hitBox._y = _root.OpalBox._y + _root.OpalBox._height; _root.Jade._y = _root.OpalBox._y + _root.OpalBox._height + 28; } } _root.collisionTxt.text = 'Collision Detected!'; if (Key.isDown(32)) { _root.attachMovie('dialogueBox', 'dialoguebox', 1000); _root.dialoguebox._x = 20; _root.dialoguebox._y = 20; _root.dialoguebox.gotoAndPlay('Opal1'); } } else { _root.collisionTxt.text = 'No Collision'; } if (_root.hitBox._x + _root.hitBox._width / 2 > _root.OpalBox._x + _root.OpalBox._width / 2 || _root.nobox._x + _root.nobox._width / 2 > _root.OpalBox._x + _root.OpalBox._width / 2) { _root.Opale._xscale = 100; } else { _root.Opale._xscale = -100; } } } instance FlutterBox of movieClip 1946 hitBox { onClipEvent (enterFrame) { _root.FlutterBox; if (hitTest(_root.hitBox)) { if (_root.hitBox._x + _root.hitBox._width + 4 > _root.FlutterBox._x && _root.hitBox._x + _root.hitBox._width <= _root.FlutterBox._x + 4) { dx = 0; sx = 0; _root.hitBox._x = _root.FlutterBox._x - _root.hitBox._width; _root.Jade._x = _root.FlutterBox._x - _root.hitBox._width / 2; } else { if (_root.hitBox._x < _root.FlutterBox._x + _root.FlutterBox._width + 4 && _root.hitBox._x >= _root.FlutterBox._x + _root.FlutterBox._width - 4) { dx = 0; sx = 0; _root.hitBox._x = _root.FlutterBox._x + _root.FlutterBox._width; _root.Jade._x = _root.FlutterBox._x + _root.FlutterBox._width + _root.hitBox._width / 2; } } if (_root.hitBox._y + _root.hitBox._height + _root.FlutterBox._y && _root.hitBox._y + _root.hitBox._height <= _root.FlutterBox._y + 4) { dy = 0; _root.hitBox._y = _root.FlutterBox._y - _root.hitBox._height; _root.Jade._y = _root.FlutterBox._y - _root.hitBox._height + 28; } else { if (_root.hitBox._y < _root.FlutterBox._y + _root.FlutterBox._height + 4 && _root.hitBox._y >= _root.FlutterBox._y + _root.FlutterBox._height - 4) { dy = 0; _root.hitBox._y = _root.FlutterBox._y + _root.FlutterBox._height; _root.Jade._y = _root.FlutterBox._y + _root.FlutterBox._height + 28; } } if (Key.isDown(32)) { _root.attachMovie('dialogueBox', 'dialoguebox', 1000); _root.dialoguebox._x = 20; _root.dialoguebox._y = 20; if (flu < 1) { _root.dialoguebox.gotoAndPlay('Flut1'); } if (flu >= 1 && flu < 3) { _root.dialoguebox.gotoAndPlay('Flut2'); } if (flu >= 3 && flu < 5) { _root.dialoguebox.gotoAndPlay('Flut3'); } if (flu >= 5) { _root.dialoguebox.gotoAndPlay('Flut4'); } } } if (_root.hitBox._x + _root.hitBox._width / 2 > _root.FlutterBox._x + _root.FlutterBox._width / 2 || _root.nobox._x + _root.nobox._width / 2 > _root.FlutterBox._x + _root.FlutterBox._width / 2) { _root.Fluttershy._xscale = 100; } else { _root.Fluttershy._xscale = -100; } } } frame 1566 { stop(); var dx = 0; var dy = 0; var sx = 0; var sy = 0; onEnterFrame = function () { _root.txt1.text = hitBox._x; _root.txt2.text = hitBox._y; BlackScreen.removeMovieClip(); Jade._x += dx; Jade._y += dy; hitBox._x += dx; hitBox._y += dy; if (Key.isDown(37) && dx > -4) { dx += -4; } else { if (Key.isDown(39) && dx < 4) { dx += 4; } } if (Key.isDown(38) && dy > -4) { dy += -4; } else { if (Key.isDown(40) && dy < 4) { dy += 4; } } if (Key.isDown(37)) { Jade._xscale = -100; Jade.gotoAndStop(2); } else { if (Key.isDown(39)) { Jade._xscale = 100; Jade.gotoAndStop(2); } } if (Key.isDown(38)) { Jade.gotoAndStop(2); } else { if (Key.isDown(40)) { Jade.gotoAndStop(2); } } if (!Key.isDown(37) && !Key.isDown(38) && !Key.isDown(39) && !Key.isDown(40)) { Jade.gotoAndStop(1); } if (!Key.isDown(37) && !Key.isDown(39)) { dx = 0; } if (!Key.isDown(38) && !Key.isDown(40)) { dy = 0; } if (hitBox._x < 0) { dx = 0; Jade._x = 32; hitBox._x = 0; play(); } if (hitBox._y < 48) { dy = 0; Jade._y = 76; hitBox._y = 48; } if (hitBox._x > 640 - hitBox._width) { dx = 0; Jade._x = 640 - hitBox._width / 2; hitBox._x = 640 - hitBox._width; play(); } if (hitBox._y > 480 - hitBox._height) { dy = 0; Jade._y = 480 - hitBox._height + 28; hitBox._y = 480 - hitBox._height; } if (_root.hitBox._y + _root.hitBox._height / 2 < _root.OpaleBox._y + _root.OpaleBox._height / 2 || _root.nobox._y + _root.nobox._height / 2 < _root.OpaleBox._y + _root.OpaleBox._height / 2) { _root.Opale.swapDepths(22); } else { _root.Opale.swapDepths(10); } if (_root.hitBox._y + _root.hitBox._height / 2 > _root.FlutterBox._y + _root.FlutterBox._height / 2 || _root.nobox._y + _root.nobox._height / 2 > _root.FlutterBox._y + _root.FlutterBox._height / 2) { _root.Fluttershy.swapDepths(19); } else { _root.Fluttershy.swapDepths(30); } if (Key.isDown(16)) { _root.attachMovie('InvitationList', 'Invite', 4999); Invite._x = 318; Invite._y = 20; } else { Invite.removeMovieClip(); } }; } frame 1567 { _root.FadeBlack.swapDepths(10001); } frame 1570 { onEnterFrame = function () { Fluttershy.removeMovieClip(); Opale.removeMovieClip(); }; } frame 1571 { if (_root.hitBox._x < 200) { gotoAndPlay('Area1'); Jade._x += 560; hitBox._x += 560; } } frame 1572 { Jade._x -= 560; hitBox._x -= 560; } frame 1573 { _root.BlackScreen.swapDepths(10000); _root.attachMovie('Rarity', 'Rarity', 5); Rarity._x = 412; Rarity._y = 456; onEnterFrame = function () { FadeBlack.removeMovieClip(); }; } instance Box2 of movieClip 2022 { onClipEvent (enterFrame) { _root.Box2; if (hitTest(_root.hitBox)) { if (_root.hitBox._x + _root.hitBox._width + 4 > _root.Box2._x && _root.hitBox._x + _root.hitBox._width < _root.Box2._x + 16) { dx = 0; sx = 0; _root.hitBox._x = _root.Box2._x - _root.hitBox._width; _root.Jade._x = _root.Box2._x - _root.hitBox._width / 2; } else { if (_root.hitBox._x < _root.Box2._x + _root.Box2._width + 4 && _root.hitBox._x > _root.Box2._x + _root.Box2._width - 16) { dx = 0; sx = 0; _root.hitBox._x = _root.Box2._x + _root.Box2._width; _root.Jade._x = _root.Box2._x + _root.Box2._width + _root.hitBox._width / 2; } } if (_root.hitBox._y + _root.hitBox._height + 4 > _root.Box2._y && _root.hitBox._y + _root.hitBox._height < _root.Box2._y + 16) { dy = 0; sx = 0; _root.hitBox._y = _root.Box2._y - _root.hitBox._height; _root.Jade._y = _root.Box2._y - _root.hitBox._height + 28; } else { if (_root.hitBox._y < _root.Box2._y + _root.Box2._height + 4 && _root.hitBox._y > _root.Box2._y + _root.Box2._height - 16) { dy = 0; sx = 0; _root.hitBox._y = _root.Box2._y + _root.Box2._height; _root.Jade._y = _root.Box2._y + _root.Box2._height + 28; } } } } } instance Box1 of movieClip 2022 { onClipEvent (enterFrame) { _root.Box1; if (hitTest(_root.hitBox)) { if (_root.hitBox._x + _root.hitBox._width + 4 > _root.Box1._x && _root.hitBox._x + _root.hitBox._width < _root.Box1._x + 16) { dx = 0; sx = 0; _root.hitBox._x = _root.Box1._x - _root.hitBox._width; _root.Jade._x = _root.Box1._x - _root.hitBox._width / 2; } else { if (_root.hitBox._x < _root.Box1._x + _root.Box1._width + 4 && _root.hitBox._x > _root.Box1._x + _root.Box1._width - 16) { dx = 0; sx = 0; _root.hitBox._x = _root.Box1._x + _root.Box1._width; _root.Jade._x = _root.Box1._x + _root.Box1._width + _root.hitBox._width / 2; } } if (_root.hitBox._y + _root.hitBox._height + 4 > _root.Box1._y && _root.hitBox._y + _root.hitBox._height < _root.Box1._y + 16) { dy = 0; sx = 0; _root.hitBox._y = _root.Box1._y - _root.hitBox._height; _root.Jade._y = _root.Box1._y - _root.hitBox._height + 28; } else { if (_root.hitBox._y < _root.Box1._y + _root.Box1._height + 4 && _root.hitBox._y > _root.Box1._y + _root.Box1._height - 16) { dy = 0; sx = 0; _root.hitBox._y = _root.Box1._y + _root.Box1._height; _root.Jade._y = _root.Box1._y + _root.Box1._height + 28; } } } } } instance RareBox of movieClip 1946 hitBox { onClipEvent (enterFrame) { _root.RareBox; if (hitTest(_root.hitBox)) { if (_root.hitBox._x + _root.hitBox._width + 4 > _root.RareBox._x && _root.hitBox._x + _root.hitBox._width <= _root.RareBox._x + 4) { dx = 0; sx = 0; _root.hitBox._x = _root.RareBox._x - _root.hitBox._width; _root.Jade._x = _root.RareBox._x - _root.hitBox._width / 2; } else { if (_root.hitBox._x < _root.RareBox._x + _root.RareBox._width + 4 && _root.hitBox._x >= _root.RareBox._x + _root.RareBox._width - 4) { dx = 0; sx = 0; _root.hitBox._x = _root.RareBox._x + _root.RareBox._width; _root.Jade._x = _root.RareBox._x + _root.RareBox._width + _root.hitBox._width / 2; } } if (_root.hitBox._y + _root.hitBox._height + 4 > _root.RareBox._y && _root.hitBox._y + _root.hitBox._height <= _root.RareBox._y + 4) { dy = 0; _root.hitBox._y = _root.RareBox._y - _root.hitBox._height; _root.Jade._y = _root.RareBox._y - _root.hitBox._height + 28; } else { if (_root.hitBox._y < _root.RareBox._y + _root.RareBox._height + 4 && _root.hitBox._y >= _root.RareBox._y + _root.RareBox._height - 4) { dy = 0; _root.hitBox._y = _root.RareBox._y + _root.RareBox._height; _root.Jade._y = _root.RareBox._y + _root.RareBox._height + 28; } } _root.collisionTxt.text = 'Collision Detected!'; if (Key.isDown(32)) { _root.attachMovie('dialogueBox', 'dialoguebox', 1000); _root.dialoguebox._x = 20; _root.dialoguebox._y = 20; if (ra < 1) { _root.dialoguebox.gotoAndPlay('Rar1'); } if (ra >= 1 && ra < 3) { _root.dialoguebox.gotoAndPlay('Rar2'); } if (ra >= 3) { _root.dialoguebox.gotoAndPlay('Rar3'); } } } else { _root.collisionTxt.text = 'No Collision'; } if (_root.hitBox._x + _root.hitBox._width / 2 > _root.RareBox._x + _root.RareBox._width / 2 || _root.nobox._x + _root.nobox._width / 2 > _root.RareBox._x + _root.RareBox._width / 2) { _root.Rarity._xscale = 100; } else { _root.Rarity._xscale = -100; } } } frame 1578 { stop(); var dx = 0; var dy = 0; var sx = 0; var sy = 0; onEnterFrame = function () { BlackScreen.removeMovieClip(); Jade._x += dx; Jade._y += dy; hitBox._x += dx; hitBox._y += dy; if (Key.isDown(37) && dx > -4) { dx += -4; } else { if (Key.isDown(39) && dx < 4) { dx += 4; } } if (Key.isDown(38) && dy > -4) { dy += -4; } else { if (Key.isDown(40) && dy < 4) { dy += 4; } } if (Key.isDown(37)) { Jade._xscale = -100; Jade.gotoAndStop(2); } else { if (Key.isDown(39)) { Jade._xscale = 100; Jade.gotoAndStop(2); } } if (Key.isDown(38)) { Jade.gotoAndStop(2); } else { if (Key.isDown(40)) { Jade.gotoAndStop(2); } } if (!Key.isDown(37) && !Key.isDown(38) && !Key.isDown(39) && !Key.isDown(40)) { Jade.gotoAndStop(1); } if (!Key.isDown(37) && !Key.isDown(39)) { dx = 0; } if (!Key.isDown(38) && !Key.isDown(40)) { dy = 0; } if (hitBox._x < 0) { dx = 0; Jade._x = 32; hitBox._x = 0; play(); } if (hitBox._y < 48) { dy = 0; Jade._y = 76; hitBox._y = 48; } if (hitBox._x > 640 - hitBox._width) { dx = 0; Jade._x = 640 - hitBox._width / 2; hitBox._x = 640 - hitBox._width; play(); } if (hitBox._y > 480 - hitBox._height) { dy = 0; Jade._y = 480 - hitBox._height + 28; hitBox._y = 480 - hitBox._height; } if (_root.hitBox._y + _root.hitBox._height / 2 < _root.RareBox._y + _root.RareBox._height / 2 || _root.nobox._y + _root.nobox._height / 2 < _root.RareBox._y + _root.RareBox._height / 2) { _root.Rarity.swapDepths(21); } else { _root.Rarity.swapDepths(5); } if (Key.isDown(16)) { _root.attachMovie('InvitationList', 'Invite', 4999); Invite._x = 318; Invite._y = 20; } else { Invite.removeMovieClip(); } }; } frame 1579 { _root.FadeBlack.swapDepths(10001); } frame 1582 { onEnterFrame = function () { Rarity.removeMovieClip(); }; } frame 1583 { if (_root.hitBox._x < 200) { Jade._x += 560; hitBox._x += 560; gotoAndPlay('Area2'); } } frame 1584 { Jade._x -= 560; hitBox._x -= 560; } frame 1585 { _root.BlackScreen.swapDepths(10000); _root.Foreground1.swapDepths(9000); _root.attachMovie('Gummy', 'Gummy', 5); _root.attachMovie('Rainbow', 'Rainbow', 10); Gummy._x = 404; Gummy._y = 450; Rainbow._x = 154; Rainbow._y = 430; onEnterFrame = function () { FadeBlack.removeMovieClip(); }; } instance RainbowBox of movieClip 1946 hitBox { onClipEvent (enterFrame) { _root.RainbowBox; if (hitTest(_root.hitBox)) { if (_root.hitBox._x + _root.hitBox._width + 4 > _root.RainbowBox._x && _root.hitBox._x + _root.hitBox._width <= _root.RainbowBox._x + 4) { dx = 0; sx = 0; _root.hitBox._x = _root.RainbowBox._x - _root.hitBox._width; _root.Jade._x = _root.RainbowBox._x - _root.hitBox._width / 2; } else { if (_root.hitBox._x < _root.RainbowBox._x + _root.RainbowBox._width + 4 && _root.hitBox._x >= _root.RainbowBox._x + _root.RainbowBox._width - 4) { dx = 0; sx = 0; _root.hitBox._x = _root.RainbowBox._x + _root.RainbowBox._width; _root.Jade._x = _root.RainbowBox._x + _root.RainbowBox._width + _root.hitBox._width / 2; } } if (_root.hitBox._y + _root.hitBox._height + 4 > _root.RainbowBox._y && _root.hitBox._y + _root.hitBox._height <= _root.RainbowBox._y + 4) { dy = 0; _root.hitBox._y = _root.RainbowBox._y - _root.hitBox._height; _root.Jade._y = _root.RainbowBox._y - _root.hitBox._height + 28; } else { if (_root.hitBox._y < _root.RainbowBox._y + _root.RainbowBox._height + 4 && _root.hitBox._y >= _root.RainbowBox._y + _root.RainbowBox._height - 4) { dy = 0; _root.hitBox._y = _root.RainbowBox._y + _root.RainbowBox._height; _root.Jade._y = _root.RainbowBox._y + _root.RainbowBox._height + 28; } } if (Key.isDown(32)) { _root.attachMovie('dialogueBox', 'dialoguebox', 9001); _root.dialoguebox._x = 20; _root.dialoguebox._y = 20; if (da < 1) { _root.dialoguebox.gotoAndPlay('Rain1'); } if (da >= 1 && da < 3) { _root.dialoguebox.gotoAndPlay('Rain2'); } if (da >= 3) { _root.dialoguebox.gotoAndPlay('Rain3'); } } } else { _root.collisionTxt.text = 'No Collision'; } if (_root.hitBox._x + _root.hitBox._width / 2 > _root.RainbowBox._x + _root.RainbowBox._width / 2 || _root.nobox._x + _root.nobox._width / 2 > _root.RainbowBox._x + _root.RainbowBox._width / 2) { _root.Rainbow._xscale = 100; } else { _root.Rainbow._xscale = -100; } } } instance GummyBox of movieClip 1946 hitBox { onClipEvent (enterFrame) { _root.GummyBox; if (hitTest(_root.hitBox)) { if (_root.hitBox._x + _root.hitBox._width + 4 > _root.GummyBox._x && _root.hitBox._x + _root.hitBox._width <= _root.GummyBox._x + 4) { dx = 0; sx = 0; _root.hitBox._x = _root.GummyBox._x - _root.hitBox._width; _root.Jade._x = _root.GummyBox._x - _root.hitBox._width / 2; } else { if (_root.hitBox._x < _root.GummyBox._x + _root.GummyBox._width + 4 && _root.hitBox._x >= _root.GummyBox._x + _root.GummyBox._width - 4) { dx = 0; sx = 0; _root.hitBox._x = _root.GummyBox._x + _root.GummyBox._width; _root.Jade._x = _root.GummyBox._x + _root.GummyBox._width + _root.hitBox._width / 2; } } if (_root.hitBox._y + _root.hitBox._height + 4 > _root.GummyBox._y && _root.hitBox._y + _root.hitBox._height <= _root.GummyBox._y + 4) { dy = 0; _root.hitBox._y = _root.GummyBox._y - _root.hitBox._height; _root.Jade._y = _root.GummyBox._y - _root.hitBox._height + 28; } else { if (_root.hitBox._y < _root.GummyBox._y + _root.GummyBox._height + 4 && _root.hitBox._y >= _root.GummyBox._y + _root.GummyBox._height - 4) { dy = 0; _root.hitBox._y = _root.GummyBox._y + _root.GummyBox._height; _root.Jade._y = _root.GummyBox._y + _root.GummyBox._height + 28; } } _root.collisionTxt.text = 'Collision Detected!'; if (Key.isDown(32)) { _root.attachMovie('dialogueBox', 'dialoguebox', 9001); _root.dialoguebox._x = 20; _root.dialoguebox._y = 20; _root.dialoguebox.gotoAndPlay('Gum1'); } } else { _root.collisionTxt.text = 'No Collision'; } if (_root.hitBox._x + _root.hitBox._width / 2 > _root.GummyBox._x + _root.GummyBox._width / 2 || _root.nobox._x + _root.nobox._width / 2 > _root.GummyBox._x + _root.GummyBox._width / 2) { _root.Gummy._xscale = 100; } else { _root.Gummy._xscale = -100; } } } movieClip 2030 { } movieClip 2031 { } instance Sugarcube of movieClip 2031 { onClipEvent (enterFrame) { _root.Sugarcube; if (hitTest(_root.hitBox)) { _root.attachMovie('EnterSugarcube', 'EnterSugarcube', 102); _root.EnterSugarcube._x = 320; _root.EnterSugarcube._y = 280; if (Key.isDown(32)) { _root.gotoAndPlay('Area6'); } } else { _root.EnterSugarcube.removeMovieClip(); } } } frame 1590 { stop(); var dx = 0; var dy = 0; var sx = 0; var sy = 0; onEnterFrame = function () { BlackScreen.removeMovieClip(); Jade._x += dx; Jade._y += dy; hitBox._x += dx; hitBox._y += dy; if (Key.isDown(37) && dx > -4) { dx += -4; } else { if (Key.isDown(39) && dx < 4) { dx += 4; } } if (Key.isDown(38) && dy > -4) { dy += -4; } else { if (Key.isDown(40) && dy < 4) { dy += 4; } } if (Key.isDown(37)) { Jade._xscale = -100; Jade.gotoAndStop(2); } else { if (Key.isDown(39)) { Jade._xscale = 100; Jade.gotoAndStop(2); } } if (Key.isDown(38)) { Jade.gotoAndStop(2); } else { if (Key.isDown(40)) { Jade.gotoAndStop(2); } } if (!Key.isDown(37) && !Key.isDown(38) && !Key.isDown(39) && !Key.isDown(40)) { Jade.gotoAndStop(1); } if (!Key.isDown(37) && !Key.isDown(39)) { dx = 0; } if (!Key.isDown(38) && !Key.isDown(40)) { dy = 0; } if (hitBox._x < 0) { dx = 0; Jade._x = 32; hitBox._x = 0; play(); } if (hitBox._y < 48) { dy = 0; Jade._y = 76; hitBox._y = 48; } if (hitBox._x > 640 - hitBox._width) { dx = 0; Jade._x = 640 - hitBox._width / 2; hitBox._x = 640 - hitBox._width; play(); } if (hitBox._y > 480 - hitBox._height) { dy = 0; Jade._y = 480 - hitBox._height + 28; hitBox._y = 480 - hitBox._height; } if (_root.hitBox._y + _root.hitBox._height / 2 < _root.RainbowBox._y + _root.RainbowBox._height / 2 || _root.nobox._y + _root.nobox._height / 2 < _root.RainbowBox._y + _root.RainbowBox._height / 2) { _root.Rainbow.swapDepths(22); } else { _root.Rainbow.swapDepths(10); } if (_root.hitBox._y + _root.hitBox._height / 2 < _root.GummyBox._y + _root.GummyBox._height / 2 || _root.nobox._y + _root.nobox._height / 2 < _root.GummyBox._y + _root.GummyBox._height / 2) { _root.Gummy.swapDepths(21); } else { _root.Gummy.swapDepths(5); } if (Key.isDown(16)) { _root.attachMovie('InvitationList', 'Invite', 9002); Invite._x = 318; Invite._y = 20; } else { Invite.removeMovieClip(); } }; } frame 1591 { _root.FadeBlack.swapDepths(10001); } frame 1594 { onEnterFrame = function () { Foreground1.removeMovieClip(); Gummy.removeMovieClip(); Rainbow.removeMovieClip(); }; } frame 1595 { if (_root.hitBox._x < 200) { Jade._x += 560; hitBox._x += 560; gotoAndPlay('Area3'); } } frame 1596 { Jade._x -= 560; hitBox._x -= 560; } frame 1597 { _root.BlackScreen.swapDepths(10000); _root.attachMovie('Applejack', 'Applejack', 10); Applejack._x = 316; Applejack._y = 420; onEnterFrame = function () { FadeBlack.removeMovieClip(); }; } instance Box4 of movieClip 2022 { onClipEvent (enterFrame) { _root.Box4; if (hitTest(_root.hitBox)) { if (_root.hitBox._x + _root.hitBox._width + 4 > _root.Box4._x && _root.hitBox._x + _root.hitBox._width < _root.Box4._x + 16) { dx = 0; sx = 0; _root.hitBox._x = _root.Box4._x - _root.hitBox._width; _root.Jade._x = _root.Box4._x - _root.hitBox._width / 2; } else { if (_root.hitBox._x < _root.Box4._x + _root.Box4._width + 4 && _root.hitBox._x > _root.Box4._x + _root.Box4._width - 16) { dx = 0; sx = 0; _root.hitBox._x = _root.Box4._x + _root.Box4._width; _root.Jade._x = _root.Box4._x + _root.Box4._width + _root.hitBox._width / 2; } } if (_root.hitBox._y < _root.Box4._y + _root.Box4._height + 4 && _root.hitBox._y > _root.Box4._y + _root.Box4._height - 16) { dy = 0; sx = 0; _root.hitBox._y = _root.Box4._y + _root.Box4._height; _root.Jade._y = _root.Box4._y + _root.Box4._height + 28; } } } } instance Box3 of movieClip 2022 { onClipEvent (enterFrame) { _root.Box3; if (hitTest(_root.hitBox)) { if (_root.hitBox._x + _root.hitBox._width + 4 > _root.Box3._x && _root.hitBox._x + _root.hitBox._width < _root.Box3._x + 16) { dx = 0; sx = 0; _root.hitBox._x = _root.Box3._x - _root.hitBox._width; _root.Jade._x = _root.Box3._x - _root.hitBox._width / 2; } else { if (_root.hitBox._x < _root.Box3._x + _root.Box3._width + 4 && _root.hitBox._x > _root.Box3._x + _root.Box3._width - 16) { dx = 0; sx = 0; _root.hitBox._x = _root.Box3._x + _root.Box3._width; _root.Jade._x = _root.Box3._x + _root.Box3._width + _root.hitBox._width / 2; } } if (_root.hitBox._y < _root.Box3._y + _root.Box3._height + 4 && _root.hitBox._y > _root.Box3._y + _root.Box3._height - 16) { dy = 0; sx = 0; _root.hitBox._y = _root.Box3._y + _root.Box3._height; _root.Jade._y = _root.Box3._y + _root.Box3._height + 28; } } } } instance AppleBox of movieClip 1946 hitBox { onClipEvent (enterFrame) { _root.AppleBox; if (hitTest(_root.hitBox)) { if (_root.hitBox._x + _root.hitBox._width + 4 > _root.AppleBox._x && _root.hitBox._x + _root.hitBox._width <= _root.AppleBox._x + 4) { dx = 0; sx = 0; _root.hitBox._x = _root.AppleBox._x - _root.hitBox._width; _root.Jade._x = _root.AppleBox._x - _root.hitBox._width / 2; } else { if (_root.hitBox._x < _root.AppleBox._x + _root.AppleBox._width + 4 && _root.hitBox._x >= _root.AppleBox._x + _root.AppleBox._width - 4) { dx = 0; sx = 0; _root.hitBox._x = _root.AppleBox._x + _root.AppleBox._width; _root.Jade._x = _root.AppleBox._x + _root.AppleBox._width + _root.hitBox._width / 2; } } if (_root.hitBox._y + _root.hitBox._height + 4 > _root.AppleBox._y && _root.hitBox._y + _root.hitBox._height <= _root.AppleBox._y + 4) { dy = 0; _root.hitBox._y = _root.AppleBox._y - _root.hitBox._height; _root.Jade._y = _root.AppleBox._y - _root.hitBox._height + 28; } else { if (_root.hitBox._y < _root.AppleBox._y + _root.AppleBox._height + 4 && _root.hitBox._y >= _root.AppleBox._y + _root.AppleBox._height - 4) { dy = 0; _root.hitBox._y = _root.AppleBox._y + _root.AppleBox._height; _root.Jade._y = _root.AppleBox._y + _root.AppleBox._height + 28; } } _root.collisionTxt.text = 'Collision Detected!'; if (Key.isDown(32)) { _root.attachMovie('dialogueBox', 'dialoguebox', 4999); _root.dialoguebox._x = 20; _root.dialoguebox._y = 20; if (aj < 1) { _root.dialoguebox.gotoAndPlay('Aj1'); } if (aj >= 1) { _root.dialoguebox.gotoAndPlay('Aj2'); } } } else { _root.collisionTxt.text = 'No Collision'; } if (_root.hitBox._x + _root.hitBox._width / 2 > _root.AppleBox._x + _root.AppleBox._width / 2 || _root.nobox._x + _root.nobox._width / 2 > _root.AppleBox._x + _root.AppleBox._width / 2) { _root.Applejack._xscale = 100; } else { _root.Applejack._xscale = -100; } } } frame 1602 { stop(); var dx = 0; var dy = 0; var sx = 0; var sy = 0; onEnterFrame = function () { BlackScreen.removeMovieClip(); Jade._x += dx; Jade._y += dy; hitBox._x += dx; hitBox._y += dy; if (Key.isDown(37) && dx > -4) { dx += -4; } else { if (Key.isDown(39) && dx < 4) { dx += 4; } } if (Key.isDown(38) && dy > -4) { dy += -4; } else { if (Key.isDown(40) && dy < 4) { dy += 4; } } if (Key.isDown(37)) { Jade._xscale = -100; Jade.gotoAndStop(2); } else { if (Key.isDown(39)) { Jade._xscale = 100; Jade.gotoAndStop(2); } } if (Key.isDown(38)) { Jade.gotoAndStop(2); } else { if (Key.isDown(40)) { Jade.gotoAndStop(2); } } if (!Key.isDown(37) && !Key.isDown(38) && !Key.isDown(39) && !Key.isDown(40)) { Jade.gotoAndStop(1); } if (!Key.isDown(37) && !Key.isDown(39)) { dx = 0; } if (!Key.isDown(38) && !Key.isDown(40)) { dy = 0; } if (hitBox._x < 0) { dx = 0; Jade._x = 32; hitBox._x = 0; play(); } if (hitBox._y < 48) { dy = 0; Jade._y = 76; hitBox._y = 48; } if (hitBox._x > 640 - hitBox._width) { dx = 0; Jade._x = 640 - hitBox._width / 2; hitBox._x = 640 - hitBox._width; play(); } if (hitBox._y > 480 - hitBox._height) { dy = 0; Jade._y = 480 - hitBox._height + 28; hitBox._y = 480 - hitBox._height; } if (_root.hitBox._y + _root.hitBox._height / 2 < _root.AppleBox._y + _root.AppleBox._height / 2 || _root.nobox._y + _root.nobox._height / 2 < _root.AppleBox._y + _root.AppleBox._height / 2) { _root.Applejack.swapDepths(22); } else { _root.Applejack.swapDepths(10); } if (Key.isDown(16)) { _root.attachMovie('InvitationList', 'Invite', 1000); Invite._x = 318; Invite._y = 20; } else { Invite.removeMovieClip(); } }; } frame 1603 { _root.FadeBlack.swapDepths(10001); } frame 1606 { onEnterFrame = function () { Applejack.removeMovieClip(); }; } frame 1607 { onEnterFrame = function () { if (_root.hitBox._x > 200) { Jade._x -= 560; hitBox._x -= 560; gotoAndPlay('Area7'); } }; } frame 1608 { onEnterFrame = function () { if (_root.hitBox._x < 200) { Jade._x += 560; hitBox._x += 560; gotoAndPlay('Area4'); } }; } frame 1609 { _root.FadeBlack.swapDepths(10001); } instance Sugarcube of movieClip 2031 { onClipEvent (enterFrame) { _root.Sugarcube; if (hitTest(_root.hitBox)) { _root.attachMovie('EnterSugarcube', 'EnterSugarcube', 102); _root.EnterSugarcube._x = 320; _root.EnterSugarcube._y = 280; if (Key.isDown(32)) { _root.gotoAndPlay('Area6'); } } else { _root.EnterSugarcube.removeMovieClip(); } } } frame 1612 { onEnterFrame = function () { Foreground1.removeMovieClip(); Gummy.removeMovieClip(); Rainbow.removeMovieClip(); EnterSugarcube.removeMovieClip(); }; } frame 1613 { Jade._x = 52; Jade._y = 428; hitBox._x = 20; hitBox._y = 400; } frame 1616 { _root.BlackScreen.swapDepths(10000); _root.CupcakesSugarcube.swapDepths(4002); _root.CupcakesSugarcube._alpha = 60; _root.attachMovie('Pinkie', 'Pinkie', 10); Pinkie._x = 320; Pinkie._y = 380; onEnterFrame = function () { FadeBlack.removeMovieClip(); }; } instance Box4 of movieClip 2022 { onClipEvent (enterFrame) { _root.Box4; if (hitTest(_root.hitBox)) { if (_root.hitBox._x + _root.hitBox._width + 4 > _root.Box4._x && _root.hitBox._x + _root.hitBox._width < _root.Box4._x + 16) { dx = 0; sx = 0; _root.hitBox._x = _root.Box4._x - _root.hitBox._width; _root.Jade._x = _root.Box4._x - _root.hitBox._width / 2; } else { if (_root.hitBox._x < _root.Box4._x + _root.Box4._width + 4 && _root.hitBox._x > _root.Box4._x + _root.Box4._width - 16) { dx = 0; sx = 0; _root.hitBox._x = _root.Box4._x + _root.Box4._width; _root.Jade._x = _root.Box4._x + _root.Box4._width + _root.hitBox._width / 2; } } if (_root.hitBox._y < _root.Box4._y + _root.Box4._height + 4 && _root.hitBox._y > _root.Box4._y + _root.Box4._height - 16) { dy = 0; sx = 0; _root.hitBox._y = _root.Box4._y + _root.Box4._height; _root.Jade._y = _root.Box4._y + _root.Box4._height + 28; } } } } instance PinkieBox of movieClip 1946 hitBox { onClipEvent (enterFrame) { _root.PinkieBox; if (hitTest(_root.hitBox)) { if (_root.hitBox._x + _root.hitBox._width + 4 > _root.PinkieBox._x && _root.hitBox._x + _root.hitBox._width <= _root.PinkieBox._x + 4) { dx = 0; sx = 0; _root.hitBox._x = _root.PinkieBox._x - _root.hitBox._width; _root.Jade._x = _root.PinkieBox._x - _root.hitBox._width / 2; } else { if (_root.hitBox._x < _root.PinkieBox._x + _root.PinkieBox._width + 4 && _root.hitBox._x >= _root.PinkieBox._x + _root.PinkieBox._width - 4) { dx = 0; sx = 0; _root.hitBox._x = _root.PinkieBox._x + _root.PinkieBox._width; _root.Jade._x = _root.PinkieBox._x + _root.PinkieBox._width + _root.hitBox._width / 2; } } if (_root.hitBox._y + _root.hitBox._height + 4 > _root.PinkieBox._y && _root.hitBox._y + _root.hitBox._height <= _root.PinkieBox._y + 4) { dy = 0; _root.hitBox._y = _root.PinkieBox._y - _root.hitBox._height; _root.Jade._y = _root.PinkieBox._y - _root.hitBox._height + 28; } else { if (_root.hitBox._y < _root.PinkieBox._y + _root.PinkieBox._height + 4 && _root.hitBox._y >= _root.PinkieBox._y + _root.PinkieBox._height - 4) { dy = 0; _root.hitBox._y = _root.PinkieBox._y + _root.PinkieBox._height; _root.Jade._y = _root.PinkieBox._y + _root.PinkieBox._height + 28; } } _root.collisionTxt.text = 'Collision Detected!'; if (Key.isDown(32)) { _root.attachMovie('dialogueBox', 'dialoguebox', 4999); _root.dialoguebox._x = 20; _root.dialoguebox._y = 20; if (pp < 1 && !all >= 1) { _root.dialoguebox.gotoAndPlay('Pink1'); } if (pp >= 1 && !all >= 1) { _root.dialoguebox.gotoAndPlay('Pink2'); } if (all >= 1) { _root.dialoguebox.gotoAndPlay('Pink3'); } } } else { _root.collisionTxt.text = 'No Collision'; } if (_root.hitBox._x + _root.hitBox._width / 2 > _root.PinkieBox._x + _root.PinkieBox._width / 2 || _root.nobox._x + _root.nobox._width / 2 > _root.PinkieBox._x + _root.PinkieBox._width / 2) { _root.Pinkie._xscale = 100; } else { _root.Pinkie._xscale = -100; } } } movieClip 2040 { } frame 1621 { stop(); var dx = 0; var dy = 0; var sx = 0; var sy = 0; onEnterFrame = function () { BlackScreen.removeMovieClip(); Jade._x += dx; Jade._y += dy; hitBox._x += dx; hitBox._y += dy; if (Key.isDown(37) && dx > -4) { dx += -4; } else { if (Key.isDown(39) && dx < 4) { dx += 4; } } if (Key.isDown(38) && dy > -4) { dy += -4; } else { if (Key.isDown(40) && dy < 4) { dy += 4; } } if (Key.isDown(37)) { Jade._xscale = -100; Jade.gotoAndStop(2); } else { if (Key.isDown(39)) { Jade._xscale = 100; Jade.gotoAndStop(2); } } if (Key.isDown(38)) { Jade.gotoAndStop(2); } else { if (Key.isDown(40)) { Jade.gotoAndStop(2); } } if (!Key.isDown(37) && !Key.isDown(38) && !Key.isDown(39) && !Key.isDown(40)) { Jade.gotoAndStop(1); } if (!Key.isDown(37) && !Key.isDown(39)) { dx = 0; } if (!Key.isDown(38) && !Key.isDown(40)) { dy = 0; } if (hitBox._x < 0) { dx = 0; Jade._x = 32; hitBox._x = 0; play(); } if (hitBox._y < 48) { dy = 0; Jade._y = 76; hitBox._y = 48; } if (hitBox._x > 640 - hitBox._width) { dx = 0; Jade._x = 640 - hitBox._width / 2; hitBox._x = 640 - hitBox._width; } if (hitBox._y > 480 - hitBox._height) { dy = 0; Jade._y = 480 - hitBox._height + 28; hitBox._y = 480 - hitBox._height; } if (_root.hitBox._y + _root.hitBox._height / 2 < _root.PinkieBox._y + _root.PinkieBox._height / 2 || _root.nobox._y + _root.nobox._height / 2 < _root.PinkieBox._y + _root.PinkieBox._height / 2) { _root.Pinkie.swapDepths(22); } else { _root.Pinkie.swapDepths(10); } if (tw >= 1 && da >= 1 && aj >= 1 && ra >= 1 && flu >= 1) { _global.all = 1; } if (Key.isDown(16)) { _root.attachMovie('InvitationList', 'Invite', 1000); Invite._x = 318; Invite._y = 20; } else { Invite.removeMovieClip(); } }; } frame 1622 { _root.FadeBlack.swapDepths(10001); } frame 1626 { onEnterFrame = function () { Pinkie.removeMovieClip(); CupcakesSugarcube.removeMovieClip(); Jade._x = 328; Jade._y = 412; hitBox._x = 296; hitBox._y = 384; }; } frame 1627 { onEnterFrame = function () { gotoAndPlay('Area4'); }; } frame 1628 { _root.BlackScreen.swapDepths(10000); _root.attachMovie('Zacora', 'Zacora', 10); Zacora._x = 322; Zacora._y = 420; onEnterFrame = function () { FadeBlack.removeMovieClip(); }; } instance ZacoraBox of movieClip 1946 hitBox { onClipEvent (enterFrame) { _root.ZacoraBox; if (hitTest(_root.hitBox)) { if (_root.hitBox._x + _root.hitBox._width + 4 > _root.ZacoraBox._x && _root.hitBox._x + _root.hitBox._width <= _root.ZacoraBox._x + 4) { dx = 0; sx = 0; _root.hitBox._x = _root.ZacoraBox._x - _root.hitBox._width; _root.Jade._x = _root.ZacoraBox._x - _root.hitBox._width / 2; } else { if (_root.hitBox._x < _root.ZacoraBox._x + _root.ZacoraBox._width + 4 && _root.hitBox._x >= _root.ZacoraBox._x + _root.ZacoraBox._width - 4) { dx = 0; sx = 0; _root.hitBox._x = _root.ZacoraBox._x + _root.ZacoraBox._width; _root.Jade._x = _root.ZacoraBox._x + _root.ZacoraBox._width + _root.hitBox._width / 2; } } if (_root.hitBox._y + _root.hitBox._height + 4 > _root.ZacoraBox._y && _root.hitBox._y + _root.hitBox._height <= _root.ZacoraBox._y + 4) { dy = 0; _root.hitBox._y = _root.ZacoraBox._y - _root.hitBox._height; _root.Jade._y = _root.ZacoraBox._y - _root.hitBox._height + 28; } else { if (_root.hitBox._y < _root.ZacoraBox._y + _root.ZacoraBox._height + 4 && _root.hitBox._y >= _root.ZacoraBox._y + _root.ZacoraBox._height - 4) { dy = 0; _root.hitBox._y = _root.ZacoraBox._y + _root.ZacoraBox._height; _root.Jade._y = _root.ZacoraBox._y + _root.ZacoraBox._height + 28; } } if (Key.isDown(32)) { _root.attachMovie('dialogueBox', 'dialoguebox', 4999); _root.dialoguebox._x = 20; _root.dialoguebox._y = 20; if (za < 1 && !ev >= 1) { _root.dialoguebox.gotoAndPlay('Zac1'); } if (za >= 1 && !ev >= 1) { _root.dialoguebox.gotoAndPlay('Zac2'); } if (ev >= 1) { _root.dialoguebox.gotoAndPlay('Zac3'); } } } if (_root.hitBox._x + _root.hitBox._width / 2 > _root.ZacoraBox._x + _root.ZacoraBox._width / 2 || _root.nobox._x + _root.nobox._width / 2 > _root.ZacoraBox._x + _root.ZacoraBox._width / 2) { _root.Zacora._xscale = 100; } else { _root.Zacora._xscale = -100; } } } frame 1629 { pasta = new Date(); hours = pasta.getHours(); onEnterFrame = function () { if (hours >= 23 || hours < 6) { _global.ti = 1; } if (ti >= 1 && drp >= 10 && tw >= 5 && aj >= 3 && da >= 5 && ra >= 4 && gu >= 1 && flu >= 10 && pp >= 3 && za >= 3 && op >= 1) { _global.ev = 1; } if (ev < 1) { _root.attachMovie('EverForeDay', 'EverForeDay', 5102); _root.EverForeDay._alpha = 60; } if (ev >= 1) { _root.Zacora.gotoAndStop(4); _root.attachMovie('EverNight', 'EverNight', 2); _root.attachMovie('EverForeNight', 'EverForeNight', 5103); _root.EverForeNight._alpha = 60; } }; } frame 1633 { stop(); var dx = 0; var dy = 0; var sx = 0; var sy = 0; onEnterFrame = function () { BlackScreen.removeMovieClip(); Jade._x += dx; Jade._y += dy; hitBox._x += dx; hitBox._y += dy; if (Key.isDown(37) && dx > -4) { dx += -4; } else { if (Key.isDown(39) && dx < 4) { dx += 4; } } if (Key.isDown(38) && dy > -4) { dy += -4; } else { if (Key.isDown(40) && dy < 4) { dy += 4; } } if (Key.isDown(37)) { Jade._xscale = -100; Jade.gotoAndStop(2); } else { if (Key.isDown(39)) { Jade._xscale = 100; Jade.gotoAndStop(2); } } if (Key.isDown(38)) { Jade.gotoAndStop(2); } else { if (Key.isDown(40)) { Jade.gotoAndStop(2); } } if (!Key.isDown(37) && !Key.isDown(38) && !Key.isDown(39) && !Key.isDown(40)) { Jade.gotoAndStop(1); } if (!Key.isDown(37) && !Key.isDown(39)) { dx = 0; } if (!Key.isDown(38) && !Key.isDown(40)) { dy = 0; } if (hitBox._x < 0) { dx = 0; Jade._x = 32; hitBox._x = 0; play(); } if (hitBox._y < 48) { dy = 0; Jade._y = 76; hitBox._y = 48; } if (hitBox._x > 640 - hitBox._width) { dx = 0; Jade._x = 640 - hitBox._width / 2; hitBox._x = 640 - hitBox._width; if (ev >= 3) { gotoAndPlay('EverFree'); } } if (hitBox._y > 480 - hitBox._height) { dy = 0; Jade._y = 480 - hitBox._height + 28; hitBox._y = 480 - hitBox._height; } if (_root.hitBox._y + _root.hitBox._height / 2 < _root.ZacoraBox._y + _root.ZacoraBox._height / 2 || _root.nobox._y + _root.nobox._height / 2 < _root.ZacoraBox._y + _root.ZacoraBox._height / 2) { _root.Zacora.swapDepths(22); } else { _root.Zacora.swapDepths(10); } if (ev >= 3) { _root.attachMovie('Arrow', 'Arrow', 3); Arrow._x = 604; Arrow._y = 431; } if (Key.isDown(16)) { _root.attachMovie('InvitationList', 'Invite', 1000); Invite._x = 318; Invite._y = 20; } else { Invite.removeMovieClip(); } }; } frame 1634 { _root.FadeBlack.swapDepths(10001); } frame 1637 { onEnterFrame = function () { Zacora.removeMovieClip(); Arrow.removeMovieClip(); EverForeDay.removeMovieClip(); EverNight.removeMovieClip(); EverForeNight.removeMovieClip(); }; } frame 1638 { Jade._x += 560; hitBox._x += 560; } frame 1639 { onEnterFrame = function () { gotoAndPlay('Area5'); }; } frame 1642 { _root.FadeBlack.swapDepths(10001); _global.in1 = 0; _global.in2 = 0; _global.in3 = 0; _global.in4 = 0; _global.durr = 0; } frame 1642 { Stage.showMenu = false; } instance Box2 of movieClip 2022 { onClipEvent (enterFrame) { _root.Box2; if (hitTest(_root.hitBox)) { if (_root.hitBox._x + _root.hitBox._width + 4 > _root.Box2._x && _root.hitBox._x + _root.hitBox._width < _root.Box2._x + 16) { dx = 0; sx = 0; _root.hitBox._x = _root.Box2._x - _root.hitBox._width; _root.Jade._x = _root.Box2._x - _root.hitBox._width / 2; } else { if (_root.hitBox._x < _root.Box2._x + _root.Box2._width + 4 && _root.hitBox._x > _root.Box2._x + _root.Box2._width - 16) { dx = 0; sx = 0; _root.hitBox._x = _root.Box2._x + _root.Box2._width; _root.Jade._x = _root.Box2._x + _root.Box2._width + _root.hitBox._width / 2; } } if (_root.hitBox._y + _root.hitBox._height + 4 > _root.Box2._y && _root.hitBox._y + _root.hitBox._height < _root.Box2._y + 16) { dy = 0; sx = 0; _root.hitBox._y = _root.Box2._y - _root.hitBox._height; _root.Jade._y = _root.Box2._y - _root.hitBox._height + 28; } else { if (_root.hitBox._y < _root.Box2._y + _root.Box2._height + 4 && _root.hitBox._y > _root.Box2._y + _root.Box2._height - 16) { dy = 0; sx = 0; _root.hitBox._y = _root.Box2._y + _root.Box2._height; _root.Jade._y = _root.Box2._y + _root.Box2._height + 28; } } } } } instance Box1 of movieClip 2022 { onClipEvent (enterFrame) { _root.Box1; if (hitTest(_root.hitBox)) { if (_root.hitBox._x + _root.hitBox._width + 4 > _root.Box1._x && _root.hitBox._x + _root.hitBox._width < _root.Box1._x + 16) { dx = 0; sx = 0; _root.hitBox._x = _root.Box1._x - _root.hitBox._width; _root.Jade._x = _root.Box1._x - _root.hitBox._width / 2; } else { if (_root.hitBox._x < _root.Box1._x + _root.Box1._width + 4 && _root.hitBox._x > _root.Box1._x + _root.Box1._width - 16) { dx = 0; sx = 0; _root.hitBox._x = _root.Box1._x + _root.Box1._width; _root.Jade._x = _root.Box1._x + _root.Box1._width + _root.hitBox._width / 2; } } if (_root.hitBox._y + _root.hitBox._height + 4 > _root.Box1._y && _root.hitBox._y + _root.hitBox._height < _root.Box1._y + 16) { dy = 0; sx = 0; _root.hitBox._y = _root.Box1._y - _root.hitBox._height; _root.Jade._y = _root.Box1._y - _root.hitBox._height + 28; } else { if (_root.hitBox._y < _root.Box1._y + _root.Box1._height + 4 && _root.hitBox._y > _root.Box1._y + _root.Box1._height - 16) { dy = 0; sx = 0; _root.hitBox._y = _root.Box1._y + _root.Box1._height; _root.Jade._y = _root.Box1._y + _root.Box1._height + 28; } } } } } instance Box of movieClip 2022 { onClipEvent (enterFrame) { _root.Box; if (hitTest(_root.hitBox)) { if (_root.hitBox._x + _root.hitBox._width + 4 > _root.Box._x && _root.hitBox._x + _root.hitBox._width < _root.Box._x + 16) { dx = 0; sx = 0; _root.hitBox._x = _root.Box._x - _root.hitBox._width; _root.Jade._x = _root.Box._x - _root.hitBox._width / 2; } else { if (_root.hitBox._x < _root.Box._x + _root.Box._width + 4 && _root.hitBox._x > _root.Box._x + _root.Box._width - 16) { dx = 0; sx = 0; _root.hitBox._x = _root.Box._x + _root.Box._width; _root.Jade._x = _root.Box._x + _root.Box._width + _root.hitBox._width / 2; } } if (_root.hitBox._y + _root.hitBox._height + 4 > _root.Box._y && _root.hitBox._y + _root.hitBox._height < _root.Box._y + 16) { dy = 0; sx = 0; _root.hitBox._y = _root.Box._y - _root.hitBox._height; _root.Jade._y = _root.Box._y - _root.hitBox._height + 28; } else { if (_root.hitBox._y < _root.Box._y + _root.Box._height + 4 && _root.hitBox._y > _root.Box._y + _root.Box._height - 16) { dy = 0; sx = 0; _root.hitBox._y = _root.Box._y + _root.Box._height; _root.Jade._y = _root.Box._y + _root.Box._height + 28; } } } } } instance Box4 of movieClip 2022 { onClipEvent (enterFrame) { _root.Box4; if (hitTest(_root.hitBox)) { if (_root.hitBox._x + _root.hitBox._width + 4 > _root.Box4._x && _root.hitBox._x + _root.hitBox._width < _root.Box4._x + 16) { dx = 0; sx = 0; _root.hitBox._x = _root.Box4._x - _root.hitBox._width; _root.Jade._x = _root.Box4._x - _root.hitBox._width / 2; } else { if (_root.hitBox._x < _root.Box4._x + _root.Box4._width + 4 && _root.hitBox._x > _root.Box4._x + _root.Box4._width - 16) { dx = 0; sx = 0; _root.hitBox._x = _root.Box4._x + _root.Box4._width; _root.Jade._x = _root.Box4._x + _root.Box4._width + _root.hitBox._width / 2; } } if (_root.hitBox._y < _root.Box4._y + _root.Box4._height + 4 && _root.hitBox._y > _root.Box4._y + _root.Box4._height - 16) { dy = 0; sx = 0; _root.hitBox._y = _root.Box4._y + _root.Box4._height; _root.Jade._y = _root.Box4._y + _root.Box4._height + 28; } } } } instance Box3 of movieClip 2022 { onClipEvent (enterFrame) { _root.Box3; if (hitTest(_root.hitBox)) { if (_root.hitBox._x + _root.hitBox._width + 4 > _root.Box3._x && _root.hitBox._x + _root.hitBox._width < _root.Box3._x + 16) { dx = 0; sx = 0; _root.hitBox._x = _root.Box3._x - _root.hitBox._width; _root.Jade._x = _root.Box3._x - _root.hitBox._width / 2; } else { if (_root.hitBox._x < _root.Box3._x + _root.Box3._width + 4 && _root.hitBox._x > _root.Box3._x + _root.Box3._width - 16) { dx = 0; sx = 0; _root.hitBox._x = _root.Box3._x + _root.Box3._width; _root.Jade._x = _root.Box3._x + _root.Box3._width + _root.hitBox._width / 2; } } if (_root.hitBox._y < _root.Box3._y + _root.Box3._height + 4 && _root.hitBox._y > _root.Box3._y + _root.Box3._height - 16) { dy = 0; sx = 0; _root.hitBox._y = _root.Box3._y + _root.Box3._height; _root.Jade._y = _root.Box3._y + _root.Box3._height + 28; } } } } frame 1646 { onEnterFrame = function () { Applejack.removeMovieClip(); Invite.removeMovieClip(); dialogueBox.removeMovieClip(); Jade._alpha = 0; }; } frame 1653 { _root.BlackScreen.swapDepths(10000); onEnterFrame = function () { FadeBlack.removeMovieClip(); }; } frame 1658 { onEnterFrame = function () { BlackScreen.removeMovieClip(); }; } frame 1744 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 1752 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 1760 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 1768 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 1776 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 1784 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 1792 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 1822 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { stop(); } }; } button 2059 { on (release) { _global.in1 = 1; play(); } } button 2065 { on (release) { _global.in1 = -1; play(); } } frame 1830 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { stop(); } }; } button 2069 { on (release) { _global.in2 = 1; play(); } } button 2072 { on (release) { _global.in2 = -1; play(); } } frame 1838 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { stop(); } }; } button 2076 { on (release) { _global.in3 = 1; play(); } } button 2079 { on (release) { _global.in3 = -1; play(); } } frame 1846 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { stop(); } }; } button 2083 { on (release) { _global.in4 = 1; play(); } } button 2086 { on (release) { _global.in4 = -1; play(); } } frame 1862 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 1961 { if (in1 >= 1 && in2 >= 1 && in3 >= 1 && in4 >= 1) { _root.attachMovie('dialogueBox', 'dialogueBox', 11001); _root.dialogueBox._x = 20; _root.dialogueBox._y = 20; _root.dialogueBox.gotoAndPlay('Aj3'); } else { if (in1 <= -1 && in2 <= -1 && in3 <= -1 && in4 <= -1) { _root.attachMovie('dialogueBox', 'dialogueBox', 11001); _root.dialogueBox._x = 20; _root.dialogueBox._y = 20; _root.dialogueBox.gotoAndPlay('Aj4'); } else { _root.attachMovie('dialogueBox', 'dialogueBox', 11001); _root.dialogueBox._x = 20; _root.dialogueBox._y = 20; _root.dialogueBox.gotoAndPlay('Aj5'); } } } frame 1969 { stop(); onEnterFrame = function () { if (_global.durr < 1) { if (Key.isDown(32)) { stop(); } } if (_global.durr >= 1) { play(); } }; } frame 1991 { _root.FadeBlack.swapDepths(10001); } frame 1993 { onEnterFrame = function () { _root.nobox._name = 'hitBox'; _root.nomove._name = 'Jade'; }; } frame 1994 { onEnterFrame = function () { Jade._x = 328; Jade._y = 412; Jade._alpha = 100; hitBox._x = 296; hitBox._y = 384; }; } frame 1995 { onEnterFrame = function () { _root.hitBox.gotoAndStop('move'); }; } frame 1996 { onEnterFrame = function () { gotoAndPlay('Area4'); FadeBlack.removeMovieClip(); }; } frame 1999 { _root.Static.swapDepths(10000); _global.lu = 0; } frame 1999 { Stage.showMenu = false; } movieClip 2093 { } frame 2000 { _root.attachMovie('Jade', 'Jade', 20); _root.attachMovie('hitBox', 'hitBox', 1); Jade._x = 112; Jade._y = 408; hitBox._x = 80; hitBox._y = 380; hitBox._alpha = 0; Jade._alpha = 0; onEnterFrame = function () { Zacora.removeMovieClip(); Invite.removeMovieClip(); Arrow.removeMovieClip(); EverNight.removeMovieClip(); EverForeDay.removeMovieClip(); EverForeNight.removeMovieClip(); }; } frame 2003 { _root.Static.swapDepths(10001); onEnterFrame = function () { Static.removeMovieClip(); }; } movieClip 2098 { } frame 2007 { _root.Static.swapDepths(10002); onEnterFrame = function () { Static2.removeMovieClip(); }; } frame 2011 { _root.Static.swapDepths(10003); onEnterFrame = function () { Static.removeMovieClip(); }; } frame 2015 { onEnterFrame = function () { Static2.removeMovieClip(); }; } frame 2037 { _root.Foreground.swapDepths(5100); } movieClip 2108 { } frame 2109 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 2123 { stop(); var dx = 0; var dy = 0; var sx = 0; var sy = 0; Jade._alpha = 100; onEnterFrame = function () { Jade._x += dx; Jade._y += dy; hitBox._x += dx; hitBox._y += dy; if (Key.isDown(37) && dx > -4) { dx += -4; } else { if (Key.isDown(39) && dx < 4) { dx += 4; } } if (Key.isDown(38) && dy > -4) { dy += -4; } else { if (Key.isDown(40) && dy < 4) { dy += 4; } } if (Key.isDown(37)) { Jade._xscale = -100; Jade.gotoAndStop(2); } else { if (Key.isDown(39)) { Jade._xscale = 100; Jade.gotoAndStop(2); } } if (Key.isDown(38)) { Jade.gotoAndStop(2); } else { if (Key.isDown(40)) { Jade.gotoAndStop(2); } } if (!Key.isDown(37) && !Key.isDown(38) && !Key.isDown(39) && !Key.isDown(40)) { Jade.gotoAndStop(1); } if (!Key.isDown(37) && !Key.isDown(39)) { dx = 0; } if (!Key.isDown(38) && !Key.isDown(40)) { dy = 0; } if (hitBox._x < 0) { dx = 0; Jade._x = 32; hitBox._x = 0; _root.attachMovie('dialogueBox', 'dialogueBox', 5400); _root.dialogueBox._x = 20; _root.dialogueBox._y = 20; _root.dialogueBox.gotoAndPlay('Jade2'); } if (hitBox._y < 48) { dy = 0; Jade._y = 76; hitBox._y = 48; } if (hitBox._x > 640 - hitBox._width) { dx = 0; Jade._x = 640 - hitBox._width / 2; hitBox._x = 640 - hitBox._width; play(); } if (hitBox._y > 480 - hitBox._height) { dy = 0; Jade._y = 480 - hitBox._height + 28; hitBox._y = 480 - hitBox._height; } }; } instance Box2 of movieClip 2022 { onClipEvent (enterFrame) { _root.Box2; if (hitTest(_root.hitBox)) { if (_root.hitBox._x + _root.hitBox._width + 4 > _root.Box2._x && _root.hitBox._x + _root.hitBox._width < _root.Box2._x + 16) { dx = 0; sx = 0; _root.hitBox._x = _root.Box2._x - _root.hitBox._width; _root.Jade._x = _root.Box2._x - _root.hitBox._width / 2; } else { if (_root.hitBox._x < _root.Box2._x + _root.Box2._width + 4 && _root.hitBox._x > _root.Box2._x + _root.Box2._width - 16) { dx = 0; sx = 0; _root.hitBox._x = _root.Box2._x + _root.Box2._width; _root.Jade._x = _root.Box2._x + _root.Box2._width + _root.hitBox._width / 2; } } if (_root.hitBox._y + _root.hitBox._height + 4 > _root.Box2._y && _root.hitBox._y + _root.hitBox._height < _root.Box2._y + 16) { dy = 0; sx = 0; _root.hitBox._y = _root.Box2._y - _root.hitBox._height; _root.Jade._y = _root.Box2._y - _root.hitBox._height + 28; } else { if (_root.hitBox._y < _root.Box2._y + _root.Box2._height + 4 && _root.hitBox._y > _root.Box2._y + _root.Box2._height - 16) { dy = 0; sx = 0; _root.hitBox._y = _root.Box2._y + _root.Box2._height; _root.Jade._y = _root.Box2._y + _root.Box2._height + 28; } } } } } frame 2124 { _root.FadeBlack.swapDepths(10001); } frame 2129 { onEnterFrame = function () { Foreground.removeMovieClip(); }; } frame 2130 { Jade._x -= 560; hitBox._x -= 560; } frame 2134 { _root.BlackScreen.swapDepths(10002); _root.Foreground2.swapDepths(5101); _root.Foreground2.alpha = 60; _root.attachMovie('Luna', 'Luna', 10); Luna._x = 256; Luna._y = 350; onEnterFrame = function () { FadeBlack.removeMovieClip(); _root.Luna.gotoAndStop(4); }; } instance Box1 of movieClip 2022 { onClipEvent (enterFrame) { _root.Box1; if (hitTest(_root.hitBox)) { if (_root.hitBox._x + _root.hitBox._width + 4 > _root.Box1._x && _root.hitBox._x + _root.hitBox._width < _root.Box1._x + 16) { dx = 0; sx = 0; _root.hitBox._x = _root.Box1._x - _root.hitBox._width; _root.Jade._x = _root.Box1._x - _root.hitBox._width / 2; } else { if (_root.hitBox._x < _root.Box1._x + _root.Box1._width + 4 && _root.hitBox._x > _root.Box1._x + _root.Box1._width - 16) { dx = 0; sx = 0; _root.hitBox._x = _root.Box1._x + _root.Box1._width; _root.Jade._x = _root.Box1._x + _root.Box1._width + _root.hitBox._width / 2; } } if (_root.hitBox._y + _root.hitBox._height + 4 > _root.Box1._y && _root.hitBox._y + _root.hitBox._height < _root.Box1._y + 16) { dy = 0; sx = 0; _root.hitBox._y = _root.Box1._y - _root.hitBox._height; _root.Jade._y = _root.Box1._y - _root.hitBox._height + 28; } else { if (_root.hitBox._y < _root.Box1._y + _root.Box1._height + 4 && _root.hitBox._y > _root.Box1._y + _root.Box1._height - 16) { dy = 0; sx = 0; _root.hitBox._y = _root.Box1._y + _root.Box1._height; _root.Jade._y = _root.Box1._y + _root.Box1._height + 28; } } } } } instance LunaBox of movieClip 1946 hitBox { onClipEvent (enterFrame) { _root.LunaBox; if (hitTest(_root.hitBox)) { if (_root.hitBox._x + _root.hitBox._width + 4 > _root.LunaBox._x && _root.hitBox._x + _root.hitBox._width <= _root.LunaBox._x + 4) { dx = 0; sx = 0; _root.hitBox._x = _root.LunaBox._x - _root.hitBox._width; _root.Jade._x = _root.LunaBox._x - _root.hitBox._width / 2; } else { if (_root.hitBox._x < _root.LunaBox._x + _root.LunaBox._width + 4 && _root.hitBox._x >= _root.LunaBox._x + _root.LunaBox._width - 4) { dx = 0; sx = 0; _root.hitBox._x = _root.LunaBox._x + _root.LunaBox._width; _root.Jade._x = _root.LunaBox._x + _root.LunaBox._width + _root.hitBox._width / 2; } } if (_root.hitBox._y + _root.hitBox._height + 4 > _root.LunaBox._y && _root.hitBox._y + _root.hitBox._height <= _root.LunaBox._y + 4) { dy = 0; _root.hitBox._y = _root.LunaBox._y - _root.hitBox._height; _root.Jade._y = _root.LunaBox._y - _root.hitBox._height + 28; } else { if (_root.hitBox._y < _root.LunaBox._y + _root.LunaBox._height + 4 && _root.hitBox._y >= _root.LunaBox._y + _root.LunaBox._height - 4) { dy = 0; _root.hitBox._y = _root.LunaBox._y + _root.LunaBox._height; _root.Jade._y = _root.LunaBox._y + _root.LunaBox._height + 28; } } if (Key.isDown(32)) { _root.attachMovie('dialogueBox', 'dialoguebox', 11001); _root.dialoguebox._x = 20; _root.dialoguebox._y = 20; if (lu < 1) { _root.dialoguebox.gotoAndPlay('Luna1'); } if (lu >= 1) { _root.dialoguebox.gotoAndPlay('Luna2'); } } } if (_root.hitBox._x + _root.hitBox._width / 2 > _root.LunaBox._x + _root.LunaBox._width / 2 || _root.nobox._x + _root.nobox._width / 2 > _root.LunaBox._x + _root.LunaBox._width / 2) { if (lu < 1) { _root.Luna._xscale = -100; } if (lu >= 1) { _root.Luna._xscale = 100; } } else { _root.Luna._xscale = -100; } } } movieClip 2113 { } frame 2135 { _root.FadeBlack.swapDepths(9999); } frame 2139 { stop(); var dx = 0; var dy = 0; var sx = 0; var sy = 0; onEnterFrame = function () { BlackScreen.removeMovieClip(); Jade._x += dx; Jade._y += dy; hitBox._x += dx; hitBox._y += dy; if (Key.isDown(37) && dx > -4) { dx += -4; } else { if (Key.isDown(39) && dx < 4) { dx += 4; } } if (Key.isDown(38) && dy > -4) { dy += -4; } else { if (Key.isDown(40) && dy < 4) { dy += 4; } } if (Key.isDown(37)) { Jade._xscale = -100; Jade.gotoAndStop(2); } else { if (Key.isDown(39)) { Jade._xscale = 100; Jade.gotoAndStop(2); } } if (Key.isDown(38)) { Jade.gotoAndStop(2); } else { if (Key.isDown(40)) { Jade.gotoAndStop(2); } } if (!Key.isDown(37) && !Key.isDown(38) && !Key.isDown(39) && !Key.isDown(40)) { Jade.gotoAndStop(1); } if (!Key.isDown(37) && !Key.isDown(39)) { dx = 0; } if (!Key.isDown(38) && !Key.isDown(40)) { dy = 0; } if (hitBox._x < 0) { dx = 0; Jade._x = 32; hitBox._x = 0; _root.attachMovie('dialogueBox', 'dialogueBox', 11001); _root.dialogueBox._x = 20; _root.dialogueBox._y = 20; _root.dialogueBox.gotoAndPlay('Jade2'); } if (hitBox._y < 48) { dy = 0; Jade._y = 76; hitBox._y = 48; } if (hitBox._x > 640 - hitBox._width) { dx = 0; Jade._x = 640 - hitBox._width / 2; hitBox._x = 640 - hitBox._width; play(); } if (hitBox._y > 480 - hitBox._height) { dy = 0; Jade._y = 480 - hitBox._height + 28; hitBox._y = 480 - hitBox._height; } if (_root.hitBox._y + _root.hitBox._height / 2 < _root.LunaBox._y + _root.LunaBox._height / 2 || _root.nobox._y + _root.nobox._height / 2 < _root.LunaBox._y + _root.LunaBox._height / 2) { _root.Luna.swapDepths(22); } else { _root.Luna.swapDepths(10); } }; } frame 2140 { _root.FadeBlack.swapDepths(10001); } frame 2145 { onEnterFrame = function () { Foreground2.removeMovieClip(); Luna.removeMovieClip(); }; } frame 2146 { Jade._x -= 560; hitBox._x -= 560; } frame 2150 { _root.BlackScreen.swapDepths(10002); _root.Foreground2.swapDepths(5101); _root.Foreground2.alpha = 60; _root.attachMovie('EvilTree', 'EvilTree', 10); EvilTree._x = 444; EvilTree._y = 142; onEnterFrame = function () { FadeBlack.removeMovieClip(); }; } instance EvilBox of movieClip 1946 hitBox { onClipEvent (enterFrame) { _root.EvilBox; if (hitTest(_root.hitBox)) { if (_root.hitBox._x + _root.hitBox._width + 4 > _root.EvilBox._x && _root.hitBox._x + _root.hitBox._width <= _root.EvilBox._x + 4) { dx = 0; sx = 0; _root.hitBox._x = _root.EvilBox._x - _root.hitBox._width; _root.Jade._x = _root.EvilBox._x - _root.hitBox._width / 2; } else { if (_root.hitBox._x < _root.EvilBox._x + _root.EvilBox._width + 4 && _root.hitBox._x >= _root.EvilBox._x + _root.EvilBox._width - 4) { dx = 0; sx = 0; _root.hitBox._x = _root.EvilBox._x + _root.EvilBox._width; _root.Jade._x = _root.EvilBox._x + _root.EvilBox._width + _root.hitBox._width / 2; } } if (_root.hitBox._y + _root.hitBox._height + 4 > _root.EvilBox._y && _root.hitBox._y + _root.hitBox._height <= _root.EvilBox._y + 4) { dy = 0; _root.hitBox._y = _root.EvilBox._y - _root.hitBox._height; _root.Jade._y = _root.EvilBox._y - _root.hitBox._height + 28; } else { if (_root.hitBox._y < _root.EvilBox._y + _root.EvilBox._height + 4 && _root.hitBox._y >= _root.EvilBox._y + _root.EvilBox._height - 4) { dy = 0; _root.hitBox._y = _root.EvilBox._y + _root.EvilBox._height; _root.Jade._y = _root.EvilBox._y + _root.EvilBox._height + 28; } } if (Key.isDown(32)) { _root.attachMovie('dialogueBox', 'dialoguebox', 11001); _root.dialoguebox._x = 20; _root.dialoguebox._y = 20; _root.dialoguebox.gotoAndPlay('Jade3'); } } } } frame 2151 { _root.attachMovie('Black1', 'Black', 9999); Black._x = 0; Black._y = 0; } frame 2155 { stop(); var dx = 0; var dy = 0; var sx = 0; var sy = 0; onEnterFrame = function () { BlackScreen.removeMovieClip(); Jade._x += dx; Jade._y += dy; hitBox._x += dx; hitBox._y += dy; if (Key.isDown(37) && dx > -4) { dx += -4; } else { if (Key.isDown(39) && dx < 4) { dx += 4; } } if (Key.isDown(38) && dy > -4) { dy += -4; } else { if (Key.isDown(40) && dy < 4) { dy += 4; } } if (Key.isDown(37)) { Jade._xscale = -100; Jade.gotoAndStop(2); } else { if (Key.isDown(39)) { Jade._xscale = 100; Jade.gotoAndStop(2); } } if (Key.isDown(38)) { Jade.gotoAndStop(2); } else { if (Key.isDown(40)) { Jade.gotoAndStop(2); } } if (!Key.isDown(37) && !Key.isDown(38) && !Key.isDown(39) && !Key.isDown(40)) { Jade.gotoAndStop(1); } if (!Key.isDown(37) && !Key.isDown(39)) { dx = 0; } if (!Key.isDown(38) && !Key.isDown(40)) { dy = 0; } if (hitBox._x < 0) { dx = 0; Jade._x = 32; hitBox._x = 0; _root.attachMovie('dialogueBox', 'dialogueBox', 11001); _root.dialogueBox._x = 20; _root.dialogueBox._y = 20; _root.dialogueBox.gotoAndPlay('Jade2'); } if (hitBox._y < 48) { dy = 0; Jade._y = 76; hitBox._y = 48; } if (hitBox._x > 640 - hitBox._width) { dx = 0; Jade._x = 640 - hitBox._width / 2; hitBox._x = 640 - hitBox._width; play(); } if (hitBox._y > 480 - hitBox._height) { dy = 0; Jade._y = 480 - hitBox._height + 28; hitBox._y = 480 - hitBox._height; } }; } frame 2156 { _root.FadeBlack.swapDepths(10001); } frame 2161 { onEnterFrame = function () { Foreground2.removeMovieClip(); EvilTree.removeMovieClip(); }; } frame 2162 { Jade._x -= 560; hitBox._x -= 560; } frame 2166 { _root.BlackScreen.swapDepths(10002); _root.Foreground.swapDepths(5101); _root.Foreground.alpha = 60; _root.attachMovie('Bloody', 'Bloody', 10); Bloody._x = 556; Bloody._y = 400; onEnterFrame = function () { FadeBlack.removeMovieClip(); Black.removeMovieClip(); }; } instance Box2 of movieClip 2022 { onClipEvent (enterFrame) { _root.Box2; if (hitTest(_root.hitBox)) { if (_root.hitBox._x + _root.hitBox._width + 4 > _root.Box2._x && _root.hitBox._x + _root.hitBox._width < _root.Box2._x + 16) { dx = 0; sx = 0; _root.hitBox._x = _root.Box2._x - _root.hitBox._width; _root.Jade._x = _root.Box2._x - _root.hitBox._width / 2; } else { if (_root.hitBox._x < _root.Box2._x + _root.Box2._width + 4 && _root.hitBox._x > _root.Box2._x + _root.Box2._width - 16) { dx = 0; sx = 0; _root.hitBox._x = _root.Box2._x + _root.Box2._width; _root.Jade._x = _root.Box2._x + _root.Box2._width + _root.hitBox._width / 2; } } if (_root.hitBox._y + _root.hitBox._height + 4 > _root.Box2._y && _root.hitBox._y + _root.hitBox._height < _root.Box2._y + 16) { dy = 0; sx = 0; _root.hitBox._y = _root.Box2._y - _root.hitBox._height; _root.Jade._y = _root.Box2._y - _root.hitBox._height + 28; } else { if (_root.hitBox._y < _root.Box2._y + _root.Box2._height + 4 && _root.hitBox._y > _root.Box2._y + _root.Box2._height - 16) { dy = 0; sx = 0; _root.hitBox._y = _root.Box2._y + _root.Box2._height; _root.Jade._y = _root.Box2._y + _root.Box2._height + 28; } } } } } instance BloodyBox of movieClip 1946 hitBox { onClipEvent (enterFrame) { _root.BloodyBox; if (hitTest(_root.hitBox)) { if (_root.hitBox._x + _root.hitBox._width + 4 > _root.BloodyBox._x && _root.hitBox._x + _root.hitBox._width <= _root.BloodyBox._x + 4) { dx = 0; sx = 0; _root.hitBox._x = _root.BloodyBox._x - _root.hitBox._width; _root.Jade._x = _root.BloodyBox._x - _root.hitBox._width / 2; } else { if (_root.hitBox._x < _root.BloodyBox._x + _root.BloodyBox._width + 4 && _root.hitBox._x >= _root.BloodyBox._x + _root.BloodyBox._width - 4) { dx = 0; sx = 0; _root.hitBox._x = _root.BloodyBox._x + _root.BloodyBox._width; _root.Jade._x = _root.BloodyBox._x + _root.BloodyBox._width + _root.hitBox._width / 2; } } if (_root.hitBox._y + _root.hitBox._height + 4 > _root.BloodyBox._y && _root.hitBox._y + _root.hitBox._height <= _root.BloodyBox._y + 4) { dy = 0; _root.hitBox._y = _root.BloodyBox._y - _root.hitBox._height; _root.Jade._y = _root.BloodyBox._y - _root.hitBox._height + 28; } else { if (_root.hitBox._y < _root.BloodyBox._y + _root.BloodyBox._height + 4 && _root.hitBox._y >= _root.BloodyBox._y + _root.BloodyBox._height - 4) { dy = 0; _root.hitBox._y = _root.BloodyBox._y + _root.BloodyBox._height; _root.Jade._y = _root.BloodyBox._y + _root.BloodyBox._height + 28; } } if (Key.isDown(32)) { _root.attachMovie('dialogueBox', 'dialoguebox', 11001); _root.dialoguebox._x = 20; _root.dialoguebox._y = 20; _root.dialoguebox.gotoAndPlay('Blod1'); } } } } frame 2167 { _root.attachMovie('Black2', 'Black2', 10003); Black2._x = 0; Black2._y = 0; } frame 2171 { stop(); var dx = 0; var dy = 0; var sx = 0; var sy = 0; onEnterFrame = function () { BlackScreen.removeMovieClip(); Jade._x += dx; Jade._y += dy; hitBox._x += dx; hitBox._y += dy; if (Key.isDown(37) && dx > -4) { dx += -4; } else { if (Key.isDown(39) && dx < 4) { dx += 4; } } if (Key.isDown(38) && dy > -4) { dy += -4; } else { if (Key.isDown(40) && dy < 4) { dy += 4; } } if (Key.isDown(37)) { Jade._xscale = -100; Jade.gotoAndStop(2); } else { if (Key.isDown(39)) { Jade._xscale = 100; Jade.gotoAndStop(2); } } if (Key.isDown(38)) { Jade.gotoAndStop(2); } else { if (Key.isDown(40)) { Jade.gotoAndStop(2); } } if (!Key.isDown(37) && !Key.isDown(38) && !Key.isDown(39) && !Key.isDown(40)) { Jade.gotoAndStop(1); } if (!Key.isDown(37) && !Key.isDown(39)) { dx = 0; } if (!Key.isDown(38) && !Key.isDown(40)) { dy = 0; } if (hitBox._x < 0) { dx = 0; Jade._x = 32; hitBox._x = 0; _root.attachMovie('dialogueBox', 'dialogueBox', 11001); _root.dialogueBox._x = 20; _root.dialogueBox._y = 20; _root.dialogueBox.gotoAndPlay('Jade3'); } if (hitBox._y < 48) { dy = 0; Jade._y = 76; hitBox._y = 48; } if (hitBox._x > 640 - hitBox._width) { dx = 0; Jade._x = 640 - hitBox._width / 2; hitBox._x = 640 - hitBox._width; play(); } if (hitBox._y > 480 - hitBox._height) { dy = 0; Jade._y = 480 - hitBox._height + 28; hitBox._y = 480 - hitBox._height; } if (_root.hitBox._y + _root.hitBox._height / 2 < _root.BloodyBox._y + _root.BloodyBox._height / 2 || _root.nobox._y + _root.nobox._height / 2 < _root.BloodyBox._y + _root.BloodyBox._height / 2) { _root.Bloody.swapDepths(22); } else { _root.Bloody.swapDepths(10); } if (_root.hitBox._x + _root.hitBox._width / 2 > _root.BloodyBox._x + _root.BloodyBox._width / 2 || _root.nobox._x + _root.nobox._width / 2 > _root.BloodyBox._x + _root.BloodyBox._width / 2) { _root.Bloody._xscale = 100; } else { _root.Bloody._xscale = -100; } }; } frame 2172 { _root.FadeBlack.swapDepths(10001); } frame 2177 { onEnterFrame = function () { Foreground.removeMovieClip(); Bloody.removeMovieClip(); }; } frame 2178 { Jade._x -= 560; hitBox._x -= 560; } frame 2182 { _root.BlackScreen.swapDepths(10002); _root.Foreground.swapDepths(5101); _root.Foreground.alpha = 60; _root.attachMovie('Bloody', 'Bloody', 10); Bloody._x = 556; Bloody._y = 400; onEnterFrame = function () { FadeBlack.removeMovieClip(); _root.Bloody.gotoAndStop(2); }; } instance BloodyBox of movieClip 1946 hitBox { onClipEvent (enterFrame) { _root.BloodyBox; if (hitTest(_root.hitBox)) { if (_root.hitBox._x + _root.hitBox._width + 6 > _root.BloodyBox._x && _root.hitBox._x + _root.hitBox._width <= _root.BloodyBox._x + 6) { _root.Bloody.gotoAndStop(1); dx = 0; sx = 0; _root.hitBox._x = _root.BloodyBox._x - _root.hitBox._width; _root.Jade._x = _root.BloodyBox._x - _root.hitBox._width / 2; _root.BloodyBox._name = 'BlodyBox'; _root.Bloody._name = 'Blody'; } else { if (_root.hitBox._x < _root.BloodyBox._x + _root.BloodyBox._width + 6 && _root.hitBox._x >= _root.BloodyBox._x + _root.BloodyBox._width - 6) { _root.Bloody.gotoAndStop(1); dx = 0; sx = 0; _root.hitBox._x = _root.BloodyBox._x + _root.BloodyBox._width; _root.Jade._x = _root.BloodyBox._x + _root.BloodyBox._width + _root.hitBox._width / 2; _root.BloodyBox._name = 'BlodyBox'; _root.Bloody._name = 'Blody'; } } if (_root.hitBox._y + _root.hitBox._height + 6 > _root.BloodyBox._y && _root.hitBox._y + _root.hitBox._height <= _root.BloodyBox._y + 6) { _root.Bloody.gotoAndStop(1); dy = 0; sy = 0; _root.hitBox._y = _root.BloodyBox._y - _root.hitBox._height; _root.Jade._y = _root.BloodyBox._y - _root.hitBox._height + 28; _root.BloodyBox._name = 'BlodyBox'; _root.Bloody._name = 'Blody'; } else { if (_root.hitBox._y < _root.BloodyBox._y + _root.BloodyBox._height + 6 && _root.hitBox._y >= _root.BloodyBox._y + _root.BloodyBox._height - 6) { _root.Bloody.gotoAndStop(1); dy = 0; sy = 0; _root.hitBox._y = _root.BloodyBox._y + _root.BloodyBox._height; _root.Jade._y = _root.BloodyBox._y + _root.BloodyBox._height + 28; _root.BloodyBox._name = 'BlodyBox'; _root.Bloody._name = 'Blody'; } } if (_root.hitBox._x + _root.hitBox._width + 6 > _root.BlodyBox._x && _root.hitBox._x + _root.hitBox._width <= _root.BlodyBox._x + 6) { _root.Blody.gotoAndStop(1); dx = 0; sx = 0; _root.hitBox._x = _root.BlodyBox._x - _root.hitBox._width; _root.Jade._x = _root.BlodyBox._x - _root.hitBox._width / 2; } else { if (_root.hitBox._x < _root.BlodyBox._x + _root.BlodyBox._width + 6 && _root.hitBox._x >= _root.BlodyBox._x + _root.BlodyBox._width - 6) { _root.Blody.gotoAndStop(1); dx = 0; sx = 0; _root.hitBox._x = _root.BlodyBox._x + _root.BlodyBox._width; _root.Jade._x = _root.BlodyBox._x + _root.BlodyBox._width + _root.hitBox._width / 2; } } if (_root.hitBox._y + _root.hitBox._height + 6 > _root.BlodyBox._y && _root.hitBox._y + _root.hitBox._height <= _root.BlodyBox._y + 6) { _root.Blody.gotoAndStop(1); dy = 0; sy = 0; _root.hitBox._y = _root.BlodyBox._y - _root.hitBox._height; _root.Jade._y = _root.BlodyBox._y - _root.hitBox._height + 28; } else { if (_root.hitBox._y < _root.BlodyBox._y + _root.BlodyBox._height + 6 && _root.hitBox._y >= _root.BlodyBox._y + _root.BlodyBox._height - 6) { _root.Blody.gotoAndStop(1); dy = 0; sy = 0; _root.hitBox._y = _root.BlodyBox._y + _root.BlodyBox._height; _root.Jade._y = _root.BlodyBox._y + _root.BlodyBox._height + 28; } } if (Key.isDown(32)) { _root.attachMovie('dialogueBox', 'dialoguebox', 11001); _root.dialoguebox._x = 20; _root.dialoguebox._y = 20; _root.dialoguebox.gotoAndPlay('Jade4'); } } _root.BloodyBox; if (!hitTest(_root.hitBox)) { _root.Bloody.gotoAndStop(2); _root.BlodyBox._name = 'BloodyBox'; _root.Blody._name = 'Bloody'; } _root.BlodyBox; if (hitTest(_root.hitBox)) { if (Key.isDown(32)) { _root.attachMovie('dialogueBox', 'dialoguebox', 11001); _root.dialoguebox._x = 20; _root.dialoguebox._y = 20; _root.dialoguebox.gotoAndPlay('Jade4'); } } _root.BloodyBox; if (hitTest(_root.nobox)) { _root.Bloody.gotoAndStop(1); } } } frame 2187 { stop(); var dx = 0; var dy = 0; var sx = 0; var sy = 0; onEnterFrame = function () { BlackScreen.removeMovieClip(); Jade._x += dx; Jade._y += dy; hitBox._x += dx; hitBox._y += dy; Bloody._x += sx; Bloody._y += sy; BloodyBox._x += sx; BloodyBox._y += sy; if (Key.isDown(37) && dx > -4) { dx += -4; } else { if (Key.isDown(39) && dx < 4) { dx += 4; } } if (Key.isDown(38) && dy > -4) { dy += -4; } else { if (Key.isDown(40) && dy < 4) { dy += 4; } } if (Key.isDown(37)) { Jade._xscale = -100; Jade.gotoAndStop(2); } else { if (Key.isDown(39)) { Jade._xscale = 100; Jade.gotoAndStop(2); } } if (Key.isDown(38)) { Jade.gotoAndStop(2); } else { if (Key.isDown(40)) { Jade.gotoAndStop(2); } } if (!Key.isDown(37) && !Key.isDown(38) && !Key.isDown(39) && !Key.isDown(40)) { Jade.gotoAndStop(1); } if (!Key.isDown(37) && !Key.isDown(39)) { dx = 0; } if (!Key.isDown(38) && !Key.isDown(40)) { dy = 0; } if (hitBox._x < 0) { dx = 0; Jade._x = 32; hitBox._x = 0; _root.attachMovie('dialogueBox', 'dialogueBox', 11001); _root.dialogueBox._x = 20; _root.dialogueBox._y = 20; _root.dialogueBox.gotoAndPlay('Jade3'); } if (hitBox._y < 48) { dy = 0; Jade._y = 76; hitBox._y = 48; } if (hitBox._x > 640 - hitBox._width) { dx = 0; Jade._x = 640 - hitBox._width / 2; hitBox._x = 640 - hitBox._width; _root.attachMovie('dialogueBox', 'dialogueBox', 11001); _root.dialogueBox._x = 20; _root.dialogueBox._y = 20; _root.dialogueBox.gotoAndPlay('Blod2'); } if (hitBox._y > 480 - hitBox._height) { dy = 0; Jade._y = 480 - hitBox._height + 28; hitBox._y = 480 - hitBox._height; } if (_root.hitBox._y + _root.hitBox._height / 2 < _root.BloodyBox._y + _root.BloodyBox._height / 2 || _root.nobox._y + _root.nobox._height / 2 < _root.BloodyBox._y + _root.BloodyBox._height / 2) { _root.Bloody.swapDepths(22); } else { _root.Bloody.swapDepths(10); } _root.BloodyBox; !hitTest(_root.hitBox) || _root.BloodyBox; if (!hitTest(_root.nobox)) { if (_root.hitBox._x + _root.hitBox._width / 2 > _root.BloodyBox._x + _root.BloodyBox._width / 2 && sx < 2) { _root.Bloody._xscale = 100; sx += 2; } else { if (_root.hitBox._x + _root.hitBox._width / 2 < _root.BloodyBox._x + _root.BloodyBox._width / 2 && sx > -2) { _root.Bloody._xscale = -100; sx += -2; } } if (_root.hitBox._y + _root.hitBox._height / 2 > _root.BloodyBox._y + _root.BloodyBox._height / 2 && sy < 2) { sy += 2; } else { if (_root.hitBox._y + _root.hitBox._height / 2 < _root.BloodyBox._y + _root.BloodyBox._height / 2 && sy > -2) { sy += -2; } } } _root.BloodyBox; hitTest(_root.hitBox) || _root.BloodyBox; if (hitTest(_root.nobox)) { dx = 0; dy = 0; sx = 0; sy = 0; } }; } frame 2188 { _root.FadeBlack.swapDepths(10001); } frame 2193 { onEnterFrame = function () { Foreground.removeMovieClip(); Bloody.removeMovieClip(); }; } frame 2194 { Jade._x -= 560; hitBox._x -= 560; } frame 2198 { _root.BlackScreen.swapDepths(10002); _root.Foreground2.swapDepths(5101); _root.Foreground2.alpha = 60; _root.attachMovie('Luna', 'Luna', 10); Luna._x = 256; Luna._y = 350; onEnterFrame = function () { FadeBlack.removeMovieClip(); _root.Luna.gotoAndStop(5); Black2.removeMovieClip(); }; } instance LunaBox of movieClip 1946 hitBox { onClipEvent (enterFrame) { _root.LunaBox; if (hitTest(_root.hitBox)) { if (_root.hitBox._x + _root.hitBox._width + 4 > _root.LunaBox._x && _root.hitBox._x + _root.hitBox._width <= _root.LunaBox._x + 4) { dx = 0; sx = 0; _root.hitBox._x = _root.LunaBox._x - _root.hitBox._width; _root.Jade._x = _root.LunaBox._x - _root.hitBox._width / 2; } else { if (_root.hitBox._x < _root.LunaBox._x + _root.LunaBox._width + 4 && _root.hitBox._x >= _root.LunaBox._x + _root.LunaBox._width - 4) { dx = 0; sx = 0; _root.hitBox._x = _root.LunaBox._x + _root.LunaBox._width; _root.Jade._x = _root.LunaBox._x + _root.LunaBox._width + _root.hitBox._width / 2; } } if (_root.hitBox._y + _root.hitBox._height + 4 > _root.LunaBox._y && _root.hitBox._y + _root.hitBox._height <= _root.LunaBox._y + 4) { dy = 0; _root.hitBox._y = _root.LunaBox._y - _root.hitBox._height; _root.Jade._y = _root.LunaBox._y - _root.hitBox._height + 28; } else { if (_root.hitBox._y < _root.LunaBox._y + _root.LunaBox._height + 4 && _root.hitBox._y >= _root.LunaBox._y + _root.LunaBox._height - 4) { dy = 0; _root.hitBox._y = _root.LunaBox._y + _root.LunaBox._height; _root.Jade._y = _root.LunaBox._y + _root.LunaBox._height + 28; } } if (Key.isDown(32)) { _root.attachMovie('dialogueBox', 'dialoguebox', 11001); _root.dialoguebox._x = 20; _root.dialoguebox._y = 20; _root.dialoguebox.gotoAndPlay('Luna3'); } } } } frame 2199 { _root.attachMovie('Black3', 'Black3', 10003); Black3._x = 0; Black3._y = 0; } frame 2203 { stop(); var dx = 0; var dy = 0; var sx = 0; var sy = 0; onEnterFrame = function () { BlackScreen.removeMovieClip(); Jade._x += dx; Jade._y += dy; hitBox._x += dx; hitBox._y += dy; if (Key.isDown(37) && dx > -4) { dx += -4; } else { if (Key.isDown(39) && dx < 4) { dx += 4; } } if (Key.isDown(38) && dy > -4) { dy += -4; } else { if (Key.isDown(40) && dy < 4) { dy += 4; } } if (Key.isDown(37)) { Jade._xscale = -100; Jade.gotoAndStop(2); } else { if (Key.isDown(39)) { Jade._xscale = 100; Jade.gotoAndStop(2); } } if (Key.isDown(38)) { Jade.gotoAndStop(2); } else { if (Key.isDown(40)) { Jade.gotoAndStop(2); } } if (!Key.isDown(37) && !Key.isDown(38) && !Key.isDown(39) && !Key.isDown(40)) { Jade.gotoAndStop(1); } if (!Key.isDown(37) && !Key.isDown(39)) { dx = 0; } if (!Key.isDown(38) && !Key.isDown(40)) { dy = 0; } if (hitBox._x < 0) { dx = 0; Jade._x = 32; hitBox._x = 0; _root.attachMovie('dialogueBox', 'dialogueBox', 11001); _root.dialogueBox._x = 20; _root.dialogueBox._y = 20; _root.dialogueBox.gotoAndPlay('Jade3'); } if (hitBox._y < 48) { dy = 0; Jade._y = 76; hitBox._y = 48; } if (hitBox._x > 640 - hitBox._width) { dx = 0; Jade._x = 640 - hitBox._width / 2; hitBox._x = 640 - hitBox._width; play(); } if (hitBox._y > 480 - hitBox._height) { dy = 0; Jade._y = 480 - hitBox._height + 28; hitBox._y = 480 - hitBox._height; } if (_root.hitBox._y + _root.hitBox._height / 2 < _root.LunaBox._y + _root.LunaBox._height / 2 || _root.nobox._y + _root.nobox._height / 2 < _root.LunaBox._y + _root.LunaBox._height / 2) { _root.Luna.swapDepths(22); } else { _root.Luna.swapDepths(10); } }; } frame 2204 { _root.FadeBlack.swapDepths(10001); } frame 2209 { onEnterFrame = function () { Foreground2.removeMovieClip(); Luna.removeMovieClip(); }; } frame 2210 { Jade._x -= 560; hitBox._x -= 560; } frame 2214 { _root.BlackScreen.swapDepths(10002); _root.Foreground.swapDepths(5101); _root.Foreground.alpha = 60; _root.attachMovie('Bloody', 'Bloody', 10); Bloody._x = 556; Bloody._y = 400; onEnterFrame = function () { FadeBlack.removeMovieClip(); _root.Bloody.gotoAndStop(2); }; } instance Box2 of movieClip 2022 { onClipEvent (enterFrame) { _root.Box2; if (hitTest(_root.hitBox)) { if (_root.hitBox._x + _root.hitBox._width + 4 > _root.Box2._x && _root.hitBox._x + _root.hitBox._width < _root.Box2._x + 16) { dx = 0; sx = 0; _root.hitBox._x = _root.Box2._x - _root.hitBox._width; _root.Jade._x = _root.Box2._x - _root.hitBox._width / 2; } else { if (_root.hitBox._x < _root.Box2._x + _root.Box2._width + 4 && _root.hitBox._x > _root.Box2._x + _root.Box2._width - 16) { dx = 0; sx = 0; _root.hitBox._x = _root.Box2._x + _root.Box2._width; _root.Jade._x = _root.Box2._x + _root.Box2._width + _root.hitBox._width / 2; } } if (_root.hitBox._y + _root.hitBox._height + 4 > _root.Box2._y && _root.hitBox._y + _root.hitBox._height < _root.Box2._y + 16) { dy = 0; sx = 0; _root.hitBox._y = _root.Box2._y - _root.hitBox._height; _root.Jade._y = _root.Box2._y - _root.hitBox._height + 28; } else { if (_root.hitBox._y < _root.Box2._y + _root.Box2._height + 4 && _root.hitBox._y > _root.Box2._y + _root.Box2._height - 16) { dy = 0; sx = 0; _root.hitBox._y = _root.Box2._y + _root.Box2._height; _root.Jade._y = _root.Box2._y + _root.Box2._height + 28; } } } } } instance BloodyBox of movieClip 1946 hitBox { onClipEvent (enterFrame) { _root.BloodyBox; if (hitTest(_root.hitBox)) { if (_root.hitBox._x + _root.hitBox._width + 8 > _root.BloodyBox._x && _root.hitBox._x + _root.hitBox._width <= _root.BloodyBox._x + 6) { _root.Bloody.gotoAndStop(1); dx = 0; sx = 0; _root.hitBox._x = _root.BloodyBox._x - _root.hitBox._width; _root.Jade._x = _root.BloodyBox._x - _root.hitBox._width / 2; _root.BloodyBox._name = 'BlodyBox'; _root.Bloody._name = 'Blody'; } else { if (_root.hitBox._x < _root.BloodyBox._x + _root.BloodyBox._width + 8 && _root.hitBox._x >= _root.BloodyBox._x + _root.BloodyBox._width - 6) { _root.Bloody.gotoAndStop(1); dx = 0; sx = 0; _root.hitBox._x = _root.BloodyBox._x + _root.BloodyBox._width; _root.Jade._x = _root.BloodyBox._x + _root.BloodyBox._width + _root.hitBox._width / 2; _root.BloodyBox._name = 'BlodyBox'; _root.Bloody._name = 'Blody'; } } if (_root.hitBox._y + _root.hitBox._height + 8 > _root.BloodyBox._y && _root.hitBox._y + _root.hitBox._height <= _root.BloodyBox._y + 6) { _root.Bloody.gotoAndStop(1); dy = 0; sy = 0; _root.hitBox._y = _root.BloodyBox._y - _root.hitBox._height; _root.Jade._y = _root.BloodyBox._y - _root.hitBox._height + 28; _root.BloodyBox._name = 'BlodyBox'; _root.Bloody._name = 'Blody'; } else { if (_root.hitBox._y < _root.BloodyBox._y + _root.BloodyBox._height + 8 && _root.hitBox._y >= _root.BloodyBox._y + _root.BloodyBox._height - 6) { _root.Bloody.gotoAndStop(1); dy = 0; sy = 0; _root.hitBox._y = _root.BloodyBox._y + _root.BloodyBox._height; _root.Jade._y = _root.BloodyBox._y + _root.BloodyBox._height + 28; _root.BloodyBox._name = 'BlodyBox'; _root.Bloody._name = 'Blody'; } } if (_root.hitBox._x + _root.hitBox._width + 8 > _root.BlodyBox._x && _root.hitBox._x + _root.hitBox._width <= _root.BlodyBox._x + 6) { _root.Blody.gotoAndStop(1); dx = 0; sx = 0; _root.hitBox._x = _root.BlodyBox._x - _root.hitBox._width; _root.Jade._x = _root.BlodyBox._x - _root.hitBox._width / 2; } else { if (_root.hitBox._x < _root.BlodyBox._x + _root.BlodyBox._width + 8 && _root.hitBox._x >= _root.BlodyBox._x + _root.BlodyBox._width - 6) { _root.Blody.gotoAndStop(1); dx = 0; sx = 0; _root.hitBox._x = _root.BlodyBox._x + _root.BlodyBox._width; _root.Jade._x = _root.BlodyBox._x + _root.BlodyBox._width + _root.hitBox._width / 2; } } if (_root.hitBox._y + _root.hitBox._height + 8 > _root.BlodyBox._y && _root.hitBox._y + _root.hitBox._height <= _root.BlodyBox._y + 6) { _root.Blody.gotoAndStop(1); dy = 0; sy = 0; _root.hitBox._y = _root.BlodyBox._y - _root.hitBox._height; _root.Jade._y = _root.BlodyBox._y - _root.hitBox._height + 28; } else { if (_root.hitBox._y < _root.BlodyBox._y + _root.BlodyBox._height + 8 && _root.hitBox._y >= _root.BlodyBox._y + _root.BlodyBox._height - 6) { _root.Blody.gotoAndStop(1); dy = 0; sy = 0; _root.hitBox._y = _root.BlodyBox._y + _root.BlodyBox._height; _root.Jade._y = _root.BlodyBox._y + _root.BlodyBox._height + 28; } } if (Key.isDown(32)) { _root.attachMovie('dialogueBox', 'dialoguebox', 11001); _root.dialoguebox._x = 20; _root.dialoguebox._y = 20; _root.dialoguebox.gotoAndPlay('Blod3'); } } _root.BloodyBox; if (!hitTest(_root.hitBox)) { _root.Bloody.gotoAndStop(2); _root.BlodyBox._name = 'BloodyBox'; _root.Blody._name = 'Bloody'; } _root.BlodyBox; if (hitTest(_root.hitBox)) { _root.attachMovie('dialogueBox', 'dialoguebox', 11001); _root.dialoguebox._x = 20; _root.dialoguebox._y = 20; _root.dialoguebox.gotoAndPlay('Blod3'); } _root.BloodyBox; if (hitTest(_root.nobox)) { _root.Bloody.gotoAndStop(1); } } } frame 2215 { _root.Black.swapDepths(9999); } frame 2219 { stop(); var dx = 0; var dy = 0; var sx = 0; var sy = 0; onEnterFrame = function () { BlackScreen.removeMovieClip(); Jade._x += dx; Jade._y += dy; hitBox._x += dx; hitBox._y += dy; Bloody._x += sx; Bloody._y += sy; BloodyBox._x += sx; BloodyBox._y += sy; if (Key.isDown(37) && dx > -4) { dx += -4; } else { if (Key.isDown(39) && dx < 4) { dx += 4; } } if (Key.isDown(38) && dy > -4) { dy += -4; } else { if (Key.isDown(40) && dy < 4) { dy += 4; } } if (Key.isDown(37)) { Jade._xscale = -100; Jade.gotoAndStop(2); } else { if (Key.isDown(39)) { Jade._xscale = 100; Jade.gotoAndStop(2); } } if (Key.isDown(38)) { Jade.gotoAndStop(2); } else { if (Key.isDown(40)) { Jade.gotoAndStop(2); } } if (!Key.isDown(37) && !Key.isDown(38) && !Key.isDown(39) && !Key.isDown(40)) { Jade.gotoAndStop(1); } if (!Key.isDown(37) && !Key.isDown(39)) { dx = 0; } if (!Key.isDown(38) && !Key.isDown(40)) { dy = 0; } if (hitBox._x < 0) { dx = 0; Jade._x = 32; hitBox._x = 0; _root.attachMovie('dialogueBox', 'dialogueBox', 11001); _root.dialogueBox._x = 20; _root.dialogueBox._y = 20; _root.dialogueBox.gotoAndPlay('Jade3'); } if (hitBox._y < 48) { dy = 0; Jade._y = 76; hitBox._y = 48; } if (hitBox._x > 640 - hitBox._width) { dx = 0; Jade._x = 640 - hitBox._width / 2; hitBox._x = 640 - hitBox._width; _root.attachMovie('dialogueBox', 'dialogueBox', 11001); _root.dialogueBox._x = 20; _root.dialogueBox._y = 20; _root.dialogueBox.gotoAndPlay('Blod2'); } if (hitBox._y > 480 - hitBox._height) { dy = 0; Jade._y = 480 - hitBox._height + 28; hitBox._y = 480 - hitBox._height; } if (_root.hitBox._y + _root.hitBox._height / 2 < _root.BloodyBox._y + _root.BloodyBox._height / 2 || _root.nobox._y + _root.nobox._height / 2 < _root.BloodyBox._y + _root.BloodyBox._height / 2) { _root.Bloody.swapDepths(22); } else { _root.Bloody.swapDepths(10); } _root.BloodyBox; !hitTest(_root.hitBox) || _root.BloodyBox; if (!hitTest(_root.nobox)) { if (_root.hitBox._x + _root.hitBox._width / 2 > _root.BloodyBox._x + _root.BloodyBox._width / 2 && sx < 4) { _root.Bloody._xscale = 100; sx += 4; } else { if (_root.hitBox._x + _root.hitBox._width / 2 < _root.BloodyBox._x + _root.BloodyBox._width / 2 && sx > -4) { _root.Bloody._xscale = -100; sx += -4; } } if (_root.hitBox._y + _root.hitBox._height / 2 > _root.BloodyBox._y + _root.BloodyBox._height / 2 && sy < 4) { sy += 4; } else { if (_root.hitBox._y + _root.hitBox._height / 2 < _root.BloodyBox._y + _root.BloodyBox._height / 2 && sy > -4) { sy += -4; } } } _root.BloodyBox; hitTest(_root.hitBox) || _root.BloodyBox; if (hitTest(_root.nobox)) { dx = 0; dy = 0; sx = 0; sy = 0; } }; } frame 2319 { _root.attachMovie('dialogueBox', 'dialogueBox', 11001); _root.dialogueBox._x = 20; _root.dialogueBox._y = 20; _root.dialogueBox.gotoAndPlay('Jade5'); } frame 2320 { stop(); } frame 2339 { _root.attachMovie('FadeBlack2', 'Blaack', 15000); Blaack._x = 0; Blaack._y = 0; } frame 2378 { onEnterFrame = function () { Foreground.removeMovieClip(); Foreground1.removeMovieClip(); Foreground2.removeMovieClip(); Jade.removeMovieClip(); hitBox.removeMovieClip(); nobox.removeMovieClip(); nomove.removeMovieClip(); Luna.removeMovieClip(); Blody.removeMovieClip(); Bloody.removeMovieClip(); Black3.removeMovieClip(); BlackScreen.removeMovieClip(); FadeBlack.removeMovieClip(); }; } frame 2538 { onEnterFrame = function () { Blaack.removeMovieClip(); }; } frame 2658 { _root.attachMovie('FadeBlack2', 'Blaack', 15000); Blaack._x = 0; Blaack._y = 0; } frame 2718 { gotoAndPlay('CreepyEnd'); } frame 2720 { Stage.showMenu = false; } frame 2727 { _root.Black.swapDepths(10007); Twilight.gotoAndStop(5); onEnterFrame = function () { FadeBlack.removeMovieClip(); Pinkie.removeMovieClip(); Jade.removeMovieClip(); hitBox.removeMovieClip(); nobox.removeMovieClip(); nomove.removeMovieClip(); if (muf >= 5) { _root.attachMovie('Derpy', 'Derpy', 20); _root.Derpy._x = 372; _root.Derpy._y = 214; _root.Derpy._yscale = -100; _root.Derpy._xscale = -100; _root.Derpy.gotoAndStop(3); } else { Derpy.removeMovieClip(); } }; } frame 2733 { onEnterFrame = function () { Black.removeMovieClip(); }; } frame 2738 { PinkiePi.gotoAndStop(3); Applejack.gotoAndStop(4); } frame 2739 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 2748 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 2756 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 2763 { PinkiePi.gotoAndStop(1); } frame 2764 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 2771 { Twilight.gotoAndStop(1); Twilight._xscale = -100; DJPon3.gotoAndStop(2); } frame 2772 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 2780 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 2788 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 2796 { Applejack.gotoAndStop(1); } frame 2818 { _root.White.swapDepths(10343); } movieClip 2128 { frame 53 { stop(); } } frame 2871 { onEnterFrame = function () { White.removeMovieClip(); }; } frame 2885 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 2893 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 2901 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 2909 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 2917 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 2925 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 3039 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 3048 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 3056 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 3064 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 3072 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 3080 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 3088 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 3104 { _root.White.swapDepths(10343); } frame 3157 { onEnterFrame = function () { White.removeMovieClip(); }; } frame 3165 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 3174 { _root.attachMovie('FadeBlack', 'FadeBlack', 11100); _root.FadeBlack._x = 0; _root.FadeBlack._y = 0; } frame 3179 { onEnterFrame = function () { CupcakesSugarcube.removeMovieClip(); }; } frame 3189 { _root.attachMovie('BlackScreen', 'Black', 11200); _root.Black._x = 0; _root.Black._y = 0; onEnterFrame = function () { FadeBlack.removeMovieClip(); Derpy.removeMovieClip(); }; } frame 3193 { onEnterFrame = function () { Black.removeMovieClip(); }; } frame 3196 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 3204 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 3212 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 3220 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 3272 { gotoAndPlay('Boss'); } frame 3274 { Stage.showMenu = false; } movieClip 2158 { } movieClip 2159 { } movieClip 2162 { } frame 3280 { var ghp = 400; var rhp = 400; onEnterFrame = function () { _root.Retrybtn.removeMovieClip(); _root.JadeFall.removeMovieClip(); }; } frame 3379 { _root.JadeFly.gotoAndStop(6); } frame 3393 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } movieClip 2165 { } frame 3398 { stop(); var dx = 0; var dy = 0; var wat = 0; var firate = 40; var fire = firate; var firespd = 24; var dpwr = 0; var jpwr = 0; var cTime = 0; var cLimit = 8; var shootAllow = false; var ghp = 400; var rhp = 400; var bulletID = 0; onEnterFrame = function () { JadeFly._x += dx; JadeFly._y += dy; JadeFlyBox._x += dx; JadeFlyBox._y += dy; if (Key.isDown(37) && dx > -8) { dx += -8; } else { if (Key.isDown(39) && dx < 8) { dx += 8; } } if (Key.isDown(38) && dy > -8) { dy += -8; } else { if (Key.isDown(40) && dy < 8) { dy += 8; } } if (Key.isDown(37)) { Jade.gotoAndStop(2); } else { if (Key.isDown(39)) { Jade.gotoAndStop(2); } } if (Key.isDown(38)) { Jade.gotoAndStop(2); } else { if (Key.isDown(40)) { Jade.gotoAndStop(2); } } if (!Key.isDown(37) && !Key.isDown(39)) { dx = 0; } if (!Key.isDown(38) && !Key.isDown(40)) { dy = 0; } if (JadeFly._x < 60) { dx = 0; JadeFly._x = 60; JadeFlyBox._x = 28; } if (JadeFly._y < 120) { dy = 0; JadeFly._y = 120; JadeFlyBox._y = 48; } if (JadeFly._x > 360) { dx = 0; JadeFly._x = 360; JadeFlyBox._x = 328; } if (JadeFly._y > 480) { dy = 0; JadeFly._y = 480; JadeFlyBox._y = 408; } if (Key.isDown(32)) { _root.JadeFly.gotoAndStop(7); } else { _root.JadeFly.gotoAndStop(6); } if (Key.isDown(32) && shootAllow) { ++bulletID; Jadeshooting = new Sound(this); Jadeshooting.attachSound('JadeShot'); Jadeshooting.start(0, 1); _root.attachMovie('bullet', 'Bullet' + bulletID, _root.getNextHighestDepth()); _root['Bullet' + bulletID]._x = JadeFly._x + JadeFly._width / 2 - _root['Bullet' + bulletID]._width / 2; _root['Bullet' + bulletID]._y = JadeFly._y - 28; _root['Bullet' + bulletID].onEnterFrame = function () { this._x += 24; if (this._x > 640) { this.removeMovieClip(); } if (this.hitTest(_root.DragBox)) { _root.rhp += -1; this.removeMovieClip(); } }; shootAllow = false; } ++cTime; if (cTime >= cLimit) { shootAllow = true; cTime = 0; } if (rhp <= 200) { firate = 30; firespd = 40; ++dpwr; if (dpwr <= 1) { dragonpwrup = new Sound(this); dragonpwrup.attachSound('pwrup'); dragonpwrup.start(0, 1); } } if (ghp <= 200 && ghp > 100) { cLimit = 6; if (jpwr <= 1) { jpwr = 2; Jadepwrup = new Sound(this); Jadepwrup.attachSound('jpwrup'); Jadepwrup.start(0, 1); } } if (ghp <= 100) { cLimit = 3; if (jpwr <= 3) { jpwr = 4; Jadepwrup = new Sound(this); Jadepwrup.attachSound('jpwrup'); Jadepwrup.start(0, 1); } } if (rhp <= 0) { _root.play(); } if (ghp <= 0) { ++wat; if (jpwr <= 5) { jpwr = 6; Jadefalling = new Sound(this); Jadefalling.attachSound('JDead'); Jadefalling.start(0, 1); } _root.JadeFly._name = 'JadeFall'; _root.JadeFall.gotoAndStop(8); _root.JadeFlyBox._name = 'JadeFallBox'; _root.JadeFall._y += wat; _root['fireball' + fireID].removeMovieClip(); _root['Bullet' + bulletID].removeMovieClip(); _root['fireball' + fireID]._alpha = 0; _root['Bullet' + bulletID]._alpha = 0; if (_root.JadeFall._y >= 500) { _root.attachMovie('RetryBtn', 'Retrybtn', 15000); _root.Retrybtn._x = 96; _root.Retrybtn._y = 48; } } --fire; if (fire == 0) { fire = firate; ++fireID; FireballSFX = new Sound(this); FireballSFX.attachSound('FireSFX'); FireballSFX.start(0, 1); _root.attachMovie('FireBall', 'fireball' + fireID, _root.getNextHighestDepth()); _root['fireball' + fireID]._x = DragBox.EmitFire._x + 400; _root['fireball' + fireID]._y = DragBox.EmitFire._y + 100; xdist = _root.JadeFlyBox._x - _root['fireball' + fireID]._x; ydist = _root.JadeFlyBox._y - _root['fireball' + fireID]._y; totaldist = Math.abs(xdist) + Math.abs(ydist); xmov = firespd * (xdist / totaldist); ymov = firespd * (ydist / totaldist); _root['fireball' + fireID].onEnterFrame = function () { if (this._x <= 0 && this._y <= 0) { this.removeMovieClip(); } if (this._x < -64) { this.removeMovieClip(); } if (this._y < -64) { this.removeMovieClip(); } if (this._y > 480) { this.removeMovieClip(); } if (this.hitTest(_root.JadeFlyBox)) { this.removeMovieClip(); _root.ghp += -25; } this._x += xmov; this._y += ymov; }; } }; } movieClip 2167 { } instance JHP of movieClip 2165 { onClipEvent (enterFrame) { var jadehp = (_root.ghp / 400) * 100; this._xscale = jadehp; } } instance DHP of movieClip 2165 { onClipEvent (enterFrame) { var dragonhp = (_root.rhp / 400) * 100; this._xscale = dragonhp; } } frame 3401 { onEnterFrame = function () { _root['fireball' + fireID].removeMovieClip(); _root['Bullet' + bulletID].removeMovieClip(); _root['fireball' + fireID]._alpha = 0; _root['Bullet' + bulletID]._alpha = 0; _root.DragMove._name = 'DragDead'; _root.JadeFly._name = 'Jade'; _root.DragDead.stop(); _root.Jade.gotoAndStop(6); }; } frame 3433 { var wat = 0; onEnterFrame = function () { ++wat; if (Jade_.x < 500) { _root.Jade._x + wat; } }; } frame 3542 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } movieClip 2172 { } frame 3608 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 3672 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 3680 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 3688 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 3696 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 3704 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 3712 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 3720 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 3767 { gotoAndPlay('GoodEnd'); } frame 3770 { Stage.showMenu = false; } frame 3919 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 3927 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 4009 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 4017 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 4025 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 4070 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 4078 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 4086 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 4094 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 4102 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 4159 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 4167 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 4175 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 4183 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 4191 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 4199 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 4207 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 4415 { gotoAndPlay('Credits'); } frame 4418 { Stage.showMenu = false; } frame 4737 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } movieClip 2212 { } frame 5461 { gotoAndPlay('Credits'); } frame 5463 { _root.FadeBlack.swapDepths(10001); } frame 5463 { Stage.showMenu = false; } frame 5474 { onEnterFrame = function () { Foreground.removeMovieClip(); Foreground1.removeMovieClip(); Foreground2.removeMovieClip(); Jade.removeMovieClip(); hitBox.removeMovieClip(); nobox.removeMovieClip(); nomove.removeMovieClip(); Twilight.removeMovieClip(); Derpy.removeMovieClip(); Bloody.removeMovieClip(); Black3.removeMovieClip(); }; } frame 5475 { _root.BlackScreen.swapDepths(10002); onEnterFrame = function () { FadeBlack.removeMovieClip(); JadeMuffin.gotoAndStop(3); }; } frame 5480 { onEnterFrame = function () { BlackScreen.removeMovieClip(); }; } frame 5607 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 5615 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 5653 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 5667 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 5788 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } movieClip 2220 { } frame 6002 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 6010 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 6018 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 6026 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 6034 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 6069 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } frame 6402 { Jade2.gotoAndStop(3); } frame 6910 { gotoAndPlay('Credits'); } movieClip 2231 { } movieClip 2233 { } frame 8516 { stop(); onEnterFrame = function () { if (Key.isDown(32)) { play(); } }; } movieClip 2242 { } frame 8519 { gotoAndPlay('Start'); }




http://swfchan.com/21/102068/info.shtml
Created: 20/3 -2019 02:01:17 Last modified: 20/3 -2019 02:01:17 Server time: 18/04 -2024 11:38:01