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

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

Attack DLsite.swf

This is the info page for
Flash #215691

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


ActionScript [AS1/AS2]
Combined Code
frame 1 { seh.triangle.Triangle.main(); } movieClip 470 Select_Back_English { } movieClip 472 Select_Premium_07_English { } movieClip 474 Select_Premium_08_English { } movieClip 476 Select_DS_01_English { } movieClip 478 Select_DS_02_English { } movieClip 480 Select_Premium_01_English { } movieClip 482 Select_Premium_02_English { } movieClip 484 Select_Premium_03_English { } movieClip 486 Select_Premium_04_English { } movieClip 488 Select_Premium_05_English { } movieClip 490 Select_Premium_06_English { } movieClip 492 Title_FlagOpen { } movieClip 495 Card_03 { } movieClip 498 Card_02 { } movieClip 501 Card_01 { } movieClip 505 HitArea_Character { #initclip Object.registerClass('HitArea_Character', maelstrom.hit.BoundingBox); #endinitclip } movieClip 508 Symbol_Item { #initclip Object.registerClass('Symbol_Item', seh.triangle.action.ItemSymbol); #endinitclip } movieClip 510 Item_Window { #initclip Object.registerClass('Item_Window', maelstrom.ui.TextWindow); #endinitclip } movieClip 513 Event_DS_Stand_004 { } movieClip 516 Event_DS_Stand_003 { } movieClip 519 Event_DS_Stand_002 { } movieClip 522 Event_DS_Stand_001 { } movieClip 525 Event_DS_S02_009 { } movieClip 528 Event_DS_S02_008 { } movieClip 531 Event_DS_S02_007 { } movieClip 534 Event_DS_S02_006 { } movieClip 537 Event_DS_S02_005 { } movieClip 540 Event_DS_S02_004 { } movieClip 543 Event_DS_S02_003 { } movieClip 546 Event_DS_S02_002 { } movieClip 549 Event_DS_S02_001 { } movieClip 552 Event_DS_S01_006 { } movieClip 555 Event_DS_S01_005 { } movieClip 558 Event_DS_S01_004 { } movieClip 561 Event_DS_S01_003 { } movieClip 564 Event_DS_S01_002 { } movieClip 567 Event_DS_S01_001 { } movieClip 570 Event_SarahRara_Stand_004 { } movieClip 573 Event_SarahRara_Stand_003 { } movieClip 576 Event_SarahRara_Stand_002 { } movieClip 579 Event_SarahRara_Stand_001 { } movieClip 582 Event_SarahRara_S04_007 { } movieClip 585 Event_SarahRara_S04_006 { } movieClip 588 Event_SarahRara_S04_005 { } movieClip 591 Event_SarahRara_S04_004 { } movieClip 594 Event_SarahRara_S04_003 { } movieClip 597 Event_SarahRara_S04_002 { } movieClip 600 Event_SarahRara_S04_001 { } movieClip 603 Event_SarahRara_S03_006 { } movieClip 606 Event_SarahRara_S03_005 { } movieClip 609 Event_SarahRara_S03_004 { } movieClip 612 Event_SarahRara_S03_003 { } movieClip 615 Event_SarahRara_S03_002 { } movieClip 618 Event_SarahRara_S03_001 { } movieClip 621 Event_SarahRara_S02_002 { } movieClip 624 Event_SarahRara_S02_001 { } movieClip 627 Event_SarahRara_S01_002 { } movieClip 630 Event_SarahRara_S01_001 { } movieClip 633 Event_Mente_Stand_004 { } movieClip 636 Event_Mente_Stand_003 { } movieClip 639 Event_Mente_Stand_002 { } movieClip 642 Event_Mente_Stand_001 { } movieClip 645 Event_Mente_S02_003 { } movieClip 648 Event_Mente_S02_002 { } movieClip 651 Event_Mente_S02_001 { } movieClip 654 Event_Mente_S01_010 { } movieClip 657 Event_Mente_S01_009 { } movieClip 660 Event_Mente_S01_008 { } movieClip 663 Event_Mente_S01_007 { } movieClip 666 Event_Mente_S01_006 { } movieClip 669 Event_Mente_S01_005 { } movieClip 672 Event_Mente_S01_004 { } movieClip 675 Event_Mente_S01_003 { } movieClip 678 Event_Mente_S01_002 { } movieClip 681 Event_Mente_S01_001 { } movieClip 688 HitArea_Damage { #initclip Object.registerClass('HitArea_Damage', maelstrom.hit.BoundingBox); #endinitclip } movieClip 684 { } movieClip 691 Chara_Mente_Right { } movieClip 694 Chara_Mente_Left { } movieClip 699 Chara_Mente_Front { } movieClip 704 Chara_Mente_Back { } movieClip 709 Chara_Enemy04_Right { } movieClip 711 HitArea_Punch_Side { #initclip Object.registerClass('HitArea_Punch_Side', maelstrom.hit.BoundingBox); #endinitclip } movieClip 714 Chara_Enemy04_Punch_Right { frame 1 { HitArea_Attack.enabled = false; } frame 2 { HitArea_Attack.enabled = true; } } movieClip 717 Chara_Enemy04_Punch_Left { frame 1 { HitArea_Attack.enabled = false; } frame 2 { HitArea_Attack.enabled = true; } } movieClip 719 Chara_Enemy04_Left { } movieClip 721 HitArea_Kick_Side { #initclip Object.registerClass('HitArea_Kick_Side', maelstrom.hit.BoundingBox); #endinitclip } movieClip 724 Chara_Enemy04_Kick_Right { frame 1 { HitArea_Attack.enabled = false; } frame 4 { HitArea_Attack.enabled = true; } } movieClip 726 Chara_Enemy04_Kick_Left { frame 1 { HitArea_Attack.enabled = false; } frame 4 { HitArea_Attack.enabled = true; } } movieClip 731 Chara_Enemy04_Front { } movieClip 736 Chara_Enemy04_Back { } movieClip 741 Chara_DS_Right { } movieClip 744 Chara_DS_Left { } movieClip 749 Chara_DS_Front { } movieClip 754 Chara_DS_Back { } movieClip 759 Chara_ZIP_Right { } movieClip 764 Chara_ZIP_Left { } movieClip 769 Chara_ZIP_Front { } movieClip 774 Chara_ZIP_Back { } movieClip 779 Chara_Sarah_Right { } movieClip 782 Chara_Sarah_Left { } movieClip 787 Chara_Sarah_Front { } movieClip 792 Chara_Sarah_Back { } movieClip 797 Chara_Rara_Right { } movieClip 800 Chara_Rara_Left { } movieClip 805 Chara_Rara_Front { } movieClip 810 Chara_Rara_Back { } movieClip 813 Event_DilleElle_Stand_004 { } movieClip 816 Event_DilleElle_Stand_003 { } movieClip 819 Event_DilleElle_Stand_002 { } movieClip 822 Event_DilleElle_Stand_001 { } movieClip 825 Event_DilleElle_S08_001 { } movieClip 828 Event_DilleElle_S07_001 { } movieClip 831 Event_DilleElle_S06_004 { } movieClip 834 Event_DilleElle_S06_003 { } movieClip 837 Event_DilleElle_S06_002 { } movieClip 840 Event_DilleElle_S06_001 { } movieClip 843 Event_DilleElle_S05_005 { } movieClip 846 Event_DilleElle_S05_004 { } movieClip 849 Event_DilleElle_S05_003 { } movieClip 852 Event_DilleElle_S05_002 { } movieClip 855 Event_DilleElle_S05_001 { } movieClip 858 Event_DilleElle_S04_007 { } movieClip 861 Event_DilleElle_S04_006 { } movieClip 864 Event_DilleElle_S04_005 { } movieClip 867 Event_DilleElle_S04_004 { } movieClip 870 Event_DilleElle_S04_003 { } movieClip 873 Event_DilleElle_S04_002 { } movieClip 876 Event_DilleElle_S04_001 { } movieClip 879 Event_DilleElle_S03_009 { } movieClip 882 Event_DilleElle_S03_008 { } movieClip 885 Event_DilleElle_S03_007 { } movieClip 888 Event_DilleElle_S03_006 { } movieClip 891 Event_DilleElle_S03_005 { } movieClip 894 Event_DilleElle_S03_004 { } movieClip 897 Event_DilleElle_S03_003 { } movieClip 900 Event_DilleElle_S03_002 { } movieClip 903 Event_DilleElle_S03_001 { } movieClip 906 Event_DilleElle_S02_007 { } movieClip 909 Event_DilleElle_S02_006 { } movieClip 912 Event_DilleElle_S02_005 { } movieClip 915 Event_DilleElle_S02_004 { } movieClip 918 Event_DilleElle_S02_003 { } movieClip 921 Event_DilleElle_S02_002 { } movieClip 924 Event_DilleElle_S02_001 { } movieClip 927 Event_DilleElle_S01_009 { } movieClip 930 Event_DilleElle_S01_008 { } movieClip 933 Event_DilleElle_S01_007 { } movieClip 936 Event_DilleElle_S01_006 { } movieClip 939 Event_DilleElle_S01_005 { } movieClip 942 Event_DilleElle_S01_004 { } movieClip 945 Event_DilleElle_S01_003 { } movieClip 948 Event_DilleElle_S01_002 { } movieClip 951 Event_DilleElle_S01_001 { } movieClip 956 Chara_Elle_Right { } movieClip 959 Chara_Elle_Punch_Right { frame 1 { HitArea_Attack.enabled = false; } frame 2 { HitArea_Attack.enabled = true; } } movieClip 962 Chara_Elle_Punch_Left { frame 1 { HitArea_Attack.enabled = false; } frame 2 { HitArea_Attack.enabled = true; } } movieClip 965 HitArea_Punch_Front { #initclip Object.registerClass('HitArea_Punch_Front', maelstrom.hit.BoundingBox); #endinitclip } movieClip 968 Chara_Elle_Punch_Front { frame 1 { HitArea_Attack.enabled = false; } frame 2 { HitArea_Attack.enabled = true; } } movieClip 971 HitArea_Punch_Back { #initclip Object.registerClass('HitArea_Punch_Back', maelstrom.hit.BoundingBox); #endinitclip } movieClip 974 Chara_Elle_Punch_Back { frame 1 { HitArea_Attack.enabled = false; } frame 2 { HitArea_Attack.enabled = true; } } movieClip 976 Chara_Elle_Left { } movieClip 979 Chara_Elle_Front { } movieClip 982 Chara_Elle_Back { } movieClip 987 Chara_Dille_Kick_Right { frame 1 { HitArea_Attack.enabled = false; } frame 5 { HitArea_Attack.enabled = true; } } movieClip 990 Chara_Dille_Kick_Left { frame 1 { HitArea_Attack.enabled = false; } frame 5 { HitArea_Attack.enabled = true; } } movieClip 993 Chara_Dille_Right { } movieClip 995 Chara_Dille_Left { } movieClip 998 HitArea_Kick_Back { #initclip Object.registerClass('HitArea_Kick_Back', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1001 Chara_Dille_Kick_Back { frame 1 { HitArea_Attack.enabled = false; } frame 5 { HitArea_Attack.enabled = true; } } movieClip 1004 Chara_Dille_Back { } movieClip 1007 HitArea_Kick_Front { #initclip Object.registerClass('HitArea_Kick_Front', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1010 Chara_Dille_Kick_Front { frame 1 { HitArea_Attack.enabled = false; } frame 5 { HitArea_Attack.enabled = true; } } movieClip 1013 Chara_Dille_Front { } movieClip 1016 Event_Premium_S01_001 { } movieClip 1019 Event_Premium_S01_002 { } movieClip 1022 Event_Premium_S01_003 { } movieClip 1025 Event_Premium_S01_004 { } movieClip 1028 Event_Premium_S01_005 { } movieClip 1031 Event_Premium_S01_006 { } movieClip 1034 Event_Premium_S01_007 { } movieClip 1037 Event_Premium_S02_001 { } movieClip 1040 Event_Premium_S02_002 { } movieClip 1043 Event_Premium_S02_003 { } movieClip 1046 Event_Premium_S02_004 { } movieClip 1049 Event_Premium_S03_001 { } movieClip 1052 Event_Premium_S03_002 { } movieClip 1055 Event_Premium_S03_003 { } movieClip 1058 Event_Premium_S03_004 { } movieClip 1061 Event_Premium_S03_005 { } movieClip 1063 Effect_01 { } movieClip 1067 HitArea_0F_01 { #initclip Object.registerClass('HitArea_0F_01', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1069 HitArea_0F_02 { #initclip Object.registerClass('HitArea_0F_02', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1071 HitArea_0F_03 { #initclip Object.registerClass('HitArea_0F_03', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1072 HitArea_0F_04 { #initclip Object.registerClass('HitArea_0F_04', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1073 HitArea_0F_05_StairUp { #initclip Object.registerClass('HitArea_0F_05_StairUp', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1074 HitArea_0F_06 { #initclip Object.registerClass('HitArea_0F_06', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1075 HitArea_0F_07 { #initclip Object.registerClass('HitArea_0F_07', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1077 HitArea_0F_08 { #initclip Object.registerClass('HitArea_0F_08', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1078 HitArea_0F_09 { #initclip Object.registerClass('HitArea_0F_09', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1080 HitArea_0F_10 { #initclip Object.registerClass('HitArea_0F_10', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1081 HitArea_0F_11 { #initclip Object.registerClass('HitArea_0F_11', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1082 Eisys_0F { } movieClip 1087 { } movieClip 1088 Eisys_0F_Up { } movieClip 1091 HitArea_Boomerang { #initclip Object.registerClass('HitArea_Boomerang', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1092 { } movieClip 1093 Premium_Boomerang { #initclip Object.registerClass('Premium_Boomerang', seh.triangle.action.characters.Boomerang); #endinitclip } movieClip 1096 Event_Premium_Stand_001 { } movieClip 1099 Event_Premium_Stand_002 { } movieClip 1102 Event_Premium_Stand_003 { } movieClip 1105 Event_Premium_Stand_004 { } movieClip 1107 { } movieClip 1108 Line { } movieClip 1110 { } movieClip 1111 Page { } movieClip 1113 Text_Window { #initclip Object.registerClass('Text_Window', maelstrom.ui.TextWindow); #endinitclip } movieClip 1118 { } movieClip 1119 Eisys_4F_Roof_Up { } movieClip 1124 { } movieClip 1125 Eisys_3F_President_Up { } movieClip 1128 Eisys_2F_Work_Up { } movieClip 1133 { } movieClip 1134 Eisys_2F_Server_Up { } movieClip 1139 { } movieClip 1140 Eisys_1F_Meeting_Up { } movieClip 1143 HitArea_4F_Roof_01 { #initclip Object.registerClass('HitArea_4F_Roof_01', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1145 HitArea_4F_Roof_02 { #initclip Object.registerClass('HitArea_4F_Roof_02', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1146 HitArea_4F_Roof_03 { #initclip Object.registerClass('HitArea_4F_Roof_03', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1147 HitArea_4F_Roof_04_Entrance { #initclip Object.registerClass('HitArea_4F_Roof_04_Entrance', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1148 HitArea_4F_Roof_05 { #initclip Object.registerClass('HitArea_4F_Roof_05', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1150 HitArea_4F_Roof_06 { #initclip Object.registerClass('HitArea_4F_Roof_06', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1151 HitArea_4F_Roof_07 { #initclip Object.registerClass('HitArea_4F_Roof_07', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1152 HitArea_4F_Roof_08 { #initclip Object.registerClass('HitArea_4F_Roof_08', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1153 HitArea_4F_Roof_09 { #initclip Object.registerClass('HitArea_4F_Roof_09', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1154 HitArea_4F_Roof_10 { #initclip Object.registerClass('HitArea_4F_Roof_10', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1155 Eisys_4F_Roof_02 { } movieClip 1158 Eisys_4F_Roof_Up_02 { } movieClip 1163 { } movieClip 1164 Eisys_1F_Work_Up { } movieClip 1169 { } movieClip 1170 Town_Up { } movieClip 1175 Chara_Premium_Right { } movieClip 1178 Chara_Premium_Left { } movieClip 1183 Chara_Premium_Back { } movieClip 1188 Chara_Premium_Front { } movieClip 1191 GameOver { } movieClip 1194 Pause { } movieClip 1197 Save { } movieClip 1200 Load { } movieClip 1203 Pause_Title { } movieClip 1206 Gallery_DilleElle { } movieClip 1209 Gallery_DS { } movieClip 1212 Gallery_Mente { } movieClip 1215 Gallery_Premium { } movieClip 1218 Gallery_SarahRara { } movieClip 1221 Gallery_Stand_DilleElle_001 { } movieClip 1224 Gallery_Stand_DilleElle_002 { } movieClip 1227 Gallery_Stand_DilleElle_003 { } movieClip 1230 Gallery_Stand_DilleElle_004 { } movieClip 1233 Gallery_Stand_DS_001 { } movieClip 1236 Gallery_Stand_DS_002 { } movieClip 1239 Gallery_Stand_DS_003 { } movieClip 1242 Gallery_Stand_DS_004 { } movieClip 1245 Gallery_Stand_Mente_001 { } movieClip 1248 Gallery_Stand_Mente_002 { } movieClip 1251 Gallery_Stand_Mente_003 { } movieClip 1254 Gallery_Stand_Mente_004 { } movieClip 1257 Gallery_Stand_Premium_001 { } movieClip 1260 Gallery_Stand_Premium_002 { } movieClip 1263 Gallery_Stand_Premium_003 { } movieClip 1266 Gallery_Stand_Premium_004 { } movieClip 1269 Gallery_Stand_SarahRara_001 { } movieClip 1272 Gallery_Stand_SarahRara_002 { } movieClip 1275 Gallery_Stand_SarahRara_003 { } movieClip 1278 Gallery_Stand_SarahRara_004 { } movieClip 1281 Gallery_SceneReplay { } movieClip 1284 Gallery_CG { } movieClip 1287 Gallery_Back { } movieClip 1290 Title { } movieClip 1293 Title_CG_Gallery { } movieClip 1296 Title_Continue { } movieClip 1299 Title_SceneReplay { } movieClip 1302 Title_Start { } movieClip 1305 HP_01 { } movieClip 1308 HP_02 { } movieClip 1311 HP_03 { } movieClip 1314 HP_04 { } movieClip 1317 HP_05 { } movieClip 1320 HP_DLpt_Frame { #initclip Object.registerClass('HP_DLpt_Frame', seh.triangle.action.DLPoint); #endinitclip } movieClip 1323 HP_Frame_Player { #initclip Object.registerClass('HP_Frame_Player', seh.triangle.action.CharacterHealthIcon); #endinitclip } movieClip 1326 HP_Frame_Dille { #initclip Object.registerClass('HP_Frame_Dille', seh.triangle.action.CharacterHealthIcon); #endinitclip } movieClip 1329 HP_DLpt_00 { } movieClip 1332 HP_DLpt_01 { } movieClip 1335 HP_DLpt_02 { } movieClip 1338 HP_DLpt_03 { } movieClip 1341 HP_DLpt_04 { } movieClip 1344 HP_DLpt_05 { } movieClip 1347 HP_DLpt_06 { } movieClip 1350 HP_DLpt_07 { } movieClip 1353 HP_DLpt_08 { } movieClip 1356 HP_DLpt_09 { } movieClip 1359 HP_Frame_Elle { #initclip Object.registerClass('HP_Frame_Elle', seh.triangle.action.CharacterHealthIcon); #endinitclip } movieClip 1362 HP_Frame_Enemy { #initclip Object.registerClass('HP_Frame_Enemy', seh.triangle.action.CharacterHealthIcon); #endinitclip } movieClip 1365 HP_Frame_Mente { #initclip Object.registerClass('HP_Frame_Mente', seh.triangle.action.CharacterHealthIcon); #endinitclip } movieClip 1368 HP_Frame_Premium { #initclip Object.registerClass('HP_Frame_Premium', seh.triangle.action.CharacterHealthIcon); #endinitclip } movieClip 1371 HP_Frame_Rara { #initclip Object.registerClass('HP_Frame_Rara', seh.triangle.action.CharacterHealthIcon); #endinitclip } movieClip 1374 HP_Frame_Sarah { #initclip Object.registerClass('HP_Frame_Sarah', seh.triangle.action.CharacterHealthIcon); #endinitclip } movieClip 1379 Chara_Enemy03_Back { } movieClip 1384 Chara_Enemy03_Kick_Right { frame 1 { HitArea_Attack.enabled = false; } frame 4 { HitArea_Attack.enabled = true; } } movieClip 1387 Chara_Enemy03_Kick_Left { frame 1 { HitArea_Attack.enabled = false; } frame 4 { HitArea_Attack.enabled = true; } } movieClip 1390 Chara_Enemy03_Punch_Right { frame 1 { HitArea_Attack.enabled = false; } frame 2 { HitArea_Attack.enabled = true; } } movieClip 1392 Chara_Enemy03_Punch_Left { frame 1 { HitArea_Attack.enabled = false; } frame 2 { HitArea_Attack.enabled = true; } } movieClip 1395 Chara_Enemy03_Left { } movieClip 1397 Chara_Enemy03_Right { } movieClip 1402 Chara_Enemy03_Front { } movieClip 1407 Chara_Enemy02_Back { } movieClip 1412 Chara_Enemy02_Kick_Right { frame 1 { HitArea_Attack.enabled = false; } frame 4 { HitArea_Attack.enabled = true; } } movieClip 1415 Chara_Enemy02_Kick_Left { frame 1 { HitArea_Attack.enabled = false; } frame 4 { HitArea_Attack.enabled = true; } } movieClip 1418 Chara_Enemy02_Punch_Right { frame 1 { HitArea_Attack.enabled = false; } frame 2 { HitArea_Attack.enabled = true; } } movieClip 1420 Chara_Enemy02_Punch_Left { frame 1 { HitArea_Attack.enabled = false; } frame 2 { HitArea_Attack.enabled = true; } } movieClip 1423 Chara_Enemy02_Left { } movieClip 1425 Chara_Enemy02_Right { } movieClip 1430 Chara_Enemy02_Front { } movieClip 1435 Chara_Enemy01_Back { } movieClip 1440 Chara_Enemy01_Kick_Right { frame 1 { HitArea_Attack.enabled = false; } frame 4 { HitArea_Attack.enabled = true; } } movieClip 1443 Chara_Enemy01_Kick_Left { frame 1 { HitArea_Attack.enabled = false; } frame 4 { HitArea_Attack.enabled = true; } } movieClip 1446 Chara_Enemy01_Punch_Right { frame 1 { HitArea_Attack.enabled = false; } frame 2 { HitArea_Attack.enabled = true; } } movieClip 1448 Chara_Enemy01_Punch_Left { frame 1 { HitArea_Attack.enabled = false; } frame 2 { HitArea_Attack.enabled = true; } } movieClip 1451 Chara_Enemy01_Left { } movieClip 1453 Chara_Enemy01_Right { } movieClip 1458 Chara_Enemy01_Front { } movieClip 1463 Chara_Hero_Right { } movieClip 1466 Chara_Hero_Punch_Right { frame 1 { HitArea_Attack.enabled = false; } frame 2 { HitArea_Attack.enabled = true; } } movieClip 1469 Chara_Hero_Punch_Left { frame 1 { HitArea_Attack.enabled = false; } frame 2 { HitArea_Attack.enabled = true; } } movieClip 1474 Chara_Hero_Punch_Front { frame 1 { HitArea_Attack.enabled = false; } frame 2 { HitArea_Attack.enabled = true; } } movieClip 1479 Chara_Hero_Punch_Back { frame 1 { HitArea_Attack.enabled = false; } frame 2 { HitArea_Attack.enabled = true; } } movieClip 1481 Chara_Hero_Left { } movieClip 1484 Chara_Hero_Kick_Right { frame 1 { HitArea_Attack.enabled = false; } frame 4 { HitArea_Attack.enabled = true; } } movieClip 1486 Chara_Hero_Kick_Left { frame 1 { HitArea_Attack.enabled = false; } frame 4 { HitArea_Attack.enabled = true; } } movieClip 1489 Chara_Hero_Kick_Front { frame 1 { HitArea_Attack.enabled = false; } frame 4 { HitArea_Attack.enabled = true; } } movieClip 1492 Chara_Hero_Kick_Back { frame 1 { HitArea_Attack.enabled = false; } frame 4 { HitArea_Attack.enabled = true; } } movieClip 1495 Chara_Hero_Front { } movieClip 1498 Chara_Hero_Back { } movieClip 1500 HitArea_Eisys_12 { #initclip Object.registerClass('HitArea_Eisys_12', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1501 HitArea_Eisys_11 { #initclip Object.registerClass('HitArea_Eisys_11', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1502 HitArea_Eisys_10 { #initclip Object.registerClass('HitArea_Eisys_10', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1503 HitArea_Eisys_09 { #initclip Object.registerClass('HitArea_Eisys_09', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1504 HitArea_Eisys_07 { #initclip Object.registerClass('HitArea_Eisys_07', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1505 HitArea_Eisys_06 { #initclip Object.registerClass('HitArea_Eisys_06', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1506 HitArea_Eisys_05 { #initclip Object.registerClass('HitArea_Eisys_05', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1507 HitArea_Eisys_04_Door { #initclip Object.registerClass('HitArea_Eisys_04_Door', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1508 HitArea_Eisys_03 { #initclip Object.registerClass('HitArea_Eisys_03', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1509 HitArea_Eisys_02 { #initclip Object.registerClass('HitArea_Eisys_02', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1510 HitArea_Eisys_01 { #initclip Object.registerClass('HitArea_Eisys_01', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1513 Town { } movieClip 1518 { } movieClip 1521 { } movieClip 1524 { } movieClip 1525 Eisys_WC_Woman_Up { } movieClip 1526 HitArea_WC_Woman_27 { #initclip Object.registerClass('HitArea_WC_Woman_27', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1527 HitArea_WC_Woman_26_Toilet { #initclip Object.registerClass('HitArea_WC_Woman_26_Toilet', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1528 HitArea_WC_Woman_25 { #initclip Object.registerClass('HitArea_WC_Woman_25', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1529 HitArea_WC_Woman_24_Toilet { #initclip Object.registerClass('HitArea_WC_Woman_24_Toilet', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1530 HitArea_WC_Woman_23 { #initclip Object.registerClass('HitArea_WC_Woman_23', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1531 HitArea_WC_Woman_22_Toilet { #initclip Object.registerClass('HitArea_WC_Woman_22_Toilet', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1532 HitArea_WC_Woman_21 { #initclip Object.registerClass('HitArea_WC_Woman_21', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1533 HitArea_WC_Woman_20 { #initclip Object.registerClass('HitArea_WC_Woman_20', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1534 HitArea_WC_Woman_19 { #initclip Object.registerClass('HitArea_WC_Woman_19', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1535 HitArea_WC_Woman_18 { #initclip Object.registerClass('HitArea_WC_Woman_18', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1536 HitArea_WC_Woman_17_Toilet { #initclip Object.registerClass('HitArea_WC_Woman_17_Toilet', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1537 HitArea_WC_Woman_16 { #initclip Object.registerClass('HitArea_WC_Woman_16', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1538 HitArea_WC_Woman_15_Toilet { #initclip Object.registerClass('HitArea_WC_Woman_15_Toilet', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1539 HitArea_WC_Woman_14 { #initclip Object.registerClass('HitArea_WC_Woman_14', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1540 HitArea_WC_Woman_13_Toilet { #initclip Object.registerClass('HitArea_WC_Woman_13_Toilet', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1541 HitArea_WC_Woman_12 { #initclip Object.registerClass('HitArea_WC_Woman_12', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1542 HitArea_WC_Woman_11 { #initclip Object.registerClass('HitArea_WC_Woman_11', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1543 HitArea_WC_Woman_10 { #initclip Object.registerClass('HitArea_WC_Woman_10', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1544 HitArea_WC_Woman_09 { #initclip Object.registerClass('HitArea_WC_Woman_09', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1546 HitArea_WC_Woman_08 { #initclip Object.registerClass('HitArea_WC_Woman_08', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1547 HitArea_WC_Woman_07 { #initclip Object.registerClass('HitArea_WC_Woman_07', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1548 HitArea_WC_Woman_06 { #initclip Object.registerClass('HitArea_WC_Woman_06', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1549 HitArea_WC_Woman_05 { #initclip Object.registerClass('HitArea_WC_Woman_05', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1550 HitArea_WC_Woman_04 { #initclip Object.registerClass('HitArea_WC_Woman_04', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1551 HitArea_WC_Woman_03 { #initclip Object.registerClass('HitArea_WC_Woman_03', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1552 HitArea_WC_Woman_02 { #initclip Object.registerClass('HitArea_WC_Woman_02', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1553 HitArea_WC_Woman_01 { #initclip Object.registerClass('HitArea_WC_Woman_01', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1556 Eisys_WC_Woman { } movieClip 1561 { } movieClip 1564 { } movieClip 1565 Eisys_WC_Man_Up { } movieClip 1566 HitArea_WC_Man_22_Toilet { #initclip Object.registerClass('HitArea_WC_Man_22_Toilet', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1567 HitArea_WC_Man_21_Toilet { #initclip Object.registerClass('HitArea_WC_Man_21_Toilet', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1568 HitArea_WC_Man_20_Toilet { #initclip Object.registerClass('HitArea_WC_Man_20_Toilet', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1569 HitArea_WC_Man_19_Toilet { #initclip Object.registerClass('HitArea_WC_Man_19_Toilet', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1570 HitArea_WC_Man_18_Toilet { #initclip Object.registerClass('HitArea_WC_Man_18_Toilet', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1571 HitArea_WC_Man_17_Toilet { #initclip Object.registerClass('HitArea_WC_Man_17_Toilet', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1572 HitArea_WC_Man_16 { #initclip Object.registerClass('HitArea_WC_Man_16', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1573 HitArea_WC_Man_15_Toilet { #initclip Object.registerClass('HitArea_WC_Man_15_Toilet', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1574 HitArea_WC_Man_14 { #initclip Object.registerClass('HitArea_WC_Man_14', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1575 HitArea_WC_Man_13_Toilet { #initclip Object.registerClass('HitArea_WC_Man_13_Toilet', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1576 HitArea_WC_Man_12 { #initclip Object.registerClass('HitArea_WC_Man_12', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1577 HitArea_WC_Man_11 { #initclip Object.registerClass('HitArea_WC_Man_11', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1578 HitArea_WC_Man_10 { #initclip Object.registerClass('HitArea_WC_Man_10', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1579 HitArea_WC_Man_09_Door { #initclip Object.registerClass('HitArea_WC_Man_09_Door', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1580 HitArea_WC_Man_08 { #initclip Object.registerClass('HitArea_WC_Man_08', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1581 HitArea_WC_Man_07 { #initclip Object.registerClass('HitArea_WC_Man_07', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1582 HitArea_WC_Man_06 { #initclip Object.registerClass('HitArea_WC_Man_06', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1583 HitArea_WC_Man_05 { #initclip Object.registerClass('HitArea_WC_Man_05', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1584 HitArea_WC_Man_04 { #initclip Object.registerClass('HitArea_WC_Man_04', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1585 HitArea_WC_Man_03 { #initclip Object.registerClass('HitArea_WC_Man_03', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1586 HitArea_WC_Man_02 { #initclip Object.registerClass('HitArea_WC_Man_02', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1587 HitArea_WC_Man_01 { #initclip Object.registerClass('HitArea_WC_Man_01', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1590 Eisys_WC_Man { } movieClip 1593 { } movieClip 1594 Eisys_4F_Room_Shadow { } movieClip 1595 HitArea_4F_Room_08 { #initclip Object.registerClass('HitArea_4F_Room_08', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1596 HitArea_4F_Room_07 { #initclip Object.registerClass('HitArea_4F_Room_07', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1597 HitArea_4F_Room_06 { #initclip Object.registerClass('HitArea_4F_Room_06', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1598 HitArea_4F_Room_05 { #initclip Object.registerClass('HitArea_4F_Room_05', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1599 HitArea_4F_Room_04_StairDown { #initclip Object.registerClass('HitArea_4F_Room_04_StairDown', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1600 HitArea_4F_Room_03 { #initclip Object.registerClass('HitArea_4F_Room_03', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1601 HitArea_4F_Room_02 { #initclip Object.registerClass('HitArea_4F_Room_02', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1602 HitArea_4F_Room_01_Entrance { #initclip Object.registerClass('HitArea_4F_Room_01_Entrance', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1605 Eisys_4F_Room { } movieClip 1608 Eisys_4F_Roof { } movieClip 1609 HitArea_3F_President_16 { #initclip Object.registerClass('HitArea_3F_President_16', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1610 HitArea_3F_President_15 { #initclip Object.registerClass('HitArea_3F_President_15', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1611 HitArea_3F_President_14 { #initclip Object.registerClass('HitArea_3F_President_14', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1612 HitArea_3F_President_13 { #initclip Object.registerClass('HitArea_3F_President_13', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1613 HitArea_3F_President_12 { #initclip Object.registerClass('HitArea_3F_President_12', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1614 HitArea_3F_President_11 { #initclip Object.registerClass('HitArea_3F_President_11', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1615 HitArea_3F_President_10 { #initclip Object.registerClass('HitArea_3F_President_10', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1617 HitArea_3F_President_09 { #initclip Object.registerClass('HitArea_3F_President_09', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1619 HitArea_3F_President_08 { #initclip Object.registerClass('HitArea_3F_President_08', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1620 HitArea_3F_President_07 { #initclip Object.registerClass('HitArea_3F_President_07', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1621 HitArea_3F_President_06 { #initclip Object.registerClass('HitArea_3F_President_06', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1622 HitArea_3F_President_05 { #initclip Object.registerClass('HitArea_3F_President_05', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1623 HitArea_3F_President_04 { #initclip Object.registerClass('HitArea_3F_President_04', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1624 HitArea_3F_President_03 { #initclip Object.registerClass('HitArea_3F_President_03', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1625 HitArea_3F_President_02 { #initclip Object.registerClass('HitArea_3F_President_02', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1626 HitArea_3F_President_01_Entrance { #initclip Object.registerClass('HitArea_3F_President_01_Entrance', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1629 Eisys_3F_President { } movieClip 1630 HitArea_3F_Hallway_14_Plant { #initclip Object.registerClass('HitArea_3F_Hallway_14_Plant', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1631 HitArea_3F_Hallway_13_Plant { #initclip Object.registerClass('HitArea_3F_Hallway_13_Plant', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1632 HitArea_3F_Hallway_12 { #initclip Object.registerClass('HitArea_3F_Hallway_12', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1633 HitArea_3F_Hallway_11 { #initclip Object.registerClass('HitArea_3F_Hallway_11', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1634 HitArea_3F_Hallway_10 { #initclip Object.registerClass('HitArea_3F_Hallway_10', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1635 HitArea_3F_Hallway_09_StairDown_R { #initclip Object.registerClass('HitArea_3F_Hallway_09_StairDown_R', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1636 HitArea_3F_Hallway_08 { #initclip Object.registerClass('HitArea_3F_Hallway_08', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1637 HitArea_3F_Hallway_07_President { #initclip Object.registerClass('HitArea_3F_Hallway_07_President', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1638 HitArea_3F_Hallway_06 { #initclip Object.registerClass('HitArea_3F_Hallway_06', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1639 HitArea_3F_Hallway_05_StairUp_L { #initclip Object.registerClass('HitArea_3F_Hallway_05_StairUp_L', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1640 HitArea_3F_Hallway_04 { #initclip Object.registerClass('HitArea_3F_Hallway_04', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1641 HitArea_3F_Hallway_03_StairDown_L { #initclip Object.registerClass('HitArea_3F_Hallway_03_StairDown_L', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1642 HitArea_3F_Hallway_02 { #initclip Object.registerClass('HitArea_3F_Hallway_02', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1643 HitArea_3F_Hallway_01 { #initclip Object.registerClass('HitArea_3F_Hallway_01', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1646 Eisys_3F_Hallway { } movieClip 1649 { } movieClip 1650 Eisys_3F_Hallway_Shadow { } movieClip 1652 HitArea_2F_Work_60 { #initclip Object.registerClass('HitArea_2F_Work_60', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1653 HitArea_2F_Work_59 { #initclip Object.registerClass('HitArea_2F_Work_59', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1654 HitArea_2F_Work_58 { #initclip Object.registerClass('HitArea_2F_Work_58', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1655 HitArea_2F_Work_57 { #initclip Object.registerClass('HitArea_2F_Work_57', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1657 HitArea_2F_Work_56 { #initclip Object.registerClass('HitArea_2F_Work_56', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1658 HitArea_2F_Work_55 { #initclip Object.registerClass('HitArea_2F_Work_55', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1659 HitArea_2F_Work_54 { #initclip Object.registerClass('HitArea_2F_Work_54', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1660 HitArea_2F_Work_53 { #initclip Object.registerClass('HitArea_2F_Work_53', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1661 HitArea_2F_Work_52 { #initclip Object.registerClass('HitArea_2F_Work_52', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1662 HitArea_2F_Work_51 { #initclip Object.registerClass('HitArea_2F_Work_51', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1663 HitArea_2F_Work_50 { #initclip Object.registerClass('HitArea_2F_Work_50', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1664 HitArea_2F_Work_49 { #initclip Object.registerClass('HitArea_2F_Work_49', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1665 HitArea_2F_Work_48 { #initclip Object.registerClass('HitArea_2F_Work_48', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1666 HitArea_2F_Work_47 { #initclip Object.registerClass('HitArea_2F_Work_47', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1667 HitArea_2F_Work_46 { #initclip Object.registerClass('HitArea_2F_Work_46', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1668 HitArea_2F_Work_45 { #initclip Object.registerClass('HitArea_2F_Work_45', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1669 HitArea_2F_Work_44 { #initclip Object.registerClass('HitArea_2F_Work_44', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1670 HitArea_2F_Work_43 { #initclip Object.registerClass('HitArea_2F_Work_43', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1671 HitArea_2F_Work_42 { #initclip Object.registerClass('HitArea_2F_Work_42', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1672 HitArea_2F_Work_41 { #initclip Object.registerClass('HitArea_2F_Work_41', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1673 HitArea_2F_Work_40 { #initclip Object.registerClass('HitArea_2F_Work_40', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1674 HitArea_2F_Work_39 { #initclip Object.registerClass('HitArea_2F_Work_39', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1675 HitArea_2F_Work_38 { #initclip Object.registerClass('HitArea_2F_Work_38', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1676 HitArea_2F_Work_37 { #initclip Object.registerClass('HitArea_2F_Work_37', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1677 HitArea_2F_Work_36 { #initclip Object.registerClass('HitArea_2F_Work_36', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1678 HitArea_2F_Work_35 { #initclip Object.registerClass('HitArea_2F_Work_35', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1679 HitArea_2F_Work_34 { #initclip Object.registerClass('HitArea_2F_Work_34', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1680 HitArea_2F_Work_33 { #initclip Object.registerClass('HitArea_2F_Work_33', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1681 HitArea_2F_Work_32 { #initclip Object.registerClass('HitArea_2F_Work_32', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1682 HitArea_2F_Work_31 { #initclip Object.registerClass('HitArea_2F_Work_31', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1683 HitArea_2F_Work_30 { #initclip Object.registerClass('HitArea_2F_Work_30', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1684 HitArea_2F_Work_29 { #initclip Object.registerClass('HitArea_2F_Work_29', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1685 HitArea_2F_Work_28 { #initclip Object.registerClass('HitArea_2F_Work_28', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1686 HitArea_2F_Work_27 { #initclip Object.registerClass('HitArea_2F_Work_27', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1687 HitArea_2F_Work_26 { #initclip Object.registerClass('HitArea_2F_Work_26', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1688 HitArea_2F_Work_25 { #initclip Object.registerClass('HitArea_2F_Work_25', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1689 HitArea_2F_Work_24 { #initclip Object.registerClass('HitArea_2F_Work_24', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1690 HitArea_2F_Work_23 { #initclip Object.registerClass('HitArea_2F_Work_23', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1691 HitArea_2F_Work_22 { #initclip Object.registerClass('HitArea_2F_Work_22', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1692 HitArea_2F_Work_21 { #initclip Object.registerClass('HitArea_2F_Work_21', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1693 HitArea_2F_Work_20 { #initclip Object.registerClass('HitArea_2F_Work_20', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1694 HitArea_2F_Work_19_Chair { #initclip Object.registerClass('HitArea_2F_Work_19_Chair', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1695 HitArea_2F_Work_18 { #initclip Object.registerClass('HitArea_2F_Work_18', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1696 HitArea_2F_Work_17_Chair { #initclip Object.registerClass('HitArea_2F_Work_17_Chair', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1697 HitArea_2F_Work_16 { #initclip Object.registerClass('HitArea_2F_Work_16', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1698 HitArea_2F_Work_15_Desk_L { #initclip Object.registerClass('HitArea_2F_Work_15_Desk_L', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1699 HitArea_2F_Work_14_Desk_L { #initclip Object.registerClass('HitArea_2F_Work_14_Desk_L', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1700 HitArea_2F_Work_13 { #initclip Object.registerClass('HitArea_2F_Work_13', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1701 HitArea_2F_Work_12 { #initclip Object.registerClass('HitArea_2F_Work_12', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1702 HitArea_2F_Work_11 { #initclip Object.registerClass('HitArea_2F_Work_11', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1703 HitArea_2F_Work_10 { #initclip Object.registerClass('HitArea_2F_Work_10', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1704 HitArea_2F_Work_09 { #initclip Object.registerClass('HitArea_2F_Work_09', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1705 HitArea_2F_Work_08 { #initclip Object.registerClass('HitArea_2F_Work_08', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1706 HitArea_2F_Work_07 { #initclip Object.registerClass('HitArea_2F_Work_07', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1707 HitArea_2F_Work_06 { #initclip Object.registerClass('HitArea_2F_Work_06', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1708 HitArea_2F_Work_05 { #initclip Object.registerClass('HitArea_2F_Work_05', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1709 HitArea_2F_Work_04 { #initclip Object.registerClass('HitArea_2F_Work_04', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1710 HitArea_2F_Work_03 { #initclip Object.registerClass('HitArea_2F_Work_03', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1711 HitArea_2F_Work_02 { #initclip Object.registerClass('HitArea_2F_Work_02', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1712 HitArea_2F_Work_01_Entrance { #initclip Object.registerClass('HitArea_2F_Work_01_Entrance', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1715 Eisys_2F_Work { } movieClip 1716 HitArea_2F_Server_11_PC { #initclip Object.registerClass('HitArea_2F_Server_11_PC', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1717 HitArea_2F_Server_10_PC { #initclip Object.registerClass('HitArea_2F_Server_10_PC', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1718 HitArea_2F_Server_09_PC { #initclip Object.registerClass('HitArea_2F_Server_09_PC', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1719 HitArea_2F_Server_08_PC { #initclip Object.registerClass('HitArea_2F_Server_08_PC', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1720 HitArea_2F_Server_07_PC { #initclip Object.registerClass('HitArea_2F_Server_07_PC', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1721 HitArea_2F_Server_06 { #initclip Object.registerClass('HitArea_2F_Server_06', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1722 HitArea_2F_Server_05 { #initclip Object.registerClass('HitArea_2F_Server_05', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1723 HitArea_2F_Server_04 { #initclip Object.registerClass('HitArea_2F_Server_04', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1724 HitArea_2F_Server_03 { #initclip Object.registerClass('HitArea_2F_Server_03', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1725 HitArea_2F_Server_02 { #initclip Object.registerClass('HitArea_2F_Server_02', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1726 HitArea_2F_Server_01 { #initclip Object.registerClass('HitArea_2F_Server_01', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1729 Eisys_2F_Server { } movieClip 1732 { } movieClip 1733 Eisys_2F_Hallway_Shadow { } movieClip 1734 HitArea_2F_Hallway_21_Plant { #initclip Object.registerClass('HitArea_2F_Hallway_21_Plant', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1735 HitArea_2F_Hallway_20_Plant { #initclip Object.registerClass('HitArea_2F_Hallway_20_Plant', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1736 HitArea_2F_Hallway_19_Plant { #initclip Object.registerClass('HitArea_2F_Hallway_19_Plant', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1737 HitArea_2F_Hallway_18 { #initclip Object.registerClass('HitArea_2F_Hallway_18', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1738 HitArea_2F_Hallway_17_StairUp_R { #initclip Object.registerClass('HitArea_2F_Hallway_17_StairUp_R', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1739 HitArea_2F_Hallway_16 { #initclip Object.registerClass('HitArea_2F_Hallway_16', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1740 HitArea_2F_Hallway_15_StairDown_R { #initclip Object.registerClass('HitArea_2F_Hallway_15_StairDown_R', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1741 HitArea_2F_Hallway_14 { #initclip Object.registerClass('HitArea_2F_Hallway_14', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1742 HitArea_2F_Hallway_13_Server { #initclip Object.registerClass('HitArea_2F_Hallway_13_Server', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1743 HitArea_2F_Hallway_12 { #initclip Object.registerClass('HitArea_2F_Hallway_12', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1744 HitArea_2F_Hallway_11_Work { #initclip Object.registerClass('HitArea_2F_Hallway_11_Work', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1745 HitArea_2F_Hallway_10 { #initclip Object.registerClass('HitArea_2F_Hallway_10', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1746 HitArea_2F_Hallway_09_WomanWC { #initclip Object.registerClass('HitArea_2F_Hallway_09_WomanWC', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1747 HitArea_2F_Hallway_08 { #initclip Object.registerClass('HitArea_2F_Hallway_08', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1748 HitArea_2F_Hallway_07_ManWC { #initclip Object.registerClass('HitArea_2F_Hallway_07_ManWC', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1749 HitArea_2F_Hallway_06 { #initclip Object.registerClass('HitArea_2F_Hallway_06', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1750 HitArea_2F_Hallway_05_StairUp_L { #initclip Object.registerClass('HitArea_2F_Hallway_05_StairUp_L', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1751 HitArea_2F_Hallway_04 { #initclip Object.registerClass('HitArea_2F_Hallway_04', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1752 HitArea_2F_Hallway_03_StairDown_L { #initclip Object.registerClass('HitArea_2F_Hallway_03_StairDown_L', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1753 HitArea_2F_Hallway_02 { #initclip Object.registerClass('HitArea_2F_Hallway_02', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1754 HitArea_2F_Hallway_01 { #initclip Object.registerClass('HitArea_2F_Hallway_01', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1757 Eisys_2F_Hallway { } movieClip 1758 HitArea_1F_Work_59_Chair { #initclip Object.registerClass('HitArea_1F_Work_59_Chair', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1759 HitArea_1F_Work_58 { #initclip Object.registerClass('HitArea_1F_Work_58', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1760 HitArea_1F_Work_57_Chair { #initclip Object.registerClass('HitArea_1F_Work_57_Chair', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1761 HitArea_1F_Work_56 { #initclip Object.registerClass('HitArea_1F_Work_56', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1762 HitArea_1F_Work_55_Desk_L { #initclip Object.registerClass('HitArea_1F_Work_55_Desk_L', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1763 HitArea_1F_Work_54_Desk_L { #initclip Object.registerClass('HitArea_1F_Work_54_Desk_L', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1764 HitArea_1F_Work_53 { #initclip Object.registerClass('HitArea_1F_Work_53', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1765 HitArea_1F_Work_52 { #initclip Object.registerClass('HitArea_1F_Work_52', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1766 HitArea_1F_Work_51 { #initclip Object.registerClass('HitArea_1F_Work_51', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1767 HitArea_1F_Work_50 { #initclip Object.registerClass('HitArea_1F_Work_50', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1768 HitArea_1F_Work_49 { #initclip Object.registerClass('HitArea_1F_Work_49', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1769 HitArea_1F_Work_48 { #initclip Object.registerClass('HitArea_1F_Work_48', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1770 HitArea_1F_Work_47 { #initclip Object.registerClass('HitArea_1F_Work_47', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1771 HitArea_1F_Work_46 { #initclip Object.registerClass('HitArea_1F_Work_46', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1772 HitArea_1F_Work_45 { #initclip Object.registerClass('HitArea_1F_Work_45', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1773 HitArea_1F_Work_44 { #initclip Object.registerClass('HitArea_1F_Work_44', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1774 HitArea_1F_Work_43 { #initclip Object.registerClass('HitArea_1F_Work_43', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1775 HitArea_1F_Work_42 { #initclip Object.registerClass('HitArea_1F_Work_42', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1776 HitArea_1F_Work_41 { #initclip Object.registerClass('HitArea_1F_Work_41', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1777 HitArea_1F_Work_40 { #initclip Object.registerClass('HitArea_1F_Work_40', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1778 HitArea_1F_Work_39 { #initclip Object.registerClass('HitArea_1F_Work_39', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1779 HitArea_1F_Work_38 { #initclip Object.registerClass('HitArea_1F_Work_38', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1780 HitArea_1F_Work_37 { #initclip Object.registerClass('HitArea_1F_Work_37', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1781 HitArea_1F_Work_36 { #initclip Object.registerClass('HitArea_1F_Work_36', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1782 HitArea_1F_Work_35 { #initclip Object.registerClass('HitArea_1F_Work_35', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1783 HitArea_1F_Work_34 { #initclip Object.registerClass('HitArea_1F_Work_34', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1784 HitArea_1F_Work_33 { #initclip Object.registerClass('HitArea_1F_Work_33', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1785 HitArea_1F_Work_32 { #initclip Object.registerClass('HitArea_1F_Work_32', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1786 HitArea_1F_Work_31 { #initclip Object.registerClass('HitArea_1F_Work_31', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1787 HitArea_1F_Work_30 { #initclip Object.registerClass('HitArea_1F_Work_30', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1788 HitArea_1F_Work_29 { #initclip Object.registerClass('HitArea_1F_Work_29', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1789 HitArea_1F_Work_28 { #initclip Object.registerClass('HitArea_1F_Work_28', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1790 HitArea_1F_Work_27 { #initclip Object.registerClass('HitArea_1F_Work_27', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1791 HitArea_1F_Work_26 { #initclip Object.registerClass('HitArea_1F_Work_26', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1792 HitArea_1F_Work_25 { #initclip Object.registerClass('HitArea_1F_Work_25', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1793 HitArea_1F_Work_24 { #initclip Object.registerClass('HitArea_1F_Work_24', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1794 HitArea_1F_Work_23 { #initclip Object.registerClass('HitArea_1F_Work_23', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1795 HitArea_1F_Work_22 { #initclip Object.registerClass('HitArea_1F_Work_22', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1796 HitArea_1F_Work_21 { #initclip Object.registerClass('HitArea_1F_Work_21', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1797 HitArea_1F_Work_20 { #initclip Object.registerClass('HitArea_1F_Work_20', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1798 HitArea_1F_Work_19 { #initclip Object.registerClass('HitArea_1F_Work_19', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1799 HitArea_1F_Work_18 { #initclip Object.registerClass('HitArea_1F_Work_18', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1800 HitArea_1F_Work_17 { #initclip Object.registerClass('HitArea_1F_Work_17', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1801 HitArea_1F_Work_16 { #initclip Object.registerClass('HitArea_1F_Work_16', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1802 HitArea_1F_Work_15 { #initclip Object.registerClass('HitArea_1F_Work_15', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1803 HitArea_1F_Work_14 { #initclip Object.registerClass('HitArea_1F_Work_14', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1804 HitArea_1F_Work_13 { #initclip Object.registerClass('HitArea_1F_Work_13', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1805 HitArea_1F_Work_12 { #initclip Object.registerClass('HitArea_1F_Work_12', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1806 HitArea_1F_Work_11 { #initclip Object.registerClass('HitArea_1F_Work_11', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1807 HitArea_1F_Work_10 { #initclip Object.registerClass('HitArea_1F_Work_10', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1808 HitArea_1F_Work_09 { #initclip Object.registerClass('HitArea_1F_Work_09', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1809 HitArea_1F_Work_08 { #initclip Object.registerClass('HitArea_1F_Work_08', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1810 HitArea_1F_Work_07 { #initclip Object.registerClass('HitArea_1F_Work_07', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1811 HitArea_1F_Work_06 { #initclip Object.registerClass('HitArea_1F_Work_06', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1812 HitArea_1F_Work_05 { #initclip Object.registerClass('HitArea_1F_Work_05', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1813 HitArea_1F_Work_04 { #initclip Object.registerClass('HitArea_1F_Work_04', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1814 HitArea_1F_Work_03 { #initclip Object.registerClass('HitArea_1F_Work_03', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1815 HitArea_1F_Work_02 { #initclip Object.registerClass('HitArea_1F_Work_02', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1816 HitArea_1F_Work_01_Entrance { #initclip Object.registerClass('HitArea_1F_Work_01_Entrance', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1819 Eisys_1F_Work { } movieClip 1820 HitArea_1F_Meeting_11_Desk { #initclip Object.registerClass('HitArea_1F_Meeting_11_Desk', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1822 HitArea_1F_Meeting_10 { #initclip Object.registerClass('HitArea_1F_Meeting_10', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1824 HitArea_1F_Meeting_09 { #initclip Object.registerClass('HitArea_1F_Meeting_09', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1825 HitArea_1F_Meeting_07 { #initclip Object.registerClass('HitArea_1F_Meeting_07', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1826 HitArea_1F_Meeting_06 { #initclip Object.registerClass('HitArea_1F_Meeting_06', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1827 HitArea_1F_Meeting_05 { #initclip Object.registerClass('HitArea_1F_Meeting_05', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1828 HitArea_1F_Meeting_04 { #initclip Object.registerClass('HitArea_1F_Meeting_04', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1829 HitArea_1F_Meeting_03 { #initclip Object.registerClass('HitArea_1F_Meeting_03', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1830 HitArea_1F_Meeting_02 { #initclip Object.registerClass('HitArea_1F_Meeting_02', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1831 HitArea_1F_Meeting_01_Entrance { #initclip Object.registerClass('HitArea_1F_Meeting_01_Entrance', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1834 HitArea_1F_Meeting_08 { #initclip Object.registerClass('HitArea_1F_Meeting_08', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1835 Eisys_1F_Meeting { } movieClip 1838 { } movieClip 1839 Eisys_1F_Hallway_Shadow { } movieClip 1840 HitArea_1F_Hallway_23_Plant { #initclip Object.registerClass('HitArea_1F_Hallway_23_Plant', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1841 HitArea_1F_Hallway_22_Plant { #initclip Object.registerClass('HitArea_1F_Hallway_22_Plant', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1842 HitArea_1F_Hallway_21_Plant { #initclip Object.registerClass('HitArea_1F_Hallway_21_Plant', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1843 HitArea_1F_Hallway_20 { #initclip Object.registerClass('HitArea_1F_Hallway_20', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1844 HitArea_1F_Hallway_19 { #initclip Object.registerClass('HitArea_1F_Hallway_19', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1845 HitArea_1F_Hallway_18 { #initclip Object.registerClass('HitArea_1F_Hallway_18', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1846 HitArea_1F_Hallway_17 { #initclip Object.registerClass('HitArea_1F_Hallway_17', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1847 HitArea_1F_Hallway_16_StairUp { #initclip Object.registerClass('HitArea_1F_Hallway_16_StairUp', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1848 HitArea_1F_Hallway_15 { #initclip Object.registerClass('HitArea_1F_Hallway_15', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1849 HitArea_1F_Hallway_14_Meeting { #initclip Object.registerClass('HitArea_1F_Hallway_14_Meeting', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1850 HitArea_1F_Hallway_13 { #initclip Object.registerClass('HitArea_1F_Hallway_13', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1851 HitArea_1F_Hallway_12_Work { #initclip Object.registerClass('HitArea_1F_Hallway_12_Work', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1852 HitArea_1F_Hallway_11 { #initclip Object.registerClass('HitArea_1F_Hallway_11', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1853 HitArea_1F_Hallway_10_WomanWC { #initclip Object.registerClass('HitArea_1F_Hallway_10_WomanWC', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1854 HitArea_1F_Hallway_09 { #initclip Object.registerClass('HitArea_1F_Hallway_09', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1855 HitArea_1F_Hallway_08_ManWC { #initclip Object.registerClass('HitArea_1F_Hallway_08_ManWC', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1856 HitArea_1F_Hallway_07 { #initclip Object.registerClass('HitArea_1F_Hallway_07', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1857 HitArea_1F_Hallway_06_StairUp { #initclip Object.registerClass('HitArea_1F_Hallway_06_StairUp', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1858 HitArea_1F_Hallway_05 { #initclip Object.registerClass('HitArea_1F_Hallway_05', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1859 HitArea_1F_Hallway_04_StairDown_L { #initclip Object.registerClass('HitArea_1F_Hallway_04_StairDown_L', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1860 HitArea_1F_Hallway_03 { #initclip Object.registerClass('HitArea_1F_Hallway_03', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1861 HitArea_1F_Hallway_02 { #initclip Object.registerClass('HitArea_1F_Hallway_02', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1862 HitArea_1F_Hallway_01_Entrance { #initclip Object.registerClass('HitArea_1F_Hallway_01_Entrance', maelstrom.hit.BoundingBox); #endinitclip } movieClip 1865 Eisys_1F_Hallway { } movieClip 1866 __Packages.seh.triangle.Triangle { #initclip if (!_global.seh) { _global.seh = new Object(); } if (!_global.seh.triangle) { _global.seh.triangle = new Object(); } if (!_global.seh.triangle.Triangle) { var v1 = function () { mx.transitions.OnEnterFrameBeacon.init(); Stage.scaleMode = 'exactFit'; Array.prototype.shuffle = function () { var v2 = this.length; while (v2 > -1) { var v3 = Math.floor(Math.random() * v2); var v4 = this[--v2]; this[v2] = this[v3]; this[v3] = v4; } }; this.root_mc = _root; this.save_data = SharedObject.getLocal('seh/AttackDLsite', '/'); if (this.save_data == null) { this.save_data = new Object(); this.save_data.data = new Object(); this.clearActionSaveData(); this.clearGallerySaveData(); } else { if (this.save_data.data.dl_point == null) { this.clearActionSaveData(); this.clearGallerySaveData(); this.save(); } else { this.load(); } } this.game_controller = new maelstrom.ui.GameController(); var v6 = new Array(); v6.push(new maelstrom.collections.Pair(maelstrom.ui.KeyCode.UP, maelstrom.ui.GameController.UP)); v6.push(new maelstrom.collections.Pair(maelstrom.ui.KeyCode.DOWN, maelstrom.ui.GameController.DOWN)); v6.push(new maelstrom.collections.Pair(maelstrom.ui.KeyCode.LEFT, maelstrom.ui.GameController.LEFT)); v6.push(new maelstrom.collections.Pair(maelstrom.ui.KeyCode.RIGHT, maelstrom.ui.GameController.RIGHT)); v6.push(new maelstrom.collections.Pair(maelstrom.ui.KeyCode.F, maelstrom.ui.GameController.A)); v6.push(new maelstrom.collections.Pair(maelstrom.ui.KeyCode.D, maelstrom.ui.GameController.B)); v6.push(new maelstrom.collections.Pair(maelstrom.ui.KeyCode.CONTROL, maelstrom.ui.GameController.X)); v6.push(new maelstrom.collections.Pair(maelstrom.ui.KeyCode.X, maelstrom.ui.GameController.Y)); v6.push(new maelstrom.collections.Pair(maelstrom.ui.KeyCode.SPACE, maelstrom.ui.GameController.START)); this.game_controller.setKeyTransformation(v6); MovieClip.addListener(this.game_controller); }; seh.triangle.Triangle = v1; var v2 = v1.prototype; v1.main = function () { var v2 = seh.triangle.scene.title.Title(_root.attachMovie(seh.triangle.scene.title.Title.LINKAGE_ID, 'Title', _root.getNextHighestDepth())); v2.startTransitionIn(); }; v1.getInstance = function () { if (seh.triangle.Triangle.instance == null) { seh.triangle.Triangle.instance = new seh.triangle.Triangle(); } return seh.triangle.Triangle.instance; }; v2.getSaveData = function () { return this.save_data; }; v2.save = function () { this.save_data.data.dl_point = this.save_data.dl_point; this.save_data.data.premium_insulted = this.save_data.premium_insulted; this.save_data.data.premium_shop_insulted = this.save_data.premium_shop_insulted; this.save_data.data.has_mente_esacped = this.save_data.has_mente_esacped; this.save_data.data.has_mente_insulted = this.save_data.has_mente_insulted; this.save_data.data.last_boss = this.save_data.last_boss; this.save_data.data.has_sarahrara_insulted = this.save_data.has_sarahrara_insulted; this.save_data.data.has_ds01_insulted = this.save_data.has_ds01_insulted; this.save_data.data.has_ds02_insulted = this.save_data.has_ds02_insulted; this.save_data.data.has_card01_got = this.save_data.has_card01_got; this.save_data.data.has_card02_got = this.save_data.has_card02_got; this.save_data.data.has_card03_got = this.save_data.has_card03_got; this.save_data.data.has_dlpt500_got = this.save_data.has_dlpt500_got; this.save_data.data.has_dlpt800_got = this.save_data.has_dlpt800_got; this.save_data.data.card03_x = this.save_data.card03_x; this.save_data.data.card03_y = this.save_data.card03_y; this.save_data.data.attack_power_got = this.save_data.attack_power_got; this.save_data.data.defense_power_got = this.save_data.defense_power_got; this.save_data.data.special_voice = this.save_data.special_voice; this.save_data.data.opening = this.save_data.opening; this.save_data.flush(); }; v2.load = function () { this.save_data.dl_point = this.save_data.data.dl_point; this.save_data.premium_insulted = this.save_data.data.premium_insulted; this.save_data.premium_shop_insulted = this.save_data.data.premium_shop_insulted; this.save_data.has_mente_esacped = this.save_data.data.has_mente_esacped; this.save_data.has_mente_insulted = this.save_data.data.has_mente_insulted; this.save_data.last_boss = this.save_data.data.last_boss; this.save_data.has_sarahrara_insulted = this.save_data.data.has_sarahrara_insulted; this.save_data.has_ds01_insulted = this.save_data.data.has_ds01_insulted; this.save_data.has_ds02_insulted = this.save_data.data.has_ds02_insulted; this.save_data.has_card01_got = this.save_data.data.has_card01_got; this.save_data.has_card02_got = this.save_data.data.has_card02_got; this.save_data.has_card03_got = this.save_data.data.has_card03_got; this.save_data.has_dlpt500_got = this.save_data.data.has_dlpt500_got; this.save_data.has_dlpt800_got = this.save_data.data.has_dlpt800_got; this.save_data.card03_x = this.save_data.data.card03_x; this.save_data.card03_y = this.save_data.data.card03_y; this.save_data.attack_power_got = this.save_data.data.attack_power_got; this.save_data.defense_power_got = this.save_data.data.defense_power_got; this.save_data.special_voice = this.save_data.data.special_voice; this.save_data.opening = this.save_data.data.opening; }; v2.clearActionSaveData = function () { this.save_data.dl_point = seh.triangle.action.DLPoint.MINIMUM; this.save_data.premium_insulted = false; this.save_data.premium_shop_insulted = false; this.save_data.has_mente_esacped = false; this.save_data.has_mente_insulted = false; this.save_data.last_boss = false; this.save_data.has_sarahrara_insulted = false; this.save_data.has_ds01_insulted = false; this.save_data.has_ds02_insulted = false; this.save_data.has_card01_got = false; this.save_data.has_card02_got = false; this.save_data.has_card03_got = false; this.save_data.has_dlpt500_got = false; this.save_data.has_dlpt800_got = false; this.save_data.card03_x = 0; this.save_data.card03_y = 0; this.save_data.attack_power_got = false; this.save_data.defense_power_got = false; this.save_data.special_voice = false; this.save_data.opening = false; this.save_data.has_dilleelle_insulted = false; }; v2.clearGallerySaveData = function () { this.save_data.data.gallery_premium_01 = false; this.save_data.data.gallery_premium_02 = false; this.save_data.data.gallery_dilleelle = false; this.save_data.data.gallery_sarahrara = false; this.save_data.data.gallery_mente = false; this.save_data.data.gallery_ds_01 = false; this.save_data.data.gallery_ds_02 = false; }; v2.setGallerySaveData = function () { this.save_data.data.gallery_premium_01 = true; this.save_data.data.gallery_premium_02 = true; this.save_data.data.gallery_dilleelle = true; this.save_data.data.gallery_sarahrara = true; this.save_data.data.gallery_mente = true; this.save_data.data.gallery_ds_01 = true; this.save_data.data.gallery_ds_02 = true; }; v2.getGameController = function () { return this.game_controller; }; v1.instance = null; ASSetPropFlags(seh.triangle.Triangle.prototype, null, 1); } #endinitclip } movieClip 1867 __Packages.maelstrom.scene.Scene { #initclip if (!_global.maelstrom) { _global.maelstrom = new Object(); } if (!_global.maelstrom.scene) { _global.maelstrom.scene = new Object(); } if (!_global.maelstrom.scene.Scene) { _global.maelstrom.scene.Scene = function () {}; } #endinitclip } movieClip 1868 __Packages.maelstrom.language.EnumeratedType { #initclip if (!_global.maelstrom) { _global.maelstrom = new Object(); } if (!_global.maelstrom.language) { _global.maelstrom.language = new Object(); } if (!_global.maelstrom.language.EnumeratedType) { var v1 = function (nme, ord) { if (nme == null || ord == null) { throw new maelstrom.language.NullPointerException('nme == null || ord == null'); } this.name_ = nme; this.ordinal_ = ord; }; maelstrom.language.EnumeratedType = v1; var v2 = v1.prototype; v2.toString = function () { return this.name(); }; v2.name = function () { return this.name_; }; v2.ordinal = function () { return this.ordinal_; }; ASSetPropFlags(maelstrom.language.EnumeratedType.prototype, null, 1); } #endinitclip } movieClip 1869 __Packages.maelstrom.language.UndefinedPointerException { #initclip if (!_global.maelstrom) { _global.maelstrom = new Object(); } if (!_global.maelstrom.language) { _global.maelstrom.language = new Object(); } if (!_global.maelstrom.language.UndefinedPointerException) { var v1 = function (msg) { super(msg); this.name = 'UndefinedPointerException'; }; maelstrom.language.UndefinedPointerException = v1; maelstrom.language.UndefinedPointerException extends Error; var v2 = v1.prototype; v2.toString = function () { return '**' + this.name + '** : ' + this.message; }; ASSetPropFlags(maelstrom.language.UndefinedPointerException.prototype, null, 1); } #endinitclip } movieClip 1870 __Packages.maelstrom.language.NullPointerException { #initclip if (!_global.maelstrom) { _global.maelstrom = new Object(); } if (!_global.maelstrom.language) { _global.maelstrom.language = new Object(); } if (!_global.maelstrom.language.NullPointerException) { var v1 = function (msg) { super(msg); this.name = 'NullPointerException'; }; maelstrom.language.NullPointerException = v1; maelstrom.language.NullPointerException extends maelstrom.language.UndefinedPointerException; var v2 = v1.prototype; ASSetPropFlags(maelstrom.language.NullPointerException.prototype, null, 1); } #endinitclip } movieClip 1871 __Packages.maelstrom.scene.SceneState { #initclip if (!_global.maelstrom) { _global.maelstrom = new Object(); } if (!_global.maelstrom.scene) { _global.maelstrom.scene = new Object(); } if (!_global.maelstrom.scene.SceneState) { var v1 = function (nme, ord) { super(nme, ord); }; maelstrom.scene.SceneState = v1; maelstrom.scene.SceneState extends maelstrom.language.EnumeratedType; var v2 = v1.prototype; v1.CREATED = new maelstrom.scene.SceneState('CREATED', 0); v1.PLAYING = new maelstrom.scene.SceneState('PLAYING', 1); v1.STOPPED = new maelstrom.scene.SceneState('STOPPED', 2); v1.TERMINATED = new maelstrom.scene.SceneState('TERMINATED', 3); ASSetPropFlags(maelstrom.scene.SceneState.prototype, null, 1); } #endinitclip } movieClip 1872 __Packages.mx.events.EventDispatcher { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.events) { _global.mx.events = new Object(); } if (!_global.mx.events.EventDispatcher) { var v1 = function () {}; mx.events.EventDispatcher = v1; var v2 = v1.prototype; v1._removeEventListener = function (queue, event, handler) { if (queue != undefined) { var v4 = queue.length; var v1; v1 = 0; while (v1 < v4) { var v2 = queue[v1]; if (v2 == handler) { queue.splice(v1, 1); return undefined; } ++v1; } } }; v1.initialize = function (object) { if (mx.events.EventDispatcher._fEventDispatcher == undefined) { mx.events.EventDispatcher._fEventDispatcher = new mx.events.EventDispatcher(); } object.addEventListener = mx.events.EventDispatcher._fEventDispatcher.addEventListener; object.removeEventListener = mx.events.EventDispatcher._fEventDispatcher.removeEventListener; object.dispatchEvent = mx.events.EventDispatcher._fEventDispatcher.dispatchEvent; object.dispatchQueue = mx.events.EventDispatcher._fEventDispatcher.dispatchQueue; }; v2.dispatchQueue = function (queueObj, eventObj) { var v7 = '__q_' + eventObj.type; var v4 = queueObj[v7]; if (v4 != undefined) { var v5; for (v5 in v4) { var v1 = v4[v5]; var v3 = typeof v1; if (v3 == 'object' || v3 == 'movieclip') { if (v1.handleEvent != undefined) { v1.handleEvent(eventObj); } if (v1[eventObj.type] != undefined) { if (mx.events.EventDispatcher.exceptions[eventObj.type] == undefined) { v1[eventObj.type](eventObj); } } } else { v1.apply(queueObj, [eventObj]); } } } }; v2.dispatchEvent = function (eventObj) { if (eventObj.target == undefined) { eventObj.target = this; } this[eventObj.type + 'Handler'](eventObj); this.dispatchQueue(this, eventObj); }; v2.addEventListener = function (event, handler) { var v3 = '__q_' + event; if (this[v3] == undefined) { this[v3] = new Array(); } _global.ASSetPropFlags(this, v3, 1); mx.events.EventDispatcher._removeEventListener(this[v3], event, handler); this[v3].push(handler); }; v2.removeEventListener = function (event, handler) { var v2 = '__q_' + event; mx.events.EventDispatcher._removeEventListener(this[v2], event, handler); }; v1._fEventDispatcher = undefined; v1.exceptions = {'move': 1, 'draw': 1, 'load': 1}; ASSetPropFlags(mx.events.EventDispatcher.prototype, null, 1); } #endinitclip } movieClip 1873 __Packages.mx.transitions.TransitionManager { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.transitions) { _global.mx.transitions = new Object(); } if (!_global.mx.transitions.TransitionManager) { var v1 = function (content) { this.__set__content(content); this._transitions = {}; }; mx.transitions.TransitionManager = v1; var v2 = v1.prototype; v2.__set__content = function (c) { this.removeEventListener('allTransitionsInDone', this._content); this.removeEventListener('allTransitionsOutDone', this._content); this._content = c; this.saveContentAppearance(); this.addEventListener('allTransitionsInDone', this._content); this.addEventListener('allTransitionsOutDone', this._content); return this.__get__content(); }; v2.__get__content = function () { return this._content; }; v2.__get__transitionsList = function () { return this._transitions; }; v2.__get__numTransitions = function () { var v2 = 0; for (var v3 in this._transitions) { ++v2; } return v2; }; v2.__get__numInTransitions = function () { var v3 = 0; var v2 = this._transitions; for (var v4 in v2) { if (!v2[v4].direction) { ++v3; } } return v3; }; v2.__get__numOutTransitions = function () { var v3 = 0; var v2 = this._transitions; for (var v4 in v2) { if (v2[v4].direction) { ++v3; } } return v3; }; v2.__get__contentAppearance = function () { return this._contentAppearance; }; v1.start = function (content, transParams) { if (content.__transitionManager == undefined) { content.__transitionManager = new mx.transitions.TransitionManager(content); } if (transParams.direction == 1) { content.__transitionManager._triggerEvent = 'hide'; return content.__transitionManager.startTransition(transParams); } content.__transitionManager._triggerEvent = 'reveal'; return content.__transitionManager.startTransition(transParams); }; v2.startTransition = function (transParams) { this.removeTransition(this.findTransition(transParams)); var v3 = transParams.type; var v2 = new v3(this._content, transParams, this); this.addTransition(v2); v2.start(); return v2; }; v2.addTransition = function (trans) { trans.ID = ++mx.transitions.TransitionManager.IDCount; this._transitions[trans.ID] = trans; return trans; }; v2.removeTransition = function (trans) { if (this._transitions[trans.ID] == undefined) { return false; } trans.cleanUp(); return delete this._transitions[trans.ID]; }; v2.findTransition = function (transParams) { var v2; for (var v4 in this._transitions) { v2 = this._transitions[v4]; if (v2.type == transParams.type) { return v2; } } return undefined; }; v2.removeAllTransitions = function () { for (var v2 in this._transitions) { this._transitions[v2].cleanUp(); this.removeTransition(this._transitions[v2]); } }; v2.saveContentAppearance = function () { var v2 = this._content; if (this._contentAppearance == undefined) { this._contentAppearance = {}; var v3 = this._contentAppearance; for (var v4 in this._visualPropList) { v3[v4] = v2[v4]; } v3.colorTransform = (new Color(v2)).getTransform(); } this._innerBounds = v2.getBounds(targetPath(v2)); this._outerBounds = v2.getBounds(targetPath(v2._parent)); this._width = v2._width; this._height = v2._height; }; v2.restoreContentAppearance = function () { var v2 = this._content; var v3 = this._contentAppearance; for (var v4 in this._visualPropList) { v2[v4] = v3[v4]; } (new Color(v2)).setTransform(v3.colorTransform); }; v2.transitionInDone = function (e) { this.removeTransition(e.target); if (this.__get__numInTransitions() == 0) { var v2; v2 = this._content._visible; if (this._triggerEvent == 'hide' || this._triggerEvent == 'hideChild') { this._content._visible = false; } if (v2) { this.dispatchEvent({'type': 'allTransitionsInDone', 'target': this}); } } }; v2.transitionOutDone = function (e) { this.removeTransition(e.target); if (this.__get__numOutTransitions() == 0) { this.restoreContentAppearance(); var v2; v2 = this._content._visible; if (v2 && (this._triggerEvent == 'hide' || this._triggerEvent == 'hideChild')) { this._content._visible = false; } updateAfterEvent(); if (v2) { this.dispatchEvent({'type': 'allTransitionsOutDone', 'target': this}); } } }; v2.toString = function () { return '[TransitionManager]'; }; v1.version = '1.1.0.52'; v1.IDCount = 0; v2.type = mx.transitions.TransitionManager; v2.className = 'TransitionManager'; v2._visualPropList = {'_x': null, '_y': null, '_xscale': null, '_yscale': null, '_alpha': null, '_rotation': null}; v1.__mixinFED = mx.events.EventDispatcher.initialize(mx.transitions.TransitionManager.prototype); v2.addProperty('content', v2.__get__content, v2.__set__content); v2.addProperty('contentAppearance', v2.__get__contentAppearance, function () {}); v2.addProperty('numInTransitions', v2.__get__numInTransitions, function () {}); v2.addProperty('numOutTransitions', v2.__get__numOutTransitions, function () {}); v2.addProperty('numTransitions', v2.__get__numTransitions, function () {}); v2.addProperty('transitionsList', v2.__get__transitionsList, function () {}); ASSetPropFlags(mx.transitions.TransitionManager.prototype, null, 1); } #endinitclip } movieClip 1874 __Packages.mx.transitions.Transition { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.transitions) { _global.mx.transitions = new Object(); } if (!_global.mx.transitions.Transition) { var v1 = function (content, transParams, manager) { if (!arguments.length) { return undefined; } this.init(content, transParams, manager); }; mx.transitions.Transition = v1; var v2 = v1.prototype; v2.__set__manager = function (mgr) { if (this._manager != undefined) { this.removeEventListener('transitionInDone', this._manager); this.removeEventListener('transitionOutDone', this._manager); this.removeEventListener('transitionProgress', this._manager); } this._manager = mgr; this.addEventListener('transitionInDone', this._manager); this.addEventListener('transitionOutDone', this._manager); this.addEventListener('transitionProgress', this._manager); return this.__get__manager(); }; v2.__get__manager = function () { return this._manager; }; v2.__set__content = function (c) { if (typeof c == 'movieclip') { this._content = c; this._twn.obj = c; } return this.__get__content(); }; v2.__get__content = function () { return this._content; }; v2.__set__direction = function (direction) { this._direction = direction ? 1 : 0; return this.__get__direction(); }; v2.__get__direction = function () { return this._direction; }; v2.__set__duration = function (d) { if (d) { this._duration = d; this._twn.duration = d; } return this.__get__duration(); }; v2.__get__duration = function () { return this._duration; }; v2.__set__easing = function (e) { if (typeof e == 'string') { e = eval(e); } else { if (e == undefined) { e = this._noEase; } } this._easing = e; this._twn.easing = e; return this.__get__easing(); }; v2.__get__easing = function () { return this._easing; }; v2.__set__progress = function (p) { if (this._progress == p) { return undefined; } this._progress = p; if (this._direction) { this._render(1 - p); } else { this._render(p); } this.dispatchEvent({'type': 'transitionProgress', 'target': this, 'progress': p}); return this.__get__progress(); }; v2.__get__progress = function () { return this._progress; }; v2.init = function (content, transParams, manager) { this.__set__content(content); this.__set__direction(transParams.direction); this.__set__duration(transParams.duration); this.__set__easing(transParams.easing); this.__set__manager(manager); this._innerBounds = (this.__get__manager())._innerBounds; this._outerBounds = (this.__get__manager())._outerBounds; this._width = (this.__get__manager())._width; this._height = (this.__get__manager())._height; this._resetTween(); }; v2.toString = function () { return '[Transition ' + this.className + ']'; }; v2.start = function () { (this.__get__content())._visible = true; this._twn.start(); }; v2.stop = function () { this._twn.fforward(); this._twn.stop(); }; v2.cleanUp = function () { this.removeEventListener('transitionInDone', this._manager); this.removeEventListener('transitionOutDone', this._manager); this.removeEventListener('transitionProgress', this._manager); this.stop(); }; v2.getNextHighestDepthMC = function (mc) { var v4 = mc.getNextHighestDepth(); if (v4 != undefined) { return v4; } else { v4 = -1; var v3; var v1; for (var v5 in mc) { v1 = mc[v5]; if (typeof v1 == 'movieclip' && v1._parent == mc) { v3 = v1.getDepth(); if (v3 > v4) { v4 = v3; } } } return v4 + 1; } }; v2.drawBox = function (mc, x, y, w, h) { mc.moveTo(x, y); mc.lineTo(x + w, y); mc.lineTo(x + w, y + h); mc.lineTo(x, y + h); mc.lineTo(x, y); }; v2.drawCircle = function (mc, x, y, r) { mc.moveTo(x + r, y); mc.curveTo(r + x, 0.414213562373095 * r + y, Math.SQRT1_2 * r + x, Math.SQRT1_2 * r + y); mc.curveTo(0.414213562373095 * r + x, r + y, x, r + y); mc.curveTo(-0.414213562373095 * r + x, r + y, -Math.SQRT1_2 * r + x, Math.SQRT1_2 * r + y); mc.curveTo(-r + x, 0.414213562373095 * r + y, -r + x, y); mc.curveTo(-r + x, -0.414213562373095 * r + y, -Math.SQRT1_2 * r + x, -Math.SQRT1_2 * r + y); mc.curveTo(-0.414213562373095 * r + x, -r + y, x, -r + y); mc.curveTo(0.414213562373095 * r + x, -r + y, Math.SQRT1_2 * r + x, -Math.SQRT1_2 * r + y); mc.curveTo(r + x, -0.414213562373095 * r + y, r + x, y); }; v2._render = function (p) {}; v2._resetTween = function () { this._twn.stop(); this._twn.removeListener(this); this._twn = new mx.transitions.Tween(this, null, this.__get__easing(), 0, 1, this.__get__duration(), true); this._twn.stop(); this._twn.prop = 'progress'; this._twn.addListener(this); }; v2._noEase = function (t, b, c, d) { return c * t / d + b; }; v2.onMotionFinished = function (src) { if (this.__get__direction()) { this.dispatchEvent({'type': 'transitionOutDone', 'target': this}); } else { this.dispatchEvent({'type': 'transitionInDone', 'target': this}); } }; v1.version = '1.1.0.52'; v1.IN = 0; v1.OUT = 1; v2.type = mx.transitions.Transition; v2.className = 'Transition'; v2._direction = 0; v2._duration = 2; v1.__mixinFED = mx.events.EventDispatcher.initialize(mx.transitions.Transition.prototype); v2.addProperty('content', v2.__get__content, v2.__set__content); v2.addProperty('direction', v2.__get__direction, v2.__set__direction); v2.addProperty('duration', v2.__get__duration, v2.__set__duration); v2.addProperty('easing', v2.__get__easing, v2.__set__easing); v2.addProperty('manager', v2.__get__manager, v2.__set__manager); v2.addProperty('progress', v2.__get__progress, v2.__set__progress); ASSetPropFlags(mx.transitions.Transition.prototype, null, 1); } #endinitclip } movieClip 1875 __Packages.mx.transitions.OnEnterFrameBeacon { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.transitions) { _global.mx.transitions = new Object(); } if (!_global.mx.transitions.OnEnterFrameBeacon) { var v1 = function () {}; mx.transitions.OnEnterFrameBeacon = v1; var v2 = v1.prototype; v1.init = function () { var v4 = _global.MovieClip; if (!_root.__OnEnterFrameBeacon) { mx.transitions.BroadcasterMX.initialize(v4); var v3 = _root.createEmptyMovieClip('__OnEnterFrameBeacon', 9876); v3.onEnterFrame = function () { _global.MovieClip.broadcastMessage('onEnterFrame'); }; } }; v1.version = '1.1.0.52'; ASSetPropFlags(mx.transitions.OnEnterFrameBeacon.prototype, null, 1); } #endinitclip } movieClip 1876 __Packages.mx.transitions.BroadcasterMX { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.transitions) { _global.mx.transitions = new Object(); } if (!_global.mx.transitions.BroadcasterMX) { var v1 = function () {}; mx.transitions.BroadcasterMX = v1; var v2 = v1.prototype; v1.initialize = function (o, dontCreateArray) { if (o.broadcastMessage != undefined) { delete o.broadcastMessage; } o.addListener = mx.transitions.BroadcasterMX.prototype.addListener; o.removeListener = mx.transitions.BroadcasterMX.prototype.removeListener; if (!dontCreateArray) { o._listeners = new Array(); } }; v2.addListener = function (o) { this.removeListener(o); if (this.broadcastMessage == undefined) { this.broadcastMessage = mx.transitions.BroadcasterMX.prototype.broadcastMessage; } return this._listeners.push(o); }; v2.removeListener = function (o) { var v2 = this._listeners; var v3 = v2.length; while (v3--) { if (v2[v3] == o) { v2.splice(v3, 1); if (!v2.length) { this.broadcastMessage = undefined; } return true; } } return false; }; v2.broadcastMessage = function () { var v5 = String(arguments.shift()); var v4 = this._listeners.concat(); var v6 = v4.length; var v3 = 0; while (v3 < v6) { v4[v3][v5].apply(v4[v3], arguments); ++v3; } }; v1.version = '1.1.0.52'; ASSetPropFlags(mx.transitions.BroadcasterMX.prototype, null, 1); } #endinitclip } movieClip 1877 __Packages.mx.transitions.Tween { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.transitions) { _global.mx.transitions = new Object(); } if (!_global.mx.transitions.Tween) { var v1 = function (obj, prop, func, begin, finish, duration, useSeconds) { mx.transitions.OnEnterFrameBeacon.init(); if (!arguments.length) { return undefined; } this.obj = obj; this.prop = prop; this.begin = begin; this.__set__position(begin); this.__set__duration(duration); this.useSeconds = useSeconds; if (func) { this.func = func; } this.__set__finish(finish); this._listeners = []; this.addListener(this); this.start(); }; mx.transitions.Tween = v1; var v2 = v1.prototype; v2.__set__time = function (t) { this.prevTime = this._time; if (t > this.__get__duration()) { if (this.looping) { this.rewind(t - this._duration); this.update(); this.broadcastMessage('onMotionLooped', this); } else { if (this.useSeconds) { this._time = this._duration; this.update(); } this.stop(); this.broadcastMessage('onMotionFinished', this); } } else { if (t < 0) { this.rewind(); this.update(); } else { this._time = t; this.update(); } } return this.__get__time(); }; v2.__get__time = function () { return this._time; }; v2.__set__duration = function (d) { this._duration = (d == null || d <= 0) ? _global.Infinity : d; return this.__get__duration(); }; v2.__get__duration = function () { return this._duration; }; v2.__set__FPS = function (fps) { var v2 = this.isPlaying; this.stopEnterFrame(); this._fps = fps; if (v2) { this.startEnterFrame(); } return this.__get__FPS(); }; v2.__get__FPS = function () { return this._fps; }; v2.__set__position = function (p) { this.setPosition(p); return this.__get__position(); }; v2.setPosition = function (p) { this.prevPos = this._pos; this._pos = p; this.obj[this.prop] = this._pos; this.broadcastMessage('onMotionChanged', this, this._pos); updateAfterEvent(); }; v2.__get__position = function () { return this.getPosition(); }; v2.getPosition = function (t) { if (t == undefined) { t = this._time; } return this.func(t, this.begin, this.change, this._duration); }; v2.__set__finish = function (f) { this.change = f - this.begin; return this.__get__finish(); }; v2.__get__finish = function () { return this.begin + this.change; }; v2.continueTo = function (finish, duration) { this.begin = this.position; this.__set__finish(finish); if (duration != undefined) { this.__set__duration(duration); } this.start(); }; v2.yoyo = function () { this.continueTo(this.begin, this.__get__time()); }; v2.startEnterFrame = function () { if (this._fps == undefined) { _global.MovieClip.addListener(this); } else { this._intervalID = setInterval(this, 'onEnterFrame', 1000 / this._fps); } this.isPlaying = true; }; v2.stopEnterFrame = function () { if (this._fps == undefined) { _global.MovieClip.removeListener(this); } else { clearInterval(this._intervalID); } this.isPlaying = false; }; v2.start = function () { this.rewind(); this.startEnterFrame(); this.broadcastMessage('onMotionStarted', this); }; v2.stop = function () { this.stopEnterFrame(); this.broadcastMessage('onMotionStopped', this); }; v2.resume = function () { this.fixTime(); this.startEnterFrame(); this.broadcastMessage('onMotionResumed', this); }; v2.rewind = function (t) { this._time = (t == undefined) ? 0 : t; this.fixTime(); this.update(); }; v2.fforward = function () { this.__set__time(this._duration); this.fixTime(); }; v2.nextFrame = function () { if (this.useSeconds) { this.__set__time((getTimer() - this._startTime) / 1000); } else { this.__set__time(this._time + 1); } }; v2.onEnterFrame = function () { this.nextFrame(); }; v2.prevFrame = function () { if (!this.useSeconds) { this.__set__time(this._time - 1); } }; v2.toString = function () { return '[Tween]'; }; v2.fixTime = function () { if (this.useSeconds) { this._startTime = getTimer() - this._time * 1000; } }; v2.update = function () { this.__set__position(this.getPosition(this._time)); }; v1.version = '1.1.0.52'; v1.__initBeacon = mx.transitions.OnEnterFrameBeacon.init(); v1.__initBroadcaster = mx.transitions.BroadcasterMX.initialize(mx.transitions.Tween.prototype, true); v2.func = function (t, b, c, d) { return c * t / d + b; }; v2.addProperty('FPS', v2.__get__FPS, v2.__set__FPS); v2.addProperty('duration', v2.__get__duration, v2.__set__duration); v2.addProperty('finish', v2.__get__finish, v2.__set__finish); v2.addProperty('position', v2.__get__position, v2.__set__position); v2.addProperty('time', v2.__get__time, v2.__set__time); ASSetPropFlags(mx.transitions.Tween.prototype, null, 1); } #endinitclip } movieClip 1878 __Packages.seh.triangle.scene.title.Title { #initclip if (!_global.seh) { _global.seh = new Object(); } if (!_global.seh.triangle) { _global.seh.triangle = new Object(); } if (!_global.seh.triangle.scene) { _global.seh.triangle.scene = new Object(); } if (!_global.seh.triangle.scene.title) { _global.seh.triangle.scene.title = new Object(); } if (!_global.seh.triangle.scene.title.Title) { var v1 = function () { super(); this.game_controller = (seh.triangle.Triangle.getInstance()).getGameController(); this.attachMovie('Title', 'Title', this.getNextHighestDepth()); this.radio_buttons = new Array(); this.radio_buttons.push(this.attachMovie('Title_Start', 'Title_Start', this.getNextHighestDepth(), {'_x': 633, '_y': 5})); this.radio_buttons.push(this.attachMovie('Title_Continue', 'Title_Continue', this.getNextHighestDepth(), {'_x': 633, '_y': 54})); this.radio_buttons.push(this.attachMovie('Title_CG_Gallery', 'Title_CG_Gallery', this.getNextHighestDepth(), {'_x': 586, '_y': 99})); this.radio_buttons.push(this.attachMovie('Title_SceneReplay', 'Title_SceneReplay', this.getNextHighestDepth(), {'_x': 586, '_y': 133})); this.radio_buttons[0].onRelease = mx.utils.Delegate.create(this, this.onStartButtonReleased); this.radio_buttons[1].onRelease = mx.utils.Delegate.create(this, this.onContinueButtonReleased); this.radio_buttons[2].onRelease = mx.utils.Delegate.create(this, this.onCGGalleryButtonReleased); this.radio_buttons[3].onRelease = mx.utils.Delegate.create(this, this.onSceneReplayButtonReleased); var v4 = this.attachMovie('Title_FlagOpen', 'Title_FlagOpen', this.getNextHighestDepth(), {'_x': 571, '_y': 470, '_visible': true}); v4.onRelease = mx.utils.Delegate.create(this, this.onFlagOpenReleased); this.button_group = new seh.triangle.scene.detail.ButtonGroup(); var v3 = 0; while (v3 < this.radio_buttons.length) { this.radio_buttons[v3]._alpha = seh.triangle.scene.detail.ButtonGroup.TRANSLUCENT; this.button_group.addButton(this.radio_buttons[v3]); ++v3; } this.button_group.setButtonSelected(this.radio_buttons[0], true); this.previous_button_index = 0; this.background_music = new Sound(this); this.background_music.attachSound('BGM_008'); this.select_se = new Sound(this); this.select_se.attachSound('SE_012'); this.decide_se = new Sound(this); this.decide_se.attachSound('SE_013'); this.state = maelstrom.scene.SceneState.CREATED; }; seh.triangle.scene.title.Title = v1; seh.triangle.scene.title.Title extends MovieClip; var v2 = v1.prototype; _global.seh.triangle.scene.title.Title implements _global.maelstrom.scene.Scene; v2.toString = function () { return 'Title'; }; v2.onStartButtonReleased = function () { (seh.triangle.Triangle.getInstance()).clearActionSaveData(); this.allTransitionsOutDone = function (evt) { (mx.transitions.TransitionManager(evt.target)).removeEventListener('allTransitionsOutDone', this); this.background_music.stop(); var v2 = this._parent; this.terminate(); var v3 = seh.triangle.scene.mode.main.DLInsult(v2.attachMovie(seh.triangle.scene.mode.main.DLInsult.LINKAGE_ID, 'DLInsult', v2.getNextHighestDepth())); v3.startTransitionIn(); }; this.decide_se.start(); this.stop(); this.startTransitionOut(); }; v2.onContinueButtonReleased = function () { (seh.triangle.Triangle.getInstance()).load(); this.allTransitionsOutDone = function (evt) { (mx.transitions.TransitionManager(evt.target)).removeEventListener('allTransitionsOutDone', this); this.background_music.stop(); var v2 = this._parent; this.terminate(); var v3 = seh.triangle.scene.mode.main.DLInsult(v2.attachMovie(seh.triangle.scene.mode.main.DLInsult.LINKAGE_ID, 'DLInsult', v2.getNextHighestDepth())); v3.startTransitionIn(); }; this.decide_se.start(); this.stop(); this.startTransitionOut(); }; v2.onCGGalleryButtonReleased = function () { this.allTransitionsOutDone = function (evt) { (mx.transitions.TransitionManager(evt.target)).removeEventListener('allTransitionsOutDone', this); var v2 = this._parent; this.terminate(); var v3 = seh.triangle.scene.title.CGGallery(v2.attachMovie(seh.triangle.scene.title.CGGallery.LINKAGE_ID, 'CGGallery', v2.getNextHighestDepth())); v3.startTransitionIn(); }; this.decide_se.start(); this.stop(); this.startTransitionOut(); }; v2.onSceneReplayButtonReleased = function () { this.allTransitionsOutDone = function (evt) { (mx.transitions.TransitionManager(evt.target)).removeEventListener('allTransitionsOutDone', this); var v2 = this._parent; this.terminate(); var v3 = seh.triangle.scene.title.SceneReplay(v2.attachMovie(seh.triangle.scene.title.SceneReplay.LINKAGE_ID, 'SceneReplay', v2.getNextHighestDepth())); v3.startTransitionIn(); }; this.decide_se.start(); this.stop(); this.startTransitionOut(); }; v2.onFlagOpenReleased = function () { this.decide_se.start(); var v2 = seh.triangle.Triangle.getInstance(); v2.setGallerySaveData(); }; v2.allTransitionsInDone = function (evt) { (mx.transitions.TransitionManager(evt.target)).removeEventListener('allTransitionsInDone', this); this.play(); }; v2.allTransitionsOutDone = function (evt) { throw new maelstrom.language.NotImplementedException('seh.triangle.scene.title.Title::allTransitionsOutDone(Object)'); }; v2.getParent = function () { return null; }; v2.getState = function () { return this.state; }; v2.addSceneListener = function (scl) { throw new maelstrom.language.NotImplementedException('seh.triangle.scene.title.Title::addSceneListener(Object)'); }; v2.removeSceneListener = function (scl) { throw new maelstrom.language.NotImplementedException('seh.triangle.scene.title.Title::removeSceneListener(Object)'); }; v2.play = function () { if (this.state != maelstrom.scene.SceneState.CREATED) { throw new maelstrom.scene.IllegalSceneStateException('state != SceneState.CREATED'); } this.state = maelstrom.scene.SceneState.PLAYING; var v2 = 0; while (v2 < this.radio_buttons.length) { this.radio_buttons[v2].enabled = true; ++v2; } this.background_music.start(); this.onEnterFrame = this.internalMain; }; v2.stop = function () { if (this.state != maelstrom.scene.SceneState.PLAYING) { throw new maelstrom.scene.IllegalSceneStateException('state != SceneState.PLAYING'); } this.state = maelstrom.scene.SceneState.STOPPED; var v2 = 0; while (v2 < this.radio_buttons.length) { this.radio_buttons[v2].enabled = false; ++v2; } this.onEnterFrame = null; }; v2.resume = function () { throw new maelstrom.language.NotImplementedException('seh.triangle.scene.title.Title::resume()'); }; v2.update = function () { throw new maelstrom.language.NotImplementedException('seh.triangle.scene.title.Title::update()'); }; v2.terminate = function () { if (this.state == null) { throw new maelstrom.scene.IllegalSceneStateException('state == null'); } this.state = maelstrom.scene.SceneState.TERMINATED; this.background_music.stop(); this.removeMovieClip(); }; v2.startTransitionIn = function () { var v2 = mx.transitions.TransitionManager.start(this, {'type': maelstrom.scene.transition.ContentCover, 'direction': mx.transitions.Transition.IN, 'duration': 1, 'easing': mx.transitions.easing.None.easeNone}); return v2.__get__manager(); }; v2.startTransitionOut = function () { var v2 = mx.transitions.TransitionManager.start(this, {'type': maelstrom.scene.transition.ContentCover, 'direction': mx.transitions.Transition.OUT, 'duration': 1, 'easing': mx.transitions.easing.None.easeNone}); return v2.__get__manager(); }; v2.internalMain = function () { var v3 = this.button_group.getSelectedButton(); var v2 = 0; while (v2 < this.radio_buttons.length) { if (this.radio_buttons[v2] == v3) { this.button_index = v2; break; } ++v2; } var v4 = this.game_controller.getPulseData(); if (v4 == maelstrom.ui.GameController.UP) { --this.button_index; if (this.button_index < 0) { this.button_index = 0; } this.button_group.setButtonSelected(this.radio_buttons[this.button_index], true); } else { if (v4 == maelstrom.ui.GameController.DOWN) { ++this.button_index; if (this.button_index >= this.radio_buttons.length) { this.button_index = this.radio_buttons.length - 1; } this.button_group.setButtonSelected(this.radio_buttons[this.button_index], true); } } if (v4 & maelstrom.ui.GameController.A) { this.radio_buttons[this.button_index].onRelease(); } if (this.button_index != this.previous_button_index) { this.select_se.start(); } this.previous_button_index = this.button_index; }; v1.LINKAGE_ID = '__Packages.seh.triangle.scene.title.Title'; v1.CONSTRUCTOR = seh.triangle.scene.title.Title; v1.IS_REGISTERED = Object.registerClass(seh.triangle.scene.title.Title.LINKAGE_ID, seh.triangle.scene.title.Title.CONSTRUCTOR); v2.state = null; v2.button_index = 0; ASSetPropFlags(seh.triangle.scene.title.Title.prototype, null, 1); } #endinitclip } movieClip 1879 __Packages.maelstrom.ui.GameController { #initclip if (!_global.maelstrom) { _global.maelstrom = new Object(); } if (!_global.maelstrom.ui) { _global.maelstrom.ui = new Object(); } if (!_global.maelstrom.ui.GameController) { var v1 = function () { this.key_transformation = new Array(); }; maelstrom.ui.GameController = v1; var v2 = v1.prototype; v2.setKeyTransformation = function (keyxform) { if (keyxform == null) { throw new maelstrom.language.NullPointerException('keyxform == null'); } this.key_transformation = keyxform; }; v2.onEnterFrame = function () { this.previous_data = this.current_data; this.current_data = 0; var v2 = 0; while (v2 < this.key_transformation.length) { if (Key.isDown(Number(this.key_transformation[v2].first))) { this.current_data |= Number(this.key_transformation[v2].second); } else { this.current_data &= ~Number(this.key_transformation[v2].second); } ++v2; } this.pulse_data = (this.current_data ^ this.previous_data) & this.current_data; }; v2.getCurrentData = function () { return this.current_data; }; v2.getPreviousData = function () { return this.previous_data; }; v2.getPulseData = function () { return this.pulse_data; }; v1.UP = 1; v1.DOWN = 2; v1.LEFT = 4; v1.RIGHT = 8; v1.START = 16; v1.SELECT = 32; v1.LEFT_SHOULDER = 256; v1.RIGHT_SHOULDER = 512; v1.A = 4096; v1.B = 8192; v1.X = 16384; v1.Y = 32768; v2.current_data = 0; v2.previous_data = 0; v2.pulse_data = 0; ASSetPropFlags(maelstrom.ui.GameController.prototype, null, 1); } #endinitclip } movieClip 1880 __Packages.seh.triangle.scene.detail.ButtonGroup { #initclip if (!_global.seh) { _global.seh = new Object(); } if (!_global.seh.triangle) { _global.seh.triangle = new Object(); } if (!_global.seh.triangle.scene) { _global.seh.triangle.scene = new Object(); } if (!_global.seh.triangle.scene.detail) { _global.seh.triangle.scene.detail = new Object(); } if (!_global.seh.triangle.scene.detail.ButtonGroup) { var v1 = function () { this.buttons = new Array(); }; seh.triangle.scene.detail.ButtonGroup = v1; var v2 = v1.prototype; v2.toString = function () { return 'ButtonGroup'; }; v2.getButtons = function () { return this.buttons.slice(); }; v2.addButton = function (btnmc) { if (btnmc == null) { throw new maelstrom.language.NullPointerException('btnmc == null'); } var v3 = true; var v2 = 0; while (v2 < this.buttons.length) { if (this.buttons[v2] == btnmc) { v3 = false; break; } ++v2; } if (v3) { btnmc._alpha = seh.triangle.scene.detail.ButtonGroup.OPAQUE; this.buttons.push(btnmc); var v4 = function () { btnmc._alpha = seh.triangle.scene.detail.ButtonGroup.OPAQUE; var v2 = 0; while (v2 < this.buttons.length) { if (this.buttons[v2] != btnmc) { this.buttons[v2]._alpha = seh.triangle.scene.detail.ButtonGroup.TRANSLUCENT; } ++v2; } }; btnmc.onRollOver = mx.utils.Delegate.create(this, v4); } }; v2.removeButton = function (btnmc) { if (btnmc == null) { throw new maelstrom.language.NullPointerException('btnmc == null'); } var v2 = 0; while (v2 < this.buttons.length) { if (this.buttons[v2] == btnmc) { this.buttons.splice(v2, 1); return undefined; } ++v2; } }; v2.isButtonSelected = function (btnmc) { if (btnmc == null) { throw new maelstrom.language.NullPointerException('btnmc == null'); } var v2 = 0; while (v2 < this.buttons.length) { if (this.buttons[v2]._alpha == seh.triangle.scene.detail.ButtonGroup.OPAQUE && this.buttons[v2] == btnmc) { return true; } ++v2; } return false; }; v2.setButtonSelected = function (btnmc, bool) { if (btnmc == null || bool == null) { throw new maelstrom.language.NullPointerException('btnmc == null || bool == null'); } if (bool) { btnmc._alpha = seh.triangle.scene.detail.ButtonGroup.OPAQUE; var v2 = 0; while (v2 < this.buttons.length) { if (this.buttons[v2] != btnmc) { this.buttons[v2]._alpha = seh.triangle.scene.detail.ButtonGroup.TRANSLUCENT; } ++v2; } } else { btnmc._alpha = seh.triangle.scene.detail.ButtonGroup.TRANSLUCENT; } }; v2.getSelectedButton = function () { var v2 = 0; while (v2 < this.buttons.length) { if (this.buttons[v2]._alpha == seh.triangle.scene.detail.ButtonGroup.OPAQUE) { return this.buttons[v2]; } ++v2; } }; v1.TRANSLUCENT = 50; v1.OPAQUE = 100; ASSetPropFlags(seh.triangle.scene.detail.ButtonGroup.prototype, null, 1); } #endinitclip } movieClip 1881 __Packages.mx.utils.Delegate { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.utils) { _global.mx.utils = new Object(); } if (!_global.mx.utils.Delegate) { var v1 = function (f) { super(); this.func = f; }; mx.utils.Delegate = v1; mx.utils.Delegate extends Object; var v2 = v1.prototype; v1.create = function (obj, func) { var v2 = function () { var v2 = arguments.callee.target; var v3 = arguments.callee.func; return v3.apply(v2, arguments); }; v2.target = obj; v2.func = func; return v2; }; v2.createDelegate = function (obj) { return mx.utils.Delegate.create(obj, this.func); }; ASSetPropFlags(mx.utils.Delegate.prototype, null, 1); } #endinitclip } movieClip 1882 __Packages.seh.triangle.scene.mode.main.DLInsult { #initclip if (!_global.seh) { _global.seh = new Object(); } if (!_global.seh.triangle) { _global.seh.triangle = new Object(); } if (!_global.seh.triangle.scene) { _global.seh.triangle.scene = new Object(); } if (!_global.seh.triangle.scene.mode) { _global.seh.triangle.scene.mode = new Object(); } if (!_global.seh.triangle.scene.mode.main) { _global.seh.triangle.scene.mode.main = new Object(); } if (!_global.seh.triangle.scene.mode.main.DLInsult) { var v1 = function () { super(); mx.events.EventDispatcher.initialize(this); this.transition_layer = this.createEmptyMovieClip('transition_layer', this.getNextHighestDepth()); var v3 = seh.triangle.Triangle.getInstance(); this.game_controller = v3.getGameController(); this.entity_status = new seh.triangle.scene.mode.main.detail.EntityStatus(); this.entity_factory = new seh.triangle.scene.mode.main.detail.EntityFactory(this.transition_layer, this.entity_status); seh.triangle.scene.mode.main.detail.ActionScene.setEntityFactory(this.entity_factory); this.save_data = v3.getSaveData(); this.player_character = this.entity_factory.getHero(); this.player_health = this.player_character.getHealth(); this.player_health.addEventListener('onCharacterHealthEmptied', this); this.player_health_icon = this.entity_factory.getPlayerHealthIcon(); this.player_character.setGameController(this.game_controller); if (this.save_data.opening) { var v4 = new seh.triangle.scene.mode.main.levels.KandaKonyacho(this); this.player_character._x = 385; this.player_character._y = 465; this.player_character.update(); this.player_character.setDirection(seh.triangle.action.CharacterDirection.FRONT); v4.adjustViewPosition(this.player_character.__get__stage_x(), this.player_character.__get__stage_y()); } else { this.player_character._visible = false; var v4 = new seh.triangle.scene.mode.main.levels.detail.HeroAppearance(this); } this.dl_point = this.entity_factory.getDLPoint(); this.dl_point.__set__value(this.save_data.dl_point); this.background_music = new Sound(this.entity_factory.background_layer); this.background_music.onSoundComplete = function () { if (this.position == this.duration) { this.start(); } }; this.stair_se = new Sound(this.entity_factory.effect_layer); this.stair_se.attachSound('SE_011'); this.state = maelstrom.scene.SceneState.CREATED; this.playBGM(null); }; seh.triangle.scene.mode.main.DLInsult = v1; seh.triangle.scene.mode.main.DLInsult extends MovieClip; var v2 = v1.prototype; _global.seh.triangle.scene.mode.main.DLInsult implements _global.maelstrom.scene.Scene; v2.toString = function () { return 'DLInsult'; }; v2.onUnload = function () { this.background_music.stop(); }; v2.onCharacterHealthEmptied = function () { this.stopBGM(); this.onEnterFrame = null; this.save_data.dl_point = (this.entity_factory.getDLPoint()).value; var v2 = seh.triangle.scene.mode.main.GameOver(this.attachMovie(seh.triangle.scene.mode.main.GameOver.LINKAGE_ID, 'GameOver', this.getNextHighestDepth(), {'parent': this})); v2.startTransitionIn(); }; v2.allTransitionsInDone = function (evt) { (mx.transitions.TransitionManager(evt.target)).removeEventListener('allTransitionsInDone', this); if (this.state == maelstrom.scene.SceneState.CREATED) { this.play(); } else { if (this.state == maelstrom.scene.SceneState.STOPPED) { this.resume(); } } }; v2.allTransitionsOutDone = function (evt) { (mx.transitions.TransitionManager(evt.target)).removeEventListener('allTransitionsOutDone', this); this.terminate(); }; v2.getParent = function () { return null; }; v2.getState = function () { return this.state; }; v2.addSceneListener = function (scl) { if (scl == null) { throw new maelstrom.language.NullPointerException('scl == null'); } this.addEventListener('onScenePlayed', scl); this.addEventListener('onSceneStopped', scl); this.addEventListener('onSceneResumed', scl); this.addEventListener('onSceneUpdated', scl); this.addEventListener('onSceneTerminated', scl); }; v2.removeSceneListener = function (scl) { if (scl == null) { throw new maelstrom.language.NullPointerException('scl == null'); } this.removeEventListener('onScenePlayed', scl); this.removeEventListener('onSceneStopped', scl); this.removeEventListener('onSceneResumed', scl); this.removeEventListener('onSceneUpdated', scl); this.removeEventListener('onSceneTerminated', scl); }; v2.play = function () { if (this.state != maelstrom.scene.SceneState.CREATED) { throw new maelstrom.scene.IllegalSceneStateException('state != SceneState.CREATED'); } this.state = maelstrom.scene.SceneState.PLAYING; this.dispatchEvent({'type': 'onScenePlayed'}); this.onEnterFrame = this.internalMain; }; v2.stop = function () { if (this.state != maelstrom.scene.SceneState.PLAYING) { throw new maelstrom.scene.IllegalSceneStateException('state != SceneState.PLAYING'); } this.state = maelstrom.scene.SceneState.STOPPED; this.dispatchEvent({'type': 'onSceneStopped'}); this.onEnterFrame = null; }; v2.resume = function () { if (this.state != maelstrom.scene.SceneState.STOPPED) { throw new maelstrom.scene.IllegalSceneStateException('state != SceneState.STOPPED'); } this.state = maelstrom.scene.SceneState.PLAYING; this.dispatchEvent({'type': 'onSceneResumed'}); this.onEnterFrame = this.internalMain; }; v2.update = function () { throw new maelstrom.language.NotImplementedException('seh.triangle.scene.mode.main.DLInsult::update()'); }; v2.terminate = function () { if (this.state == null) { throw new maelstrom.scene.IllegalSceneStateException('state == null'); } this.state = maelstrom.scene.SceneState.TERMINATED; this.dispatchEvent({'type': 'onSceneTerminated'}); this.background_music.stop(); this.removeMovieClip(); }; v2.startTransitionIn = function () { this.transition_layer._visible = true; var v2 = new mx.transitions.TransitionManager(this); v2.startTransition({'type': maelstrom.scene.transition.ContentCover, 'direction': mx.transitions.Transition.IN, 'duration': 1, 'easing': mx.transitions.easing.None.easeNone}); return v2; }; v2.startTransitionOut = function () { var v2 = new mx.transitions.TransitionManager(this); v2.startTransition({'type': maelstrom.scene.transition.ContentCover, 'direction': mx.transitions.Transition.OUT, 'duration': 1, 'easing': mx.transitions.easing.None.easeNone}); return v2; }; v2.gotoAndPlay = function (frame) { if (frame != 1) { throw new maelstrom.language.IllegalArgumentException('frame != 1'); } this.dispatchEvent({'type': 'onSceneTerminated'}); if (this.state != maelstrom.scene.SceneState.STOPPED) { this.stop(); } if (this.save_data.opening) { var v2 = new seh.triangle.scene.mode.main.levels.KandaKonyacho(this); this.player_character._visible = true; this.player_character._x = 385; this.player_character._y = 465; this.player_character.update(); this.player_character.setDirection(seh.triangle.action.CharacterDirection.FRONT); v2.adjustViewPosition(this.player_character.__get__stage_x(), this.player_character.__get__stage_y()); } else { this.player_character._visible = false; var v2 = new seh.triangle.scene.mode.main.levels.detail.HeroAppearance(this); } this.player_health.__set__value(seh.triangle.action.CharacterHealth.MAXIMUM); this.player_health_icon.setUnit(seh.triangle.action.CharacterHealthIcon.UNIT_DIGIT); this.dl_point.__set__value(this.save_data.dl_point); this.playBGM(null); this.startTransitionIn(); }; v2.playBGM = function (id) { if (id === undefined) { throw new maelstrom.language.UndefinedPointerException('id === undefined'); } if (id === null) { if (this.save_data.has_sarahrara_insulted) { id = 'BGM_001'; if (this.previous_bgm_id != id) { this.background_music.stop(); this.background_music.attachSound(id); this.background_music.start(); } } else { id = 'BGM_018'; if (this.previous_bgm_id != id) { this.background_music.stop(); this.background_music.attachSound(id); this.background_music.start(); } } } else { if (this.previous_bgm_id != id) { this.background_music.stop(); this.background_music.attachSound(id); this.background_music.start(); } } this.previous_bgm_id = id; }; v2.stopBGM = function () { this.previous_bgm_id = null; this.background_music.stop(); }; v2.playStairSE = function () { this.stair_se.start(); }; v2.internalMain = function () { var v2 = this.game_controller.getPulseData(); if (v2 == maelstrom.ui.GameController.START) { this.stop(); this.save_data.dl_point = (this.entity_factory.getDLPoint()).value; var v3 = seh.triangle.scene.mode.main.Pause(this.attachMovie(seh.triangle.scene.mode.main.Pause.LINKAGE_ID, 'Pause', this.getNextHighestDepth(), {'parent': this})); v3.startTransitionIn(); } }; v1.LINKAGE_ID = '__Packages.seh.triangle.scene.mode.main.DLInsult'; v1.CONSTRUCTOR = seh.triangle.scene.mode.main.DLInsult; v1.IS_REGISTERED = Object.registerClass(seh.triangle.scene.mode.main.DLInsult.LINKAGE_ID, seh.triangle.scene.mode.main.DLInsult.CONSTRUCTOR); v2.state = null; ASSetPropFlags(seh.triangle.scene.mode.main.DLInsult.prototype, null, 1); } #endinitclip } movieClip 1883 __Packages.seh.triangle.scene.mode.main.detail.EntityFactory { #initclip if (!_global.seh) { _global.seh = new Object(); } if (!_global.seh.triangle) { _global.seh.triangle = new Object(); } if (!_global.seh.triangle.scene) { _global.seh.triangle.scene = new Object(); } if (!_global.seh.triangle.scene.mode) { _global.seh.triangle.scene.mode = new Object(); } if (!_global.seh.triangle.scene.mode.main) { _global.seh.triangle.scene.mode.main = new Object(); } if (!_global.seh.triangle.scene.mode.main.detail) { _global.seh.triangle.scene.mode.main.detail = new Object(); } if (!_global.seh.triangle.scene.mode.main.detail.EntityFactory) { var v1 = function (rtmc, entstat) { if (rtmc == null || entstat == null) { throw new maelstrom.language.NullPointerException('rtmc == null || entstat == null'); } this.root_mc = rtmc; this.entity_status = entstat; this.scroll_layer = this.root_mc.createEmptyMovieClip('scroll_layer', this.root_mc.getNextHighestDepth()); this.background_layer = this.scroll_layer.createEmptyMovieClip('background_layer', this.scroll_layer.getNextHighestDepth()); this.enemy_layer = this.scroll_layer.createEmptyMovieClip('enemy_layer', this.scroll_layer.getNextHighestDepth()); this.player_layer = this.scroll_layer.createEmptyMovieClip('player_layer', this.scroll_layer.getNextHighestDepth()); this.foreground_layer = this.scroll_layer.createEmptyMovieClip('foreground_layer', this.scroll_layer.getNextHighestDepth()); this.item_layer = this.scroll_layer.createEmptyMovieClip('item_layer', this.scroll_layer.getNextHighestDepth()); this.effect_layer = this.scroll_layer.createEmptyMovieClip('effect_layer', this.scroll_layer.getNextHighestDepth()); this.information_layer = this.root_mc.createEmptyMovieClip('information_layer', this.root_mc.getNextHighestDepth()); this.collision_list = new seh.triangle.action.hit.CollisionList(); this.health_icons = new Array(); }; seh.triangle.scene.mode.main.detail.EntityFactory = v1; var v2 = v1.prototype; v2.getRootMovieClip = function () { return this.root_mc; }; v2.getCollisionList = function () { return this.collision_list; }; v2.getPlayerHealthIcon = function () { if (this.player_health_icon == null) { this.player_health_icon = seh.triangle.action.CharacterHealthIcon(this.information_layer.attachMovie('HP_Frame_Player', 'HP_Frame_Player', this.information_layer.getNextHighestDepth(), {'_x': 585, '_y': 509})); } return this.player_health_icon; }; v2.getDLPoint = function () { if (this.dl_point == null) { throw new maelstrom.language.IllegalStateException('dl_point == null'); } return this.dl_point; }; v2.getHero = function () { if (this.player_character == null) { this.player_character = seh.triangle.action.characters.Hero(this.player_layer.attachMovie(seh.triangle.action.characters.Hero.LINKAGE_ID, 'Hero', this.player_layer.getNextHighestDepth(), {'collision_list': this.collision_list})); this.player_health_icon = seh.triangle.action.CharacterHealthIcon(this.information_layer.attachMovie('HP_Frame_Player', 'HP_Frame_Player', this.information_layer.getNextHighestDepth(), {'_x': 585, '_y': 509})); var v2 = this.player_character.getHealth(); v2.addEventListener('onCharacterReplenished', this.player_health_icon); v2.addEventListener('onCharacterDamaged', this.player_health_icon); this.dl_point = seh.triangle.action.DLPoint(this.information_layer.attachMovie('HP_DLpt_Frame', 'HP_DLpt_Frame', this.information_layer.getNextHighestDepth(), {'_x': 695, '_y': 582})); this.entity_status.setHeroStatus(this.player_character); } return this.player_character; }; v2.getEnemyHealthIcon = function () { if (this.enemy_health_icon == null) { this.enemy_health_icon = seh.triangle.action.CharacterHealthIcon(this.information_layer.attachMovie('HP_Frame_Enemy', 'HP_Frame_Enemy', this.information_layer.getNextHighestDepth(), {'_x': 4, '_y': 2, '_visible': false})); this.health_icons.push(this.enemy_health_icon); } return this.enemy_health_icon; }; v2.removeHealthIcon = function (hlthico) { if (hlthico == null) { throw new maelstrom.language.NullPointerException('hlthico == null'); } var v2 = 0; while (v2 < this.health_icons.length) { if (this.health_icons[v2] == hlthico) { this.health_icons.splice(v2, 1); return undefined; } ++v2; } }; v2.getDilleHealthIcon = function () { var v2 = seh.triangle.action.CharacterHealthIcon(this.information_layer.attachMovie('HP_Frame_Dille', 'HP_Frame_Dille', this.information_layer.getNextHighestDepth(), {'_x': 4, '_y': 2, '_visible': false})); this.health_icons.push(v2); return v2; }; v2.getElleHealthIcon = function () { var v2 = seh.triangle.action.CharacterHealthIcon(this.information_layer.attachMovie('HP_Frame_Elle', 'HP_Frame_Elle', this.information_layer.getNextHighestDepth(), {'_x': 4, '_y': 2, '_visible': false})); this.health_icons.push(v2); return v2; }; v2.getPremiumHealthIcon = function () { var v2 = seh.triangle.action.CharacterHealthIcon(this.information_layer.attachMovie('HP_Frame_Premium', 'HP_Frame_Premium', this.information_layer.getNextHighestDepth(), {'_x': 4, '_y': 2, '_visible': false})); this.health_icons.push(v2); return v2; }; v2.getMenteHealthIcon = function () { var v2 = seh.triangle.action.CharacterHealthIcon(this.information_layer.attachMovie('HP_Frame_Mente', 'HP_Frame_Mente', this.information_layer.getNextHighestDepth(), {'_x': 4, '_y': 2, '_visible': false})); this.health_icons.push(v2); return v2; }; v2.getSarahHealthIcon = function () { var v2 = seh.triangle.action.CharacterHealthIcon(this.information_layer.attachMovie('HP_Frame_Sarah', 'HP_Frame_Sarah', this.information_layer.getNextHighestDepth(), {'_x': 4, '_y': 2, '_visible': false})); this.health_icons.push(v2); return v2; }; v2.getRaraHealthIcon = function () { var v2 = seh.triangle.action.CharacterHealthIcon(this.information_layer.attachMovie('HP_Frame_Rara', 'HP_Frame_Rara', this.information_layer.getNextHighestDepth(), {'_x': 4, '_y': 2, '_visible': false})); this.health_icons.push(v2); return v2; }; v2.createItemSymbol = function (x, y, instnme) { return seh.triangle.action.ItemSymbol(this.item_layer.attachMovie('Symbol_Item', instnme, this.item_layer.getNextHighestDepth(), {'_x': x, '_y': y, 'collision_list': this.collision_list})); }; v2.createBlueJacket = function (instnme) { var v2 = seh.triangle.action.characters.Enemy.createBlueJacket(this.enemy_layer, instnme, {'collision_list': this.collision_list}); this.entity_status.setBlueJacket(v2); var v3 = v2.getHealth(); v3.addEventListener('onEnemyDamaged', this.createOnEnemyDamagedHandler(this.getEnemyHealthIcon())); v3.addEventListener('onEnemyHealthEmptied', this.getDLPoint()); return v2; }; v2.createBrownJacket = function (instnme) { var v2 = seh.triangle.action.characters.Enemy.createBrownJacket(this.enemy_layer, instnme, {'collision_list': this.collision_list}); this.entity_status.setBrownJacket(v2); var v3 = v2.getHealth(); v3.addEventListener('onEnemyDamaged', this.createOnEnemyDamagedHandler(this.getEnemyHealthIcon())); v3.addEventListener('onEnemyHealthEmptied', this.getDLPoint()); return v2; }; v2.createSunglasses = function (instnme) { var v2 = seh.triangle.action.characters.Enemy.createSunglasses(this.enemy_layer, instnme, {'collision_list': this.collision_list}); this.entity_status.setSunglasses(v2); var v3 = v2.getHealth(); v3.addEventListener('onEnemyDamaged', this.createOnEnemyDamagedHandler(this.getEnemyHealthIcon())); v3.addEventListener('onEnemyHealthEmptied', this.getDLPoint()); return v2; }; v2.createGuard = function (instnme) { var v2 = seh.triangle.action.characters.Enemy.createGuard(this.enemy_layer, instnme, {'collision_list': this.collision_list}); this.entity_status.setGuard(v2); var v3 = v2.getHealth(); v3.addEventListener('onEnemyDamaged', this.createOnEnemyDamagedHandler(this.getEnemyHealthIcon())); v3.addEventListener('onEnemyHealthEmptied', this.getDLPoint()); return v2; }; v2.createDille = function () { var v2 = seh.triangle.action.characters.Dille(this.enemy_layer.attachMovie(seh.triangle.action.characters.Dille.LINKAGE_ID, 'Dille', this.enemy_layer.getNextHighestDepth(), {'collision_list': this.collision_list})); this.entity_status.setDille(v2); var v3 = v2.getHealth(); v3.addEventListener('onEnemyHealthEmptied', this.getDLPoint()); return v2; }; v2.createElle = function () { var v2 = seh.triangle.action.characters.Elle(this.enemy_layer.attachMovie(seh.triangle.action.characters.Elle.LINKAGE_ID, 'Elle', this.enemy_layer.getNextHighestDepth(), {'collision_list': this.collision_list})); this.entity_status.setElle(v2); var v3 = v2.getHealth(); v3.addEventListener('onEnemyHealthEmptied', this.getDLPoint()); return v2; }; v2.createPremium = function () { var v3 = seh.triangle.action.characters.Boomerang(this.effect_layer.attachMovie('Premium_Boomerang', 'Premium_Boomerang', this.effect_layer.getNextHighestDepth(), {'collision_list': this.collision_list})); this.entity_status.setBoomerang(v3); var v2 = seh.triangle.action.characters.Premium(this.enemy_layer.attachMovie(seh.triangle.action.characters.Premium.LINKAGE_ID, 'Premium', this.enemy_layer.getNextHighestDepth(), {'collision_list': this.collision_list, 'boomerang': v3})); this.entity_status.setPremium(v2); var v4 = v2.getHealth(); v4.addEventListener('onEnemyHealthEmptied', this.getDLPoint()); return v2; }; v2.createMente = function () { var v2 = seh.triangle.action.characters.Mente(this.enemy_layer.attachMovie(seh.triangle.action.characters.Mente.LINKAGE_ID, 'Mente', this.enemy_layer.getNextHighestDepth(), {'collision_list': this.collision_list})); this.entity_status.setMente(v2); var v3 = v2.getHealth(); v3.addEventListener('onEnemyHealthEmptied', this.getDLPoint()); return v2; }; v2.createSarah = function () { var v2 = seh.triangle.action.characters.Sarah(this.enemy_layer.attachMovie(seh.triangle.action.characters.Sarah.LINKAGE_ID, 'Sarah', this.enemy_layer.getNextHighestDepth(), {'collision_list': this.collision_list})); this.entity_status.setSarah(v2); var v3 = v2.getHealth(); v3.addEventListener('onEnemyHealthEmptied', this.getDLPoint()); return v2; }; v2.createRara = function () { var v2 = seh.triangle.action.characters.Rara(this.enemy_layer.attachMovie(seh.triangle.action.characters.Rara.LINKAGE_ID, 'Rara', this.enemy_layer.getNextHighestDepth(), {'collision_list': this.collision_list})); this.entity_status.setRara(v2); var v3 = v2.getHealth(); v3.addEventListener('onEnemyHealthEmptied', this.getDLPoint()); return v2; }; v2.createZIPTan = function () { var v2 = seh.triangle.action.characters.ZIPTan(this.enemy_layer.attachMovie(seh.triangle.action.characters.ZIPTan.LINKAGE_ID, 'ZIPTan', this.enemy_layer.getNextHighestDepth(), {'collision_list': this.collision_list})); this.entity_status.setZIPTan(v2); return v2; }; v2.createDS = function () { var v2 = seh.triangle.action.characters.DS(this.enemy_layer.attachMovie(seh.triangle.action.characters.DS.LINKAGE_ID, 'DS', this.enemy_layer.getNextHighestDepth(), {'collision_list': this.collision_list})); this.entity_status.setDS(v2); var v3 = v2.getHealth(); v3.addEventListener('onEnemyHealthEmptied', this.getDLPoint()); return v2; }; v2.setHelathIcon = function (enehlth, hlthico) { enehlth.addEventListener('onEnemyDamaged', this.createOnEnemyDamagedHandler(hlthico)); }; v2.createOnEnemyDamagedHandler = function (hlthico) { if (hlthico == null) { throw new maelstrom.language.NullPointerException('hlthico == null'); } var v3 = function (evt) { var v2 = 0; while (v2 < this.health_icons.length) { this.health_icons[v2]._visible = (this.health_icons[v2] == hlthico) ? true : false; ++v2; } hlthico.onEnemyDamaged(evt); }; return mx.utils.Delegate.create(this, v3); }; v2.player_character = null; v2.player_health_icon = null; v2.dl_point = null; v2.enemy_health_icon = null; ASSetPropFlags(seh.triangle.scene.mode.main.detail.EntityFactory.prototype, null, 1); } #endinitclip } movieClip 1884 __Packages.seh.triangle.scene.mode.main.detail.EntityStatus { #initclip if (!_global.seh) { _global.seh = new Object(); } if (!_global.seh.triangle) { _global.seh.triangle = new Object(); } if (!_global.seh.triangle.scene) { _global.seh.triangle.scene = new Object(); } if (!_global.seh.triangle.scene.mode) { _global.seh.triangle.scene.mode = new Object(); } if (!_global.seh.triangle.scene.mode.main) { _global.seh.triangle.scene.mode.main = new Object(); } if (!_global.seh.triangle.scene.mode.main.detail) { _global.seh.triangle.scene.mode.main.detail = new Object(); } if (!_global.seh.triangle.scene.mode.main.detail.EntityStatus) { var v1 = function () {}; seh.triangle.scene.mode.main.detail.EntityStatus = v1; var v2 = v1.prototype; v2.setHeroStatus = function (hr) { var v2 = (seh.triangle.Triangle.getInstance()).getSaveData(); hr.setMoveSpeed(6); if (v2.attack_power_got) { hr.setPunchParamater(8, 2, 36); hr.setKickParamater(14, 6, 54); } else { hr.setPunchParamater(8, 2, 30); hr.setKickParamater(14, 6, 45); } if (v2.defense_power_got) { hr.setDefensePower(3); } else { hr.setDefensePower(2); } hr.setStunDuration(6); }; v2.setBlueJacket = function (bljkt) { bljkt.setChaseSpeed(2); bljkt.setPunchParamater(12, 4, 1); bljkt.setKickParamater(12, 4, 4); bljkt.setDefensePower(2); bljkt.setStunDuration(8); bljkt.setExperiencePoint(10); }; v2.setBrownJacket = function (brjkt) { brjkt.setChaseSpeed(4); brjkt.setPunchParamater(12, 4, 5); brjkt.setKickParamater(12, 4, 1); brjkt.setDefensePower(1); brjkt.setStunDuration(10); brjkt.setExperiencePoint(30); }; v2.setSunglasses = function (sgl) { sgl.setChaseSpeed(3); sgl.setPunchParamater(12, 4, 8); sgl.setKickParamater(12, 4, 5); sgl.setDefensePower(2); sgl.setStunDuration(8); sgl.setExperiencePoint(50); }; v2.setGuard = function (gd) { gd.setChaseSpeed(4); gd.setPunchParamater(12, 4, 6); gd.setKickParamater(12, 4, 8); gd.setDefensePower(12); gd.setStunDuration(8); gd.setExperiencePoint(80); }; v2.setBoomerang = function (boom) { boom.setCenterLength(600); boom.setCircumferenceTime(5000); boom.setAttackParamater(12, 4, 5); }; v2.setPremium = function (prem) { prem.setEscapeSpeed(9); prem.setDefensePower(12); prem.setExperiencePoint(1000); }; v2.setDille = function (dl) { dl.setChaseSpeed(6); dl.setEscapeSpeed(7); dl.setKickParamater(12, 4, 16); dl.setDefensePower(32); dl.setStunDuration(8); dl.setChaseDuration(120); dl.setEscapeDuration(150); dl.setExperiencePoint(5000); }; v2.setElle = function (el) { el.setChaseSpeed(8); el.setEscapeSpeed(10); el.setPunchParamater(12, 4, 5); el.setDefensePower(25); el.setStunDuration(12); el.setChaseDuration(90); el.setEscapeDuration(180); el.setExperiencePoint(5000); }; v2.setMente = function (maint) { maint.setEscapeSpeed(10); maint.setDefensePower(2); maint.setExperiencePoint(1200); }; v2.setSarah = function (sah) { sah.setEscapeSpeed(8); sah.setDefensePower(12); sah.setExperiencePoint(1500); }; v2.setRara = function (ra) { ra.setEscapeSpeed(10); ra.setDefensePower(2); ra.setExperiencePoint(1500); }; v2.setZIPTan = function (zip) { zip.setChaseSpeed(4); zip.setAttackParamater(12, 4, 5); zip.setStunDuration(12); }; v2.setDS = function (ds) { ds.setExperiencePoint(1000); }; ASSetPropFlags(seh.triangle.scene.mode.main.detail.EntityStatus.prototype, null, 1); } #endinitclip } movieClip 1885 __Packages.seh.triangle.action.characters.detail.AbstractCharacter { #initclip if (!_global.seh) { _global.seh = new Object(); } if (!_global.seh.triangle) { _global.seh.triangle = new Object(); } if (!_global.seh.triangle.action) { _global.seh.triangle.action = new Object(); } if (!_global.seh.triangle.action.characters) { _global.seh.triangle.action.characters = new Object(); } if (!_global.seh.triangle.action.characters.detail) { _global.seh.triangle.action.characters.detail = new Object(); } if (!_global.seh.triangle.action.characters.detail.AbstractCharacter) { var v1 = function () { super(); if (this.collision_list == null) { throw new maelstrom.language.IllegalStateException('collision_list == null'); } this.direction_index = seh.triangle.action.CharacterDirection.FRONT.ordinal(); }; seh.triangle.action.characters.detail.AbstractCharacter = v1; seh.triangle.action.characters.detail.AbstractCharacter extends MovieClip; var v2 = v1.prototype; v2.toString = function () { return 'AbstractCharacter'; }; v2.onScenePlayed = function (evt) { if (this.step_animation == null || this.hit_move == null || this.is_alive) { throw new maelstrom.language.IllegalStateException('step_animation == null || hit_move == null || is_alive'); } this.is_alive = true; this.play(); }; v2.onSceneStopped = function (evt) { this.stop(); }; v2.onSceneResumed = function (evt) { this.play(); }; v2.onSceneUpdated = function (evt) { this.update(); }; v2.onSceneTerminated = function (evt) { this.stop(); this.is_alive = false; }; v2.onMoveHit = function (htyp, rctp, rcbtm, rclt, rcrt) { if (htyp == seh.triangle.action.hit.HitType.OBSTACLE || htyp == seh.triangle.action.hit.HitType.EVENT) { var v2 = seh.triangle.action.CharacterDirection.values(); if (this.direction_x == v2[0].getDirectionX() && this.direction_y == v2[0].getDirectionY()) { this._y -= this.hit_move.__get__top() - rcbtm; ++this._y; } else { if (this.direction_x == v2[1].getDirectionX() && this.direction_y == v2[1].getDirectionY()) { this._y -= this.hit_move.__get__bottom() - rctp; --this._y; } else { if (this.direction_x == v2[2].getDirectionX() && this.direction_y == v2[2].getDirectionY()) { this._x -= this.hit_move.__get__left() - rcrt; ++this._x; } else { if (this.direction_x == v2[3].getDirectionX() && this.direction_y == v2[3].getDirectionY()) { this._x -= this.hit_move.__get__right() - rclt; --this._x; } } } } this.update(); } }; v2.isAlive = function () { return this.is_alive; }; v2.play = function () { var v2 = 0; while (v2 < this.step_animation.length) { this.step_animation[v2].play(); ++v2; } if (this.is_alive && this.command_save != null) { this.onEnterFrame = this.command_save; this.command_save = null; } }; v2.stop = function () { var v2 = 0; while (v2 < this.step_animation.length) { this.step_animation[v2].stop(); ++v2; } if (this.is_alive && this.onEnterFrame != null) { this.command_save = this.onEnterFrame; this.onEnterFrame = null; } }; v2.update = function () { this.hit_move.localToGlobal(); }; v2.setDirection = function (chardir) { if (this.is_alive) { throw new maelstrom.language.IllegalStateException('is_alive'); } if (chardir == null) { throw new maelstrom.language.NullPointerException('chardir == null'); } this.internalSetDirection(chardir); }; v2.MoveVsObstacle = function () { var v3 = (this.collision_list.getHitData(seh.triangle.action.hit.HitType.OBSTACLE)).getListIterator(); while (v3.hasNext()) { var v2 = seh.triangle.action.hit.HitData(v3.next()); if (v2.hasEnabled() && (this.hit_move.getHitArea()).checkHitArea(v2.getHitArea())) { this.hit_move.notifyHit(v2); v2.notifyHit(this.hit_move); return true; } } return false; }; v2.internalSetDirection = function (chardir) { var v3 = chardir.ordinal(); this.step_animation[this.direction_index]._visible = false; this.direction_index = v3; this.direction_x = chardir.getDirectionX(); this.direction_y = chardir.getDirectionY(); this.step_animation[this.direction_index]._visible = true; this.hit_move.bounding_box = this.step_animation[this.direction_index].HitArea_Character; this.hit_move.localToGlobal(); }; v1.CHARACTER_WIDTH = 32; v1.CHARACTER_HEIGHT = 48; v1.CHARACTER_HALF_WIDTH = 16; v1.CHARACTER_HALF_HEIGHT = 24; v2.step_animation = null; v2.direction_x = 0; v2.direction_y = 0; v2.hit_move = null; v2.is_alive = false; v2.command_save = null; ASSetPropFlags(seh.triangle.action.characters.detail.AbstractCharacter.prototype, null, 1); } #endinitclip } movieClip 1886 __Packages.seh.triangle.action.hit.CollisionList { #initclip if (!_global.seh) { _global.seh = new Object(); } if (!_global.seh.triangle) { _global.seh.triangle = new Object(); } if (!_global.seh.triangle.action) { _global.seh.triangle.action = new Object(); } if (!_global.seh.triangle.action.hit) { _global.seh.triangle.action.hit = new Object(); } if (!_global.seh.triangle.action.hit.CollisionList) { var v1 = function () { this.hit_data = new Array(); var v2 = 0; while (v2 < seh.triangle.action.hit.CollisionList.HIT_TYPE_LENGTH) { this.hit_data.push(new maelstrom.collections.LinkedList()); ++v2; } }; seh.triangle.action.hit.CollisionList = v1; var v2 = v1.prototype; v2.toString = function () { return 'CollisionList'; }; v2.addHitData = function (hdt) { if (hdt == null) { throw new maelstrom.language.NullPointerException('hdt == null'); } var v2 = (hdt.getHitType()).ordinal(); if (v2 < 0 || v2 >= seh.triangle.action.hit.CollisionList.HIT_TYPE_LENGTH) { throw new maelstrom.language.IndexOutOfBoundsException('ord < 0 || ord >= HIT_TYPE_LENGTH'); } (maelstrom.collections.LinkedList(this.hit_data[v2])).addItem(hdt); }; v2.removeHitData = function (hdt) { if (hdt == null) { throw new maelstrom.language.NullPointerException('hdt == null'); } var v2 = (hdt.getHitType()).ordinal(); if (v2 < 0 || v2 >= seh.triangle.action.hit.CollisionList.HIT_TYPE_LENGTH) { throw new maelstrom.language.IndexOutOfBoundsException('ord < 0 || ord >= HIT_TYPE_LENGTH'); } (maelstrom.collections.LinkedList(this.hit_data[v2])).removeItem(hdt); }; v2.getHitData = function (htyp) { var v2 = htyp.ordinal(); if (v2 < 0 || v2 >= seh.triangle.action.hit.CollisionList.HIT_TYPE_LENGTH) { throw new maelstrom.language.IndexOutOfBoundsException('ord < 0 || ord >= HIT_TYPE_LENGTH'); } return maelstrom.collections.LinkedList(this.hit_data[v2]); }; v1.HIT_TYPE_LENGTH = 6; ASSetPropFlags(seh.triangle.action.hit.CollisionList.prototype, null, 1); } #endinitclip } movieClip 1887 __Packages.maelstrom.collections.LinkedList { #initclip if (!_global.maelstrom) { _global.maelstrom = new Object(); } if (!_global.maelstrom.collections) { _global.maelstrom.collections = new Object(); } if (!_global.maelstrom.collections.LinkedList) { var v1 = function () { this.sentinel_node = new maelstrom.collections.ListNode(null); this.sentinel_node.next = this.sentinel_node; this.sentinel_node.previous = this.sentinel_node; }; maelstrom.collections.LinkedList = v1; var v2 = v1.prototype; v2.toString = function () { var v3 = ''; var v2 = this.getListIterator(); while (v2.hasNext()) { v3 += String(v2.next()) + ', '; } return '[' + v3.substring(0, v3.length - 2) + ']'; }; v2.isEmpty = function () { return this.sentinel_node.next == this.sentinel_node; }; v2.getLength = function () { var v3 = 0; var v2 = this.getListIterator(); while (v2.hasNext()) { ++v3; v2.next(); } return v3; }; v2.clear = function () { this.sentinel_node.next = this.sentinel_node; this.sentinel_node.previous = this.sentinel_node; }; v2.clone = function () { var v2 = new maelstrom.collections.LinkedList(); v2.insertAll(0, this); return v2; }; v2.getListIterator = function () { return new maelstrom.collections.ListIterator(this.sentinel_node, this.sentinel_node); }; v2.contains = function (elem) { var v2 = this.getListNodeAtElement(elem); return (v2 == null) ? false : true; }; v2.at = function (ix) { var v2 = this.getListNodeAtIndex(ix); return v2.element; }; v2.addItem = function (elem) { this.pushLast(elem); }; v2.insert = function (ix, elem) { var v2 = this.getListNodeAtIndex(ix); var v3 = new maelstrom.collections.ListNode(v2, v2.previous, elem); v2.previous.next = v3; v2.previous = v3; }; v2.insertAll = function (ix, ll) { var v2; try { v2 = this.getListNodeAtIndex(ix); } catch (v0) { if (maelstrom.language.IndexOutOfBoundsException(v0) != null) { var exc = maelstrom.language.IndexOutOfBoundsException(v0); if (ix == this.getLength()) { v2 = this.sentinel_node; } else { throw exc; } } else { throw v0; } } if (ll == null) { throw new maelstrom.language.NullPointerException('ll == null'); } var v4 = ll.getListIterator(); while (v4.hasNext()) { var v3 = new maelstrom.collections.ListNode(v2, v2.previous, v4.next()); v2.previous.next = v3; v2.previous = v3; } }; v2.pushFirst = function (elem) { if (elem === undefined) { throw new maelstrom.language.UndefinedPointerException('elem === undefined'); } var v2 = new maelstrom.collections.ListNode(this.sentinel_node.next, this.sentinel_node, elem); this.sentinel_node.next.previous = v2; this.sentinel_node.next = v2; }; v2.pushLast = function (elem) { if (elem === undefined) { throw new maelstrom.language.UndefinedPointerException('elem === undefined'); } var v2 = new maelstrom.collections.ListNode(this.sentinel_node, this.sentinel_node.previous, elem); this.sentinel_node.previous.next = v2; this.sentinel_node.previous = v2; }; v2.remove = function (ix) { return (this.removeListNode(this.getListNodeAtIndex(ix))).element; }; v2.removeItem = function (elem) { var v2 = this.getListNodeAtElement(elem); if (v2 == null) { return false; } else { this.removeListNode(v2); return true; } }; v2.popFirst = function () { if (this.isEmpty()) { throw new maelstrom.collections.NoSuchElementException('isEmpty()'); } else { return (this.removeListNode(this.sentinel_node.next)).element; } }; v2.popLast = function () { if (this.isEmpty()) { throw new maelstrom.collections.NoSuchElementException('isEmpty()'); } else { return (this.removeListNode(this.sentinel_node.previous)).element; } }; v2.first = function () { if (this.isEmpty()) { throw new maelstrom.collections.NoSuchElementException('isEmpty()'); } else { return this.sentinel_node.next.element; } }; v2.last = function () { if (this.isEmpty()) { throw new maelstrom.collections.NoSuchElementException('isEmpty()'); } else { return this.sentinel_node.previous.element; } }; v2.getListNodeAtElement = function (elem) { if (elem === undefined) { throw new maelstrom.language.UndefinedPointerException('elem === undefined'); } var v2 = this.sentinel_node.next; while (v2 != this.sentinel_node) { if (v2.element === elem) { return v2; } v2 = v2.next; } return null; }; v2.getListNodeAtIndex = function (ix) { if (ix == null) { throw new maelstrom.language.NullPointerException('ix == null'); } else { if (ix < 0 || ix >= this.getLength()) { throw new maelstrom.language.IndexOutOfBoundsException('ix < 0 || ix >= getLength()'); } } var v3 = this.sentinel_node.next; var v2 = 0; while (v2 < ix) { v3 = v3.next; ++v2; } return v3; }; v2.removeListNode = function (nd) { nd.next.previous = nd.previous; nd.previous.next = nd.next; return nd; }; ASSetPropFlags(maelstrom.collections.LinkedList.prototype, null, 1); } #endinitclip } movieClip 1888 __Packages.maelstrom.collections.ListNode { #initclip if (!_global.maelstrom) { _global.maelstrom = new Object(); } if (!_global.maelstrom.collections) { _global.maelstrom.collections = new Object(); } if (!_global.maelstrom.collections.ListNode) { var v1 = function () { if (arguments.length == 1) { if (arguments[0] === undefined) { throw new maelstrom.language.NullPointerException('arguments[0] === undefined'); } this.element = arguments[0]; } else { if (arguments.length == 3) { if (arguments[0] == null || arguments[1] == null || arguments[2] === undefined) { throw new maelstrom.language.NullPointerException('arguments[0] == null || arguments[1] == null || arguments[2] === undefined'); } this.next = arguments[0]; this.previous = arguments[1]; this.element = arguments[2]; } } }; maelstrom.collections.ListNode = v1; var v2 = v1.prototype; v2.toString = function () { return 'ListNode'; }; v2.next = null; v2.previous = null; v2.element = null; ASSetPropFlags(maelstrom.collections.ListNode.prototype, null, 1); } #endinitclip } movieClip 1889 __Packages.maelstrom.collections.ListIterator { #initclip if (!_global.maelstrom) { _global.maelstrom = new Object(); } if (!_global.maelstrom.collections) { _global.maelstrom.collections = new Object(); } if (!_global.maelstrom.collections.ListIterator) { var v1 = function (bgn, e) { if (bgn == null || e == null) { throw new maelstrom.language.NullPointerException('bgn == null || e == null'); } this.begin_node = bgn; this.end_node = e; this.index_node = new maelstrom.collections.ListNode(this.begin_node.next, this.begin_node, null); this.temporary_node = null; }; maelstrom.collections.ListIterator = v1; var v2 = v1.prototype; v2.hasNext = function () { return this.index_node.next != this.end_node; }; v2.next = function () { if (this.hasNext()) { var v2 = this.index_node.next; this.index_node.next = v2.next; this.index_node.previous = v2; this.temporary_node = v2; return this.temporary_node.element; } else { throw new maelstrom.collections.NoSuchElementException('!hasNext()'); } }; v2.hasPrevious = function () { return this.index_node.previous != this.begin_node; }; v2.previous = function () { if (this.hasPrevious()) { var v2 = this.index_node.previous; this.index_node.next = v2; this.index_node.previous = v2.previous; this.temporary_node = v2; return this.temporary_node.element; } else { throw new maelstrom.collections.NoSuchElementException('!hasPrevious()'); } }; v2.insert = function (elem) { var v2 = new maelstrom.collections.ListNode(elem); if (this.hasPrevious()) { var v3 = this.index_node.previous; v2.next = v3.next; v2.previous = v3; v3.next.previous = v2; v3.next = v2; } else { var v4 = this.index_node.next; v2.next = v4; v2.previous = v4.previous; v4.previous.next = v2; v4.previous = v2; } this.index_node.previous = v2; this.temporary_node = null; }; v2.remove = function () { if (this.temporary_node == null) { throw new maelstrom.language.IllegalStateException('temporary_node == null'); } else { this.temporary_node.next.previous = this.temporary_node.previous; this.temporary_node.previous.next = this.temporary_node.next; this.temporary_node = null; } }; ASSetPropFlags(maelstrom.collections.ListIterator.prototype, null, 1); } #endinitclip } movieClip 1890 __Packages.maelstrom.collections.NoSuchElementException { #initclip if (!_global.maelstrom) { _global.maelstrom = new Object(); } if (!_global.maelstrom.collections) { _global.maelstrom.collections = new Object(); } if (!_global.maelstrom.collections.NoSuchElementException) { var v1 = function (msg) { super(msg); this.name = 'NoSuchElementException'; }; maelstrom.collections.NoSuchElementException = v1; maelstrom.collections.NoSuchElementException extends Error; var v2 = v1.prototype; v2.toString = function () { return '**' + this.name + '** : ' + this.message; }; ASSetPropFlags(maelstrom.collections.NoSuchElementException.prototype, null, 1); } #endinitclip } movieClip 1891 __Packages.maelstrom.language.IllegalStateException { #initclip if (!_global.maelstrom) { _global.maelstrom = new Object(); } if (!_global.maelstrom.language) { _global.maelstrom.language = new Object(); } if (!_global.maelstrom.language.IllegalStateException) { var v1 = function (msg) { super(msg); this.name = 'IllegalStateException'; }; maelstrom.language.IllegalStateException = v1; maelstrom.language.IllegalStateException extends Error; var v2 = v1.prototype; v2.toString = function () { return '**' + this.name + '** : ' + this.message; }; ASSetPropFlags(maelstrom.language.IllegalStateException.prototype, null, 1); } #endinitclip } movieClip 1892 __Packages.maelstrom.language.IndexOutOfBoundsException { #initclip if (!_global.maelstrom) { _global.maelstrom = new Object(); } if (!_global.maelstrom.language) { _global.maelstrom.language = new Object(); } if (!_global.maelstrom.language.IndexOutOfBoundsException) { var v1 = function (msg) { super(msg); this.name = 'IndexOutOfBoundsException'; }; maelstrom.language.IndexOutOfBoundsException = v1; maelstrom.language.IndexOutOfBoundsException extends Error; var v2 = v1.prototype; v2.toString = function () { return '**' + this.name + '** : ' + this.message; }; ASSetPropFlags(maelstrom.language.IndexOutOfBoundsException.prototype, null, 1); } #endinitclip } movieClip 1893 __Packages.seh.triangle.action.hit.HitData { #initclip if (!_global.seh) { _global.seh = new Object(); } if (!_global.seh.triangle) { _global.seh.triangle = new Object(); } if (!_global.seh.triangle.action) { _global.seh.triangle.action = new Object(); } if (!_global.seh.triangle.action.hit) { _global.seh.triangle.action.hit = new Object(); } if (!_global.seh.triangle.action.hit.HitData) { _global.seh.triangle.action.hit.HitData = function () {}; } #endinitclip } movieClip 1894 __Packages.seh.triangle.action.hit.HitType { #initclip if (!_global.seh) { _global.seh = new Object(); } if (!_global.seh.triangle) { _global.seh.triangle = new Object(); } if (!_global.seh.triangle.action) { _global.seh.triangle.action = new Object(); } if (!_global.seh.triangle.action.hit) { _global.seh.triangle.action.hit = new Object(); } if (!_global.seh.triangle.action.hit.HitType) { var v1 = function (nme, ord) { super(nme, ord); }; seh.triangle.action.hit.HitType = v1; seh.triangle.action.hit.HitType extends maelstrom.language.EnumeratedType; var v2 = v1.prototype; v1.PLAYER_ATTACK = new seh.triangle.action.hit.HitType('PlAYER_ATTACK', -1); v1.ENEMY_ATTACK = new seh.triangle.action.hit.HitType('ENEMY_ATTACK', -2); v1.ENEMY_MOVE = new seh.triangle.action.hit.HitType('ENEMY_MOVE', -3); v1.ENEMY_SENSE = new seh.triangle.action.hit.HitType('ENEMY_SENSE', -4); v1.PLAYER_MOVE = new seh.triangle.action.hit.HitType('PLAYER_MOVE', 0); v1.PLAYER_DAMAGE = new seh.triangle.action.hit.HitType('PLAYER_DAMAGE', 1); v1.ENEMY_DAMAGE = new seh.triangle.action.hit.HitType('ENEMY_DAMAGE', 2); v1.OBSTACLE = new seh.triangle.action.hit.HitType('OBSTACLE', 3); v1.LEVEL_EXIT = new seh.triangle.action.hit.HitType('LEVEL_EXIT', 4); v1.EVENT = new seh.triangle.action.hit.HitType('EVENT', 5); ASSetPropFlags(seh.triangle.action.hit.HitType.prototype, null, 1); } #endinitclip } movieClip 1895 __Packages.maelstrom.hit.HitArea { #initclip if (!_global.maelstrom) { _global.maelstrom = new Object(); } if (!_global.maelstrom.hit) { _global.maelstrom.hit = new Object(); } if (!_global.maelstrom.hit.HitArea) { _global.maelstrom.hit.HitArea = function () {}; } #endinitclip } movieClip 1896 __Packages.maelstrom.hit.Point { #initclip if (!_global.maelstrom) { _global.maelstrom = new Object(); } if (!_global.maelstrom.hit) { _global.maelstrom.hit = new Object(); } if (!_global.maelstrom.hit.Point) { var v1 = function () { if (arguments.length == 2) { if (arguments[0] == null || arguments[1] == null) { throw new maelstrom.language.NullPointerException('arguments[0] == null || arguments[1] == null'); } this.x = arguments[0]; this.y = arguments[1]; } }; maelstrom.hit.Point = v1; var v2 = v1.prototype; _global.maelstrom.hit.Point implements _global.maelstrom.hit.HitArea; v2.toString = function () { return 'Point'; }; v2.checkHitArea = function (ha) { if (ha == null) { throw new maelstrom.language.NullPointerException('ha == null'); } return ha.dispatchPoint(this); }; v2.dispatchPoint = function (pt) { if (pt == this) { return true; } else { if (this.x == pt.x && this.y == pt.y) { return true; } else { return false; } } }; v2.dispatchRectangle = function (rect) { if (rect.__get__left() <= this.x && this.x <= rect.__get__right() && rect.__get__top() <= this.y && this.y <= rect.__get__bottom()) { return true; } else { return false; } }; v2.dispatchCircle = function (circ) { var v3 = this.x - circ.x; var v2 = this.y - circ.y; if (v3 * v3 + v2 * v2 <= circ.square_radius) { return true; } else { return false; } }; v2.dispatchBoundingBox = function (bndbx) { if (!bndbx.enabled) { return false; } else { return bndbx.hitTest(this.x, this.y, false); } }; v2.dispatchLineSegment = function (lseg) { throw new maelstrom.language.NotImplementedException('maelstrom.hit.Point::dispatchLineSegment(LineSegment)'); return false; }; v2.dispatchLogicalAND = function (logand) { var v3 = logand.getOperands(); var v4 = v3.length; var v2 = 0; while (v2 < v4) { if (!v3[v2].dispatchPoint(this)) { return false; } ++v2; } return true; }; v2.dispatchLogicalNOT = function (lognot) { return !(lognot.getOperand()).dispatchPoint(this); }; v2.dispatchLogicalOR = function (logor) { var v3 = logor.getOperands(); var v4 = v3.length; var v2 = 0; while (v2 < v4) { if (v3[v2].dispatchPoint(this)) { return true; } ++v2; } return false; }; v2.x = 0; v2.y = 0; ASSetPropFlags(maelstrom.hit.Point.prototype, null, 1); } #endinitclip } movieClip 1897 __Packages.maelstrom.hit.Rectangle { #initclip if (!_global.maelstrom) { _global.maelstrom = new Object(); } if (!_global.maelstrom.hit) { _global.maelstrom.hit = new Object(); } if (!_global.maelstrom.hit.Rectangle) { var v1 = function () { super(); if (arguments.length == 4) { if (arguments[0] == null || arguments[1] == null || arguments[2] == null || arguments[3] == null) { throw new maelstrom.language.NullPointerException('arguments[0] == null || arguments[1] == null || arguments[2] == null || arguments[3] == null'); } this.x = arguments[0]; this.y = arguments[1]; this.width = arguments[2]; this.height = arguments[3]; } }; maelstrom.hit.Rectangle = v1; maelstrom.hit.Rectangle extends maelstrom.hit.Point; var v2 = v1.prototype; v2.toString = function () { return 'Rectangle'; }; v2.__get__top = function () { return this.y; }; v2.__get__bottom = function () { return this.y + this.height; }; v2.__get__left = function () { return this.x; }; v2.__get__right = function () { return this.x + this.width; }; v2.checkHitArea = function (ha) { if (ha == null) { throw new maelstrom.language.NullPointerException('ha == null'); } return ha.dispatchRectangle(this); }; v2.dispatchPoint = function (pt) { if (this.__get__left() <= pt.x && pt.x <= this.__get__right() && this.__get__top() <= pt.y && pt.y <= this.__get__bottom()) { return true; } else { return false; } }; v2.dispatchRectangle = function (rect) { if (this.__get__left() <= rect.__get__right() && this.__get__right() >= rect.__get__left() && this.__get__top() <= rect.__get__bottom() && this.__get__bottom() >= rect.__get__top()) { return true; } else { return false; } }; v2.dispatchCircle = function (circ) { throw new maelstrom.language.NotImplementedException('maelstrom.hit.Rectangle::dispatchCircle(Circle)'); return false; }; v2.dispatchBoundingBox = function (bndbx) { if (!bndbx.enabled) { return false; } var v2 = new flash.geom.Point(bndbx._x, bndbx._y); bndbx._parent.localToGlobal(v2); if (this.__get__left() <= v2.x + bndbx._width && this.__get__right() >= v2.x && this.__get__top() <= v2.y + bndbx._height && this.__get__bottom() >= v2.y) { return true; } else { return false; } }; v2.dispatchLineSegment = function (lseg) { var v3 = new flash.geom.Point(); var v6 = new flash.geom.Point(); var v4 = lseg.getPointA(); var v7 = lseg.getPointB(); var v5 = new maelstrom.geometry.Vector2D(); var v2 = new maelstrom.geometry.Vector2D(); var v11; var v10; var v9; var v8; v3.x = this.left; v3.y = this.top; v6.x = this.right; v6.y = this.top; v5.x = v6.x - v3.x; v5.y = v6.y - v3.y; v2.x = v4.x - v3.x; v2.y = v4.y - v3.y; v11 = v5.cross(v2); v2.x = v7.x - v3.x; v2.y = v7.y - v3.y; v10 = v5.cross(v2); v5.x = v7.x - v4.x; v5.y = v7.y - v4.y; v2.x = v3.x - v4.x; v2.y = v3.y - v4.y; v9 = v5.cross(v2); v2.x = v6.x - v4.x; v2.y = v6.y - v4.y; v8 = v5.cross(v2); if (v11 * v10 <= 0 && v9 * v8 <= 0) { return true; } v3.x = this.left; v3.y = this.bottom; v6.x = this.right; v6.y = this.bottom; v5.x = v6.x - v3.x; v5.y = v6.y - v3.y; v2.x = v4.x - v3.x; v2.y = v4.y - v3.y; v11 = v5.cross(v2); v2.x = v7.x - v3.x; v2.y = v7.y - v3.y; v10 = v5.cross(v2); v5.x = v7.x - v4.x; v5.y = v7.y - v4.y; v2.x = v3.x - v4.x; v2.y = v3.y - v4.y; v9 = v5.cross(v2); v2.x = v6.x - v4.x; v2.y = v6.y - v4.y; v8 = v5.cross(v2); if (v11 * v10 <= 0 && v9 * v8 <= 0) { return true; } v3.x = this.left; v3.y = this.top; v6.x = this.left; v6.y = this.bottom; v5.x = v6.x - v3.x; v5.y = v6.y - v3.y; v2.x = v4.x - v3.x; v2.y = v4.y - v3.y; v11 = v5.cross(v2); v2.x = v7.x - v3.x; v2.y = v7.y - v3.y; v10 = v5.cross(v2); v5.x = v7.x - v4.x; v5.y = v7.y - v4.y; v2.x = v3.x - v4.x; v2.y = v3.y - v4.y; v9 = v5.cross(v2); v2.x = v6.x - v4.x; v2.y = v6.y - v4.y; v8 = v5.cross(v2); if (v11 * v10 <= 0 && v9 * v8 <= 0) { return true; } v3.x = this.right; v3.y = this.top; v6.x = this.right; v6.y = this.bottom; v5.x = v6.x - v3.x; v5.y = v6.y - v3.y; v2.x = v4.x - v3.x; v2.y = v4.y - v3.y; v11 = v5.cross(v2); v2.x = v7.x - v3.x; v2.y = v7.y - v3.y; v10 = v5.cross(v2); v5.x = v7.x - v4.x; v5.y = v7.y - v4.y; v2.x = v3.x - v4.x; v2.y = v3.y - v4.y; v9 = v5.cross(v2); v2.x = v6.x - v4.x; v2.y = v6.y - v4.y; v8 = v5.cross(v2); if (v11 * v10 <= 0 && v9 * v8 <= 0) { return true; } return false; }; v2.dispatchLogicalAND = function (logand) { var v3 = logand.getOperands(); var v4 = v3.length; var v2 = 0; while (v2 < v4) { if (!v3[v2].dispatchRectangle(this)) { return false; } ++v2; } return true; }; v2.dispatchLogicalNOT = function (lognot) { return !(lognot.getOperand()).dispatchRectangle(this); }; v2.dispatchLogicalOR = function (logor) { var v3 = logor.getOperands(); var v4 = v3.length; var v2 = 0; while (v2 < v4) { if (v3[v2].dispatchRectangle(this)) { return true; } ++v2; } return false; }; v2.width = 0; v2.height = 0; v2.addProperty('bottom', v2.__get__bottom, function () {}); v2.addProperty('left', v2.__get__left, function () {}); v2.addProperty('right', v2.__get__right, function () {}); v2.addProperty('top', v2.__get__top, function () {}); ASSetPropFlags(maelstrom.hit.Rectangle.prototype, null, 1); } #endinitclip } movieClip 1898 __Packages.maelstrom.hit.Circle { #initclip if (!_global.maelstrom) { _global.maelstrom = new Object(); } if (!_global.maelstrom.hit) { _global.maelstrom.hit = new Object(); } if (!_global.maelstrom.hit.Circle) { var v1 = function () { super(); if (arguments.length == 3) { if (arguments[0] == null || arguments[1] == null || arguments[2] == null) { throw new maelstrom.language.NullPointerException('arguments[0] == null || arguments[1] == null || arguments[2] == null'); } this.x = arguments[0]; this.y = arguments[1]; this.radius = arguments[2]; this.square_radius = this.radius * this.radius; } }; maelstrom.hit.Circle = v1; maelstrom.hit.Circle extends maelstrom.hit.Point; var v2 = v1.prototype; v2.toString = function () { return 'Circle'; }; v2.checkHitArea = function (ha) { if (ha == null) { throw new maelstrom.language.NullPointerException('ha == null'); } return ha.dispatchCircle(this); }; v2.dispatchPoint = function (pt) { var v3 = this.x - pt.x; var v2 = this.y - pt.y; if (v3 * v3 + v2 * v2 <= this.square_radius) { return true; } else { return false; } }; v2.dispatchCircle = function (circ) { throw new maelstrom.language.NotImplementedException('maelstrom.hit.Circle::dispatchCircle(Circle)'); return false; }; v2.dispatchBoundingBox = function (bndbx) { throw new maelstrom.language.NotImplementedException('maelstrom.hit.Circle::dispatchBoundingBox(BoundingBox)'); return false; }; v2.dispatchLineSegment = function (lseg) { throw new maelstrom.language.NotImplementedException('maelstrom.hit.Circle::dispatchLineSegment(LineSegment)'); return false; }; v2.dispatchLogicalAND = function (logand) { var v3 = logand.getOperands(); var v4 = v3.length; var v2 = 0; while (v2 < v4) { if (!v3[v2].dispatchCircle(this)) { return false; } ++v2; } return true; }; v2.dispatchLogicalNOT = function (lognot) { return !(lognot.getOperand()).dispatchCircle(this); }; v2.dispatchLogicalOR = function (logor) { var v3 = logor.getOperands(); var v4 = v3.length; var v2 = 0; while (v2 < v4) { if (v3[v2].dispatchCircle(this)) { return true; } ++v2; } return false; }; v2.radius = 0; v2.square_radius = 0; ASSetPropFlags(maelstrom.hit.Circle.prototype, null, 1); } #endinitclip } movieClip 1899 __Packages.maelstrom.language.NotImplementedException { #initclip if (!_global.maelstrom) { _global.maelstrom = new Object(); } if (!_global.maelstrom.language) { _global.maelstrom.language = new Object(); } if (!_global.maelstrom.language.NotImplementedException) { var v1 = function (msg) { super(msg); this.name = 'NotImplementedException'; }; maelstrom.language.NotImplementedException = v1; maelstrom.language.NotImplementedException extends Error; var v2 = v1.prototype; v2.toString = function () { return '**' + this.name + '** : ' + this.message; }; ASSetPropFlags(maelstrom.language.NotImplementedException.prototype, null, 1); } #endinitclip } movieClip 1900 __Packages.maelstrom.hit.BoundingBox { #initclip if (!_global.maelstrom) { _global.maelstrom = new Object(); } if (!_global.maelstrom.hit) { _global.maelstrom.hit = new Object(); } if (!_global.maelstrom.hit.BoundingBox) { var v1 = function () { super(); }; maelstrom.hit.BoundingBox = v1; maelstrom.hit.BoundingBox extends MovieClip; var v2 = v1.prototype; _global.maelstrom.hit.BoundingBox implements _global.maelstrom.hit.HitArea; v2.toString = function () { return 'BoundingBox'; }; v2.checkHitArea = function (ha) { if (ha == null) { throw new maelstrom.language.NullPointerException('ha == null'); } return ha.dispatchBoundingBox(this); }; v2.dispatchPoint = function (pt) { if (!this.enabled) { return false; } else { return this.hitTest(pt.x, pt.y, false); } }; v2.dispatchRectangle = function (rect) { if (!this.enabled) { return false; } var v2 = new flash.geom.Point(this._x, this._y); this._parent.localToGlobal(v2); if (v2.x <= rect.__get__right() && v2.x + this._width >= rect.__get__left() && v2.y <= rect.__get__bottom() && v2.y + this._height >= rect.__get__top()) { return true; } else { return false; } }; v2.dispatchCircle = function (circ) { throw new maelstrom.language.NotImplementedException('maelstrom.hit.BooundingBox::dispatchCircle(Circle)'); return false; }; v2.dispatchBoundingBox = function (bndbx) { if (!this.enabled || !bndbx.enabled) { return false; } else { return (bndbx == this) ? true : this.hitTest(bndbx); } }; v2.dispatchLineSegment = function (lseg) { if (!this.enabled) { return false; } var v3 = new flash.geom.Point(); var v6 = new flash.geom.Point(); var v4 = lseg.getPointA(); var v8 = lseg.getPointB(); var v7 = new flash.geom.Point(this._x, this._y); this._parent.localToGlobal(v7); var v5 = new maelstrom.geometry.Vector2D(); var v2 = new maelstrom.geometry.Vector2D(); var v12; var v11; var v10; var v9; v3.x = v7.x; v3.y = v7.y; v6.x = v7.x + this._width; v6.y = v7.y; v5.x = v6.x - v3.x; v5.y = v6.y - v3.y; v2.x = v4.x - v3.x; v2.y = v4.y - v3.y; v12 = v5.cross(v2); v2.x = v8.x - v3.x; v2.y = v8.y - v3.y; v11 = v5.cross(v2); v5.x = v8.x - v4.x; v5.y = v8.y - v4.y; v2.x = v3.x - v4.x; v2.y = v3.y - v4.y; v10 = v5.cross(v2); v2.x = v6.x - v4.x; v2.y = v6.y - v4.y; v9 = v5.cross(v2); if (v12 * v11 <= 0 && v10 * v9 <= 0) { return true; } v3.x = v7.x; v3.y = v7.y + this._height; v6.x = v7.x + this._width; v6.y = v7.y + this._height; v5.x = v6.x - v3.x; v5.y = v6.y - v3.y; v2.x = v4.x - v3.x; v2.y = v4.y - v3.y; v12 = v5.cross(v2); v2.x = v8.x - v3.x; v2.y = v8.y - v3.y; v11 = v5.cross(v2); v5.x = v8.x - v4.x; v5.y = v8.y - v4.y; v2.x = v3.x - v4.x; v2.y = v3.y - v4.y; v10 = v5.cross(v2); v2.x = v6.x - v4.x; v2.y = v6.y - v4.y; v9 = v5.cross(v2); if (v12 * v11 <= 0 && v10 * v9 <= 0) { return true; } v3.x = v7.x; v3.y = v7.y; v6.x = v7.x; v6.y = v7.y + this._height; v5.x = v6.x - v3.x; v5.y = v6.y - v3.y; v2.x = v4.x - v3.x; v2.y = v4.y - v3.y; v12 = v5.cross(v2); v2.x = v8.x - v3.x; v2.y = v8.y - v3.y; v11 = v5.cross(v2); v5.x = v8.x - v4.x; v5.y = v8.y - v4.y; v2.x = v3.x - v4.x; v2.y = v3.y - v4.y; v10 = v5.cross(v2); v2.x = v6.x - v4.x; v2.y = v6.y - v4.y; v9 = v5.cross(v2); if (v12 * v11 <= 0 && v10 * v9 <= 0) { return true; } v3.x = v7.x + this._width; v3.y = v7.y; v6.x = v7.x + this._width; v6.y = v7.y + this._height; v5.x = v6.x - v3.x; v5.y = v6.y - v3.y; v2.x = v4.x - v3.x; v2.y = v4.y - v3.y; v12 = v5.cross(v2); v2.x = v8.x - v3.x; v2.y = v8.y - v3.y; v11 = v5.cross(v2); v5.x = v8.x - v4.x; v5.y = v8.y - v4.y; v2.x = v3.x - v4.x; v2.y = v3.y - v4.y; v10 = v5.cross(v2); v2.x = v6.x - v4.x; v2.y = v6.y - v4.y; v9 = v5.cross(v2); if (v12 * v11 <= 0 && v10 * v9 <= 0) { return true; } return false; }; v2.dispatchLogicalAND = function (logand) { var v3 = logand.getOperands(); var v4 = v3.length; var v2 = 0; while (v2 < v4) { if (!v3[v2].dispatchBoundingBox(this)) { return false; } ++v2; } return true; }; v2.dispatchLogicalNOT = function (lognot) { return !(lognot.getOperand()).dispatchBoundingBox(this); }; v2.dispatchLogicalOR = function (logor) { var v3 = logor.getOperands(); var v4 = v3.length; var v2 = 0; while (v2 < v4) { if (v3[v2].dispatchBoundingBox(this)) { return true; } ++v2; } return false; }; v1.LINKAGE_ID = '__Packages.maelstrom.hit.BoundingBox'; v1.CONSTRUCTOR = maelstrom.hit.BoundingBox; v1.IS_REGISTERED = Object.registerClass(maelstrom.hit.BoundingBox.LINKAGE_ID, maelstrom.hit.BoundingBox.CONSTRUCTOR); ASSetPropFlags(maelstrom.hit.BoundingBox.prototype, null, 1); } #endinitclip } movieClip 1901 __Packages.maelstrom.hit.LineSegment { #initclip if (!_global.maelstrom) { _global.maelstrom = new Object(); } if (!_global.maelstrom.hit) { _global.maelstrom.hit = new Object(); } if (!_global.maelstrom.hit.LineSegment) { var v1 = function () { this.a_point = new flash.geom.Point(); this.b_point = new flash.geom.Point(); }; maelstrom.hit.LineSegment = v1; var v2 = v1.prototype; _global.maelstrom.hit.LineSegment implements _global.maelstrom.hit.HitArea; v2.toString = function () { return 'LineSegment'; }; v2.getPointA = function () { return this.a_point; }; v2.setPointA = function (x, y) { if (x == null || y == null) { throw new maelstrom.language.NullPointerException('x == null || y == null'); } this.a_point.x = x; this.a_point.y = y; }; v2.getPointB = function () { return this.b_point; }; v2.setPointB = function (x, y) { if (x == null || y == null) { throw new maelstrom.language.NullPointerException('x == null || y == null'); } this.b_point.x = x; this.b_point.y = y; }; v2.checkHitArea = function (ha) { if (ha == null) { throw new maelstrom.language.NullPointerException('ha == null'); } return ha.dispatchLineSegment(this); }; v2.dispatchPoint = function (pt) { throw new maelstrom.language.NotImplementedException('maelstrom.hit.LineSegment::dispatchPoint(Point)'); return false; }; v2.dispatchRectangle = function (rect) { var v4 = this.a_point; var v7 = this.b_point; var v3 = new flash.geom.Point(); var v6 = new flash.geom.Point(); var v5 = new maelstrom.geometry.Vector2D(); var v2 = new maelstrom.geometry.Vector2D(); var v12; var v11; var v10; var v9; v3.x = rect.left; v3.y = rect.top; v6.x = rect.right; v6.y = rect.top; v5.x = v7.x - v4.x; v5.y = v7.y - v4.y; v2.x = v3.x - v4.x; v2.y = v3.y - v4.y; v12 = v5.cross(v2); v2.x = v6.x - v4.x; v2.y = v6.y - v4.y; v11 = v5.cross(v2); v5.x = v6.x - v3.x; v5.y = v6.y - v3.y; v2.x = v4.x - v3.x; v2.y = v4.y - v3.y; v10 = v5.cross(v2); v2.x = v7.x - v3.x; v2.y = v7.y - v3.y; v9 = v5.cross(v2); if (v12 * v11 <= 0 && v10 * v9 <= 0) { return true; } v3.x = rect.left; v3.y = rect.bottom; v6.x = rect.right; v6.y = rect.bottom; v5.x = v7.x - v4.x; v5.y = v7.y - v4.y; v2.x = v3.x - v4.x; v2.y = v3.y - v4.y; v12 = v5.cross(v2); v2.x = v6.x - v4.x; v2.y = v6.y - v4.y; v11 = v5.cross(v2); v5.x = v6.x - v3.x; v5.y = v6.y - v3.y; v2.x = v4.x - v3.x; v2.y = v4.y - v3.y; v10 = v5.cross(v2); v2.x = v7.x - v3.x; v2.y = v7.y - v3.y; v9 = v5.cross(v2); if (v12 * v11 <= 0 && v10 * v9 <= 0) { return true; } v3.x = rect.left; v3.y = rect.top; v6.x = rect.left; v6.y = rect.bottom; v5.x = v7.x - v4.x; v5.y = v7.y - v4.y; v2.x = v3.x - v4.x; v2.y = v3.y - v4.y; v12 = v5.cross(v2); v2.x = v6.x - v4.x; v2.y = v6.y - v4.y; v11 = v5.cross(v2); v5.x = v6.x - v3.x; v5.y = v6.y - v3.y; v2.x = v4.x - v3.x; v2.y = v4.y - v3.y; v10 = v5.cross(v2); v2.x = v7.x - v3.x; v2.y = v7.y - v3.y; v9 = v5.cross(v2); if (v12 * v11 <= 0 && v10 * v9 <= 0) { return true; } v3.x = rect.right; v3.y = rect.top; v6.x = rect.right; v6.y = rect.bottom; v5.x = v7.x - v4.x; v5.y = v7.y - v4.y; v2.x = v3.x - v4.x; v2.y = v3.y - v4.y; v12 = v5.cross(v2); v2.x = v6.x - v4.x; v2.y = v6.y - v4.y; v11 = v5.cross(v2); v5.x = v6.x - v3.x; v5.y = v6.y - v3.y; v2.x = v4.x - v3.x; v2.y = v4.y - v3.y; v10 = v5.cross(v2); v2.x = v7.x - v3.x; v2.y = v7.y - v3.y; v9 = v5.cross(v2); if (v12 * v11 <= 0 && v10 * v9 <= 0) { return true; } return false; }; v2.dispatchCircle = function (circ) { throw new maelstrom.language.NotImplementedException('maelstrom.hit.LineSegment::dispatchCircle(Circle)'); return false; }; v2.dispatchBoundingBox = function (bndbx) { if (!bndbx.enabled) { return false; } var v4 = this.a_point; var v8 = this.b_point; var v3 = new flash.geom.Point(); var v6 = new flash.geom.Point(); var v7 = new flash.geom.Point(bndbx._x, bndbx._y); bndbx._parent.localToGlobal(v7); var v5 = new maelstrom.geometry.Vector2D(); var v2 = new maelstrom.geometry.Vector2D(); var v13; var v12; var v11; var v10; v3.x = v7.x; v3.y = v7.y; v6.x = v7.x + bndbx._width; v6.y = v7.y; v5.x = v8.x - v4.x; v5.y = v8.y - v4.y; v2.x = v3.x - v4.x; v2.y = v3.y - v4.y; v13 = v5.cross(v2); v2.x = v6.x - v4.x; v2.y = v6.y - v4.y; v12 = v5.cross(v2); v5.x = v6.x - v3.x; v5.y = v6.y - v3.y; v2.x = v4.x - v3.x; v2.y = v4.y - v3.y; v11 = v5.cross(v2); v2.x = v8.x - v3.x; v2.y = v8.y - v3.y; v10 = v5.cross(v2); if (v13 * v12 <= 0 && v11 * v10 <= 0) { return true; } v3.x = v7.x; v3.y = v7.y + bndbx._height; v6.x = v7.x + bndbx._width; v6.y = v7.y + bndbx._height; v5.x = v8.x - v4.x; v5.y = v8.y - v4.y; v2.x = v3.x - v4.x; v2.y = v3.y - v4.y; v13 = v5.cross(v2); v2.x = v6.x - v4.x; v2.y = v6.y - v4.y; v12 = v5.cross(v2); v5.x = v6.x - v3.x; v5.y = v6.y - v3.y; v2.x = v4.x - v3.x; v2.y = v4.y - v3.y; v11 = v5.cross(v2); v2.x = v8.x - v3.x; v2.y = v8.y - v3.y; v10 = v5.cross(v2); if (v13 * v12 <= 0 && v11 * v10 <= 0) { return true; } v3.x = v7.x; v3.y = v7.y; v6.x = v7.x; v6.y = v7.y + bndbx._height; v5.x = v8.x - v4.x; v5.y = v8.y - v4.y; v2.x = v3.x - v4.x; v2.y = v3.y - v4.y; v13 = v5.cross(v2); v2.x = v6.x - v4.x; v2.y = v6.y - v4.y; v12 = v5.cross(v2); v5.x = v6.x - v3.x; v5.y = v6.y - v3.y; v2.x = v4.x - v3.x; v2.y = v4.y - v3.y; v11 = v5.cross(v2); v2.x = v8.x - v3.x; v2.y = v8.y - v3.y; v10 = v5.cross(v2); if (v13 * v12 <= 0 && v11 * v10 <= 0) { return true; } v3.x = v7.x + bndbx._width; v3.y = v7.y; v6.x = v7.x + bndbx._width; v6.y = v7.y + bndbx._height; v5.x = v8.x - v4.x; v5.y = v8.y - v4.y; v2.x = v3.x - v4.x; v2.y = v3.y - v4.y; v13 = v5.cross(v2); v2.x = v6.x - v4.x; v2.y = v6.y - v4.y; v12 = v5.cross(v2); v5.x = v6.x - v3.x; v5.y = v6.y - v3.y; v2.x = v4.x - v3.x; v2.y = v4.y - v3.y; v11 = v5.cross(v2); v2.x = v8.x - v3.x; v2.y = v8.y - v3.y; v10 = v5.cross(v2); if (v13 * v12 <= 0 && v11 * v10 <= 0) { return true; } return false; }; v2.dispatchLineSegment = function (lseg) { if (lseg == this) { return true; } else { var v4 = this.a_point; var v7 = this.b_point; var v3 = lseg.a_point; var v6 = lseg.b_point; var v5 = new maelstrom.geometry.Vector2D(); var v2 = new maelstrom.geometry.Vector2D(); v5.x = v7.x - v4.x; v5.y = v7.y - v4.y; v2.x = v3.x - v4.x; v2.y = v3.y - v4.y; var v11 = v5.cross(v2); v2.x = v6.x - v4.x; v2.y = v6.y - v4.y; var v10 = v5.cross(v2); v5.x = v6.x - v3.x; v5.y = v6.y - v3.y; v2.x = v4.x - v3.x; v2.y = v4.y - v3.y; var v9 = v5.cross(v2); v2.x = v7.x - v3.x; v2.y = v7.y - v3.y; var v8 = v5.cross(v2); if (v11 * v10 <= 0 && v9 * v8 <= 0) { return true; } } }; v2.dispatchLogicalAND = function (logand) { var v3 = logand.getOperands(); var v4 = v3.length; var v2 = 0; while (v2 < v4) { if (!v3[v2].dispatchLineSegment(this)) { return false; } ++v2; } return true; }; v2.dispatchLogicalNOT = function (lognot) { return !(lognot.getOperand()).dispatchLineSegment(this); }; v2.dispatchLogicalOR = function (logor) { var v3 = logor.getOperands(); var v4 = v3.length; var v2 = 0; while (v2 < v4) { if (v3[v2].dispatchLineSegment(this)) { return true; } ++v2; } return false; }; ASSetPropFlags(maelstrom.hit.LineSegment.prototype, null, 1); } #endinitclip } movieClip 1902 __Packages.maelstrom.geometry.Vector2D { #initclip if (!_global.maelstrom) { _global.maelstrom = new Object(); } if (!_global.maelstrom.geometry) { _global.maelstrom.geometry = new Object(); } if (!_global.maelstrom.geometry.Vector2D) { var v1 = function () { if (arguments.length == 2) { if (arguments[0] == null || arguments[1] == null) { throw new maelstrom.language.NullPointerException('arguments[0] == null || arguments[1] == null'); } this.x = arguments[0]; this.y = arguments[1]; } }; maelstrom.geometry.Vector2D = v1; var v2 = v1.prototype; v2.toString = function () { return 'Vector2D'; }; v2.equals = function (vec) { return this.x == vec.x && this.y == vec.y; }; v2.getMagnitude = function () { return Math.sqrt(this.x * this.x + this.y * this.y); }; v2.getMagnitudeSquared = function () { return this.x * this.x + this.y * this.y; }; v2.dot = function (vec) { return this.x * vec.x + this.y * vec.y; }; v2.cross = function (vec) { return this.x * vec.y - this.y * vec.x; }; v2.x = 0; v2.y = 0; ASSetPropFlags(maelstrom.geometry.Vector2D.prototype, null, 1); } #endinitclip } movieClip 1903 __Packages.maelstrom.hit.LogicalAND { #initclip if (!_global.maelstrom) { _global.maelstrom = new Object(); } if (!_global.maelstrom.hit) { _global.maelstrom.hit = new Object(); } if (!_global.maelstrom.hit.LogicalAND) { var v1 = function () { this.operands = new Array(); }; maelstrom.hit.LogicalAND = v1; var v2 = v1.prototype; _global.maelstrom.hit.LogicalAND implements _global.maelstrom.hit.HitArea; v2.toString = function () { return 'LogicalAND'; }; v2.getOperands = function () { return this.operands; }; v2.addOperand = function (opd) { if (opd == this) { throw new maelstrom.language.IllegalArgumentException('opd == this'); } this.operands.push(opd); }; v2.removeOperand = function (opd) { if (opd == null) { throw new maelstrom.language.NullPointerException('opd == null'); } var v3 = this.operands; var v4 = v3.length; var v2 = 0; while (v2 < v4) { if (v3[v2] == opd) { v3.splice(v2, 1); } ++v2; } }; v2.checkHitArea = function (ha) { if (ha == null) { throw new maelstrom.language.NullPointerException('ha == null'); } return ha.dispatchLogicalAND(this); }; v2.dispatchPoint = function (pt) { var v3 = this.operands; var v4 = v3.length; var v2 = 0; while (v2 < v4) { if (!v3[v2].dispatchPoint(pt)) { return false; } ++v2; } return true; }; v2.dispatchRectangle = function (rect) { var v3 = this.operands; var v4 = v3.length; var v2 = 0; while (v2 < v4) { if (!v3[v2].dispatchRectangle(rect)) { return false; } ++v2; } return true; }; v2.dispatchCircle = function (circ) { var v3 = this.operands; var v4 = v3.length; var v2 = 0; while (v2 < v4) { if (!v3[v2].dispatchCircle(circ)) { return false; } ++v2; } return true; }; v2.dispatchBoundingBox = function (bndbx) { var v3 = this.operands; var v4 = v3.length; var v2 = 0; while (v2 < v4) { if (!v3[v2].dispatchBoundingBox(bndbx)) { return false; } ++v2; } return true; }; v2.dispatchLineSegment = function (lseg) { var v3 = this.operands; var v4 = v3.length; var v2 = 0; while (v2 < v4) { if (!v3[v2].dispatchLineSegment(lseg)) { return false; } ++v2; } return true; }; v2.dispatchLogicalAND = function (logand) { if (logand == this) { return true; } else { var v3 = this.operands; var v5 = logand.operands; var v4 = v3.length; if (v4 != v5.length) { throw new maelstrom.language.IllegalArgumentException('len != rhsary.length'); } else { var v2 = 0; while (v2 < v4) { if (!v3[v2].checkHitArea(v5[v2])) { return false; } ++v2; } return true; } } }; v2.dispatchLogicalNOT = function (lognot) { return !(lognot.getOperand()).dispatchLogicalAND(this); }; v2.dispatchLogicalOR = function (logor) { throw new maelstrom.language.IllegalArgumentException('logor instanceof LogicalOR'); return undefined; }; ASSetPropFlags(maelstrom.hit.LogicalAND.prototype, null, 1); } #endinitclip } movieClip 1904 __Packages.maelstrom.language.IllegalArgumentException { #initclip if (!_global.maelstrom) { _global.maelstrom = new Object(); } if (!_global.maelstrom.language) { _global.maelstrom.language = new Object(); } if (!_global.maelstrom.language.IllegalArgumentException) { var v1 = function (msg) { super(msg); this.name = 'IllegalArgumentException'; }; maelstrom.language.IllegalArgumentException = v1; maelstrom.language.IllegalArgumentException extends Error; var v2 = v1.prototype; v2.toString = function () { return '**' + this.name + '** : ' + this.message; }; ASSetPropFlags(maelstrom.language.IllegalArgumentException.prototype, null, 1); } #endinitclip } movieClip 1905 __Packages.maelstrom.hit.LogicalNOT { #initclip if (!_global.maelstrom) { _global.maelstrom = new Object(); } if (!_global.maelstrom.hit) { _global.maelstrom.hit = new Object(); } if (!_global.maelstrom.hit.LogicalNOT) { var v1 = function (opd) { if (opd == null) { throw new maelstrom.language.NullPointerException('opd == null'); } else { if (opd == this) { throw new maelstrom.language.IllegalArgumentException('opd == this'); } } this.operand = opd; }; maelstrom.hit.LogicalNOT = v1; var v2 = v1.prototype; _global.maelstrom.hit.LogicalNOT implements _global.maelstrom.hit.HitArea; v2.toString = function () { return 'LogicalNOT'; }; v2.getOperand = function () { return this.operand; }; v2.checkHitArea = function (ha) { if (ha == null) { throw new maelstrom.language.NullPointerException('ha == null'); } return ha.dispatchLogicalNOT(this); }; v2.dispatchPoint = function (pt) { return !this.operand.dispatchPoint(pt); }; v2.dispatchRectangle = function (rect) { return !this.operand.dispatchRectangle(rect); }; v2.dispatchCircle = function (circ) { return !this.operand.dispatchCircle(circ); }; v2.dispatchBoundingBox = function (bndbx) { return !this.operand.dispatchBoundingBox(bndbx); }; v2.dispatchLineSegment = function (lseg) { return !this.operand.dispatchLineSegment(lseg); }; v2.dispatchLogicalAND = function (logand) { return !this.operand.dispatchLogicalAND(logand); }; v2.dispatchLogicalNOT = function (lognot) { if (lognot == this) { return true; } else { return !this.operand.dispatchLogicalNOT(lognot); } }; v2.dispatchLogicalOR = function (logor) { return !this.operand.dispatchLogicalOR(logor); }; ASSetPropFlags(maelstrom.hit.LogicalNOT.prototype, null, 1); } #endinitclip } movieClip 1906 __Packages.maelstrom.hit.LogicalOR { #initclip if (!_global.maelstrom) { _global.maelstrom = new Object(); } if (!_global.maelstrom.hit) { _global.maelstrom.hit = new Object(); } if (!_global.maelstrom.hit.LogicalOR) { var v1 = function () { this.operands = new Array(); }; maelstrom.hit.LogicalOR = v1; var v2 = v1.prototype; _global.maelstrom.hit.LogicalOR implements _global.maelstrom.hit.HitArea; v2.toString = function () { return 'LogicalOR'; }; v2.getOperands = function () { return this.operands; }; v2.addOperand = function (opd) { if (opd == this) { throw new maelstrom.language.IllegalArgumentException('opd == this'); } this.operands.push(opd); }; v2.removeOperand = function (opd) { if (opd == null) { throw new maelstrom.language.NullPointerException('opd == null'); } var v3 = this.operands; var v4 = v3.length; var v2 = 0; while (v2 < v4) { if (v3[v2] == opd) { v3.splice(v2, 1); } ++v2; } }; v2.checkHitArea = function (ha) { if (ha == null) { throw new maelstrom.language.NullPointerException('ha == null'); } return ha.dispatchLogicalOR(this); }; v2.dispatchPoint = function (pt) { var v3 = this.operands; var v4 = v3.length; var v2 = 0; while (v2 < v4) { if (v3[v2].dispatchPoint(pt)) { return true; } ++v2; } return false; }; v2.dispatchRectangle = function (rect) { var v3 = this.operands; var v4 = v3.length; var v2 = 0; while (v2 < v4) { if (v3[v2].dispatchRectangle(rect)) { return true; } ++v2; } return false; }; v2.dispatchCircle = function (circ) { var v3 = this.operands; var v4 = v3.length; var v2 = 0; while (v2 < v4) { if (v3[v2].dispatchCircle(circ)) { return true; } ++v2; } return false; }; v2.dispatchBoundingBox = function (bndbx) { var v3 = this.operands; var v4 = v3.length; var v2 = 0; while (v2 < v4) { if (v3[v2].dispatchBoundingBox(bndbx)) { return true; } ++v2; } return false; }; v2.dispatchLineSegment = function (lseg) { var v3 = this.operands; var v4 = v3.length; var v2 = 0; while (v2 < v4) { if (v3[v2].dispatchLineSegment(lseg)) { return true; } ++v2; } return false; }; v2.dispatchLogicalNOT = function (lognot) { return !(lognot.getOperand()).dispatchLogicalOR(this); }; v2.dispatchLogicalAND = function (logand) { throw new maelstrom.language.IllegalArgumentException('logand instanceof LogicalAND'); return undefined; }; v2.dispatchLogicalOR = function (logor) { if (logor == this) { return true; } else { var v3 = this.operands; var v5 = logor.operands; var v4 = v3.length; if (v4 != v5.length) { throw new maelstrom.language.IllegalArgumentException('len != rhsary.length'); } else { var v2 = 0; while (v2 < v4) { if (v3[v2].checkHitArea(v5[v2])) { return true; } ++v2; } return false; } } }; ASSetPropFlags(maelstrom.hit.LogicalOR.prototype, null, 1); } #endinitclip } movieClip 1907 __Packages.seh.triangle.action.hit.Rectangle { #initclip if (!_global.seh) { _global.seh = new Object(); } if (!_global.seh.triangle) { _global.seh.triangle = new Object(); } if (!_global.seh.triangle.action) { _global.seh.triangle.action = new Object(); } if (!_global.seh.triangle.action.hit) { _global.seh.triangle.action.hit = new Object(); } if (!_global.seh.triangle.action.hit.Rectangle) { var v1 = function (htyp) { if (htyp == null) { throw new maelstrom.language.NullPointerException('htyp == null'); } this.hit_type = htyp; this.point = {'x': 0, 'y': 0}; if (arguments.length == 2) { if (arguments[1] == null) { throw new maelstrom.language.NullPointerException('arguments[1] == null'); } this.bounding_box = arguments[1]; this.localToGlobal(); } }; seh.triangle.action.hit.Rectangle = v1; var v2 = v1.prototype; _global.seh.triangle.action.hit.Rectangle implements _global.seh.triangle.action.hit.HitData; v2.toString = function () { return 'Rectangle'; }; v2.localToGlobal = function () { this.point.x = this.bounding_box._x; this.point.y = this.bounding_box._y; this.bounding_box._parent.localToGlobal(this.point); }; v2.__get__top = function () { return this.point.y; }; v2.__get__bottom = function () { return this.point.y + this.bounding_box._height; }; v2.__get__left = function () { return this.point.x; }; v2.__get__right = function () { return this.point.x + this.bounding_box._width; }; v2.enable = function () { this.has_enabled = true; }; v2.disable = function () { this.has_enabled = false; }; v2.hasEnabled = function () { return this.has_enabled; }; v2.getHitType = function () { return this.hit_type; }; v2.getHitArea = function () { if (this.bounding_box == null) { throw new maelstrom.language.IllegalStateException('bounding_box == null'); } return this.bounding_box; }; v2.notifyHit = function (hdt) { if (hdt == null) { throw new maelstrom.language.NullPointerException('hdt == null'); } hdt.onRectangleHit(this.hit_type, this.__get__top(), this.__get__bottom(), this.__get__left(), this.__get__right()); }; v2.onSimpleHitDataHit = function (htyp) {}; v2.onRectangleHit = function (htyp, rctp, rcbtm, rclt, rcrt) {}; v2.onPositionHit = function (htyp, x, y) {}; v2.onTargetAttackHit = function (htyp, dirx, diry, kbspd, kbdur, pwr) {}; v2.bounding_box = null; v2.has_enabled = true; v2.addProperty('bottom', v2.__get__bottom, function () {}); v2.addProperty('left', v2.__get__left, function () {}); v2.addProperty('right', v2.__get__right, function () {}); v2.addProperty('top', v2.__get__top, function () {}); ASSetPropFlags(seh.triangle.action.hit.Rectangle.prototype, null, 1); } #endinitclip } movieClip 1908 __Packages.seh.triangle.action.CharacterDirection { #initclip if (!_global.seh) { _global.seh = new Object(); } if (!_global.seh.triangle) { _global.seh.triangle = new Object(); } if (!_global.seh.triangle.action) { _global.seh.triangle.action = new Object(); } if (!_global.seh.triangle.action.CharacterDirection) { var v1 = function (nme, ord, dirx, diry) { super(nme, ord); if (dirx == null || diry == null) { throw new maelstrom.language.NullPointerException('dirx == null || diry == null'); } this.direction_x = dirx; this.direction_y = diry; }; seh.triangle.action.CharacterDirection = v1; seh.triangle.action.CharacterDirection extends maelstrom.language.EnumeratedType; var v2 = v1.prototype; v1.values = function () { if (seh.triangle.action.CharacterDirection.enumrator_array == null) { seh.triangle.action.CharacterDirection.enumrator_array = new Array(); seh.triangle.action.CharacterDirection.enumrator_array.push(seh.triangle.action.CharacterDirection.BACK); seh.triangle.action.CharacterDirection.enumrator_array.push(seh.triangle.action.CharacterDirection.FRONT); seh.triangle.action.CharacterDirection.enumrator_array.push(seh.triangle.action.CharacterDirection.LEFT); seh.triangle.action.CharacterDirection.enumrator_array.push(seh.triangle.action.CharacterDirection.RIGHT); } return seh.triangle.action.CharacterDirection.enumrator_array; }; v2.getDirectionX = function () { return this.direction_x; }; v2.getDirectionY = function () { return this.direction_y; }; v1.BACK = new seh.triangle.action.CharacterDirection('BACK', 0, 0, -1); v1.FRONT = new seh.triangle.action.CharacterDirection('FRONT', 1, 0, 1); v1.LEFT = new seh.triangle.action.CharacterDirection('LEFT', 2, -1, 0); v1.RIGHT = new seh.triangle.action.CharacterDirection('RIGHT', 3, 1, 0); v1.enumrator_array = null; ASSetPropFlags(seh.triangle.action.CharacterDirection.prototype, null, 1); } #endinitclip } movieClip 1909 __Packages.seh.triangle.action.characters.Hero { #initclip if (!_global.seh) { _global.seh = new Object(); } if (!_global.seh.triangle) { _global.seh.triangle = new Object(); } if (!_global.seh.triangle.action) { _global.seh.triangle.action = new Object(); } if (!_global.seh.triangle.action.characters) { _global.seh.triangle.action.characters = new Object(); } if (!_global.seh.triangle.action.characters.Hero) { var v1 = function () { super(); this.step_animation = new Array(); this.step_animation.push(this.attachMovie('Chara_Hero_Back', 'Chara_Hero_Back', this.getNextHighestDepth())); this.step_animation.push(this.attachMovie('Chara_Hero_Front', 'Chara_Hero_Front', this.getNextHighestDepth())); this.step_animation.push(this.attachMovie('Chara_Hero_Left', 'Chara_Hero_Left', this.getNextHighestDepth())); this.step_animation.push(this.attachMovie('Chara_Hero_Right', 'Chara_Hero_Right', this.getNextHighestDepth())); var v3 = 0; while (v3 < this.step_animation.length) { this.step_animation[v3]._visible = false; this.step_animation[v3].HitArea_Character._visible = false; this.step_animation[v3].HitArea_Damage._visible = false; ++v3; } this.punch_animation = new Array(); this.punch_animation.push(this.attachMovie('Chara_Hero_Punch_Back', 'Chara_Hero_Punch_Back', this.getNextHighestDepth())); this.punch_animation.push(this.attachMovie('Chara_Hero_Punch_Front', 'Chara_Hero_Punch_Front', this.getNextHighestDepth())); this.punch_animation.push(this.attachMovie('Chara_Hero_Punch_Left', 'Chara_Hero_Punch_Left', this.getNextHighestDepth())); this.punch_animation.push(this.attachMovie('Chara_Hero_Punch_Right', 'Chara_Hero_Punch_Right', this.getNextHighestDepth())); v3 = 0; while (v3 < this.punch_animation.length) { this.punch_animation[v3]._visible = false; this.punch_animation[v3].HitArea_Character._visible = false; this.punch_animation[v3].HitArea_Attack._visible = false; this.punch_animation[v3].HitArea_Damage._visible = false; ++v3; } this.kick_animation = new Array(); this.kick_animation.push(this.attachMovie('Chara_Hero_Kick_Back', 'Chara_Hero_Kick_Back', this.getNextHighestDepth())); this.kick_animation.push(this.attachMovie('Chara_Hero_Kick_Front', 'Chara_Hero_Kick_Front', this.getNextHighestDepth())); this.kick_animation.push(this.attachMovie('Chara_Hero_Kick_Left', 'Chara_Hero_Kick_Left', this.getNextHighestDepth())); this.kick_animation.push(this.attachMovie('Chara_Hero_Kick_Right', 'Chara_Hero_Kick_Right', this.getNextHighestDepth())); v3 = 0; while (v3 < this.kick_animation.length) { this.kick_animation[v3]._visible = false; this.kick_animation[v3].HitArea_Character._visible = false; this.kick_animation[v3].HitArea_Attack._visible = false; this.kick_animation[v3].HitArea_Damage._visible = false; ++v3; } this.global_position = new flash.geom.Point(this._x, this._y); this._parent.localToGlobal(this.global_position); this.old_x = this._x; this.old_y = this._y; this.punch_attack = new seh.triangle.action.hit.TargetAttack(seh.triangle.action.hit.HitType.PLAYER_ATTACK); this.kick_attack = new seh.triangle.action.hit.TargetAttack(seh.triangle.action.hit.HitType.PLAYER_ATTACK); this.health = new seh.triangle.action.CharacterHealth(); this.rotation_direction = new Array(); this.rotation_direction.push(seh.triangle.action.CharacterDirection.FRONT); this.rotation_direction.push(seh.triangle.action.CharacterDirection.LEFT); this.rotation_direction.push(seh.triangle.action.CharacterDirection.BACK); this.rotation_direction.push(seh.triangle.action.CharacterDirection.RIGHT); this.hit_move = new seh.triangle.action.hit.Rectangle(seh.triangle.action.hit.HitType.PLAYER_MOVE); this.hit_move.onRectangleHit = mx.utils.Delegate.create(this, this.onMoveHit); this.hit_move.disable(); this.hit_damage = new seh.triangle.action.hit.SimpleHitData(seh.triangle.action.hit.HitType.PLAYER_DAMAGE); this.hit_damage.disable(); this.hit_damage.onTargetAttackHit = mx.utils.Delegate.create(this, this.onDamgaeHit); this.collision_list.addHitData(this.hit_move); this.collision_list.addHitData(this.hit_damage); this.sound_effect = new Sound(this); this.attack_se = new Sound(this); this.attack_se.attachSound('SE_014'); this.punch_hit_se = new Sound(this); this.punch_hit_se.attachSound('SE_001'); this.kick_hit_se = new Sound(this); this.kick_hit_se.attachSound('SE_002'); this.damage_se = new Sound(this); this.damage_se.attachSound('SE_004'); this.internalSetDirection(seh.triangle.action.CharacterDirection.FRONT); this.stop(); }; seh.triangle.action.characters.Hero = v1; seh.triangle.action.characters.Hero extends seh.triangle.action.characters.detail.AbstractCharacter; var v2 = v1.prototype; v2.toString = function () { return 'Hero'; }; v2.onUnload = function () { this.hit_move.onRectangleHit = null; this.hit_damage.onTargetAttackHit = null; this.collision_list.removeHitData(this.hit_move); this.collision_list.removeHitData(this.hit_damage); this.sound_effect.stop(); }; v2.onScenePlayed = function (evt) { super.onScenePlayed(evt); if (this.game_controller == null) { throw new maelstrom.language.IllegalStateException('game_controller == null'); } this.hit_move.enable(); this.hit_damage.enable(); this.onEnterFrame = this.internalMain; }; v2.onSceneTerminated = function (evt) { super.onSceneTerminated(evt); this.hit_move.disable(); this.hit_damage.disable(); }; v2.onDamgaeHit = function (htyp, dirx, diry, kbspd, kbdur, atkpwr) { this.damage_se.start(); if (this.health.damage(atkpwr) == seh.triangle.action.CharacterHealth.MINIMUM) { var v3 = (seh.triangle.action.CharacterDirection.values())[this.direction_index]; this.kick_animation[this.direction_index]._visible = false; this.punch_animation[this.direction_index]._visible = this.kick_animation[this.direction_index]._visible; this.internalSetDirection(v3); var v2 = 0; while (v2 < this.rotation_direction.length) { if (this.rotation_direction[v2] == v3) { this.rotation_index = v2; break; } ++v2; } this.onEnterFrame = null; this.stop(); this.hit_move.disable(); this.hit_damage.disable(); this.animation_count = seh.triangle.action.characters.Hero.ROTATE_DURATION; this.onEnterFrame = this.internalRotate; } else { this.knockback(dirx, diry, kbspd, kbdur); } }; v2.__get__stage_x = function () { return this.global_position.x; }; v2.__get__stage_y = function () { return this.global_position.y; }; v2.__get__move_x = function () { return this._x - this.old_x; }; v2.__get__move_y = function () { return this._y - this.old_y; }; v2.setGameController = function (gcontr) { if (gcontr == null) { throw new maelstrom.language.NullPointerException('gcontr == null'); } this.game_controller = gcontr; }; v2.setMoveSpeed = function (mvspd) { if (mvspd == null) { throw new maelstrom.language.NullPointerException('mvspd == null'); } this.move_speed = mvspd; }; v2.setPunchParamater = function (kbspd, kbdur, atkpwr) { if (kbspd == null || kbdur == null || atkpwr == null) { throw new maelstrom.language.NullPointerException('kbspd == null || kbdur == null || atkpwr == null'); } this.punch_attack.knockback_speed = kbspd; this.punch_attack.knockback_duration = kbdur; this.punch_attack.power = atkpwr; }; v2.setKickParamater = function (kbspd, kbdur, atkpwr) { if (kbspd == null || kbdur == null || atkpwr == null) { throw new maelstrom.language.NullPointerException('kbspd == null || kbdur == null || atkpwr == null'); } this.kick_attack.knockback_speed = kbspd; this.kick_attack.knockback_duration = kbdur; this.kick_attack.power = atkpwr; }; v2.setPunchPower = function (ppwr) { if (ppwr == null) { throw new maelstrom.language.NullPointerException('ppwr == null'); } this.punch_attack.power = ppwr; }; v2.getPunchPower = function () { return this.punch_attack.power; }; v2.setKickPower = function (kpwr) { if (kpwr == null) { throw new maelstrom.language.NullPointerException('kpwr == null'); } this.kick_attack.power = kpwr; }; v2.getKickPower = function () { return this.kick_attack.power; }; v2.setDefensePower = function (defpwr) { this.health.setDefensePower(defpwr); }; v2.getDefensePower = function () { return this.health.getDefensePower(); }; v2.setStunDuration = function (stndur) { if (stndur == null) { throw new maelstrom.language.NullPointerException('stndur == null'); } this.stun_duration = stndur; }; v2.getHealth = function () { return this.health; }; v2.play = function () { super.play(); var v3 = 0; while (v3 < this.punch_animation.length) { this.punch_animation[v3].play(); ++v3; } v3 = 0; while (v3 < this.kick_animation.length) { this.kick_animation[v3].play(); ++v3; } }; v2.stop = function () { super.stop(); var v3 = 0; while (v3 < this.punch_animation.length) { this.punch_animation[v3].stop(); ++v3; } v3 = 0; while (v3 < this.kick_animation.length) { this.kick_animation[v3].stop(); ++v3; } this.sound_effect.stop(); }; v2.update = function () { super.update(); this.global_position.x = this._x + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_WIDTH; this.global_position.y = this._y + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_HEIGHT; this._parent.localToGlobal(this.global_position); }; v2.punch = function () { this.punch_animation[this.direction_index]._visible = true; this.kick_animation[this.direction_index]._visible = false; this.step_animation[this.direction_index]._visible = this.kick_animation[this.direction_index]._visible; this.punch_animation[this.direction_index].gotoAndPlay(1); this.punch_attack.hit_area = this.punch_animation[this.direction_index].HitArea_Attack; this.hit_attack = this.punch_attack; this.hit_damage.hit_area = this.punch_animation[this.direction_index].HitArea_Damage; this.onEnterFrame = this.internalPunch; }; v2.kick = function () { this.kick_animation[this.direction_index]._visible = true; this.punch_animation[this.direction_index]._visible = false; this.step_animation[this.direction_index]._visible = this.punch_animation[this.direction_index]._visible; this.kick_animation[this.direction_index].gotoAndPlay(1); this.kick_attack.hit_area = this.kick_animation[this.direction_index].HitArea_Attack; this.hit_attack = this.kick_attack; this.hit_damage.hit_area = this.kick_animation[this.direction_index].HitArea_Damage; this.onEnterFrame = this.internalKick; }; v2.knockback = function (dirx, diry, kbspd, kbdur) { this.direction_x = dirx; this.direction_y = diry; this.step_animation[this.direction_index]._visible = true; this.kick_animation[this.direction_index]._visible = false; this.punch_animation[this.direction_index]._visible = this.kick_animation[this.direction_index]._visible; this.knockback_speed = kbspd; this.animation_count = kbdur; this.hit_damage.disable(); this.onEnterFrame = this.internalKnockback; }; v2.MoveVsLevelExit = function () { var v3 = (this.collision_list.getHitData(seh.triangle.action.hit.HitType.LEVEL_EXIT)).getListIterator(); while (v3.hasNext()) { var v2 = seh.triangle.action.hit.HitData(v3.next()); if (v2.hasEnabled() && (this.hit_move.getHitArea()).checkHitArea(v2.getHitArea())) { this.hit_move.notifyHit(v2); return true; } } return false; }; v2.MoveVsEvent = function () { var v3 = (this.collision_list.getHitData(seh.triangle.action.hit.HitType.EVENT)).getListIterator(); while (v3.hasNext()) { var v2 = seh.triangle.action.hit.HitData(v3.next()); if (v2.hasEnabled() && (this.hit_move.getHitArea()).checkHitArea(v2.getHitArea())) { this.hit_move.notifyHit(v2); v2.notifyHit(this.hit_move); return true; } } return false; }; v2.AttackVsEnemyDamage = function () { var v4 = false; var v3 = (this.collision_list.getHitData(seh.triangle.action.hit.HitType.ENEMY_DAMAGE)).getListIterator(); while (v3.hasNext()) { var v2 = seh.triangle.action.hit.HitData(v3.next()); if (v2.hasEnabled() && (this.hit_attack.getHitArea()).checkHitArea(v2.getHitArea())) { this.hit_attack.notifyHit(v2); v4 = true; } } return v4; }; v2.internalSetDirection = function (chardir) { this.kick_animation[this.direction_index]._visible = false; this.punch_animation[this.direction_index]._visible = this.kick_animation[this.direction_index]._visible; super.internalSetDirection(chardir); this.kick_animation[this.direction_index]._visible = false; this.punch_animation[this.direction_index]._visible = this.kick_animation[this.direction_index]._visible; this.kick_attack.direction_x = this.direction_x; this.punch_attack.direction_x = this.kick_attack.direction_x; this.kick_attack.direction_y = this.direction_y; this.punch_attack.direction_y = this.kick_attack.direction_y; this.hit_damage.hit_area = this.step_animation[this.direction_index].HitArea_Damage; }; v2.internalMain = function () { var v2 = this.game_controller.getCurrentData(); var v3 = this.move_speed; if (v2 == maelstrom.ui.GameController.UP) { if (this.direction_index != seh.triangle.action.CharacterDirection.BACK) { this.internalSetDirection(seh.triangle.action.CharacterDirection.BACK); } } else { if (v2 == maelstrom.ui.GameController.DOWN) { if (this.direction_index != seh.triangle.action.CharacterDirection.FRONT) { this.internalSetDirection(seh.triangle.action.CharacterDirection.FRONT); } } else { if (v2 == maelstrom.ui.GameController.LEFT) { if (this.direction_index != seh.triangle.action.CharacterDirection.LEFT) { this.internalSetDirection(seh.triangle.action.CharacterDirection.LEFT); } } else { if (v2 == maelstrom.ui.GameController.RIGHT) { if (this.direction_index != seh.triangle.action.CharacterDirection.RIGHT) { this.internalSetDirection(seh.triangle.action.CharacterDirection.RIGHT); } } else { v3 = 0; } } } } this.old_x = this._x; this.old_y = this._y; this._x += this.direction_x * v3; this._y += this.direction_y * v3; this.update(); this.MoveVsLevelExit(); this.MoveVsObstacle(); this.MoveVsEvent(); var v4 = this.game_controller.getPulseData(); if (v4 & maelstrom.ui.GameController.A) { this.attack_se.start(); this.punch(); } else { if (v4 & maelstrom.ui.GameController.B) { this.attack_se.start(); this.kick(); } } }; v2.internalPunch = function () { if (this.punch_animation[this.direction_index]._currentframe == this.punch_animation[this.direction_index]._totalframes) { this.step_animation[this.direction_index]._visible = true; this.kick_animation[this.direction_index]._visible = false; this.punch_animation[this.direction_index]._visible = this.kick_animation[this.direction_index]._visible; this.onEnterFrame = this.internalMain; } else { if (this.AttackVsEnemyDamage()) { this.punch_hit_se.start(); } } }; v2.internalKick = function () { if (this.kick_animation[this.direction_index]._currentframe == this.kick_animation[this.direction_index]._totalframes) { this.step_animation[this.direction_index]._visible = true; this.kick_animation[this.direction_index]._visible = false; this.punch_animation[this.direction_index]._visible = this.kick_animation[this.direction_index]._visible; this.onEnterFrame = this.internalMain; } else { if (this.AttackVsEnemyDamage()) { this.kick_hit_se.start(); } } }; v2.internalKnockback = function () { if (--this.animation_count == 0) { var v2 = (seh.triangle.action.CharacterDirection.values())[this.direction_index]; this.direction_x = v2.getDirectionX(); this.direction_y = v2.getDirectionY(); this.animation_count = this.stun_duration; this.onEnterFrame = this.internalStun; } else { this.old_x = this._x; this.old_y = this._y; this._x += this.direction_x * this.knockback_speed; this._y += this.direction_y * this.knockback_speed; this.update(); this.MoveVsObstacle(); } }; v2.internalStun = function () { if (--this.animation_count % 2 == 0) { this._visible = !this._visible; } if (this.animation_count == 0) { this._visible = true; this.hit_damage.enable(); this.onEnterFrame = this.internalMain; } }; v2.internalRotate = function () { if (--this.animation_count % 4 == 0) { if (++this.rotation_index >= this.rotation_direction.length) { this.rotation_index = 0; } this.internalSetDirection(this.rotation_direction[this.rotation_index]); } if (this.animation_count == 0) { this.is_alive = false; this.onEnterFrame = null; } }; v1.LINKAGE_ID = '__Packages.seh.triangle.action.characters.Hero'; v1.CONSTRUCTOR = seh.triangle.action.characters.Hero; v1.IS_REGISTERED = Object.registerClass(seh.triangle.action.characters.Hero.LINKAGE_ID, seh.triangle.action.characters.Hero.CONSTRUCTOR); v1.ROTATE_DURATION = 48; v2.game_controller = null; v2.move_speed = 6; v2.knockback_speed = 0; v2.stun_duration = 8; v2.rotation_index = 0; v2.hit_attack = null; v2.animation_count = 0; v2.addProperty('move_x', v2.__get__move_x, function () {}); v2.addProperty('move_y', v2.__get__move_y, function () {}); v2.addProperty('stage_x', v2.__get__stage_x, function () {}); v2.addProperty('stage_y', v2.__get__stage_y, function () {}); ASSetPropFlags(seh.triangle.action.characters.Hero.prototype, null, 1); } #endinitclip } movieClip 1910 __Packages.seh.triangle.action.hit.SimpleHitData { #initclip if (!_global.seh) { _global.seh = new Object(); } if (!_global.seh.triangle) { _global.seh.triangle = new Object(); } if (!_global.seh.triangle.action) { _global.seh.triangle.action = new Object(); } if (!_global.seh.triangle.action.hit) { _global.seh.triangle.action.hit = new Object(); } if (!_global.seh.triangle.action.hit.SimpleHitData) { var v1 = function (htyp) { if (htyp == null) { throw new maelstrom.language.NullPointerException('htyp == null'); } this.hit_type = htyp; if (arguments.length == 2) { if (arguments[1] == null) { throw new maelstrom.language.NullPointerException('arguments[1] == null'); } this.hit_area = arguments[1]; } }; seh.triangle.action.hit.SimpleHitData = v1; var v2 = v1.prototype; _global.seh.triangle.action.hit.SimpleHitData implements _global.seh.triangle.action.hit.HitData; v2.toString = function () { return 'SimpleHitData'; }; v2.enable = function () { this.has_enabled = true; }; v2.disable = function () { this.has_enabled = false; }; v2.hasEnabled = function () { return this.has_enabled; }; v2.getHitType = function () { return this.hit_type; }; v2.getHitArea = function () { if (this.hit_area == null) { throw new maelstrom.language.IllegalStateException('hit_area == null'); } return this.hit_area; }; v2.notifyHit = function (hdt) { if (hdt == null) { throw new maelstrom.language.NullPointerException('hdt == null'); } hdt.onSimpleHitDataHit(this.hit_type); }; v2.onSimpleHitDataHit = function (htyp) {}; v2.onRectangleHit = function (htyp, rctp, rcbtm, rclt, rcrt) {}; v2.onPositionHit = function (htyp, x, y) {}; v2.onTargetAttackHit = function (htyp, dirx, diry, kbspd, kbdur, pwr) {}; v2.hit_area = null; v2.has_enabled = true; ASSetPropFlags(seh.triangle.action.hit.SimpleHitData.prototype, null, 1); } #endinitclip } movieClip 1911 __Packages.seh.triangle.action.hit.TargetAttack { #initclip if (!_global.seh) { _global.seh = new Object(); } if (!_global.seh.triangle) { _global.seh.triangle = new Object(); } if (!_global.seh.triangle.action) { _global.seh.triangle.action = new Object(); } if (!_global.seh.triangle.action.hit) { _global.seh.triangle.action.hit = new Object(); } if (!_global.seh.triangle.action.hit.TargetAttack) { var v1 = function (htyp) { super(htyp); if (arguments.length == 2) { if (arguments[1] == null) { throw new maelstrom.language.NullPointerException('arguments[1] == null'); } this.hit_area = arguments[1]; } }; seh.triangle.action.hit.TargetAttack = v1; seh.triangle.action.hit.TargetAttack extends seh.triangle.action.hit.SimpleHitData; var v2 = v1.prototype; v2.toString = function () { return 'TargetAttack'; }; v2.notifyHit = function (hdt) { if (hdt == null) { throw new maelstrom.language.NullPointerException('hdt == null'); } hdt.onTargetAttackHit(this.hit_type, this.direction_x, this.direction_y, this.knockback_speed, this.knockback_duration, this.power); }; v2.onSimpleHitDataHit = function (htyp) {}; v2.onRectangleHit = function (htyp, rctp, rcbtm, rclt, rcrt) {}; v2.onPositionHit = function (htyp, x, y) {}; v2.onTargetAttackHit = function (htyp, dirx, diry, kbspd, kbdur, pwr) {}; v2.direction_x = 0; v2.direction_y = 0; v2.knockback_speed = 12; v2.knockback_duration = 4; v2.power = 1; ASSetPropFlags(seh.triangle.action.hit.TargetAttack.prototype, null, 1); } #endinitclip } movieClip 1912 __Packages.seh.triangle.action.CharacterHealth { #initclip if (!_global.seh) { _global.seh = new Object(); } if (!_global.seh.triangle) { _global.seh.triangle = new Object(); } if (!_global.seh.triangle.action) { _global.seh.triangle.action = new Object(); } if (!_global.seh.triangle.action.CharacterHealth) { var v1 = function () { mx.events.EventDispatcher.initialize(this); }; seh.triangle.action.CharacterHealth = v1; var v2 = v1.prototype; v2.toString = function () { return 'CharacterHealth'; }; v2.isEmpty = function () { return this.internal_value == seh.triangle.action.CharacterHealth.MINIMUM; }; v2.__get__value = function () { return this.internal_value; }; v2.__set__value = function (val) { if (val == null) { throw new maelstrom.language.NullPointerException('val == null'); } if (val < seh.triangle.action.CharacterHealth.MINIMUM) { val = seh.triangle.action.CharacterHealth.MINIMUM; } else { if (val > seh.triangle.action.CharacterHealth.MAXIMUM) { val = seh.triangle.action.CharacterHealth.MAXIMUM; } } this.internal_value = val; return this.__get__value(); }; v2.setDefensePower = function (defpwr) { if (defpwr == null) { throw new maelstrom.language.NullPointerException('defpwr == null'); } if (defpwr < 0) { throw new maelstrom.language.IllegalArgumentException('defpwr < 0'); } this.defense_power = defpwr; }; v2.getDefensePower = function () { return this.defense_power; }; v2.replenish = function (replnqty) { if (replnqty == null) { throw new maelstrom.language.NullPointerException('replnqty == null'); } if (replnqty < 0) { throw new maelstrom.language.IllegalArgumentException('replnqty < 0'); } if (this.internal_value == seh.triangle.action.CharacterHealth.MINIMUM) { throw new maelstrom.language.IllegalStateException('internal_value == MINIMUM'); } var v3 = this.internal_value; this.internal_value += replnqty; if (this.internal_value > seh.triangle.action.CharacterHealth.MAXIMUM) { this.internal_value = seh.triangle.action.CharacterHealth.MAXIMUM; } this.dispatchEvent({'type': 'onCharacterReplenished', 'before_health': v3, 'after_health': this.internal_value}); return this.internal_value; }; v2.damage = function (dmgqty) { if (dmgqty == null) { throw new maelstrom.language.NullPointerException('dmgqty == null'); } if (dmgqty < 0) { throw new maelstrom.language.IllegalArgumentException('dmgqty < 0'); } if (this.internal_value == seh.triangle.action.CharacterHealth.MINIMUM) { throw new maelstrom.language.IllegalStateException('internal_value == MINIMUM'); } dmgqty -= this.defense_power; if (dmgqty >= 0) { var v3 = this.internal_value; this.internal_value -= dmgqty; if (this.internal_value <= seh.triangle.action.CharacterHealth.MINIMUM) { this.internal_value = seh.triangle.action.CharacterHealth.MINIMUM; this.dispatchEvent({'type': 'onCharacterDamaged', 'before_health': v3, 'after_health': this.internal_value}); this.dispatchEvent({'type': 'onCharacterHealthEmptied'}); return this.internal_value; } this.dispatchEvent({'type': 'onCharacterDamaged', 'before_health': v3, 'after_health': this.internal_value}); } return this.internal_value; }; v1.MINIMUM = 0; v1.MAXIMUM = 100; v2.internal_value = seh.triangle.action.CharacterHealth.MAXIMUM; v2.defense_power = 0; v2.addProperty('value', v2.__get__value, v2.__set__value); ASSetPropFlags(seh.triangle.action.CharacterHealth.prototype, null, 1); } #endinitclip } movieClip 1913 __Packages.seh.triangle.action.characters.Enemy { #initclip if (!_global.seh) { _global.seh = new Object(); } if (!_global.seh.triangle) { _global.seh.triangle = new Object(); } if (!_global.seh.triangle.action) { _global.seh.triangle.action = new Object(); } if (!_global.seh.triangle.action.characters) { _global.seh.triangle.action.characters = new Object(); } if (!_global.seh.triangle.action.characters.Enemy) { var v1 = function () { super(); this.step_animation = new Array(); this.punch_animation = new Array(); this.kick_animation = new Array(); this.character_chase = new seh.triangle.action.characters.detail.CharacterChase(this.collision_list); this.chase_lines = new maelstrom.collections.Queue(); this.punch_attack = new seh.triangle.action.hit.TargetAttack(seh.triangle.action.hit.HitType.ENEMY_ATTACK); this.kick_attack = new seh.triangle.action.hit.TargetAttack(seh.triangle.action.hit.HitType.ENEMY_ATTACK); this.attack_senses = new Array(); this.attack_senses.push(null); this.attack_senses.push(null); this.attack_senses.push(null); this.attack_senses.push(null); this.health = new seh.triangle.action.EnemyHealth(); this.hit_sense = new seh.triangle.action.hit.SimpleHitData(seh.triangle.action.hit.HitType.ENEMY_SENSE); this.hit_sense.onRectangleHit = mx.utils.Delegate.create(this, this.onSenseHit); this.hit_move = new seh.triangle.action.hit.Rectangle(seh.triangle.action.hit.HitType.ENEMY_MOVE); this.hit_move.onRectangleHit = mx.utils.Delegate.create(this, this.onMoveHit); this.hit_damage = new seh.triangle.action.hit.SimpleHitData(seh.triangle.action.hit.HitType.ENEMY_DAMAGE); this.hit_damage.disable(); this.hit_damage.onTargetAttackHit = mx.utils.Delegate.create(this, this.onDamageHit); this.attack_se = new Sound(this); this.attack_se.attachSound('SE_014'); this.down_se = new Sound(this); this.down_se.attachSound('SE_003'); this.collision_list.addHitData(this.hit_damage); }; seh.triangle.action.characters.Enemy = v1; seh.triangle.action.characters.Enemy extends seh.triangle.action.characters.detail.AbstractCharacter; var v2 = v1.prototype; v1.createBlueJacket = function (parmc, instnme, initobj) { if (parmc == null || instnme == null) { throw new maelstrom.language.NullPointerException('parmc == null || instnme == null'); } var v1 = seh.triangle.action.characters.Enemy(parmc.attachMovie(seh.triangle.action.characters.Enemy.LINKAGE_ID, instnme, parmc.getNextHighestDepth(), initobj)); v1.step_animation.push(v1.attachMovie('Chara_Enemy01_Back', 'Chara_Enemy01_Back', v1.getNextHighestDepth())); v1.step_animation.push(v1.attachMovie('Chara_Enemy01_Front', 'Chara_Enemy01_Front', v1.getNextHighestDepth())); v1.step_animation.push(v1.attachMovie('Chara_Enemy01_Left', 'Chara_Enemy01_Left', v1.getNextHighestDepth())); v1.step_animation.push(v1.attachMovie('Chara_Enemy01_Right', 'Chara_Enemy01_Right', v1.getNextHighestDepth())); var v2 = 0; while (v2 < v1.step_animation.length) { v1.step_animation[v2]._visible = false; v1.step_animation[v2].HitArea_Character._visible = false; v1.step_animation[v2].HitArea_Damage._visible = false; ++v2; } v1.punch_animation.push(null); v1.punch_animation.push(null); v1.punch_animation.push(v1.attachMovie('Chara_Enemy01_Punch_Left', 'Chara_Enemy01_Punch_Left', v1.getNextHighestDepth())); v1.punch_animation.push(v1.attachMovie('Chara_Enemy01_Punch_Right', 'Chara_Enemy01_Punch_Right', v1.getNextHighestDepth())); v2 = 2; while (v2 < v1.punch_animation.length) { v1.punch_animation[v2]._visible = false; v1.punch_animation[v2].HitArea_Character._visible = false; v1.punch_animation[v2].HitArea_Attack._visible = false; v1.punch_animation[v2].HitArea_Damage._visible = false; ++v2; } v1.kick_animation.push(null); v1.kick_animation.push(null); v1.kick_animation.push(v1.attachMovie('Chara_Enemy01_Kick_Left', 'Chara_Enemy01_Kick_Left', v1.getNextHighestDepth())); v1.kick_animation.push(v1.attachMovie('Chara_Enemy01_Kick_Right', 'Chara_Enemy01_Kick_Right', v1.getNextHighestDepth())); v2 = 2; while (v2 < v1.kick_animation.length) { v1.kick_animation[v2]._visible = false; v1.kick_animation[v2].HitArea_Character._visible = false; v1.kick_animation[v2].HitArea_Attack._visible = false; v1.kick_animation[v2].HitArea_Damage._visible = false; ++v2; } v1.internalSetDirection(seh.triangle.action.CharacterDirection.FRONT); v1.setAttackSense(seh.triangle.action.characters.Enemy.ATTACK_SENSE_WIDTH, seh.triangle.action.characters.Enemy.ATTACK_SENSE_HEIGHT); v1.stop(); return v1; }; v1.createBrownJacket = function (parmc, instnme, initobj) { if (parmc == null || instnme == null) { throw new maelstrom.language.NullPointerException('parmc == null || instnme == null'); } var v1 = seh.triangle.action.characters.Enemy(parmc.attachMovie(seh.triangle.action.characters.Enemy.LINKAGE_ID, instnme, parmc.getNextHighestDepth(), initobj)); v1.step_animation.push(v1.attachMovie('Chara_Enemy02_Back', 'Chara_Enemy02_Back', v1.getNextHighestDepth())); v1.step_animation.push(v1.attachMovie('Chara_Enemy02_Front', 'Chara_Enemy02_Front', v1.getNextHighestDepth())); v1.step_animation.push(v1.attachMovie('Chara_Enemy02_Left', 'Chara_Enemy02_Left', v1.getNextHighestDepth())); v1.step_animation.push(v1.attachMovie('Chara_Enemy02_Right', 'Chara_Enemy02_Right', v1.getNextHighestDepth())); var v2 = 0; while (v2 < v1.step_animation.length) { v1.step_animation[v2]._visible = false; v1.step_animation[v2].HitArea_Character._visible = false; v1.step_animation[v2].HitArea_Damage._visible = false; ++v2; } v1.punch_animation.push(null); v1.punch_animation.push(null); v1.punch_animation.push(v1.attachMovie('Chara_Enemy02_Punch_Left', 'Chara_Enemy02_Punch_Left', v1.getNextHighestDepth())); v1.punch_animation.push(v1.attachMovie('Chara_Enemy02_Punch_Right', 'Chara_Enemy02_Punch_Right', v1.getNextHighestDepth())); v2 = 2; while (v2 < v1.punch_animation.length) { v1.punch_animation[v2]._visible = false; v1.punch_animation[v2].HitArea_Character._visible = false; v1.punch_animation[v2].HitArea_Attack._visible = false; v1.punch_animation[v2].HitArea_Damage._visible = false; ++v2; } v1.kick_animation.push(null); v1.kick_animation.push(null); v1.kick_animation.push(v1.attachMovie('Chara_Enemy02_Kick_Left', 'Chara_Enemy02_Kick_Left', v1.getNextHighestDepth())); v1.kick_animation.push(v1.attachMovie('Chara_Enemy02_Kick_Right', 'Chara_Enemy02_Kick_Right', v1.getNextHighestDepth())); v2 = 2; while (v2 < v1.kick_animation.length) { v1.kick_animation[v2]._visible = false; v1.kick_animation[v2].HitArea_Character._visible = false; v1.kick_animation[v2].HitArea_Attack._visible = false; v1.kick_animation[v2].HitArea_Damage._visible = false; ++v2; } v1.internalSetDirection(seh.triangle.action.CharacterDirection.FRONT); v1.setAttackSense(seh.triangle.action.characters.Enemy.ATTACK_SENSE_WIDTH, seh.triangle.action.characters.Enemy.ATTACK_SENSE_HEIGHT); v1.stop(); return v1; }; v1.createSunglasses = function (parmc, instnme, initobj) { if (parmc == null || instnme == null) { throw new maelstrom.language.NullPointerException('parmc == null || instnme == null'); } var v1 = seh.triangle.action.characters.Enemy(parmc.attachMovie(seh.triangle.action.characters.Enemy.LINKAGE_ID, instnme, parmc.getNextHighestDepth(), initobj)); v1.step_animation.push(v1.attachMovie('Chara_Enemy03_Back', 'Chara_Enemy03_Back', v1.getNextHighestDepth())); v1.step_animation.push(v1.attachMovie('Chara_Enemy03_Front', 'Chara_Enemy03_Front', v1.getNextHighestDepth())); v1.step_animation.push(v1.attachMovie('Chara_Enemy03_Left', 'Chara_Enemy03_Left', v1.getNextHighestDepth())); v1.step_animation.push(v1.attachMovie('Chara_Enemy03_Right', 'Chara_Enemy03_Right', v1.getNextHighestDepth())); var v2 = 0; while (v2 < v1.step_animation.length) { v1.step_animation[v2]._visible = false; v1.step_animation[v2].HitArea_Character._visible = false; v1.step_animation[v2].HitArea_Damage._visible = false; ++v2; } v1.punch_animation.push(null); v1.punch_animation.push(null); v1.punch_animation.push(v1.attachMovie('Chara_Enemy03_Punch_Left', 'Chara_Enemy03_Punch_Left', v1.getNextHighestDepth())); v1.punch_animation.push(v1.attachMovie('Chara_Enemy03_Punch_Right', 'Chara_Enemy03_Punch_Right', v1.getNextHighestDepth())); v2 = 2; while (v2 < v1.punch_animation.length) { v1.punch_animation[v2]._visible = false; v1.punch_animation[v2].HitArea_Character._visible = false; v1.punch_animation[v2].HitArea_Attack._visible = false; v1.punch_animation[v2].HitArea_Damage._visible = false; ++v2; } v1.kick_animation.push(null); v1.kick_animation.push(null); v1.kick_animation.push(v1.attachMovie('Chara_Enemy03_Kick_Left', 'Chara_Enemy03_Kick_Left', v1.getNextHighestDepth())); v1.kick_animation.push(v1.attachMovie('Chara_Enemy03_Kick_Right', 'Chara_Enemy03_Kick_Right', v1.getNextHighestDepth())); v2 = 2; while (v2 < v1.kick_animation.length) { v1.kick_animation[v2]._visible = false; v1.kick_animation[v2].HitArea_Character._visible = false; v1.kick_animation[v2].HitArea_Attack._visible = false; v1.kick_animation[v2].HitArea_Damage._visible = false; ++v2; } v1.internalSetDirection(seh.triangle.action.CharacterDirection.FRONT); v1.setAttackSense(seh.triangle.action.characters.Enemy.ATTACK_SENSE_WIDTH, seh.triangle.action.characters.Enemy.ATTACK_SENSE_HEIGHT); v1.stop(); return v1; }; v1.createGuard = function (parmc, instnme, initobj) { if (parmc == null || instnme == null) { throw new maelstrom.language.NullPointerException('parmc == null || instnme == null'); } var v1 = seh.triangle.action.characters.Enemy(parmc.attachMovie(seh.triangle.action.characters.Enemy.LINKAGE_ID, instnme, parmc.getNextHighestDepth(), initobj)); v1.step_animation.push(v1.attachMovie('Chara_Enemy04_Back', 'Chara_Enemy04_Back', v1.getNextHighestDepth())); v1.step_animation.push(v1.attachMovie('Chara_Enemy04_Front', 'Chara_Enemy04_Front', v1.getNextHighestDepth())); v1.step_animation.push(v1.attachMovie('Chara_Enemy04_Left', 'Chara_Enemy04_Left', v1.getNextHighestDepth())); v1.step_animation.push(v1.attachMovie('Chara_Enemy04_Right', 'Chara_Enemy04_Right', v1.getNextHighestDepth())); var v2 = 0; while (v2 < v1.step_animation.length) { v1.step_animation[v2]._visible = false; v1.step_animation[v2].HitArea_Character._visible = false; v1.step_animation[v2].HitArea_Damage._visible = false; ++v2; } v1.punch_animation.push(null); v1.punch_animation.push(null); v1.punch_animation.push(v1.attachMovie('Chara_Enemy04_Punch_Left', 'Chara_Enemy04_Punch_Left', v1.getNextHighestDepth())); v1.punch_animation.push(v1.attachMovie('Chara_Enemy04_Punch_Right', 'Chara_Enemy04_Punch_Right', v1.getNextHighestDepth())); v2 = 2; while (v2 < v1.punch_animation.length) { v1.punch_animation[v2]._visible = false; v1.punch_animation[v2].HitArea_Character._visible = false; v1.punch_animation[v2].HitArea_Attack._visible = false; v1.punch_animation[v2].HitArea_Damage._visible = false; ++v2; } v1.kick_animation.push(null); v1.kick_animation.push(null); v1.kick_animation.push(v1.attachMovie('Chara_Enemy04_Kick_Left', 'Chara_Enemy04_Kick_Left', v1.getNextHighestDepth())); v1.kick_animation.push(v1.attachMovie('Chara_Enemy04_Kick_Right', 'Chara_Enemy04_Kick_Right', v1.getNextHighestDepth())); v2 = 2; while (v2 < v1.kick_animation.length) { v1.kick_animation[v2]._visible = false; v1.kick_animation[v2].HitArea_Character._visible = false; v1.kick_animation[v2].HitArea_Attack._visible = false; v1.kick_animation[v2].HitArea_Damage._visible = false; ++v2; } v1.internalSetDirection(seh.triangle.action.CharacterDirection.FRONT); v1.setAttackSense(seh.triangle.action.characters.Enemy.ATTACK_SENSE_WIDTH, seh.triangle.action.characters.Enemy.ATTACK_SENSE_HEIGHT); v1.stop(); return v1; }; v2.toString = function () { return 'Enemy'; }; v2.onUnload = function () { this.hit_sense.onRectangleHit = null; this.hit_move.onRectangleHit = null; this.hit_damage.onTargetAttackHit = null; this.collision_list.removeHitData(this.hit_damage); this.attack_se.stop(); this.down_se.stop(); }; v2.onScenePlayed = function (evt) { super.onScenePlayed(evt); this.hit_damage.enable(); this.delay_count = seh.triangle.action.characters.Enemy.WANDER_DELAY_DURATION; this.interval_count = seh.triangle.action.characters.Enemy.SENSE_INTERVAL; this.onEnterFrame = this.internalMain; }; v2.onSceneTerminated = function (evt) { super.onSceneTerminated(evt); this.hit_damage.disable(); }; v2.onSenseHit = function (htyp, rctp, rcbtm, rclt, rcrt) { if (htyp == seh.triangle.action.hit.HitType.PLAYER_MOVE) { var v2 = this.character_chase.detectChaseLine(this.hit_move.__get__left(), this.hit_move.__get__top(), rclt, rctp, seh.triangle.action.characters.Enemy.CHASE_LINE_WIDTH, seh.triangle.action.characters.Enemy.CHASE_LINE_HEIGHT); if (v2.first != null) { this.chase_lines.clear(); this.chase_lines.push(v2.first); } if (v2.second != null) { this.chase_lines.push(v2.second); } } }; v2.onDamageHit = function (htyp, dirx, diry, kbspd, kbdur, atkpwr) { if (this.health.damage(atkpwr) == seh.triangle.action.CharacterHealth.MINIMUM) { this.onEnterFrame = null; this.stop(); this.hit_damage.disable(); this.down_se.start(); this.animation_count = seh.triangle.action.characters.Enemy.FADE_OUT_DURATION; this.onEnterFrame = this.internalFadeOut; } else { this.knockback(dirx, diry, kbspd, kbdur); } }; v2.setChaseSpeed = function (chsspd) { if (chsspd == null) { throw new maelstrom.language.NullPointerException('chsspd == null'); } this.chase_speed = chsspd; }; v2.setChaseSense = function (wdt, hgt) { if (wdt == null || hgt == null) { throw new maelstrom.language.NullPointerException('wdt == null || hgt == null'); } if (this.chase_sense != null) { this.chase_sense.removeMovieClip(); } this.chase_sense = maelstrom.hit.BoundingBox(this.attachMovie(maelstrom.hit.BoundingBox.LINKAGE_ID, 'Sense_Range', this.getNextHighestDepth(), {'_visible': false})); this.chase_sense.beginFill(10027008, 50); this.chase_sense.moveTo(-wdt + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_WIDTH, -hgt + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_HEIGHT); this.chase_sense.lineTo(wdt + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_WIDTH, -hgt + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_HEIGHT); this.chase_sense.lineTo(wdt + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_WIDTH, hgt + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_HEIGHT); this.chase_sense.lineTo(-wdt + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_WIDTH, hgt + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_HEIGHT); this.chase_sense.lineTo(-wdt + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_WIDTH, -hgt + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_HEIGHT); this.chase_sense.endFill(); }; v2.setPunchParamater = function (kbspd, kbdur, atkpwr) { if (kbspd == null || kbdur == null || atkpwr == null) { throw new maelstrom.language.NullPointerException('kbspd == null || kbdur == null || atkpwr == null'); } this.punch_attack.knockback_speed = kbspd; this.punch_attack.knockback_duration = kbdur; this.punch_attack.power = atkpwr; }; v2.setKickParamater = function (kbspd, kbdur, atkpwr) { if (kbspd == null || kbdur == null || atkpwr == null) { throw new maelstrom.language.NullPointerException('kbspd == null || kbdur == null || atkpwr == null'); } this.kick_attack.knockback_speed = kbspd; this.kick_attack.knockback_duration = kbdur; this.kick_attack.power = atkpwr; }; v2.setDefensePower = function (defpwr) { this.health.setDefensePower(defpwr); }; v2.setStunDuration = function (stndur) { if (stndur == null) { throw new maelstrom.language.NullPointerException('stndur == null'); } this.stun_duration = stndur; }; v2.getHealth = function () { return this.health; }; v2.setExperiencePoint = function (exp) { this.health.setExperiencePoint(exp); }; v2.play = function () { super.play(); var v3 = 0; while (v3 < this.punch_animation.length) { this.punch_animation[v3].play(); ++v3; } v3 = 0; while (v3 < this.kick_animation.length) { this.kick_animation[v3].play(); ++v3; } }; v2.stop = function () { super.stop(); var v3 = 0; while (v3 < this.punch_animation.length) { this.punch_animation[v3].stop(); ++v3; } v3 = 0; while (v3 < this.kick_animation.length) { this.kick_animation[v3].stop(); ++v3; } this.attack_se.stop(); this.down_se.stop(); }; v2.gotoAndPlay = function (frame) { if (frame == null) { throw new maelstrom.language.NullPointerException('frame == null'); } if (this.is_alive) { throw new maelstrom.language.IllegalStateException('is_alive'); } if (frame == 1) { this.play(); this._alpha = 0; this._visible = true; this.health.__set__value(seh.triangle.action.CharacterHealth.MAXIMUM); this.is_alive = true; this.animation_count = seh.triangle.action.characters.Enemy.FADE_IN_DURATION; this.onEnterFrame = this.internalFadeIn; } else { if (frame == 2) { this.play(); this.health.__set__value(seh.triangle.action.CharacterHealth.MAXIMUM); this.is_alive = true; this.hit_damage.enable(); this.delay_count = seh.triangle.action.characters.Enemy.WANDER_DELAY_DURATION; this.interval_count = seh.triangle.action.characters.Enemy.SENSE_INTERVAL; this.onEnterFrame = this.internalMain; } } }; v2.setAttackSense = function (atksnswdt, atksnshgt) { var v2 = 0; while (v2 < this.attack_senses.length) { if (this.attack_senses[v2] != null) { this.attack_senses[v2].removeMovieClip(); this.attack_senses[v2] = null; } ++v2; } atksnshgt /= 2; var v3; v3 = maelstrom.hit.BoundingBox(this.attachMovie(maelstrom.hit.BoundingBox.LINKAGE_ID, 'Left_Attack_Sense_Range', this.getNextHighestDepth(), {'_visible': false})); v3.beginFill(39168, 50); v3.moveTo(-atksnswdt, seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_HEIGHT); v3.lineTo(0, seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_HEIGHT); v3.lineTo(0, atksnshgt + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_HEIGHT); v3.lineTo(-atksnswdt, atksnshgt + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_HEIGHT); v3.lineTo(-atksnswdt, seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_HEIGHT); v3.endFill(); this.attack_senses[seh.triangle.action.CharacterDirection.LEFT.ordinal()] = v3; v3 = maelstrom.hit.BoundingBox(this.attachMovie(maelstrom.hit.BoundingBox.LINKAGE_ID, 'Right_Attack_Sense_Range', this.getNextHighestDepth(), {'_visible': false})); v3.beginFill(39168, 50); v3.moveTo(atksnswdt + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_WIDTH, seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_HEIGHT); v3.lineTo(seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_WIDTH, seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_HEIGHT); v3.lineTo(seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_WIDTH, atksnshgt + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_HEIGHT); v3.lineTo(atksnswdt + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_WIDTH, atksnshgt + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_HEIGHT); v3.lineTo(atksnswdt + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_WIDTH, seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_HEIGHT); v3.endFill(); this.attack_senses[seh.triangle.action.CharacterDirection.RIGHT.ordinal()] = v3; }; v2.punch = function () { this.punch_animation[this.direction_index]._visible = true; this.kick_animation[this.direction_index]._visible = false; this.step_animation[this.direction_index]._visible = this.kick_animation[this.direction_index]._visible; this.punch_animation[this.direction_index].gotoAndPlay(1); this.punch_attack.hit_area = this.punch_animation[this.direction_index].HitArea_Attack; this.hit_attack = this.punch_attack; this.hit_damage.hit_area = this.punch_animation[this.direction_index].HitArea_Damage; this.onEnterFrame = this.internalPunch; }; v2.kick = function () { this.kick_animation[this.direction_index]._visible = true; this.punch_animation[this.direction_index]._visible = false; this.step_animation[this.direction_index]._visible = this.punch_animation[this.direction_index]._visible; this.kick_animation[this.direction_index].gotoAndPlay(1); this.kick_attack.hit_area = this.kick_animation[this.direction_index].HitArea_Attack; this.hit_attack = this.kick_attack; this.hit_damage.hit_area = this.kick_animation[this.direction_index].HitArea_Damage; this.onEnterFrame = this.internalKick; }; v2.knockback = function (dirx, diry, kbspd, kbdur) { this.direction_x = dirx; this.direction_y = diry; this.step_animation[this.direction_index]._visible = true; this.kick_animation[this.direction_index]._visible = false; this.punch_animation[this.direction_index]._visible = this.kick_animation[this.direction_index]._visible; this.knockback_speed = kbspd; this.animation_count = kbdur; this.hit_damage.disable(); this.onEnterFrame = this.internalKnockback; }; v2.SenseVsPlayerMove = function () { if (this.chase_sense == null) { return false; } this.hit_sense.hit_area = this.chase_sense; var v3 = (this.collision_list.getHitData(seh.triangle.action.hit.HitType.PLAYER_MOVE)).getListIterator(); while (v3.hasNext()) { var v2 = seh.triangle.action.hit.HitData(v3.next()); if (v2.hasEnabled() && (this.hit_sense.getHitArea()).checkHitArea(v2.getHitArea())) { this.hit_sense.notifyHit(v2); v2.notifyHit(this.hit_sense); return true; } } return false; }; v2.SenseVsPlayerDamage = function () { if (this.attack_senses[this.direction_index] == null) { return false; } this.hit_sense.hit_area = this.attack_senses[this.direction_index]; var v3 = (this.collision_list.getHitData(seh.triangle.action.hit.HitType.PLAYER_DAMAGE)).getListIterator(); while (v3.hasNext()) { var v2 = seh.triangle.action.hit.HitData(v3.next()); if (v2.hasEnabled() && (this.hit_sense.getHitArea()).checkHitArea(v2.getHitArea())) { this.hit_sense.notifyHit(v2); return true; } } return false; }; v2.AttackVsPlayerDamage = function () { var v3 = (this.collision_list.getHitData(seh.triangle.action.hit.HitType.PLAYER_DAMAGE)).getListIterator(); while (v3.hasNext()) { var v2 = seh.triangle.action.hit.HitData(v3.next()); if (v2.hasEnabled() && (this.hit_attack.getHitArea()).checkHitArea(v2.getHitArea())) { this.hit_attack.notifyHit(v2); return true; } } return false; }; v2.internalSetDirection = function (chardir) { super.internalSetDirection(chardir); this.kick_attack.direction_x = this.direction_x; this.punch_attack.direction_x = this.kick_attack.direction_x; this.kick_attack.direction_y = this.direction_y; this.punch_attack.direction_y = this.kick_attack.direction_y; this.hit_damage.hit_area = this.step_animation[this.direction_index].HitArea_Damage; }; v2.internalMain = function () { if (--this.delay_count <= 0 && Math.floor(Math.random() * 100) <= 4) { this.delay_count = seh.triangle.action.characters.Enemy.WANDER_DELAY_DURATION; var v2 = Math.floor(Math.random() * 4); if (v2 == 0) { this.internalSetDirection(seh.triangle.action.CharacterDirection.BACK); } else { if (v2 == 1) { this.internalSetDirection(seh.triangle.action.CharacterDirection.FRONT); } else { if (v2 == 2) { this.internalSetDirection(seh.triangle.action.CharacterDirection.LEFT); } else { this.internalSetDirection(seh.triangle.action.CharacterDirection.RIGHT); } } } } this._x += this.direction_x; this._y += this.direction_y; this.update(); this.MoveVsObstacle(); if (--this.interval_count == 0) { this.interval_count = seh.triangle.action.characters.Enemy.SENSE_INTERVAL; if (this.SenseVsPlayerMove() && !this.chase_lines.isEmpty()) { this.delay_count = seh.triangle.action.characters.Enemy.ATTACK_DELAY_DURATION; this.onEnterFrame = this.internalChase; } } }; v2.internalChase = function () { var v2 = seh.triangle.action.characters.detail.ChaseLine(this.chase_lines.peek()); if (this.direction_x != v2.direction_x || this.direction_y != v2.direction_y) { if (v2.direction_x == 0) { if (v2.direction_y < 0) { this.internalSetDirection(seh.triangle.action.CharacterDirection.BACK); } else { this.internalSetDirection(seh.triangle.action.CharacterDirection.FRONT); } } else { if (v2.direction_y == 0) { if (v2.direction_x < 0) { this.internalSetDirection(seh.triangle.action.CharacterDirection.LEFT); } else { this.internalSetDirection(seh.triangle.action.CharacterDirection.RIGHT); } } } } this._x += this.direction_x * this.chase_speed; this._y += this.direction_y * this.chase_speed; this.update(); if (this.MoveVsObstacle()) { if (!this.chase_lines.isEmpty()) { this.chase_lines.clear(); } this.SenseVsPlayerMove(); if (this.chase_lines.isEmpty()) { this.delay_count = seh.triangle.action.characters.Enemy.WANDER_DELAY_DURATION; this.interval_count = seh.triangle.action.characters.Enemy.SENSE_INTERVAL; this.onEnterFrame = this.internalMain; } } else { if (--this.delay_count <= 0 && this.SenseVsPlayerDamage()) { this.delay_count = seh.triangle.action.characters.Enemy.ATTACK_DELAY_DURATION; this.attack_se.start(); if (Math.floor(Math.random() * 2) == 0) { this.punch(); } else { this.kick(); } } else { var v4 = v2.target_x - this.hit_move.__get__left(); var v3 = v2.target_y - this.hit_move.__get__top(); if (this.direction_x * v4 < 0 || this.direction_y * v3 < 0) { this.chase_lines.pop(); } if (this.chase_lines.isEmpty()) { this.delay_count = seh.triangle.action.characters.Enemy.WANDER_DELAY_DURATION; this.interval_count = seh.triangle.action.characters.Enemy.SENSE_INTERVAL; this.onEnterFrame = this.internalMain; } else { if (--this.interval_count == 0) { this.interval_count = seh.triangle.action.characters.Enemy.SENSE_INTERVAL; this.SenseVsPlayerMove(); } } } } }; v2.internalPunch = function () { if (this.punch_animation[this.direction_index]._currentframe == this.punch_animation[this.direction_index]._totalframes) { this.step_animation[this.direction_index]._visible = true; this.kick_animation[this.direction_index]._visible = false; this.punch_animation[this.direction_index]._visible = this.kick_animation[this.direction_index]._visible; this.onEnterFrame = this.chase_lines.isEmpty() ? this.internalMain : this.internalChase; } else { this.AttackVsPlayerDamage(); } }; v2.internalKick = function () { if (this.kick_animation[this.direction_index]._currentframe == this.kick_animation[this.direction_index]._totalframes) { this.step_animation[this.direction_index]._visible = true; this.kick_animation[this.direction_index]._visible = false; this.punch_animation[this.direction_index]._visible = this.kick_animation[this.direction_index]._visible; this.onEnterFrame = this.chase_lines.isEmpty() ? this.internalMain : this.internalChase; } else { this.AttackVsPlayerDamage(); } }; v2.internalKnockback = function () { if (--this.animation_count == 0) { this.animation_count = this.stun_duration; this.onEnterFrame = this.internalStun; } else { this._x += this.direction_x * this.knockback_speed; this._y += this.direction_y * this.knockback_speed; this.update(); this.MoveVsObstacle(); } }; v2.internalStun = function () { if (--this.animation_count == 0) { var v2 = (seh.triangle.action.CharacterDirection.values())[this.direction_index]; this.direction_x = v2.getDirectionX(); this.direction_y = v2.getDirectionY(); this.hit_damage.enable(); this.onEnterFrame = this.chase_lines.isEmpty() ? this.internalMain : this.internalChase; } }; v2.internalFadeIn = function () { this._alpha += seh.triangle.action.characters.Enemy.FADE_IN_ALPHA_CHANGE; this._x += this.direction_x; this._y += this.direction_y; this.update(); if (--this.animation_count == 0) { this.hit_damage.enable(); this.delay_count = seh.triangle.action.characters.Enemy.WANDER_DELAY_DURATION; this.interval_count = seh.triangle.action.characters.Enemy.SENSE_INTERVAL; this.onEnterFrame = this.internalMain; } }; v2.internalFadeOut = function () { this._alpha -= seh.triangle.action.characters.Enemy.FADE_OUT_ALPHA_CHANGE; if (--this.animation_count == 0) { this._alpha = 100; this._visible = false; this.step_animation[this.direction_index]._visible = true; this.kick_animation[this.direction_index]._visible = false; this.punch_animation[this.direction_index]._visible = this.kick_animation[this.direction_index]._visible; this.is_alive = false; this.onEnterFrame = null; } }; v1.LINKAGE_ID = '__Packages.seh.triangle.action.characters.Enemy'; v1.CONSTRUCTOR = seh.triangle.action.characters.Enemy; v1.IS_REGISTERED = Object.registerClass(seh.triangle.action.characters.Enemy.LINKAGE_ID, seh.triangle.action.characters.Enemy.CONSTRUCTOR); v1.WANDER_DELAY_DURATION = 20; v1.SENSE_INTERVAL = 5; v1.CHASE_LINE_WIDTH = 30; v1.CHASE_LINE_HEIGHT = 24; v1.ATTACK_SENSE_WIDTH = 40; v1.ATTACK_SENSE_HEIGHT = 50; v1.ATTACK_DELAY_DURATION = 5; v1.FADE_IN_DURATION = 8; v1.FADE_IN_ALPHA_CHANGE = Math.ceil(100 / seh.triangle.action.characters.Enemy.FADE_IN_DURATION); v1.FADE_OUT_DURATION = 8; v1.FADE_OUT_ALPHA_CHANGE = Math.ceil(100 / seh.triangle.action.characters.Enemy.FADE_OUT_DURATION); v2.chase_speed = 5; v2.chase_lines = null; v2.chase_sense = null; v2.knockback_speed = 0; v2.stun_duration = 8; v2.hit_attack = null; v2.delay_count = 0; v2.interval_count = 0; v2.animation_count = 0; ASSetPropFlags(seh.triangle.action.characters.Enemy.prototype, null, 1); } #endinitclip } movieClip 1914 __Packages.seh.triangle.action.characters.detail.CharacterChase { #initclip if (!_global.seh) { _global.seh = new Object(); } if (!_global.seh.triangle) { _global.seh.triangle = new Object(); } if (!_global.seh.triangle.action) { _global.seh.triangle.action = new Object(); } if (!_global.seh.triangle.action.characters) { _global.seh.triangle.action.characters = new Object(); } if (!_global.seh.triangle.action.characters.detail) { _global.seh.triangle.action.characters.detail = new Object(); } if (!_global.seh.triangle.action.characters.detail.CharacterChase) { var v1 = function (colllst) { if (colllst == null) { throw new maelstrom.language.NullPointerException('colllst == null'); } this.collision_list = colllst; this.horizontal_rectangle = new maelstrom.hit.Rectangle(); this.vertical_rectangle = new maelstrom.hit.Rectangle(); }; seh.triangle.action.characters.detail.CharacterChase = v1; var v2 = v1.prototype; v2.toString = function () { return 'CharacterChase'; }; v2.detectChaseLine = function (chsx, chsy, escx, escy, lwdt, lhgt) { var v4 = new maelstrom.collections.Pair(); var v8 = escx - chsx; v8 *= v8; var v7 = escy - chsy; v7 *= v7; this.horizontal_rectangle.width = Math.abs(chsx - escx); this.horizontal_rectangle.height = lhgt; this.vertical_rectangle.width = lwdt; this.vertical_rectangle.height = Math.abs(chsy - escy); if (escx > chsx && escy > chsy) { this.horizontal_rectangle.x = chsx; this.vertical_rectangle.y = chsy; if (v8 >= v7) { this.horizontal_rectangle.y = chsy; this.vertical_rectangle.x = escx; if (this.vsObstacle(this.horizontal_rectangle, this.vertical_rectangle)) { v4.first = new seh.triangle.action.characters.detail.ChaseLine(1, 0, escx, chsy); v4.second = new seh.triangle.action.characters.detail.ChaseLine(0, 1, escx, escy); } else { this.horizontal_rectangle.y = escy; this.vertical_rectangle.x = chsx; if (this.vsObstacle(this.vertical_rectangle, this.horizontal_rectangle)) { v4.first = new seh.triangle.action.characters.detail.ChaseLine(0, 1, chsx, escy); v4.second = new seh.triangle.action.characters.detail.ChaseLine(1, 0, escx, escy); } } } else { this.horizontal_rectangle.y = escy; this.vertical_rectangle.x = chsx; if (this.vsObstacle(this.vertical_rectangle, this.horizontal_rectangle)) { v4.first = new seh.triangle.action.characters.detail.ChaseLine(0, 1, chsx, escy); v4.second = new seh.triangle.action.characters.detail.ChaseLine(1, 0, escx, escy); } else { this.horizontal_rectangle.y = chsy; this.vertical_rectangle.x = escx; if (this.vsObstacle(this.horizontal_rectangle, this.vertical_rectangle)) { v4.first = new seh.triangle.action.characters.detail.ChaseLine(1, 0, escx, chsy); v4.second = new seh.triangle.action.characters.detail.ChaseLine(0, 1, escx, escy); } } } return v4; } if (escx < chsx && escy > chsy) { this.horizontal_rectangle.x = escx; this.vertical_rectangle.y = chsy; if (v8 >= v7) { this.horizontal_rectangle.y = chsy; this.vertical_rectangle.x = escx; if (this.vsObstacle(this.horizontal_rectangle, this.vertical_rectangle)) { v4.first = new seh.triangle.action.characters.detail.ChaseLine(-1, 0, escx, chsy); v4.second = new seh.triangle.action.characters.detail.ChaseLine(0, 1, escx, escy); } else { this.horizontal_rectangle.y = escy; this.vertical_rectangle.x = chsx; if (this.vsObstacle(this.vertical_rectangle, this.horizontal_rectangle)) { v4.first = new seh.triangle.action.characters.detail.ChaseLine(0, 1, chsx, escy); v4.second = new seh.triangle.action.characters.detail.ChaseLine(-1, 0, escx, escy); } } } else { this.horizontal_rectangle.y = escy; this.vertical_rectangle.x = chsx; if (this.vsObstacle(this.vertical_rectangle, this.horizontal_rectangle)) { v4.first = new seh.triangle.action.characters.detail.ChaseLine(0, 1, chsx, escy); v4.second = new seh.triangle.action.characters.detail.ChaseLine(-1, 0, escx, escy); } else { this.horizontal_rectangle.y = chsy; this.vertical_rectangle.x = escx; if (this.vsObstacle(this.horizontal_rectangle, this.vertical_rectangle)) { v4.first = new seh.triangle.action.characters.detail.ChaseLine(-1, 0, escx, chsy); v4.second = new seh.triangle.action.characters.detail.ChaseLine(0, 1, escx, escy); } } } return v4; } if (escx < chsx && escy < chsy) { this.horizontal_rectangle.x = escx; this.vertical_rectangle.y = escy; if (v8 >= v7) { this.horizontal_rectangle.y = chsy; this.vertical_rectangle.x = escx; if (this.vsObstacle(this.horizontal_rectangle, this.vertical_rectangle)) { v4.first = new seh.triangle.action.characters.detail.ChaseLine(-1, 0, escx, chsy); v4.second = new seh.triangle.action.characters.detail.ChaseLine(0, -1, escx, escy); } else { this.horizontal_rectangle.y = escy; this.vertical_rectangle.x = chsx; if (this.vsObstacle(this.vertical_rectangle, this.horizontal_rectangle)) { v4.first = new seh.triangle.action.characters.detail.ChaseLine(0, -1, chsx, escy); v4.second = new seh.triangle.action.characters.detail.ChaseLine(-1, 0, escx, escy); } } } else { this.horizontal_rectangle.y = escy; this.vertical_rectangle.x = chsx; if (this.vsObstacle(this.vertical_rectangle, this.horizontal_rectangle)) { v4.first = new seh.triangle.action.characters.detail.ChaseLine(0, -1, chsx, escy); v4.second = new seh.triangle.action.characters.detail.ChaseLine(-1, 0, escx, escy); } else { this.horizontal_rectangle.y = chsy; this.vertical_rectangle.x = escx; if (this.vsObstacle(this.horizontal_rectangle, this.vertical_rectangle)) { v4.first = new seh.triangle.action.characters.detail.ChaseLine(-1, 0, escx, chsy); v4.second = new seh.triangle.action.characters.detail.ChaseLine(0, -1, escx, escy); } } } return v4; } if (escx > chsx && escy < chsy) { this.horizontal_rectangle.x = chsx; this.vertical_rectangle.y = escy; if (v8 >= v7) { this.horizontal_rectangle.y = chsy; this.vertical_rectangle.x = escx; if (this.vsObstacle(this.horizontal_rectangle, this.vertical_rectangle)) { v4.first = new seh.triangle.action.characters.detail.ChaseLine(1, 0, escx, chsy); v4.second = new seh.triangle.action.characters.detail.ChaseLine(0, -1, escx, escy); } else { this.horizontal_rectangle.y = escy; this.vertical_rectangle.x = chsx; if (this.vsObstacle(this.vertical_rectangle, this.horizontal_rectangle)) { v4.first = new seh.triangle.action.characters.detail.ChaseLine(0, -1, chsx, escy); v4.second = new seh.triangle.action.characters.detail.ChaseLine(1, 0, escx, escy); } } } else { this.horizontal_rectangle.y = escy; this.vertical_rectangle.x = chsx; if (this.vsObstacle(this.vertical_rectangle, this.horizontal_rectangle)) { v4.first = new seh.triangle.action.characters.detail.ChaseLine(0, -1, chsx, escy); v4.second = new seh.triangle.action.characters.detail.ChaseLine(1, 0, escx, escy); } else { this.horizontal_rectangle.y = chsy; this.vertical_rectangle.x = escx; if (this.vsObstacle(this.horizontal_rectangle, this.vertical_rectangle)) { v4.first = new seh.triangle.action.characters.detail.ChaseLine(1, 0, escx, chsy); v4.second = new seh.triangle.action.characters.detail.ChaseLine(0, -1, escx, escy); } } } return v4; } if (escx == chsx) { if (escy > chsy) { this.vertical_rectangle.x = chsx; this.vertical_rectangle.y = chsy; if (this.vsObstacle(this.vertical_rectangle, null)) { v4.first = new seh.triangle.action.characters.detail.ChaseLine(0, 1, escx, escy); } } else { if (escy < chsy) { this.vertical_rectangle.x = escx; this.vertical_rectangle.y = escy; if (this.vsObstacle(this.vertical_rectangle, null)) { v4.first = new seh.triangle.action.characters.detail.ChaseLine(0, -1, escx, escy); } } } return v4; } if (escy == chsy) { if (escx > chsx) { this.horizontal_rectangle.x = chsx; this.horizontal_rectangle.y = chsy; if (this.vsObstacle(this.horizontal_rectangle, null)) { v4.first = new seh.triangle.action.characters.detail.ChaseLine(1, 0, escx, escy); } return v4; } if (escx < chsx) { this.horizontal_rectangle.x = escx; this.horizontal_rectangle.y = escy; if (this.vsObstacle(this.horizontal_rectangle, null)) { v4.first = new seh.triangle.action.characters.detail.ChaseLine(-1, 0, escx, escy); } } } return v4; }; v2.vsObstacle = function (fstrc, secrc) { if (fstrc == null) { throw new maelstrom.language.NullPointerException('fstrc == null'); } if (secrc === undefined) { throw new maelstrom.language.UndefinedPointerException('secrc === undefined'); } var v2; v2 = (this.collision_list.getHitData(seh.triangle.action.hit.HitType.OBSTACLE)).getListIterator(); while (v2.hasNext()) { var v3 = seh.triangle.action.hit.HitData(v2.next()); if (v3.hasEnabled() && fstrc.checkHitArea(v3.getHitArea())) { return false; } } if (secrc == null) { return true; } v2 = (this.collision_list.getHitData(seh.triangle.action.hit.HitType.OBSTACLE)).getListIterator(); while (v2.hasNext()) { v3 = seh.triangle.action.hit.HitData(v2.next()); if (v3.hasEnabled() && secrc.checkHitArea(v3.getHitArea())) { return false; } } return true; }; ASSetPropFlags(seh.triangle.action.characters.detail.CharacterChase.prototype, null, 1); } #endinitclip } movieClip 1915 __Packages.maelstrom.collections.Pair { #initclip if (!_global.maelstrom) { _global.maelstrom = new Object(); } if (!_global.maelstrom.collections) { _global.maelstrom.collections = new Object(); } if (!_global.maelstrom.collections.Pair) { var v1 = function () { if (arguments.length == 2) { if (arguments[0] == null || arguments[1] == null) { throw new maelstrom.language.NullPointerException('arguments[0] == null || arguments[1] == null'); } this.first = arguments[0]; this.second = arguments[1]; } }; maelstrom.collections.Pair = v1; var v2 = v1.prototype; v2.first = null; v2.second = null; ASSetPropFlags(maelstrom.collections.Pair.prototype, null, 1); } #endinitclip } movieClip 1916 __Packages.seh.triangle.action.characters.detail.ChaseLine { #initclip if (!_global.seh) { _global.seh = new Object(); } if (!_global.seh.triangle) { _global.seh.triangle = new Object(); } if (!_global.seh.triangle.action) { _global.seh.triangle.action = new Object(); } if (!_global.seh.triangle.action.characters) { _global.seh.triangle.action.characters = new Object(); } if (!_global.seh.triangle.action.characters.detail) { _global.seh.triangle.action.characters.detail = new Object(); } if (!_global.seh.triangle.action.characters.detail.ChaseLine) { var v1 = function () { if (arguments.length == 4) { if (arguments[0] == null || arguments[1] == null || arguments[2] == null || arguments[3] == null) { throw new maelstrom.language.NullPointerException('arguments[0] == null || arguments[1] == null || arguments[2] == null || arguments[3] == null'); } this.direction_x = arguments[0]; this.direction_y = arguments[1]; this.target_x = arguments[2]; this.target_y = arguments[3]; } }; seh.triangle.action.characters.detail.ChaseLine = v1; var v2 = v1.prototype; v2.toString = function () { return 'ChaseLine'; }; v2.direction_x = 0; v2.direction_y = 0; v2.target_x = 0; v2.target_y = 0; ASSetPropFlags(seh.triangle.action.characters.detail.ChaseLine.prototype, null, 1); } #endinitclip } movieClip 1917 __Packages.maelstrom.collections.Queue { #initclip if (!_global.maelstrom) { _global.maelstrom = new Object(); } if (!_global.maelstrom.collections) { _global.maelstrom.collections = new Object(); } if (!_global.maelstrom.collections.Queue) { var v1 = function () { this.element_ll = new maelstrom.collections.LinkedList(); this.length = 0; }; maelstrom.collections.Queue = v1; var v2 = v1.prototype; v2.toString = function () { return this.element_ll.toString(); }; v2.isEmpty = function () { return this.getLength() == 0; }; v2.getLength = function () { return this.length; }; v2.clear = function () { this.element_ll.clear(); this.length = 0; }; v2.peek = function () { return this.element_ll.first(); }; v2.push = function (elem) { ++this.length; this.element_ll.pushLast(elem); }; v2.pop = function () { --this.length; return this.element_ll.popFirst(); }; ASSetPropFlags(maelstrom.collections.Queue.prototype, null, 1); } #endinitclip } movieClip 1918 __Packages.seh.triangle.action.EnemyHealth { #initclip if (!_global.seh) { _global.seh = new Object(); } if (!_global.seh.triangle) { _global.seh.triangle = new Object(); } if (!_global.seh.triangle.action) { _global.seh.triangle.action = new Object(); } if (!_global.seh.triangle.action.EnemyHealth) { var v1 = function () { super(); }; seh.triangle.action.EnemyHealth = v1; seh.triangle.action.EnemyHealth extends seh.triangle.action.CharacterHealth; var v2 = v1.prototype; v2.toString = function () { return 'EnemyHealth'; }; v2.setExperiencePoint = function (exp) { if (exp == null) { throw new maelstrom.language.NullPointerException('exp == null'); } if (exp < 0) { throw new maelstrom.language.IllegalArgumentException('exp < 0'); } this.experience_point = exp; }; v2.getExperiencePoint = function () { return this.experience_point; }; v2.damage = function (dmgqty) { if (dmgqty == null) { throw new maelstrom.language.NullPointerException('dmgqty == null'); } if (dmgqty < 0) { throw new maelstrom.language.IllegalArgumentException('dmgqty < 0'); } if (this.internal_value == seh.triangle.action.CharacterHealth.MINIMUM) { throw new maelstrom.language.IllegalStateException('internal_value == MINIMUM'); } dmgqty -= this.defense_power; if (dmgqty >= 0) { var v3 = this.internal_value; this.internal_value -= dmgqty; if (this.internal_value <= seh.triangle.action.CharacterHealth.MINIMUM) { this.internal_value = seh.triangle.action.CharacterHealth.MINIMUM; this.dispatchEvent({'type': 'onEnemyDamaged', 'before_health': v3, 'after_health': this.internal_value}); this.dispatchEvent({'type': 'onEnemyHealthEmptied', 'experience_point': this.experience_point}); return this.internal_value; } this.dispatchEvent({'type': 'onEnemyDamaged', 'before_health': v3, 'after_health': this.internal_value}); } return this.internal_value; }; v2.experience_point = 0; ASSetPropFlags(seh.triangle.action.EnemyHealth.prototype, null, 1); } #endinitclip } movieClip 1919 __Packages.seh.triangle.action.characters.Boomerang { #initclip if (!_global.seh) { _global.seh = new Object(); } if (!_global.seh.triangle) { _global.seh.triangle = new Object(); } if (!_global.seh.triangle.action) { _global.seh.triangle.action = new Object(); } if (!_global.seh.triangle.action.characters) { _global.seh.triangle.action.characters = new Object(); } if (!_global.seh.triangle.action.characters.Boomerang) { var v1 = function () { super(); if (this.collision_list == null) { throw new maelstrom.language.IllegalStateException('collision_list == null'); } this.Chara_Premium_Boomerang.HitArea_Boomerang01._visible = false; this.Chara_Premium_Boomerang.HitArea_Boomerang02._visible = false; this.global_position = new flash.geom.Point(this._x, this._y); this._parent.localToGlobal(this.global_position); this.hit_sense = new seh.triangle.action.hit.SimpleHitData(seh.triangle.action.hit.HitType.ENEMY_SENSE); this.hit_sense.onRectangleHit = mx.utils.Delegate.create(this, this.onSenseHit); this.hit_attack = new seh.triangle.action.hit.TargetAttack(seh.triangle.action.hit.HitType.ENEMY_ATTACK); var v3 = new maelstrom.hit.LogicalOR(); v3.addOperand(this.Chara_Premium_Boomerang.HitArea_Boomerang01); v3.addOperand(this.Chara_Premium_Boomerang.HitArea_Boomerang02); this.hit_attack.hit_area = v3; this.sound_effect = new Sound(this); this.sound_effect.attachSound('SE_005'); this._visible = false; }; seh.triangle.action.characters.Boomerang = v1; seh.triangle.action.characters.Boomerang extends MovieClip; var v2 = v1.prototype; v2.toString = function () { return 'Boomerang'; }; v2.onUnload = function () { this.hit_sense.onRectangleHit = null; this.sound_effect.stop(); }; v2.onSenseHit = function (htyp, rctp, rcbtm, rclt, rcrt) { if (htyp == seh.triangle.action.hit.HitType.PLAYER_MOVE) { this.target_x = rclt + (rcrt - rclt) / 2; this.target_y = rctp + (rcbtm - rctp) / 2; } }; v2.isAlive = function () { return this.is_alive; }; v2.setCenterLength = function (ctrlen) { if (ctrlen == null) { throw new maelstrom.language.NullPointerException('ctrlen == null'); } this.center_length = ctrlen; }; v2.setCircumferenceTime = function (circumt) { if (circumt == null) { throw new maelstrom.language.NullPointerException('circumt == null'); } this.circumference_time = circumt; }; v2.setAttackParamater = function (kbspd, kbdur, atkpwr) { if (kbspd == null || kbdur == null || atkpwr == null) { throw new maelstrom.language.NullPointerException('kbspd == null || kbdur == null || atkpwr == null'); } this.hit_attack.knockback_speed = kbspd; this.hit_attack.knockback_duration = kbdur; this.hit_attack.power = atkpwr; }; v2.play = function () { super.play(); if (this._visible && this.is_alive) { if (this.sound_effect.position > 0) { this.sound_effect.start(this.sound_effect.position / 1000); } this.onEnterFrame = this.internalMain; } }; v2.stop = function () { super.stop(); this.sound_effect.stop(); if (this.is_alive && this.onEnterFrame != null) { this.onEnterFrame = null; } }; v2.update = function () { this.global_position.x = this._x + seh.triangle.action.characters.Boomerang.CHARACTER_HALF_WIDTH; this.global_position.y = this._y + seh.triangle.action.characters.Boomerang.CHARACTER_HALF_HEIGHT; this._parent.localToGlobal(this.global_position); }; v2.gotoAndPlay = function (frame) { if (frame != 1) { throw new maelstrom.language.IllegalArgumentException('frame != 1'); } if (this.is_alive) { throw new maelstrom.language.IllegalStateException('is_alive'); } this._visible = true; this.play(); this.update(); this.SenseVsPlayerMove(); var v3; var v2; v3 = this.target_x - this.global_position.x; v2 = this.target_y - this.global_position.y; if (v3 == 0) { v3 = 1; } if (v2 == 0) { v2 = -1; } var v4 = v2 / v3; var v5 = Math.sqrt(v3 * v3 + v2 * v2); var v6 = v3 / v5; var v7 = v2 / v5; if (v6 >= 0) { this.center_x = (this.target_x + this.global_position.x) / 2 - v4 * this.center_length; this.center_y = (this.target_y + this.global_position.y) / 2 + this.center_length; } else { this.center_x = (this.target_x + this.global_position.x) / 2 + v4 * this.center_length; this.center_y = (this.target_y + this.global_position.y) / 2 - this.center_length; } v3 = this.global_position.x - this.center_x; v2 = this.global_position.y - this.center_y; this.degree = Math.atan2(v2, v3) * 180 / Math.PI; this.radius = Math.sqrt(v3 * v3 + v2 * v2); this.degree_speed = this.circumference_time / 6.283185307179586 * this.radius; this.hit_attack.enable(); this.sound_effect.stop(); this.sound_effect.start(); this.is_alive = true; this.onEnterFrame = this.internalMain; }; v2.SenseVsPlayerMove = function () { var v3 = (this.collision_list.getHitData(seh.triangle.action.hit.HitType.PLAYER_MOVE)).getListIterator(); while (v3.hasNext()) { var v2 = seh.triangle.action.hit.HitData(v3.next()); this.hit_sense.notifyHit(v2); v2.notifyHit(this.hit_sense); } return true; }; v2.AttackVsPlayerDamage = function () { if (!this.hit_attack.hasEnabled()) { return false; } var v3 = (this.collision_list.getHitData(seh.triangle.action.hit.HitType.PLAYER_DAMAGE)).getListIterator(); while (v3.hasNext()) { var v2 = seh.triangle.action.hit.HitData(v3.next()); if (v2.hasEnabled() && (this.hit_attack.getHitArea()).checkHitArea(v2.getHitArea())) { this.hit_attack.notifyHit(v2); return true; } } return false; }; v2.internalMain = function () { if (this.degree >= 135 || this.degree <= -135) { this.hit_attack.direction_x = 0; this.hit_attack.direction_y = -1; } else { if (this.degree <= 45 && this.degree >= -45) { this.hit_attack.direction_x = 0; this.hit_attack.direction_y = 1; } else { if (this.degree > 45 && this.degree < 135) { this.hit_attack.direction_x = -1; this.hit_attack.direction_y = 0; } else { if (this.degree < -45 && this.degree > -135) { this.hit_attack.direction_x = 1; this.hit_attack.direction_y = 0; } } } } var v3 = this.degree * Math.PI / 180; this.degree += this.degree_speed; var v2 = new flash.geom.Point(this.center_x + Math.cos(v3) * this.radius, this.center_y + Math.sin(v3) * this.radius); this._parent.globalToLocal(v2); this._x = v2.x; this._y = v2.y; this.update(); if (this.AttackVsPlayerDamage()) { this.hit_attack.disable(); } if (this.global_position.x < -seh.triangle.action.characters.Boomerang.OUTSIDE_SCREEN_RANGE || this.global_position.x > Stage.width + seh.triangle.action.characters.Boomerang.OUTSIDE_SCREEN_RANGE || this.global_position.y < -seh.triangle.action.characters.Boomerang.OUTSIDE_SCREEN_RANGE || this.global_position.y > Stage.height + seh.triangle.action.characters.Boomerang.OUTSIDE_SCREEN_RANGE) { this.is_alive = false; this._visible = this.is_alive; this.onEnterFrame = null; } }; v1.CHARACTER_HALF_WIDTH = 16; v1.CHARACTER_HALF_HEIGHT = 42; v1.OUTSIDE_SCREEN_RANGE = 100; v2.target_x = 0; v2.target_y = 0; v2.center_length = 800; v2.center_x = 0; v2.center_y = 0; v2.radius = 0; v2.circumference_time = 3000; v2.degree = 0; v2.degree_speed = 0; v2.has_spawned = false; v2.is_alive = false; ASSetPropFlags(seh.triangle.action.characters.Boomerang.prototype, null, 1); } #endinitclip } movieClip 1920 __Packages.seh.triangle.action.characters.Premium { #initclip if (!_global.seh) { _global.seh = new Object(); } if (!_global.seh.triangle) { _global.seh.triangle = new Object(); } if (!_global.seh.triangle.action) { _global.seh.triangle.action = new Object(); } if (!_global.seh.triangle.action.characters) { _global.seh.triangle.action.characters = new Object(); } if (!_global.seh.triangle.action.characters.Premium) { var v1 = function () { super(); mx.events.EventDispatcher.initialize(this); if (this.boomerang == null) { throw new maelstrom.language.IllegalStateException('boomerang == null'); } this.step_animation = new Array(); this.step_animation.push(this.attachMovie('Chara_Premium_Back', 'Chara_Premium_Back', this.getNextHighestDepth())); this.step_animation.push(this.attachMovie('Chara_Premium_Front', 'Chara_Premium_Front', this.getNextHighestDepth())); this.step_animation.push(this.attachMovie('Chara_Premium_Left', 'Chara_Premium_Left', this.getNextHighestDepth())); this.step_animation.push(this.attachMovie('Chara_Premium_Right', 'Chara_Premium_Right', this.getNextHighestDepth())); var v3 = 0; while (v3 < this.step_animation.length) { this.step_animation[v3]._visible = false; this.step_animation[v3].HitArea_Character._visible = false; this.step_animation[v3].HitArea_Damage._visible = false; ++v3; } this.global_position = new flash.geom.Point(this._x, this._y); this._parent.localToGlobal(this.global_position); this.character_chase = new seh.triangle.action.characters.detail.CharacterChase(this.collision_list); this.escape_lines = new maelstrom.collections.Queue(); this.escape_points = new Array(); this.health = new seh.triangle.action.EnemyHealth(); this.hit_event = new seh.triangle.action.hit.Rectangle(seh.triangle.action.hit.HitType.EVENT); this.hit_event.disable(); this.hit_event.onRectangleHit = mx.utils.Delegate.create(this, this.onEventHit); this.hit_sense = new seh.triangle.action.hit.SimpleHitData(seh.triangle.action.hit.HitType.ENEMY_SENSE); this.hit_sense.onRectangleHit = mx.utils.Delegate.create(this, this.onSenseHit); this.hit_move = new seh.triangle.action.hit.Rectangle(seh.triangle.action.hit.HitType.ENEMY_MOVE); this.hit_move.onRectangleHit = mx.utils.Delegate.create(this, this.onMoveHit); this.hit_damage = new seh.triangle.action.hit.SimpleHitData(seh.triangle.action.hit.HitType.ENEMY_DAMAGE); this.hit_damage.disable(); this.hit_damage.onTargetAttackHit = mx.utils.Delegate.create(this, this.onDamageHit); this.collision_list.addHitData(this.hit_event); this.collision_list.addHitData(this.hit_damage); this.voice = new Sound(this); this.attack_voices = new Array(); this.attack_voices.push(new Sound(this)); this.attack_voices.push(new Sound(this)); this.attack_voices[0].attachSound('Voice_Premium_Event_002'); this.attack_voices[1].attachSound('Voice_Premium_Event_003'); this.damage_voices = new Array(); this.damage_voices.push(new Sound(this)); this.damage_voices.push(new Sound(this)); this.damage_voices.push(new Sound(this)); this.damage_voices[0].attachSound('Voice_Premium_Event_004'); this.damage_voices[1].attachSound('Voice_Premium_Event_005'); this.damage_voices[2].attachSound('Voice_Premium_Event_006'); this.down_voice = new Sound(this); this.down_voice.attachSound('Voice_Premium_Event_007'); this.internalSetDirection(seh.triangle.action.CharacterDirection.FRONT); this.stop(); }; seh.triangle.action.characters.Premium = v1; seh.triangle.action.characters.Premium extends seh.triangle.action.characters.detail.AbstractCharacter; var v2 = v1.prototype; v2.toString = function () { return 'Premium'; }; v2.onUnload = function () { this.boomerang.removeMovieClip(); this.hit_event.onRectangleHit = null; this.hit_sense.onRectangleHit = null; this.hit_move.onRectangleHit = null; this.hit_damage.onTargetAttackHit = null; this.collision_list.removeHitData(this.hit_event); this.collision_list.removeHitData(this.hit_damage); }; v2.onScenePlayed = function (evt) { super.onScenePlayed(evt); this.hit_event.enable(); }; v2.onSceneStopped = function (evt) { super.onSceneStopped(evt); this.boomerang.stop(); }; v2.onSceneResumed = function (evt) { super.onSceneResumed(evt); this.boomerang.play(); }; v2.onSceneUpdated = function (evt) { super.onSceneUpdated(evt); this.boomerang.update(); }; v2.onSceneTerminated = function (evt) { super.onSceneTerminated(evt); this.boomerang.stop(); this.hit_event.disable(); this.hit_damage.disable(); }; v2.onEventHit = function (htyp, rctp, rcbtm, rclt, rcrt) { if (htyp == seh.triangle.action.hit.HitType.PLAYER_MOVE) { this.hit_event.disable(); this.hit_damage.enable(); this.update(); this.escape(); this.dispatchEvent({'type': 'onBossBattleStarted'}); } }; v2.onSenseHit = function (htyp, rctp, rcbtm, rclt, rcrt) { if (htyp == seh.triangle.action.hit.HitType.PLAYER_MOVE) { var v5 = rclt + (rcrt - rclt) / 2 - this.global_position.x; var v4 = rctp + (rcbtm - rctp) / 2 - this.global_position.y; var v6 = Math.sqrt(v5 * v5 + v4 * v4); var v3 = v5 / v6; var v2 = v4 / v6; if (v3 >= -Math.SQRT1_2 && v3 <= Math.SQRT1_2 && v2 <= -Math.SQRT1_2) { this.internalSetDirection(seh.triangle.action.CharacterDirection.BACK); } else { if (v3 >= -Math.SQRT1_2 && v3 <= Math.SQRT1_2 && v2 > -Math.SQRT1_2) { this.internalSetDirection(seh.triangle.action.CharacterDirection.FRONT); } else { if (v3 <= -Math.SQRT1_2 && v2 >= -Math.SQRT1_2 && v2 <= Math.SQRT1_2) { this.internalSetDirection(seh.triangle.action.CharacterDirection.LEFT); } else { if (v3 > Math.SQRT1_2 && v2 >= -Math.SQRT1_2 && v2 <= Math.SQRT1_2) { this.internalSetDirection(seh.triangle.action.CharacterDirection.RIGHT); } } } } } }; v2.onDamageHit = function (htyp, dirx, diry, kbspd, kbdur, atkpwr) { if (this.health.damage(atkpwr) == seh.triangle.action.CharacterHealth.MINIMUM) { this.voice.stop(); this.down_voice.start(); this.onEnterFrame = null; this.stop(); this.hit_damage.disable(); this.animation_count = seh.triangle.action.characters.Premium.FADE_OUT_DURATION; this.onEnterFrame = this.internalFadeOut; } else { this.voice.stop(); var v2 = Math.floor(Math.random() * 3); this.damage_voices[v2].start(); this.knockback(dirx, diry, kbspd, kbdur); } }; v2.update = function () { super.update(); this.global_position.x = this._x + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_WIDTH; this.global_position.y = this._y + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_HEIGHT; this._parent.localToGlobal(this.global_position); this.hit_event.localToGlobal(); }; v2.addEscapePoint = function (escpt) { if (escpt == null) { throw new maelstrom.language.NullPointerException('escpt == null'); } var v3 = true; var v2 = 0; while (v2 < this.escape_points.length) { if (escpt.equals(this.escape_points[v2])) { v3 = false; break; } ++v2; } if (v3) { this.escape_points.push(escpt); } }; v2.removeEscapePoint = function (escpt) { if (escpt == null) { throw new maelstrom.language.NullPointerException('escpt == null'); } var v2 = 0; while (v2 < this.escape_points.length) { if (this.escape_points[v2].equals(escpt)) { this.escape_points.splice(v2, 1); return undefined; } ++v2; } }; v2.setEscapeSpeed = function (escspd) { if (escspd == null) { throw new maelstrom.language.NullPointerException('escspd == null'); } this.escape_speed = escspd; }; v2.setEscapeSense = function (wdt, hgt) { if (wdt == null || hgt == null) { throw new maelstrom.language.NullPointerException('wdt == null || hgt == null'); } if (this.escape_sense != null) { this.escape_sense.removeMovieClip(); } this.escape_sense = maelstrom.hit.BoundingBox(this.attachMovie(maelstrom.hit.BoundingBox.LINKAGE_ID, 'Sense_Range', this.getNextHighestDepth(), {'_visible': false})); this.escape_sense.beginFill(10027008, 50); this.escape_sense.moveTo(-wdt + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_WIDTH, -hgt + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_HEIGHT); this.escape_sense.lineTo(wdt + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_WIDTH, -hgt + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_HEIGHT); this.escape_sense.lineTo(wdt + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_WIDTH, hgt + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_HEIGHT); this.escape_sense.lineTo(-wdt + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_WIDTH, hgt + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_HEIGHT); this.escape_sense.lineTo(-wdt + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_WIDTH, -hgt + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_HEIGHT); this.escape_sense.endFill(); this.hit_sense.hit_area = this.escape_sense; }; v2.setStunDuration = function (stndur) { if (stndur == null) { throw new maelstrom.language.NullPointerException('stndur == null'); } this.stun_duration = stndur; }; v2.setDefensePower = function (defpwr) { this.health.setDefensePower(defpwr); }; v2.getHealth = function () { return this.health; }; v2.setExperiencePoint = function (exp) { this.health.setExperiencePoint(exp); }; v2.shuffleEscapePoints = function () { var v2 = this.escape_points.length; while (v2 > 0) { var v3 = Math.floor(Math.random() * v2); var v4 = this.escape_points[--v2]; this.escape_points[v2] = this.escape_points[v3]; this.escape_points[v3] = v4; } }; v2.escape = function () { this.shuffleEscapePoints(); var v3 = 0; while (v3 < this.escape_points.length) { var v5 = this.escape_points[v3].x; var v4 = this.escape_points[v3].y; var v2 = this.character_chase.detectChaseLine(this.hit_move.__get__left(), this.hit_move.__get__top(), v5, v4, seh.triangle.action.characters.Premium.ESCAPE_LINE_WIDTH, seh.triangle.action.characters.Premium.ESCAPE_LINE_HEIGHT); if (v2.first != null) { this.escape_lines.clear(); this.escape_lines.push(v2.first); } if (v2.second != null) { this.escape_lines.push(v2.second); } if (!this.escape_lines.isEmpty()) { this.onEnterFrame = this.internalEscape; break; } ++v3; } if (this.escape_lines.isEmpty()) { this.throwBoomerang(); } }; v2.throwBoomerang = function () { this.onEnterFrame = this.internalThrowBoomerang; if (!this.boomerang.isAlive()) { this.boomerang._x = this._x; this.boomerang._y = this._y; this.boomerang.gotoAndPlay(1); this.animation_count = this.stun_duration; if (Math.floor(Math.random() * 6) == 0) { var v2 = Math.floor(Math.random() * 2); this.attack_voices[v2].start(); } } }; v2.knockback = function (dirx, diry, kbspd, kbdur) { this.direction_x = dirx; this.direction_y = diry; this.knockback_speed = kbspd; this.animation_count = kbdur; this.hit_damage.disable(); this.onEnterFrame = this.internalKnockback; }; v2.SenseVsPlayerMove = function () { var v3 = (this.collision_list.getHitData(seh.triangle.action.hit.HitType.PLAYER_MOVE)).getListIterator(); while (v3.hasNext()) { var v2 = seh.triangle.action.hit.HitData(v3.next()); v2.notifyHit(this.hit_sense); if (v2.hasEnabled() && (this.hit_sense.getHitArea()).checkHitArea(v2.getHitArea())) { this.hit_sense.notifyHit(v2); return true; } } return false; }; v2.internalSetDirection = function (chardir) { super.internalSetDirection(chardir); this.hit_event.bounding_box = this.step_animation[this.direction_index].HitArea_Character; this.hit_event.localToGlobal(); this.hit_damage.hit_area = this.step_animation[this.direction_index].HitArea_Damage; }; v2.internalEscape = function () { var v2 = seh.triangle.action.characters.detail.ChaseLine(this.escape_lines.peek()); if (this.direction_x != v2.direction_x || this.direction_y != v2.direction_y) { if (v2.direction_x == 0) { if (v2.direction_y < 0) { this.internalSetDirection(seh.triangle.action.CharacterDirection.BACK); } else { this.internalSetDirection(seh.triangle.action.CharacterDirection.FRONT); } } else { if (v2.direction_y == 0) { if (v2.direction_x < 0) { this.internalSetDirection(seh.triangle.action.CharacterDirection.LEFT); } else { this.internalSetDirection(seh.triangle.action.CharacterDirection.RIGHT); } } } } this._x += this.direction_x * this.escape_speed; this._y += this.direction_y * this.escape_speed; this.update(); if (this.MoveVsObstacle()) { this.escape(); } else { var v4 = v2.target_x - this.hit_move.__get__left(); var v3 = v2.target_y - this.hit_move.__get__top(); if (this.direction_x * v4 < 0 || this.direction_y * v3 < 0) { this.escape_lines.pop(); } if (this.escape_lines.isEmpty()) { if (this.SenseVsPlayerMove()) { this.escape(); } else { this.throwBoomerang(); } } } }; v2.internalThrowBoomerang = function () { if (--this.animation_count <= 0) { if (this.SenseVsPlayerMove()) { this.escape(); } else { this.throwBoomerang(); } } }; v2.internalKnockback = function () { if (--this.animation_count == 0) { var v2 = (seh.triangle.action.CharacterDirection.values())[this.direction_index]; this.direction_x = v2.getDirectionX(); this.direction_y = v2.getDirectionY(); this.hit_damage.enable(); this.escape(); } else { this._x += this.direction_x * this.knockback_speed; this._y += this.direction_y * this.knockback_speed; this.update(); this.MoveVsObstacle(); } }; v2.internalFadeOut = function () { this.boomerang._alpha = this._alpha - seh.triangle.action.characters.Premium.FADE_OUT_ALPHA_CHANGE; this._alpha = this.boomerang._alpha; if (--this.animation_count == 0) { this.boomerang._alpha = 100; this._alpha = 100; this.boomerang._visible = false; this._visible = this.boomerang._visible; this.is_alive = false; this.onEnterFrame = null; this.dispatchEvent({'type': 'onBossBattleFinished'}); } }; v1.LINKAGE_ID = '__Packages.seh.triangle.action.characters.Premium'; v1.CONSTRUCTOR = seh.triangle.action.characters.Premium; v1.IS_REGISTERED = Object.registerClass(seh.triangle.action.characters.Premium.LINKAGE_ID, seh.triangle.action.characters.Premium.CONSTRUCTOR); v1.ESCAPE_LINE_WIDTH = 30; v1.ESCAPE_LINE_HEIGHT = 24; v1.FADE_OUT_DURATION = 8; v1.FADE_OUT_ALPHA_CHANGE = Math.ceil(100 / seh.triangle.action.characters.Premium.FADE_OUT_DURATION); v2.escape_speed = 8; v2.escape_lines = null; v2.escape_sense = null; v2.stun_duration = 30; v2.knockback_speed = 0; v2.boomerang = null; v2.animation_count = 0; ASSetPropFlags(seh.triangle.action.characters.Premium.prototype, null, 1); } #endinitclip } movieClip 1921 __Packages.seh.triangle.action.characters.Dille { #initclip if (!_global.seh) { _global.seh = new Object(); } if (!_global.seh.triangle) { _global.seh.triangle = new Object(); } if (!_global.seh.triangle.action) { _global.seh.triangle.action = new Object(); } if (!_global.seh.triangle.action.characters) { _global.seh.triangle.action.characters = new Object(); } if (!_global.seh.triangle.action.characters.Dille) { var v1 = function () { super(); mx.events.EventDispatcher.initialize(this); this.step_animation = new Array(); this.step_animation.push(this.attachMovie('Chara_Dille_Back', 'Chara_Dille_Back', this.getNextHighestDepth())); this.step_animation.push(this.attachMovie('Chara_Dille_Front', 'Chara_Dille_Front', this.getNextHighestDepth())); this.step_animation.push(this.attachMovie('Chara_Dille_Left', 'Chara_Dille_Left', this.getNextHighestDepth())); this.step_animation.push(this.attachMovie('Chara_Dille_Right', 'Chara_Dille_Right', this.getNextHighestDepth())); var v3 = 0; while (v3 < this.step_animation.length) { this.step_animation[v3]._visible = false; this.step_animation[v3].HitArea_Character._visible = false; this.step_animation[v3].HitArea_Damage._visible = false; ++v3; } this.kick_animation = new Array(); this.kick_animation.push(this.attachMovie('Chara_Dille_Kick_Back', 'Chara_Dille_Kick_Back', this.getNextHighestDepth())); this.kick_animation.push(this.attachMovie('Chara_Dille_Kick_Front', 'Chara_Dille_Kick_Front', this.getNextHighestDepth())); this.kick_animation.push(this.attachMovie('Chara_Dille_Kick_Left', 'Chara_Dille_Kick_Left', this.getNextHighestDepth())); this.kick_animation.push(this.attachMovie('Chara_Dille_Kick_Right', 'Chara_Dille_Kick_Right', this.getNextHighestDepth())); v3 = 0; while (v3 < this.kick_animation.length) { this.kick_animation[v3]._visible = false; this.kick_animation[v3].HitArea_Character._visible = false; this.kick_animation[v3].HitArea_Attack._visible = false; this.kick_animation[v3].HitArea_Damage._visible = false; ++v3; } this.global_position = new flash.geom.Point(this._x, this._y); this._parent.localToGlobal(this.global_position); this.character_chase = new seh.triangle.action.characters.detail.CharacterChase(this.collision_list); this.chase_lines = new maelstrom.collections.Queue(); this.escape_lines = new maelstrom.collections.Queue(); this.escape_points = new Array(); this.attack_senses = new Array(); this.attack_senses.push(null); this.attack_senses.push(null); this.attack_senses.push(null); this.attack_senses.push(null); this.health = new seh.triangle.action.EnemyHealth(); this.hit_event = new seh.triangle.action.hit.Rectangle(seh.triangle.action.hit.HitType.EVENT); this.hit_event.disable(); this.hit_event.onRectangleHit = mx.utils.Delegate.create(this, this.onEventHit); this.hit_sense = new seh.triangle.action.hit.SimpleHitData(seh.triangle.action.hit.HitType.ENEMY_SENSE); this.hit_sense.onRectangleHit = mx.utils.Delegate.create(this, this.onSenseHit); this.hit_move = new seh.triangle.action.hit.Rectangle(seh.triangle.action.hit.HitType.ENEMY_MOVE); this.hit_move.onRectangleHit = mx.utils.Delegate.create(this, this.onMoveHit); this.hit_attack = new seh.triangle.action.hit.TargetAttack(seh.triangle.action.hit.HitType.ENEMY_ATTACK); this.hit_damage = new seh.triangle.action.hit.SimpleHitData(seh.triangle.action.hit.HitType.ENEMY_DAMAGE); this.hit_damage.disable(); this.hit_damage.onTargetAttackHit = mx.utils.Delegate.create(this, this.onDamageHit); this.collision_list.addHitData(this.hit_event); this.collision_list.addHitData(this.hit_damage); this.attack_se = new Sound(this.step_animation[0]); this.attack_se.attachSound('SE_014'); this.voice = new Sound(this); this.attack_voices = new Array(); this.attack_voices.push(new Sound(this)); this.attack_voices.push(new Sound(this)); this.attack_voices.push(new Sound(this)); this.attack_voices[0].attachSound('Voice_Dille_Event_003'); this.attack_voices[1].attachSound('Voice_Dille_Event_004'); this.attack_voices[2].attachSound('Voice_Dille_Event_005'); this.damage_voices = new Array(); this.damage_voices.push(new Sound(this)); this.damage_voices.push(new Sound(this)); this.damage_voices.push(new Sound(this)); this.damage_voices[0].attachSound('Voice_Dille_Event_006'); this.damage_voices[1].attachSound('Voice_Dille_Event_007'); this.damage_voices[2].attachSound('Voice_Dille_Event_008'); this.down_voice = new Sound(this); this.down_voice.attachSound('Voice_Dille_Event_009'); this.internalSetDirection(seh.triangle.action.CharacterDirection.FRONT); this.setAttackSense(seh.triangle.action.characters.Dille.ATTACK_SENSE_WIDTH, seh.triangle.action.characters.Dille.ATTACK_SENSE_HEIGHT); this.stop(); }; seh.triangle.action.characters.Dille = v1; seh.triangle.action.characters.Dille extends seh.triangle.action.characters.detail.AbstractCharacter; var v2 = v1.prototype; v2.toString = function () { return 'Dille'; }; v2.onUnload = function () { this.hit_event.onRectangleHit = null; this.hit_sense.onRectangleHit = null; this.hit_move.onRectangleHit = null; this.hit_damage.onTargetAttackHit = null; this.collision_list.removeHitData(this.hit_event); this.collision_list.removeHitData(this.hit_damage); this.attack_se.stop(); }; v2.onScenePlayed = function (evt) { super.onScenePlayed(evt); this.hit_event.enable(); }; v2.onSceneTerminated = function (evt) { super.onSceneTerminated(evt); this.hit_event.disable(); this.hit_damage.disable(); }; v2.onEventHit = function (htyp, rctp, rcbtm, rclt, rcrt) { if (htyp == seh.triangle.action.hit.HitType.PLAYER_MOVE) { this.onBossBattleStarted(); this.dispatchEvent({'type': 'onBossBattleStarted'}); } }; v2.onBossBattleStarted = function (evt) { this.hit_event.disable(); this.hit_damage.enable(); this.has_chased = true; this.interval_count = seh.triangle.action.characters.Dille.SENSE_INTERVAL; this.animation_count = this.chase_duration; if (this.ChaseSenseVsPlayerMove() && !this.chase_lines.isEmpty()) { this.onEnterFrame = this.internalChase; } else { this.delay_count = seh.triangle.action.characters.Dille.WANDER_DELAY_DURATION; this.onEnterFrame = this.internalMain; } }; v2.onSenseHit = function (htyp, rctp, rcbtm, rclt, rcrt) { if (htyp == seh.triangle.action.hit.HitType.PLAYER_MOVE) { if (this.has_chased) { var v4 = this.character_chase.detectChaseLine(this.hit_move.__get__left(), this.hit_move.__get__top(), rclt, rctp, seh.triangle.action.characters.Dille.LINE_WIDTH, seh.triangle.action.characters.Dille.LINE_HEIGHT); if (v4.first != null) { this.chase_lines.clear(); this.chase_lines.push(v4.first); } if (v4.second != null) { this.chase_lines.push(v4.second); } } else { var v6 = rclt + (rcrt - rclt) / 2 - this.global_position.x; var v5 = rctp + (rcbtm - rctp) / 2 - this.global_position.y; var v7 = Math.sqrt(v6 * v6 + v5 * v5); var v3 = v6 / v7; var v2 = v5 / v7; if (v3 >= -Math.SQRT1_2 && v3 <= Math.SQRT1_2 && v2 <= -Math.SQRT1_2) { this.internalSetDirection(seh.triangle.action.CharacterDirection.BACK); } else { if (v3 >= -Math.SQRT1_2 && v3 <= Math.SQRT1_2 && v2 > -Math.SQRT1_2) { this.internalSetDirection(seh.triangle.action.CharacterDirection.FRONT); } else { if (v3 <= -Math.SQRT1_2 && v2 >= -Math.SQRT1_2 && v2 <= Math.SQRT1_2) { this.internalSetDirection(seh.triangle.action.CharacterDirection.LEFT); } else { if (v3 > Math.SQRT1_2 && v2 >= -Math.SQRT1_2 && v2 <= Math.SQRT1_2) { this.internalSetDirection(seh.triangle.action.CharacterDirection.RIGHT); } } } } } } }; v2.onDamageHit = function (htyp, dirx, diry, kbspd, kbdur, atkpwr) { if (this.health.damage(atkpwr) == seh.triangle.action.CharacterHealth.MINIMUM) { this.voice.stop(); this.down_voice.start(); this.onEnterFrame = null; this.stop(); this.hit_damage.disable(); this.animation_count = seh.triangle.action.characters.Dille.FADE_OUT_DURATION; this.onEnterFrame = this.internalFadeOut; } else { this.voice.stop(); var v2 = Math.floor(Math.random() * 3); this.damage_voices[v2].start(); this.knockback(dirx, diry, kbspd, kbdur); } }; v2.setChaseSpeed = function (chsspd) { if (chsspd == null) { throw new maelstrom.language.NullPointerException('chsspd == null'); } this.chase_speed = chsspd; }; v2.addEscapePoint = function (escpt) { if (escpt == null) { throw new maelstrom.language.NullPointerException('escpt == null'); } var v3 = true; var v2 = 0; while (v2 < this.escape_points.length) { if (escpt.equals(this.escape_points[v2])) { v3 = false; break; } ++v2; } if (v3) { this.escape_points.push(escpt); } }; v2.removeEscapePoint = function (escpt) { if (escpt == null) { throw new maelstrom.language.NullPointerException('escpt == null'); } var v2 = 0; while (v2 < this.escape_points.length) { if (this.escape_points[v2].equals(escpt)) { this.escape_points.splice(v2, 1); return undefined; } ++v2; } }; v2.setEscapeSpeed = function (escspd) { if (escspd == null) { throw new maelstrom.language.NullPointerException('escspd == null'); } this.escape_speed = escspd; }; v2.setEscapeSense = function (wdt, hgt) { if (wdt == null || hgt == null) { throw new maelstrom.language.NullPointerException('wdt == null || hgt == null'); } if (this.escape_sense != null) { this.escape_sense.removeMovieClip(); } this.escape_sense = maelstrom.hit.BoundingBox(this.attachMovie(maelstrom.hit.BoundingBox.LINKAGE_ID, 'Escape_Sense_Range', this.getNextHighestDepth(), {'_visible': false})); this.escape_sense.beginFill(10027008, 50); this.escape_sense.moveTo(-wdt + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_WIDTH, -hgt + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_HEIGHT); this.escape_sense.lineTo(wdt + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_WIDTH, -hgt + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_HEIGHT); this.escape_sense.lineTo(wdt + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_WIDTH, hgt + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_HEIGHT); this.escape_sense.lineTo(-wdt + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_WIDTH, hgt + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_HEIGHT); this.escape_sense.lineTo(-wdt + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_WIDTH, -hgt + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_HEIGHT); this.escape_sense.endFill(); }; v2.setChaseDuration = function (chsdur) { if (chsdur == null) { throw new maelstrom.language.NullPointerException('chsdur == null'); } this.chase_duration = chsdur; }; v2.setEscapeDuration = function (escdur) { if (escdur == null) { throw new maelstrom.language.NullPointerException('escdur == null'); } this.escape_duration = escdur; }; v2.setKickParamater = function (kbspd, kbdur, atkpwr) { if (kbspd == null || kbdur == null || atkpwr == null) { throw new maelstrom.language.NullPointerException('kbspd == null || kbdur == null || atkpwr == null'); } this.hit_attack.knockback_speed = kbspd; this.hit_attack.knockback_duration = kbdur; this.hit_attack.power = atkpwr; }; v2.setDefensePower = function (defpwr) { this.health.setDefensePower(defpwr); }; v2.setStunDuration = function (stndur) { if (stndur == null) { throw new maelstrom.language.NullPointerException('stndur == null'); } this.stun_duration = stndur; }; v2.getHealth = function () { return this.health; }; v2.setExperiencePoint = function (exp) { this.health.setExperiencePoint(exp); }; v2.shuffleEscapePoints = function () { var v2 = this.escape_points.length; while (v2 > 0) { var v3 = Math.floor(Math.random() * v2); var v4 = this.escape_points[--v2]; this.escape_points[v2] = this.escape_points[v3]; this.escape_points[v3] = v4; } }; v2.escape = function () { this.shuffleEscapePoints(); var v3 = 0; while (v3 < this.escape_points.length) { var v5 = this.escape_points[v3].x; var v4 = this.escape_points[v3].y; var v2 = this.character_chase.detectChaseLine(this.hit_move.__get__left(), this.hit_move.__get__top(), v5, v4, seh.triangle.action.characters.Dille.LINE_WIDTH, seh.triangle.action.characters.Dille.LINE_HEIGHT); if (v2.first != null) { this.escape_lines.clear(); this.escape_lines.push(v2.first); } if (v2.second != null) { this.escape_lines.push(v2.second); } if (!this.escape_lines.isEmpty()) { this.onEnterFrame = this.internalEscape; break; } ++v3; } if (this.escape_lines.isEmpty()) { this.onEnterFrame = this.internalNone; } }; v2.play = function () { super.play(); var v3 = 0; while (v3 < this.kick_animation.length) { this.kick_animation[v3].play(); ++v3; } }; v2.stop = function () { super.stop(); var v3 = 0; while (v3 < this.kick_animation.length) { this.kick_animation[v3].stop(); ++v3; } this.attack_se.stop(); }; v2.update = function () { super.update(); this.global_position.x = this._x + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_WIDTH; this.global_position.y = this._y + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_HEIGHT; this._parent.localToGlobal(this.global_position); this.hit_event.localToGlobal(); }; v2.setAttackSense = function (atksnswdt, atksnshgt) { var v2 = 0; while (v2 < this.attack_senses.length) { if (this.attack_senses[v2] != null) { this.attack_senses[v2].removeMovieClip(); this.attack_senses[v2] = null; } ++v2; } var v6 = atksnswdt / 2; var v5 = atksnshgt / 2; var v3; v3 = maelstrom.hit.BoundingBox(this.attachMovie(maelstrom.hit.BoundingBox.LINKAGE_ID, 'Back_Attack_Sense_Range', this.getNextHighestDepth(), {'_visible': false})); v3.beginFill(39168, 50); v3.moveTo(-v6 + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_WIDTH, 0); v3.lineTo(-v6 + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_WIDTH, -v5); v3.lineTo(atksnswdt, -v5); v3.lineTo(atksnswdt, 0); v3.lineTo(-v6 + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_WIDTH, 0); v3.endFill(); this.attack_senses[seh.triangle.action.CharacterDirection.BACK.ordinal()] = v3; v3 = maelstrom.hit.BoundingBox(this.attachMovie(maelstrom.hit.BoundingBox.LINKAGE_ID, 'Front_Attack_Sense_Range', this.getNextHighestDepth(), {'_visible': false})); v3.beginFill(39168, 50); v3.moveTo(-v6 + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_WIDTH, seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HEIGHT); v3.lineTo(-v6 + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_WIDTH, v5 + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HEIGHT); v3.lineTo(atksnswdt, v5 + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HEIGHT); v3.lineTo(atksnswdt, seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HEIGHT); v3.lineTo(-v6 + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_WIDTH, seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HEIGHT); v3.endFill(); this.attack_senses[seh.triangle.action.CharacterDirection.FRONT.ordinal()] = v3; v3 = maelstrom.hit.BoundingBox(this.attachMovie(maelstrom.hit.BoundingBox.LINKAGE_ID, 'Left_Attack_Sense_Range', this.getNextHighestDepth(), {'_visible': false})); v3.beginFill(39168, 50); v3.moveTo(-atksnswdt, seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_HEIGHT); v3.lineTo(0, seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_HEIGHT); v3.lineTo(0, v5 + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_HEIGHT); v3.lineTo(-atksnswdt, v5 + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_HEIGHT); v3.lineTo(-atksnswdt, seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_HEIGHT); v3.endFill(); this.attack_senses[seh.triangle.action.CharacterDirection.LEFT.ordinal()] = v3; v3 = maelstrom.hit.BoundingBox(this.attachMovie(maelstrom.hit.BoundingBox.LINKAGE_ID, 'Right_Attack_Sense_Range', this.getNextHighestDepth(), {'_visible': false})); v3.beginFill(39168, 50); v3.moveTo(atksnswdt + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_WIDTH, seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_HEIGHT); v3.lineTo(seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_WIDTH, seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_HEIGHT); v3.lineTo(seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_WIDTH, v5 + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_HEIGHT); v3.lineTo(atksnswdt + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_WIDTH, v5 + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_HEIGHT); v3.lineTo(atksnswdt + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_WIDTH, seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_HEIGHT); v3.endFill(); this.attack_senses[seh.triangle.action.CharacterDirection.RIGHT.ordinal()] = v3; }; v2.kick = function () { this.kick_animation[this.direction_index]._visible = true; this.step_animation[this.direction_index]._visible = false; this.kick_animation[this.direction_index].gotoAndPlay(1); this.hit_attack.hit_area = this.kick_animation[this.direction_index].HitArea_Attack; this.hit_damage.hit_area = this.kick_animation[this.direction_index].HitArea_Damage; this.onEnterFrame = this.internalKick; }; v2.knockback = function (dirx, diry, kbspd, kbdur) { this.direction_x = dirx; this.direction_y = diry; this.step_animation[this.direction_index]._visible = true; this.kick_animation[this.direction_index]._visible = false; this.knockback_speed = kbspd; this.animation_count = kbdur; this.hit_damage.disable(); this.onEnterFrame = this.internalKnockback; }; v2.ChaseSenseVsPlayerMove = function () { var v3 = (this.collision_list.getHitData(seh.triangle.action.hit.HitType.PLAYER_MOVE)).getListIterator(); while (v3.hasNext()) { var v2 = seh.triangle.action.hit.HitData(v3.next()); if (v2.hasEnabled()) { v2.notifyHit(this.hit_sense); this.hit_sense.notifyHit(v2); return true; } } return false; }; v2.EscapeSenseVsPlayerMove = function () { this.hit_sense.hit_area = this.escape_sense; var v3 = (this.collision_list.getHitData(seh.triangle.action.hit.HitType.PLAYER_MOVE)).getListIterator(); while (v3.hasNext()) { var v2 = seh.triangle.action.hit.HitData(v3.next()); v2.notifyHit(this.hit_sense); if (v2.hasEnabled() && (this.hit_sense.getHitArea()).checkHitArea(v2.getHitArea())) { this.hit_sense.notifyHit(v2); return true; } } return false; }; v2.AttackSenseVsPlayerDamage = function () { this.hit_sense.hit_area = this.attack_senses[this.direction_index]; var v3 = (this.collision_list.getHitData(seh.triangle.action.hit.HitType.PLAYER_DAMAGE)).getListIterator(); while (v3.hasNext()) { var v2 = seh.triangle.action.hit.HitData(v3.next()); if (v2.hasEnabled() && (this.hit_sense.getHitArea()).checkHitArea(v2.getHitArea())) { this.hit_sense.notifyHit(v2); return true; } } return false; }; v2.AttackVsPlayerDamage = function () { var v3 = (this.collision_list.getHitData(seh.triangle.action.hit.HitType.PLAYER_DAMAGE)).getListIterator(); while (v3.hasNext()) { var v2 = seh.triangle.action.hit.HitData(v3.next()); if (v2.hasEnabled() && (this.hit_attack.getHitArea()).checkHitArea(v2.getHitArea())) { this.hit_attack.notifyHit(v2); return true; } } return false; }; v2.internalSetDirection = function (chardir) { super.internalSetDirection(chardir); this.hit_event.bounding_box = this.step_animation[this.direction_index].HitArea_Character; this.hit_event.localToGlobal(); this.hit_attack.direction_x = this.direction_x; this.hit_attack.direction_y = this.direction_y; this.hit_damage.hit_area = this.step_animation[this.direction_index].HitArea_Damage; }; v2.internalMain = function () { if (--this.animation_count <= 0) { this.has_chased = false; this.animation_count = this.escape_duration; this.escape(); return undefined; } if (--this.delay_count <= 0 && Math.floor(Math.random() * 100) <= 4) { this.delay_count = seh.triangle.action.characters.Dille.WANDER_DELAY_DURATION; var v2 = Math.floor(Math.random() * 4); if (v2 == 0) { this.internalSetDirection(seh.triangle.action.CharacterDirection.BACK); } else { if (v2 == 1) { this.internalSetDirection(seh.triangle.action.CharacterDirection.FRONT); } else { if (v2 == 2) { this.internalSetDirection(seh.triangle.action.CharacterDirection.LEFT); } else { this.internalSetDirection(seh.triangle.action.CharacterDirection.RIGHT); } } } } this._x += this.direction_x; this._y += this.direction_y; this.update(); this.MoveVsObstacle(); if (--this.interval_count == 0) { this.interval_count = seh.triangle.action.characters.Dille.SENSE_INTERVAL; if (this.ChaseSenseVsPlayerMove() && !this.chase_lines.isEmpty()) { this.onEnterFrame = this.internalChase; } } }; v2.internalChase = function () { if (--this.animation_count <= 0) { this.has_chased = false; this.animation_count = this.escape_duration; this.escape(); return undefined; } var v2 = seh.triangle.action.characters.detail.ChaseLine(this.chase_lines.peek()); if (this.direction_x != v2.direction_x || this.direction_y != v2.direction_y) { if (v2.direction_x == 0) { if (v2.direction_y < 0) { this.internalSetDirection(seh.triangle.action.CharacterDirection.BACK); } else { this.internalSetDirection(seh.triangle.action.CharacterDirection.FRONT); } } else { if (v2.direction_y == 0) { if (v2.direction_x < 0) { this.internalSetDirection(seh.triangle.action.CharacterDirection.LEFT); } else { this.internalSetDirection(seh.triangle.action.CharacterDirection.RIGHT); } } } } this._x += this.direction_x * this.chase_speed; this._y += this.direction_y * this.chase_speed; this.update(); --this.voice_count; if (this.MoveVsObstacle()) { if (!this.chase_lines.isEmpty()) { this.chase_lines.clear(); } this.ChaseSenseVsPlayerMove(); if (this.chase_lines.isEmpty()) { this.delay_count = seh.triangle.action.characters.Dille.WANDER_DELAY_DURATION; this.interval_count = seh.triangle.action.characters.Dille.SENSE_INTERVAL; this.onEnterFrame = this.internalMain; } } else { if (this.AttackSenseVsPlayerDamage()) { this.attack_se.start(); if (this.voice_count <= 0) { this.voice_count = seh.triangle.action.characters.Dille.VOICE_DURATION; var v5 = Math.floor(Math.random() * 3); this.attack_voices[v5].start(); } this.kick(); } else { var v4 = v2.target_x - this.hit_move.__get__left(); var v3 = v2.target_y - this.hit_move.__get__top(); if (this.direction_x * v4 < 0 || this.direction_y * v3 < 0) { this.chase_lines.pop(); } if (this.chase_lines.isEmpty()) { this.delay_count = seh.triangle.action.characters.Dille.WANDER_DELAY_DURATION; this.interval_count = seh.triangle.action.characters.Dille.SENSE_INTERVAL; this.onEnterFrame = this.internalMain; } else { if (--this.interval_count == 0) { this.interval_count = seh.triangle.action.characters.Dille.SENSE_INTERVAL; this.ChaseSenseVsPlayerMove(); } } } } }; v2.internalEscape = function () { if (--this.animation_count <= 0) { this.has_chased = true; this.interval_count = seh.triangle.action.characters.Dille.SENSE_INTERVAL; this.animation_count = this.chase_duration; if (this.ChaseSenseVsPlayerMove() && !this.chase_lines.isEmpty()) { this.onEnterFrame = this.internalChase; } else { this.delay_count = seh.triangle.action.characters.Dille.WANDER_DELAY_DURATION; this.onEnterFrame = this.internalMain; } return undefined; } var v2 = seh.triangle.action.characters.detail.ChaseLine(this.escape_lines.peek()); if (this.direction_x != v2.direction_x || this.direction_y != v2.direction_y) { if (v2.direction_x == 0) { if (v2.direction_y < 0) { this.internalSetDirection(seh.triangle.action.CharacterDirection.BACK); } else { this.internalSetDirection(seh.triangle.action.CharacterDirection.FRONT); } } else { if (v2.direction_y == 0) { if (v2.direction_x < 0) { this.internalSetDirection(seh.triangle.action.CharacterDirection.LEFT); } else { this.internalSetDirection(seh.triangle.action.CharacterDirection.RIGHT); } } } } this._x += this.direction_x * this.escape_speed; this._y += this.direction_y * this.escape_speed; this.update(); if (this.MoveVsObstacle()) { this.escape(); } else { var v4 = v2.target_x - this.hit_move.__get__left(); var v3 = v2.target_y - this.hit_move.__get__top(); if (this.direction_x * v4 < 0 || this.direction_y * v3 < 0) { this.escape_lines.pop(); } if (this.escape_lines.isEmpty()) { if (this.EscapeSenseVsPlayerMove()) { this.escape(); } else { this.onEnterFrame = this.internalNone; } } } }; v2.internalNone = function () { if (--this.animation_count <= 0) { this.has_chased = true; this.interval_count = seh.triangle.action.characters.Dille.SENSE_INTERVAL; this.animation_count = this.chase_duration; if (this.ChaseSenseVsPlayerMove() && !this.chase_lines.isEmpty()) { this.onEnterFrame = this.internalChase; } else { this.delay_count = seh.triangle.action.characters.Dille.WANDER_DELAY_DURATION; this.onEnterFrame = this.internalMain; } } else { if (this.EscapeSenseVsPlayerMove()) { this.escape(); } } }; v2.internalKick = function () { if (this.kick_animation[this.direction_index]._currentframe == this.kick_animation[this.direction_index]._totalframes) { this.step_animation[this.direction_index]._visible = true; this.kick_animation[this.direction_index]._visible = false; this.onEnterFrame = this.chase_lines.isEmpty() ? this.internalMain : this.internalChase; } else { this.AttackVsPlayerDamage(); } }; v2.internalKnockback = function () { if (--this.animation_count == 0) { this.animation_count = this.stun_duration; this.onEnterFrame = this.internalStun; } else { this._x += this.direction_x * this.knockback_speed; this._y += this.direction_y * this.knockback_speed; this.update(); this.MoveVsObstacle(); } }; v2.internalStun = function () { if (--this.animation_count == 0) { var v2 = (seh.triangle.action.CharacterDirection.values())[this.direction_index]; this.direction_x = v2.getDirectionX(); this.direction_y = v2.getDirectionY(); this.hit_damage.enable(); if (this.has_chased) { this.onEnterFrame = this.chase_lines.isEmpty() ? this.internalMain : this.internalChase; } else { this.escape(); } } }; v2.internalFadeOut = function () { this._alpha -= seh.triangle.action.characters.Dille.FADE_OUT_ALPHA_CHANGE; if (--this.animation_count == 0) { this._alpha = 100; this._visible = false; this.step_animation[this.direction_index]._visible = true; this.kick_animation[this.direction_index]._visible = false; this.is_alive = false; this.onEnterFrame = null; this.dispatchEvent({'type': 'onBossBattleFinished'}); } }; v1.LINKAGE_ID = '__Packages.seh.triangle.action.characters.Dille'; v1.CONSTRUCTOR = seh.triangle.action.characters.Dille; v1.IS_REGISTERED = Object.registerClass(seh.triangle.action.characters.Dille.LINKAGE_ID, seh.triangle.action.characters.Dille.CONSTRUCTOR); v1.WANDER_DELAY_DURATION = 20; v1.SENSE_INTERVAL = 5; v1.LINE_WIDTH = 30; v1.LINE_HEIGHT = 24; v1.ATTACK_SENSE_WIDTH = 40; v1.ATTACK_SENSE_HEIGHT = 50; v1.FADE_OUT_DURATION = 8; v1.FADE_OUT_ALPHA_CHANGE = Math.ceil(100 / seh.triangle.action.characters.Dille.FADE_OUT_DURATION); v1.VOICE_DURATION = 60; v2.chase_speed = 5; v2.escape_speed = 8; v2.escape_lines = null; v2.escape_sense = null; v2.chase_lines = null; v2.knockback_speed = 0; v2.chase_duration = 300; v2.escape_duration = 300; v2.has_chased = false; v2.stun_duration = 8; v2.delay_count = 0; v2.interval_count = 0; v2.animation_count = 0; v2.voice_count = seh.triangle.action.characters.Dille.VOICE_DURATION; ASSetPropFlags(seh.triangle.action.characters.Dille.prototype, null, 1); } #endinitclip } movieClip 1922 __Packages.seh.triangle.action.characters.Elle { #initclip if (!_global.seh) { _global.seh = new Object(); } if (!_global.seh.triangle) { _global.seh.triangle = new Object(); } if (!_global.seh.triangle.action) { _global.seh.triangle.action = new Object(); } if (!_global.seh.triangle.action.characters) { _global.seh.triangle.action.characters = new Object(); } if (!_global.seh.triangle.action.characters.Elle) { var v1 = function () { super(); mx.events.EventDispatcher.initialize(this); this.step_animation = new Array(); this.step_animation.push(this.attachMovie('Chara_Elle_Back', 'Chara_Elle_Back', this.getNextHighestDepth())); this.step_animation.push(this.attachMovie('Chara_Elle_Front', 'Chara_Elle_Front', this.getNextHighestDepth())); this.step_animation.push(this.attachMovie('Chara_Elle_Left', 'Chara_Elle_Left', this.getNextHighestDepth())); this.step_animation.push(this.attachMovie('Chara_Elle_Right', 'Chara_Elle_Right', this.getNextHighestDepth())); var v3 = 0; while (v3 < this.step_animation.length) { this.step_animation[v3]._visible = false; this.step_animation[v3].HitArea_Character._visible = false; this.step_animation[v3].HitArea_Damage._visible = false; ++v3; } this.punch_animation = new Array(); this.punch_animation.push(this.attachMovie('Chara_Elle_Punch_Back', 'Chara_Elle_Punch_Back', this.getNextHighestDepth())); this.punch_animation.push(this.attachMovie('Chara_Elle_Punch_Front', 'Chara_Elle_Punch_Front', this.getNextHighestDepth())); this.punch_animation.push(this.attachMovie('Chara_Elle_Punch_Left', 'Chara_Elle_Punch_Left', this.getNextHighestDepth())); this.punch_animation.push(this.attachMovie('Chara_Elle_Punch_Right', 'Chara_Elle_Punch_Right', this.getNextHighestDepth())); v3 = 0; while (v3 < this.punch_animation.length) { this.punch_animation[v3]._visible = false; this.punch_animation[v3].HitArea_Character._visible = false; this.punch_animation[v3].HitArea_Attack._visible = false; this.punch_animation[v3].HitArea_Damage._visible = false; ++v3; } this.global_position = new flash.geom.Point(this._x, this._y); this._parent.localToGlobal(this.global_position); this.character_chase = new seh.triangle.action.characters.detail.CharacterChase(this.collision_list); this.chase_lines = new maelstrom.collections.Queue(); this.escape_lines = new maelstrom.collections.Queue(); this.escape_points = new Array(); this.attack_senses = new Array(); this.attack_senses.push(null); this.attack_senses.push(null); this.attack_senses.push(null); this.attack_senses.push(null); this.health = new seh.triangle.action.EnemyHealth(); this.hit_event = new seh.triangle.action.hit.Rectangle(seh.triangle.action.hit.HitType.EVENT); this.hit_event.disable(); this.hit_event.onRectangleHit = mx.utils.Delegate.create(this, this.onEventHit); this.hit_sense = new seh.triangle.action.hit.SimpleHitData(seh.triangle.action.hit.HitType.ENEMY_SENSE); this.hit_sense.onRectangleHit = mx.utils.Delegate.create(this, this.onSenseHit); this.hit_move = new seh.triangle.action.hit.Rectangle(seh.triangle.action.hit.HitType.ENEMY_MOVE); this.hit_move.onRectangleHit = mx.utils.Delegate.create(this, this.onMoveHit); this.hit_attack = new seh.triangle.action.hit.TargetAttack(seh.triangle.action.hit.HitType.ENEMY_ATTACK); this.hit_damage = new seh.triangle.action.hit.SimpleHitData(seh.triangle.action.hit.HitType.ENEMY_DAMAGE); this.hit_damage.disable(); this.hit_damage.onTargetAttackHit = mx.utils.Delegate.create(this, this.onDamageHit); this.collision_list.addHitData(this.hit_event); this.collision_list.addHitData(this.hit_damage); this.attack_se = new Sound(this.step_animation[0]); this.attack_se.attachSound('SE_014'); this.voice = new Sound(this); this.attack_voices = new Array(); this.attack_voices.push(new Sound(this)); this.attack_voices.push(new Sound(this)); this.attack_voices.push(new Sound(this)); this.attack_voices[0].attachSound('Voice_Elle_Event_003'); this.attack_voices[1].attachSound('Voice_Elle_Event_004'); this.attack_voices[2].attachSound('Voice_Elle_Event_005'); this.damage_voices = new Array(); this.damage_voices.push(new Sound(this)); this.damage_voices.push(new Sound(this)); this.damage_voices.push(new Sound(this)); this.damage_voices[0].attachSound('Voice_Elle_Event_006'); this.damage_voices[1].attachSound('Voice_Elle_Event_007'); this.damage_voices[2].attachSound('Voice_Elle_Event_008'); this.down_voice = new Sound(this); this.down_voice.attachSound('Voice_Elle_Event_009'); this.internalSetDirection(seh.triangle.action.CharacterDirection.FRONT); this.setAttackSense(seh.triangle.action.characters.Elle.ATTACK_SENSE_WIDTH, seh.triangle.action.characters.Elle.ATTACK_SENSE_HEIGHT); this.stop(); }; seh.triangle.action.characters.Elle = v1; seh.triangle.action.characters.Elle extends seh.triangle.action.characters.detail.AbstractCharacter; var v2 = v1.prototype; v2.toString = function () { return 'Elle'; }; v2.onUnload = function () { this.hit_event.onRectangleHit = null; this.hit_sense.onRectangleHit = null; this.hit_move.onRectangleHit = null; this.hit_damage.onTargetAttackHit = null; this.collision_list.removeHitData(this.hit_event); this.collision_list.removeHitData(this.hit_damage); this.attack_se.stop(); }; v2.onScenePlayed = function (evt) { super.onScenePlayed(evt); this.hit_event.enable(); }; v2.onSceneTerminated = function (evt) { super.onSceneTerminated(evt); this.hit_event.disable(); this.hit_damage.disable(); }; v2.onEventHit = function (htyp, rctp, rcbtm, rclt, rcrt) { if (htyp == seh.triangle.action.hit.HitType.PLAYER_MOVE) { this.onBossBattleStarted(); this.dispatchEvent({'type': 'onBossBattleStarted'}); } }; v2.onBossBattleStarted = function (evt) { this.hit_event.disable(); this.hit_damage.enable(); this.has_chased = true; this.interval_count = seh.triangle.action.characters.Elle.SENSE_INTERVAL; this.animation_count = this.chase_duration; if (this.ChaseSenseVsPlayerMove() && !this.chase_lines.isEmpty()) { this.onEnterFrame = this.internalChase; } else { this.delay_count = seh.triangle.action.characters.Elle.WANDER_DELAY_DURATION; this.onEnterFrame = this.internalMain; } }; v2.onSenseHit = function (htyp, rctp, rcbtm, rclt, rcrt) { if (htyp == seh.triangle.action.hit.HitType.PLAYER_MOVE) { if (this.has_chased) { var v4 = this.character_chase.detectChaseLine(this.hit_move.__get__left(), this.hit_move.__get__top(), rclt, rctp, seh.triangle.action.characters.Elle.LINE_WIDTH, seh.triangle.action.characters.Elle.LINE_HEIGHT); if (v4.first != null) { this.chase_lines.clear(); this.chase_lines.push(v4.first); } if (v4.second != null) { this.chase_lines.push(v4.second); } } else { var v6 = rclt + (rcrt - rclt) / 2 - this.global_position.x; var v5 = rctp + (rcbtm - rctp) / 2 - this.global_position.y; var v7 = Math.sqrt(v6 * v6 + v5 * v5); var v3 = v6 / v7; var v2 = v5 / v7; if (v3 >= -Math.SQRT1_2 && v3 <= Math.SQRT1_2 && v2 <= -Math.SQRT1_2) { this.internalSetDirection(seh.triangle.action.CharacterDirection.BACK); } else { if (v3 >= -Math.SQRT1_2 && v3 <= Math.SQRT1_2 && v2 > -Math.SQRT1_2) { this.internalSetDirection(seh.triangle.action.CharacterDirection.FRONT); } else { if (v3 <= -Math.SQRT1_2 && v2 >= -Math.SQRT1_2 && v2 <= Math.SQRT1_2) { this.internalSetDirection(seh.triangle.action.CharacterDirection.LEFT); } else { if (v3 > Math.SQRT1_2 && v2 >= -Math.SQRT1_2 && v2 <= Math.SQRT1_2) { this.internalSetDirection(seh.triangle.action.CharacterDirection.RIGHT); } } } } } } }; v2.onDamageHit = function (htyp, dirx, diry, kbspd, kbdur, atkpwr) { if (this.health.damage(atkpwr) == seh.triangle.action.CharacterHealth.MINIMUM) { this.voice.stop(); this.down_voice.start(); this.onEnterFrame = null; this.stop(); this.hit_damage.disable(); this.animation_count = seh.triangle.action.characters.Elle.FADE_OUT_DURATION; this.onEnterFrame = this.internalFadeOut; } else { this.voice.stop(); var v2 = Math.floor(Math.random() * 3); this.damage_voices[v2].start(); this.knockback(dirx, diry, kbspd, kbdur); } }; v2.setChaseSpeed = function (chsspd) { if (chsspd == null) { throw new maelstrom.language.NullPointerException('chsspd == null'); } this.chase_speed = chsspd; }; v2.addEscapePoint = function (escpt) { if (escpt == null) { throw new maelstrom.language.NullPointerException('escpt == null'); } var v3 = true; var v2 = 0; while (v2 < this.escape_points.length) { if (escpt.equals(this.escape_points[v2])) { v3 = false; break; } ++v2; } if (v3) { this.escape_points.push(escpt); } }; v2.removeEscapePoint = function (escpt) { if (escpt == null) { throw new maelstrom.language.NullPointerException('escpt == null'); } var v2 = 0; while (v2 < this.escape_points.length) { if (this.escape_points[v2].equals(escpt)) { this.escape_points.splice(v2, 1); return undefined; } ++v2; } }; v2.setEscapeSpeed = function (escspd) { if (escspd == null) { throw new maelstrom.language.NullPointerException('escspd == null'); } this.escape_speed = escspd; }; v2.setEscapeSense = function (wdt, hgt) { if (wdt == null || hgt == null) { throw new maelstrom.language.NullPointerException('wdt == null || hgt == null'); } if (this.escape_sense != null) { this.escape_sense.removeMovieClip(); } this.escape_sense = maelstrom.hit.BoundingBox(this.attachMovie(maelstrom.hit.BoundingBox.LINKAGE_ID, 'Escape_Sense_Range', this.getNextHighestDepth(), {'_visible': false})); this.escape_sense.beginFill(10027008, 50); this.escape_sense.moveTo(-wdt + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_WIDTH, -hgt + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_HEIGHT); this.escape_sense.lineTo(wdt + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_WIDTH, -hgt + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_HEIGHT); this.escape_sense.lineTo(wdt + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_WIDTH, hgt + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_HEIGHT); this.escape_sense.lineTo(-wdt + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_WIDTH, hgt + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_HEIGHT); this.escape_sense.lineTo(-wdt + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_WIDTH, -hgt + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_HEIGHT); this.escape_sense.endFill(); }; v2.setChaseDuration = function (chsdur) { if (chsdur == null) { throw new maelstrom.language.NullPointerException('chsdur == null'); } this.chase_duration = chsdur; }; v2.setEscapeDuration = function (escdur) { if (escdur == null) { throw new maelstrom.language.NullPointerException('escdur == null'); } this.escape_duration = escdur; }; v2.setPunchParamater = function (kbspd, kbdur, atkpwr) { if (kbspd == null || kbdur == null || atkpwr == null) { throw new maelstrom.language.NullPointerException('kbspd == null || kbdur == null || atkpwr == null'); } this.hit_attack.knockback_speed = kbspd; this.hit_attack.knockback_duration = kbdur; this.hit_attack.power = atkpwr; }; v2.setDefensePower = function (defpwr) { this.health.setDefensePower(defpwr); }; v2.setStunDuration = function (stndur) { if (stndur == null) { throw new maelstrom.language.NullPointerException('stndur == null'); } this.stun_duration = stndur; }; v2.getHealth = function () { return this.health; }; v2.setExperiencePoint = function (exp) { this.health.setExperiencePoint(exp); }; v2.shuffleEscapePoints = function () { var v2 = this.escape_points.length; while (v2 > 0) { var v3 = Math.floor(Math.random() * v2); var v4 = this.escape_points[--v2]; this.escape_points[v2] = this.escape_points[v3]; this.escape_points[v3] = v4; } }; v2.escape = function () { this.shuffleEscapePoints(); var v3 = 0; while (v3 < this.escape_points.length) { var v5 = this.escape_points[v3].x; var v4 = this.escape_points[v3].y; var v2 = this.character_chase.detectChaseLine(this.hit_move.__get__left(), this.hit_move.__get__top(), v5, v4, seh.triangle.action.characters.Elle.LINE_WIDTH, seh.triangle.action.characters.Elle.LINE_HEIGHT); if (v2.first != null) { this.escape_lines.clear(); this.escape_lines.push(v2.first); } if (v2.second != null) { this.escape_lines.push(v2.second); } if (!this.escape_lines.isEmpty()) { this.onEnterFrame = this.internalEscape; break; } ++v3; } if (this.escape_lines.isEmpty()) { this.onEnterFrame = this.internalNone; } }; v2.play = function () { super.play(); var v3 = 0; while (v3 < this.punch_animation.length) { this.punch_animation[v3].play(); ++v3; } }; v2.stop = function () { super.stop(); var v3 = 0; while (v3 < this.punch_animation.length) { this.punch_animation[v3].stop(); ++v3; } this.attack_se.stop(); }; v2.update = function () { super.update(); this.global_position.x = this._x + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_WIDTH; this.global_position.y = this._y + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_HEIGHT; this._parent.localToGlobal(this.global_position); this.hit_event.localToGlobal(); }; v2.setAttackSense = function (atksnswdt, atksnshgt) { var v2 = 0; while (v2 < this.attack_senses.length) { if (this.attack_senses[v2] != null) { this.attack_senses[v2].removeMovieClip(); this.attack_senses[v2] = null; } ++v2; } var v6 = atksnswdt / 2; var v5 = atksnshgt / 2; var v3; v3 = maelstrom.hit.BoundingBox(this.attachMovie(maelstrom.hit.BoundingBox.LINKAGE_ID, 'Back_Attack_Sense_Range', this.getNextHighestDepth(), {'_visible': false})); v3.beginFill(39168, 50); v3.moveTo(-v6 + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_WIDTH, 0); v3.lineTo(-v6 + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_WIDTH, -v5); v3.lineTo(atksnswdt, -v5); v3.lineTo(atksnswdt, 0); v3.lineTo(-v6 + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_WIDTH, 0); v3.endFill(); this.attack_senses[seh.triangle.action.CharacterDirection.BACK.ordinal()] = v3; v3 = maelstrom.hit.BoundingBox(this.attachMovie(maelstrom.hit.BoundingBox.LINKAGE_ID, 'Front_Attack_Sense_Range', this.getNextHighestDepth(), {'_visible': false})); v3.beginFill(39168, 50); v3.moveTo(-v6 + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_WIDTH, seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HEIGHT); v3.lineTo(-v6 + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_WIDTH, v5 + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HEIGHT); v3.lineTo(atksnswdt, v5 + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HEIGHT); v3.lineTo(atksnswdt, seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HEIGHT); v3.lineTo(-v6 + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_WIDTH, seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HEIGHT); v3.endFill(); this.attack_senses[seh.triangle.action.CharacterDirection.FRONT.ordinal()] = v3; v3 = maelstrom.hit.BoundingBox(this.attachMovie(maelstrom.hit.BoundingBox.LINKAGE_ID, 'Left_Attack_Sense_Range', this.getNextHighestDepth(), {'_visible': false})); v3.beginFill(39168, 50); v3.moveTo(-atksnswdt, seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_HEIGHT); v3.lineTo(0, seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_HEIGHT); v3.lineTo(0, v5 + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_HEIGHT); v3.lineTo(-atksnswdt, v5 + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_HEIGHT); v3.lineTo(-atksnswdt, seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_HEIGHT); v3.endFill(); this.attack_senses[seh.triangle.action.CharacterDirection.LEFT.ordinal()] = v3; v3 = maelstrom.hit.BoundingBox(this.attachMovie(maelstrom.hit.BoundingBox.LINKAGE_ID, 'Right_Attack_Sense_Range', this.getNextHighestDepth(), {'_visible': false})); v3.beginFill(39168, 50); v3.moveTo(atksnswdt + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_WIDTH, seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_HEIGHT); v3.lineTo(seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_WIDTH, seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_HEIGHT); v3.lineTo(seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_WIDTH, v5 + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_HEIGHT); v3.lineTo(atksnswdt + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_WIDTH, v5 + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_HEIGHT); v3.lineTo(atksnswdt + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_WIDTH, seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_HEIGHT); v3.endFill(); this.attack_senses[seh.triangle.action.CharacterDirection.RIGHT.ordinal()] = v3; }; v2.punch = function () { this.punch_animation[this.direction_index]._visible = true; this.step_animation[this.direction_index]._visible = false; this.punch_animation[this.direction_index].gotoAndPlay(1); this.hit_attack.hit_area = this.punch_animation[this.direction_index].HitArea_Attack; this.hit_damage.hit_area = this.punch_animation[this.direction_index].HitArea_Damage; this.onEnterFrame = this.internalPunch; }; v2.knockback = function (dirx, diry, kbspd, kbdur) { this.direction_x = dirx; this.direction_y = diry; this.step_animation[this.direction_index]._visible = true; this.punch_animation[this.direction_index]._visible = false; this.knockback_speed = kbspd; this.animation_count = kbdur; this.hit_damage.disable(); this.onEnterFrame = this.internalKnockback; }; v2.ChaseSenseVsPlayerMove = function () { var v3 = (this.collision_list.getHitData(seh.triangle.action.hit.HitType.PLAYER_MOVE)).getListIterator(); while (v3.hasNext()) { var v2 = seh.triangle.action.hit.HitData(v3.next()); if (v2.hasEnabled()) { v2.notifyHit(this.hit_sense); this.hit_sense.notifyHit(v2); return true; } } return false; }; v2.EscapeSenseVsPlayerMove = function () { this.hit_sense.hit_area = this.escape_sense; var v3 = (this.collision_list.getHitData(seh.triangle.action.hit.HitType.PLAYER_MOVE)).getListIterator(); while (v3.hasNext()) { var v2 = seh.triangle.action.hit.HitData(v3.next()); v2.notifyHit(this.hit_sense); if (v2.hasEnabled() && (this.hit_sense.getHitArea()).checkHitArea(v2.getHitArea())) { this.hit_sense.notifyHit(v2); return true; } } return false; }; v2.AttackSenseVsPlayerDamage = function () { this.hit_sense.hit_area = this.attack_senses[this.direction_index]; var v3 = (this.collision_list.getHitData(seh.triangle.action.hit.HitType.PLAYER_DAMAGE)).getListIterator(); while (v3.hasNext()) { var v2 = seh.triangle.action.hit.HitData(v3.next()); if (v2.hasEnabled() && (this.hit_sense.getHitArea()).checkHitArea(v2.getHitArea())) { this.hit_sense.notifyHit(v2); return true; } } return false; }; v2.AttackVsPlayerDamage = function () { var v3 = (this.collision_list.getHitData(seh.triangle.action.hit.HitType.PLAYER_DAMAGE)).getListIterator(); while (v3.hasNext()) { var v2 = seh.triangle.action.hit.HitData(v3.next()); if (v2.hasEnabled() && (this.hit_attack.getHitArea()).checkHitArea(v2.getHitArea())) { this.hit_attack.notifyHit(v2); return true; } } return false; }; v2.internalSetDirection = function (chardir) { super.internalSetDirection(chardir); this.hit_event.bounding_box = this.step_animation[this.direction_index].HitArea_Character; this.hit_event.localToGlobal(); this.hit_attack.direction_x = this.direction_x; this.hit_attack.direction_y = this.direction_y; this.hit_damage.hit_area = this.step_animation[this.direction_index].HitArea_Damage; }; v2.internalMain = function () { if (--this.animation_count <= 0) { this.has_chased = false; this.animation_count = this.escape_duration; this.escape(); return undefined; } if (--this.delay_count <= 0 && Math.floor(Math.random() * 100) <= 4) { this.delay_count = seh.triangle.action.characters.Elle.WANDER_DELAY_DURATION; var v2 = Math.floor(Math.random() * 4); if (v2 == 0) { this.internalSetDirection(seh.triangle.action.CharacterDirection.BACK); } else { if (v2 == 1) { this.internalSetDirection(seh.triangle.action.CharacterDirection.FRONT); } else { if (v2 == 2) { this.internalSetDirection(seh.triangle.action.CharacterDirection.LEFT); } else { this.internalSetDirection(seh.triangle.action.CharacterDirection.RIGHT); } } } } this._x += this.direction_x; this._y += this.direction_y; this.update(); this.MoveVsObstacle(); if (--this.interval_count == 0) { this.interval_count = seh.triangle.action.characters.Elle.SENSE_INTERVAL; if (this.ChaseSenseVsPlayerMove() && !this.chase_lines.isEmpty()) { this.onEnterFrame = this.internalChase; } } }; v2.internalChase = function () { if (--this.animation_count <= 0) { this.has_chased = false; this.animation_count = this.escape_duration; this.escape(); return undefined; } var v2 = seh.triangle.action.characters.detail.ChaseLine(this.chase_lines.peek()); if (this.direction_x != v2.direction_x || this.direction_y != v2.direction_y) { if (v2.direction_x == 0) { if (v2.direction_y < 0) { this.internalSetDirection(seh.triangle.action.CharacterDirection.BACK); } else { this.internalSetDirection(seh.triangle.action.CharacterDirection.FRONT); } } else { if (v2.direction_y == 0) { if (v2.direction_x < 0) { this.internalSetDirection(seh.triangle.action.CharacterDirection.LEFT); } else { this.internalSetDirection(seh.triangle.action.CharacterDirection.RIGHT); } } } } this._x += this.direction_x * this.chase_speed; this._y += this.direction_y * this.chase_speed; this.update(); --this.voice_count; if (this.MoveVsObstacle()) { if (!this.chase_lines.isEmpty()) { this.chase_lines.clear(); } this.ChaseSenseVsPlayerMove(); if (this.chase_lines.isEmpty()) { this.delay_count = seh.triangle.action.characters.Elle.WANDER_DELAY_DURATION; this.interval_count = seh.triangle.action.characters.Elle.SENSE_INTERVAL; this.onEnterFrame = this.internalMain; } } else { if (this.AttackSenseVsPlayerDamage()) { this.attack_se.start(); if (this.voice_count <= 0) { this.voice_count = seh.triangle.action.characters.Elle.VOICE_DURATION; var v5 = Math.floor(Math.random() * 3); this.attack_voices[v5].start(); } this.punch(); } else { var v4 = v2.target_x - this.hit_move.__get__left(); var v3 = v2.target_y - this.hit_move.__get__top(); if (this.direction_x * v4 < 0 || this.direction_y * v3 < 0) { this.chase_lines.pop(); } if (this.chase_lines.isEmpty()) { this.delay_count = seh.triangle.action.characters.Elle.WANDER_DELAY_DURATION; this.interval_count = seh.triangle.action.characters.Elle.SENSE_INTERVAL; this.onEnterFrame = this.internalMain; } else { if (--this.interval_count == 0) { this.interval_count = seh.triangle.action.characters.Elle.SENSE_INTERVAL; this.ChaseSenseVsPlayerMove(); } } } } }; v2.internalEscape = function () { if (--this.animation_count <= 0) { this.has_chased = true; this.interval_count = seh.triangle.action.characters.Elle.SENSE_INTERVAL; this.animation_count = this.chase_duration; if (this.ChaseSenseVsPlayerMove() && !this.chase_lines.isEmpty()) { this.onEnterFrame = this.internalChase; } else { this.delay_count = seh.triangle.action.characters.Elle.WANDER_DELAY_DURATION; this.onEnterFrame = this.internalMain; } return undefined; } var v2 = seh.triangle.action.characters.detail.ChaseLine(this.escape_lines.peek()); if (this.direction_x != v2.direction_x || this.direction_y != v2.direction_y) { if (v2.direction_x == 0) { if (v2.direction_y < 0) { this.internalSetDirection(seh.triangle.action.CharacterDirection.BACK); } else { this.internalSetDirection(seh.triangle.action.CharacterDirection.FRONT); } } else { if (v2.direction_y == 0) { if (v2.direction_x < 0) { this.internalSetDirection(seh.triangle.action.CharacterDirection.LEFT); } else { this.internalSetDirection(seh.triangle.action.CharacterDirection.RIGHT); } } } } this._x += this.direction_x * this.escape_speed; this._y += this.direction_y * this.escape_speed; this.update(); if (this.MoveVsObstacle()) { this.escape(); } else { var v4 = v2.target_x - this.hit_move.__get__left(); var v3 = v2.target_y - this.hit_move.__get__top(); if (this.direction_x * v4 < 0 || this.direction_y * v3 < 0) { this.escape_lines.pop(); } if (this.escape_lines.isEmpty()) { if (this.EscapeSenseVsPlayerMove()) { this.escape(); } else { this.onEnterFrame = this.internalNone; } } } }; v2.internalNone = function () { if (--this.animation_count <= 0) { this.has_chased = true; this.interval_count = seh.triangle.action.characters.Elle.SENSE_INTERVAL; this.animation_count = this.chase_duration; if (this.ChaseSenseVsPlayerMove() && !this.chase_lines.isEmpty()) { this.onEnterFrame = this.internalChase; } else { this.delay_count = seh.triangle.action.characters.Elle.WANDER_DELAY_DURATION; this.onEnterFrame = this.internalMain; } } else { if (this.EscapeSenseVsPlayerMove()) { this.escape(); } } }; v2.internalPunch = function () { if (this.punch_animation[this.direction_index]._currentframe == this.punch_animation[this.direction_index]._totalframes) { this.step_animation[this.direction_index]._visible = true; this.punch_animation[this.direction_index]._visible = false; this.onEnterFrame = this.chase_lines.isEmpty() ? this.internalMain : this.internalChase; } else { this.AttackVsPlayerDamage(); } }; v2.internalKnockback = function () { if (--this.animation_count == 0) { this.animation_count = this.stun_duration; this.onEnterFrame = this.internalStun; } else { this._x += this.direction_x * this.knockback_speed; this._y += this.direction_y * this.knockback_speed; this.update(); this.MoveVsObstacle(); } }; v2.internalStun = function () { if (--this.animation_count == 0) { var v2 = (seh.triangle.action.CharacterDirection.values())[this.direction_index]; this.direction_x = v2.getDirectionX(); this.direction_y = v2.getDirectionY(); this.hit_damage.enable(); if (this.has_chased) { this.onEnterFrame = this.chase_lines.isEmpty() ? this.internalMain : this.internalChase; } else { this.escape(); } } }; v2.internalFadeOut = function () { this._alpha -= seh.triangle.action.characters.Elle.FADE_OUT_ALPHA_CHANGE; if (--this.animation_count == 0) { this._alpha = 100; this._visible = false; this.step_animation[this.direction_index]._visible = true; this.punch_animation[this.direction_index]._visible = false; this.is_alive = false; this.onEnterFrame = null; this.dispatchEvent({'type': 'onBossBattleFinished'}); } }; v1.LINKAGE_ID = '__Packages.seh.triangle.action.characters.Elle'; v1.CONSTRUCTOR = seh.triangle.action.characters.Elle; v1.IS_REGISTERED = Object.registerClass(seh.triangle.action.characters.Elle.LINKAGE_ID, seh.triangle.action.characters.Elle.CONSTRUCTOR); v1.WANDER_DELAY_DURATION = 20; v1.SENSE_INTERVAL = 5; v1.LINE_WIDTH = 30; v1.LINE_HEIGHT = 24; v1.ATTACK_SENSE_WIDTH = 30; v1.ATTACK_SENSE_HEIGHT = 20; v1.FADE_OUT_DURATION = 8; v1.FADE_OUT_ALPHA_CHANGE = Math.ceil(100 / seh.triangle.action.characters.Elle.FADE_OUT_DURATION); v1.VOICE_DURATION = 60; v2.chase_speed = 5; v2.escape_speed = 8; v2.escape_lines = null; v2.escape_sense = null; v2.chase_lines = null; v2.knockback_speed = 0; v2.chase_duration = 300; v2.escape_duration = 300; v2.has_chased = false; v2.stun_duration = 8; v2.delay_count = 0; v2.interval_count = 0; v2.animation_count = 0; v2.voice_count = seh.triangle.action.characters.Elle.VOICE_DURATION; ASSetPropFlags(seh.triangle.action.characters.Elle.prototype, null, 1); } #endinitclip } movieClip 1923 __Packages.seh.triangle.action.characters.Mente { #initclip if (!_global.seh) { _global.seh = new Object(); } if (!_global.seh.triangle) { _global.seh.triangle = new Object(); } if (!_global.seh.triangle.action) { _global.seh.triangle.action = new Object(); } if (!_global.seh.triangle.action.characters) { _global.seh.triangle.action.characters = new Object(); } if (!_global.seh.triangle.action.characters.Mente) { var v1 = function () { super(); mx.events.EventDispatcher.initialize(this); this.step_animation = new Array(); this.step_animation.push(this.attachMovie('Chara_Mente_Back', 'Chara_Mente_Back', this.getNextHighestDepth())); this.step_animation.push(this.attachMovie('Chara_Mente_Front', 'Chara_Mente_Front', this.getNextHighestDepth())); this.step_animation.push(this.attachMovie('Chara_Mente_Left', 'Chara_Mente_Left', this.getNextHighestDepth())); this.step_animation.push(this.attachMovie('Chara_Mente_Right', 'Chara_Mente_Right', this.getNextHighestDepth())); var v3 = 0; while (v3 < this.step_animation.length) { this.step_animation[v3]._visible = false; this.step_animation[v3].HitArea_Character._visible = false; this.step_animation[v3].HitArea_Damage._visible = false; ++v3; } this.global_position = new flash.geom.Point(this._x, this._y); this._parent.localToGlobal(this.global_position); this.character_chase = new seh.triangle.action.characters.detail.CharacterChase(this.collision_list); this.escape_lines = new maelstrom.collections.Queue(); this.escape_points = new Array(); this.health = new seh.triangle.action.EnemyHealth(); this.hit_sense = new seh.triangle.action.hit.SimpleHitData(seh.triangle.action.hit.HitType.ENEMY_SENSE); this.hit_sense.onRectangleHit = mx.utils.Delegate.create(this, this.onSenseHit); this.hit_move = new seh.triangle.action.hit.Rectangle(seh.triangle.action.hit.HitType.ENEMY_MOVE); this.hit_move.onRectangleHit = mx.utils.Delegate.create(this, this.onMoveHit); this.hit_damage = new seh.triangle.action.hit.SimpleHitData(seh.triangle.action.hit.HitType.ENEMY_DAMAGE); this.hit_damage.disable(); this.hit_damage.onTargetAttackHit = mx.utils.Delegate.create(this, this.onDamageHit); this.collision_list.addHitData(this.hit_damage); this.voice = new Sound(this); this.damage_voices = new Array(); this.damage_voices.push(new Sound(this)); this.damage_voices.push(new Sound(this)); this.damage_voices.push(new Sound(this)); this.damage_voices[0].attachSound('Voice_Mente_Event_002'); this.damage_voices[1].attachSound('Voice_Mente_Event_003'); this.damage_voices[2].attachSound('Voice_Mente_Event_004'); this.down_voice = new Sound(this); this.down_voice.attachSound('Voice_Mente_Event_005'); this.internalSetDirection(seh.triangle.action.CharacterDirection.FRONT); this.stop(); }; seh.triangle.action.characters.Mente = v1; seh.triangle.action.characters.Mente extends seh.triangle.action.characters.detail.AbstractCharacter; var v2 = v1.prototype; v2.toString = function () { return 'Mente'; }; v2.onUnload = function () { this.hit_sense.onRectangleHit = null; this.hit_move.onRectangleHit = null; this.hit_damage.onTargetAttackHit = null; this.collision_list.removeHitData(this.hit_damage); }; v2.onScenePlayed = function (evt) { super.onScenePlayed(evt); this.hit_damage.enable(); this.update(); this.escape(); }; v2.onSceneTerminated = function (evt) { super.onSceneTerminated(evt); this.hit_damage.disable(); }; v2.onSenseHit = function (htyp, rctp, rcbtm, rclt, rcrt) { if (htyp == seh.triangle.action.hit.HitType.PLAYER_MOVE) { var v5 = rclt + (rcrt - rclt) / 2 - this.global_position.x; var v4 = rctp + (rcbtm - rctp) / 2 - this.global_position.y; var v6 = Math.sqrt(v5 * v5 + v4 * v4); var v3 = v5 / v6; var v2 = v4 / v6; if (v3 >= -Math.SQRT1_2 && v3 <= Math.SQRT1_2 && v2 <= -Math.SQRT1_2) { this.internalSetDirection(seh.triangle.action.CharacterDirection.BACK); } else { if (v3 >= -Math.SQRT1_2 && v3 <= Math.SQRT1_2 && v2 > -Math.SQRT1_2) { this.internalSetDirection(seh.triangle.action.CharacterDirection.FRONT); } else { if (v3 <= -Math.SQRT1_2 && v2 >= -Math.SQRT1_2 && v2 <= Math.SQRT1_2) { this.internalSetDirection(seh.triangle.action.CharacterDirection.LEFT); } else { if (v3 > Math.SQRT1_2 && v2 >= -Math.SQRT1_2 && v2 <= Math.SQRT1_2) { this.internalSetDirection(seh.triangle.action.CharacterDirection.RIGHT); } } } } } }; v2.onDamageHit = function (htyp, dirx, diry, kbspd, kbdur, atkpwr) { if (this.health.damage(atkpwr) == seh.triangle.action.CharacterHealth.MINIMUM) { this.voice.stop(); this.down_voice.start(); this.onEnterFrame = null; this.stop(); this.hit_damage.disable(); this.animation_count = seh.triangle.action.characters.Mente.FADE_OUT_DURATION; this.onEnterFrame = this.internalFadeOut; } else { this.voice.stop(); var v2 = Math.floor(Math.random() * 3); this.damage_voices[v2].start(); this.knockback(dirx, diry, kbspd, kbdur); } }; v2.update = function () { super.update(); this.global_position.x = this._x + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_WIDTH; this.global_position.y = this._y + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_HEIGHT; this._parent.localToGlobal(this.global_position); }; v2.addEscapePoint = function (escpt) { if (escpt == null) { throw new maelstrom.language.NullPointerException('escpt == null'); } var v3 = true; var v2 = 0; while (v2 < this.escape_points.length) { if (escpt.equals(this.escape_points[v2])) { v3 = false; break; } ++v2; } if (v3) { this.escape_points.push(escpt); } }; v2.removeEscapePoint = function (escpt) { if (escpt == null) { throw new maelstrom.language.NullPointerException('escpt == null'); } var v2 = 0; while (v2 < this.escape_points.length) { if (this.escape_points[v2].equals(escpt)) { this.escape_points.splice(v2, 1); return undefined; } ++v2; } }; v2.setEscapeSpeed = function (escspd) { if (escspd == null) { throw new maelstrom.language.NullPointerException('escspd == null'); } this.escape_speed = escspd; }; v2.setEscapeSense = function (wdt, hgt) { if (wdt == null || hgt == null) { throw new maelstrom.language.NullPointerException('wdt == null || hgt == null'); } if (this.escape_sense != null) { this.escape_sense.removeMovieClip(); } this.escape_sense = maelstrom.hit.BoundingBox(this.attachMovie(maelstrom.hit.BoundingBox.LINKAGE_ID, 'Sense_Range', this.getNextHighestDepth(), {'_visible': false})); this.escape_sense.beginFill(10027008, 50); this.escape_sense.moveTo(-wdt + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_WIDTH, -hgt + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_HEIGHT); this.escape_sense.lineTo(wdt + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_WIDTH, -hgt + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_HEIGHT); this.escape_sense.lineTo(wdt + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_WIDTH, hgt + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_HEIGHT); this.escape_sense.lineTo(-wdt + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_WIDTH, hgt + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_HEIGHT); this.escape_sense.lineTo(-wdt + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_WIDTH, -hgt + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_HEIGHT); this.escape_sense.endFill(); this.hit_sense.hit_area = this.escape_sense; }; v2.setStunDuration = function (stndur) { if (stndur == null) { throw new maelstrom.language.NullPointerException('stndur == null'); } this.stun_duration = stndur; }; v2.setDefensePower = function (defpwr) { this.health.setDefensePower(defpwr); }; v2.getHealth = function () { return this.health; }; v2.setExperiencePoint = function (exp) { this.health.setExperiencePoint(exp); }; v2.shuffleEscapePoints = function () { var v2 = this.escape_points.length; while (v2 > 0) { var v3 = Math.floor(Math.random() * v2); var v4 = this.escape_points[--v2]; this.escape_points[v2] = this.escape_points[v3]; this.escape_points[v3] = v4; } }; v2.escape = function () { this.shuffleEscapePoints(); var v3 = 0; while (v3 < this.escape_points.length) { var v5 = this.escape_points[v3].x; var v4 = this.escape_points[v3].y; var v2 = this.character_chase.detectChaseLine(this.hit_move.__get__left(), this.hit_move.__get__top(), v5, v4, seh.triangle.action.characters.Mente.ESCAPE_LINE_WIDTH, seh.triangle.action.characters.Mente.ESCAPE_LINE_HEIGHT); if (v2.first != null) { this.escape_lines.clear(); this.escape_lines.push(v2.first); } if (v2.second != null) { this.escape_lines.push(v2.second); } if (!this.escape_lines.isEmpty()) { this.onEnterFrame = this.internalEscape; break; } ++v3; } if (this.escape_lines.isEmpty()) { this.onEnterFrame = this.internalNone; } }; v2.knockback = function (dirx, diry, kbspd, kbdur) { this.direction_x = dirx; this.direction_y = diry; this.knockback_speed = kbspd; this.animation_count = kbdur; this.hit_damage.disable(); this.onEnterFrame = this.internalKnockback; }; v2.SenseVsPlayerMove = function () { var v3 = (this.collision_list.getHitData(seh.triangle.action.hit.HitType.PLAYER_MOVE)).getListIterator(); while (v3.hasNext()) { var v2 = seh.triangle.action.hit.HitData(v3.next()); v2.notifyHit(this.hit_sense); if (v2.hasEnabled() && (this.hit_sense.getHitArea()).checkHitArea(v2.getHitArea())) { this.hit_sense.notifyHit(v2); return true; } } return false; }; v2.internalSetDirection = function (chardir) { super.internalSetDirection(chardir); this.hit_damage.hit_area = this.step_animation[this.direction_index].HitArea_Damage; }; v2.internalEscape = function () { var v2 = seh.triangle.action.characters.detail.ChaseLine(this.escape_lines.peek()); if (this.direction_x != v2.direction_x || this.direction_y != v2.direction_y) { if (v2.direction_x == 0) { if (v2.direction_y < 0) { this.internalSetDirection(seh.triangle.action.CharacterDirection.BACK); } else { this.internalSetDirection(seh.triangle.action.CharacterDirection.FRONT); } } else { if (v2.direction_y == 0) { if (v2.direction_x < 0) { this.internalSetDirection(seh.triangle.action.CharacterDirection.LEFT); } else { this.internalSetDirection(seh.triangle.action.CharacterDirection.RIGHT); } } } } this._x += this.direction_x * this.escape_speed; this._y += this.direction_y * this.escape_speed; this.update(); if (this.MoveVsObstacle()) { this.escape(); } else { var v4 = v2.target_x - this.hit_move.__get__left(); var v3 = v2.target_y - this.hit_move.__get__top(); if (this.direction_x * v4 < 0 || this.direction_y * v3 < 0) { this.escape_lines.pop(); } if (this.escape_lines.isEmpty()) { if (this.SenseVsPlayerMove()) { this.escape(); } else { this.onEnterFrame = this.internalNone; } } } }; v2.internalNone = function () { if (this.SenseVsPlayerMove()) { this.escape(); } }; v2.internalKnockback = function () { if (--this.animation_count == 0) { var v2 = (seh.triangle.action.CharacterDirection.values())[this.direction_index]; this.direction_x = v2.getDirectionX(); this.direction_y = v2.getDirectionY(); this.hit_damage.enable(); this.escape(); } else { this._x += this.direction_x * this.knockback_speed; this._y += this.direction_y * this.knockback_speed; this.update(); this.MoveVsObstacle(); } }; v2.internalFadeOut = function () { this._alpha -= seh.triangle.action.characters.Mente.FADE_OUT_ALPHA_CHANGE; if (--this.animation_count == 0) { this._alpha = 100; this._visible = false; this.is_alive = false; this.onEnterFrame = null; this.dispatchEvent({'type': 'onBossBattleFinished'}); } }; v1.LINKAGE_ID = '__Packages.seh.triangle.action.characters.Mente'; v1.CONSTRUCTOR = seh.triangle.action.characters.Mente; v1.IS_REGISTERED = Object.registerClass(seh.triangle.action.characters.Mente.LINKAGE_ID, seh.triangle.action.characters.Mente.CONSTRUCTOR); v1.ESCAPE_LINE_WIDTH = 30; v1.ESCAPE_LINE_HEIGHT = 24; v1.FADE_OUT_DURATION = 8; v1.FADE_OUT_ALPHA_CHANGE = Math.ceil(100 / seh.triangle.action.characters.Mente.FADE_OUT_DURATION); v2.escape_speed = 8; v2.escape_lines = null; v2.escape_sense = null; v2.stun_duration = 30; v2.knockback_speed = 0; v2.animation_count = 0; ASSetPropFlags(seh.triangle.action.characters.Mente.prototype, null, 1); } #endinitclip } movieClip 1924 __Packages.seh.triangle.action.characters.Sarah { #initclip if (!_global.seh) { _global.seh = new Object(); } if (!_global.seh.triangle) { _global.seh.triangle = new Object(); } if (!_global.seh.triangle.action) { _global.seh.triangle.action = new Object(); } if (!_global.seh.triangle.action.characters) { _global.seh.triangle.action.characters = new Object(); } if (!_global.seh.triangle.action.characters.Sarah) { var v1 = function () { super(); mx.events.EventDispatcher.initialize(this); this.step_animation = new Array(); this.step_animation.push(this.attachMovie('Chara_Sarah_Back', 'Chara_Sarah_Back', this.getNextHighestDepth())); this.step_animation.push(this.attachMovie('Chara_Sarah_Front', 'Chara_Sarah_Front', this.getNextHighestDepth())); this.step_animation.push(this.attachMovie('Chara_Sarah_Left', 'Chara_Sarah_Left', this.getNextHighestDepth())); this.step_animation.push(this.attachMovie('Chara_Sarah_Right', 'Chara_Sarah_Right', this.getNextHighestDepth())); var v3 = 0; while (v3 < this.step_animation.length) { this.step_animation[v3]._visible = false; this.step_animation[v3].HitArea_Character._visible = false; this.step_animation[v3].HitArea_Damage._visible = false; ++v3; } this.global_position = new flash.geom.Point(this._x, this._y); this._parent.localToGlobal(this.global_position); this.character_chase = new seh.triangle.action.characters.detail.CharacterChase(this.collision_list); this.escape_lines = new maelstrom.collections.Queue(); this.escape_points = new Array(); this.health = new seh.triangle.action.EnemyHealth(); this.hit_event = new seh.triangle.action.hit.Rectangle(seh.triangle.action.hit.HitType.EVENT); this.hit_event.disable(); this.hit_event.onRectangleHit = mx.utils.Delegate.create(this, this.onEventHit); this.hit_sense = new seh.triangle.action.hit.SimpleHitData(seh.triangle.action.hit.HitType.ENEMY_SENSE); this.hit_sense.onRectangleHit = mx.utils.Delegate.create(this, this.onSenseHit); this.hit_move = new seh.triangle.action.hit.Rectangle(seh.triangle.action.hit.HitType.ENEMY_MOVE); this.hit_move.onRectangleHit = mx.utils.Delegate.create(this, this.onMoveHit); this.hit_damage = new seh.triangle.action.hit.SimpleHitData(seh.triangle.action.hit.HitType.ENEMY_DAMAGE); this.hit_damage.disable(); this.hit_damage.onTargetAttackHit = mx.utils.Delegate.create(this, this.onDamageHit); this.collision_list.addHitData(this.hit_event); this.collision_list.addHitData(this.hit_damage); this.voice = new Sound(this); this.damage_voices = new Array(); this.damage_voices.push(new Sound(this)); this.damage_voices.push(new Sound(this)); this.damage_voices[0].attachSound('Voice_Sarah_Event_004'); this.damage_voices[1].attachSound('Voice_Sarah_Event_005'); this.down_voice = new Sound(this); this.down_voice.attachSound('Voice_Sarah_Event_006'); this.internalSetDirection(seh.triangle.action.CharacterDirection.FRONT); this.stop(); }; seh.triangle.action.characters.Sarah = v1; seh.triangle.action.characters.Sarah extends seh.triangle.action.characters.detail.AbstractCharacter; var v2 = v1.prototype; v2.toString = function () { return 'Sarah'; }; v2.onUnload = function () { this.hit_event.onRectangleHit = null; this.hit_sense.onRectangleHit = null; this.hit_move.onRectangleHit = null; this.hit_damage.onTargetAttackHit = null; this.collision_list.removeHitData(this.hit_event); this.collision_list.removeHitData(this.hit_damage); }; v2.onScenePlayed = function (evt) { super.onScenePlayed(evt); this.hit_event.enable(); }; v2.onSceneTerminated = function (evt) { super.onSceneTerminated(evt); this.hit_event.disable(); this.hit_damage.disable(); }; v2.onEventHit = function (htyp, rctp, rcbtm, rclt, rcrt) { if (htyp == seh.triangle.action.hit.HitType.PLAYER_MOVE) { this.onBossBattleStarted(); this.dispatchEvent({'type': 'onBossBattleStarted'}); } }; v2.onBossBattleStarted = function (evt) { this.hit_event.disable(); this.hit_damage.enable(); this.update(); this.escape(); }; v2.onSenseHit = function (htyp, rctp, rcbtm, rclt, rcrt) { if (htyp == seh.triangle.action.hit.HitType.PLAYER_MOVE) { var v5 = rclt + (rcrt - rclt) / 2 - this.global_position.x; var v4 = rctp + (rcbtm - rctp) / 2 - this.global_position.y; var v6 = Math.sqrt(v5 * v5 + v4 * v4); var v3 = v5 / v6; var v2 = v4 / v6; if (v3 >= -Math.SQRT1_2 && v3 <= Math.SQRT1_2 && v2 <= -Math.SQRT1_2) { this.internalSetDirection(seh.triangle.action.CharacterDirection.BACK); } else { if (v3 >= -Math.SQRT1_2 && v3 <= Math.SQRT1_2 && v2 > -Math.SQRT1_2) { this.internalSetDirection(seh.triangle.action.CharacterDirection.FRONT); } else { if (v3 <= -Math.SQRT1_2 && v2 >= -Math.SQRT1_2 && v2 <= Math.SQRT1_2) { this.internalSetDirection(seh.triangle.action.CharacterDirection.LEFT); } else { if (v3 > Math.SQRT1_2 && v2 >= -Math.SQRT1_2 && v2 <= Math.SQRT1_2) { this.internalSetDirection(seh.triangle.action.CharacterDirection.RIGHT); } } } } } }; v2.onDamageHit = function (htyp, dirx, diry, kbspd, kbdur, atkpwr) { if (this.health.damage(atkpwr) == seh.triangle.action.CharacterHealth.MINIMUM) { this.voice.stop(); this.down_voice.start(); this.onEnterFrame = null; this.stop(); this.hit_damage.disable(); this.animation_count = seh.triangle.action.characters.Sarah.FADE_OUT_DURATION; this.onEnterFrame = this.internalFadeOut; } else { this.voice.stop(); var v2 = Math.floor(Math.random() * 2); this.damage_voices[v2].start(); this.knockback(dirx, diry, kbspd, kbdur); } }; v2.update = function () { super.update(); this.global_position.x = this._x + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_WIDTH; this.global_position.y = this._y + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_HEIGHT; this._parent.localToGlobal(this.global_position); this.hit_event.localToGlobal(); }; v2.addEscapePoint = function (escpt) { if (escpt == null) { throw new maelstrom.language.NullPointerException('escpt == null'); } var v3 = true; var v2 = 0; while (v2 < this.escape_points.length) { if (escpt.equals(this.escape_points[v2])) { v3 = false; break; } ++v2; } if (v3) { this.escape_points.push(escpt); } }; v2.removeEscapePoint = function (escpt) { if (escpt == null) { throw new maelstrom.language.NullPointerException('escpt == null'); } var v2 = 0; while (v2 < this.escape_points.length) { if (this.escape_points[v2].equals(escpt)) { this.escape_points.splice(v2, 1); return undefined; } ++v2; } }; v2.setEscapeSpeed = function (escspd) { if (escspd == null) { throw new maelstrom.language.NullPointerException('escspd == null'); } this.escape_speed = escspd; }; v2.setEscapeSense = function (wdt, hgt) { if (wdt == null || hgt == null) { throw new maelstrom.language.NullPointerException('wdt == null || hgt == null'); } if (this.escape_sense != null) { this.escape_sense.removeMovieClip(); } this.escape_sense = maelstrom.hit.BoundingBox(this.attachMovie(maelstrom.hit.BoundingBox.LINKAGE_ID, 'Sense_Range', this.getNextHighestDepth(), {'_visible': false})); this.escape_sense.beginFill(10027008, 50); this.escape_sense.moveTo(-wdt + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_WIDTH, -hgt + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_HEIGHT); this.escape_sense.lineTo(wdt + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_WIDTH, -hgt + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_HEIGHT); this.escape_sense.lineTo(wdt + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_WIDTH, hgt + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_HEIGHT); this.escape_sense.lineTo(-wdt + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_WIDTH, hgt + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_HEIGHT); this.escape_sense.lineTo(-wdt + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_WIDTH, -hgt + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_HEIGHT); this.escape_sense.endFill(); this.hit_sense.hit_area = this.escape_sense; }; v2.setStunDuration = function (stndur) { if (stndur == null) { throw new maelstrom.language.NullPointerException('stndur == null'); } this.stun_duration = stndur; }; v2.setDefensePower = function (defpwr) { this.health.setDefensePower(defpwr); }; v2.getHealth = function () { return this.health; }; v2.setExperiencePoint = function (exp) { this.health.setExperiencePoint(exp); }; v2.shuffleEscapePoints = function () { var v2 = this.escape_points.length; while (v2 > 0) { var v3 = Math.floor(Math.random() * v2); var v4 = this.escape_points[--v2]; this.escape_points[v2] = this.escape_points[v3]; this.escape_points[v3] = v4; } }; v2.escape = function () { this.shuffleEscapePoints(); var v3 = 0; while (v3 < this.escape_points.length) { var v5 = this.escape_points[v3].x; var v4 = this.escape_points[v3].y; var v2 = this.character_chase.detectChaseLine(this.hit_move.__get__left(), this.hit_move.__get__top(), v5, v4, seh.triangle.action.characters.Sarah.ESCAPE_LINE_WIDTH, seh.triangle.action.characters.Sarah.ESCAPE_LINE_HEIGHT); if (v2.first != null) { this.escape_lines.clear(); this.escape_lines.push(v2.first); } if (v2.second != null) { this.escape_lines.push(v2.second); } if (!this.escape_lines.isEmpty()) { this.onEnterFrame = this.internalEscape; break; } ++v3; } if (this.escape_lines.isEmpty()) { this.onEnterFrame = this.internalNone; } }; v2.knockback = function (dirx, diry, kbspd, kbdur) { this.direction_x = dirx; this.direction_y = diry; this.knockback_speed = kbspd; this.animation_count = kbdur; this.hit_damage.disable(); this.onEnterFrame = this.internalKnockback; }; v2.SenseVsPlayerMove = function () { var v3 = (this.collision_list.getHitData(seh.triangle.action.hit.HitType.PLAYER_MOVE)).getListIterator(); while (v3.hasNext()) { var v2 = seh.triangle.action.hit.HitData(v3.next()); v2.notifyHit(this.hit_sense); if (v2.hasEnabled() && (this.hit_sense.getHitArea()).checkHitArea(v2.getHitArea())) { this.hit_sense.notifyHit(v2); return true; } } return false; }; v2.internalSetDirection = function (chardir) { super.internalSetDirection(chardir); this.hit_event.bounding_box = this.step_animation[this.direction_index].HitArea_Character; this.hit_event.localToGlobal(); this.hit_damage.hit_area = this.step_animation[this.direction_index].HitArea_Damage; }; v2.internalEscape = function () { var v2 = seh.triangle.action.characters.detail.ChaseLine(this.escape_lines.peek()); if (this.direction_x != v2.direction_x || this.direction_y != v2.direction_y) { if (v2.direction_x == 0) { if (v2.direction_y < 0) { this.internalSetDirection(seh.triangle.action.CharacterDirection.BACK); } else { this.internalSetDirection(seh.triangle.action.CharacterDirection.FRONT); } } else { if (v2.direction_y == 0) { if (v2.direction_x < 0) { this.internalSetDirection(seh.triangle.action.CharacterDirection.LEFT); } else { this.internalSetDirection(seh.triangle.action.CharacterDirection.RIGHT); } } } } this._x += this.direction_x * this.escape_speed; this._y += this.direction_y * this.escape_speed; this.update(); if (this.MoveVsObstacle()) { this.escape(); } else { var v4 = v2.target_x - this.hit_move.__get__left(); var v3 = v2.target_y - this.hit_move.__get__top(); if (this.direction_x * v4 < 0 || this.direction_y * v3 < 0) { this.escape_lines.pop(); } if (this.escape_lines.isEmpty()) { if (this.SenseVsPlayerMove()) { this.escape(); } else { this.onEnterFrame = this.internalNone; } } } }; v2.internalNone = function () { if (this.SenseVsPlayerMove()) { this.escape(); } }; v2.internalKnockback = function () { if (--this.animation_count == 0) { var v2 = (seh.triangle.action.CharacterDirection.values())[this.direction_index]; this.direction_x = v2.getDirectionX(); this.direction_y = v2.getDirectionY(); this.hit_damage.enable(); this.escape(); } else { this._x += this.direction_x * this.knockback_speed; this._y += this.direction_y * this.knockback_speed; this.update(); this.MoveVsObstacle(); } }; v2.internalFadeOut = function () { this._alpha -= seh.triangle.action.characters.Sarah.FADE_OUT_ALPHA_CHANGE; if (--this.animation_count == 0) { this._alpha = 100; this._visible = false; this.is_alive = false; this.onEnterFrame = null; this.dispatchEvent({'type': 'onBossBattleFinished'}); } }; v1.LINKAGE_ID = '__Packages.seh.triangle.action.characters.Sarah'; v1.CONSTRUCTOR = seh.triangle.action.characters.Sarah; v1.IS_REGISTERED = Object.registerClass(seh.triangle.action.characters.Sarah.LINKAGE_ID, seh.triangle.action.characters.Sarah.CONSTRUCTOR); v1.ESCAPE_LINE_WIDTH = 30; v1.ESCAPE_LINE_HEIGHT = 24; v1.FADE_OUT_DURATION = 8; v1.FADE_OUT_ALPHA_CHANGE = Math.ceil(100 / seh.triangle.action.characters.Sarah.FADE_OUT_DURATION); v2.escape_speed = 8; v2.escape_lines = null; v2.escape_sense = null; v2.stun_duration = 30; v2.knockback_speed = 0; v2.animation_count = 0; ASSetPropFlags(seh.triangle.action.characters.Sarah.prototype, null, 1); } #endinitclip } movieClip 1925 __Packages.seh.triangle.action.characters.Rara { #initclip if (!_global.seh) { _global.seh = new Object(); } if (!_global.seh.triangle) { _global.seh.triangle = new Object(); } if (!_global.seh.triangle.action) { _global.seh.triangle.action = new Object(); } if (!_global.seh.triangle.action.characters) { _global.seh.triangle.action.characters = new Object(); } if (!_global.seh.triangle.action.characters.Rara) { var v1 = function () { super(); mx.events.EventDispatcher.initialize(this); this.step_animation = new Array(); this.step_animation.push(this.attachMovie('Chara_Rara_Back', 'Chara_Rara_Back', this.getNextHighestDepth())); this.step_animation.push(this.attachMovie('Chara_Rara_Front', 'Chara_Rara_Front', this.getNextHighestDepth())); this.step_animation.push(this.attachMovie('Chara_Rara_Left', 'Chara_Rara_Left', this.getNextHighestDepth())); this.step_animation.push(this.attachMovie('Chara_Rara_Right', 'Chara_Rara_Right', this.getNextHighestDepth())); var v3 = 0; while (v3 < this.step_animation.length) { this.step_animation[v3]._visible = false; this.step_animation[v3].HitArea_Character._visible = false; this.step_animation[v3].HitArea_Damage._visible = false; ++v3; } this.global_position = new flash.geom.Point(this._x, this._y); this._parent.localToGlobal(this.global_position); this.character_chase = new seh.triangle.action.characters.detail.CharacterChase(this.collision_list); this.escape_lines = new maelstrom.collections.Queue(); this.escape_points = new Array(); this.health = new seh.triangle.action.EnemyHealth(); this.hit_event = new seh.triangle.action.hit.Rectangle(seh.triangle.action.hit.HitType.EVENT); this.hit_event.disable(); this.hit_event.onRectangleHit = mx.utils.Delegate.create(this, this.onEventHit); this.hit_sense = new seh.triangle.action.hit.SimpleHitData(seh.triangle.action.hit.HitType.ENEMY_SENSE); this.hit_sense.onRectangleHit = mx.utils.Delegate.create(this, this.onSenseHit); this.hit_move = new seh.triangle.action.hit.Rectangle(seh.triangle.action.hit.HitType.ENEMY_MOVE); this.hit_move.onRectangleHit = mx.utils.Delegate.create(this, this.onMoveHit); this.hit_damage = new seh.triangle.action.hit.SimpleHitData(seh.triangle.action.hit.HitType.ENEMY_DAMAGE); this.hit_damage.disable(); this.hit_damage.onTargetAttackHit = mx.utils.Delegate.create(this, this.onDamageHit); this.collision_list.addHitData(this.hit_event); this.collision_list.addHitData(this.hit_damage); this.voice = new Sound(this); this.damage_voices = new Array(); this.damage_voices.push(new Sound(this)); this.damage_voices.push(new Sound(this)); this.damage_voices[0].attachSound('Voice_Rara_Event_004'); this.damage_voices[1].attachSound('Voice_Rara_Event_005'); this.down_voice = new Sound(this); this.down_voice.attachSound('Voice_Rara_Event_007'); this.special_voice = new Sound(this); this.special_voice.attachSound('Voice_Rara_Event_006'); this.internalSetDirection(seh.triangle.action.CharacterDirection.FRONT); this.stop(); }; seh.triangle.action.characters.Rara = v1; seh.triangle.action.characters.Rara extends seh.triangle.action.characters.detail.AbstractCharacter; var v2 = v1.prototype; v2.toString = function () { return 'Rara'; }; v2.onUnload = function () { this.hit_event.onRectangleHit = null; this.hit_sense.onRectangleHit = null; this.hit_move.onRectangleHit = null; this.hit_damage.onTargetAttackHit = null; this.collision_list.removeHitData(this.hit_event); this.collision_list.removeHitData(this.hit_damage); }; v2.onScenePlayed = function (evt) { super.onScenePlayed(evt); this.hit_event.enable(); }; v2.onSceneTerminated = function (evt) { super.onSceneTerminated(evt); this.hit_event.disable(); this.hit_damage.disable(); }; v2.onEventHit = function (htyp, rctp, rcbtm, rclt, rcrt) { if (htyp == seh.triangle.action.hit.HitType.PLAYER_MOVE) { this.onBossBattleStarted(); this.dispatchEvent({'type': 'onBossBattleStarted'}); } }; v2.onBossBattleStarted = function (evt) { this.hit_event.disable(); this.hit_damage.enable(); this.update(); this.escape(); }; v2.onSenseHit = function (htyp, rctp, rcbtm, rclt, rcrt) { if (htyp == seh.triangle.action.hit.HitType.PLAYER_MOVE) { var v5 = rclt + (rcrt - rclt) / 2 - this.global_position.x; var v4 = rctp + (rcbtm - rctp) / 2 - this.global_position.y; var v6 = Math.sqrt(v5 * v5 + v4 * v4); var v3 = v5 / v6; var v2 = v4 / v6; if (v3 >= -Math.SQRT1_2 && v3 <= Math.SQRT1_2 && v2 <= -Math.SQRT1_2) { this.internalSetDirection(seh.triangle.action.CharacterDirection.BACK); } else { if (v3 >= -Math.SQRT1_2 && v3 <= Math.SQRT1_2 && v2 > -Math.SQRT1_2) { this.internalSetDirection(seh.triangle.action.CharacterDirection.FRONT); } else { if (v3 <= -Math.SQRT1_2 && v2 >= -Math.SQRT1_2 && v2 <= Math.SQRT1_2) { this.internalSetDirection(seh.triangle.action.CharacterDirection.LEFT); } else { if (v3 > Math.SQRT1_2 && v2 >= -Math.SQRT1_2 && v2 <= Math.SQRT1_2) { this.internalSetDirection(seh.triangle.action.CharacterDirection.RIGHT); } } } } } }; v2.onDamageHit = function (htyp, dirx, diry, kbspd, kbdur, atkpwr) { if (this.health.damage(atkpwr) == seh.triangle.action.CharacterHealth.MINIMUM) { this.voice.stop(); this.down_voice.start(); this.onEnterFrame = null; this.stop(); this.hit_damage.disable(); this.animation_count = seh.triangle.action.characters.Rara.FADE_OUT_DURATION; this.onEnterFrame = this.internalFadeOut; } else { this.voice.stop(); this.voice_count = seh.triangle.action.characters.Rara.VOICE_DURATION; var v2 = Math.floor(Math.random() * 2); this.damage_voices[v2].start(); this.knockback(dirx, diry, kbspd, kbdur); } }; v2.update = function () { super.update(); this.global_position.x = this._x + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_WIDTH; this.global_position.y = this._y + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_HEIGHT; this._parent.localToGlobal(this.global_position); this.hit_event.localToGlobal(); }; v2.addEscapePoint = function (escpt) { if (escpt == null) { throw new maelstrom.language.NullPointerException('escpt == null'); } var v3 = true; var v2 = 0; while (v2 < this.escape_points.length) { if (escpt.equals(this.escape_points[v2])) { v3 = false; break; } ++v2; } if (v3) { this.escape_points.push(escpt); } }; v2.removeEscapePoint = function (escpt) { if (escpt == null) { throw new maelstrom.language.NullPointerException('escpt == null'); } var v2 = 0; while (v2 < this.escape_points.length) { if (this.escape_points[v2].equals(escpt)) { this.escape_points.splice(v2, 1); return undefined; } ++v2; } }; v2.setEscapeSpeed = function (escspd) { if (escspd == null) { throw new maelstrom.language.NullPointerException('escspd == null'); } this.escape_speed = escspd; }; v2.setEscapeSense = function (wdt, hgt) { if (wdt == null || hgt == null) { throw new maelstrom.language.NullPointerException('wdt == null || hgt == null'); } if (this.escape_sense != null) { this.escape_sense.removeMovieClip(); } this.escape_sense = maelstrom.hit.BoundingBox(this.attachMovie(maelstrom.hit.BoundingBox.LINKAGE_ID, 'Sense_Range', this.getNextHighestDepth(), {'_visible': false})); this.escape_sense.beginFill(10027008, 50); this.escape_sense.moveTo(-wdt + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_WIDTH, -hgt + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_HEIGHT); this.escape_sense.lineTo(wdt + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_WIDTH, -hgt + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_HEIGHT); this.escape_sense.lineTo(wdt + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_WIDTH, hgt + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_HEIGHT); this.escape_sense.lineTo(-wdt + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_WIDTH, hgt + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_HEIGHT); this.escape_sense.lineTo(-wdt + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_WIDTH, -hgt + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_HEIGHT); this.escape_sense.endFill(); this.hit_sense.hit_area = this.escape_sense; }; v2.setStunDuration = function (stndur) { if (stndur == null) { throw new maelstrom.language.NullPointerException('stndur == null'); } this.stun_duration = stndur; }; v2.setDefensePower = function (defpwr) { this.health.setDefensePower(defpwr); }; v2.getHealth = function () { return this.health; }; v2.setExperiencePoint = function (exp) { this.health.setExperiencePoint(exp); }; v2.shuffleEscapePoints = function () { var v2 = this.escape_points.length; while (v2 > 0) { var v3 = Math.floor(Math.random() * v2); var v4 = this.escape_points[--v2]; this.escape_points[v2] = this.escape_points[v3]; this.escape_points[v3] = v4; } }; v2.escape = function () { this.shuffleEscapePoints(); var v3 = 0; while (v3 < this.escape_points.length) { var v5 = this.escape_points[v3].x; var v4 = this.escape_points[v3].y; var v2 = this.character_chase.detectChaseLine(this.hit_move.__get__left(), this.hit_move.__get__top(), v5, v4, seh.triangle.action.characters.Rara.ESCAPE_LINE_WIDTH, seh.triangle.action.characters.Rara.ESCAPE_LINE_HEIGHT); if (v2.first != null) { this.escape_lines.clear(); this.escape_lines.push(v2.first); } if (v2.second != null) { this.escape_lines.push(v2.second); } if (!this.escape_lines.isEmpty()) { this.onEnterFrame = this.internalEscape; break; } ++v3; } if (this.escape_lines.isEmpty()) { this.onEnterFrame = this.internalNone; } }; v2.knockback = function (dirx, diry, kbspd, kbdur) { this.direction_x = dirx; this.direction_y = diry; this.knockback_speed = kbspd; this.animation_count = kbdur; this.hit_damage.disable(); this.onEnterFrame = this.internalKnockback; }; v2.SenseVsPlayerMove = function () { var v3 = (this.collision_list.getHitData(seh.triangle.action.hit.HitType.PLAYER_MOVE)).getListIterator(); while (v3.hasNext()) { var v2 = seh.triangle.action.hit.HitData(v3.next()); v2.notifyHit(this.hit_sense); if (v2.hasEnabled() && (this.hit_sense.getHitArea()).checkHitArea(v2.getHitArea())) { this.hit_sense.notifyHit(v2); return true; } } return false; }; v2.internalSetDirection = function (chardir) { super.internalSetDirection(chardir); this.hit_event.bounding_box = this.step_animation[this.direction_index].HitArea_Character; this.hit_event.localToGlobal(); this.hit_damage.hit_area = this.step_animation[this.direction_index].HitArea_Damage; }; v2.internalEscape = function () { var v2 = seh.triangle.action.characters.detail.ChaseLine(this.escape_lines.peek()); if (this.direction_x != v2.direction_x || this.direction_y != v2.direction_y) { if (v2.direction_x == 0) { if (v2.direction_y < 0) { this.internalSetDirection(seh.triangle.action.CharacterDirection.BACK); } else { this.internalSetDirection(seh.triangle.action.CharacterDirection.FRONT); } } else { if (v2.direction_y == 0) { if (v2.direction_x < 0) { this.internalSetDirection(seh.triangle.action.CharacterDirection.LEFT); } else { this.internalSetDirection(seh.triangle.action.CharacterDirection.RIGHT); } } } } this._x += this.direction_x * this.escape_speed; this._y += this.direction_y * this.escape_speed; this.update(); if (this.MoveVsObstacle()) { this.escape(); } else { var v4 = v2.target_x - this.hit_move.__get__left(); var v3 = v2.target_y - this.hit_move.__get__top(); if (this.direction_x * v4 < 0 || this.direction_y * v3 < 0) { this.escape_lines.pop(); } if (this.escape_lines.isEmpty()) { if (this.SenseVsPlayerMove()) { this.escape(); } else { this.onEnterFrame = this.internalNone; } } } }; v2.internalNone = function () { if (this.SenseVsPlayerMove()) { this.escape(); } else { if (--this.voice_count <= 0 && Math.floor(Math.random() * 64) == 0) { this.voice_count = seh.triangle.action.characters.Rara.VOICE_DURATION; this.special_voice.start(); } } }; v2.internalKnockback = function () { if (--this.animation_count == 0) { var v2 = (seh.triangle.action.CharacterDirection.values())[this.direction_index]; this.direction_x = v2.getDirectionX(); this.direction_y = v2.getDirectionY(); this.hit_damage.enable(); this.escape(); } else { this._x += this.direction_x * this.knockback_speed; this._y += this.direction_y * this.knockback_speed; this.update(); this.MoveVsObstacle(); } }; v2.internalFadeOut = function () { this._alpha -= seh.triangle.action.characters.Rara.FADE_OUT_ALPHA_CHANGE; if (--this.animation_count == 0) { this._alpha = 100; this._visible = false; this.is_alive = false; this.onEnterFrame = null; this.dispatchEvent({'type': 'onBossBattleFinished'}); } }; v1.LINKAGE_ID = '__Packages.seh.triangle.action.characters.Rara'; v1.CONSTRUCTOR = seh.triangle.action.characters.Rara; v1.IS_REGISTERED = Object.registerClass(seh.triangle.action.characters.Rara.LINKAGE_ID, seh.triangle.action.characters.Rara.CONSTRUCTOR); v1.ESCAPE_LINE_WIDTH = 30; v1.ESCAPE_LINE_HEIGHT = 24; v1.FADE_OUT_DURATION = 8; v1.FADE_OUT_ALPHA_CHANGE = Math.ceil(100 / seh.triangle.action.characters.Rara.FADE_OUT_DURATION); v1.VOICE_DURATION = 90; v2.escape_speed = 8; v2.escape_lines = null; v2.escape_sense = null; v2.stun_duration = 30; v2.knockback_speed = 0; v2.animation_count = 0; v2.voice_count = seh.triangle.action.characters.Rara.VOICE_DURATION; ASSetPropFlags(seh.triangle.action.characters.Rara.prototype, null, 1); } #endinitclip } movieClip 1926 __Packages.seh.triangle.action.characters.ZIPTan { #initclip if (!_global.seh) { _global.seh = new Object(); } if (!_global.seh.triangle) { _global.seh.triangle = new Object(); } if (!_global.seh.triangle.action) { _global.seh.triangle.action = new Object(); } if (!_global.seh.triangle.action.characters) { _global.seh.triangle.action.characters = new Object(); } if (!_global.seh.triangle.action.characters.ZIPTan) { var v1 = function () { super(); this.step_animation = new Array(); this.step_animation.push(this.attachMovie('Chara_ZIP_Back', 'Chara_ZIP_Back', this.getNextHighestDepth())); this.step_animation.push(this.attachMovie('Chara_ZIP_Front', 'Chara_ZIP_Front', this.getNextHighestDepth())); this.step_animation.push(this.attachMovie('Chara_ZIP_Left', 'Chara_ZIP_Left', this.getNextHighestDepth())); this.step_animation.push(this.attachMovie('Chara_ZIP_Right', 'Chara_ZIP_Right', this.getNextHighestDepth())); var v3 = 0; while (v3 < this.step_animation.length) { this.step_animation[v3]._visible = false; this.step_animation[v3].HitArea_Character._visible = false; this.step_animation[v3].HitArea_Damage._visible = false; ++v3; } this.character_chase = new seh.triangle.action.characters.detail.CharacterChase(this.collision_list); this.chase_lines = new maelstrom.collections.Queue(); this.hit_sense = new seh.triangle.action.hit.SimpleHitData(seh.triangle.action.hit.HitType.ENEMY_SENSE); this.hit_sense.onRectangleHit = mx.utils.Delegate.create(this, this.onSenseHit); this.hit_move = new seh.triangle.action.hit.Rectangle(seh.triangle.action.hit.HitType.ENEMY_MOVE); this.hit_move.onRectangleHit = mx.utils.Delegate.create(this, this.onMoveHit); this.hit_attack = new seh.triangle.action.hit.TargetAttack(seh.triangle.action.hit.HitType.ENEMY_ATTACK); this.hit_damage = new seh.triangle.action.hit.SimpleHitData(seh.triangle.action.hit.HitType.ENEMY_DAMAGE); this.hit_damage.disable(); this.hit_damage.onTargetAttackHit = mx.utils.Delegate.create(this, this.onDamageHit); this.collision_list.addHitData(this.hit_damage); this.attack_se = new Sound(this); this.attack_se.attachSound('SE_007'); this.internalSetDirection(seh.triangle.action.CharacterDirection.FRONT); this.hit_damage.enable(); this.is_alive = true; this.interval_count = seh.triangle.action.characters.ZIPTan.SENSE_INTERVAL; if (this.SenseVsPlayerMove() && !this.chase_lines.isEmpty()) { this.onEnterFrame = this.internalChase; } else { this.delay_count = seh.triangle.action.characters.ZIPTan.WANDER_DELAY_DURATION; this.onEnterFrame = this.internalMain; } }; seh.triangle.action.characters.ZIPTan = v1; seh.triangle.action.characters.ZIPTan extends seh.triangle.action.characters.detail.AbstractCharacter; var v2 = v1.prototype; v2.toString = function () { return 'ZIPTan'; }; v2.onUnload = function () { this.hit_sense.onRectangleHit = null; this.hit_move.onRectangleHit = null; this.hit_damage.onTargetAttackHit = null; this.collision_list.removeHitData(this.hit_damage); this.attack_se.stop(); }; v2.onScenePlayed = function (evt) { super.onScenePlayed(evt); this.hit_damage.enable(); this.interval_count = seh.triangle.action.characters.ZIPTan.SENSE_INTERVAL; if (this.SenseVsPlayerMove() && !this.chase_lines.isEmpty()) { this.onEnterFrame = this.internalChase; } else { this.delay_count = seh.triangle.action.characters.ZIPTan.WANDER_DELAY_DURATION; this.onEnterFrame = this.internalMain; } }; v2.onSceneTerminated = function (evt) { super.onSceneTerminated(evt); this.hit_damage.disable(); }; v2.onSenseHit = function (htyp, rctp, rcbtm, rclt, rcrt) { if (htyp == seh.triangle.action.hit.HitType.PLAYER_MOVE) { var v2 = this.character_chase.detectChaseLine(this.hit_move.__get__left(), this.hit_move.__get__top(), rclt, rctp, seh.triangle.action.characters.ZIPTan.CHASE_LINE_WIDTH, seh.triangle.action.characters.ZIPTan.CHASE_LINE_HEIGHT); if (v2.first != null) { this.chase_lines.clear(); this.chase_lines.push(v2.first); } if (v2.second != null) { this.chase_lines.push(v2.second); } } }; v2.onDamageHit = function (htyp, dirx, diry, kbspd, kbdur, atkpwr) { this.knockback(dirx, diry, kbspd, kbdur); }; v2.setChaseSpeed = function (chsspd) { if (chsspd == null) { throw new maelstrom.language.NullPointerException('chsspd == null'); } this.chase_speed = chsspd; }; v2.setAttackParamater = function (kbspd, kbdur, atkpwr) { if (kbspd == null || kbdur == null || atkpwr == null) { throw new maelstrom.language.NullPointerException('kbspd == null || kbdur == null || atkpwr == null'); } this.hit_attack.knockback_speed = kbspd; this.hit_attack.knockback_duration = kbdur; this.hit_attack.power = atkpwr; }; v2.setStunDuration = function (stndur) { if (stndur == null) { throw new maelstrom.language.NullPointerException('stndur == null'); } this.stun_duration = stndur; }; v2.play = function () { super.play(); }; v2.stop = function () { super.stop(); this.attack_se.stop(); }; v2.gotoAndStop = function (frame) { if (frame != 1) { throw new maelstrom.language.IllegalArgumentException('frame != 1'); } if (!this.is_alive) { throw new maelstrom.language.IllegalStateException('!is_alive'); } this.stop(); this.hit_damage.disable(); this.animation_count = seh.triangle.action.characters.ZIPTan.FADE_OUT_DURATION; this.onEnterFrame = this.internalFadeOut; }; v2.beginDemonstration = function () { if (this.onEnterFrame != null) { this.command_save = this.onEnterFrame; this.onEnterFrame = null; } this.hit_damage.disable(); this.is_alive = false; }; v2.endDemonstration = function () { if (this.is_alive) { throw new maelstrom.language.IllegalStateException('is_alive'); } if (this._visible) { this.hit_damage.enable(); this.is_alive = true; if (this.command_save != null) { this.onEnterFrame = this.command_save; this.command_save = null; } } }; v2.knockback = function (dirx, diry, kbspd, kbdur) { this.direction_x = dirx; this.direction_y = diry; this.knockback_speed = kbspd; this.animation_count = kbdur; this.hit_damage.disable(); this.onEnterFrame = this.internalKnockback; }; v2.SenseVsPlayerMove = function () { var v3 = (this.collision_list.getHitData(seh.triangle.action.hit.HitType.PLAYER_MOVE)).getListIterator(); while (v3.hasNext()) { var v2 = seh.triangle.action.hit.HitData(v3.next()); if (v2.hasEnabled()) { v2.notifyHit(this.hit_sense); this.hit_sense.notifyHit(v2); return true; } } return false; }; v2.AttackVsPlayerDamage = function () { var v3 = (this.collision_list.getHitData(seh.triangle.action.hit.HitType.PLAYER_DAMAGE)).getListIterator(); while (v3.hasNext()) { var v2 = seh.triangle.action.hit.HitData(v3.next()); if (v2.hasEnabled() && (this.hit_attack.getHitArea()).checkHitArea(v2.getHitArea())) { this.hit_attack.notifyHit(v2); return true; } } return false; }; v2.internalSetDirection = function (chardir) { super.internalSetDirection(chardir); this.hit_attack.direction_x = this.direction_x; this.hit_attack.direction_y = this.direction_y; this.hit_attack.hit_area = this.step_animation[this.direction_index].HitArea_Damage; this.hit_damage.hit_area = this.step_animation[this.direction_index].HitArea_Damage; }; v2.internalMain = function () { if (--this.delay_count <= 0 && Math.floor(Math.random() * 100) <= 4) { this.delay_count = seh.triangle.action.characters.ZIPTan.WANDER_DELAY_DURATION; var v2 = Math.floor(Math.random() * 4); if (v2 == 0) { this.internalSetDirection(seh.triangle.action.CharacterDirection.BACK); } else { if (v2 == 1) { this.internalSetDirection(seh.triangle.action.CharacterDirection.FRONT); } else { if (v2 == 2) { this.internalSetDirection(seh.triangle.action.CharacterDirection.LEFT); } else { this.internalSetDirection(seh.triangle.action.CharacterDirection.RIGHT); } } } } this._x += this.direction_x; this._y += this.direction_y; this.update(); this.MoveVsObstacle(); if (--this.interval_count == 0) { this.interval_count = seh.triangle.action.characters.ZIPTan.SENSE_INTERVAL; if (this.SenseVsPlayerMove() && !this.chase_lines.isEmpty()) { this.onEnterFrame = this.internalChase; } } }; v2.internalChase = function () { var v2 = seh.triangle.action.characters.detail.ChaseLine(this.chase_lines.peek()); if (this.direction_x != v2.direction_x || this.direction_y != v2.direction_y) { if (v2.direction_x == 0) { if (v2.direction_y < 0) { this.internalSetDirection(seh.triangle.action.CharacterDirection.BACK); } else { this.internalSetDirection(seh.triangle.action.CharacterDirection.FRONT); } } else { if (v2.direction_y == 0) { if (v2.direction_x < 0) { this.internalSetDirection(seh.triangle.action.CharacterDirection.LEFT); } else { this.internalSetDirection(seh.triangle.action.CharacterDirection.RIGHT); } } } } this._x += this.direction_x * this.chase_speed; this._y += this.direction_y * this.chase_speed; this.update(); if (this.AttackVsPlayerDamage()) { if (Math.floor(Math.random() * 6) == 0) { this.attack_se.start(); } this.knockback(-this.hit_attack.direction_x, -this.hit_attack.direction_y, this.hit_attack.knockback_speed, this.hit_attack.knockback_duration); } else { if (this.MoveVsObstacle()) { if (!this.chase_lines.isEmpty()) { this.chase_lines.clear(); } this.SenseVsPlayerMove(); if (this.chase_lines.isEmpty()) { this.delay_count = seh.triangle.action.characters.ZIPTan.WANDER_DELAY_DURATION; this.interval_count = seh.triangle.action.characters.ZIPTan.SENSE_INTERVAL; this.onEnterFrame = this.internalMain; } } else { var v4 = v2.target_x - this.hit_move.__get__left(); var v3 = v2.target_y - this.hit_move.__get__top(); if (this.direction_x * v4 < 0 || this.direction_y * v3 < 0) { this.chase_lines.pop(); } if (this.chase_lines.isEmpty()) { this.delay_count = seh.triangle.action.characters.ZIPTan.WANDER_DELAY_DURATION; this.interval_count = seh.triangle.action.characters.ZIPTan.SENSE_INTERVAL; this.onEnterFrame = this.internalMain; } else { if (--this.interval_count == 0) { this.interval_count = seh.triangle.action.characters.ZIPTan.SENSE_INTERVAL; this.SenseVsPlayerMove(); } } } } }; v2.internalKnockback = function () { if (--this.animation_count == 0) { this.animation_count = this.stun_duration; this.onEnterFrame = this.internalStun; } else { this._x += this.direction_x * this.knockback_speed; this._y += this.direction_y * this.knockback_speed; this.update(); this.MoveVsObstacle(); } }; v2.internalStun = function () { if (--this.animation_count == 0) { var v2 = (seh.triangle.action.CharacterDirection.values())[this.direction_index]; this.direction_x = v2.getDirectionX(); this.direction_y = v2.getDirectionY(); this.hit_damage.enable(); this.onEnterFrame = this.chase_lines.isEmpty() ? this.internalMain : this.internalChase; } }; v2.internalFadeOut = function () { this._alpha -= seh.triangle.action.characters.ZIPTan.FADE_OUT_ALPHA_CHANGE; if (--this.animation_count == 0) { this._alpha = 100; this._visible = false; this.is_alive = false; this.onEnterFrame = null; } }; v1.LINKAGE_ID = '__Packages.seh.triangle.action.characters.ZIPTan'; v1.CONSTRUCTOR = seh.triangle.action.characters.ZIPTan; v1.IS_REGISTERED = Object.registerClass(seh.triangle.action.characters.ZIPTan.LINKAGE_ID, seh.triangle.action.characters.ZIPTan.CONSTRUCTOR); v1.WANDER_DELAY_DURATION = 20; v1.SENSE_INTERVAL = 5; v1.CHASE_LINE_WIDTH = 30; v1.CHASE_LINE_HEIGHT = 24; v1.FADE_OUT_DURATION = 8; v1.FADE_OUT_ALPHA_CHANGE = Math.ceil(100 / seh.triangle.action.characters.ZIPTan.FADE_OUT_DURATION); v2.chase_speed = 8; v2.chase_lines = null; v2.stun_duration = 30; v2.knockback_speed = 0; v2.delay_count = 0; v2.interval_count = 0; v2.animation_count = 0; ASSetPropFlags(seh.triangle.action.characters.ZIPTan.prototype, null, 1); } #endinitclip } movieClip 1927 __Packages.seh.triangle.action.characters.DS { #initclip if (!_global.seh) { _global.seh = new Object(); } if (!_global.seh.triangle) { _global.seh.triangle = new Object(); } if (!_global.seh.triangle.action) { _global.seh.triangle.action = new Object(); } if (!_global.seh.triangle.action.characters) { _global.seh.triangle.action.characters = new Object(); } if (!_global.seh.triangle.action.characters.DS) { var v1 = function () { super(); mx.events.EventDispatcher.initialize(this); this.step_animation = new Array(); this.step_animation.push(this.attachMovie('Chara_DS_Back', 'Chara_DS_Back', this.getNextHighestDepth())); this.step_animation.push(this.attachMovie('Chara_DS_Front', 'Chara_DS_Front', this.getNextHighestDepth())); this.step_animation.push(this.attachMovie('Chara_DS_Left', 'Chara_DS_Left', this.getNextHighestDepth())); this.step_animation.push(this.attachMovie('Chara_DS_Right', 'Chara_DS_Right', this.getNextHighestDepth())); var v3 = 0; while (v3 < this.step_animation.length) { this.step_animation[v3]._visible = false; this.step_animation[v3].HitArea_Character._visible = false; this.step_animation[v3].HitArea_Damage._visible = false; ++v3; } this.health = new seh.triangle.action.EnemyHealth(); this.hit_event = new seh.triangle.action.hit.Rectangle(seh.triangle.action.hit.HitType.EVENT); this.hit_event.disable(); this.hit_event.onRectangleHit = mx.utils.Delegate.create(this, this.onEventHit); this.collision_list.addHitData(this.hit_event); this.setEventSense(null, null); this.internalSetDirection(seh.triangle.action.CharacterDirection.FRONT); this.stop(); }; seh.triangle.action.characters.DS = v1; seh.triangle.action.characters.DS extends seh.triangle.action.characters.detail.AbstractCharacter; var v2 = v1.prototype; v2.toString = function () { return 'DS'; }; v2.onUnload = function () { this.hit_event.onRectangleHit = null; this.collision_list.removeHitData(this.hit_event); }; v2.onScenePlayed = function (evt) { if (this.step_animation == null || this.is_alive) { throw new maelstrom.language.IllegalStateException('step_animation == null || is_alive'); } this.hit_event.enable(); this.is_alive = true; this.play(); }; v2.onSceneTerminated = function (evt) { super.onSceneTerminated(evt); this.hit_event.disable(); }; v2.onEventHit = function (htyp, rctp, rcbtm, rclt, rcrt) { if (htyp == seh.triangle.action.hit.HitType.PLAYER_MOVE) { this.dispatchEvent({'type': 'onEventHit'}); } }; v2.setEventSense = function (wdt, hgt) { if (wdt === undefined || hgt === undefined) { throw new maelstrom.language.UndefinedPointerException('wdt === undefined || hgt === undefined'); } if (this.event_sense != null) { this.event_sense.removeMovieClip(); } if (wdt == null || hgt == null) { this.hit_event.bounding_box = this.step_animation[this.direction_index].HitArea_Character; this.hit_event.localToGlobal(); } else { this.event_sense = maelstrom.hit.BoundingBox(this.attachMovie(maelstrom.hit.BoundingBox.LINKAGE_ID, 'Sense_Range', this.getNextHighestDepth(), {'_visible': false, '_x': -wdt, '_y': -hgt})); this.event_sense.beginFill(10027008, 50); this.event_sense.moveTo(0, 0); this.event_sense.lineTo(wdt + wdt + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_WIDTH, 0); this.event_sense.lineTo(wdt + wdt + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_WIDTH, hgt + hgt + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_HEIGHT); this.event_sense.lineTo(0, hgt + hgt + seh.triangle.action.characters.detail.AbstractCharacter.CHARACTER_HALF_HEIGHT); this.event_sense.lineTo(0, 0); this.event_sense.endFill(); this.hit_event.bounding_box = this.event_sense; this.hit_event.localToGlobal(); } }; v2.getHealth = function () { return this.health; }; v2.setExperiencePoint = function (exp) { this.health.setExperiencePoint(exp); }; v2.getExperiencePoint = function () { return this.health.getExperiencePoint(); }; v2.gotoAndStop = function (frame) { if (frame != 1) { throw new maelstrom.language.IllegalArgumentException('frame != 1'); } if (!this.is_alive) { throw new maelstrom.language.IllegalStateException('!is_alive'); } this.stop(); this.hit_event.disable(); this.animation_count = seh.triangle.action.characters.DS.FADE_OUT_DURATION; this.onEnterFrame = this.internalFadeOut; }; v2.update = function () { super.update(); this.hit_event.localToGlobal(); }; v2.internalFadeOut = function () { this._alpha -= seh.triangle.action.characters.DS.FADE_OUT_ALPHA_CHANGE; if (--this.animation_count == 0) { this._alpha = 100; this._visible = false; this.is_alive = false; this.onEnterFrame = null; } }; v1.LINKAGE_ID = '__Packages.seh.triangle.action.characters.DS'; v1.CONSTRUCTOR = seh.triangle.action.characters.DS; v1.IS_REGISTERED = Object.registerClass(seh.triangle.action.characters.DS.LINKAGE_ID, seh.triangle.action.characters.DS.CONSTRUCTOR); v1.FADE_OUT_DURATION = 8; v1.FADE_OUT_ALPHA_CHANGE = Math.ceil(100 / seh.triangle.action.characters.DS.FADE_OUT_DURATION); v2.event_sense = null; v2.animation_count = 0; ASSetPropFlags(seh.triangle.action.characters.DS.prototype, null, 1); } #endinitclip } movieClip 1928 __Packages.seh.triangle.action.CharacterHealthIcon { #initclip if (!_global.seh) { _global.seh = new Object(); } if (!_global.seh.triangle) { _global.seh.triangle = new Object(); } if (!_global.seh.triangle.action) { _global.seh.triangle.action = new Object(); } if (!_global.seh.triangle.action.CharacterHealthIcon) { var v1 = function () { super(); this.units = new Array(); this.units.push(this.attachMovie('HP_01', 'HP_01', this.getNextHighestDepth(), {'_x': 5, '_y': 19})); this.units.push(this.attachMovie('HP_02', 'HP_02', this.getNextHighestDepth(), {'_x': 24, '_y': 19})); this.units.push(this.attachMovie('HP_03', 'HP_03', this.getNextHighestDepth(), {'_x': 43, '_y': 19})); this.units.push(this.attachMovie('HP_04', 'HP_04', this.getNextHighestDepth(), {'_x': 62, '_y': 19})); this.units.push(this.attachMovie('HP_05', 'HP_05', this.getNextHighestDepth(), {'_x': 81, '_y': 19})); this.units.push(this.attachMovie('HP_05', 'HP_06', this.getNextHighestDepth(), {'_x': 100, '_y': 19})); this.units.push(this.attachMovie('HP_05', 'HP_07', this.getNextHighestDepth(), {'_x': 119, '_y': 19})); this.units.push(this.attachMovie('HP_05', 'HP_08', this.getNextHighestDepth(), {'_x': 138, '_y': 19})); this.units.push(this.attachMovie('HP_05', 'HP_09', this.getNextHighestDepth(), {'_x': 157, '_y': 19})); this.units.push(this.attachMovie('HP_05', 'HP_10', this.getNextHighestDepth(), {'_x': 176, '_y': 19})); this.unit_index = seh.triangle.action.CharacterHealthIcon.UNIT_DIGIT; }; seh.triangle.action.CharacterHealthIcon = v1; seh.triangle.action.CharacterHealthIcon extends MovieClip; var v2 = v1.prototype; v2.toString = function () { return 'CharacterHealthIcon'; }; v2.onScenePlayed = function (evt) { this.play(); }; v2.onSceneStopped = function (evt) { this.stop(); }; v2.onSceneResumed = function (evt) { this.play(); }; v2.onSceneTerminated = function (evt) { this.stop(); }; v2.onCharacterReplenished = function (evt) { var v2 = Math.ceil(evt.before_health / seh.triangle.action.CharacterHealthIcon.UNIT_QUANTITY); var v3 = Math.ceil(evt.after_health / seh.triangle.action.CharacterHealthIcon.UNIT_QUANTITY); this.setUnit(v2); this.increaseUnit(v3 - v2); }; v2.onCharacterDamaged = function (evt) { this.has_enemy_called = false; var v2 = Math.ceil(evt.before_health / seh.triangle.action.CharacterHealthIcon.UNIT_QUANTITY); var v3 = Math.ceil(evt.after_health / seh.triangle.action.CharacterHealthIcon.UNIT_QUANTITY); this.setUnit(v2); this.decreaseUnit(v2 - v3); }; v2.onEnemyDamaged = function (evt) { this.has_enemy_called = true; var v2 = Math.ceil(evt.before_health / seh.triangle.action.CharacterHealthIcon.UNIT_QUANTITY); var v3 = Math.ceil(evt.after_health / seh.triangle.action.CharacterHealthIcon.UNIT_QUANTITY); this.setUnit(v2); this.decreaseUnit(v2 - v3); }; v2.play = function () { if (this.command_save != null) { this.onEnterFrame = this.command_save; this.command_save = null; } }; v2.stop = function () { if (this.onEnterFrame != null) { this.command_save = this.onEnterFrame; this.onEnterFrame = null; } }; v2.setUnit = function (num) { if (num == null) { throw new maelstrom.language.NullPointerException('num == null'); } if (num < 0) { num = 0; } else { if (num > seh.triangle.action.CharacterHealthIcon.UNIT_DIGIT) { num = seh.triangle.action.CharacterHealthIcon.UNIT_DIGIT; } } this.unit_index = num; this._alpha = 100; this._visible = true; var v2 = 0; while (v2 < seh.triangle.action.CharacterHealthIcon.UNIT_DIGIT) { this.units[v2]._alpha = 100; if (v2 < this.unit_index) { this.units[v2]._visible = true; } else { this.units[v2]._visible = false; } ++v2; } this.command_save = null; this.onEnterFrame = this.command_save; }; v2.increaseUnit = function (num) { if (this.onEnterFrame != null) { this.setUnit(this.unit_index); } this.temporary_unit_index = this.unit_index; this.unit_index += num; if (this.unit_index > seh.triangle.action.CharacterHealthIcon.UNIT_DIGIT) { this.unit_index = seh.triangle.action.CharacterHealthIcon.UNIT_DIGIT; } if (this.unit_index > this.temporary_unit_index) { this.animation_count = seh.triangle.action.CharacterHealthIcon.INCREASE_UNIT_INTERVAL; this.onEnterFrame = this.internalIncreaseUnit; } }; v2.decreaseUnit = function (num) { if (this.onEnterFrame != null) { this.setUnit(this.unit_index); } this.temporary_unit_index = this.unit_index; this.unit_index -= num; if (this.unit_index < 0) { this.unit_index = 0; } if (this.unit_index < this.temporary_unit_index) { this.animation_count = seh.triangle.action.CharacterHealthIcon.DECREASE_UNIT_DURATION; this.onEnterFrame = this.internalDecreaseUnit; } }; v2.internalIncreaseUnit = function () { if (--this.animation_count == 0) { this.animation_count = seh.triangle.action.CharacterHealthIcon.INCREASE_UNIT_INTERVAL; this.units[this.temporary_unit_index]._visible = true; if (++this.temporary_unit_index == this.unit_index) { this.onEnterFrame = null; } } }; v2.internalDecreaseUnit = function () { var v2 = this.unit_index; while (v2 < this.temporary_unit_index) { this.units[v2]._alpha -= seh.triangle.action.CharacterHealthIcon.DECREASE_UNIT_ALPHA_CHANGE; ++v2; } if (--this.animation_count == 0) { v2 = this.unit_index; while (v2 < this.temporary_unit_index) { this.units[v2]._alpha = 100; this.units[v2]._visible = false; ++v2; } if (this.has_enemy_called) { if (this.unit_index == 0) { this.animation_count = seh.triangle.action.CharacterHealthIcon.FADE_OUT_DURATION; this.onEnterFrame = this.internalFadeOut; } else { this.wait_count = seh.triangle.action.CharacterHealthIcon.FADE_OUT_WAIT_DURATION; this.onEnterFrame = this.internalWait; } } else { this.onEnterFrame = null; } } }; v2.internalWait = function () { if (--this.wait_count == 0) { this.animation_count = seh.triangle.action.CharacterHealthIcon.FADE_OUT_DURATION; this.onEnterFrame = this.internalFadeOut; } }; v2.internalFadeOut = function () { this._alpha -= seh.triangle.action.CharacterHealthIcon.FADE_ALPHA_CHANGE; if (--this.animation_count == 0) { this._alpha = 100; this._visible = false; this.onEnterFrame = null; } }; v1.UNIT_DIGIT = 10; v1.UNIT_QUANTITY = seh.triangle.action.CharacterHealth.MAXIMUM / seh.triangle.action.CharacterHealthIcon.UNIT_DIGIT; v1.INCREASE_UNIT_INTERVAL = 3; v1.DECREASE_UNIT_DURATION = 10; v1.DECREASE_UNIT_ALPHA_CHANGE = Math.ceil(100 / seh.triangle.action.CharacterHealthIcon.DECREASE_UNIT_DURATION); v1.FADE_OUT_WAIT_DURATION = 90; v1.FADE_OUT_DURATION = 10; v1.FADE_ALPHA_CHANGE = Math.ceil(100 / seh.triangle.action.CharacterHealthIcon.FADE_OUT_DURATION); v2.temporary_unit_index = 0; v2.has_enemy_called = false; v2.animation_count = 0; v2.wait_count = 0; v2.command_save = null; ASSetPropFlags(seh.triangle.action.CharacterHealthIcon.prototype, null, 1); } #endinitclip } movieClip 1929 __Packages.seh.triangle.action.DLPoint { #initclip if (!_global.seh) { _global.seh = new Object(); } if (!_global.seh.triangle) { _global.seh.triangle = new Object(); } if (!_global.seh.triangle.action) { _global.seh.triangle.action = new Object(); } if (!_global.seh.triangle.action.DLPoint) { var v1 = function () { super(); this.point = new Array(); var v3 = 0; while (v3 < seh.triangle.action.DLPoint.DIGIT) { this.point.push(new Array()); this.point[v3].push(this.attachMovie('HP_DLpt_00', 'HP_DLpt_00_Dgt' + v3.toString(), this.getNextHighestDepth(), {'_x': 23 + v3 * 12, '_y': -2})); this.point[v3].push(this.attachMovie('HP_DLpt_01', 'HP_DLpt_01_Dgt' + v3.toString(), this.getNextHighestDepth(), {'_x': 23 + v3 * 12, '_y': -2, '_visible': false})); this.point[v3].push(this.attachMovie('HP_DLpt_02', 'HP_DLpt_02_Dgt' + v3.toString(), this.getNextHighestDepth(), {'_x': 23 + v3 * 12, '_y': -2, '_visible': false})); this.point[v3].push(this.attachMovie('HP_DLpt_03', 'HP_DLpt_03_Dgt' + v3.toString(), this.getNextHighestDepth(), {'_x': 23 + v3 * 12, '_y': -2, '_visible': false})); this.point[v3].push(this.attachMovie('HP_DLpt_04', 'HP_DLpt_04_Dgt' + v3.toString(), this.getNextHighestDepth(), {'_x': 23 + v3 * 12, '_y': -2, '_visible': false})); this.point[v3].push(this.attachMovie('HP_DLpt_05', 'HP_DLpt_05_Dgt' + v3.toString(), this.getNextHighestDepth(), {'_x': 23 + v3 * 12, '_y': -2, '_visible': false})); this.point[v3].push(this.attachMovie('HP_DLpt_06', 'HP_DLpt_06_Dgt' + v3.toString(), this.getNextHighestDepth(), {'_x': 23 + v3 * 12, '_y': -2, '_visible': false})); this.point[v3].push(this.attachMovie('HP_DLpt_07', 'HP_DLpt_07_Dgt' + v3.toString(), this.getNextHighestDepth(), {'_x': 23 + v3 * 12, '_y': -2, '_visible': false})); this.point[v3].push(this.attachMovie('HP_DLpt_08', 'HP_DLpt_08_Dgt' + v3.toString(), this.getNextHighestDepth(), {'_x': 23 + v3 * 12, '_y': -2, '_visible': false})); this.point[v3].push(this.attachMovie('HP_DLpt_09', 'HP_DLpt_09_Dgt' + v3.toString(), this.getNextHighestDepth(), {'_x': 23 + v3 * 12, '_y': -2, '_visible': false})); ++v3; } }; seh.triangle.action.DLPoint = v1; seh.triangle.action.DLPoint extends MovieClip; var v2 = v1.prototype; v2.toString = function () { return 'DLPoint'; }; v2.onEnemyHealthEmptied = function (evt) { this.value += evt.experience_point; }; v2.__get__value = function () { return this.internal_value; }; v2.__set__value = function (val) { if (val == null) { throw new maelstrom.language.NullPointerException('val == null'); } if (val < seh.triangle.action.DLPoint.MINIMUM) { val = seh.triangle.action.DLPoint.MINIMUM; } else { if (val > seh.triangle.action.DLPoint.MAXIMUM) { val = seh.triangle.action.DLPoint.MAXIMUM; } } this.internal_value = val; var v3 = seh.triangle.action.DLPoint.DIGIT - 1; while (v3 >= 0) { var v5 = val % seh.triangle.action.DLPoint.RADIX; val = Math.floor(val / seh.triangle.action.DLPoint.RADIX); var v2 = 0; while (v2 < 10) { if (v5 == v2) { this.point[v3][v2]._visible = true; } else { this.point[v3][v2]._visible = false; } ++v2; } --v3; } return this.__get__value(); }; v1.MINIMUM = 0; v1.MAXIMUM = 99999; v1.DIGIT = 5; v1.RADIX = 10; v2.internal_value = seh.triangle.action.DLPoint.MINIMUM; v2.addProperty('value', v2.__get__value, v2.__set__value); ASSetPropFlags(seh.triangle.action.DLPoint.prototype, null, 1); } #endinitclip } movieClip 1930 __Packages.seh.triangle.action.ItemSymbol { #initclip if (!_global.seh) { _global.seh = new Object(); } if (!_global.seh.triangle) { _global.seh.triangle = new Object(); } if (!_global.seh.triangle.action) { _global.seh.triangle.action = new Object(); } if (!_global.seh.triangle.action.ItemSymbol) { var v1 = function () { super(); if (this.collision_list == null) { throw new maelstrom.language.IllegalStateException('collision_list == null'); } mx.events.EventDispatcher.initialize(this); this.HitArea_Character._visible = false; this.hit_event = new seh.triangle.action.hit.SimpleHitData(seh.triangle.action.hit.HitType.EVENT); this.hit_event.hit_area = this.HitArea_Character; this.hit_event.disable(); this.hit_event.onRectangleHit = mx.utils.Delegate.create(this, this.onEventHit); this.collision_list.addHitData(this.hit_event); this.hit_event.enable(); this.stop(); }; seh.triangle.action.ItemSymbol = v1; seh.triangle.action.ItemSymbol extends MovieClip; var v2 = v1.prototype; v2.toString = function () { return 'ItemSymbol'; }; v2.onUnload = function () { this.hit_event.onRectangleHit = null; this.collision_list.removeHitData(this.hit_event); }; v2.onScenePlayed = function (evt) { this.play(); this.hit_event.enable(); }; v2.onSceneStopped = function (evt) { this.stop(); }; v2.onSceneResumed = function (evt) { this.play(); }; v2.onSceneTerminated = function (evt) { this.stop(); this.hit_event.disable(); }; v2.onEventHit = function (htyp, rctp, rcbtm, rclt, rcrt) { if (htyp == seh.triangle.action.hit.HitType.PLAYER_MOVE) { this.stop(); this.hit_event.disable(); this.animation_count = seh.triangle.action.ItemSymbol.FADE_OUT_DURATION; this.onEnterFrame = this.internalFadeOut; this.dispatchEvent({'type': 'onEventHit'}); } }; v2.play = function () { super.play(); if (this.command_save != null) { this.onEnterFrame = this.command_save; this.command_save = null; } }; v2.stop = function () { super.stop(); if (this.onEnterFrame != null) { this.command_save = this.onEnterFrame; this.onEnterFrame = null; } }; v2.internalFadeOut = function () { this._alpha -= seh.triangle.action.ItemSymbol.FADE_OUT_ALPHA_CHANGE; if (--this.animation_count == 0) { this._alpha = 100; this._visible = false; this.onEnterFrame = null; } }; v1.FADE_OUT_DURATION = 8; v1.FADE_OUT_ALPHA_CHANGE = Math.ceil(100 / seh.triangle.action.ItemSymbol.FADE_OUT_DURATION); v2.animation_count = 0; v2.command_save = null; ASSetPropFlags(seh.triangle.action.ItemSymbol.prototype, null, 1); } #endinitclip } movieClip 1931 __Packages.seh.triangle.scene.mode.main.detail.ActionScene { #initclip if (!_global.seh) { _global.seh = new Object(); } if (!_global.seh.triangle) { _global.seh.triangle = new Object(); } if (!_global.seh.triangle.scene) { _global.seh.triangle.scene = new Object(); } if (!_global.seh.triangle.scene.mode) { _global.seh.triangle.scene.mode = new Object(); } if (!_global.seh.triangle.scene.mode.main) { _global.seh.triangle.scene.mode.main = new Object(); } if (!_global.seh.triangle.scene.mode.main.detail) { _global.seh.triangle.scene.mode.main.detail = new Object(); } if (!_global.seh.triangle.scene.mode.main.detail.ActionScene) { var v1 = function (par) { if (par == null || seh.triangle.scene.mode.main.detail.ActionScene.entity_factory == null) { throw new maelstrom.language.NullPointerException('par == null || entity_factory == null'); } mx.events.EventDispatcher.initialize(this); this.parent = par; this.parent.addSceneListener(this); seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.scroll_layer._y = 0; seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.scroll_layer._x = 0; this.save_data = (seh.triangle.Triangle.getInstance()).getSaveData(); this.collision_list = seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.getCollisionList(); this.obstacles = new Array(); this.level_exits = new Array(); this.enemy_launcher = new seh.triangle.scene.mode.main.levels.detail.EnemyLauncher(); this.addSceneListener(this.enemy_launcher); this.addSceneListener(seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.getEnemyHealthIcon()); this.onEnterFrame = null; }; seh.triangle.scene.mode.main.detail.ActionScene = v1; var v2 = v1.prototype; _global.seh.triangle.scene.mode.main.detail.ActionScene implements _global.maelstrom.scene.Scene; v1.setEntityFactory = function (entfact) { if (entfact == null) { throw new maelstrom.language.NullPointerException('entfact == null'); } seh.triangle.scene.mode.main.detail.ActionScene.entity_factory = entfact; }; v2.toString = function () { return 'ActionScene'; }; v2.onEnterFrame = function () {}; v2.onScenePlayed = function (evt) { if (this.state == maelstrom.scene.SceneState.CREATED) { this.play(); } }; v2.onSceneStopped = function (evt) { if (this.state == maelstrom.scene.SceneState.PLAYING) { this.stop(); } if (this.demo_scene != null && this.demo_scene.getState() == maelstrom.scene.SceneState.PLAYING) { this.demo_scene.stop(); } }; v2.onSceneResumed = function (evt) { if (this.state == maelstrom.scene.SceneState.CREATED) { this.play(); } else { if (this.state == maelstrom.scene.SceneState.STOPPED) { if (this.demo_scene == null) { this.resume(); } else { if (this.demo_scene.getState() == maelstrom.scene.SceneState.STOPPED) { this.demo_scene.resume(); } } } } }; v2.onSceneUpdated = function (evt) { if (this.state != null) { this.update(); } }; v2.onSceneTerminated = function (evt) { if (this.state != null) { this.terminate(); } }; v2.onScenePlayedHandler = function (evt) { if (this.player_character != null) { this.addSceneListener(this.player_character); this.addSceneListener(seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.getPlayerHealthIcon()); } }; v2.allTransitionsInDone = function (evt) { (mx.transitions.TransitionManager(evt.target)).removeEventListener('allTransitionsInDone', this); this.parent.resume(); }; v2.allTransitionsOutDone = function (evt) { (mx.transitions.TransitionManager(evt.target)).removeEventListener('allTransitionsOutDone', this); this.terminate(); }; v2.getParent = function () { return this.parent; }; v2.getState = function () { return this.state; }; v2.addSceneListener = function (scl) { if (scl == null) { throw new maelstrom.language.NullPointerException('scl == null'); } this.addEventListener('onScenePlayed', scl); this.addEventListener('onSceneStopped', scl); this.addEventListener('onSceneResumed', scl); this.addEventListener('onSceneUpdated', scl); this.addEventListener('onSceneTerminated', scl); }; v2.removeSceneListener = function (scl) { if (scl == null) { throw new maelstrom.language.NullPointerException('scl == null'); } this.removeEventListener('onScenePlayed', scl); this.removeEventListener('onSceneStopped', scl); this.removeEventListener('onSceneResumed', scl); this.removeEventListener('onSceneUpdated', scl); this.removeEventListener('onSceneTerminated', scl); }; v2.play = function () { if (this.state != maelstrom.scene.SceneState.CREATED) { throw new maelstrom.scene.IllegalSceneStateException('state != SceneState.CREATED'); } this.state = maelstrom.scene.SceneState.PLAYING; this.dispatchEvent({'type': 'onScenePlayed'}); this.update(); MovieClip.addListener(this); }; v2.stop = function () { if (this.state != maelstrom.scene.SceneState.PLAYING) { throw new maelstrom.scene.IllegalSceneStateException('state != SceneState.PLAYING'); } this.state = maelstrom.scene.SceneState.STOPPED; this.dispatchEvent({'type': 'onSceneStopped'}); MovieClip.removeListener(this); }; v2.resume = function () { if (this.demo_scene == null) { if (this.state != maelstrom.scene.SceneState.STOPPED) { throw new maelstrom.scene.IllegalSceneStateException('state != SceneState.STOPPED'); } this.state = maelstrom.scene.SceneState.PLAYING; this.dispatchEvent({'type': 'onSceneResumed'}); if (this.parent.getState() == maelstrom.scene.SceneState.STOPPED) { this.parent.resume(); } MovieClip.addListener(this); } else { var v2 = this.demo_scene.getState(); if (v2 == maelstrom.scene.SceneState.PLAYING) { if (this.parent.getState() == maelstrom.scene.SceneState.STOPPED) { this.parent.resume(); } } else { if (v2 == maelstrom.scene.SceneState.TERMINATED) { if (this.state != maelstrom.scene.SceneState.STOPPED) { throw new maelstrom.scene.IllegalSceneStateException('state != SceneState.STOPPED'); } this.state = maelstrom.scene.SceneState.PLAYING; this.demo_scene = null; this.dispatchEvent({'type': 'onSceneResumed'}); MovieClip.addListener(this); } } } }; v2.update = function () { if (this.state == null) { throw new maelstrom.scene.IllegalSceneStateException('state == null'); } this.dispatchEvent({'type': 'onSceneUpdated'}); var v2 = 0; while (v2 < this.obstacles.length) { this.obstacles[v2].localToGlobal(); ++v2; } }; v2.terminate = function () { if (this.state == null) { throw new maelstrom.scene.IllegalSceneStateException('state == null'); } this.state = maelstrom.scene.SceneState.TERMINATED; this.dispatchEvent({'type': 'onSceneTerminated'}); this.parent.removeSceneListener(this); if (this.player_character != null) { this.removeSceneListener(this.player_character); this.removeSceneListener(seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.getPlayerHealthIcon()); } var v2 = 0; while (v2 < this.obstacles.length) { this.collision_list.removeHitData(this.obstacles[v2]); ++v2; } v2 = 0; while (v2 < this.level_exits.length) { this.level_exits[v2].onRectangleHit = null; this.collision_list.removeHitData(this.level_exits[v2]); ++v2; } this.removeSceneListener(this.enemy_launcher); var v3 = this.enemy_launcher.getEnemies(); v2 = 0; while (v2 < v3.length) { this.removeSceneListener(v3[v2]); v3[v2].removeMovieClip(); ++v2; } this.removeSceneListener(seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.getEnemyHealthIcon()); MovieClip.removeListener(this); }; v2.startTransitionIn = function () { var v2 = mx.transitions.TransitionManager.start(seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.getRootMovieClip(), {'type': maelstrom.scene.transition.ContentCover, 'direction': mx.transitions.Transition.IN, 'duration': 0.5, 'easing': mx.transitions.easing.None.easeNone}); (v2.__get__manager()).addEventListener('allTransitionsInDone', this); return v2.__get__manager(); }; v2.startTransitionOut = function () { var v2 = mx.transitions.TransitionManager.start(seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.getRootMovieClip(), {'type': maelstrom.scene.transition.ContentCover, 'direction': mx.transitions.Transition.OUT, 'duration': 0.5, 'easing': mx.transitions.easing.None.easeNone}); (v2.__get__manager()).addEventListener('allTransitionsOutDone', this); return v2.__get__manager(); }; v2.addEnemySpawnPosition = function (x, y, chardir) { if (x == null || y == null || chardir == null) { throw new maelstrom.language.NullPointerException('x == null || y == null || chardir == null'); } this.enemy_launcher.addSpawnPosition(x, y, chardir); }; v2.removeEnemySpawnPosition = function (x, y, chardir) { if (x == null || y == null || chardir == null) { throw new maelstrom.language.NullPointerException('x == null || y == null || chardir == null'); } this.enemy_launcher.removeSpawnPosition(x, y, chardir); }; v2.addBlueJacket = function (x, y, chswdt, chshgt, chardir) { if (x == null || y == null || chswdt == null || chshgt == null) { throw new maelstrom.language.NullPointerException('x == null || y == null || chswdt == null || chshgt == null'); } var v2 = seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.createBlueJacket(this.toString() + '_BlueJacket' + this.enemy_launcher.getEnemeyLength()); v2._x = x; v2._y = y; v2.setChaseSense(chswdt, chshgt); if (chardir != null) { v2.setDirection(chardir); } this.addSceneListener(v2); this.enemy_launcher.addEnemy(v2); return v2; }; v2.addBrownJacket = function (x, y, chswdt, chshgt, chardir) { if (x == null || y == null || chswdt == null || chshgt == null) { throw new maelstrom.language.NullPointerException('x == null || y == null || chswdt == null || chshgt == null'); } var v2 = seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.createBrownJacket(this.toString() + '_BrownJacket' + this.enemy_launcher.getEnemeyLength()); v2._x = x; v2._y = y; v2.setChaseSense(chswdt, chshgt); if (chardir != null) { v2.setDirection(chardir); } this.addSceneListener(v2); this.enemy_launcher.addEnemy(v2); return v2; }; v2.addSunglasses = function (x, y, chswdt, chshgt, chardir) { if (x == null || y == null || chswdt == null || chshgt == null) { throw new maelstrom.language.NullPointerException('x == null || y == null || chswdt == null || chshgt == null'); } var v2 = seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.createSunglasses(this.toString() + '_Sunglasses' + this.enemy_launcher.getEnemeyLength()); v2._x = x; v2._y = y; v2.setChaseSense(chswdt, chshgt); if (chardir != null) { v2.setDirection(chardir); } this.addSceneListener(v2); this.enemy_launcher.addEnemy(v2); return v2; }; v2.addGuard = function (x, y, chswdt, chshgt, chardir) { if (x == null || y == null || chswdt == null || chshgt == null) { throw new maelstrom.language.NullPointerException('x == null || y == null || chswdt == null || chshgt == null'); } var v2 = seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.createGuard(this.toString() + '_Guard' + this.enemy_launcher.getEnemeyLength()); v2._x = x; v2._y = y; v2.setChaseSense(chswdt, chshgt); if (chardir != null) { v2.setDirection(chardir); } this.addSceneListener(v2); this.enemy_launcher.addEnemy(v2); return v2; }; v2.addObstacle = function (bndbx) { if (bndbx == null) { throw new maelstrom.language.NullPointerException('bndbx == null'); } var v2 = new seh.triangle.action.hit.Rectangle(seh.triangle.action.hit.HitType.OBSTACLE, bndbx); this.obstacles.push(v2); this.collision_list.addHitData(v2); return v2; }; v2.addLevelExit = function (ha, evthdl) { if (ha == null || evthdl == null) { throw new maelstrom.language.NullPointerException('ha == null || evthdl == null'); } var v2 = new seh.triangle.action.hit.SimpleHitData(seh.triangle.action.hit.HitType.LEVEL_EXIT, ha); v2.onRectangleHit = evthdl; this.level_exits.push(v2); this.collision_list.addHitData(v2); }; v2.adjustViewPosition = function (centx, centy) { if (centx == null || centy == null) { throw new maelstrom.language.NullPointerException('centx == null || centy == null'); } var v2 = false; if (Stage.width < this.background_width) { if (centx > seh.triangle.scene.mode.main.detail.ActionScene.STAGE_HALF_WIDTH) { var v4 = -(centx - seh.triangle.scene.mode.main.detail.ActionScene.STAGE_HALF_WIDTH); var v5 = Stage.width - this.background_width; if (v4 < v5) { v4 = v5; } seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.scroll_layer._x = v4; v2 = true; } } if (Stage.height < this.background_height) { if (centy > seh.triangle.scene.mode.main.detail.ActionScene.STAGE_HALF_HEIGHT) { var v3 = -(centy - seh.triangle.scene.mode.main.detail.ActionScene.STAGE_HALF_HEIGHT); v5 = Stage.height - this.background_height; if (v3 < v5) { v3 = v5; } seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.scroll_layer._y = v3; } v2 = true; } if (v2) { this.update(); } }; v2.internalScroll = function () { var v2 = false; if (Stage.width < this.background_width) { var v4 = this.player_character.__get__move_x(); if (v4 < 0 && this.player_character.__get__stage_x() < seh.triangle.scene.mode.main.detail.ActionScene.STAGE_HALF_WIDTH) { seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.scroll_layer._x -= v4; if (seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.scroll_layer._x > 0) { seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.scroll_layer._x = 0; } v2 = true; } else { if (v4 > 0 && this.player_character.__get__stage_x() > seh.triangle.scene.mode.main.detail.ActionScene.STAGE_HALF_WIDTH) { seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.scroll_layer._x -= v4; var v5 = Stage.width - this.background_width; if (seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.scroll_layer._x < v5) { seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.scroll_layer._x = v5; } v2 = true; } } } if (Stage.height < this.background_height) { var v3 = this.player_character.__get__move_y(); if (v3 < 0 && this.player_character.__get__stage_y() < seh.triangle.scene.mode.main.detail.ActionScene.STAGE_HALF_HEIGHT) { seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.scroll_layer._y -= v3; if (seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.scroll_layer._y > 0) { seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.scroll_layer._y = 0; } v2 = true; } else { if (v3 > 0 && this.player_character.__get__stage_y() > seh.triangle.scene.mode.main.detail.ActionScene.STAGE_HALF_HEIGHT) { seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.scroll_layer._y -= v3; v5 = Stage.height - this.background_height; if (seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.scroll_layer._y < v5) { seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.scroll_layer._y = v5; } v2 = true; } } } if (v2) { this.update(); } }; v1.STAGE_HALF_WIDTH = Stage.width / 2; v1.STAGE_HALF_HEIGHT = Stage.height / 2; v1.entity_factory = null; v2.state = null; v2.demo_scene = null; v2.background_width = 0; v2.background_height = 0; v2.player_character = null; ASSetPropFlags(seh.triangle.scene.mode.main.detail.ActionScene.prototype, null, 1); } #endinitclip } movieClip 1932 __Packages.maelstrom.scene.AbstractScene { #initclip if (!_global.maelstrom) { _global.maelstrom = new Object(); } if (!_global.maelstrom.scene) { _global.maelstrom.scene = new Object(); } if (!_global.maelstrom.scene.AbstractScene) { var v1 = function (par) { if (par === undefined) { throw new maelstrom.language.UndefinedPointerException('par === undefined'); } mx.events.EventDispatcher.initialize(this); this.parent = par; if (this.parent != null) { this.parent.addSceneListener(this); } }; maelstrom.scene.AbstractScene = v1; var v2 = v1.prototype; _global.maelstrom.scene.AbstractScene implements _global.maelstrom.scene.Scene; v2.toString = function () { return 'AbstractScene'; }; v2.onScenePlayed = function (evt) { if (this.state == maelstrom.scene.SceneState.CREATED) { this.play(); } }; v2.onSceneStopped = function (evt) { if (this.state == maelstrom.scene.SceneState.PLAYING) { this.stop(); } }; v2.onSceneResumed = function (evt) { if (this.state == maelstrom.scene.SceneState.STOPPED) { this.resume(); } }; v2.onSceneUpdated = function (evt) { if (this.state != null) { this.update(); } }; v2.onSceneTerminated = function (evt) { if (this.state != null) { this.terminate(); } }; v2.getParent = function () { return this.parent; }; v2.getState = function () { return this.state; }; v2.addSceneListener = function (scl) { if (scl == null) { throw new maelstrom.language.NullPointerException('scl == null'); } this.addEventListener('onScenePlayed', scl); this.addEventListener('onSceneStopped', scl); this.addEventListener('onSceneResumed', scl); this.addEventListener('onSceneUpdated', scl); this.addEventListener('onSceneTerminated', scl); }; v2.removeSceneListener = function (scl) { if (scl == null) { throw new maelstrom.language.NullPointerException('scl == null'); } this.removeEventListener('onScenePlayed', scl); this.removeEventListener('onSceneStopped', scl); this.removeEventListener('onSceneResumed', scl); this.removeEventListener('onSceneUpdated', scl); this.removeEventListener('onSceneTerminated', scl); }; v2.play = function () { if (this.state != maelstrom.scene.SceneState.CREATED) { throw new maelstrom.scene.IllegalSceneStateException('state != SceneState.CREATED'); } this.state = maelstrom.scene.SceneState.PLAYING; this.dispatchEvent({'type': 'onScenePlayed'}); }; v2.stop = function () { if (this.state != maelstrom.scene.SceneState.PLAYING) { throw new maelstrom.scene.IllegalSceneStateException('state != SceneState.PLAYING'); } this.state = maelstrom.scene.SceneState.STOPPED; this.dispatchEvent({'type': 'onSceneStopped'}); }; v2.resume = function () { if (this.state != maelstrom.scene.SceneState.STOPPED) { throw new maelstrom.scene.IllegalSceneStateException('state != SceneState.STOPPED'); } this.state = maelstrom.scene.SceneState.PLAYING; this.dispatchEvent({'type': 'onSceneResumed'}); }; v2.update = function () { if (this.state == null) { throw new maelstrom.scene.IllegalSceneStateException('state == null'); } this.dispatchEvent({'type': 'onSceneUpdated'}); }; v2.terminate = function () { if (this.state == null) { throw new maelstrom.scene.IllegalSceneStateException('state == null'); } this.state = maelstrom.scene.SceneState.TERMINATED; if (this.parent != null) { this.parent.removeSceneListener(this); } this.dispatchEvent({'type': 'onSceneTerminated'}); }; v2.startTransitionIn = function () { throw new maelstrom.language.NotImplementedException('maelstrom.scene.AbstractScene::startTransitionIn()'); return null; }; v2.startTransitionOut = function () { throw new maelstrom.language.NotImplementedException('maelstrom.scene.AbstractScene::startTransitionOut()'); return null; }; v2.state = null; ASSetPropFlags(maelstrom.scene.AbstractScene.prototype, null, 1); } #endinitclip } movieClip 1933 __Packages.maelstrom.scene.IllegalSceneStateException { #initclip if (!_global.maelstrom) { _global.maelstrom = new Object(); } if (!_global.maelstrom.scene) { _global.maelstrom.scene = new Object(); } if (!_global.maelstrom.scene.IllegalSceneStateException) { var v1 = function (msg) { super(msg); this.name = 'IllegalSceneStateException'; }; maelstrom.scene.IllegalSceneStateException = v1; maelstrom.scene.IllegalSceneStateException extends maelstrom.language.IllegalStateException; var v2 = v1.prototype; ASSetPropFlags(maelstrom.scene.IllegalSceneStateException.prototype, null, 1); } #endinitclip } movieClip 1934 __Packages.seh.triangle.scene.mode.main.detail.DemoScene { #initclip if (!_global.seh) { _global.seh = new Object(); } if (!_global.seh.triangle) { _global.seh.triangle = new Object(); } if (!_global.seh.triangle.scene) { _global.seh.triangle.scene = new Object(); } if (!_global.seh.triangle.scene.mode) { _global.seh.triangle.scene.mode = new Object(); } if (!_global.seh.triangle.scene.mode.main) { _global.seh.triangle.scene.mode.main = new Object(); } if (!_global.seh.triangle.scene.mode.main.detail) { _global.seh.triangle.scene.mode.main.detail = new Object(); } if (!_global.seh.triangle.scene.mode.main.detail.DemoScene) { var v1 = function (par) { super(par); if (par == null) { throw new maelstrom.language.NullPointerException('par == null'); } }; seh.triangle.scene.mode.main.detail.DemoScene = v1; seh.triangle.scene.mode.main.detail.DemoScene extends maelstrom.scene.AbstractScene; var v2 = v1.prototype; v2.toString = function () { return 'DemoScene'; }; v2.resume = function () { if (this.state == maelstrom.scene.SceneState.CREATED) { this.play(); if (this.parent.getState() == maelstrom.scene.SceneState.STOPPED) { this.parent.resume(); } } else { if (this.state == maelstrom.scene.SceneState.STOPPED) { super.resume(); } } }; v2.terminate = function () { super.terminate(); if (this.parent.getState() == maelstrom.scene.SceneState.STOPPED) { this.parent.resume(); } }; ASSetPropFlags(seh.triangle.scene.mode.main.detail.DemoScene.prototype, null, 1); } #endinitclip } movieClip 1935 __Packages.seh.triangle.scene.mode.main.levels.detail.EnemyLauncher { #initclip if (!_global.seh) { _global.seh = new Object(); } if (!_global.seh.triangle) { _global.seh.triangle = new Object(); } if (!_global.seh.triangle.scene) { _global.seh.triangle.scene = new Object(); } if (!_global.seh.triangle.scene.mode) { _global.seh.triangle.scene.mode = new Object(); } if (!_global.seh.triangle.scene.mode.main) { _global.seh.triangle.scene.mode.main = new Object(); } if (!_global.seh.triangle.scene.mode.main.levels) { _global.seh.triangle.scene.mode.main.levels = new Object(); } if (!_global.seh.triangle.scene.mode.main.levels.detail) { _global.seh.triangle.scene.mode.main.levels.detail = new Object(); } if (!_global.seh.triangle.scene.mode.main.levels.detail.EnemyLauncher) { var v1 = function () { this.spawn_positions = new Array(); this.enemies = new Array(); }; seh.triangle.scene.mode.main.levels.detail.EnemyLauncher = v1; var v2 = v1.prototype; v2.toString = function () { return 'EnemyLauncher'; }; v2.onScenePlayed = function (evt) { this.delay_count = this.delay_duration; MovieClip.addListener(this); }; v2.onSceneStopped = function (evt) { MovieClip.removeListener(this); }; v2.onSceneResumed = function (evt) { MovieClip.addListener(this); }; v2.onSceneTerminated = function (evt) { MovieClip.removeListener(this); }; v2.onEnemyHealthEmptied = function (evt) { this.delay_count = this.delay_duration; }; v2.onEnterFrame = function () { if (--this.delay_count == 0) { this.delay_count = this.delay_duration; var v6 = 0; var v3 = 0; while (v3 < this.enemies.length) { if (this.enemies[v3].isAlive()) { ++v6; } ++v3; } if (v6 < this.maximum_spawn_length && this.spawn_positions.length != 0) { this.shuffleEnemies(); v3 = 0; while (v3 < this.enemies.length) { var v2 = this.enemies[v3]; if (!v2.isAlive()) { var v5 = this.spawn_positions[Math.floor(Math.random() * this.spawn_positions.length)]; var v4 = flash.geom.Point(v5.first); v2._x = v4.x; v2._y = v4.y; v2.setDirection(seh.triangle.action.CharacterDirection(v5.second)); v2.gotoAndPlay(1); break; } ++v3; } } } }; v2.setMaximumSpawnLength = function (maxspnlen) { if (maxspnlen == null) { throw new maelstrom.language.NullPointerException('maxspnlen == null'); } this.maximum_spawn_length = maxspnlen; }; v2.setSpawnDelayDuration = function (deldur) { if (deldur == null) { throw new maelstrom.language.NullPointerException('deldur == null'); } this.delay_duration = deldur; }; v2.addSpawnPosition = function (x, y, chardir) { if (x == null || y == null || chardir == null) { throw new maelstrom.language.NullPointerException('x == null || y == null || chardir == null'); } var v4 = true; var v2 = 0; while (v2 < this.spawn_positions.length) { var v3 = flash.geom.Point(this.spawn_positions[v2].first); if (v3.x == x && v3.y == y && seh.triangle.action.CharacterDirection(this.spawn_positions[v2].second) == chardir) { v4 = false; break; } ++v2; } if (v4) { this.spawn_positions.push(new maelstrom.collections.Pair(new flash.geom.Point(x, y), chardir)); } }; v2.removeSpawnPosition = function (x, y, chardir) { if (x == null || y == null || chardir == null) { throw new maelstrom.language.NullPointerException('x == null || y == null || chardir == null'); } var v2 = 0; while (v2 < this.spawn_positions.length) { var v3 = flash.geom.Point(this.spawn_positions[v2].first); if (v3.x == x && v3.y == y && seh.triangle.action.CharacterDirection(this.spawn_positions[v2].second) == chardir) { this.spawn_positions.splice(v2, 1); break; } ++v2; } }; v2.getEnemies = function () { return this.enemies; }; v2.getEnemeyLength = function () { return this.enemies.length; }; v2.addEnemy = function (ene) { if (ene == null) { throw new maelstrom.language.NullPointerException('ene == null'); } if (ene.isAlive()) { throw new maelstrom.language.IllegalArgumentException('ene.isAlive()'); } var v4 = true; var v2 = 0; while (v2 < this.enemies.length) { if (this.enemies[v2] == ene) { v4 = false; break; } ++v2; } if (v4) { this.enemies.push(ene); var v5 = ene.getHealth(); v5.addEventListener('onEnemyHealthEmptied', this); } }; v2.removeEnemy = function (ene) { if (ene == null) { throw new maelstrom.language.NullPointerException('ene == null'); } var v2 = 0; while (v2 < this.enemies.length) { if (this.enemies[v2] == ene) { this.enemies.splice(v2, 1); return undefined; } ++v2; } }; v2.shuffleEnemies = function () { var v2 = this.enemies.length; while (v2 > 0) { var v3 = Math.floor(Math.random() * v2); var v4 = this.enemies[--v2]; this.enemies[v2] = this.enemies[v3]; this.enemies[v3] = v4; } }; v1.SPAWN_DELAY_DURATION = 60; v2.maximum_spawn_length = 5; v2.delay_duration = seh.triangle.scene.mode.main.levels.detail.EnemyLauncher.SPAWN_DELAY_DURATION; v2.delay_count = 0; ASSetPropFlags(seh.triangle.scene.mode.main.levels.detail.EnemyLauncher.prototype, null, 1); } #endinitclip } movieClip 1936 __Packages.mx.transitions.Fade { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.transitions) { _global.mx.transitions = new Object(); } if (!_global.mx.transitions.Fade) { var v1 = function (content, transParams, manager) { super(); this.init(content, transParams, manager); }; mx.transitions.Fade = v1; mx.transitions.Fade extends mx.transitions.Transition; var v2 = v1.prototype; v2.init = function (content, transParams, manager) { super.init(content, transParams, manager); this._alphaFinal = ((this.__get__manager()).__get__contentAppearance())._alpha; }; v2._render = function (p) { this._content._alpha = this._alphaFinal * p; }; v1.version = '1.1.0.52'; v2.type = mx.transitions.Fade; v2.className = 'Fade'; ASSetPropFlags(mx.transitions.Fade.prototype, null, 1); } #endinitclip } movieClip 1937 __Packages.maelstrom.scene.transition.ContentCover { #initclip if (!_global.maelstrom) { _global.maelstrom = new Object(); } if (!_global.maelstrom.scene) { _global.maelstrom.scene = new Object(); } if (!_global.maelstrom.scene.transition) { _global.maelstrom.scene.transition = new Object(); } if (!_global.maelstrom.scene.transition.ContentCover) { var v1 = function (content, transParams, manager) { super(content, transParams, manager); }; maelstrom.scene.transition.ContentCover = v1; maelstrom.scene.transition.ContentCover extends mx.transitions.Fade; var v2 = v1.prototype; v2.init = function (content, transParams, manager) { super.init(content, transParams, manager); if (content.__ContentCover == null) { this.cover_mc = content.createEmptyMovieClip('__ContentCover', content.getNextHighestDepth()); } else { this.cover_mc = content.__ContentCover; this.cover_mc.clear(); } if (transParams.rgb == null) { transParams.rgb = 0; } if (transParams.width == null) { transParams.width = Stage.width; } if (transParams.height == null) { transParams.height = Stage.height; } if (transParams.alpha == null) { transParams.alpha = 100; } this._alphaFinal = transParams.alpha; this.cover_mc.beginFill(transParams.rgb); this.drawBox(this.cover_mc, -content._x, -content._y, transParams.width, transParams.height); this.cover_mc.endFill(); }; v2.toString = function () { return 'ContentCover'; }; v2.transitionInDoneHandler = function (evt) { this.cover_mc.removeMovieClip(); }; v2.transitionOutDoneHandler = function (evt) { if (this.cover_mc._alpha == 100) { this.cover_mc.removeMovieClip(); } }; v2._render = function (p) { this.cover_mc._alpha = this._alphaFinal * (1 - p); }; v2.type = maelstrom.scene.transition.ContentCover; v2.className = 'ContentCover'; v2.cover_mc = null; ASSetPropFlags(maelstrom.scene.transition.ContentCover.prototype, null, 1); } #endinitclip } movieClip 1938 __Packages.mx.transitions.easing.None { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.transitions) { _global.mx.transitions = new Object(); } if (!_global.mx.transitions.easing) { _global.mx.transitions.easing = new Object(); } if (!_global.mx.transitions.easing.None) { var v1 = function () {}; mx.transitions.easing.None = v1; var v2 = v1.prototype; v1.easeNone = function (t, b, c, d) { return c * t / d + b; }; v1.easeIn = function (t, b, c, d) { return c * t / d + b; }; v1.easeOut = function (t, b, c, d) { return c * t / d + b; }; v1.easeInOut = function (t, b, c, d) { return c * t / d + b; }; v1.version = '1.1.0.52'; ASSetPropFlags(mx.transitions.easing.None.prototype, null, 1); } #endinitclip } movieClip 1939 __Packages.seh.triangle.scene.mode.main.levels.KandaKonyacho { #initclip if (!_global.seh) { _global.seh = new Object(); } if (!_global.seh.triangle) { _global.seh.triangle = new Object(); } if (!_global.seh.triangle.scene) { _global.seh.triangle.scene = new Object(); } if (!_global.seh.triangle.scene.mode) { _global.seh.triangle.scene.mode = new Object(); } if (!_global.seh.triangle.scene.mode.main) { _global.seh.triangle.scene.mode.main = new Object(); } if (!_global.seh.triangle.scene.mode.main.levels) { _global.seh.triangle.scene.mode.main.levels = new Object(); } if (!_global.seh.triangle.scene.mode.main.levels.KandaKonyacho) { var v1 = function (par) { super(par); var v3 = seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.background_layer.attachMovie('Town', 'Town', seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.background_layer.getNextHighestDepth()); seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.foreground_layer.attachMovie('Town_Up', 'Town_Up', seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.foreground_layer.getNextHighestDepth()); this.background_width = 840; this.background_height = 640; v3.HitArea_Eisys_01._visible = false; v3.HitArea_Eisys_02._visible = false; v3.HitArea_Eisys_03._visible = false; v3.HitArea_Eisys_05._visible = false; v3.HitArea_Eisys_06._visible = false; v3.HitArea_Eisys_07._visible = false; v3.HitArea_Eisys_08._visible = false; v3.HitArea_Eisys_09._visible = false; v3.HitArea_Eisys_10._visible = false; v3.HitArea_Eisys_11._visible = false; v3.HitArea_Eisys_12._visible = false; v3.HitArea_Eisys_13._visible = false; v3.HitArea_Eisys_14._visible = false; v3.HitArea_Eisys_04_Door._visible = false; this.addObstacle(v3.HitArea_Eisys_01); this.addObstacle(v3.HitArea_Eisys_02); this.addObstacle(v3.HitArea_Eisys_03); this.addObstacle(v3.HitArea_Eisys_05); this.addObstacle(v3.HitArea_Eisys_06); this.addObstacle(v3.HitArea_Eisys_07); this.addObstacle(v3.HitArea_Eisys_09); this.addObstacle(v3.HitArea_Eisys_10); this.addObstacle(v3.HitArea_Eisys_11); this.addObstacle(v3.HitArea_Eisys_12); this.addObstacle(v3.HitArea_Eisys_13); this.addObstacle(v3.HitArea_Eisys_14); this.addObstacle(v3.HitArea_Eisys_04_Door); this.addLevelExit(v3.HitArea_Eisys_04_Door, mx.utils.Delegate.create(this, this.changeToEisysBuilding1F)); this.player_character = seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.getHero(); this.state = maelstrom.scene.SceneState.CREATED; }; seh.triangle.scene.mode.main.levels.KandaKonyacho = v1; seh.triangle.scene.mode.main.levels.KandaKonyacho extends seh.triangle.scene.mode.main.detail.ActionScene; var v2 = v1.prototype; v2.toString = function () { return 'KandaKonyacho'; }; v2.play = function () { super.play(); this.onEnterFrame = this.internalScroll; }; v2.terminate = function () { super.terminate(); seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.background_layer.Town.removeMovieClip(); seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.foreground_layer.Town_Up.removeMovieClip(); }; v2.changeToEisysBuilding1F = function (htyp, rctp, rcbtm, rclt, rcrt) { if (htyp == seh.triangle.action.hit.HitType.PLAYER_MOVE) { this.allTransitionsOutDone = function (evt) { super.allTransitionsOutDone(evt); var v3 = new seh.triangle.scene.mode.main.levels.EisysBuilding1F(this.parent); this.player_character._x = 1145; this.player_character._y = 160; this.player_character.update(); this.player_character.setDirection(seh.triangle.action.CharacterDirection.BACK); v3.adjustViewPosition(this.player_character.stage_x, this.player_character.stage_y); v3.startTransitionIn(); }; this.parent.stop(); this.startTransitionOut(); } }; ASSetPropFlags(seh.triangle.scene.mode.main.levels.KandaKonyacho.prototype, null, 1); } #endinitclip } movieClip 1940 __Packages.seh.triangle.scene.mode.main.levels.EisysBuilding1F { #initclip if (!_global.seh) { _global.seh = new Object(); } if (!_global.seh.triangle) { _global.seh.triangle = new Object(); } if (!_global.seh.triangle.scene) { _global.seh.triangle.scene = new Object(); } if (!_global.seh.triangle.scene.mode) { _global.seh.triangle.scene.mode = new Object(); } if (!_global.seh.triangle.scene.mode.main) { _global.seh.triangle.scene.mode.main = new Object(); } if (!_global.seh.triangle.scene.mode.main.levels) { _global.seh.triangle.scene.mode.main.levels = new Object(); } if (!_global.seh.triangle.scene.mode.main.levels.EisysBuilding1F) { var v1 = function (par) { super(par); var v3 = seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.background_layer.attachMovie('Eisys_1F_Hallway', 'Eisys_1F_Hallway', seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.background_layer.getNextHighestDepth()); seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.foreground_layer.attachMovie('Eisys_1F_Hallway_Shadow', 'Eisys_1F_Hallway_Shadow', seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.foreground_layer.getNextHighestDepth()); this.background_width = seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.background_layer._width; this.background_height = seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.background_layer._height; seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.scroll_layer._y = (Stage.height - this.background_height) / 2; v3.HitArea_1F_Hallway_01_Entrance._visible = false; v3.HitArea_1F_Hallway_04_StairDown_L._visible = false; v3.HitArea_1F_Hallway_06_StairUp._visible = false; v3.HitArea_1F_Hallway_08_ManWC._visible = false; v3.HitArea_1F_Hallway_10_WomanWC._visible = false; v3.HitArea_1F_Hallway_12_Work._visible = false; v3.HitArea_1F_Hallway_14_Meeting._visible = false; v3.HitArea_1F_Hallway_16_StairUp._visible = false; v3.HitArea_1F_Hallway_02._visible = false; v3.HitArea_1F_Hallway_03._visible = false; v3.HitArea_1F_Hallway_05._visible = false; v3.HitArea_1F_Hallway_07._visible = false; v3.HitArea_1F_Hallway_09._visible = false; v3.HitArea_1F_Hallway_11._visible = false; v3.HitArea_1F_Hallway_13._visible = false; v3.HitArea_1F_Hallway_15._visible = false; v3.HitArea_1F_Hallway_17._visible = false; v3.HitArea_1F_Hallway_18._visible = false; v3.HitArea_1F_Hallway_19._visible = false; v3.HitArea_1F_Hallway_20._visible = false; v3.HitArea_1F_Hallway_21_Plant._visible = false; v3.HitArea_1F_Hallway_22_Plant._visible = false; v3.HitArea_1F_Hallway_23_Plant._visible = false; this.addObstacle(v3.HitArea_1F_Hallway_21_Plant); this.addObstacle(v3.HitArea_1F_Hallway_22_Plant); this.addObstacle(v3.HitArea_1F_Hallway_23_Plant); this.addObstacle(v3.HitArea_1F_Hallway_05); this.addObstacle(v3.HitArea_1F_Hallway_17); this.addObstacle(v3.HitArea_1F_Hallway_02); this.addObstacle(v3.HitArea_1F_Hallway_03); this.addObstacle(v3.HitArea_1F_Hallway_07); this.addObstacle(v3.HitArea_1F_Hallway_09); this.addObstacle(v3.HitArea_1F_Hallway_11); this.addObstacle(v3.HitArea_1F_Hallway_13); this.addObstacle(v3.HitArea_1F_Hallway_15); this.addObstacle(v3.HitArea_1F_Hallway_18); this.addObstacle(v3.HitArea_1F_Hallway_19); this.addObstacle(v3.HitArea_1F_Hallway_20); this.addObstacle(v3.HitArea_1F_Hallway_01_Entrance); this.addObstacle(v3.HitArea_1F_Hallway_04_StairDown_L); this.addObstacle(v3.HitArea_1F_Hallway_06_StairUp); this.addObstacle(v3.HitArea_1F_Hallway_08_ManWC); this.addObstacle(v3.HitArea_1F_Hallway_10_WomanWC); this.addObstacle(v3.HitArea_1F_Hallway_12_Work); var v4 = this.addObstacle(v3.HitArea_1F_Hallway_14_Meeting); this.addObstacle(v3.HitArea_1F_Hallway_16_StairUp); this.addLevelExit(v3.HitArea_1F_Hallway_01_Entrance, mx.utils.Delegate.create(this, this.changeToKandaKonyacho)); this.addLevelExit(v3.HitArea_1F_Hallway_04_StairDown_L, mx.utils.Delegate.create(this, this.changeToEisysBuildingB1F)); this.addLevelExit(v3.HitArea_1F_Hallway_06_StairUp, mx.utils.Delegate.create(this, this.changeToEisysBuilding2FLeft)); this.addLevelExit(v3.HitArea_1F_Hallway_08_ManWC, mx.utils.Delegate.create(this, this.changeToMensRoom1F)); this.addLevelExit(v3.HitArea_1F_Hallway_10_WomanWC, mx.utils.Delegate.create(this, this.changeToLadiesRoom1F)); this.addLevelExit(v3.HitArea_1F_Hallway_12_Work, mx.utils.Delegate.create(this, this.changeToOffice1F)); this.addLevelExit(v3.HitArea_1F_Hallway_16_StairUp, mx.utils.Delegate.create(this, this.changeToEisysBuilding2FRight)); if (this.save_data.has_card02_got) { this.addLevelExit(v3.HitArea_1F_Hallway_14_Meeting, mx.utils.Delegate.create(this, this.changeToMeetingRoom1F)); } else { v4.onRectangleHit = mx.utils.Delegate.create(this, this.onLockedDoorHit); } this.player_character = seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.getHero(); this.addEnemySpawnPosition(32, 65, seh.triangle.action.CharacterDirection.FRONT); this.addEnemySpawnPosition(100, 65, seh.triangle.action.CharacterDirection.FRONT); this.addEnemySpawnPosition(212, 65, seh.triangle.action.CharacterDirection.FRONT); this.addEnemySpawnPosition(850, 65, seh.triangle.action.CharacterDirection.FRONT); this.addEnemySpawnPosition(1284, 65, seh.triangle.action.CharacterDirection.FRONT); this.addEnemySpawnPosition(1440, 65, seh.triangle.action.CharacterDirection.FRONT); if (this.save_data.has_sarahrara_insulted) { this.addGuard(91, 123, 200, 100, seh.triangle.action.CharacterDirection.RIGHT); this.addGuard(307, 123, 200, 100, seh.triangle.action.CharacterDirection.RIGHT); this.addGuard(1437, 94, 200, 100, seh.triangle.action.CharacterDirection.LEFT); } else { this.addBlueJacket(91, 123, 200, 100, seh.triangle.action.CharacterDirection.RIGHT); this.addBlueJacket(307, 123, 200, 100, seh.triangle.action.CharacterDirection.RIGHT); this.addBlueJacket(1437, 94, 200, 100, seh.triangle.action.CharacterDirection.LEFT); } this.addBrownJacket(568, 104, 200, 100, seh.triangle.action.CharacterDirection.FRONT); this.addBrownJacket(947, 112, 200, 100, seh.triangle.action.CharacterDirection.FRONT); this.state = maelstrom.scene.SceneState.CREATED; }; seh.triangle.scene.mode.main.levels.EisysBuilding1F = v1; seh.triangle.scene.mode.main.levels.EisysBuilding1F extends seh.triangle.scene.mode.main.detail.ActionScene; var v2 = v1.prototype; v2.toString = function () { return 'EisysBuilding1F'; }; v2.play = function () { super.play(); this.onEnterFrame = this.internalScroll; }; v2.terminate = function () { super.terminate(); seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.background_layer.Eisys_1F_Hallway.removeMovieClip(); seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.foreground_layer.Eisys_1F_Hallway_Shadow.removeMovieClip(); }; v2.onLockedDoorHit = function (htyp, rctp, rcbtm, rclt, rcrt) { if (htyp == seh.triangle.action.hit.HitType.PLAYER_MOVE) { this.parent.stop(); var v3 = seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.getRootMovieClip(); var v2 = seh.triangle.scene.mode.main.levels.detail.LockedDoor(v3.attachMovie(seh.triangle.scene.mode.main.levels.detail.LockedDoor.LINKAGE_ID, 'LockedDoor', v3.getNextHighestDepth(), {'parent': this})); v2.str_0 = 'Shit!'; v2.str_1 = 'It\'s locked...'; v2.startTransitionIn(); } }; v2.changeToKandaKonyacho = function (htyp, rctp, rcbtm, rclt, rcrt) { if (htyp == seh.triangle.action.hit.HitType.PLAYER_MOVE) { this.allTransitionsOutDone = function (evt) { super.allTransitionsOutDone(evt); var v3 = new seh.triangle.scene.mode.main.levels.KandaKonyacho(this.parent); this.player_character._x = 385; this.player_character._y = 465; this.player_character.update(); this.player_character.setDirection(seh.triangle.action.CharacterDirection.FRONT); v3.adjustViewPosition(this.player_character.stage_x, this.player_character.stage_y); v3.startTransitionIn(); }; this.parent.stop(); this.startTransitionOut(); } }; v2.changeToEisysBuildingB1F = function (htyp, rctp, rcbtm, rclt, rcrt) { if (htyp == seh.triangle.action.hit.HitType.PLAYER_MOVE) { this.allTransitionsOutDone = function (evt) { super.allTransitionsOutDone(evt); var v3 = new seh.triangle.scene.mode.main.levels.EisysBuildingB1F(this.parent); this.player_character._x = 100; this.player_character._y = 65; this.player_character.update(); this.player_character.setDirection(seh.triangle.action.CharacterDirection.FRONT); v3.adjustViewPosition(this.player_character.stage_x, this.player_character.stage_y); v3.startTransitionIn(); }; this.parent.stop(); this.parent.playStairSE(); this.startTransitionOut(); } }; v2.changeToEisysBuilding2FLeft = function (htyp, rctp, rcbtm, rclt, rcrt) { if (htyp == seh.triangle.action.hit.HitType.PLAYER_MOVE) { this.allTransitionsOutDone = function (evt) { super.allTransitionsOutDone(evt); var v3 = new seh.triangle.scene.mode.main.levels.EisysBuilding2F(this.parent); this.player_character._x = 32; this.player_character._y = 65; this.player_character.update(); this.player_character.setDirection(seh.triangle.action.CharacterDirection.FRONT); v3.adjustViewPosition(this.player_character.stage_x, this.player_character.stage_y); v3.startTransitionIn(); }; this.parent.stop(); this.parent.playStairSE(); this.startTransitionOut(); } }; v2.changeToMensRoom1F = function (htyp, rctp, rcbtm, rclt, rcrt) { if (htyp == seh.triangle.action.hit.HitType.PLAYER_MOVE) { this.allTransitionsOutDone = function (evt) { super.allTransitionsOutDone(evt); var v3 = new seh.triangle.scene.mode.main.levels.MensRoom1F(this.parent); this.player_character._x = 60; this.player_character._y = 505; this.player_character.update(); this.player_character.setDirection(seh.triangle.action.CharacterDirection.BACK); v3.adjustViewPosition(this.player_character.stage_x, this.player_character.stage_y); v3.startTransitionIn(); }; this.parent.stop(); this.startTransitionOut(); } }; v2.changeToLadiesRoom1F = function (htyp, rctp, rcbtm, rclt, rcrt) { if (htyp == seh.triangle.action.hit.HitType.PLAYER_MOVE) { this.allTransitionsOutDone = function (evt) { super.allTransitionsOutDone(evt); var v3 = new seh.triangle.scene.mode.main.levels.LadiesRoom1F(this.parent); this.player_character._x = 60; this.player_character._y = 505; this.player_character.update(); this.player_character.setDirection(seh.triangle.action.CharacterDirection.BACK); v3.adjustViewPosition(this.player_character.stage_x, this.player_character.stage_y); v3.startTransitionIn(); }; this.parent.stop(); this.startTransitionOut(); } }; v2.changeToOffice1F = function (htyp, rctp, rcbtm, rclt, rcrt) { if (htyp == seh.triangle.action.hit.HitType.PLAYER_MOVE) { this.allTransitionsOutDone = function (evt) { super.allTransitionsOutDone(evt); var v3 = new seh.triangle.scene.mode.main.levels.Office1F(this.parent); this.player_character._x = 503; this.player_character._y = 475; this.player_character.update(); this.player_character.setDirection(seh.triangle.action.CharacterDirection.BACK); v3.adjustViewPosition(this.player_character.stage_x, this.player_character.stage_y); v3.startTransitionIn(); }; this.parent.stop(); this.startTransitionOut(); } }; v2.changeToMeetingRoom1F = function (htyp, rctp, rcbtm, rclt, rcrt) { if (htyp == seh.triangle.action.hit.HitType.PLAYER_MOVE) { this.allTransitionsOutDone = function (evt) { super.allTransitionsOutDone(evt); var v3 = new seh.triangle.scene.mode.main.levels.MeetingRoom1F(this.parent); this.player_character._x = 87; this.player_character._y = 475; this.player_character.update(); this.player_character.setDirection(seh.triangle.action.CharacterDirection.BACK); v3.adjustViewPosition(this.player_character.stage_x, this.player_character.stage_y); v3.startTransitionIn(); }; this.parent.stop(); this.startTransitionOut(); } }; v2.changeToEisysBuilding2FRight = function (htyp, rctp, rcbtm, rclt, rcrt) { if (htyp == seh.triangle.action.hit.HitType.PLAYER_MOVE) { this.allTransitionsOutDone = function (evt) { super.allTransitionsOutDone(evt); var v3 = new seh.triangle.scene.mode.main.levels.EisysBuilding2F(this.parent); this.player_character._x = 1440; this.player_character._y = 65; this.player_character.update(); this.player_character.setDirection(seh.triangle.action.CharacterDirection.FRONT); v3.adjustViewPosition(this.player_character.stage_x, this.player_character.stage_y); v3.startTransitionIn(); }; this.parent.stop(); this.parent.playStairSE(); this.startTransitionOut(); } }; ASSetPropFlags(seh.triangle.scene.mode.main.levels.EisysBuilding1F.prototype, null, 1); } #endinitclip } movieClip 1941 __Packages.seh.triangle.scene.event.PopupWindow { #initclip if (!_global.seh) { _global.seh = new Object(); } if (!_global.seh.triangle) { _global.seh.triangle = new Object(); } if (!_global.seh.triangle.scene) { _global.seh.triangle.scene = new Object(); } if (!_global.seh.triangle.scene.event) { _global.seh.triangle.scene.event = new Object(); } if (!_global.seh.triangle.scene.event.PopupWindow) { var v1 = function () { super(); if (this.parent == null) { throw new maelstrom.language.NullPointerException('parent == null'); } this.parent.addSceneListener(this); this.game_controller = (seh.triangle.Triangle.getInstance()).getGameController(); this.background_layer = this.createEmptyMovieClip('background_layer', this.getNextHighestDepth()); this.foreground_layer = this.createEmptyMovieClip('foreground_layer', this.getNextHighestDepth()); this.sound_effect = new Sound(this); }; seh.triangle.scene.event.PopupWindow = v1; seh.triangle.scene.event.PopupWindow extends MovieClip; var v2 = v1.prototype; _global.seh.triangle.scene.event.PopupWindow implements _global.maelstrom.scene.Scene; v2.toString = function () { return 'PopupWindow'; }; v2.onUnload = function () { this.parent.removeSceneListener(this); this.text_window.onRelease = null; this.sound_effect.stop(); }; v2.onSceneResumed = function (evt) { if (this.state != null) { this.terminate(); } }; v2.allTransitionsInDone = function (evt) { (mx.transitions.TransitionManager(evt.target)).removeEventListener('allTransitionsInDone', this); this.parent.resume(); }; v2.allTransitionsOutDone = function (evt) { (mx.transitions.TransitionManager(evt.target)).removeEventListener('allTransitionsOutDone', this); this.play(); }; v2.getParent = function () { return this.parent; }; v2.getState = function () { return this.state; }; v2.addSceneListener = function (scl) { throw new maelstrom.language.NotImplementedException('seh.triangle.scene.event.PopupWindow::addSceneListener(Object)'); }; v2.removeSceneListener = function (scl) { throw new maelstrom.language.NotImplementedException('seh.triangle.scene.event.PopupWindow::removeSceneListener(Object)'); }; v2.play = function () { if (this.state != maelstrom.scene.SceneState.CREATED) { throw new maelstrom.scene.IllegalSceneStateException('state != SceneState.CREATED'); } this.state = maelstrom.scene.SceneState.PLAYING; this.text_window = maelstrom.ui.TextWindow(this.foreground_layer.attachMovie('Item_Window', 'text_window', this.foreground_layer.getNextHighestDepth(), {'_x': 210, '_y': 168})); this.text_window.__set__filters([new flash.filters.DropShadowFilter(1, 45, 0, 1, 0, 0, 255, 1), new flash.filters.GlowFilter(0, 1, 3, 3, 100, 1)]); this.text_window.__set__paddingTop(10); this.text_window.__set__paddingLeft(60); this.text_window.__set__paddingRight(10); this.text_window.__set__paddingBottom(10); this.page_glyph = this.foreground_layer.attachMovie('Page', 'page_glyph', this.foreground_layer.getNextHighestDepth(), {'_visible': false}); this.text_window.enabled = false; this.text_window.onRelease = function () { this.stop(); this.startTransitionOut(); }; this.text_window.onRelease = mx.utils.Delegate.create(this, this.text_window.onRelease); this.text_window.row_count.text = ''; this.text_window.body.text = ''; this.sound_effect.start(); this.onEnterFrame = this.internalMain; }; v2.stop = function () { if (this.state != maelstrom.scene.SceneState.PLAYING) { throw new maelstrom.scene.IllegalSceneStateException('state != SceneState.PLAYING'); } this.state = maelstrom.scene.SceneState.STOPPED; this.text_window.enabled = false; this.sound_effect.stop(); this.onEnterFrame = null; }; v2.resume = function () { throw new maelstrom.language.NotImplementedException('seh.triangle.scene.event.PopupWindow::resume()'); }; v2.update = function () { throw new maelstrom.language.NotImplementedException('seh.triangle.scene.event.PopupWindow::update()'); }; v2.terminate = function () { if (this.state == null) { throw new maelstrom.scene.IllegalSceneStateException('state == null'); } this.state = maelstrom.scene.SceneState.TERMINATED; this.parent.removeSceneListener(this); this.text_window.enabled = false; this.sound_effect.stop(); this.removeMovieClip(); }; v2.startTransitionIn = function () { var v2 = new mx.transitions.TransitionManager(this.background_layer); v2.addEventListener('allTransitionsOutDone', this); v2.startTransition({'type': maelstrom.scene.transition.ContentCover, 'direction': mx.transitions.Transition.OUT, 'duration': 0.5, 'easing': mx.transitions.easing.None.easeNone, 'alpha': 50}); return v2; }; v2.startTransitionOut = function () { this.foreground_layer.removeMovieClip(); var v2 = new mx.transitions.TransitionManager(this.background_layer); v2.addEventListener('allTransitionsInDone', this); v2.startTransition({'type': maelstrom.scene.transition.ContentCover, 'direction': mx.transitions.Transition.IN, 'duration': 0.5, 'easing': mx.transitions.easing.None.easeNone, 'alpha': 50}); return v2; }; v2.sendText = function (txt) { if (txt == null) { throw new maelstrom.language.NullPointerException('txt == null'); } this.text_window.body.setNewTextFormat(this.text_window.format); this.text_window.body.replaceText(this.text_window.body.length, this.text_window.body.length, txt); this.text_window.row_count.setNewTextFormat(this.text_window.format); this.text_window.row_count.replaceText(this.text_window.row_count.length, this.text_window.row_count.length, txt); }; v2.reline = function () { this.text_window.body.replaceText(this.text_window.body.length, this.text_window.body.length, '\n'); this.text_window.row_count.text = ''; }; v2.pageBreak = function () { this.text_window.enabled = true; this.page_glyph._visible = true; this.page_glyph._x = this.text_window._x + this.text_window.row_count._x + this.text_window.row_count.textWidth + 4; this.page_glyph._y = this.text_window._y + this.text_window.body._y + this.text_window.body.textHeight - this.page_glyph._height - 5; }; v2.internalMain = function () { var v2 = this.game_controller.getPulseData(); if (v2 == maelstrom.ui.GameController.A) { if (this.text_window.enabled) { this.text_window.doClick(); } } }; v2.state = null; v2.text_window = null; v2.page_glyph = null; ASSetPropFlags(seh.triangle.scene.event.PopupWindow.prototype, null, 1); } #endinitclip } movieClip 1942 __Packages.maelstrom.ui.TextWindow { #initclip if (!_global.maelstrom) { _global.maelstrom = new Object(); } if (!_global.maelstrom.ui) { _global.maelstrom.ui = new Object(); } if (!_global.maelstrom.ui.TextWindow) { var v1 = function () { super(); if (this.padding == null) { this.padding = {'left': 0, 'top': 0, 'right': 0, 'bottom': 0}; } var v4 = this._width - this.padding.left - this.padding.right; var v3 = this._height - this.padding.top - this.padding.bottom; this.createTextField('body', this.getNextHighestDepth(), this.padding.left, this.padding.top, v4, v3); this.createTextField('row_count', this.getNextHighestDepth(), this.padding.left, this.padding.top, v4, v3); this.row_count._visible = false; this.format = new TextFormat('MSゴシック', 22, 16777215); }; maelstrom.ui.TextWindow = v1; maelstrom.ui.TextWindow extends MovieClip; var v2 = v1.prototype; v2.isSelected = function () { return this.is_selected; }; v2.setSelected = function (bool) { if (bool == null) { throw new maelstrom.language.NullPointerException('bool == null'); } this.is_selected = bool; }; v2.__get__filters = function () { return this.body.filters; }; v2.__set__filters = function (flts) { this.body.filters = flts; return this.__get__filters(); }; v2.__set__paddingAll = function (val) { this.__set__paddingTop(this.__set__paddingLeft(this.__set__paddingRight(this.__set__paddingBottom(val)))); return this.__get__paddingAll(); }; v2.__set__paddingLeft = function (val) { if (val == null) { throw new maelstrom.language.NullPointerException('val == null'); } this.padding.left = val; this.row_count._x = this.padding.left; this.body._x = this.padding.left; return this.__get__paddingLeft(); }; v2.__get__paddingLeft = function () { return this.padding.left; }; v2.__set__paddingTop = function (val) { if (val == null) { throw new maelstrom.language.NullPointerException('val == null'); } this.padding.top = val; this.row_count._y = this.padding.top; this.body._y = this.padding.top; return this.__get__paddingTop(); }; v2.__get__paddingTop = function () { return this.padding.top; }; v2.__set__paddingRight = function (val) { if (val == null) { throw new maelstrom.language.NullPointerException('val == null'); } this.padding.right = val; var v2 = this._width - this.padding.left - this.padding.right; this.row_count._width = v2 < 0 ? 0 : v2; this.body._width = this.row_count._width; return this.__get__paddingRight(); }; v2.__get__paddingRight = function () { return this.padding.right; }; v2.__set__paddingBottom = function (val) { if (val == null) { throw new maelstrom.language.NullPointerException('val == null'); } this.padding.bottom = val; var v2 = this._height - this.padding.top - this.padding.bottom; this.row_count._height = v2 < 0 ? 0 : v2; this.body._height = this.row_count._height; return this.__get__paddingBottom(); }; v2.__get__paddingBottom = function () { return this.padding.bottom; }; v2.doClick = function () { this.onPress(); this.onRelease(); }; v2.is_selected = false; v2.addProperty('filters', v2.__get__filters, v2.__set__filters); v2.addProperty('paddingAll', function () {}, v2.__set__paddingAll); v2.addProperty('paddingBottom', v2.__get__paddingBottom, v2.__set__paddingBottom); v2.addProperty('paddingLeft', v2.__get__paddingLeft, v2.__set__paddingLeft); v2.addProperty('paddingRight', v2.__get__paddingRight, v2.__set__paddingRight); v2.addProperty('paddingTop', v2.__get__paddingTop, v2.__set__paddingTop); ASSetPropFlags(maelstrom.ui.TextWindow.prototype, null, 1); } #endinitclip } movieClip 1943 __Packages.seh.triangle.scene.mode.main.levels.detail.LockedDoor { #initclip if (!_global.seh) { _global.seh = new Object(); } if (!_global.seh.triangle) { _global.seh.triangle = new Object(); } if (!_global.seh.triangle.scene) { _global.seh.triangle.scene = new Object(); } if (!_global.seh.triangle.scene.mode) { _global.seh.triangle.scene.mode = new Object(); } if (!_global.seh.triangle.scene.mode.main) { _global.seh.triangle.scene.mode.main = new Object(); } if (!_global.seh.triangle.scene.mode.main.levels) { _global.seh.triangle.scene.mode.main.levels = new Object(); } if (!_global.seh.triangle.scene.mode.main.levels.detail) { _global.seh.triangle.scene.mode.main.levels.detail = new Object(); } if (!_global.seh.triangle.scene.mode.main.levels.detail.LockedDoor) { var v1 = function () { super(); this.state = maelstrom.scene.SceneState.CREATED; }; seh.triangle.scene.mode.main.levels.detail.LockedDoor = v1; seh.triangle.scene.mode.main.levels.detail.LockedDoor extends seh.triangle.scene.event.PopupWindow; var v2 = v1.prototype; v2.toString = function () { return 'LockedDoor'; }; v2.play = function () { super.play(); this.sendText(this.str_0); this.reline(); this.sendText(this.str_1); this.pageBreak(); }; v1.LINKAGE_ID = '__Packages.seh.triangle.scene.mode.main.levels.detail.LockedDoor'; v1.CONSTRUCTOR = seh.triangle.scene.mode.main.levels.detail.LockedDoor; v1.IS_REGISTERED = Object.registerClass(seh.triangle.scene.mode.main.levels.detail.LockedDoor.LINKAGE_ID, seh.triangle.scene.mode.main.levels.detail.LockedDoor.CONSTRUCTOR); ASSetPropFlags(seh.triangle.scene.mode.main.levels.detail.LockedDoor.prototype, null, 1); } #endinitclip } movieClip 1944 __Packages.seh.triangle.scene.mode.main.levels.EisysBuildingB1F { #initclip if (!_global.seh) { _global.seh = new Object(); } if (!_global.seh.triangle) { _global.seh.triangle = new Object(); } if (!_global.seh.triangle.scene) { _global.seh.triangle.scene = new Object(); } if (!_global.seh.triangle.scene.mode) { _global.seh.triangle.scene.mode = new Object(); } if (!_global.seh.triangle.scene.mode.main) { _global.seh.triangle.scene.mode.main = new Object(); } if (!_global.seh.triangle.scene.mode.main.levels) { _global.seh.triangle.scene.mode.main.levels = new Object(); } if (!_global.seh.triangle.scene.mode.main.levels.EisysBuildingB1F) { var v1 = function (par) { super(par); var v3 = seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.background_layer.attachMovie('Eisys_0F', 'Eisys_0F', seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.background_layer.getNextHighestDepth()); seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.foreground_layer.attachMovie('Eisys_0F_Up', 'Eisys_0F_Up', seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.foreground_layer.getNextHighestDepth()); this.background_width = seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.background_layer._width; this.background_height = seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.background_layer._height; seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.scroll_layer._x = (Stage.width - this.background_width) / 2; seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.scroll_layer._y = (Stage.height - this.background_height) / 2; v3.HitArea_0F_05_StairUp._visible = false; v3.HitArea_0F_01._visible = false; v3.HitArea_0F_02._visible = false; v3.HitArea_0F_03._visible = false; v3.HitArea_0F_04._visible = false; v3.HitArea_0F_06._visible = false; v3.HitArea_0F_07._visible = false; v3.HitArea_0F_08._visible = false; v3.HitArea_0F_09._visible = false; v3.HitArea_0F_10._visible = false; v3.HitArea_0F_11._visible = false; this.addObstacle(v3.HitArea_0F_04); this.addObstacle(v3.HitArea_0F_10); this.addObstacle(v3.HitArea_0F_01); this.addObstacle(v3.HitArea_0F_02); this.addObstacle(v3.HitArea_0F_03); this.addObstacle(v3.HitArea_0F_06); this.addObstacle(v3.HitArea_0F_07); this.addObstacle(v3.HitArea_0F_08); this.addObstacle(v3.HitArea_0F_09); this.addObstacle(v3.HitArea_0F_11); this.addObstacle(v3.HitArea_0F_05_StairUp); this.addLevelExit(v3.HitArea_0F_05_StairUp, mx.utils.Delegate.create(this, this.changeToEisysBuilding1FLeft)); this.player_character = seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.getHero(); if (!this.save_data.has_dlpt500_got) { this.item_symbol = seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.createItemSymbol(644, 140, 'dlpt500'); this.item_symbol.addEventListener('onEventHit', this); this.addSceneListener(this.item_symbol); } this.state = maelstrom.scene.SceneState.CREATED; }; seh.triangle.scene.mode.main.levels.EisysBuildingB1F = v1; seh.triangle.scene.mode.main.levels.EisysBuildingB1F extends seh.triangle.scene.mode.main.detail.ActionScene; var v2 = v1.prototype; v2.toString = function () { return 'EisysBuildingB1F'; }; v2.terminate = function () { super.terminate(); seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.background_layer.Eisys_0F.removeMovieClip(); seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.foreground_layer.Eisys_0F_Up.removeMovieClip(); if (this.item_symbol != null) { this.removeSceneListener(this.item_symbol); this.item_symbol.removeMovieClip(); } }; v2.onEventHit = function (evt) { this.save_data.has_dlpt500_got = true; (seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.getDLPoint()).value += 500; this.parent.stop(); var v2 = seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.getRootMovieClip(); (v2.attachMovie(seh.triangle.scene.mode.main.levels.detail.items.DLPoint500.LINKAGE_ID, 'DLPoint500', v2.getNextHighestDepth(), {'parent': this})).startTransitionIn(); }; v2.changeToEisysBuilding1FLeft = function (htyp, rctp, rcbtm, rclt, rcrt) { if (htyp == seh.triangle.action.hit.HitType.PLAYER_MOVE) { this.allTransitionsOutDone = function (evt) { super.allTransitionsOutDone(evt); this.player_character._x = 32; this.player_character._y = 65; this.player_character.setDirection(seh.triangle.action.CharacterDirection.FRONT); var v3 = new seh.triangle.scene.mode.main.levels.EisysBuilding1F(this.parent); this.player_character.update(); v3.adjustViewPosition(this.player_character.stage_x, this.player_character.stage_y); v3.startTransitionIn(); }; this.parent.stop(); this.parent.playStairSE(); this.startTransitionOut(); } }; v2.item_symbol = null; ASSetPropFlags(seh.triangle.scene.mode.main.levels.EisysBuildingB1F.prototype, null, 1); } #endinitclip } movieClip 1945 __Packages.seh.triangle.scene.mode.main.levels.detail.items.DLPoint500 { #initclip if (!_global.seh) { _global.seh = new Object(); } if (!_global.seh.triangle) { _global.seh.triangle = new Object(); } if (!_global.seh.triangle.scene) { _global.seh.triangle.scene = new Object(); } if (!_global.seh.triangle.scene.mode) { _global.seh.triangle.scene.mode = new Object(); } if (!_global.seh.triangle.scene.mode.main) { _global.seh.triangle.scene.mode.main = new Object(); } if (!_global.seh.triangle.scene.mode.main.levels) { _global.seh.triangle.scene.mode.main.levels = new Object(); } if (!_global.seh.triangle.scene.mode.main.levels.detail) { _global.seh.triangle.scene.mode.main.levels.detail = new Object(); } if (!_global.seh.triangle.scene.mode.main.levels.detail.items) { _global.seh.triangle.scene.mode.main.levels.detail.items = new Object(); } if (!_global.seh.triangle.scene.mode.main.levels.detail.items.DLPoint500) { var v1 = function () { super(); this.sound_effect.attachSound('SE_010'); this.state = maelstrom.scene.SceneState.CREATED; }; seh.triangle.scene.mode.main.levels.detail.items.DLPoint500 = v1; seh.triangle.scene.mode.main.levels.detail.items.DLPoint500 extends seh.triangle.scene.event.PopupWindow; var v2 = v1.prototype; v2.toString = function () { return 'DLPoint500'; }; v2.play = function () { super.play(); this.sendText('Obtained 500 points.'); this.pageBreak(); }; v1.LINKAGE_ID = '__Packages.seh.triangle.scene.mode.main.levels.detail.items.DLPoint500'; v1.CONSTRUCTOR = seh.triangle.scene.mode.main.levels.detail.items.DLPoint500; v1.IS_REGISTERED = Object.registerClass(seh.triangle.scene.mode.main.levels.detail.items.DLPoint500.LINKAGE_ID, seh.triangle.scene.mode.main.levels.detail.items.DLPoint500.CONSTRUCTOR); ASSetPropFlags(seh.triangle.scene.mode.main.levels.detail.items.DLPoint500.prototype, null, 1); } #endinitclip } movieClip 1946 __Packages.seh.triangle.scene.mode.main.levels.EisysBuilding2F { #initclip if (!_global.seh) { _global.seh = new Object(); } if (!_global.seh.triangle) { _global.seh.triangle = new Object(); } if (!_global.seh.triangle.scene) { _global.seh.triangle.scene = new Object(); } if (!_global.seh.triangle.scene.mode) { _global.seh.triangle.scene.mode = new Object(); } if (!_global.seh.triangle.scene.mode.main) { _global.seh.triangle.scene.mode.main = new Object(); } if (!_global.seh.triangle.scene.mode.main.levels) { _global.seh.triangle.scene.mode.main.levels = new Object(); } if (!_global.seh.triangle.scene.mode.main.levels.EisysBuilding2F) { var v1 = function (par) { super(par); var v3 = seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.background_layer.attachMovie('Eisys_2F_Hallway', 'Eisys_2F_Hallway', seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.background_layer.getNextHighestDepth()); seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.foreground_layer.attachMovie('Eisys_2F_Hallway_Shadow', 'Eisys_2F_Hallway_Shadow', seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.foreground_layer.getNextHighestDepth()); this.background_width = seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.background_layer._width; this.background_height = seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.background_layer._height; seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.scroll_layer._y = (Stage.height - this.background_height) / 2; v3.HitArea_2F_Hallway_03_StairDown_L._visible = false; v3.HitArea_2F_Hallway_05_StairUp_L._visible = false; v3.HitArea_2F_Hallway_07_ManWC._visible = false; v3.HitArea_2F_Hallway_09_WomanWC._visible = false; v3.HitArea_2F_Hallway_11_Work._visible = false; v3.HitArea_2F_Hallway_13_Server._visible = false; v3.HitArea_2F_Hallway_15_StairDown_R._visible = false; v3.HitArea_2F_Hallway_17_StairUp_R._visible = false; v3.HitArea_2F_Hallway_01._visible = false; v3.HitArea_2F_Hallway_02._visible = false; v3.HitArea_2F_Hallway_04._visible = false; v3.HitArea_2F_Hallway_06._visible = false; v3.HitArea_2F_Hallway_08._visible = false; v3.HitArea_2F_Hallway_10._visible = false; v3.HitArea_2F_Hallway_12._visible = false; v3.HitArea_2F_Hallway_14._visible = false; v3.HitArea_2F_Hallway_16._visible = false; v3.HitArea_2F_Hallway_18._visible = false; v3.HitArea_2F_Hallway_19_Plant._visible = false; v3.HitArea_2F_Hallway_20_Plant._visible = false; v3.HitArea_2F_Hallway_21_Plant._visible = false; this.addObstacle(v3.HitArea_2F_Hallway_19_Plant); this.addObstacle(v3.HitArea_2F_Hallway_20_Plant); this.addObstacle(v3.HitArea_2F_Hallway_21_Plant); this.addObstacle(v3.HitArea_2F_Hallway_04); this.addObstacle(v3.HitArea_2F_Hallway_16); this.addObstacle(v3.HitArea_2F_Hallway_01); this.addObstacle(v3.HitArea_2F_Hallway_02); this.addObstacle(v3.HitArea_2F_Hallway_06); this.addObstacle(v3.HitArea_2F_Hallway_08); this.addObstacle(v3.HitArea_2F_Hallway_10); this.addObstacle(v3.HitArea_2F_Hallway_12); this.addObstacle(v3.HitArea_2F_Hallway_14); this.addObstacle(v3.HitArea_2F_Hallway_18); this.addObstacle(v3.HitArea_2F_Hallway_03_StairDown_L); this.addObstacle(v3.HitArea_2F_Hallway_05_StairUp_L); this.addObstacle(v3.HitArea_2F_Hallway_07_ManWC); this.addObstacle(v3.HitArea_2F_Hallway_09_WomanWC); this.addObstacle(v3.HitArea_2F_Hallway_11_Work); var v5 = this.addObstacle(v3.HitArea_2F_Hallway_13_Server); this.addObstacle(v3.HitArea_2F_Hallway_15_StairDown_R); this.addObstacle(v3.HitArea_2F_Hallway_17_StairUp_R); this.addLevelExit(v3.HitArea_2F_Hallway_03_StairDown_L, mx.utils.Delegate.create(this, this.changeToEisysBuilding1FLeft)); this.addLevelExit(v3.HitArea_2F_Hallway_05_StairUp_L, mx.utils.Delegate.create(this, this.changeToEisysBuilding3FLeft)); this.addLevelExit(v3.HitArea_2F_Hallway_07_ManWC, mx.utils.Delegate.create(this, this.changeToMensRoom2F)); this.addLevelExit(v3.HitArea_2F_Hallway_09_WomanWC, mx.utils.Delegate.create(this, this.changeToLadiesRoom2F)); this.addLevelExit(v3.HitArea_2F_Hallway_11_Work, mx.utils.Delegate.create(this, this.changeToOffice2F)); this.addLevelExit(v3.HitArea_2F_Hallway_15_StairDown_R, mx.utils.Delegate.create(this, this.changeToEisysBuilding1FRight)); this.addLevelExit(v3.HitArea_2F_Hallway_17_StairUp_R, mx.utils.Delegate.create(this, this.changeToEisysBuilding3FRight)); if (this.save_data.has_card01_got) { this.addLevelExit(v3.HitArea_2F_Hallway_13_Server, mx.utils.Delegate.create(this, this.changeToServerRoom2F)); } else { v5.onRectangleHit = mx.utils.Delegate.create(this, this.onLockedDoorHit); } this.escape_points = new Array(); this.escape_points.push(new flash.geom.Point(32, 130)); this.escape_points.push(new flash.geom.Point(523, 130)); this.escape_points.push(new flash.geom.Point(1014, 130)); this.escape_points.push(new flash.geom.Point(1505, 130)); this.player_character = seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.getHero(); if (this.save_data.has_mente_escaped && !this.save_data.has_mente_insulted) { this.mente = seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.createMente(); this.mente._x = 1284; this.mente._y = 130; this.mente.setEscapeSense(200, 100); this.mente.addEventListener('onBossBattleFinished', this); this.addSceneListener(this.mente); this.mente_health_icon = seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.getMenteHealthIcon(); seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.setHelathIcon(this.mente.getHealth(), this.mente_health_icon); this.addSceneListener(this.mente_health_icon); var v4 = 0; while (v4 < this.escape_points.length) { seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.scroll_layer.localToGlobal(this.escape_points[v4]); this.mente.addEscapePoint(this.escape_points[v4]); ++v4; } } if (this.save_data.has_mente_insulted && !this.save_data.has_card03_got) { this.item_symbol = seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.createItemSymbol(this.save_data.card03_x, this.save_data.card03_y, 'card03'); this.item_symbol.addEventListener('onEventHit', this); this.addSceneListener(this.item_symbol); } this.addEnemySpawnPosition(32, 65, seh.triangle.action.CharacterDirection.FRONT); this.addEnemySpawnPosition(100, 65, seh.triangle.action.CharacterDirection.FRONT); this.addEnemySpawnPosition(212, 65, seh.triangle.action.CharacterDirection.FRONT); this.addEnemySpawnPosition(850, 65, seh.triangle.action.CharacterDirection.FRONT); this.addEnemySpawnPosition(1284, 65, seh.triangle.action.CharacterDirection.FRONT); this.addEnemySpawnPosition(1440, 65, seh.triangle.action.CharacterDirection.FRONT); this.addEnemySpawnPosition(1507, 65, seh.triangle.action.CharacterDirection.FRONT); if (this.save_data.has_sarahrara_insulted) { this.addGuard(383, 106, 200, 100, seh.triangle.action.CharacterDirection.LEFT); this.addGuard(815, 106, 200, 100, seh.triangle.action.CharacterDirection.FRONT); } else { this.addBlueJacket(383, 106, 200, 100, seh.triangle.action.CharacterDirection.LEFT); this.addBlueJacket(815, 106, 200, 100, seh.triangle.action.CharacterDirection.FRONT); } this.addBrownJacket(109, 129, 200, 100, seh.triangle.action.CharacterDirection.RIGHT); this.addBrownJacket(964, 115, 200, 100, seh.triangle.action.CharacterDirection.RIGHT); this.addBrownJacket(1284, 123, 200, 100, seh.triangle.action.CharacterDirection.RIGHT); this.state = maelstrom.scene.SceneState.CREATED; }; seh.triangle.scene.mode.main.levels.EisysBuilding2F = v1; seh.triangle.scene.mode.main.levels.EisysBuilding2F extends seh.triangle.scene.mode.main.detail.ActionScene; var v2 = v1.prototype; v2.toString = function () { return 'EisysBuilding2F'; }; v2.play = function () { super.play(); this.onEnterFrame = this.internalScroll; }; v2.terminate = function () { super.terminate(); seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.background_layer.Eisys_2F_Hallway.removeMovieClip(); seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.foreground_layer.Eisys_2F_Hallway_Shadow.removeMovieClip(); if (this.mente != null) { this.removeSceneListener(this.mente); this.mente.removeMovieClip(); this.removeSceneListener(this.mente_health_icon); seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.removeHealthIcon(this.mente_health_icon); this.mente_health_icon.removeMovieClip(); } if (this.item_symbol != null) { this.removeSceneListener(this.item_symbol); this.item_symbol.removeMovieClip(); } }; v2.onLockedDoorHit = function (htyp, rctp, rcbtm, rclt, rcrt) { if (htyp == seh.triangle.action.hit.HitType.PLAYER_MOVE) { this.parent.stop(); var v3 = seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.getRootMovieClip(); var v2 = seh.triangle.scene.mode.main.levels.detail.LockedDoor(v3.attachMovie(seh.triangle.scene.mode.main.levels.detail.LockedDoor.LINKAGE_ID, 'LockedDoor', v3.getNextHighestDepth(), {'parent': this})); v2.str_0 = 'Argh!'; v2.str_1 = 'It\'s locked!'; v2.startTransitionIn(); } }; v2.onEventHit = function (evt) { this.save_data.has_card03_got = true; this.parent.stop(); var v2 = seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.getRootMovieClip(); (v2.attachMovie(seh.triangle.scene.mode.main.levels.detail.items.PresidentsRoomKey.LINKAGE_ID, 'PresidentsRoomKey', v2.getNextHighestDepth(), {'parent': this})).startTransitionIn(); }; v2.onBossBattleFinished = function (oevt) { this.allTransitionsOutDone = function (ievt) { (mx.transitions.TransitionManager(ievt.target)).removeEventListener('allTransitionsOutDone', this); this.parent.stopBGM(); var v3 = (seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.getRootMovieClip())._parent; var v4 = new seh.triangle.scene.event.scenarios.MenteEvent(); var v2 = seh.triangle.scene.event.EventScene(v3.attachMovie(seh.triangle.scene.event.EventScene.LINKAGE_ID, 'EventScene', v3.getNextHighestDepth(), {'parent': this, 'scenario': v4.scenario})); v2.addEventScriptListener(this); v2.startTransitionIn(); }; this.parent.stop(); this.startTransitionOut(); }; v2.onScenarioFinished = function (evt) { this.save_data.data.gallery_mente = true; this.save_data.has_mente_insulted = this.save_data.data.gallery_mente; this.save_data.card03_x = this.mente._x; this.save_data.card03_y = this.mente._y; this.item_symbol = seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.createItemSymbol(this.save_data.card03_x, this.save_data.card03_y, 'card03'); this.item_symbol.addEventListener('onEventHit', this); this.addSceneListener(this.item_symbol); this.item_symbol.play(); this.parent.playBGM(null); }; v2.changeToEisysBuilding1FLeft = function (htyp, rctp, rcbtm, rclt, rcrt) { if (htyp == seh.triangle.action.hit.HitType.PLAYER_MOVE) { this.allTransitionsOutDone = function (evt) { super.allTransitionsOutDone(evt); this.player_character._x = 100; this.player_character._y = 65; this.player_character.setDirection(seh.triangle.action.CharacterDirection.FRONT); var v3 = new seh.triangle.scene.mode.main.levels.EisysBuilding1F(this.parent); this.player_character.update(); v3.adjustViewPosition(this.player_character.stage_x, this.player_character.stage_y); v3.startTransitionIn(); }; this.parent.stop(); this.parent.playStairSE(); this.startTransitionOut(); } }; v2.changeToEisysBuilding3FLeft = function (htyp, rctp, rcbtm, rclt, rcrt) { if (htyp == seh.triangle.action.hit.HitType.PLAYER_MOVE) { this.allTransitionsOutDone = function (evt) { super.allTransitionsOutDone(evt); this.player_character._x = 32; this.player_character._y = 65; this.player_character.setDirection(seh.triangle.action.CharacterDirection.FRONT); var v3 = new seh.triangle.scene.mode.main.levels.EisysBuilding3F(this.parent); this.player_character.update(); v3.adjustViewPosition(this.player_character.stage_x, this.player_character.stage_y); v3.startTransitionIn(); }; this.parent.stop(); this.parent.playStairSE(); this.startTransitionOut(); } }; v2.changeToMensRoom2F = function (htyp, rctp, rcbtm, rclt, rcrt) { if (htyp == seh.triangle.action.hit.HitType.PLAYER_MOVE) { this.allTransitionsOutDone = function (evt) { super.allTransitionsOutDone(evt); this.player_character._x = 60; this.player_character._y = 505; this.player_character.setDirection(seh.triangle.action.CharacterDirection.BACK); var v3 = new seh.triangle.scene.mode.main.levels.MensRoom2F(this.parent); this.player_character.update(); v3.adjustViewPosition(this.player_character.stage_x, this.player_character.stage_y); v3.startTransitionIn(); }; this.parent.stop(); this.startTransitionOut(); } }; v2.changeToLadiesRoom2F = function (htyp, rctp, rcbtm, rclt, rcrt) { if (htyp == seh.triangle.action.hit.HitType.PLAYER_MOVE) { this.allTransitionsOutDone = function (evt) { super.allTransitionsOutDone(evt); this.player_character._x = 60; this.player_character._y = 505; this.player_character.setDirection(seh.triangle.action.CharacterDirection.BACK); var v3 = new seh.triangle.scene.mode.main.levels.LadiesRoom2F(this.parent); this.player_character.update(); v3.adjustViewPosition(this.player_character.stage_x, this.player_character.stage_y); v3.startTransitionIn(); }; this.parent.stop(); this.startTransitionOut(); } }; v2.changeToOffice2F = function (htyp, rctp, rcbtm, rclt, rcrt) { if (htyp == seh.triangle.action.hit.HitType.PLAYER_MOVE) { this.allTransitionsOutDone = function (evt) { super.allTransitionsOutDone(evt); this.player_character._x = 503; this.player_character._y = 475; this.player_character.setDirection(seh.triangle.action.CharacterDirection.BACK); var v3 = new seh.triangle.scene.mode.main.levels.Office2F(this.parent); this.player_character.update(); v3.adjustViewPosition(this.player_character.stage_x, this.player_character.stage_y); v3.startTransitionIn(); }; this.parent.stop(); this.startTransitionOut(); } }; v2.changeToServerRoom2F = function (htyp, rctp, rcbtm, rclt, rcrt) { if (htyp == seh.triangle.action.hit.HitType.PLAYER_MOVE) { this.allTransitionsOutDone = function (evt) { super.allTransitionsOutDone(evt); this.player_character._x = 72; this.player_character._y = 475; this.player_character.setDirection(seh.triangle.action.CharacterDirection.BACK); var v3 = new seh.triangle.scene.mode.main.levels.ServerRoom2F(this.parent); this.player_character.update(); v3.adjustViewPosition(this.player_character.stage_x, this.player_character.stage_y); v3.startTransitionIn(); }; this.parent.stop(); this.startTransitionOut(); } }; v2.changeToEisysBuilding1FRight = function (htyp, rctp, rcbtm, rclt, rcrt) { if (htyp == seh.triangle.action.hit.HitType.PLAYER_MOVE) { this.allTransitionsOutDone = function (evt) { super.allTransitionsOutDone(evt); this.player_character._x = 1440; this.player_character._y = 65; this.player_character.setDirection(seh.triangle.action.CharacterDirection.FRONT); var v3 = new seh.triangle.scene.mode.main.levels.EisysBuilding1F(this.parent); this.player_character.update(); v3.adjustViewPosition(this.player_character.stage_x, this.player_character.stage_y); v3.startTransitionIn(); }; this.parent.stop(); this.parent.playStairSE(); this.startTransitionOut(); } }; v2.changeToEisysBuilding3FRight = function (htyp, rctp, rcbtm, rclt, rcrt) { if (htyp == seh.triangle.action.hit.HitType.PLAYER_MOVE) { this.allTransitionsOutDone = function (evt) { super.allTransitionsOutDone(evt); this.player_character._x = 1312; this.player_character._y = 65; this.player_character.setDirection(seh.triangle.action.CharacterDirection.FRONT); var v3 = new seh.triangle.scene.mode.main.levels.EisysBuilding3F(this.parent); this.player_character.update(); v3.adjustViewPosition(this.player_character.stage_x, this.player_character.stage_y); v3.startTransitionIn(); }; this.parent.stop(); this.parent.playStairSE(); this.startTransitionOut(); } }; v2.mente = null; v2.item_symbol = null; ASSetPropFlags(seh.triangle.scene.mode.main.levels.EisysBuilding2F.prototype, null, 1); } #endinitclip } movieClip 1947 __Packages.seh.triangle.scene.mode.main.levels.detail.items.PresidentsRoomKey { #initclip if (!_global.seh) { _global.seh = new Object(); } if (!_global.seh.triangle) { _global.seh.triangle = new Object(); } if (!_global.seh.triangle.scene) { _global.seh.triangle.scene = new Object(); } if (!_global.seh.triangle.scene.mode) { _global.seh.triangle.scene.mode = new Object(); } if (!_global.seh.triangle.scene.mode.main) { _global.seh.triangle.scene.mode.main = new Object(); } if (!_global.seh.triangle.scene.mode.main.levels) { _global.seh.triangle.scene.mode.main.levels = new Object(); } if (!_global.seh.triangle.scene.mode.main.levels.detail) { _global.seh.triangle.scene.mode.main.levels.detail = new Object(); } if (!_global.seh.triangle.scene.mode.main.levels.detail.items) { _global.seh.triangle.scene.mode.main.levels.detail.items = new Object(); } if (!_global.seh.triangle.scene.mode.main.levels.detail.items.PresidentsRoomKey) { var v1 = function () { super(); this.sound_effect.attachSound('SE_009'); this.state = maelstrom.scene.SceneState.CREATED; }; seh.triangle.scene.mode.main.levels.detail.items.PresidentsRoomKey = v1; seh.triangle.scene.mode.main.levels.detail.items.PresidentsRoomKey extends seh.triangle.scene.event.PopupWindow; var v2 = v1.prototype; v2.toString = function () { return 'PresidentsRoomKey'; }; v2.play = function () { super.play(); this.foreground_layer.attachMovie('Card_03', 'Card_03', this.foreground_layer.getNextHighestDepth(), {'_x': 230, '_y': 180}); this.sendText('You got the card key'); this.reline(); this.sendText('for the president\'s room!'); this.pageBreak(); }; v1.LINKAGE_ID = '__Packages.seh.triangle.scene.mode.main.levels.detail.items.PresidentsRoomKey'; v1.CONSTRUCTOR = seh.triangle.scene.mode.main.levels.detail.items.PresidentsRoomKey; v1.IS_REGISTERED = Object.registerClass(seh.triangle.scene.mode.main.levels.detail.items.PresidentsRoomKey.LINKAGE_ID, seh.triangle.scene.mode.main.levels.detail.items.PresidentsRoomKey.CONSTRUCTOR); ASSetPropFlags(seh.triangle.scene.mode.main.levels.detail.items.PresidentsRoomKey.prototype, null, 1); } #endinitclip } movieClip 1948 __Packages.seh.triangle.scene.event.scenarios.MenteEvent { #initclip if (!_global.seh) { _global.seh = new Object(); } if (!_global.seh.triangle) { _global.seh.triangle = new Object(); } if (!_global.seh.triangle.scene) { _global.seh.triangle.scene = new Object(); } if (!_global.seh.triangle.scene.event) { _global.seh.triangle.scene.event = new Object(); } if (!_global.seh.triangle.scene.event.scenarios) { _global.seh.triangle.scene.event.scenarios = new Object(); } if (!_global.seh.triangle.scene.event.scenarios.MenteEvent) { var v1 = function () { var v2 = '<playbgm id=\'BGM_013\' /><trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_Mente_S01_001\' /><trans direction=\'IN\' duration=\'0.5\' /><font size=\'30\' />Uoooohhhh! Is it over here!? Is this the cause of the <r />problem!?<r />Is this why the site is so slow!?<font size=\'22\' /><l />I forcibly push down Mente-chan, and force my head<r />into her sports uniform.<p /><voice id=\'Voice_Mente_001\' />"Hyaaaaaa!! That place has nothing to do<r />with it at all!"<l />Sniff sniff sniff...<r />Mhaaa... She smells really good!<r />Let\'s see how she tastes... Schlp schlp schlp schlp...<l /><voice id=\'Voice_Mente_002\' />"Hahn... Don\'t lick me please..."<p />Damn it, so this isn\'t it either! Then I bet it\'s over here!<r />Slurp, slurp!<l /><voice id=\'Voice_Mente_003\' />"Hyaaa! Please don\'t suck on my tits...<r />Ahhn... Please don\'t suck on my nipples either..."<l /><voice id=\'Voice_Mente_004\' />"I\'m not into this sort of thing... Aaahn...<r />Hey, are you even listening to me!?"<p />Mente-chan raises her voice in protest, but I<r />ignore it and continue to lick and suck on her tits.<l />Mente-chan\'s breasts soon become covered in my saliva...<r />Her breasts aren\'t very big, but they are well shaped, <r />and the<r />nipples on top of them are starting to become hard...<p />Mmmmh, she\'s so cute...<r />Still... If this isn\'t the cause of the problem<r />with the site...<p /><trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_Mente_S01_003\' /><trans direction=\'IN\' duration=\'0.5\' /><font size=\'30\' />Then I bet it\'s down here!<r />It\'s got to be here, right!?<font size=\'22\' /><l />I start licking the area around her crotch through her <r />bloomers.<r />Schlp schlp schlp schlp!!<p /><voice id=\'Voice_Mente_005\' />"Hyaaahn! Ewww! It\'s getting dirty..."<l /><voice id=\'Voice_Mente_006\' />"Ahh, aaahn... Please don\'t... If you keep that up,<r />I\'m going to... Haaahn!"<p />Mmmmhaaa!<l /><trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_Mente_S01_002\' /><trans direction=\'IN\' duration=\'0.5\' /><r />I soak my tongue and lick all around her crotch, smearing <r />my saliva onto her.<r />As a result, her crotch becomes drenched in saliva.<p />However... It doesn\'t seem to have an effect on the cause <r />of the problem.<l /><voice id=\'Voice_Mente_007\' />"Please, stop it already..."<p />She protests, but I just ignore her.<l /><trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_Mente_S01_004\' /><trans direction=\'IN\' duration=\'0.5\' /><font size=\'30\' />Okay then... Maybe I should check inside of you...<font size=\'22\' /><r />I slide her bloomers down so I can look<r />at her pussy directly.<p /><voice id=\'Voice_Mente_008\' />"Hyaaa... Please don\'t look!"<l />Now now, there\'s nothing wrong with it...<r />Look at your nipples, they\'ve gone all hard.<l /><voice id=\'Voice_Mente_009\' />"Haahn... Aaahn..."<p />Muhaha! Your pussy is a little wet, I see! I think that might<r />just be the cause of the problem.<l />I decide to lick her pussy directly and see what happens. <r />Schlp schlp!<r />Ohhhh! This is pretty good! Licking her pussy!<p /><voice id=\'Voice_Mente_010\' />"Hyaaaa! Don\'t... You can\'t do that...<r />Nhaaaaahn!"<p />Mufff, mufff!<r />I slide my tongue over the area with the folds.<r />Schlp schlp schlp schlp!!<l />I can hear her object some more, but I just ignore her<r />and continue to lick her pussy.<p />Whew...<r />It seems I\'m going to have to check what\'s inside there <r />more thoroughly.<r />Let\'s see what we can do...<l /><trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_Mente_S01_005\' /><trans direction=\'IN\' duration=\'0.5\' /><r /><voice id=\'Voice_Mente_011\' />"Hyaaaa!!"<p />I yank down her bloomers and her panties so that her<r />lower body is completely exposed.<l /><r />Oohhh...<r />I can\'t help but exclaim in wonder as I see her naked <r />genital area.<p />Okay, before I go in there, I should get a little <r />friendlier with her first.<r />I start rubbing her slit up and down using my glans.<l />There\'s juice leaking out of the urethra, and it mixes<r />in with her pussy juice.<p /><voice id=\'Voice_Mente_012\' />"Nooo... It\'s rubbing against me..."<l />Oohhhh... My cock is rubbing your pussy...<r />Ahh, this feels good...<l /><voice id=\'Voice_Mente_013\' />"Nooo! Don\'t... Please, stop it..."<p />So you say, but... I bet you\'re using this<r />slutty pussy quite a lot, don\'t you!?<l /><voice id=\'Voice_Mente_014\' />"No I don\'t... That\'s not true..."<l />I don\'t believe you. I mean, look at how wide your pussy is<r />spreading itself, and how much pussy juice is <r />coming out of it.<p /><trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_Mente_S01_006\' /><trans direction=\'IN\' duration=\'0.5\' /><font size=\'30\' />Okay, it\'s about time I put my cock in there!<font size=\'22\' /><l /><r />I start inserting my cock, heedless of her protests. It <r />slides<r />inside of her, making loud, obscene noises as it goes.<p /><voice id=\'Voice_Mente_015\' />"Hyaaa! Aaaahhh... Oh no, it\'s coming in!"<l />Ohhh! it feels really good inside of Mente-chan.<r />I\'m going to move, I\'m gonna move now! I\'m gonna push all <r />the way down into her pussy!!<l /><voice id=\'Voice_Mente_016\' />"Hngg... Nhaa... Aaahh... Ahh..."<p />Mente-chan is trying to keep her voice down, but she\'s <r />panting.<r />I feel encouraged by the fact that she\'s not protesting as <r />much<r />anymore, so I start moving my hips back and forth.<p />Ohh, ohhhh...<r />Ahhh, Mente-chan, your pussy feels so good...<p /><voice id=\'Voice_Mente_017\' />"Aaaahn... I can\'t take this...<r />Nhaa, it feels so good..."<l />Ohhh, so it feels good for Mente-chan as well.<r />I see, I see... Well, in that case...<p /><trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_Mente_S01_007\' /><trans direction=\'IN\' duration=\'0.5\' /><voice id=\'Voice_Mente_018\' />"Nhaaa? Hngg... Aahnn..."<l />Now that my movements have slowed down a little, Mente-chan <r />apparently<r />feels a little dissatisfied, because she\'s starting to <r />wriggle her hips around.<p /><voice id=\'Voice_Mente_019\' />"Nhaaahn... Why... You were doing it so rough earlier..."<l />Oh, Mente-chan is really cute when she\'s squirming like <r />that...<p />Hmmm? What is it you want, I wonder?<r />Maybe you should try begging me to fuck you as hard as I <r />did before?<r />I am being mean to Mente-chan on purpose.<p /><voice id=\'Voice_Mente_020\' />"Nhaahn... But that... That\'s so embarrassing, <r />I can\'t say it..."<l />Uhoho, this is good, very good...<r />I\'m fine with taking it slow like this, but I don\'t know <r />about you.<r />Are you okay with this, Mente-chan?<p /><trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_Mente_S01_006\' /><trans direction=\'IN\' duration=\'0.5\' /><voice id=\'Voice_Mente_021\' />"Aaaahn... That\'s just cruel... Unghhh...<r />Please, move faster! Please fuck<r />my pussy harder with your cock!"<l />Ohhh, that\'s good, that\'s good, you\'re so cute!<l /><voice id=\'Voice_Mente_022\' />"Aaauuhhh... I\'m so embarrassed..."<p />Okay then, I\'m going to fuck you good!<r />I start moving my hips back and forth with more enthusiasm.<l /><voice id=\'Voice_Mente_023\' />"Ahhh... Hahhn... Aaahh... Oh yes... It feels good!"<l />Ohhhh... That\'s great, Mente-chan!<r />Your pussy feels really good! I\'m going to come inside you, <r />Mente-chan!<p /><voice id=\'Voice_Mente_024\' />"Ahhh... Not inside... Ahn, aahn...<r />But it feels so good... Unghh..."<l /><r />Ohhhh... I\'m coming Mente-chan, I\'m coming!!<p /><trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_Mente_S01_008\' /><trans direction=\'IN\' duration=\'0.5\' /><effect id=\'Effect_01\' /><voice id=\'Voice_Mente_025\' />"Aaaahn... I\'m about to come as well! Nhaahh... Ahh, ahh...<r />Nhaaahhhhhhhh!"<l />Mente-chan\'s lovely voice echoes through the room.<r />At the same time I also reach my limit.<r />A large amount of semen bursts forth from my pulsating <r />cock...<p /><voice id=\'Voice_Mente_026\' />"Aaaahh... Oh yes, oh yes! You\'re ejaculating into my pussy...<r />Aaahhn, I\'m so happy! There\'s so much sperm!"<l />Mente-chan accepts the semen that\'s flowing into her<r />body with a delighted scream.<p />Hmm, that should take care of the problem...<l />...<l />...<p /><trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_Mente_S01_009\' /><trans direction=\'IN\' duration=\'0.5\' /><voice id=\'Voice_Mente_027\' />"Urgh... I feel terrible about getting off and<r />coming just from that..."<l />Mente-chan\'s face is a little pale. She regrets giving<r />herself over to carnal pleasure like that.<r />From her pussy, there\'s a thin stream of semen leaking <r />outside...<p />Hmm, well, I think it\'s fine. After all, you felt good, <r />didn\'t you?<l />And it seems the problem with the site has been fixed too...<r />All that\'s left to do now is clean up!<l />With that said, I forcefully push my cock into Mente-chan\'s <r />mouth.<p /><trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_Mente_S02_001\' /><trans direction=\'IN\' duration=\'0.5\' /><voice id=\'Voice_Mente_028\' />"Mggggg! Mmmggg... Mmm..."<l />Come on, use your mouth to clean me up...<r />I put my hand on Mente-chan\'s head and force it to move back and forth.<p /><font size=\'30\' />Ahh, shit... I\'m getting hard again!<font size=\'22\' /><r />Oh well, I guess I\'ll just force her to suck me off like <r />this.<l /><voice id=\'Voice_Mente_029\' />"Mffff! Mmmfffaahh..."<p />Mente-chan is angry at me, but I continue to pull<r />my cock out, then force it back into her mouth.<r />My cock was only a little hard before, but now it\'s <r />starting to get fully erect again.<p />Ohhhhhh... This feels pretty nice.<r />Aahhh... This feels good... Mente-chan, your<r />oral pussy feels really good...<p /><voice id=\'Voice_Mente_030\' />"Mhaaahh... Mmmm... You\'re so mean! This is just..."<l />She\'s trying to say something, but it comes out all <r />muffled, so I can\'t understand her...<r />I ignore Mente-chan and continue to force her into sucking <r />my cock.<p />Ohhh... This is great, I\'m going to come any time now.<r />Okay... I\'m going to come inside of her mouth without <r />pulling out!<p /><trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_Mente_S02_002\' /><trans direction=\'IN\' duration=\'0.5\' /><effect id=\'Effect_01\' />Ohh, ohh, ohhhhh...<r />I let loose into Mente-chan\'s throat without holding back.<r />My semen violently squirts into her oral cavity.<l /><voice id=\'Voice_Mente_031\' />"Mffff... Mmmgg... Mmmm..."<l />When I\'m done ejaculating, I slowly pull my cock<r />back out of her mouth.<p /><trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_Mente_S02_003\' /><trans direction=\'IN\' duration=\'0.5\' />Hmm, there\'s still some semen left on the glans...<r />I get it off by repeatedly slapping my cock against her<r />face, which makes a nasty sound.<l />......<l />...<p /><trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_Mente_S01_010\' /><trans direction=\'IN\' duration=\'0.5\' /><voice id=\'Voice_Mente_032\' />"Unghh... Mmm... Unhh..."<l />Whew...<l />I put my clothes back in order, then leave the server room,<r />leaving Mente-chan on the floor in tears.<l />......<l />...<p />'; this.scenario = new XML(v2); }; seh.triangle.scene.event.scenarios.MenteEvent = v1; var v2 = v1.prototype; v2.toString = function () { return 'MenteEvent'; }; ASSetPropFlags(seh.triangle.scene.event.scenarios.MenteEvent.prototype, null, 1); } #endinitclip } movieClip 1949 __Packages.maelstrom.scene.EventScript { #initclip if (!_global.maelstrom) { _global.maelstrom = new Object(); } if (!_global.maelstrom.scene) { _global.maelstrom.scene = new Object(); } if (!_global.maelstrom.scene.EventScript) { var v1 = function () { super(); if (this.parent == null) { throw new maelstrom.language.NullPointerException('parent == null'); } this.parent.addSceneListener(this); mx.events.EventDispatcher.initialize(this); this.background_layer = this.createEmptyMovieClip('background_layer', this.getNextHighestDepth()); this.foreground_layer = this.createEmptyMovieClip('foreground_layer', this.getNextHighestDepth()); this.event_layer = this.foreground_layer.createEmptyMovieClip('event_layer', this.foreground_layer.getNextHighestDepth()); this.message_layer = this.foreground_layer.createEmptyMovieClip('message_layer', this.foreground_layer.getNextHighestDepth()); this.effect_layer = this.createEmptyMovieClip('effect_layer', this.getNextHighestDepth()); this.background_music = new Sound(this.background_layer); this.background_music.onSoundComplete = function () { if (this.position == this.duration) { this.start(); } }; this.sound_effect = new Sound(this.effect_layer); this.voice = new Sound(this.event_layer); }; maelstrom.scene.EventScript = v1; maelstrom.scene.EventScript extends MovieClip; var v2 = v1.prototype; _global.maelstrom.scene.EventScript implements _global.maelstrom.scene.Scene; v2.toString = function () { return 'EventScript'; }; v2.onUnload = function () { this.parent.removeSceneListener(this); this.text_window.onRelease = null; if (this.interval_id != null) { clearInterval(this.interval_id); } this.background_music.stop(); this.sound_effect.stop(); this.voice.stop(); }; v2.onScenePlayed = function (evt) { if (this.state == maelstrom.scene.SceneState.CREATED) { this.play(); } else { if (this.state == maelstrom.scene.SceneState.STOPPED) { this.terminate(); } } }; v2.onSceneStopped = function (evt) { if (this.state == maelstrom.scene.SceneState.PLAYING) { this.stop(); } }; v2.onSceneResumed = function (evt) { if (this.state != null) { this.terminate(); } }; v2.onSceneUpdated = function (evt) { if (this.state != null) { this.update(); } }; v2.onSceneTerminated = function (evt) { if (this.state != null) { this.terminate(); } }; v2.onScenarioLoaded = function (success) { if (!success) { throw new maelstrom.scene.IllegalSceneStateException('!success'); } this.startTransitionIn(); }; v2.onScenarioFinishedHandler = function (evt) { this.stop(); this.background_music.stop(); this.startTransitionOut(); }; v2.allTransitionsInDone = function (evt) { (mx.transitions.TransitionManager(evt.target)).removeEventListener('allTransitionsInDone', this); this.play(); }; v2.allTransitionsOutDone = function (evt) { (mx.transitions.TransitionManager(evt.target)).removeEventListener('allTransitionsOutDone', this); this.terminate(); }; v2.transitionInDone = function (evt) { (mx.transitions.Transition(evt.target)).removeEventListener('transitionInDone', this); this.text_window.enabled = true; this.iterator = this.iterator.nextSibling; this.interpret(); }; v2.transitionOutDone = function (evt) { (mx.transitions.Transition(evt.target)).removeEventListener('transitionOutDone', this); this.text_window.enabled = true; this.iterator = this.iterator.nextSibling; this.interpret(); }; v2.getParent = function () { return this.parent; }; v2.getState = function () { return this.state; }; v2.addSceneListener = function (scl) { throw new maelstrom.language.NotImplementedException('maelstrom.scene.EventScript::addSceneListener(Object)'); }; v2.removeSceneListener = function (scl) { throw new maelstrom.language.NotImplementedException('maelstrom.scene.EventScript::removeSceneListener(Object)'); }; v2.addEventScriptListener = function (evtscrl) { if (evtscrl == null) { throw new maelstrom.language.NullPointerException('evtscrl == null'); } this.addEventListener('onScenarioStarted', evtscrl); this.addEventListener('onScenarioFinished', evtscrl); }; v2.removeEventScriptListener = function (evtscrl) { if (evtscrl == null) { throw new maelstrom.language.NullPointerException('evtscrl == null'); } this.removeEventListener('onScenarioStarted', evtscrl); this.removeEventListener('onScenarioFinished', evtscrl); }; v2.play = function () { if (this.state != maelstrom.scene.SceneState.CREATED) { throw new maelstrom.scene.IllegalSceneStateException('state != SceneState.CREATED'); } if (this.text_window == null || this.line_glyph == null || this.page_glyph == null) { throw new maelstrom.scene.IllegalSceneStateException('text_window == null || line_glyph == null || page_glyph == null'); } this.state = maelstrom.scene.SceneState.PLAYING; this.text_window.enabled = false; this.text_window.onRelease = function () { switch (this.iterator.nodeType) { case maelstrom.scene.EventScript.ELEMENT_NODE: if (this.iterator.nodeName == maelstrom.scene.ScriptTag.LINE_BREAK.name()) { this.line_glyph._visible = false; this.text_window.body.replaceText(this.text_window.body.length, this.text_window.body.length, '\n'); this.text_window.row_count.text = ''; this.iterator = this.iterator.nextSibling; this.interpret(); } else { if (this.iterator.nodeName == maelstrom.scene.ScriptTag.PAGE_BREAK.name()) { this.page_glyph._visible = false; this.text_window.row_count.text = ''; this.text_window.body.text = ''; this.iterator = this.iterator.nextSibling; this.interpret(); } } break; case maelstrom.scene.EventScript.TEXT_NODE: this.text_window.setSelected(true); break; default: } }; this.text_window.onRelease = mx.utils.Delegate.create(this, this.text_window.onRelease); this.page_glyph._visible = false; this.line_glyph._visible = this.page_glyph._visible; if (this.has_click_skip_enabled) { this.text_window.enabled = true; } else { this.text_window.enabled = false; } this.text_window.row_count.text = ''; this.text_window.body.text = ''; this.iterator = this.scenario.firstChild; this.interpret(); this.dispatchEvent({'type': 'onScenarioStarted'}); }; v2.stop = function () { if (this.state != maelstrom.scene.SceneState.PLAYING) { throw new maelstrom.scene.IllegalSceneStateException('state != SceneState.PLAYING'); } this.state = maelstrom.scene.SceneState.STOPPED; this.text_window.enabled = false; if (this.interval_id != null) { clearInterval(this.interval_id); this.interval_id = null; } this.sound_effect.stop(); this.voice.stop(); }; v2.resume = function () { if (this.state != maelstrom.scene.SceneState.STOPPED) { throw new maelstrom.scene.IllegalSceneStateException('state != SceneState.STOPPED'); } this.state = maelstrom.scene.SceneState.PLAYING; switch (this.iterator.nodeType) { case maelstrom.scene.EventScript.ELEMENT_NODE: if (this.iterator.nodeName == maelstrom.scene.ScriptTag.LINE_BREAK.name() || this.iterator.nodeName == maelstrom.scene.ScriptTag.PAGE_BREAK.name()) { this.text_window.enabled = true; } break; case maelstrom.scene.EventScript.TEXT_NODE: this.interval_id = setInterval(this, 'internalInterpret', this.call_interval); if (this.has_click_skip_enabled && !this.text_window.isSelected()) { this.text_window.enabled = true; } break; default: } if (this.sound_effect.position < this.sound_effect.duration) { this.sound_effect.start(this.sound_effect.position / 1000); } if (this.voice.position < this.voice.duration) { this.voice.start(this.voice.position / 1000); } }; v2.update = function () { throw new maelstrom.language.NotImplementedException('maelstrom.scene.EventScript::update()'); }; v2.terminate = function () { if (this.state == null) { throw new maelstrom.scene.IllegalSceneStateException('state == null'); } this.state = maelstrom.scene.SceneState.TERMINATED; this.parent.removeSceneListener(this); this.text_window.enabled = false; if (this.interval_id != null) { clearInterval(this.interval_id); } this.background_music.stop(); this.sound_effect.stop(); this.voice.stop(); this.removeMovieClip(); }; v2.startTransitionIn = function () { throw new maelstrom.language.NotImplementedException('maelstrom.scene.EventScript::startTransitionIn()'); return null; }; v2.startTransitionOut = function () { throw new maelstrom.language.NotImplementedException('maelstrom.scene.EventScript::startTransitionOut()'); return null; }; v2.loadScenario = function (url) { if (this.state != null) { throw new maelstrom.scene.IllegalSceneStateException('state != null'); } if (url == null) { throw new maelstrom.language.NullPointerException('url == null'); } this.scenario = new XML(); this.scenario.ignoreWhite = true; this.scenario.onLoad = mx.utils.Delegate.create(this, this.onScenarioLoaded); this.scenario.load(url); this.state = maelstrom.scene.SceneState.CREATED; }; v2.interpret = function () { if (this.iterator == null) { this.text_window.enabled = false; this.dispatchEvent({'type': 'onScenarioFinished'}); } else { switch (this.iterator.nodeType) { case maelstrom.scene.EventScript.ELEMENT_NODE: if (this.iterator.nodeName == maelstrom.scene.ScriptTag.RELINE.name()) { this.text_window.body.replaceText(this.text_window.body.length, this.text_window.body.length, '\n'); this.text_window.row_count.text = ''; this.iterator = this.iterator.nextSibling; this.interpret(); } else { if (this.iterator.nodeName == maelstrom.scene.ScriptTag.LINE_BREAK.name()) { if (this.text_window.isSelected()) { this.text_window.setSelected(false); } this.text_window.enabled = true; this.line_glyph._visible = true; this.line_glyph._x = this.text_window._x + this.text_window.row_count._x + this.text_window.row_count.textWidth + 4; this.line_glyph._y = this.text_window._y + this.text_window.body._y + this.text_window.body.textHeight - this.line_glyph._height - 5; } else { if (this.iterator.nodeName == maelstrom.scene.ScriptTag.PAGE_BREAK.name()) { if (this.text_window.isSelected()) { this.text_window.setSelected(false); } this.text_window.enabled = true; this.page_glyph._visible = true; this.page_glyph._x = this.text_window._x + this.text_window.row_count._x + this.text_window.row_count.textWidth + 4; this.page_glyph._y = this.text_window._y + this.text_window.body._y + this.text_window.body.textHeight - this.page_glyph._height - 5; } else { if (this.iterator.nodeName == maelstrom.scene.ScriptTag.VOICE.name()) { if (this.iterator.attributes.id == null) { throw new maelstrom.language.NullPointerException('iterator.attributes.id == null'); } this.voice.stop(); this.voice.attachSound(this.iterator.attributes.id); this.voice.start(); this.iterator = this.iterator.nextSibling; this.interpret(); } else { if (this.iterator.nodeName == maelstrom.scene.ScriptTag.TRANS.name() || this.iterator.nodeName == maelstrom.scene.ScriptTag.TRANSITION.name()) { if (this.iterator.attributes.direction == null || this.iterator.attributes.duration == null) { throw new maelstrom.language.NullPointerException('iterator.attributes.direction == null || iterator.attributes.duration == null'); } var v2 = this.event_layer; if (this.iterator.attributes.layer != null) { if (this.iterator.attributes.layer == 'background') { v2 = this.background_layer; } else { if (this.iterator.attributes.layer == 'foreground') { v2 = this.foreground_layer; } else { if (this.iterator.attributes.layer == 'message') { v2 = this.message_layer; } else { if (this.iterator.attributes.layer == 'effect') { v2 = this.effect_layer; } } } } } this.text_window.enabled = false; if (this.iterator.attributes.direction == 'IN') { (mx.transitions.TransitionManager.start(v2, {'type': mx.transitions.Fade, 'direction': mx.transitions.Transition.IN, 'duration': Number(this.iterator.attributes.duration), 'easing': mx.transitions.easing.None.easeNone})).addEventListener('transitionInDone', this); } else { if (this.iterator.attributes.direction == 'OUT') { (mx.transitions.TransitionManager.start(v2, {'type': mx.transitions.Fade, 'direction': mx.transitions.Transition.OUT, 'duration': Number(this.iterator.attributes.duration), 'easing': mx.transitions.easing.None.easeNone})).addEventListener('transitionOutDone', this); } } } else { if (this.iterator.nodeName == maelstrom.scene.ScriptTag.MC.name() || this.iterator.nodeName == maelstrom.scene.ScriptTag.MOVIE_CLIP.name()) { if (this.iterator.attributes.id == null) { throw new maelstrom.language.NullPointerException('iterator.attributes.id == null'); } if (this.event_symbol != null) { this.event_symbol.removeMovieClip(); this.event_symbol = null; } this.event_symbol = this.event_layer.attachMovie(this.iterator.attributes.id, 'event_symbol', this.event_layer.getNextHighestDepth()); this.iterator = this.iterator.nextSibling; this.interpret(); } else { if (this.iterator.nodeName == maelstrom.scene.ScriptTag.PLAY_BGM.name()) { if (this.iterator.attributes.id == null) { throw new maelstrom.language.NullPointerException('iterator.attributes.id == null'); } this.background_music.stop(); this.background_music.attachSound(this.iterator.attributes.id); this.background_music.start(); this.iterator = this.iterator.nextSibling; this.interpret(); } else { if (this.iterator.nodeName == maelstrom.scene.ScriptTag.PLAY_SE.name()) { if (this.iterator.attributes.id == null) { throw new maelstrom.language.NullPointerException('iterator.attributes.id == null'); } this.sound_effect.stop(); this.sound_effect.attachSound(this.iterator.attributes.id); this.sound_effect.start(); this.iterator = this.iterator.nextSibling; this.interpret(); } else { if (this.iterator.nodeName == maelstrom.scene.ScriptTag.STOP_BGM.name()) { this.background_music.start(); this.background_music.stop(); this.iterator = this.iterator.nextSibling; this.interpret(); } else { if (this.iterator.nodeName == maelstrom.scene.ScriptTag.STOP_SE.name()) { this.sound_effect.start(); this.sound_effect.stop(); this.iterator = this.iterator.nextSibling; this.interpret(); } else { if (this.iterator.nodeName == maelstrom.scene.ScriptTag.EFFECT.name()) { if (this.iterator.attributes.id == null) { throw new maelstrom.language.NullPointerException('iterator.attributes.id == null'); } if (this.effect_symbol != null) { this.effect_symbol.removeMovieClip(); this.effect_symbol = null; } this.effect_symbol = this.effect_layer.attachMovie(this.iterator.attributes.id, 'effect_symbol', this.effect_layer.getNextHighestDepth()); if (this.effect_symbol._totalframes > 1) { this.text_window.enabled = false; this.effect_symbol.onEnterFrame = function () { if (this.effect_symbol._currentframe == this.effect_symbol._totalframes) { this.effect_symbol.onEnterFrame = null; this.effect_symbol.removeMovieClip(); this.effect_symbol = null; this.iterator = this.iterator.nextSibling; this.interpret(); } }; this.effect_symbol.onEnterFrame = mx.utils.Delegate.create(this, this.effect_symbol.onEnterFrame); } else { this.iterator = this.iterator.nextSibling; this.interpret(); } } else { if (this.iterator.nodeName == maelstrom.scene.ScriptTag.FONT.name()) { if (this.iterator.attributes.size != null) { this.text_window.format.size = Number(this.iterator.attributes.size); } if (this.iterator.attributes.color != null) { this.text_window.format.color = Number(this.iterator.attributes.color); } this.iterator = this.iterator.nextSibling; this.interpret(); } else { if (this.iterator.nodeName == maelstrom.scene.ScriptTag.CLICK_SKIP.name()) { if (this.iterator.attributes.enabled == null) { throw new maelstrom.language.NullPointerException('iterator.attributes.enabled == null'); } if (this.iterator.attributes.enabled == 'true') { this.has_click_skip_enabled = true; } else { if (this.iterator.attributes.enabled == 'false') { this.has_click_skip_enabled = false; } } this.iterator = this.iterator.nextSibling; this.interpret(); } else { this.iterator.nodeName = maelstrom.scene.ScriptTag.DELAY.name(); if (this.iterator.nodeName) { if (this.iterator.attributes.speed == null) { throw new maelstrom.language.NullPointerException('iterator.attributes.speed == null'); } this.call_interval = Number(this.iterator.attributes.speed); if (this.interval_id != null) { clearInterval(this.interval_id); this.interval_id = setInterval(this, 'internalInterpret', this.call_interval); } else { this.iterator = this.iterator.nextSibling; this.interpret(); } } else { this.iterator = this.iterator.nextSibling; this.interpret(); } } } } } } } } } } } } } } break; case maelstrom.scene.EventScript.TEXT_NODE: var v3 = this.iterator.nodeValue; v3 = (v3.split('\n')).join(''); v3 = (v3.split('\r')).join(''); this.text_queue = v3.split(''); this.text_queue.reverse(); this.interval_id = setInterval(this, 'internalInterpret', this.call_interval); if (this.has_click_skip_enabled && !this.text_window.isSelected()) { this.text_window.enabled = true; } else { this.text_window.enabled = false; } break; default: } } }; v2.sendText = function (txt) { if (txt == null) { throw new maelstrom.language.NullPointerException('txt == null'); } this.text_window.body.setNewTextFormat(this.text_window.format); this.text_window.body.replaceText(this.text_window.body.length, this.text_window.body.length, txt); this.text_window.row_count.setNewTextFormat(this.text_window.format); this.text_window.row_count.replaceText(this.text_window.row_count.length, this.text_window.row_count.length, txt); }; v2.internalInterpret = function () { do { if (this.text_queue.length == 0) { clearInterval(this.interval_id); this.interval_id = null; this.iterator = this.iterator.nextSibling; this.interpret(); break; } this.sendText(String(this.text_queue.pop())); } while (this.has_click_skip_enabled && this.text_window.isSelected()); }; v1.ELEMENT_NODE = 1; v1.TEXT_NODE = 3; v2.state = null; v2.text_window = null; v2.line_glyph = null; v2.page_glyph = null; v2.scenario = null; v2.iterator = null; v2.text_queue = null; v2.event_symbol = null; v2.effect_symbol = null; v2.has_click_skip_enabled = true; v2.call_interval = 33; v2.interval_id = null; ASSetPropFlags(maelstrom.scene.EventScript.prototype, null, 1); } #endinitclip } movieClip 1950 __Packages.maelstrom.scene.ScriptTag { #initclip if (!_global.maelstrom) { _global.maelstrom = new Object(); } if (!_global.maelstrom.scene) { _global.maelstrom.scene = new Object(); } if (!_global.maelstrom.scene.ScriptTag) { var v1 = function (nme, ord) { super(nme, ord); }; maelstrom.scene.ScriptTag = v1; maelstrom.scene.ScriptTag extends maelstrom.language.EnumeratedType; var v2 = v1.prototype; v1.values = function () { if (maelstrom.scene.ScriptTag.enumrator_array == null) { maelstrom.scene.ScriptTag.enumrator_array = new Array(); maelstrom.scene.ScriptTag.enumrator_array.push(maelstrom.scene.ScriptTag.RELINE); maelstrom.scene.ScriptTag.enumrator_array.push(maelstrom.scene.ScriptTag.LINE_BREAK); maelstrom.scene.ScriptTag.enumrator_array.push(maelstrom.scene.ScriptTag.PAGE_BREAK); maelstrom.scene.ScriptTag.enumrator_array.push(maelstrom.scene.ScriptTag.VOICE); maelstrom.scene.ScriptTag.enumrator_array.push(maelstrom.scene.ScriptTag.TRANSITION); maelstrom.scene.ScriptTag.enumrator_array.push(maelstrom.scene.ScriptTag.TRANS); maelstrom.scene.ScriptTag.enumrator_array.push(maelstrom.scene.ScriptTag.MOVIE_CLIP); maelstrom.scene.ScriptTag.enumrator_array.push(maelstrom.scene.ScriptTag.MC); maelstrom.scene.ScriptTag.enumrator_array.push(maelstrom.scene.ScriptTag.PLAY_BGM); maelstrom.scene.ScriptTag.enumrator_array.push(maelstrom.scene.ScriptTag.PLAY_SE); maelstrom.scene.ScriptTag.enumrator_array.push(maelstrom.scene.ScriptTag.STOP_BGM); maelstrom.scene.ScriptTag.enumrator_array.push(maelstrom.scene.ScriptTag.STOP_SE); maelstrom.scene.ScriptTag.enumrator_array.push(maelstrom.scene.ScriptTag.EFFECT); maelstrom.scene.ScriptTag.enumrator_array.push(maelstrom.scene.ScriptTag.FONT); maelstrom.scene.ScriptTag.enumrator_array.push(maelstrom.scene.ScriptTag.CLICK_SKIP); maelstrom.scene.ScriptTag.enumrator_array.push(maelstrom.scene.ScriptTag.DELAY); } return maelstrom.scene.ScriptTag.enumrator_array; }; v1.RELINE = new maelstrom.scene.ScriptTag('r', 0); v1.LINE_BREAK = new maelstrom.scene.ScriptTag('l', 1); v1.PAGE_BREAK = new maelstrom.scene.ScriptTag('p', 2); v1.VOICE = new maelstrom.scene.ScriptTag('voice', 3); v1.TRANSITION = new maelstrom.scene.ScriptTag('transition', 4); v1.TRANS = new maelstrom.scene.ScriptTag('trans', 5); v1.MOVIE_CLIP = new maelstrom.scene.ScriptTag('movieclip', 6); v1.MC = new maelstrom.scene.ScriptTag('mc', 7); v1.PLAY_BGM = new maelstrom.scene.ScriptTag('playbgm', 8); v1.PLAY_SE = new maelstrom.scene.ScriptTag('playse', 9); v1.STOP_BGM = new maelstrom.scene.ScriptTag('stopbgm', 10); v1.STOP_SE = new maelstrom.scene.ScriptTag('stopse', 11); v1.EFFECT = new maelstrom.scene.ScriptTag('effect', 12); v1.FONT = new maelstrom.scene.ScriptTag('font', 13); v1.CLICK_SKIP = new maelstrom.scene.ScriptTag('clickskip', 14); v1.DELAY = new maelstrom.scene.ScriptTag('delay', 15); v1.enumrator_array = null; ASSetPropFlags(maelstrom.scene.ScriptTag.prototype, null, 1); } #endinitclip } movieClip 1951 __Packages.seh.triangle.scene.event.EventScene { #initclip if (!_global.seh) { _global.seh = new Object(); } if (!_global.seh.triangle) { _global.seh.triangle = new Object(); } if (!_global.seh.triangle.scene) { _global.seh.triangle.scene = new Object(); } if (!_global.seh.triangle.scene.event) { _global.seh.triangle.scene.event = new Object(); } if (!_global.seh.triangle.scene.event.EventScene) { var v1 = function () { super(); this.game_controller = (seh.triangle.Triangle.getInstance()).getGameController(); if (this.scenario != null) { this.state = maelstrom.scene.SceneState.CREATED; } }; seh.triangle.scene.event.EventScene = v1; seh.triangle.scene.event.EventScene extends maelstrom.scene.EventScript; var v2 = v1.prototype; v2.toString = function () { return 'EventScene'; }; v2.allTransitionsOutDone = function (evt) { (mx.transitions.TransitionManager(evt.target)).removeEventListener('allTransitionsOutDone', this); this.parent.startTransitionIn(); }; v2.play = function () { super.play(); this.onEnterFrame = this.internalMain; }; v2.stop = function () { super.stop(); if (this.message_layer._visible) { this.onEnterFrame = null; } else { this.onEnterFrame = this.internalStop; } }; v2.resume = function () { if (!this.message_layer._visible) { throw new maelstrom.scene.IllegalSceneStateException('!message_layer._visible'); } super.resume(); this.onEnterFrame = this.internalMain; }; v2.terminate = function () { super.terminate(); this.onEnterFrame = null; }; v2.startTransitionIn = function () { this.text_window = maelstrom.ui.TextWindow(this.message_layer.attachMovie('Text_Window', 'text_window', this.message_layer.getNextHighestDepth(), {'_x': 20, '_y': 400})); this.text_window.__set__filters([new flash.filters.DropShadowFilter(1, 45, 0, 1, 0, 0, 255, 1), new flash.filters.GlowFilter(0, 1, 3, 3, 100, 1)]); this.text_window.__set__paddingAll(10); this.line_glyph = this.message_layer.attachMovie('Line', 'line_glyph', this.message_layer.getNextHighestDepth(), {'_visible': false}); this.page_glyph = this.message_layer.attachMovie('Page', 'page_glyph', this.message_layer.getNextHighestDepth(), {'_visible': false}); var v2 = mx.transitions.TransitionManager.start(this, {'type': maelstrom.scene.transition.ContentCover, 'direction': mx.transitions.Transition.IN, 'duration': 0.5, 'easing': mx.transitions.easing.None.easeNone}); return v2.__get__manager(); }; v2.onScenarioFinishedHandler = function (evt) { this.stop(); var v2 = (seh.triangle.Triangle.getInstance()).getSaveData(); if (v2.has_dilleelle_insulted) { this.transition_duration = 1; } this.background_music.stop(); this.startTransitionOut(); }; v2.startTransitionOut = function () { var v2 = mx.transitions.TransitionManager.start(this, {'type': maelstrom.scene.transition.ContentCover, 'direction': mx.transitions.Transition.OUT, 'duration': this.transition_duration, 'easing': mx.transitions.easing.None.easeNone}); return v2.__get__manager(); }; v2.internalMain = function () { var v3 = this.game_controller.getCurrentData(); if (v3 == maelstrom.ui.GameController.X) { if (this.text_window.enabled) { this.text_window.doClick(); } if (this.save_interval == null) { this.save_interval = this.call_interval; this.call_interval = Math.floor(this.call_interval / 2); if (this.interval_id != null) { clearInterval(this.interval_id); this.interval_id = setInterval(this, 'internalInterpret', this.call_interval); } } } else { if (this.save_interval != null) { this.call_interval = this.save_interval; this.save_interval = null; if (this.interval_id != null) { clearInterval(this.interval_id); this.interval_id = setInterval(this, 'internalInterpret', this.call_interval); } } } var v2 = this.game_controller.getPulseData(); if (v2 == maelstrom.ui.GameController.A) { if (this.text_window.enabled) { this.text_window.doClick(); } } else { if (v2 == maelstrom.ui.GameController.START) { this.text_window.enabled = false; this.dispatchEvent({'type': 'onScenarioFinished'}); } else { if (v2 == maelstrom.ui.GameController.Y) { this.message_layer._visible = false; this.stop(); } } } }; v2.internalStop = function () { var v2 = this.game_controller.getPulseData(); if (v2 == maelstrom.ui.GameController.Y) { this.message_layer._visible = true; this.resume(); } }; v1.LINKAGE_ID = '__Packages.seh.triangle.scene.event.EventScene'; v1.CONSTRUCTOR = seh.triangle.scene.event.EventScene; v1.IS_REGISTERED = Object.registerClass(seh.triangle.scene.event.EventScene.LINKAGE_ID, seh.triangle.scene.event.EventScene.CONSTRUCTOR); v2.save_interval = null; v2.transition_duration = 0.5; ASSetPropFlags(seh.triangle.scene.event.EventScene.prototype, null, 1); } #endinitclip } movieClip 1952 __Packages.seh.triangle.scene.mode.main.levels.EisysBuilding3F { #initclip if (!_global.seh) { _global.seh = new Object(); } if (!_global.seh.triangle) { _global.seh.triangle = new Object(); } if (!_global.seh.triangle.scene) { _global.seh.triangle.scene = new Object(); } if (!_global.seh.triangle.scene.mode) { _global.seh.triangle.scene.mode = new Object(); } if (!_global.seh.triangle.scene.mode.main) { _global.seh.triangle.scene.mode.main = new Object(); } if (!_global.seh.triangle.scene.mode.main.levels) { _global.seh.triangle.scene.mode.main.levels = new Object(); } if (!_global.seh.triangle.scene.mode.main.levels.EisysBuilding3F) { var v1 = function (par) { super(par); var v3 = seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.background_layer.attachMovie('Eisys_3F_Hallway', 'Eisys_3F_Hallway', seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.background_layer.getNextHighestDepth()); seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.foreground_layer.attachMovie('Eisys_3F_Hallway_Shadow', 'Eisys_3F_Hallway_Shadow', seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.foreground_layer.getNextHighestDepth()); this.background_width = seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.background_layer._width; this.background_height = seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.background_layer._height; seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.scroll_layer._y = (Stage.height - this.background_height) / 2; v3.HitArea_3F_Hallway_03_StairDown_L._visible = false; v3.HitArea_3F_Hallway_05_StairUp_L._visible = false; v3.HitArea_3F_Hallway_07_President._visible = false; v3.HitArea_3F_Hallway_09_StairDown_R._visible = false; v3.HitArea_3F_Hallway_01._visible = false; v3.HitArea_3F_Hallway_02._visible = false; v3.HitArea_3F_Hallway_04._visible = false; v3.HitArea_3F_Hallway_06._visible = false; v3.HitArea_3F_Hallway_08._visible = false; v3.HitArea_3F_Hallway_10._visible = false; v3.HitArea_3F_Hallway_11._visible = false; v3.HitArea_3F_Hallway_12._visible = false; v3.HitArea_3F_Hallway_13_Plant._visible = false; v3.HitArea_3F_Hallway_14_Plant._visible = false; this.addObstacle(v3.HitArea_3F_Hallway_13_Plant); this.addObstacle(v3.HitArea_3F_Hallway_14_Plant); this.addObstacle(v3.HitArea_3F_Hallway_04); this.addObstacle(v3.HitArea_3F_Hallway_10); this.addObstacle(v3.HitArea_3F_Hallway_01); this.addObstacle(v3.HitArea_3F_Hallway_02); this.addObstacle(v3.HitArea_3F_Hallway_06); this.addObstacle(v3.HitArea_3F_Hallway_08); this.addObstacle(v3.HitArea_3F_Hallway_11); this.addObstacle(v3.HitArea_3F_Hallway_12); this.addObstacle(v3.HitArea_3F_Hallway_03_StairDown_L); this.addObstacle(v3.HitArea_3F_Hallway_05_StairUp_L); var v4 = this.addObstacle(v3.HitArea_3F_Hallway_07_President); this.addObstacle(v3.HitArea_3F_Hallway_09_StairDown_R); this.addLevelExit(v3.HitArea_3F_Hallway_03_StairDown_L, mx.utils.Delegate.create(this, this.changeToEisysBuilding2FLeft)); this.addLevelExit(v3.HitArea_3F_Hallway_05_StairUp_L, mx.utils.Delegate.create(this, this.changeToLanding4F)); this.addLevelExit(v3.HitArea_3F_Hallway_09_StairDown_R, mx.utils.Delegate.create(this, this.changeToEisysBuilding2FRight)); if (this.save_data.has_card03_got) { this.addLevelExit(v3.HitArea_3F_Hallway_07_President, mx.utils.Delegate.create(this, this.changeToPresidentRoom3F)); } else { v4.onRectangleHit = mx.utils.Delegate.create(this, this.onLockedDoorHit); } this.player_character = seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.getHero(); this.addEnemySpawnPosition(32, 65, seh.triangle.action.CharacterDirection.FRONT); this.addEnemySpawnPosition(1312, 65, seh.triangle.action.CharacterDirection.FRONT); this.addSunglasses(160, 109, 200, 100, seh.triangle.action.CharacterDirection.LEFT); this.addSunglasses(820, 98, 200, 100, seh.triangle.action.CharacterDirection.FRONT); this.addSunglasses(1218, 105, 200, 100, seh.triangle.action.CharacterDirection.RIGHT); this.state = maelstrom.scene.SceneState.CREATED; }; seh.triangle.scene.mode.main.levels.EisysBuilding3F = v1; seh.triangle.scene.mode.main.levels.EisysBuilding3F extends seh.triangle.scene.mode.main.detail.ActionScene; var v2 = v1.prototype; v2.toString = function () { return 'EisysBuilding3F'; }; v2.play = function () { super.play(); this.onEnterFrame = this.internalScroll; }; v2.terminate = function () { super.terminate(); seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.background_layer.Eisys_3F_Hallway.removeMovieClip(); seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.foreground_layer.Eisys_3F_Hallway_Shadow.removeMovieClip(); }; v2.onLockedDoorHit = function (htyp, rctp, rcbtm, rclt, rcrt) { if (htyp == seh.triangle.action.hit.HitType.PLAYER_MOVE) { this.parent.stop(); var v3 = seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.getRootMovieClip(); var v2 = seh.triangle.scene.mode.main.levels.detail.LockedDoor(v3.attachMovie(seh.triangle.scene.mode.main.levels.detail.LockedDoor.LINKAGE_ID, 'LockedDoor', v3.getNextHighestDepth(), {'parent': this})); v2.str_0 = 'Damn it all!'; v2.str_1 = 'This one is locked too!'; v2.startTransitionIn(); } }; v2.changeToEisysBuilding2FLeft = function (htyp, rctp, rcbtm, rclt, rcrt) { if (htyp == seh.triangle.action.hit.HitType.PLAYER_MOVE) { this.allTransitionsOutDone = function (evt) { super.allTransitionsOutDone(evt); var v3 = new seh.triangle.scene.mode.main.levels.EisysBuilding2F(this.parent); this.player_character._x = 100; this.player_character._y = 65; this.player_character.update(); this.player_character.setDirection(seh.triangle.action.CharacterDirection.FRONT); v3.adjustViewPosition(this.player_character.stage_x, this.player_character.stage_y); v3.startTransitionIn(); }; this.parent.stop(); this.parent.playStairSE(); this.startTransitionOut(); } }; v2.changeToLanding4F = function (htyp, rctp, rcbtm, rclt, rcrt) { if (htyp == seh.triangle.action.hit.HitType.PLAYER_MOVE) { this.allTransitionsOutDone = function (evt) { super.allTransitionsOutDone(evt); var v3 = new seh.triangle.scene.mode.main.levels.Landing4F(this.parent); this.player_character._x = 25; this.player_character._y = 64; this.player_character.update(); this.player_character.setDirection(seh.triangle.action.CharacterDirection.FRONT); v3.adjustViewPosition(this.player_character.stage_x, this.player_character.stage_y); v3.startTransitionIn(); }; this.parent.stop(); this.parent.playStairSE(); this.startTransitionOut(); } }; v2.changeToPresidentRoom3F = function (htyp, rctp, rcbtm, rclt, rcrt) { if (htyp == seh.triangle.action.hit.HitType.PLAYER_MOVE) { this.allTransitionsOutDone = function (evt) { super.allTransitionsOutDone(evt); var v3 = new seh.triangle.scene.mode.main.levels.PresidentsRoom3F(this.parent); this.player_character._x = 185; this.player_character._y = 410; this.player_character.update(); this.player_character.setDirection(seh.triangle.action.CharacterDirection.BACK); v3.adjustViewPosition(this.player_character.stage_x, this.player_character.stage_y); v3.startTransitionIn(); }; this.parent.stop(); this.startTransitionOut(); } }; v2.changeToEisysBuilding2FRight = function (htyp, rctp, rcbtm, rclt, rcrt) { if (htyp == seh.triangle.action.hit.HitType.PLAYER_MOVE) { this.allTransitionsOutDone = function (evt) { super.allTransitionsOutDone(evt); var v3 = new seh.triangle.scene.mode.main.levels.EisysBuilding2F(this.parent); this.player_character._x = 1507; this.player_character._y = 65; this.player_character.update(); this.player_character.setDirection(seh.triangle.action.CharacterDirection.FRONT); v3.adjustViewPosition(this.player_character.stage_x, this.player_character.stage_y); v3.startTransitionIn(); }; this.parent.stop(); this.parent.playStairSE(); this.startTransitionOut(); } }; ASSetPropFlags(seh.triangle.scene.mode.main.levels.EisysBuilding3F.prototype, null, 1); } #endinitclip } movieClip 1953 __Packages.seh.triangle.scene.mode.main.levels.Landing4F { #initclip if (!_global.seh) { _global.seh = new Object(); } if (!_global.seh.triangle) { _global.seh.triangle = new Object(); } if (!_global.seh.triangle.scene) { _global.seh.triangle.scene = new Object(); } if (!_global.seh.triangle.scene.mode) { _global.seh.triangle.scene.mode = new Object(); } if (!_global.seh.triangle.scene.mode.main) { _global.seh.triangle.scene.mode.main = new Object(); } if (!_global.seh.triangle.scene.mode.main.levels) { _global.seh.triangle.scene.mode.main.levels = new Object(); } if (!_global.seh.triangle.scene.mode.main.levels.Landing4F) { var v1 = function (par) { super(par); var v3 = seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.background_layer.attachMovie('Eisys_4F_Room', 'Eisys_4F_Room', seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.background_layer.getNextHighestDepth()); seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.foreground_layer.attachMovie('Eisys_4F_Room_Shadow', 'Eisys_4F_Room_Shadow', seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.foreground_layer.getNextHighestDepth()); this.background_width = seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.background_layer._width; this.background_height = seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.background_layer._height; seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.scroll_layer._x = (Stage.width - this.background_width) / 2; seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.scroll_layer._y = (Stage.height - this.background_height) / 2; v3.HitArea_4F_Room_01_Entrance._visible = false; v3.HitArea_4F_Room_04_StairDown._visible = false; v3.HitArea_4F_Room_02._visible = false; v3.HitArea_4F_Room_03._visible = false; v3.HitArea_4F_Room_05._visible = false; v3.HitArea_4F_Room_06._visible = false; v3.HitArea_4F_Room_07._visible = false; v3.HitArea_4F_Room_08._visible = false; this.addObstacle(v3.HitArea_4F_Room_05); this.addObstacle(v3.HitArea_4F_Room_02); this.addObstacle(v3.HitArea_4F_Room_03); this.addObstacle(v3.HitArea_4F_Room_06); this.addObstacle(v3.HitArea_4F_Room_07); this.addObstacle(v3.HitArea_4F_Room_08); this.addObstacle(v3.HitArea_4F_Room_01_Entrance); this.addObstacle(v3.HitArea_4F_Room_04_StairDown); this.addLevelExit(v3.HitArea_4F_Room_01_Entrance, mx.utils.Delegate.create(this, this.changeToEisysBuildingRooftop)); this.addLevelExit(v3.HitArea_4F_Room_04_StairDown, mx.utils.Delegate.create(this, this.changeToEisysBuilding3F)); this.player_character = seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.getHero(); if (this.save_data.last_boss) { this.parent.stopBGM(); } this.state = maelstrom.scene.SceneState.CREATED; }; seh.triangle.scene.mode.main.levels.Landing4F = v1; seh.triangle.scene.mode.main.levels.Landing4F extends seh.triangle.scene.mode.main.detail.ActionScene; var v2 = v1.prototype; v2.toString = function () { return 'Landing4F'; }; v2.terminate = function () { super.terminate(); seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.background_layer.Eisys_4F_Room.removeMovieClip(); seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.foreground_layer.Eisys_4F_Room_Shadow.removeMovieClip(); }; v2.changeToEisysBuildingRooftop = function (htyp, rctp, rcbtm, rclt, rcrt) { if (htyp == seh.triangle.action.hit.HitType.PLAYER_MOVE) { this.allTransitionsOutDone = function (evt) { super.allTransitionsOutDone(evt); this.parent.playBGM(null); var v3 = new seh.triangle.scene.mode.main.levels.EisysBuildingRooftop(this.parent); this.player_character._x = 112; this.player_character._y = 174; this.player_character.update(); this.player_character.setDirection(seh.triangle.action.CharacterDirection.FRONT); v3.adjustViewPosition(this.player_character.stage_x, this.player_character.stage_y); v3.startTransitionIn(); }; this.parent.stop(); this.startTransitionOut(); } }; v2.changeToEisysBuilding3F = function (htyp, rctp, rcbtm, rclt, rcrt) { if (htyp == seh.triangle.action.hit.HitType.PLAYER_MOVE) { this.allTransitionsOutDone = function (evt) { super.allTransitionsOutDone(evt); this.parent.playBGM(null); var v3 = new seh.triangle.scene.mode.main.levels.EisysBuilding3F(this.parent); this.player_character._x = 100; this.player_character._y = 65; this.player_character.update(); this.player_character.setDirection(seh.triangle.action.CharacterDirection.FRONT); v3.adjustViewPosition(this.player_character.stage_x, this.player_character.stage_y); v3.startTransitionIn(); }; this.parent.stop(); this.parent.playStairSE(); this.startTransitionOut(); } }; ASSetPropFlags(seh.triangle.scene.mode.main.levels.Landing4F.prototype, null, 1); } #endinitclip } movieClip 1954 __Packages.seh.triangle.scene.mode.main.levels.EisysBuildingRooftop { #initclip if (!_global.seh) { _global.seh = new Object(); } if (!_global.seh.triangle) { _global.seh.triangle = new Object(); } if (!_global.seh.triangle.scene) { _global.seh.triangle.scene = new Object(); } if (!_global.seh.triangle.scene.mode) { _global.seh.triangle.scene.mode = new Object(); } if (!_global.seh.triangle.scene.mode.main) { _global.seh.triangle.scene.mode.main = new Object(); } if (!_global.seh.triangle.scene.mode.main.levels) { _global.seh.triangle.scene.mode.main.levels = new Object(); } if (!_global.seh.triangle.scene.mode.main.levels.EisysBuildingRooftop) { var v1 = function (par) { super(par); var v4; if (this.save_data.last_boss) { this.parent.playBGM('BGM_004'); v4 = seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.background_layer.attachMovie('Eisys_4F_Roof_02', 'Eisys_4F_Roof', seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.background_layer.getNextHighestDepth()); seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.foreground_layer.attachMovie('Eisys_4F_Roof_Up_02', 'Eisys_4F_Roof_Up', seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.foreground_layer.getNextHighestDepth()); } else { v4 = seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.background_layer.attachMovie('Eisys_4F_Roof', 'Eisys_4F_Roof', seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.background_layer.getNextHighestDepth()); seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.foreground_layer.attachMovie('Eisys_4F_Roof_Up', 'Eisys_4F_Roof_Up', seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.foreground_layer.getNextHighestDepth()); } this.background_width = seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.background_layer._width; this.background_height = seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.background_layer._height; seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.scroll_layer._x = (Stage.width - this.background_width) / 2; seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.scroll_layer._y = (Stage.height - this.background_height) / 2; v4.HitArea_4F_Roof_04_Entrance._visible = false; v4.HitArea_4F_Roof_01._visible = false; v4.HitArea_4F_Roof_02._visible = false; v4.HitArea_4F_Roof_03._visible = false; v4.HitArea_4F_Roof_05._visible = false; v4.HitArea_4F_Roof_06._visible = false; v4.HitArea_4F_Roof_07._visible = false; v4.HitArea_4F_Roof_08._visible = false; v4.HitArea_4F_Roof_09._visible = false; v4.HitArea_4F_Roof_10._visible = false; this.addObstacle(v4.HitArea_4F_Roof_06); this.addObstacle(v4.HitArea_4F_Roof_01); this.addObstacle(v4.HitArea_4F_Roof_02); this.addObstacle(v4.HitArea_4F_Roof_03); this.addObstacle(v4.HitArea_4F_Roof_05); this.addObstacle(v4.HitArea_4F_Roof_07); this.addObstacle(v4.HitArea_4F_Roof_08); this.addObstacle(v4.HitArea_4F_Roof_09); this.addObstacle(v4.HitArea_4F_Roof_10); this.addObstacle(v4.HitArea_4F_Roof_04_Entrance); this.addLevelExit(v4.HitArea_4F_Roof_04_Entrance, mx.utils.Delegate.create(this, this.changeToLanding4F)); this.escape_points = new Array(); this.escape_points.push(new flash.geom.Point(62, 230)); this.escape_points.push(new flash.geom.Point(62, 485)); this.escape_points.push(new flash.geom.Point(702, 500)); this.escape_points.push(new flash.geom.Point(702, 230)); this.escape_points.push(new flash.geom.Point(280, 385)); this.escape_points.push(new flash.geom.Point(500, 485)); this.escape_points.push(new flash.geom.Point(220, 100)); this.escape_points.push(new flash.geom.Point(700, 100)); this.escape_points.push(new flash.geom.Point(400, 235)); this.player_character = seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.getHero(); if (this.save_data.last_boss) { this.dille = seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.createDille(); this.dille._x = 416; this.dille._y = 68; this.dille.addEventListener('onBossBattleStarted', this); this.dille.addEventListener('onBossBattleFinished', this); this.addSceneListener(this.dille); this.dille_health_icon = seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.getDilleHealthIcon(); seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.setHelathIcon(this.dille.getHealth(), this.dille_health_icon); this.addSceneListener(this.dille_health_icon); this.dille.setEscapeSense(100, 100); var v3 = 0; while (v3 < this.escape_points.length) { seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.scroll_layer.localToGlobal(this.escape_points[v3]); this.dille.addEscapePoint(this.escape_points[v3]); ++v3; } this.elle = seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.createElle(); this.elle._x = 353; this.elle._y = 68; this.elle.addEventListener('onBossBattleStarted', this); this.elle.addEventListener('onBossBattleFinished', this); this.addSceneListener(this.elle); this.elle_health_icon = seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.getElleHealthIcon(); seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.setHelathIcon(this.elle.getHealth(), this.elle_health_icon); this.addSceneListener(this.elle_health_icon); this.elle.setEscapeSense(100, 100); v3 = 0; while (v3 < this.escape_points.length) { seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.scroll_layer.localToGlobal(this.escape_points[v3]); this.elle.addEscapePoint(this.escape_points[v3]); ++v3; } this.dille.addEventListener('onBossBattleStarted', this.elle); this.elle.addEventListener('onBossBattleStarted', this.dille); } this.state = maelstrom.scene.SceneState.CREATED; }; seh.triangle.scene.mode.main.levels.EisysBuildingRooftop = v1; seh.triangle.scene.mode.main.levels.EisysBuildingRooftop extends seh.triangle.scene.mode.main.detail.ActionScene; var v2 = v1.prototype; v2.toString = function () { return 'EisysBuildingRooftop'; }; v2.terminate = function () { super.terminate(); seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.background_layer.Eisys_4F_Roof.removeMovieClip(); seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.foreground_layer.Eisys_4F_Roof_Up.removeMovieClip(); if (this.dille != null && this.elle != null) { this.removeSceneListener(this.dille); this.dille.removeMovieClip(); this.removeSceneListener(this.dille_health_icon); seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.removeHealthIcon(this.dille_health_icon); this.dille_health_icon.removeMovieClip(); this.removeSceneListener(this.elle); this.elle.removeMovieClip(); this.removeSceneListener(this.elle_health_icon); seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.removeHealthIcon(this.elle_health_icon); this.elle_health_icon.removeMovieClip(); } }; v2.onBossBattleStarted = function (evt) { this.parent.stop(); var v2 = (this.collision_list.getHitData(seh.triangle.action.hit.HitType.LEVEL_EXIT)).getListIterator(); while (v2.hasNext()) { (seh.triangle.action.hit.HitData(v2.next())).disable(); } var v3 = seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.getRootMovieClip(); var v5 = new seh.triangle.scene.event.scenarios.DilleElleEncounter(); var v4 = seh.triangle.scene.event.Encounter(v3.attachMovie(seh.triangle.scene.event.Encounter.LINKAGE_ID, 'Encounter', v3.getNextHighestDepth(), {'parent': this, 'scenario': v5.scenario})); v4.addEventScriptListener(this); v4.startTransitionIn(); }; v2.onBossBattleFinished = function (oevt) { if (!this.dille.isAlive() && !this.elle.isAlive()) { this.allTransitionsOutDone = function (ievt) { (mx.transitions.TransitionManager(ievt.target)).removeEventListener('allTransitionsOutDone', this); this.parent.stopBGM(); var v3 = (seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.getRootMovieClip())._parent; var v4 = new seh.triangle.scene.event.scenarios.DilleElleEvent(); var v2 = seh.triangle.scene.event.EventScene(v3.attachMovie(seh.triangle.scene.event.EventScene.LINKAGE_ID, 'EventScene', v3.getNextHighestDepth(), {'parent': this, 'scenario': v4.scenario})); v2.addEventScriptListener(this); v2.startTransitionIn(); }; this.save_data.has_dilleelle_insulted = true; this.parent.stop(); this.startTransitionOut(); } }; v2.onScenarioFinished = function (evt) { if (this.dille.isAlive() && this.elle.isAlive()) { this.parent.playBGM('BGM_005'); } else { this.save_data.data.gallery_dilleelle = true; var v2 = (this.collision_list.getHitData(seh.triangle.action.hit.HitType.LEVEL_EXIT)).getListIterator(); while (v2.hasNext()) { (seh.triangle.action.hit.HitData(v2.next())).enable(); } } }; v2.startTransitionIn = function () { if (this.save_data.has_dilleelle_insulted) { this.save_data.dl_point = (seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.getDLPoint()).value; var v4 = this.save_data.dl_point; var v5 = this.save_data.attack_power_got; var v3 = this.save_data.defense_power_got; (seh.triangle.Triangle.getInstance()).clearActionSaveData(); this.save_data.dl_point = v4; this.save_data.attack_power_got = v5; this.save_data.defense_power_got = v3; this.parent.gotoAndPlay(1); } else { var v2 = mx.transitions.TransitionManager.start(seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.getRootMovieClip(), {'type': maelstrom.scene.transition.ContentCover, 'direction': mx.transitions.Transition.IN, 'duration': 0.5, 'easing': mx.transitions.easing.None.easeNone}); (v2.__get__manager()).addEventListener('allTransitionsInDone', this); return v2.__get__manager(); } }; v2.changeToLanding4F = function (htyp, rctp, rcbtm, rclt, rcrt) { if (htyp == seh.triangle.action.hit.HitType.PLAYER_MOVE) { this.allTransitionsOutDone = function (evt) { super.allTransitionsOutDone(evt); var v3 = new seh.triangle.scene.mode.main.levels.Landing4F(this.parent); this.player_character._x = 55; this.player_character._y = 122; this.player_character.update(); this.player_character.setDirection(seh.triangle.action.CharacterDirection.BACK); v3.adjustViewPosition(this.player_character.stage_x, this.player_character.stage_y); v3.startTransitionIn(); }; this.parent.stop(); this.startTransitionOut(); } }; v2.dille = null; v2.elle = null; ASSetPropFlags(seh.triangle.scene.mode.main.levels.EisysBuildingRooftop.prototype, null, 1); } #endinitclip } movieClip 1955 __Packages.seh.triangle.scene.event.scenarios.DilleElleEncounter { #initclip if (!_global.seh) { _global.seh = new Object(); } if (!_global.seh.triangle) { _global.seh.triangle = new Object(); } if (!_global.seh.triangle.scene) { _global.seh.triangle.scene = new Object(); } if (!_global.seh.triangle.scene.event) { _global.seh.triangle.scene.event = new Object(); } if (!_global.seh.triangle.scene.event.scenarios) { _global.seh.triangle.scene.event.scenarios = new Object(); } if (!_global.seh.triangle.scene.event.scenarios.DilleElleEncounter) { var v1 = function () { var v2 = '<mc id=\'Event_DilleElle_Stand_001\' /><trans layer=\'foreground\' direction=\'IN\' duration=\'0.5\' /><voice id=\'Voice_Dille_Event_001\' />"DLsite.com!"<l /><voice id=\'Voice_Elle_Event_001\' />"Welcome to DLsite Maniax!"<p /><voice id=\'Voice_Dille_Event_002\' />"It is you who called us second hand merchandise,<r /> wasn\'t it?"<l /><voice id=\'Voice_Elle_Event_002\' />"We\'re going to have to punish you for that!"<p />'; this.scenario = new XML(v2); }; seh.triangle.scene.event.scenarios.DilleElleEncounter = v1; var v2 = v1.prototype; v2.toString = function () { return 'DilleElleEncounter'; }; ASSetPropFlags(seh.triangle.scene.event.scenarios.DilleElleEncounter.prototype, null, 1); } #endinitclip } movieClip 1956 __Packages.seh.triangle.scene.event.Encounter { #initclip if (!_global.seh) { _global.seh = new Object(); } if (!_global.seh.triangle) { _global.seh.triangle = new Object(); } if (!_global.seh.triangle.scene) { _global.seh.triangle.scene = new Object(); } if (!_global.seh.triangle.scene.event) { _global.seh.triangle.scene.event = new Object(); } if (!_global.seh.triangle.scene.event.Encounter) { var v1 = function () { super(); this.game_controller = (seh.triangle.Triangle.getInstance()).getGameController(); if (this.scenario != null) { this.state = maelstrom.scene.SceneState.CREATED; } }; seh.triangle.scene.event.Encounter = v1; seh.triangle.scene.event.Encounter extends maelstrom.scene.EventScript; var v2 = v1.prototype; v2.toString = function () { return 'Encounter'; }; v2.allTransitionsInDone = function (evt) { (mx.transitions.TransitionManager(evt.target)).removeEventListener('allTransitionsInDone', this); this.parent.resume(); }; v2.allTransitionsOutDone = function (evt) { (mx.transitions.TransitionManager(evt.target)).removeEventListener('allTransitionsOutDone', this); this.play(); }; v2.play = function () { this.text_window = maelstrom.ui.TextWindow(this.message_layer.attachMovie('Text_Window', 'text_window', this.message_layer.getNextHighestDepth(), {'_x': 20, '_y': 400})); this.text_window.__set__filters([new flash.filters.DropShadowFilter(1, 45, 0, 1, 0, 0, 255, 1), new flash.filters.GlowFilter(0, 1, 3, 3, 100, 1)]); this.text_window.__set__paddingAll(10); this.line_glyph = this.message_layer.attachMovie('Line', 'line_glyph', this.message_layer.getNextHighestDepth(), {'_visible': false}); this.page_glyph = this.message_layer.attachMovie('Page', 'page_glyph', this.message_layer.getNextHighestDepth(), {'_visible': false}); super.play(); this.onEnterFrame = this.internalMain; }; v2.stop = function () { super.stop(); if (this.message_layer._visible) { this.onEnterFrame = null; } else { this.onEnterFrame = this.internalStop; } }; v2.resume = function () { if (!this.message_layer._visible) { throw new maelstrom.scene.IllegalSceneStateException('!message_layer._visible'); } super.resume(); this.onEnterFrame = this.internalMain; }; v2.terminate = function () { super.terminate(); this.onEnterFrame = null; }; v2.startTransitionIn = function () { var v2 = new mx.transitions.TransitionManager(this.background_layer); v2.addEventListener('allTransitionsOutDone', this); v2.startTransition({'type': maelstrom.scene.transition.ContentCover, 'direction': mx.transitions.Transition.OUT, 'duration': 0.5, 'easing': mx.transitions.easing.None.easeNone, 'alpha': 50}); return v2; }; v2.startTransitionOut = function () { this.foreground_layer.removeMovieClip(); var v2 = new mx.transitions.TransitionManager(this.background_layer); v2.addEventListener('allTransitionsInDone', this); v2.startTransition({'type': maelstrom.scene.transition.ContentCover, 'direction': mx.transitions.Transition.IN, 'duration': 0.5, 'easing': mx.transitions.easing.None.easeNone, 'alpha': 50}); return v2; }; v2.internalMain = function () { var v2 = this.game_controller.getPulseData(); if (v2 == maelstrom.ui.GameController.A) { if (this.text_window.enabled) { this.text_window.doClick(); } } else { if (v2 == maelstrom.ui.GameController.Y) { this.message_layer._visible = false; this.stop(); } } }; v2.internalStop = function () { var v2 = this.game_controller.getPulseData(); if (v2 == maelstrom.ui.GameController.Y) { this.message_layer._visible = true; this.resume(); } }; v1.LINKAGE_ID = '__Packages.seh.triangle.scene.event.Encounter'; v1.CONSTRUCTOR = seh.triangle.scene.event.Encounter; v1.IS_REGISTERED = Object.registerClass(seh.triangle.scene.event.Encounter.LINKAGE_ID, seh.triangle.scene.event.Encounter.CONSTRUCTOR); ASSetPropFlags(seh.triangle.scene.event.Encounter.prototype, null, 1); } #endinitclip } movieClip 1957 __Packages.seh.triangle.scene.event.scenarios.DilleElleEvent { #initclip if (!_global.seh) { _global.seh = new Object(); } if (!_global.seh.triangle) { _global.seh.triangle = new Object(); } if (!_global.seh.triangle.scene) { _global.seh.triangle.scene = new Object(); } if (!_global.seh.triangle.scene.event) { _global.seh.triangle.scene.event = new Object(); } if (!_global.seh.triangle.scene.event.scenarios) { _global.seh.triangle.scene.event.scenarios = new Object(); } if (!_global.seh.triangle.scene.event.scenarios.DilleElleEvent) { var v1 = function () { var v2 = '<trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_DilleElle_Stand_001\' /><trans direction=\'IN\' duration=\'0.5\' /><voice id=\'Voice_Dille_001\' />"Whew... Okay, this isn\'t good..."<l /><r /><voice id=\'Voice_Elle_001\' />"Well, I guess I lost, so there\'s nothing<r />I can do now."<l /><trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_DilleElle_Stand_003\' /><trans direction=\'IN\' duration=\'0.5\' /><r /><voice id=\'Voice_Dille_002\' />"Well then, let\'s get started..."<p /><playbgm id=\'BGM_016\' /><trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_DilleElle_S01_006\' /><trans direction=\'IN\' duration=\'0.5\' />After saying that, the two of them get down on their <r />knees in front of me.<r /><font size=\'30\' />I can\'t believe I get to have sex with Dille-chan and <r />Elle-chan! This is just great!!<font size=\'22\' /><p />My cock gets hard right away, because I\'m really looking<r />forward to what comes next.<l /><voice id=\'Voice_Dille_003\' />"Hee hee... You\'re so hard I can clearly tell even<r />through your clothes..."<l />Dille puts her hand on my crotch and slides it up and down...<r />Whoa... Her hand is so soft... It feels really nice...<p /><voice id=\'Voice_Elle_002\' />"Come on, take your clothes off already... I want to <r />suck on that cock of yours..."<l />It seems that Elle can\'t wait any longer, because she<r />reaches out to my belt...<r />Ughh... She\'s so damn cute...<p /><voice id=\'Voice_Dille_004\' />"Mmm... Okay, I\'m taking off your clothes..."<l /><r /><voice id=\'Voice_Elle_003\' />"Oof! Here we go!"<p />They take off my trousers with amazing skill...<r />Then Dille puts her hand on my trunks.<l />She slowly pulls them down, and from underneath<r />my hard cock appears.<p /><trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_DilleElle_S01_001\' /><trans direction=\'IN\' duration=\'0.5\' />Their eyes are fixed on my cock, which is already standing <r />fully erect. It\'s really turning me on that my cock is <r />exposed right in front of them...<l /><voice id=\'Voice_Dille_005\' />"Oooh... It\'s awesome..."<l /><voice id=\'Voice_Elle_004\' />"Wow... Your cock is so hard, I wouldn\'t be surprised if it<r />was going to burst..."<p />The two girls look at my cock with a keen interest.<r />Their hot breaths brush against my cock... <r />I can\'t stand this!<l /><voice id=\'Voice_Elle_005\' />"Ahaha... Look, you\'re leaking Cowper\'s fluid... Ahn...<r />It\'s smelly...<r />I bet you didn\'t wash it, did you? Your cock..."<p /><voice id=\'Voice_Dille_006\' />"Hee hee... We love smelly, dirty cocks, you know..."<l />Dille\'s white hand gently touches my cock...<r />Elle reaches out and wraps her fingers around it as well.<l /><r /><voice id=\'Voice_Elle_006\' />"Ahhhn... My hand is all sticky with your juice..."<p />Ohhhhhhh!<r />Getting a hand job from them feels great!!<l /><voice id=\'Voice_Dille_007\' />"Hee hee... Mmm, ahh... I\'ll clean your<r />dirty cock for you..."<l /><voice id=\'Voice_Elle_007\' />"Ehehe... Okay, I\'m going to lick it too... Aahn...<r />Your pre-cum is so delicious..."<p />Ohhhhhhh!<r />Their cute little tongues are crawling over my cock.<r />My cock twitches in response to that.<l />Ahhh, Dille-chan and Elle-chan are licking my cock, and <r />it\'s absolutely fantastic...<p /><voice id=\'Voice_Dille_008\' />"Hee hee... Such a cute cock..."<l />Ohhhh!<r />Dille starts to rub my glans with her fingertips...<r />The delicate friction makes me moan without realizing it.<p /><voice id=\'Voice_Dille_009\' />"Nhh... Ahh... Mggg..."<l /><voice id=\'Voice_Elle_008\' />"Aahhn... Stop stealing his cock away from me..."<l /><trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_DilleElle_S01_002\' /><trans direction=\'IN\' duration=\'0.5\' />This time, Dille takes my cock into her mouth and slides her lips down all the way to the root.<r />Ohhhhh... Then, she starts deep throating me,<r />making repeated, nasty noises...<p /><font size=\'30\' />Urgh... This is great, Dille\'s face looks so slutty as<r />she sucks my cock...<font size=\'22\' /><l /><r /><voice id=\'Voice_Dille_010\' />"Mhaa... Your cock tastes so good... I can\'t stop <r />doing it... Mmm... Ahhh..."<p />Ohhhhh... Dille\'s movements are starting to speed up.<r />I can hear the sticky, wet sounds as she repeatedly <r />throats me...<r />The sensation is making my body shiver.<l /><voice id=\'Voice_Dille_011\' />"Nhaa... Mmm... Ahhh... Hee hee..."<p />Dille gives me a bewitching smile. She\'s clearly enjoying my<r />reaction.<r />Ouhhhhhh... Oh crap... I\'m going to come if this keeps up...<p /><voice id=\'Voice_Dille_012\' />"Hee hee... You don\'t have to hold it in...<r />Just come into my mouth... Mmm... Ahh... <r />Give me lots of semen..."<p />Ohhh... Dille-chan is so cute...<l /><font size=\'30\' />Okay, then I\'m going to come, as you requested!<r />I\'m going to come into your mouth as if it was your pussy,<r />Dille-chan!!<font size=\'22\' /><l />What Dille said is really making me want to blow my load.<p /><voice id=\'Voice_Dille_013\' />"Aahhn... Come, come!! Give me all of your cum,<r />spray it all over me..."<p /><trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_DilleElle_S01_003\' /><trans direction=\'IN\' duration=\'0.5\' /><effect id=\'Effect_01\' /><font size=\'30\' />Ohhhhhhh... Ohhhhh!!<r />I\'m coming, I\'m coming! My semen is coming out...<font size=\'22\' /><l />Ohh! Ohh! Ohhh! My cock is throbbing over and over.<r />At the same time, a large amount of sperm bursts forth <r />from the glans, and flows into Dille\'s oral cavity...<p /><voice id=\'Voice_Dille_014\' />"Mmm... Mggg... Ahh... Such thick and sticky <r />semen... And there\'s such a lot of it too... Mmm..."<l />All the semen that\'s coming out of my cock is amassing <r />within Dille\'s mouth.<p /><voice id=\'Voice_Dille_015\' />"Mmmm..."<l />Once Dille is sure that I\'m done ejaculating, she gives me <r />a voluptuous smile. Then she slowly pulls her mouth away...<l />My cock slips out of her mouth with a slurping noise.<r />Every last drop of my semen remains behind in her mouth.<p /><voice id=\'Voice_Dille_016\' />"Mmm... Ahh..."<l />Dille moves my semen around in her mouth for a little while...<r />It seems that she wants to savor the taste for a <r />while before swallowing it...<l />Ahhh, Dille-chan, you\'re so incredibly sexy...<p /><trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_DilleElle_S01_004\' /><trans direction=\'IN\' duration=\'0.5\' /><voice id=\'Voice_Elle_009\' />"Aahn... It\'s not fair that Dille-chan gets to have all <r />the fun...<r />It\'s my turn next... Aha, your cock milk smells so bad...<r />...Mmm, ahhh..."<p />Now that my cock is free, Elle takes her chance to suck it <r />into her mouth.<l /><font size=\'30\' />Ohhhh! Elle-chan, your oral pussy feels so good...<font size=\'22\' /><r />Inside of Elle\'s mouth, my cock quickly gets back to its former hardness.<p /><voice id=\'Voice_Elle_010\' />"Nhaahn... Mmm... Look at how<r />lively your cock has become..."<p />Ohhhh... I can\'t believe how slutty Elle looks when she\'s<r />sucking on my cock like that...<l /><font size=\'30\' />Ahhhh... That feels great... Elle-chan, I love that horny <r />look on your face!<font size=\'22\' /><p /><voice id=\'Voice_Elle_011\' />"Hahh... Nhaa... Mmmhaa..."<l />Elle violently goes at it, making nasty squelching noises in the process.<r />Ahhh... It\'s so good...<l />I\'m about to come... I\'m going to give Elle-chan <r />a lot of semen, too...!<p /><voice id=\'Voice_Elle_012\' />"Mmm... Mmmfff... Ahhh... I\'m so glad... <r />I want a lot of cock milk from you..."<p /><font size=\'30\' />Ohhhh!<r />I\'m coming, I\'m gonna pump you full of my semen, <r />Elle-chan!<font size=\'22\' /><r />The next moment, my cock once again lets loose.<p /><trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_DilleElle_S01_005\' /><trans direction=\'IN\' duration=\'0.5\' /><effect id=\'Effect_01\' /><voice id=\'Voice_Elle_013\' />"Mffff! Mmm... Mmm... Haaahh... Oh wow, so much<r />cock milk came out..."<p />From the tip of my cock, a large amount of semen shoots <r />into Elle\'s mouth...<l />...Whew.<r />After I\'m done ejaculating,<r />I slowly pull my cock out of her mouth.<p /><trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_DilleElle_S01_007\' /><trans direction=\'IN\' duration=\'0.5\' /><voice id=\'Voice_Elle_014\' />"Mmm... Ahh... Hahh... Hee hee..."<l />Elle and Dille both have my semen in their mouths now.<r />They move it around, enjoying the taste.<r />Sometimes, some hot air leaks out from between <r />their lips...<p /><voice id=\'Voice_Elle_015\' />"Dille-chan, let\'s share... Mmm...<r />Mhaa..."<l /><r /><voice id=\'Voice_Dille_017\' />"Mfff... Mmhaaa..."<p />Ohhh!<r />They put their arms around each other and press their <r />lips together.<l />They lust after each other\'s lips, and let the semen in their<r />mouths mingle by pouring it into each other\'s mouths...<p />The sound of their lips sliding over each other and their <r />swallowing can be heard from quite far away...<p />Sometimes, semen mixed with saliva escapes from the gap <r />between their mouths.<r />But the girls don\'t pay attention to it. They\'re engrossed <r />in entwining their tongues.<l />Ohhhh...<r />I can\'t help but swallow as I watch them go at it...<p /><voice id=\'Voice_Elle_016\' />"Ahhh... We\'re all out of cock milk..."<l /><voice id=\'Voice_Dille_018\' />"Mmm... That was delicious..."<l /><voice id=\'Voice_Elle_017\' />"Hey... Can you shoot your cum over us next? I want<r />to feel your cock milk on my skin..."<l /><voice id=\'Voice_Dille_019\' />"Ahh... That\'s a good idea... Hey, shower us<r />with your sperm..."<p />Humm, they want me to come on their bodies, now...<l /><voice id=\'Voice_Elle_018\' />"I want to look at your cock when you come...<r />I want you to squirt out your cock milk... And shoot it all <r />over me..."<l /><voice id=\'Voice_Dille_020\' />"Ahhn... I want to watch your cock come too... I want you<r />to spray your thick, smelly sperm all over my body..."<p />Even as I hesitate, the girls start using even more obscene <r />language.<r />Their faces are set in an expression of lust, and they are <r />panting with hot breaths.<r />From their mouths, trails of semen and saliva run down and <r />dirty their bodies.<p />Urgh... This is so erotic...<r />Just looking at the two of them is enough to make my cock <r />halfway hard again.<p /><voice id=\'Voice_Elle_019\' />"Ahaha... Your cock seems to agree with us..."<l />Urgh... I can\'t say no anymore...<r /><font size=\'30\' />Okay, then I\'m going to shower you, just like you want!<font size=\'22\' /><p /><trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_DilleElle_S01_009\' /><trans direction=\'IN\' duration=\'0.5\' />I was a little hesitant before, but seeing how horny the <r />girls are, that<r />hesitation quickly disappears.<r />As I answer them, I thrust my halfway erect cock in front of their eyes.<p /><voice id=\'Voice_Dille_021\' />"Mmhh... Well then... Mmm... Mhaa...<r />Elle-chan, you take that side..."<l /><r /><voice id=\'Voice_Elle_020\' />"Okay... Mhahh, mmm... Ahh..."<p />They take positions on either side of me, and run their <r />tongues over my rod.<r />They stimulate my glans and my balls with their fingers.<l />Ahh... This feels really good...<r />I love getting to shower them with semen! It\'s so great<r />that they\'ll be covered in it in the end!<p /><voice id=\'Voice_Dille_022\' />"Ahh... Such a hard cock... I think I\'m getting addicted to <r />this... Nhaa..."<l /><voice id=\'Voice_Elle_021\' />"Look at how stiff it is... If this went into my pussy,<r />I\'m pretty sure I\'d go crazy..."<l />Ughh... This is just too great...<r />Ahh, these girls are both such sluts!<p />Thanks to their skillful stimulation, I quickly reach my <r />limit...<r />Okay then, I\'m gonna come, I\'m coming!<r />I\'m gonna shower you good!!<p />I take a step back so I can spray it over them, and start<r />rubbing my own rod. <r />Dille and Elle give me horny smiles as<r />they wait for the moment when the semen erupts <r />from my cock.<p /><trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_DilleElle_S01_008\' /><trans direction=\'IN\' duration=\'0.5\' /><effect id=\'Effect_01\' /><font size=\'30\' />Ohhh... I\'m coming, I\'m coming!<font size=\'22\' /><l />In my hand, my cock begins to convulse strongly. I point my <r />glans at the two girls<r />so that I can shoot even more sperm onto them, and continue <r />to rub.<p /><voice id=\'Voice_Dille_023\' />"Aaahhn... Ahh, ahh, ahh! It\'s so hot...<r />The sperm feels so good..."<l /><voice id=\'Voice_Elle_022\' />"Aahhh! Here it comes... Oh wow, oh wow! It\'s a shower<r />of cock milk..."<p /><voice id=\'Voice_Elle_023\' />"Haahh... It\'s so dirty... I\'m dirty all over...<r />...Nhaa... Ahnn... But it\'s delicious..."<l />Huff, huff... How about that! I sprayed it over you...<r />When I see their horny expressions underneath my semen,<r />I get even more turned on.<p /><voice id=\'Voice_Elle_024\' />"Wahh... This is amazing... <r />Your cock is already hard again..."<l />After my ejaculation my cock went limp, but now it\'s<r />on its way back to an erection.<p /><trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_DilleElle_S02_001\' /><trans direction=\'IN\' duration=\'0.5\' /><voice id=\'Voice_Dille_024\' />"Haha... I want it in here next... Look, it\'s craving for sex,<r />so it just won\'t stop leaking juice..."<l />Dille spreads her legs and shows off her hole<r />by spreading it in front of me...<r />Dille is right, her crotch is dripping wet with <r />pussy juice.<p />Oohhhh!<r />Well then, Dille-san, don\'t mind if I do!!<l /><trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_DilleElle_S02_002\' /><trans direction=\'IN\' duration=\'0.5\' /><voice id=\'Voice_Dille_025\' />"Eeek..."<p />Enticed by Dille\'s invitation, I jump onto her body.<l /><font size=\'30\' />I want to squeeze your tits before I give you my cock!!<font size=\'22\' /><p />Squeeze, squeeze, squeeze...<r />Ohhh... Wow, Dille-chan\'s tits are really soft...<r />Nipples!! I\'ve got to lick her nipples!<l /><voice id=\'Voice_Dille_026\' />"Aaahhn! Ahh... Ohh... My tits, they feel<r />really nice..."<p />Aahh... This is awesome! Dille-chan\'s tits are the best!<r />I lose myself in squeezing Dille\'s tits.<l /><r /><voice id=\'Voice_Elle_025\' />"Aaahn... It\'s not fair that Dille-chan gets it all...<r />I want you to play with me too..."<p /><voice id=\'Voice_Dille_027\' />"Hee hee... I\'m first... Nhaahh..."<l /><r />Oohhhh!<r />Dille presses her lips against mine in a gesture of greed.<l /><voice id=\'Voice_Elle_026\' />"Aahn... Geez!"<p />Elle-chan is really cute when she\'s upset! But right now,<r />Elle is going to have to wait...<r />I decide to give Dille my undivided attention.<p /><voice id=\'Voice_Dille_028\' />"Mmm... Unhh... Mmmm... Nhaaa..."<l /><r />Pant, pant...<r />Now that she kissed me, I return the kiss with full <r />enthusiasm.<p />My tongue and Dille\'s tongue twine around each other,<r />and our breaths brush against each other\'s faces...<r />Ahhh, Dille-chan\'s mouth is so cute...<l /><voice id=\'Voice_Dille_029\' />"Aaahn, the tip of your cock is touching my pussy..."<p /><font size=\'30\' />Uhehe... I\'m going to fuck your pussy with it in a minute,<r />Dille-chan... I\'m going to rampage around in there,<r />and then ejaculate inside of you!<font size=\'22\' /><p /><voice id=\'Voice_Dille_030\' />"Awww... You\'re so naughty..."<l /><trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_DilleElle_S02_003\' /><trans direction=\'IN\' duration=\'0.5\' />Uhehe... Well then...<r />I move my head down to her lower body.<r />Her pussy is wide open before my eyes... I stare at<r />her folds in a trance...<p /><voice id=\'Voice_Dille_031\' />"Haahhn! It feels good... Ahh... My clitoris is so<r />horny..."<p />Ohhhhhh!<r />So this is what Dille-chan\'s pussy looks like...<r />It\'s so dirty...<l />The female smell that comes out of it and the sight of <r />her obscene folds drive my arousal to the limit.<p /><font size=\'30\' />Mfff! Mfff!<r />Slurp, slurp, slurp!!<font size=\'22\' /><r />My excitement takes over, and I engross myself in licking <r />her pussy...<l /><voice id=\'Voice_Dille_032\' />"Ohhh... It\'s embarrassing if you do it so strongly..."<p />Ahhh... She\'s so cute...<r />Look, my cock is rubbing against her pussy!<l />I move my glans up and down, rubbing it along her slit.<r />My juice mixes in with her pussy juice...<p />I can feel the uneven surface of her flesh through my cock...<r />That sensation causes my rod to grow even stiffer than <r />before.<p /><voice id=\'Voice_Dille_033\' />"Haahn... Your cock is so hot... Nhaaahh... Don\'t tease me <r />like that...<r />Hurry up and stuff your cock into my pussy..."<l /><r />Ohhhh! The way Dille-chan begs for it<r />makes me unable to hold back any longer!<p />I press my cock against her crotch and start pushing inside.<r />My cock slides into her pussy with a slurping noise...<p /><trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_DilleElle_S02_004\' /><trans direction=\'IN\' duration=\'0.5\' /><voice id=\'Voice_Dille_034\' />"Nhaaaahn! Ahhhh, your cock is coming into me!<r />Aahn... Ahh... It\'s so big..."<l /><font size=\'30\' />Uohhhhh... Dille-chan, your pussy is really warm inside...<r />Right, I\'m gonna move, Dille-chan! I\'m gonna move now!!<font size=\'22\' /><p />I enjoy the feeling of her tunnel for a moment, then start <r />to move<r />my hips back and forth.<l /><voice id=\'Voice_Dille_035\' />"Ahh... Haahh! Your cock feels so good...<r />My pussy is really enjoying this! Nhaa... Aaahh..."<p />Ohhh... I start pumping Dille more strongly, because <r />I want to enjoy her reaction more.<l /><voice id=\'Voice_Dille_036\' />"Aaahh... Aahnn... Your cock is reaching all the<r />way inside! Haaahh! Ahh... Aaahh..."<l /><voice id=\'Voice_Dille_037\' />"Nhaaaa... Ahhh... Ahhh... My pussy is so <r />happy right now, it\'s really getting me off..."<p />Dille was kinda embarrassed just before, but she\'s changed <r />completely,<r />She\'s going wild with pleasure now, which turns me on even <r />more...<l /><voice id=\'Voice_Dille_038\' />"Aaahhn... Oh yes... Oh yes... I\'m going to come!<r />Aaahn, ahn... I\'m coming because of your cock!!"<p /><font size=\'30\' />Ohhh... I\'m coming, Dille-chan! I\'m going to come <r />as well!! Ohhhh!! I\'m coming! I\'m coming!!<font size=\'22\' /><l />I slowly build towards my climax, but Dille\'s words <r />drive me over the top.<p /><trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_DilleElle_S02_005\' /><trans direction=\'IN\' duration=\'0.5\' /><effect id=\'Effect_01\' /><voice id=\'Voice_Dille_039\' />"Haahh, ahn!! I\'m coming, I\'m comingggggg!!"<l />Ohh, ohhhh!<r />Dille\'s screaming is making my cock convulse...<p /><voice id=\'Voice_Dille_040\' />"Nhaa! Aahh! Your cock is twitching!<r />I\'m so happy! Your semen is coming into my pussy!"<l />At the same time, a huge amount of sperm bursts from <r />my glans and flows into her pussy.<p /><voice id=\'Voice_Dille_041\' />"Nhaaahhh... You\'re such a naughty guy, shooting <r />so much semen into me... Hee hee..."<l />Huff, huff... Ahh Dille-chan\'s pussy really is great...<p />Whew...<r />I take a moment to get my breath back, before slowly pulling out of Dille.<r />When I pull out there is a slippery noise...<p /><voice id=\'Voice_Dille_042\' />"Aaahn... Don\'t pull out... Let\'s do it one more time, okay?<r />My pussy is crying, it doesn\'t want to let go of you..."<l />Ohhh, ohhh...<r />Dille shakes her hips and squeezes on my cock... The pressure<r />makes my half flaccid cock get all the way hard again.<p /><voice id=\'Voice_Dille_043\' />"See...<r />Your cock is getting in the mood again, inside of <r />my pussy..."<l />Ohhh! She\'s so cute, so cute...<r />In that case...<p /><voice id=\'Voice_Elle_027\' />"Hahhn... I want you to come inside of me, too...<r />It\'s no fair that you\'re only fucking Dille-chan...<r />I want your cock too... My pussy wants your cock..."<p />Ohhh... Elle-chan is really cute... Just wait a little <r />while longer!<r />I\'ll give it to you all you want after this, Elle-chan!<p /><voice id=\'Voice_Dille_044\' />"Haha... Good for you, Elle-chan...<r />He\'s going to fuck you a lot after this..."<l /><voice id=\'Voice_Elle_028\' />"Awww... In that case, hurry it up, okay? <r />My pussy is tingling, I\'m going crazy over here..."<p />Uhoho, you don\'t have to beg for it, I\'m going to give it <r />to your pussy good!<r />Right then, let\'s go for round two with Dille-chan, first!<p /><trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_DilleElle_S02_006\' /><trans direction=\'IN\' duration=\'0.5\' />Uohhhhh!!<l />I start moving at top speed right from the start.<r />The sound of our flesh slapping together is joined by the <r />squelchy sound of semen being churned up inside of her...<p /><voice id=\'Voice_Dille_045\' />"Aaaahn... It\'s so rough! Aahhn... Don\'t be so rough,<r />or I\'ll come right away!"<p /><font size=\'30\' />Ahh, ahh... Your pussy feels way too good, Dille-chan!<r />I can\'t hold myself back like this!<font size=\'22\' /><l /><font size=\'30\' />Aaahh... You\'re so cute, you\'re incredibly cute!!<r />Dille-chan, you\'re really cute!!<font size=\'22\' /><p /><effect id=\'Effect_01\' /><voice id=\'Voice_Dille_046\' />"Uaaahhn... Oh no, oh no! I\'m comingggggggg!!"<l />Ohhhhhhhh... I\'m coming, I\'m coming! I\'m coming too!<r />My cock once again begins to throb inside of Dille.<l />A large load of semen fires itself into her, pushing <r />the old semen that I put there previously out through the <r />seams...<p /><trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_DilleElle_S02_007\' /><trans direction=\'IN\' duration=\'0.5\' />Huff, huff...<l /><voice id=\'Voice_Dille_047\' />"Ahhh... Oh wow... The semen is overflowing...<r />It\'s all white around my abdomen..."<l />Whew... Ahh, that felt good...<r />If possible, I\'d like to stay inside of Dille-chan<r />for a while longer and enjoy the warmth...<p /><voice id=\'Voice_Elle_029\' />"Aaahn... How long are you going to stick to Dille-chan?<r />At this rate I\'m going to have to masturbate to get off..."<l />Because I\'m clinging to Dille, unwilling to part with her <r />just yet,<r />Elle starts twisting her body, possibly because the <r />anticipation is getting too much for her.<p /><font size=\'30\' />Ohhh, ohhh, you\'re so cute.<r />Okay then, I\'ll have some fun with you as well, Elle-chan.<font size=\'22\' /><p /><trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_DilleElle_S03_001\' /><trans direction=\'IN\' duration=\'0.5\' /><voice id=\'Voice_Elle_030\' />"Ahhh... Then give me your cock, quickly!"<l />Elle breaks into a smile, then gets on all<r />fours and turns her ass my way.<r />Her cute, well rounded butt is tempting me...<p /><voice id=\'Voice_Elle_031\' />"Aaahn, hurry... I want your cock...<r />My pussy is itching, I can\'t take it anymore..."<l />I watch her for a while. Eventually Elle can\'t take it any <r />longer,<r />and starts shaking her ass left and right to entice me.<p /><trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_DilleElle_S03_002\' /><trans direction=\'IN\' duration=\'0.5\' />Urgh... Elle-chan is so cute... Right then...<r />I move my face closer to her genitals, and start<r />licking up the juice that leaks out of them.<p />My cock is reacting to the strong female smell coming from <r />her crotch...<l /><font size=\'30\' />Ahh... Your pussy is already so wet... And your ass<r />is really pretty... I want to lick your asshole...<font size=\'22\' /><p /><voice id=\'Voice_Elle_032\' />"Hyaaaahhn! My ass feels really nice... Ahhh...<r />This is embarrassing..."<l /><font size=\'30\' />And I want to lick your pussy too!<font size=\'22\' /><l /><voice id=\'Voice_Elle_033\' />"Haahh... Oh no... I\'m going to come, even though you<r />aren\'t even fucking me yet..."<p />Heh heh... Man, but she\'s cute! All right... Here goes...<r />I stroke her slit with the tip of my cock.<r />My cock needs to say hello to her first...<l /><voice id=\'Voice_Elle_034\' />"Mhaaaa... Your cock is touching me! Aaahn...<r />Hurry, hurry... Put your cock inside my pussy, hurry!"<p /><trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_DilleElle_S03_003\' /><trans direction=\'IN\' duration=\'0.5\' />Okay, I\'m coming in now, Elle-chan!<r />I slowly slide my cock into Elle, enjoying the<r />sensation as my glans rubs against her inner walls.<l /><font size=\'30\' />Ohhh, Elle-chan, your pussy is really<r />narrow and tight...<font size=\'22\' /><p /><voice id=\'Voice_Elle_035\' />"Uhaaahn... Your cock is so big... Hnggg..."<l />Elle\'s pussy duct is tightly squeezing up around my cock...<r />I slowly penetrate Elle all the way down to her deepest <r />region.<l /><voice id=\'Voice_Elle_036\' />"Uaahhn... Hahh... Ahhh, your cock is all the way down...<r />Move it around... I want you to fuck my pussy hard..."<p />Ohhhh...<l />Elle-chan, will you be okay if I fuck you hard?<r />Elle-chan, your pussy feels so good that once I start moving,<r />I won\'t be able to stop myself anymore.<l /><voice id=\'Voice_Elle_037\' />"Yeah, I\'ll be fine... Please, move already...<r />Ram your cock inside of me..."<p />All right then! I\'m gonna move! I\'m gonna fuck your pussy!!<r />Elle\'s words entice me to start moving all at once.<r />My flesh slaps against hers with a loud sound.<l /><voice id=\'Voice_Elle_038\' />"Haahhh! Hyaaa... Oh yes, my<r />pussy feels so good!"<p />Ohhhhh! Her pussy meat is squeezing me so tightly...<r />At this rate, it\'s a matter of time before I come...<l />But I don\'t think I can hold it off, because her pussy<r />feels incredibly good.<p /><font size=\'30\' />Aahhh! I\'m coming, Elle-chan! I\'m going to<r />shoot my semen into your pussy!<font size=\'22\' /><p /><voice id=\'Voice_Elle_039\' />"Haaahn... Come, come! I want you to pump<r />my pussy full of your cock milk!"<l /><r /><voice id=\'Voice_Elle_040\' />"Aahn... I\'m coming, I\'m coming! My pussy feels too<r />good, I\'m going to come, ahhhh!"<p />Ughhh!<r />I start moving my hips even faster, in an attempt to reach <r />the finish.<p /><trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_DilleElle_S03_004\' /><trans direction=\'IN\' duration=\'0.5\' /><effect id=\'Effect_01\' /><voice id=\'Voice_Elle_041\' />"Aahhh... I\'m comingggggggg!!"<l />At the same time Elle has her orgasm, I also reach the limit.<r />Her pussy begins to start moving in a pumping motion, trying<r />to suck the semen out of my cock.<p /><voice id=\'Voice_Elle_042\' />"Hyaaaa! Your cock is twitching! Ahhh... Your cock milk<r />is flowing out of your cock and into my pussy... <r />Ahh... Mmm..."<p />Huff, huff, whew...<l />After the ejaculation, I slowly pull my cock out of her.<r />Her horny folds are shivering, and semen is dripping out <r />from between them...<p /><voice id=\'Voice_Elle_043\' />"Ahhhh... Oh wow... There\'s so much sperm leaking<r />out of me... Haahhhh..."<l /><r />Elle still has her ass up in the air. Her body is shaking<r />with the throes of her climax.<p /><trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_DilleElle_S03_005\' /><trans direction=\'IN\' duration=\'0.5\' /><voice id=\'Voice_Dille_048\' />"Hee hee... What a waste to let it spill away like that..."<l />Ohhh... Dille moves up to Elle and bends her head down to <r />Elle\'s<r />crotch so she can lick up the semen that is leaking out...<l /><voice id=\'Voice_Elle_044\' />"Ahh, aaahn! You say that, but I bet you just want to <r />take my sperm, and you can\'t have it..."<p /><voice id=\'Voice_Dille_049\' />"Mmm... Ahhh, mmmmg..."<l />Dille ignores Elle\'s objections, and starts sucking on her<r />pussy, making loud, nasty slurping sounds on purpose.<l /><voice id=\'Voice_Elle_045\' />"Nhaaaahhh... No... Don\'t suck on my pussy like that, or<r />I\'ll come again...!"<l /><voice id=\'Voice_Dille_050\' />"Aaahn... Geez..."<p />Because Elle is resisting, Dille has no choice but to take<r />her mouth off her pussy, although she does so reluctantly.<r />From between Dille\'s lips runs a thin trail of pussy juice <r />mixed with semen.<l /><r />Ugh... These two really are horny sluts...<p /><voice id=\'Voice_Elle_046\' />"Ahh! Your cock is getting big again...<r />Hey, I want you to fuck me in the ass next..."<l /><font size=\'30\' />Nohh! You don\'t mind having anal sex!?<font size=\'22\' /><l />After seeing them make out like that, my cock is back to <r />full strength.<r />When Elle sees that, she invites me to have her anally...<p /><voice id=\'Voice_Elle_047\' />"Yeah... I\'m fine with it...<r />I\'m a dirty pervert who gets off on anal sex..."<l /><font size=\'30\' />Ohhhh!<r />In that case I won\'t hold back, I\'m going to spear you with <r />my cock!<font size=\'22\' /><p /><trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_DilleElle_S03_006\' /><trans direction=\'IN\' duration=\'0.5\' />I don\'t hesitate for a moment. As she requested, I align my <r />cock<r />with her asshole, then slowly push it inside.<l />Whpppp...<r />Ohhhhhh! It\'s going in! My cock is singing into<r />Elle-chan\'s asshole...<p /><voice id=\'Voice_Elle_048\' />"Aaahhhh! Ahhh, haahh... Your cock is coming into<r />my ass! Haahhh..."<l />My cock is still slippery with semen and her pussy juice,<r />so it smoothly slides into Elle\'s rectum...<r />Elle accepts my cock, moaning in a lovely voice.<p />Ohhhhhhhh! At last, my cock is buried inside her asshole<r />all the way up to the root.<l />Ahh, this is so good! Elle-chan, your asshole is the best!!<r />The pleasant pressure of her asshole makes me rock my hips <r />in a dream-like state.<p />Our flesh slaps together, causing a sharp noise to echo <r />around...<p /><voice id=\'Voice_Elle_049\' />"Nhaaa! Ohhhh... Haaahhh! Mmmmhh..."<l /><r />As I violently pound her asshole, an unintelligible scream <r />comes out of Elle\'s throat.<r />Her face contorts into a loose expression of ecstasy.<p /><trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_DilleElle_S03_007\' /><trans direction=\'IN\' duration=\'0.5\' /><voice id=\'Voice_Dille_051\' />"Hee hee... Then I\'ll continue what I was doing before...<r />I\'ll take real good care of your pussy, Elle-chan..."<l /><r /><voice id=\'Voice_Elle_050\' />"Hyaaaa!! Aaahhh! Ahhh... My pussy and my asshole...<r />They both feel so good!"<p />Dille once again starts stimulating Elle\'s pussy.<r />Unlike before, Elle is feeling it in both of her holes now,<r />so she can\'t resist. She can only scream.<l />Elle\'s reaction apparently pleases Dille, because<r />her stimulation grows increasingly intense...<p /><voice id=\'Voice_Dille_052\' />"Aahhh... If only I had a cock of my own, then<r />I\'d fuck you so hard..."<l /><voice id=\'Voice_Elle_051\' />"Hyaaaaahhn! If you did that... I\'d feel too<r />good... I\'d break!"<p /><font size=\'30\' />Uohhh... Ahh, Elle-chan I\'m going to come any moment now!<r />I\'m going to ejaculate a load of semen!<font size=\'22\' /><l /><voice id=\'Voice_Elle_052\' />"Hauhh... Do it... I\'m about to come as well...<r />I want you to give me your cock milk inside of my ass!"<p />After hearing what Elle said, I start pounding even harder<r />in an attempt to breach the limit.<l /><trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_DilleElle_S03_008\' /><trans direction=\'IN\' duration=\'0.5\' /><effect id=\'Effect_01\' /><voice id=\'Voice_Elle_053\' />"Ahh... Hahh... I\'m coming... Aaahn...<r />I\'m coming, I\'m cominggggggg!!"<p />Right when Elle cries out in ecstasy, I also get my climax.<r />My cock twitches so hard inside her asshole that I can <r />almost hear it.<r />It repeatedly ejaculates a large amount of sperm into <r />her body...<p /><voice id=\'Voice_Elle_054\' />"Ohhhhhh! Ahhh, aahhhh... I have cock milk in my<r />ass now, too!!"<l />As Elle feels my cock throbbing in her ass and my semen<r />flowing into her, she cries out in a voice drenched in <r />pleasure.<p />Huff, huff...<l /><voice id=\'Voice_Elle_055\' />"Ahhh... My ass feels too good...<r />Ahh, I came again..."<l /><voice id=\'Voice_Dille_053\' />"Ahaha... Good for you, Elle-chan... He fucked<r />you so hard..."<p /><trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_DilleElle_S03_009\' /><trans direction=\'IN\' duration=\'0.5\' />Whew...<l />After my ejaculation finishes I stay inside of Elle for a <r />moment,<r />to get my breath back. Then I slowly pull out. <r />Her asshole stays open even after my cock leaves it, and <r />semen dribbles outside.<p /><voice id=\'Voice_Elle_056\' />"Oh no... My asshole is leaking sperm... <r />I\'m so embarrassed..."<l /><voice id=\'Voice_Dille_054\' />"Hee hee... You\'re really cute, Dille-chan..."<l /><voice id=\'Voice_Elle_057\' />"Nhaaahh..."<p />Ohhhh... Dille and Elle are starting to play with each <r />other again...<r />Seeing them make out together like that is enough to<r />get my cock hard again.<p /><voice id=\'Voice_Elle_058\' />"Wow... Look, his cock is getting big again..."<l /><voice id=\'Voice_Dille_055\' />"Hee hee... I\'m happy to see how hard it is...<r />I\'ll be sure to do all sorts of exciting things with it."<p />Even as she speaks, Dille starts to stroke my cock.<r />Elle, on the other hand, presses her body against mine.<r />It seems they\'re both still in the mood to keep going.<l /><r />Okay, I\'m up for it! I\'m gonna do them good!!<p />......<l />...<p /><stopbgm /><trans direction=\'OUT\' duration=\'0.5\' />...<l />......<l />I continue to fuck their brains out.<r />I come many times, and they both drown in the pleasure<r />wearing slutty, ecstatic expressions...<p />...<r />Huff, huff... I wonder how many times I came, now...<l /><mc id=\'Event_DilleElle_S08_001\' /><trans direction=\'IN\' duration=\'0.5\' />I slowly pull my cock out of Elle\'s pussy, after ejaculating<r />inside of it.<r />Her pussy hole stays open even after my cock is gone, and my<r />sperm is leaking out of it.<p />Her body is covered in semen mixed with sweat, and it\'s <r />giving<r />off a strong smell that reeks of sex.<l /><r />Seeing them lie there like that gives me a thrilling sense <r />of victory.<p /><font size=\'30\' />I did it! I did it!!<r />I\'ve conquered all of the mascot characters!!<font size=\'22\' /><p /><voice id=\'Voice_Dille_056\' />"Hee hee... Well then, it\'s my turn again..."<l />!?<l />Ohhhhh? Before I have a chance to realize what\'s happening, <r />Dille forcibly pushes me down.<p /><playbgm id=\'BGM_017\' /><trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_DilleElle_S04_001\' /><trans direction=\'IN\' duration=\'0.5\' />Whoa... Wait a minute...<l /><voice id=\'Voice_Dille_057\' />"Mmm... Ahn... Hee hee... How do you like this? Your cock<r />feels good, doesn\'t it?<l />Dille is rubbing her pussy over my cock... This is called<r />intercrural sex...<r />Ohhhhh... It feels good... Wait, wait a minute!<p /><trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_DilleElle_S04_007\' /><trans direction=\'IN\' duration=\'0.5\' /><voice id=\'Voice_Elle_059\' />"Ahaha... She stole your cock away from me...<r />Mmmmm... In that case, how about this...?<r />Hee hee... Your nipples are getting hard.<p />Elle\'s tongue and fingers start toying around with my nipples.<r />Elle\'s lovely little tongue is sliding over my chest...<l />Aahh...<r />This feels pretty good in its own way... No, but!<l /><voice id=\'Voice_Dille_058\' />"Hee hee hee... There... Your cock is getting <r />hard again..."<p /><font size=\'30\' />Aahhhh... What\'s going on...?<r />You\'re behaving completely different from before...<font size=\'22\' /><p />The two of them are acting all provocative now. I\'ve <r />completely lost the initiative.<r />They start playing around with my body, almost as if they<r />aren\'t satisfied yet...<p /><trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_DilleElle_S04_003\' /><trans direction=\'IN\' duration=\'0.5\' /><voice id=\'Voice_Dille_059\' />"Hee hee... Looks like you\'re all ready... Well then... <r />Mmm, haahhn... Your cock is skewering me..."<l />Dille\'s pussy smoothly swallows up my cock...<p />Ughh... Dille\'s pussy is even wetter than it\'s been up <r />until now,<r />and I can feel its warmth as it wraps itself around my cock.<r />She\'s squeezing my shaft with exactly the right amount <r />of pressure...<p /><voice id=\'Voice_Dille_060\' />"See, there... That feels good, doesn\'t it?"<l /><r />Uohh... Dille is moving her hips back and forth in a <r />sexy way, stimulating my cock.<p />Ohhhhhhhh...<r />It feels so good that my body instinctively reacts...<r />At this rate it\'s a matter of time before I ejaculate <r />again.<p /><voice id=\'Voice_Elle_060\' />"Haah... Dille-chan, that looks like it feels good...<r />I\'m so envious... He only has one cock, you know..."<l /><trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_DilleElle_S04_004\' /><trans direction=\'IN\' duration=\'0.5\' /><voice id=\'Voice_Elle_061\' />"There!"<l />Onff!!<r />Muffff... Elle is straddling my face now.<p /><voice id=\'Voice_Elle_062\' />"Haahn... It feels so good to rub my pussy on his face...<r />Come on, look at it... You like my pussy, don\'t you..."<l /><r />She pushes her crotch into my face, urging me to <r />stimulate it...<p />Urghhh... Her pussy...<l />Elle\'s wet pussy is pressed against my nose. It is giving<r />off a pungent female smell, which is making be become<r />dizzy, but I desperately start sucking on it.<p /><voice id=\'Voice_Elle_063\' />"Nhaaaaa! Aaahn... Oh yes... I\'m so happy that you\'re<r />playing with my pussy... Aaahn... Do it harder!"<l />Schlp, schlp, schlp!<l /><voice id=\'Voice_Elle_064\' />"Ahh, aaahh... I\'m coming! I\'m coming because<r />you\'re licking my pussy so hard!"<p /><trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_DilleElle_S04_005\' /><trans direction=\'IN\' duration=\'0.5\' /><voice id=\'Voice_Elle_065\' />"Yhaaaa! Ahh, aaahhh... Oh no... I think I\'m going<r />to pee as well... It\'s coming out..."<l />Omffffff!<l /><playse id=\'SE_016\' />A warm fluid is flowing down my<r />face...<r />Aahhhhh! It\'s Elle-chan\'s pee!<p /><voice id=\'Voice_Elle_066\' />"Ahhh, ahh, ahh, ahhh... It\'s coming out...<r />Peeing feels so good! Hyaaaaaa! It feel so good to<r />pee outdoors!"<l /><voice id=\'Voice_Elle_067\' />"Drink it, drink it! Drink up my pee along with<r />my pussy juice..."<p />Aghmmmmm! Ahhhh...<l /><voice id=\'Voice_Dille_061\' />"Uaaahhn... Your cock is twitching so hard... I can tell <r />it\'s getting<r />off because she\'s peeing all over you... What a dirty <r />perverted cock..."<p />Her urine streams down my face, and even as I choke on it, <r />my lower body gives<r />a sensitive reaction... My hard cock<r />begins to throb inside of Dille\'s pussy...<l /><voice id=\'Voice_Elle_068\' />"Ahaha... My pee is mixed with my pussy juice and <r />your own sperm... Haahhh... That felt good..."<p />Uhh, unhhhh!<l /><r /><voice id=\'Voice_Dille_062\' />"Mmmm... Aahn... You\'re about to come, aren\'t you...<r />Aauh... It\'s okay, I\'ll come together with you..."<p />The way my cock is twitching makes it clear to Dille that<r />I\'m almost at my limit. She begins moving her hips faster.<l />Dille is really good at this. Her skillful motions drive me <r />to<r />the brink in a very short time.<p /><trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_DilleElle_S04_006\' /><trans direction=\'IN\' duration=\'0.5\' /><effect id=\'Effect_01\' /><voice id=\'Voice_Dille_063\' />"Nhaaah... Aahh... I\'m coming!!"<l />Ohhhhhh...<l />Right as Dille orgasms, her pussy tightens up around my cock...<r />That intense pressure causes me to go over the top as well, <r />and<r />a huge load of semen bursts forth into her.<p /><voice id=\'Voice_Dille_064\' />"Nhaahn... What a slutty cock... Look how much cock<r />milk it\'s still giving off..."<l /><r />Dille looks down at the semen spilling out of her pussy.<r />Then she scoops it up with her fingers and licks it off...<p />Huff, huff...<l />Urgh... I\'m getting really tired... My cock is hurting...<l />I don\'t have the energy left to continue ejaculating and<r />standing up to the girls\' assaults like this.<p /><trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_DilleElle_S05_001\' /><trans direction=\'IN\' duration=\'0.5\' /><voice id=\'Voice_Elle_069\' />"It\'s my turn next!<r />Uhaahh... Your cock is coming inside me... Come on, look at <r />it...<r />Your cock is piercing my pussy..."<p />Ohhhhhhhh!!<l />I only just came, but Elle doesn\'t care about that. She <r />immediately<r />switches places with Dille, pressing her lower body against <r />mine...<p />Elle moves her hips up and down, showing off how I\'m <r />connected with her.<r />Every time she moves, the connection makes a wet, obscene <r />noise.<l />Ughhh! Elle\'s movements are making my cock go<r />stiff in no time again.<p /><voice id=\'Voice_Elle_070\' />"Hee hee hee... Look at this... Ahhn... It feels<r />so good when your tip rubs me like that..."<l />Urggghhh...<l />Because my cock has regained its hardness, Elle<r />is starting to move even more strongly...<p /><trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_DilleElle_S05_002\' /><trans direction=\'IN\' duration=\'0.5\' /><voice id=\'Voice_Dille_065\' />"Mmmm... Well then... I\'m going to have some fun over here...<r />Hahn... Hee hee... Rubbing my pussy like this <r />feels good..."<l />Urphhh!<l />This time it\'s Dille who presses her crotch against my face.<r />The smell of her body enters my nose, and I almost choke...<p /><voice id=\'Voice_Elle_071\' />"Ahaha! Dille-chan, you should pee on his face too...<r />He drank mine, because he really really thought it was <r />delicious..."<l /><font size=\'30\' />What! I never said it was delicious!!<font size=\'22\' /><l /><voice id=\'Voice_Dille_066\' />"Hahn... I\'m so embarrassed... Peeing in a place like this...<r />But... Maybe if it\'s only a little..."<p /><trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_DilleElle_S05_003\' /><trans direction=\'IN\' duration=\'0.5\' /><playse id=\'SE_015\' />Glug glug glug...<l />Urpfffff! Dille-chan is peeing!<l />Regardless of what I want or think, she\'s started to pee.<r />The warm fluid mercilessly pours onto my face...<p /><voice id=\'Voice_Dille_067\' />"Haaaahn! It feels so good... It\'s embarrassing,<r />but it feels really good!"<p /><trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_DilleElle_S05_004\' /><trans direction=\'IN\' duration=\'0.5\' /><playse id=\'SE_016\' />Glug glug glug...<l />Opffffff!<l />She was only peeing a little at first, but the stream grows <r />stronger and stronger...<r />Even as Dille\'s pussy incessantly spills urine onto me,<r />my cock twitches in reaction.<p /><voice id=\'Voice_Elle_072\' />"Ahahhh... It\'s really true... When you pee on him, his <r />cock reacts by<r />twitching..."<l /><voice id=\'Voice_Elle_073\' />"Hahhn... Oh yes... I\'m going to come..."<l /><voice id=\'Voice_Elle_074\' />"Nhaaahhh! I\'m comingggg!"<p />Hauhhh!<l />As Elle comes, her pussy tightens up around my cock,<r />just as Dille\'s pussy did when she came. The terrible<r />pressure is making me come again as well.<l /><trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_DilleElle_S05_005\' /><trans direction=\'IN\' duration=\'0.5\' /><effect id=\'Effect_01\' />My cock starts to convulse, and a large amount of sperm<r />flows up into Elle\'s pussy...<p /><voice id=\'Voice_Elle_075\' />"Nhyaaaaa! The cock milk is coming out again...<r />Nhaa... Ahn..."<l />Ohhhhhh!<l />Huff, huff... Unhhhhh<l />I can\'t take this any longer... Because of all the <r />ejaculations, a sharp pai<p /><voice id=\'Voice_Elle_076\' />"Hahhhh... Ehehe, I guess we\'ve got a problem...<r />What are we going to do next?"<l /><r /><voice id=\'Voice_Dille_068\' />"Good question... We need his cock to fuck us a lot more...<r />Ahn... I\'m getting wet just thinking about it..."<p />What!?<r />Are you still going to continue?<l /><voice id=\'Voice_Dille_069\' />"Aahn... What are you saying? We\'ve only just gotten<r />started... Come on, get up..."<p />Ugh... Ughhh...<r />I unsteadily get to my feet as Dille drags me up from the <r />ground.<p /><trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_DilleElle_S06_001\' /><trans direction=\'IN\' duration=\'0.5\' /><voice id=\'Voice_Dille_070\' />"Look there, your cock is still good for another round, <r />isn\'t it?"<l /><r />Ohhhhhh!<r />From behind me, Dille reaches around and starts rubbing my <r />cock.<p />I can\'t go on anymore, but that fine technique of hers<r />makes my cock react and grow hard again...<p /><voice id=\'Voice_Elle_077\' />"Ahaha... It\'s like you\'re milking a cow...<r />Come on, hurry up and give me some more of your cock milk."<l /><voice id=\'Voice_Dille_071\' />"Wait a little, Elle-chan I\'ll make sure he comes a lot in <r />a moment..."<l /><voice id=\'Voice_Elle_078\' />"Okay then... Looking forward to it, this is going to be <r />fun..."<p />But after all those ejaculations, my cock has gotten tired.<r />It\'s not as hard anymore as it was before...<r />Urgh, I\'m really at my limit.<p /><voice id=\'Voice_Dille_072\' />"Ahh, you\'re such a weakling... Come on... Shove it up <r />my ass!"<l />There\'s a loud slap of a hand hitting my buttocks.<r />Yeeeeep!<l /><trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_DilleElle_S06_002\' /><trans direction=\'IN\' duration=\'0.5\' />Dille just hit my butt with all her strength. The sudden<r />pain makes me involuntarily yelp.<p /><voice id=\'Voice_Dille_073\' />"Ahaha! See, there we go... Your cock has<r />gotten back into the game!"<l />Ohhhhh! My cock just gave a strong reaction again.<l />To match it, Dille speeds up the pace at which she strokes my<r />cock as well. I\'m gradually getting closer to the limit.<p />Ohhhhhhh! Ohhhhhh!<l /><trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_DilleElle_S06_003\' /><trans direction=\'IN\' duration=\'0.5\' /><effect id=\'Effect_01\' /><voice id=\'Voice_Elle_079\' />"Ahaha! Here it comes, here it comes! Such a<r />big load of cock milk!!"<l />My cock pulsated violently in Dille\'s hand, and a large<r />quantity of semen shoots out of the tip.<p /><trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_DilleElle_S06_004\' /><trans direction=\'IN\' duration=\'0.5\' />Elle is there to catch the rain of semen with her face.<r />Her expression ins one of ecstasy and delight as it lands <r />on her.<l />Urghhh... All these repeated ejaculations have driven me to <r />the brink of exhaustion.<r />Ungh... I really can\'t go on anymore...<p /><trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_DilleElle_Stand_004\' /><trans direction=\'IN\' duration=\'0.5\' /><voice id=\'Voice_Dille_074\' />"What, you can\'t be serious, right? There\'s still a long <r />way to go, you know.<r />You came here to subjugate us, didn\'t you?"<l /><r /><voice id=\'Voice_Elle_080\' />"That\'s right. If you give up this soon, then you\'re not <r />even worthy of a gross mark..."<p /><font size=\'30\' />What!? A gross mark!?<font size=\'22\' /><l /><voice id=\'Voice_Dille_075\' />"Let\'s just take him to the basement and call all the<r />others so we can all have some fun..."<l /><voice id=\'Voice_Elle_081\' />"Wow, let\'s tie him up in the basement!<r />There\'s no better way to subjugate someone!"<p />The basement!? Tie me up!?<l />Urgh... Oh crap... These girls are the mascots characters for<r />Maniax... They\'re completely into sexual disgrace.<p /><font size=\'30\' />I should have known that Dille and Elle were of a different<r />breed...<font size=\'22\' /><p />I have no power left to resist. They take me down to the <r />basement...<l />......<l />...<p /><stopbgm /><trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_DilleElle_S07_001\' /><trans direction=\'IN\' duration=\'0.5\' /><voice id=\'Voice_Premium_061\' />"Ahaha... What a slutty cock he has... It\'s still hard,<r />even after ejaculating so much cock milk!"<l /><voice id=\'Voice_DS_035\' />"Aahhh... I\'m so glad we\'ve got another fuckrag to play <r />with..."<l /><voice id=\'Voice_Mente_033\' />"Ummm... I want his cock too, actually..."<p />Unghh, I don\'t know how many times they\'ve had their way <r />with me anymore...<r />The mascot characters have completely turned me into their <r />sex slave.<l />And today is another day of sexual abuse at the hands of Dille and Elle...<p /><voice id=\'Voice_Sarah_054\' />"Doujin can be pretty heartless..."<l /><voice id=\'Voice_Rara_035\' />"I\'m so glad we\'re in the professional section, sis..."<l /><r /><voice id=\'Voice_Dille_076\' />"Mmm... Well then, let\'s try this one, shall we?"<l /><playse id=\'SE_008\' /><voice id=\'Voice_Elle_082\' />"Ahh, that\'s a good idea..."<p />Yeeeek! Stop... Not the gross stuff, please, no!!<l />And so another valiant user disappeared<r />into the dark bowels of DLsite...<l />......<l />...<p />'; this.scenario = new XML(v2); }; seh.triangle.scene.event.scenarios.DilleElleEvent = v1; var v2 = v1.prototype; v2.toString = function () { return 'DilleElleEvent'; }; ASSetPropFlags(seh.triangle.scene.event.scenarios.DilleElleEvent.prototype, null, 1); } #endinitclip } movieClip 1958 __Packages.seh.triangle.scene.mode.main.levels.PresidentsRoom3F { #initclip if (!_global.seh) { _global.seh = new Object(); } if (!_global.seh.triangle) { _global.seh.triangle = new Object(); } if (!_global.seh.triangle.scene) { _global.seh.triangle.scene = new Object(); } if (!_global.seh.triangle.scene.mode) { _global.seh.triangle.scene.mode = new Object(); } if (!_global.seh.triangle.scene.mode.main) { _global.seh.triangle.scene.mode.main = new Object(); } if (!_global.seh.triangle.scene.mode.main.levels) { _global.seh.triangle.scene.mode.main.levels = new Object(); } if (!_global.seh.triangle.scene.mode.main.levels.PresidentsRoom3F) { var v1 = function (par) { super(par); var v4 = seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.background_layer.attachMovie('Eisys_3F_President', 'Eisys_3F_President', seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.background_layer.getNextHighestDepth()); seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.foreground_layer.attachMovie('Eisys_3F_President_Up', 'Eisys_3F_President_Up', seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.foreground_layer.getNextHighestDepth()); this.background_width = seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.background_layer._width; this.background_height = seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.background_layer._height; seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.scroll_layer._x = (Stage.width - this.background_width) / 2; seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.scroll_layer._y = (Stage.height - this.background_height) / 2; v4.HitArea_3F_President_01_Entrance._visible = false; v4.HitArea_3F_President_02._visible = false; v4.HitArea_3F_President_03._visible = false; v4.HitArea_3F_President_04._visible = false; v4.HitArea_3F_President_05._visible = false; v4.HitArea_3F_President_06._visible = false; v4.HitArea_3F_President_07._visible = false; v4.HitArea_3F_President_08._visible = false; v4.HitArea_3F_President_09._visible = false; v4.HitArea_3F_President_10._visible = false; v4.HitArea_3F_President_11._visible = false; v4.HitArea_3F_President_12._visible = false; v4.HitArea_3F_President_13._visible = false; v4.HitArea_3F_President_14._visible = false; v4.HitArea_3F_President_15._visible = false; v4.HitArea_3F_President_16._visible = false; this.addObstacle(v4.HitArea_3F_President_11); this.addObstacle(v4.HitArea_3F_President_15); this.addObstacle(v4.HitArea_3F_President_02); this.addObstacle(v4.HitArea_3F_President_03); this.addObstacle(v4.HitArea_3F_President_04); this.addObstacle(v4.HitArea_3F_President_05); this.addObstacle(v4.HitArea_3F_President_06); this.addObstacle(v4.HitArea_3F_President_07); this.addObstacle(v4.HitArea_3F_President_08); this.addObstacle(v4.HitArea_3F_President_09); this.addObstacle(v4.HitArea_3F_President_10); this.addObstacle(v4.HitArea_3F_President_12); this.addObstacle(v4.HitArea_3F_President_13); this.addObstacle(v4.HitArea_3F_President_14); this.addObstacle(v4.HitArea_3F_President_16); this.addObstacle(v4.HitArea_3F_President_01_Entrance); this.addLevelExit(v4.HitArea_3F_President_01_Entrance, mx.utils.Delegate.create(this, this.changeToEisysBuilding3F)); this.escape_points = new Array(); this.escape_points.push(new flash.geom.Point(55, 86)); this.escape_points.push(new flash.geom.Point(184, 86)); this.escape_points.push(new flash.geom.Point(342, 86)); this.escape_points.push(new flash.geom.Point(342, 230)); this.escape_points.push(new flash.geom.Point(184, 230)); this.escape_points.push(new flash.geom.Point(15, 230)); this.escape_points.push(new flash.geom.Point(15, 400)); this.escape_points.push(new flash.geom.Point(184, 400)); this.escape_points.push(new flash.geom.Point(342, 400)); this.player_character = seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.getHero(); if (!this.save_data.has_sarahrara_insulted) { this.sarah = seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.createSarah(); this.sarah._x = 216; this.sarah._y = 184; this.sarah.setEscapeSense(80, 80); this.sarah.addEventListener('onBossBattleStarted', this); this.sarah.addEventListener('onBossBattleFinished', this); (this.sarah.getHealth()).addEventListener('onEnemyHealthEmptied', this); this.addSceneListener(this.sarah); this.sarah_health_icon = seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.getSarahHealthIcon(); seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.setHelathIcon(this.sarah.getHealth(), this.sarah_health_icon); this.addSceneListener(this.sarah_health_icon); this.rara = seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.createRara(); this.rara._x = 152; this.rara._y = 184; this.rara.setEscapeSense(80, 80); this.rara.addEventListener('onBossBattleStarted', this); this.rara.addEventListener('onBossBattleFinished', this); (this.rara.getHealth()).addEventListener('onEnemyHealthEmptied', this); this.addSceneListener(this.rara); this.rara_health_icon = seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.getRaraHealthIcon(); seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.setHelathIcon(this.rara.getHealth(), this.rara_health_icon); this.addSceneListener(this.rara_health_icon); this.sarah.addEventListener('onBossBattleStarted', this.rara); this.rara.addEventListener('onBossBattleStarted', this.sarah); var v3 = 0; while (v3 < this.escape_points.length) { seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.scroll_layer.localToGlobal(this.escape_points[v3]); this.sarah.addEscapePoint(this.escape_points[v3]); this.rara.addEscapePoint(this.escape_points[v3]); ++v3; } } this.state = maelstrom.scene.SceneState.CREATED; }; seh.triangle.scene.mode.main.levels.PresidentsRoom3F = v1; seh.triangle.scene.mode.main.levels.PresidentsRoom3F extends seh.triangle.scene.mode.main.detail.ActionScene; var v2 = v1.prototype; v2.toString = function () { return 'PresidentsRoom3F'; }; v2.terminate = function () { super.terminate(); seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.background_layer.Eisys_3F_President.removeMovieClip(); seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.foreground_layer.Eisys_3F_President_Up.removeMovieClip(); if (this.sarah != null && this.rara != null) { this.removeSceneListener(this.sarah); this.sarah.removeMovieClip(); this.removeSceneListener(this.sarah_health_icon); seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.removeHealthIcon(this.sarah_health_icon); this.sarah_health_icon.removeMovieClip(); this.removeSceneListener(this.rara); this.rara.removeMovieClip(); this.removeSceneListener(this.rara_health_icon); seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.removeHealthIcon(this.rara_health_icon); this.rara_health_icon.removeMovieClip(); if (this.zip_tan != null) { this.removeSceneListener(this.zip_tan); this.zip_tan.removeMovieClip(); } } }; v2.onEnemyHealthEmptied = function (evt) { if ((this.sarah.getHealth()).isEmpty() && (this.rara.getHealth()).isEmpty()) { this.zip_tan.gotoAndStop(1); } }; v2.onBossBattleStarted = function (evt) { this.zip_tan = seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.createZIPTan(); this.zip_tan._x = 755; this.zip_tan._y = 232; this.addSceneListener(this.zip_tan); this.demo_scene = new seh.triangle.scene.mode.main.levels.detail.ZIPTanAppearance(this, this.zip_tan); this.parent.stop(); var v2 = (this.collision_list.getHitData(seh.triangle.action.hit.HitType.LEVEL_EXIT)).getListIterator(); while (v2.hasNext()) { (seh.triangle.action.hit.HitData(v2.next())).disable(); } var v3 = seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.getRootMovieClip(); var v5 = new seh.triangle.scene.event.scenarios.SarahRaraEncounter(); var v4 = seh.triangle.scene.event.Encounter(v3.attachMovie(seh.triangle.scene.event.Encounter.LINKAGE_ID, 'Encounter', v3.getNextHighestDepth(), {'parent': this.demo_scene, 'scenario': v5.scenario})); v4.addEventScriptListener(this); v4.startTransitionIn(); }; v2.onBossBattleFinished = function (oevt) { if (!this.sarah.isAlive() && !this.rara.isAlive()) { this.allTransitionsOutDone = function (ievt) { (mx.transitions.TransitionManager(ievt.target)).removeEventListener('allTransitionsOutDone', this); this.parent.stopBGM(); var v3 = (seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.getRootMovieClip())._parent; var v4 = new seh.triangle.scene.event.scenarios.SarahRaraEvent(); var v2 = seh.triangle.scene.event.EventScene(v3.attachMovie(seh.triangle.scene.event.EventScene.LINKAGE_ID, 'EventScene', v3.getNextHighestDepth(), {'parent': this, 'scenario': v4.scenario})); v2.addEventScriptListener(this); v2.startTransitionIn(); }; this.parent.stop(); this.startTransitionOut(); } }; v2.onScenarioFinished = function (evt) { if (this.sarah.isAlive() && this.rara.isAlive()) { this.parent.playBGM('BGM_003'); } else { this.save_data.data.gallery_sarahrara = true; this.save_data.has_sarahrara_insulted = this.save_data.data.gallery_sarahrara; var v2 = (this.collision_list.getHitData(seh.triangle.action.hit.HitType.LEVEL_EXIT)).getListIterator(); while (v2.hasNext()) { (seh.triangle.action.hit.HitData(v2.next())).enable(); } this.parent.playBGM(null); } }; v2.changeToEisysBuilding3F = function (htyp, rctp, rcbtm, rclt, rcrt) { if (htyp == seh.triangle.action.hit.HitType.PLAYER_MOVE) { this.allTransitionsOutDone = function (evt) { super.allTransitionsOutDone(evt); var v3 = new seh.triangle.scene.mode.main.levels.EisysBuilding3F(this.parent); this.player_character._x = 717; this.player_character._y = 65; this.player_character.update(); this.player_character.setDirection(seh.triangle.action.CharacterDirection.FRONT); v3.adjustViewPosition(this.player_character.stage_x, this.player_character.stage_y); v3.startTransitionIn(); }; this.parent.stop(); this.startTransitionOut(); } }; v2.sarah = null; v2.rara = null; v2.zip_tan = null; ASSetPropFlags(seh.triangle.scene.mode.main.levels.PresidentsRoom3F.prototype, null, 1); } #endinitclip } movieClip 1959 __Packages.seh.triangle.scene.mode.main.levels.detail.ZIPTanAppearance { #initclip if (!_global.seh) { _global.seh = new Object(); } if (!_global.seh.triangle) { _global.seh.triangle = new Object(); } if (!_global.seh.triangle.scene) { _global.seh.triangle.scene = new Object(); } if (!_global.seh.triangle.scene.mode) { _global.seh.triangle.scene.mode = new Object(); } if (!_global.seh.triangle.scene.mode.main) { _global.seh.triangle.scene.mode.main = new Object(); } if (!_global.seh.triangle.scene.mode.main.levels) { _global.seh.triangle.scene.mode.main.levels = new Object(); } if (!_global.seh.triangle.scene.mode.main.levels.detail) { _global.seh.triangle.scene.mode.main.levels.detail = new Object(); } if (!_global.seh.triangle.scene.mode.main.levels.detail.ZIPTanAppearance) { var v1 = function (par, zip) { super(par); if (zip == null) { throw new maelstrom.language.NullPointerException('zip == null'); } this.zip_tan = zip; this.onEnterFrame = null; this.state = maelstrom.scene.SceneState.CREATED; }; seh.triangle.scene.mode.main.levels.detail.ZIPTanAppearance = v1; seh.triangle.scene.mode.main.levels.detail.ZIPTanAppearance extends seh.triangle.scene.mode.main.detail.DemoScene; var v2 = v1.prototype; v2.toString = function () { return 'ZIPTanAppearance'; }; v2.onEnterFrame = function () {}; v2.onMotionFinished = function (twn) { twn.removeListener(this); this.terminate(); }; v2.play = function () { super.play(); this.current_tween = new mx.transitions.Tween(this.zip_tan, '_x', mx.transitions.easing.None.easeNone, 755, 295, Math.ceil(460 / seh.triangle.scene.mode.main.levels.detail.ZIPTanAppearance.APPEAR_SPEED), false); this.current_tween.addListener(this); this.zip_tan.beginDemonstration(); this.zip_tan.setDirection(seh.triangle.action.CharacterDirection.LEFT); this.zip_tan.play(); MovieClip.addListener(this); }; v2.stop = function () { super.stop(); if (this.current_tween != null) { this.current_tween.stop(); } this.zip_tan.stop(); MovieClip.removeListener(this); }; v2.resume = function () { super.resume(); if (this.current_tween != null) { this.current_tween.resume(); } this.zip_tan.play(); MovieClip.addListener(this); }; v2.terminate = function () { super.terminate(); if (this.current_tween != null) { this.current_tween.stop(); } MovieClip.removeListener(this); if (this.parent.getState() == maelstrom.scene.SceneState.STOPPED) { this.parent.resume(); } this.zip_tan.endDemonstration(); }; v1.APPEAR_SPEED = 8; v2.current_tween = null; ASSetPropFlags(seh.triangle.scene.mode.main.levels.detail.ZIPTanAppearance.prototype, null, 1); } #endinitclip } movieClip 1960 __Packages.seh.triangle.scene.event.scenarios.SarahRaraEncounter { #initclip if (!_global.seh) { _global.seh = new Object(); } if (!_global.seh.triangle) { _global.seh.triangle = new Object(); } if (!_global.seh.triangle.scene) { _global.seh.triangle.scene = new Object(); } if (!_global.seh.triangle.scene.event) { _global.seh.triangle.scene.event = new Object(); } if (!_global.seh.triangle.scene.event.scenarios) { _global.seh.triangle.scene.event.scenarios = new Object(); } if (!_global.seh.triangle.scene.event.scenarios.SarahRaraEncounter) { var v1 = function () { var v2 = '<mc id=\'Event_SarahRara_Stand_001\' /><trans layer=\'foreground\' direction=\'IN\' duration=\'0.5\' /><voice id=\'Voice_Sarah_Event_001\' />"Welcome to DLsite.com!"<l /><voice id=\'Voice_Rara_Event_001\' />"This is the Professional section!"<p /><voice id=\'Voice_Sarah_Event_002\' />"Yeeeek, that guy looks angry..."<l /><voice id=\'Voice_Rara_Event_002\' />"Aahhh, I knew it!<r />You\'re not providing enough service, sis..."<l /><voice id=\'Voice_Sarah_Event_003\' />"What!?"<l /><voice id=\'Voice_Rara_Event_003\' />"In that case... Come on, ZIP-tan, we need your help!!"<p /><playse id=\'SE_006\' /><playse id=\'SE_007\' />'; this.scenario = new XML(v2); }; seh.triangle.scene.event.scenarios.SarahRaraEncounter = v1; var v2 = v1.prototype; v2.toString = function () { return 'SarahRaraEncounter'; }; ASSetPropFlags(seh.triangle.scene.event.scenarios.SarahRaraEncounter.prototype, null, 1); } #endinitclip } movieClip 1961 __Packages.seh.triangle.scene.event.scenarios.SarahRaraEvent { #initclip if (!_global.seh) { _global.seh = new Object(); } if (!_global.seh.triangle) { _global.seh.triangle = new Object(); } if (!_global.seh.triangle.scene) { _global.seh.triangle.scene = new Object(); } if (!_global.seh.triangle.scene.event) { _global.seh.triangle.scene.event = new Object(); } if (!_global.seh.triangle.scene.event.scenarios) { _global.seh.triangle.scene.event.scenarios = new Object(); } if (!_global.seh.triangle.scene.event.scenarios.SarahRaraEvent) { var v1 = function () { var v2 = '<trans direction=\'OUT\' duration=\'0.5\' />......<l />...<l />Whew, that was pretty tough... What the hell is a ZIP-tan <r />anyway?<p />...<l />Well then, you two aren\'t very popular, so you should give<r />service to the customers so they\'ll start to like you more!<r />I think you know what I mean...<p /><playbgm id=\'BGM_014\' /><trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_SarahRara_Stand_003\' /><trans direction=\'IN\' duration=\'0.5\' /><voice id=\'Voice_Rara_001\' />"Okaaay, we\'ll give you plenty of service."<l />With those words, Rara starts to take her clothes off with <r />a rustling sound.<r />Ohhhh, she\'s professional all right... She knows how this <r />works.<p /><trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_SarahRara_S01_001\' /><trans direction=\'IN\' duration=\'0.5\' /><voice id=\'Voice_Rara_002\' />"Hee hee..."<l />Rara starts rubbing her crotch against my thigh.<r />I can feel that her pussy is already wet by the<r />slippery feeling on my thigh.<p /><voice id=\'Voice_Rara_003\' />"Hahh... What a huge cock, and it\'s so hard...<r />Come on, sis, don\'t pretend to be all innocent, help<r />me give service to him.<l /><voice id=\'Voice_Sarah_001\' />"What!? But... I\'m too embarrassed to do that..."<p /><voice id=\'Voice_Rara_004\' />"Hee hee... You say that, sis, but I know you\'re<r />really a pervert who loves cocks."<l />Wow, is that so?<l /><voice id=\'Voice_Rara_005\' />"Oh, you bet it is! She always boasts that she can skip<r />three meals so long as she\'s got a cock to play with!"<p /><font size=\'30\' />Ahaha, that\'s pretty perverted, all right!<font size=\'22\' /><l /><voice id=\'Voice_Rara_006\' />"Ahaha, ahaha..."<l /><voice id=\'Voice_Sarah_002\' />"Rara... I\'ll get you for that..."<p /><voice id=\'Voice_Rara_007\' />"Come on, sis, hurry it up..."<l /><r /><voice id=\'Voice_Sarah_003\' />"Urgh... I never said anything like that...<r />Oh well, here I come."<p /><trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_SarahRara_S01_002\' /><trans direction=\'IN\' duration=\'0.5\' /><voice id=\'Voice_Sarah_004\' />(Haahn... Oh wow... His cock is so hard...<r />And there\'s juice leaking out of it too...)<l />Ohhhh...<r />Sarah reluctantly crawls between my legs and starts licking <r />my cock.<p /><voice id=\'Voice_Sarah_005\' />(Aahn... This cock is really smelly... Mfff... Ahh...<r />I\'m sure he\'s been having sex before he came here too!)<l />Sarah\'s movements were restrained at first, but<r />she\'s gradually starting to get into it.<r />After a while, her breathing starts getting hot. I can tell <r />by the feeling on my skin.<p /><voice id=\'Voice_Rara_008\' />"Auhn... You should pay more attention to me... Mmm... <r />Hahh...<l />Ohhhhh!<r />Rara grabs my head with both her hands, then twines her <r />tongue around mine.<r />Her hot breaths are brushing past my face...<p /><voice id=\'Voice_Rara_009\' />"Mmmm... Ahhh..."<l /><voice id=\'Voice_Sarah_006\' />(Hahhn... Oh no, his cock is so smelly... I\'m<r />going crazy... Mmm... Haaa...)<p />Down below, Sarah\'s actions are getting more and more intense.<r />She licks the length of my shaft, rubs it with her hands and<r /> puts her mouth over it...<l />Her shyness from before has disappeared as if it was never <r />there.<r />She skillfully devotes herself to stimulating my cock.<p /><voice id=\'Voice_Sarah_007\' />(Aahhh... I hate cocks... But I can\'t stop my<r />pussy from itching... Haahhh...)<l /><r /><voice id=\'Voice_Rara_010\' />"Uahn... Oh sis, you\'re playing with his cock so <r />enthusiastically...<r />I can\'t take it anymore..."<p /><voice id=\'Voice_Rara_011\' />"Mmmm... Ey!"<l />Ohhhhh... Rara forcibly pushes me down.<l /><voice id=\'Voice_Rara_012\' />"Ehehe... Here we go..."<l /><trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_SarahRara_S02_001\' /><trans direction=\'IN\' duration=\'0.5\' />She straddles me with her butt facing towards me.<r />Her pussy lips are right in front of my face...<p /><voice id=\'Voice_Rara_013\' />"I\'m taking this cock now... Uhaahn... Mmm...<r />Mfff... Hahh... It\'s delicious..."<l />Rara sucks my cock into her mouth with a clearly<r />audible noise.<p /><voice id=\'Voice_Sarah_008\' />"Ahh... Hey! It\'s no fair to hog it all to yourself!"<l /><r />Okay...<r />To give her tit for tat, I start licking the pussy<r />juice from around Rara\'s pussy.<p /><voice id=\'Voice_Rara_014\' />"Uhaaaahhn! That feels so good... Lick my pussy a<r />little harder..."<l />Opff...<r />Rara grinds her crotch into my face.<r />She\'s such a cute one.<l />I double my efforts, and start sucking on Rara\'s pussy.<p /><voice id=\'Voice_Rara_015\' />"Haahhhhn... Oh wow... Ahhh, ahhn..."<l /><voice id=\'Voice_Sarah_009\' />"Haahn... That\'s no fair, no fair... Rara<r />gets to have your cock all to herself, and you\'re<r />even licking her pussy..."<p /><voice id=\'Voice_Rara_016\' />"Mhaahh... Here, sis, you can take this side..."<l />As Rara indicates, Sarah moves herself up between my legs.<r />But Rara continues to hog my cock to herself.<l /><voice id=\'Voice_Sarah_010\' />"Auhh... I want to play with his cock a little more... <r />Mmm."<p />Even though Sarah complains, she sometimes sticks out her <r />tongue<r />and licks my shaft, when it slips out of Rara\'s mouth.<p />Ahhh... it feels so good to have my cock licked by Sarah <r />and Rara at the same time...<r />I can\'t see it from here, but...<r />I start sucking and licking Rara\'s pussy with equal <r />enthusiasm.<p /><voice id=\'Voice_Rara_017\' />"Ahhaahhn... I\'m so happy... Thank you so much for playing<r />with my pussy..."<p /><voice id=\'Voice_Sarah_011\' />"Mmm... Hahh... Mmm... Your balls... I\'m going<r />to roll them in my mouth..."<l />Ohhhhhh!<r />Sarah sucks my sack into her mouth and starts pushing it <r />about.<p /><voice id=\'Voice_Sarah_012\' />"Nhaa... Mmmm... Ahh... Mmmm...<r />I\'m going to lick your ass too..."<p />Ohh! Ohh...<r />Sarah\'s tongue is running over my asshole... Ughh...<l />Maybe Sarah\'s become defiant because she\'s been by the <r />sidelines<r />until now, because she\'s starting to have fun by herself.<p /><voice id=\'Voice_Sarah_013\' />"Aahhh... Your asshole is twitching... Nhaa... I\'m going<r />to lick it some more... Mfff..."<p />Ohhhhh...<r />Sarah doesn\'t just lick my asshole, she also licks the area <r />around it.<r />Urgh... She\'s a bigger slut than I gave her credit for.<l />Ohhh... I\'m coming... I\'m coming...<r />Their incessant oral stimulation is driving me to my limit.<p /><voice id=\'Voice_Rara_018\' />"Aahh... Are you going to come? In that case..."<l />Ohhhh!<r />Rara suddenly increased the strength of her fellatio.<l />She\'s trying to get me to ejaculate as soon as possible.<r />I let Rara do what she wants, and let the ejaculation come.<p /><voice id=\'Voice_Rara_019\' />"Mfffff! Mmmfff... Mmmm..."<l /><trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_SarahRara_S02_002\' /><trans direction=\'IN\' duration=\'0.5\' /><effect id=\'Effect_01\' />Ughh...<l />My cock is throbbing violently inside Rara\'s mouth.<r />At the same time, there\'s a large amount of sperm<r />coming from the tip, which flows into her oral cavity.<p /><voice id=\'Voice_Rara_020\' />"Mmm... Mhahh..."<l />Rara collects it in her mouth, but she doesn\'t swallow it.<l /><voice id=\'Voice_Sarah_014\' />"Aahn... You\'re hogging it all to yourself again, aren\'t<r />you!? That\'s so unfair... I wanted his semen too..."<p /><voice id=\'Voice_Rara_021\' />"Mmm... Hahh... I\'ll share it with you, sis..."<l />Rara starts pouring the semen from her mouth into Sarah\'s.<r />There\'s a really slutty expression on her face.<l /><voice id=\'Voice_Sarah_015\' />"Mmmm! Mmm... Hahh... Aaah..."<p />Sarah is a little surprised at first, but then she starts<r />proactively returning Rara\'s kiss, sucking on her lips.<l /><r />I can hear the sounds of throats swallowing down my sperm...<r />The two girls guzzle my semen down, moving their tongues <r />around strongly.<p /><voice id=\'Voice_Sarah_016\' />"Mmmhaahh... Aaahn... Oh wow... This thick,<r />sticky semen tastes really good..."<p />Sarah seems to be really turned on now. She\'s<r />giving me a horny smile.<l /><playbgm id=\'BGM_015\' /><trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_SarahRara_S03_001\' /><trans direction=\'IN\' duration=\'0.5\' />Okay then... I\'ll have some fun with you next, Sarah.<r />I lay Sarah down and get on the floor next to her.<r />Rara lies down on the other side...<p />Ohhh... Their tits are so soft!<r />I start fondling and kneading Sarah\'s tits.<l /><r /><voice id=\'Voice_Sarah_017\' />"Nhaa... Aahh... Aaahhh! Mmm... I\'m so<r />happy... Please, do it more..."<p /><voice id=\'Voice_Rara_022\' />"Aha... In that case I\'ll take this side...<r />Mmmh... Such a slutty little pussy..."<l /><voice id=\'Voice_Sarah_018\' />"Aaahn... Oh no... My pussy is sensitive...<r />Uaahh... Don\'t tease it so much, I\'m going crazy!"<p />Mmm...<r />I play with Sarah\'s tits until I\'m satisfied, then<r />I start kissing her.<l /><voice id=\'Voice_Sarah_019\' />"Mfff..."<l />Sarah accepts me and wraps her tongue around mine.<p /><voice id=\'Voice_Sarah_020\' />"Mmm... Huff... Huff..."<l />We violently smack our tongues together and mix our <r />saliva...<l />Hm?<r />As we do so, Sara starts fiddling with my crotch.<p /><voice id=\'Voice_Sarah_021\' />"Ahh... I\'ve found your cock...<r />Mmm... It\'s really hard...<r />Ahh... Ahn... It\'s amazing... It\'s getting even harder..."<l />Ohhhh...<r />Sarah grabs my cock and starts rubbing up and down along <r />the shaft.<p /><voice id=\'Voice_Sarah_022\' />"Aha... Your cock... I love your cock..."<l />Ughh...<r />She\'s rubbing me so hard that I\'m going to come...<l /><voice id=\'Voice_Sarah_023\' />"Uahhh... Come... Come! Shoot out your cock<r />milk, just like that..."<p /><voice id=\'Voice_Sarah_024\' />"Aaahn... I want your cock milk... I want you<r />to shoot it onto me!"<l /><voice id=\'Voice_Rara_023\' />"Ahaha... See... You really are a cock loving<r />pervert, sis..."<l /><voice id=\'Voice_Sarah_025\' />"No I\'m not... Come on, squirt out your<r />semen already!"<p />Ugh... Even during their conversation, Sarah doesn\'t stop <r />stroking my cock.<r />I\'m starting to get to the limit.<l />You\'re really dirty, Sarah... You like my cock that much?<r />Well then, in that case... I\'m gonna come! I\'m gonna come <r />all over you!<p /><trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_SarahRara_S03_002\' /><trans direction=\'IN\' duration=\'0.5\' /><effect id=\'Effect_01\' />The next moment, my cock starts twitching in Sarah\'s hand.<r />With each twitch, it fires off a load of semen.<l /><voice id=\'Voice_Sarah_026\' />"Aha! It\'s coming out, it\'s coming out! The cock milk is <r />coming out!!"<l />Sarah receives the sperm with a delighted exclamation.<p /><voice id=\'Voice_Sarah_027\' />"Ahahh... It\'s so dirty... There\'s<r />so much semen..."<l />Sarah lovingly gazes at the sperm that\'s gathered on her <r />belly.<p /><voice id=\'Voice_Sarah_028\' />"Aahn... Cock milk...<r />It\'s really smelly, but it\'s still delicious...<r />Hey, I want you to give it to my pussy next..."<p />Though she seems satisfied enough with the semen I <r />ejaculated onto her body,<r />Sarah now entices me to fuck her with an alluring <r />expression on her face.<r />The shame she felt when we first started is nowhere to be <r />found now...<p /><voice id=\'Voice_Rara_024\' />"Oh sis, you really don\'t care who it is, so long as they <r />have a cock, right?<r />You even sucked the cocks of those dirty<r />old men, remember?"<p /><voice id=\'Voice_Sarah_029\' />"Aahn... That\'s not true... I don\'t do<r />it with just about anyone..."<l />Hmmm, but you love cocks, don\'t you?<r />I slap her gently with my cock while I ask her.<l /><voice id=\'Voice_Sarah_030\' />"Ahn... Yes... I love cocks... So I want you<r />to put it into my pussy next..."<p /><font size=\'30\' />Ohhh... You\'re such a dirty cock loving pervert...<font size=\'22\' /><r />What should I do about you?<l /><voice id=\'Voice_Sarah_031\' />"Aaahn... Don\'t be mean... Fuck me, fuck me! Shove<r />your cock deep inside of me!!"<p />Sarah desperately begs for it.<r />She\'s already incredibly horny, so it\'s<r />torture for her to have to wait.<l />Good, good, if you feel that strongly about it, I\'ll fuck you.<r />But before that, I want to take a good look at that pussy <r />of yours.<p /><trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_SarahRara_S03_003\' /><trans direction=\'IN\' duration=\'0.5\' />Hmm...<r />I move my face between Sarah\'s thighs, and stare at her <r />pubic area.<l /><voice id=\'Voice_Sarah_032\' />"Nhaa... Ahhh, aaahn! What do you think?<r />It\'s ready for you..."<p />Hmm, I don\'t know...<r />At the end of my sentence, I start licking Sarah\'s pussy.<p /><voice id=\'Voice_Sarah_033\' />"Aaahn... It\'s been itching for your cock since way back <r />before...<r />So please fuck me already!"<l />No no... I\'ve got to prepare you a little more first.<r />While I give my answer, I stick my fingers into her hole <r />and wriggle them around.<p /><voice id=\'Voice_Sarah_034\' />"Nhaaahn! You\'re so mean to me... If you don\'t push your <r />cock into me soon,<r />then I\'m going outside to ask some random guy to fuck me...<r />I don\'t care who it is, so long as he has a cock..."<p />Her pleas are growing stronger by the minute. Rara was <r />right about her.<r /><font size=\'30\' />Wow, this bitch sure is a cock loving pervert.<font size=\'22\' /><p />Well then, I\'ll grant your request... I\'m going to <r />fuck you!<l /><voice id=\'Voice_Sarah_035\' />"Aaahn... I\'m so happy..."<l /><trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_SarahRara_S03_004\' /><trans direction=\'IN\' duration=\'0.5\' />Hmm...<r />I align my cock with Sarah\'s pussy and shove it inside in <r />one go.<p /><voice id=\'Voice_Sarah_036\' />"Ohhhaahhn! It\'s in... There\'s finally a cock<r />inside my pussy!!"<l />Ohhhhh... That\'s good... Your pussy is great, Sarah...<l />Sarah\'s pussy meant is tightly wrapping itself around my cock.<r />Her pleasant tightness makes me start rocking my hips.<p /><voice id=\'Voice_Sarah_037\' />"Ahahh... Wow, oh wow... I love your cock!!"<l />Ughh... Your pussy is pretty tight, Sarah...<r />I\'ll come in no time if this keeps up...<l />By the way, Sarah, what kind of cock do you like?<r />I decide to ask her a random question to distract myself a <r />little.<p /><voice id=\'Voice_Sarah_038\' />"Aahh... I like all cocks... I like cocks with their skin <r />peeled<r />away, and I like cocks with the skin still on... I like <r />cocks that<r />haven\'t been washed and that are smelly... So please, fuck <r />me harder!!"<p /><voice id=\'Voice_Rara_025\' />"Ahaha... See, I told you sis was a pervert.<r />I love her for being such a perverted slut."<l /><font size=\'30\' />Ohhh... She\'s a pervert!<r />Your sister is a real pervert!!<font size=\'22\' /><p />Even as I reply, I don\'t stop rocking my hips back and forth.<r />I\'m starting to get to the limit...<l /><voice id=\'Voice_Sarah_039\' />"Ahahh... You\'re gonna come, right!? Aaahn...<r />I\'m going to... Come too! Let\'s come together...<r />Give me all of your semen!"<p /><voice id=\'Voice_Sarah_040\' />"Uhaaahh! Come in my pussy this time...<r />Pump me full of your cock milk!"<l /><r />Ohhhh! I\'m coming! I\'m coming!!<r />I start banging my hips at maximum speed.<p /><voice id=\'Voice_Sarah_041\' />"Nhaaaaaaaaahhhhn!"<l /><trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_SarahRara_S03_005\' /><trans direction=\'IN\' duration=\'0.5\' /><effect id=\'Effect_01\' />On my final stroke, the room reverberates with Sarah\'s <r />scream.<l />At the same moment, I reach the limit. My cock begins to <r />pulse<r />and a large quantity of semen bursts forth from the tip...<p /><voice id=\'Voice_Sarah_042\' />"Ahh... Ahhh... It\'s coming out! Your cock milk is coming <r />out!<r />Aaahn... My pussy... The cock milk is overflowing <r />from it..."<l />Sarah looks at the sperm leaking out of her pussy <r />with a slutty look on her face.<p /><voice id=\'Voice_Sarah_043\' />"Ahn... There\'s no cock in my pussy anymore..."<l /><trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_SarahRara_S03_006\' /><trans direction=\'IN\' duration=\'0.5\' /><r />After ejaculating, I slowly pull my cock out of her pussy.<p /><voice id=\'Voice_Sarah_044\' />"Ahh... This is so nice... There\'s sperm leaking out<r />of my pussy... You came so much earlier, but you still<r />had so much left to give... Aahn... It\'s delicious..."<p />Sarah reaches down to her genital area and scoops out<r />some of the semen, then licks it off her fingers.<l /><r />She seemed a little sad when I pulled my cock out of <r />her, but... Right now she\'s engrossed in tasting the <r />semen that\'s dribbling out of her.<p /><voice id=\'Voice_Rara_026\' />"Nhaahn... I can\'t stand it anymore... I want you to<r />ram your cock into my pussy too..."<l /><r /><voice id=\'Voice_Sarah_045\' />"Ahhh... Me too... I want your cock some more..."<p /><voice id=\'Voice_Rara_027\' />"You had him a lot earlier, sis...<r />It\'s my turn now!"<l /><voice id=\'Voice_Sarah_046\' />"Aahn... But... I want him to fuck me more..."<l /><trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_SarahRara_S04_001\' /><trans direction=\'IN\' duration=\'0.5\' />Sarah and Rara both spread their legs to entice me.<p />Okay... I\'m going to have lots of fun with the both of you...<r />I make them get on all fours and line them up next to <r />each other.<p />Their pussies are dripping with juice, and their <r />soft, round asses are trying to seduce me.<l />This is a nice view. Even though I just ejaculated, <r />my cock is getting back to its former hardness.<p /><trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_SarahRara_S04_002\' /><trans direction=\'IN\' duration=\'0.5\' />Here we go!<r />First off, I\'m going to violently shove my cock into <r />Rara\'s pussy!<l /><r /><voice id=\'Voice_Rara_028\' />"Nhaaahn! You just came so much, and yet...<r />Your cock is already so hard again... Aaaahn..."<p />Because Rara has been waiting for it for a while now, <r />there\'s a lot of pussy juice dripping out of her hole.<r />Ohhhhh... The pleasant feeling puts me in a trance, <r />and I rock my hips back and forth.<p /><voice id=\'Voice_Sarah_047\' />"Aaahn... That looks like it feels good...<r />I want you to fuck me too, hurry..."<l />Rara\'s ecstatic screams are making Sarah horny. She\'s <r />begging at me with a look of lust on her face.<l />Hrm, I guess I have little choice... I only have one cock,<r />so you\'re going to have to make do with this for now.<p /><trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_SarahRara_S04_003\' /><trans direction=\'IN\' duration=\'0.5\' /><voice id=\'Voice_Sarah_048\' />"Ohhhhhh! Ahhh... Ahhhn..."<l />I jab my fingers into Sarah\'s asshole and<r />wriggle them around in there.<l /><voice id=\'Voice_Sarah_049\' />"Aaaahhn!! That\'s my asshole! Hahhn... I\'m getting off<r />on my ass... Please, do it harder..."<p />There, and there...<l /><r /><voice id=\'Voice_Sarah_050\' />"Nhaaaaahhh! Aaaahh! Hahhhh..."<p /><voice id=\'Voice_Rara_029\' />"Aahn... Don\'t forget about me..."<l />Ohhh... Take this, and this!<l /><voice id=\'Voice_Rara_030\' />"Ahhhhn... Oh yes! Your cock is hitting<r />the deep end of my pussy!"<l />Ohhhhh... That\'s good... That\'s good...<r />I\'m going to come soon!<p /><trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_SarahRara_S04_004\' /><trans direction=\'IN\' duration=\'0.5\' /><effect id=\'Effect_01\' /><voice id=\'Voice_Rara_031\' />"Nhaa... I\'m coming, I\'m coming! I\'m coming too!<r />Nhaaaaaaaa!!"<l />Right as Rara screams, I also reach orgasm.<r />My cock begins to twitch, and from the tip there\'s a<r />deluge of semen, pouring into Rara\'s vaginal cavity.<l /><voice id=\'Voice_Rara_032\' />"Nhaa... My pussy... It\'s so full of semen..."<p /><voice id=\'Voice_Sarah_051\' />"Aahn... I\'m next! I want your cock in me next!!"<l />Just as soon as Rara has had her orgasm, Sarah starts <r />begging for my cock...<l />Ohhhh...<r />In that case... I\'ll fuck you good...<p /><trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_SarahRara_S04_005\' /><trans direction=\'IN\' duration=\'0.5\' /><voice id=\'Voice_Sarah_052\' />"Aahhh... The cock is back inside me!! I love it, I love it...<r />I love cocks so much... Ohhhh! Ohhhh!"<l /><voice id=\'Voice_Rara_033\' />"Hahh... Don\'t forget about me..."<p /><trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_SarahRara_S04_006\' /><trans direction=\'IN\' duration=\'0.5\' />You bet I won\'t!<r />I push my fingers into Rara\'s pussy and violently stir them <r />around.<l /><voice id=\'Voice_Rara_034\' />"Nhaaa! Aaahn... You\'re playing with my pussy..."<l /><voice id=\'Voice_Sarah_053\' />"Ahhhhh... Nhaa... I love the cock! Aaah...<r />Nhaaa!"<p />......<l />...<p /><trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_SarahRara_S04_007\' /><trans direction=\'IN\' duration=\'0.5\' />Whew... I\'m pretty tired...<l />I fucked them until they dropped... The whole room is<r />filled with the heat and the smell of the sex we just had.<p />Sarah and Rara are lying on the floor, their faces still set<r />in horny expressions of lust as they ride out the throes of <r />ecstasy.<r />Once I get my breath back I rearrange my clothes and turn <r />leave the room.<p /><font size=\'30\' />Filthy characters like that don\'t really get very popular, <r />I guess.<font size=\'22\' />I mutter to myself, then walk out through the door.<l />......<l />...<p />'; this.scenario = new XML(v2); }; seh.triangle.scene.event.scenarios.SarahRaraEvent = v1; var v2 = v1.prototype; v2.toString = function () { return 'SarahRaraEvent'; }; ASSetPropFlags(seh.triangle.scene.event.scenarios.SarahRaraEvent.prototype, null, 1); } #endinitclip } movieClip 1962 __Packages.seh.triangle.scene.mode.main.levels.MensRoom2F { #initclip if (!_global.seh) { _global.seh = new Object(); } if (!_global.seh.triangle) { _global.seh.triangle = new Object(); } if (!_global.seh.triangle.scene) { _global.seh.triangle.scene = new Object(); } if (!_global.seh.triangle.scene.mode) { _global.seh.triangle.scene.mode = new Object(); } if (!_global.seh.triangle.scene.mode.main) { _global.seh.triangle.scene.mode.main = new Object(); } if (!_global.seh.triangle.scene.mode.main.levels) { _global.seh.triangle.scene.mode.main.levels = new Object(); } if (!_global.seh.triangle.scene.mode.main.levels.MensRoom2F) { var v1 = function (par) { super(par); var v3 = seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.background_layer.attachMovie('Eisys_WC_Man', 'Eisys_WC_Man', seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.background_layer.getNextHighestDepth()); seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.foreground_layer.attachMovie('Eisys_WC_Man_Up', 'Eisys_WC_Man_Up', seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.foreground_layer.getNextHighestDepth()); this.background_width = seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.background_layer._width; this.background_height = seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.background_layer._height; seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.scroll_layer._x = (Stage.width - this.background_width) / 2; seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.scroll_layer._y = (Stage.height - this.background_height) / 2; v3.HitArea_WC_Man_01._visible = false; v3.HitArea_WC_Man_02._visible = false; v3.HitArea_WC_Man_03._visible = false; v3.HitArea_WC_Man_04._visible = false; v3.HitArea_WC_Man_05._visible = false; v3.HitArea_WC_Man_06._visible = false; v3.HitArea_WC_Man_07._visible = false; v3.HitArea_WC_Man_08._visible = false; v3.HitArea_WC_Man_09_Door._visible = false; v3.HitArea_WC_Man_10._visible = false; v3.HitArea_WC_Man_11._visible = false; v3.HitArea_WC_Man_12._visible = false; v3.HitArea_WC_Man_13_Toilet._visible = false; v3.HitArea_WC_Man_14._visible = false; v3.HitArea_WC_Man_15_Toilet._visible = false; v3.HitArea_WC_Man_16._visible = false; v3.HitArea_WC_Man_17_Toilet._visible = false; v3.HitArea_WC_Man_18_Toilet._visible = false; v3.HitArea_WC_Man_19_Toilet._visible = false; v3.HitArea_WC_Man_20_Toilet._visible = false; v3.HitArea_WC_Man_21_Toilet._visible = false; v3.HitArea_WC_Man_22_Toilet._visible = false; this.addObstacle(v3.HitArea_WC_Man_13_Toilet); this.addObstacle(v3.HitArea_WC_Man_15_Toilet); this.addObstacle(v3.HitArea_WC_Man_17_Toilet); this.addObstacle(v3.HitArea_WC_Man_18_Toilet); this.addObstacle(v3.HitArea_WC_Man_19_Toilet); this.addObstacle(v3.HitArea_WC_Man_20_Toilet); this.addObstacle(v3.HitArea_WC_Man_21_Toilet); this.addObstacle(v3.HitArea_WC_Man_22_Toilet); this.addObstacle(v3.HitArea_WC_Man_06); this.addObstacle(v3.HitArea_WC_Man_02); this.addObstacle(v3.HitArea_WC_Man_03); this.addObstacle(v3.HitArea_WC_Man_04); this.addObstacle(v3.HitArea_WC_Man_05); this.addObstacle(v3.HitArea_WC_Man_07); this.addObstacle(v3.HitArea_WC_Man_08); this.addObstacle(v3.HitArea_WC_Man_09_Door); this.addObstacle(v3.HitArea_WC_Man_10); this.addObstacle(v3.HitArea_WC_Man_11); this.addObstacle(v3.HitArea_WC_Man_12); this.addObstacle(v3.HitArea_WC_Man_14); this.addObstacle(v3.HitArea_WC_Man_16); this.addObstacle(v3.HitArea_WC_Man_01); this.addLevelExit(v3.HitArea_WC_Man_01, mx.utils.Delegate.create(this, this.changeToEisysBuilding2F)); this.player_character = seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.getHero(); if (!this.save_data.has_card01_got) { this.item_symbol = seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.createItemSymbol(12, 480, 'card01'); this.item_symbol.addEventListener('onEventHit', this); this.addSceneListener(this.item_symbol); } this.state = maelstrom.scene.SceneState.CREATED; }; seh.triangle.scene.mode.main.levels.MensRoom2F = v1; seh.triangle.scene.mode.main.levels.MensRoom2F extends seh.triangle.scene.mode.main.detail.ActionScene; var v2 = v1.prototype; v2.toString = function () { return 'MensRoom2F'; }; v2.terminate = function () { super.terminate(); seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.background_layer.Eisys_WC_Man.removeMovieClip(); seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.foreground_layer.Eisys_WC_Man_Up.removeMovieClip(); if (this.item_symbol != null) { this.removeSceneListener(this.item_symbol); this.item_symbol.removeMovieClip(); } }; v2.onEventHit = function (evt) { this.save_data.has_card01_got = true; this.parent.stop(); var v2 = seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.getRootMovieClip(); (v2.attachMovie(seh.triangle.scene.mode.main.levels.detail.items.ServerRoomKey.LINKAGE_ID, 'ServerRoomKey', v2.getNextHighestDepth(), {'parent': this})).startTransitionIn(); }; v2.changeToEisysBuilding2F = function (htyp, rctp, rcbtm, rclt, rcrt) { if (htyp == seh.triangle.action.hit.HitType.PLAYER_MOVE) { this.allTransitionsOutDone = function (evt) { super.allTransitionsOutDone(evt); var v3 = new seh.triangle.scene.mode.main.levels.EisysBuilding2F(this.parent); this.player_character._x = 212; this.player_character._y = 65; this.player_character.update(); this.player_character.setDirection(seh.triangle.action.CharacterDirection.FRONT); v3.adjustViewPosition(this.player_character.stage_x, this.player_character.stage_y); v3.startTransitionIn(); }; this.parent.stop(); this.startTransitionOut(); } }; v2.item_symbol = null; ASSetPropFlags(seh.triangle.scene.mode.main.levels.MensRoom2F.prototype, null, 1); } #endinitclip } movieClip 1963 __Packages.seh.triangle.scene.mode.main.levels.detail.items.ServerRoomKey { #initclip if (!_global.seh) { _global.seh = new Object(); } if (!_global.seh.triangle) { _global.seh.triangle = new Object(); } if (!_global.seh.triangle.scene) { _global.seh.triangle.scene = new Object(); } if (!_global.seh.triangle.scene.mode) { _global.seh.triangle.scene.mode = new Object(); } if (!_global.seh.triangle.scene.mode.main) { _global.seh.triangle.scene.mode.main = new Object(); } if (!_global.seh.triangle.scene.mode.main.levels) { _global.seh.triangle.scene.mode.main.levels = new Object(); } if (!_global.seh.triangle.scene.mode.main.levels.detail) { _global.seh.triangle.scene.mode.main.levels.detail = new Object(); } if (!_global.seh.triangle.scene.mode.main.levels.detail.items) { _global.seh.triangle.scene.mode.main.levels.detail.items = new Object(); } if (!_global.seh.triangle.scene.mode.main.levels.detail.items.ServerRoomKey) { var v1 = function () { super(); this.sound_effect.attachSound('SE_010'); this.state = maelstrom.scene.SceneState.CREATED; }; seh.triangle.scene.mode.main.levels.detail.items.ServerRoomKey = v1; seh.triangle.scene.mode.main.levels.detail.items.ServerRoomKey extends seh.triangle.scene.event.PopupWindow; var v2 = v1.prototype; v2.toString = function () { return 'ServerRoomKey'; }; v2.play = function () { super.play(); this.foreground_layer.attachMovie('Card_01', 'Card_01', this.foreground_layer.getNextHighestDepth(), {'_x': 230, '_y': 180}); this.sendText('You got the card key'); this.reline(); this.sendText('for the server room!'); this.pageBreak(); }; v1.LINKAGE_ID = '__Packages.seh.triangle.scene.mode.main.levels.detail.items.ServerRoomKey'; v1.CONSTRUCTOR = seh.triangle.scene.mode.main.levels.detail.items.ServerRoomKey; v1.IS_REGISTERED = Object.registerClass(seh.triangle.scene.mode.main.levels.detail.items.ServerRoomKey.LINKAGE_ID, seh.triangle.scene.mode.main.levels.detail.items.ServerRoomKey.CONSTRUCTOR); ASSetPropFlags(seh.triangle.scene.mode.main.levels.detail.items.ServerRoomKey.prototype, null, 1); } #endinitclip } movieClip 1964 __Packages.seh.triangle.scene.mode.main.levels.LadiesRoom2F { #initclip if (!_global.seh) { _global.seh = new Object(); } if (!_global.seh.triangle) { _global.seh.triangle = new Object(); } if (!_global.seh.triangle.scene) { _global.seh.triangle.scene = new Object(); } if (!_global.seh.triangle.scene.mode) { _global.seh.triangle.scene.mode = new Object(); } if (!_global.seh.triangle.scene.mode.main) { _global.seh.triangle.scene.mode.main = new Object(); } if (!_global.seh.triangle.scene.mode.main.levels) { _global.seh.triangle.scene.mode.main.levels = new Object(); } if (!_global.seh.triangle.scene.mode.main.levels.LadiesRoom2F) { var v1 = function (par) { super(par); var v3 = seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.background_layer.attachMovie('Eisys_WC_Woman', 'Eisys_WC_Woman', seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.background_layer.getNextHighestDepth()); seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.foreground_layer.attachMovie('Eisys_WC_Woman_Up', 'Eisys_WC_Woman_Up', seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.foreground_layer.getNextHighestDepth()); this.background_width = seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.background_layer._width; this.background_height = seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.background_layer._height; seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.scroll_layer._x = (Stage.width - this.background_width) / 2; seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.scroll_layer._y = (Stage.height - this.background_height) / 2; v3.HitArea_WC_Woman_01._visible = false; v3.HitArea_WC_Woman_02._visible = false; v3.HitArea_WC_Woman_03._visible = false; v3.HitArea_WC_Woman_04._visible = false; v3.HitArea_WC_Woman_05._visible = false; v3.HitArea_WC_Woman_06._visible = false; v3.HitArea_WC_Woman_07._visible = false; v3.HitArea_WC_Woman_08._visible = false; v3.HitArea_WC_Woman_09._visible = false; v3.HitArea_WC_Woman_10._visible = false; v3.HitArea_WC_Woman_11._visible = false; v3.HitArea_WC_Woman_12._visible = false; v3.HitArea_WC_Woman_13_Toilet._visible = false; v3.HitArea_WC_Woman_14._visible = false; v3.HitArea_WC_Woman_15_Toilet._visible = false; v3.HitArea_WC_Woman_16._visible = false; v3.HitArea_WC_Woman_17_Toilet._visible = false; v3.HitArea_WC_Woman_18._visible = false; v3.HitArea_WC_Woman_19._visible = false; v3.HitArea_WC_Woman_20._visible = false; v3.HitArea_WC_Woman_21._visible = false; v3.HitArea_WC_Woman_22_Toilet._visible = false; v3.HitArea_WC_Woman_23._visible = false; v3.HitArea_WC_Woman_24_Toilet._visible = false; v3.HitArea_WC_Woman_25._visible = false; v3.HitArea_WC_Woman_26_Toilet._visible = false; v3.HitArea_WC_Woman_27._visible = false; this.addObstacle(v3.HitArea_WC_Woman_13_Toilet); this.addObstacle(v3.HitArea_WC_Woman_15_Toilet); this.addObstacle(v3.HitArea_WC_Woman_17_Toilet); this.addObstacle(v3.HitArea_WC_Woman_22_Toilet); this.addObstacle(v3.HitArea_WC_Woman_24_Toilet); this.addObstacle(v3.HitArea_WC_Woman_26_Toilet); this.addObstacle(v3.HitArea_WC_Woman_06); this.addObstacle(v3.HitArea_WC_Woman_02); this.addObstacle(v3.HitArea_WC_Woman_03); this.addObstacle(v3.HitArea_WC_Woman_04); this.addObstacle(v3.HitArea_WC_Woman_05); this.addObstacle(v3.HitArea_WC_Woman_07); this.addObstacle(v3.HitArea_WC_Woman_08); this.addObstacle(v3.HitArea_WC_Woman_09); this.addObstacle(v3.HitArea_WC_Woman_10); this.addObstacle(v3.HitArea_WC_Woman_11); this.addObstacle(v3.HitArea_WC_Woman_12); this.addObstacle(v3.HitArea_WC_Woman_14); this.addObstacle(v3.HitArea_WC_Woman_16); this.addObstacle(v3.HitArea_WC_Woman_18); this.addObstacle(v3.HitArea_WC_Woman_19); this.addObstacle(v3.HitArea_WC_Woman_20); this.addObstacle(v3.HitArea_WC_Woman_21); this.addObstacle(v3.HitArea_WC_Woman_23); this.addObstacle(v3.HitArea_WC_Woman_25); this.addObstacle(v3.HitArea_WC_Woman_27); this.addObstacle(v3.HitArea_WC_Woman_01); this.addLevelExit(v3.HitArea_WC_Woman_01, mx.utils.Delegate.create(this, this.changeToEisysBuilding2F)); this.player_character = seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.getHero(); if (!this.save_data.has_ds02_insulted) { this.ds = seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.createDS(); this.ds._x = 26; this.ds._y = 88; this.ds.setDirection(seh.triangle.action.CharacterDirection.RIGHT); this.ds.addEventListener('onEventHit', this); this.addSceneListener(this.ds); } this.addEnemySpawnPosition(60, 505, seh.triangle.action.CharacterDirection.BACK); this.addSunglasses(58, 340, 100, 100, seh.triangle.action.CharacterDirection.BACK); this.state = maelstrom.scene.SceneState.CREATED; }; seh.triangle.scene.mode.main.levels.LadiesRoom2F = v1; seh.triangle.scene.mode.main.levels.LadiesRoom2F extends seh.triangle.scene.mode.main.detail.ActionScene; var v2 = v1.prototype; v2.toString = function () { return 'LadiesRoom2F'; }; v2.terminate = function () { super.terminate(); seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.background_layer.Eisys_WC_Woman.removeMovieClip(); seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.foreground_layer.Eisys_WC_Woman_Up.removeMovieClip(); if (this.ds != null) { this.removeSceneListener(this.ds); this.ds.removeMovieClip(); } }; v2.onEventHit = function (oevt) { this.ds.gotoAndStop(1); (seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.getDLPoint()).value += this.ds.getExperiencePoint(); this.allTransitionsOutDone = function (ievt) { (mx.transitions.TransitionManager(ievt.target)).removeEventListener('allTransitionsOutDone', this); this.parent.stopBGM(); var v3 = (seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.getRootMovieClip())._parent; var v4 = new seh.triangle.scene.event.scenarios.DSEvent002(); var v2 = seh.triangle.scene.event.EventScene(v3.attachMovie(seh.triangle.scene.event.EventScene.LINKAGE_ID, 'EventScene', v3.getNextHighestDepth(), {'parent': this, 'scenario': v4.scenario})); v2.addEventScriptListener(this); v2.startTransitionIn(); }; this.parent.stop(); this.startTransitionOut(); }; v2.onScenarioFinished = function (evt) { this.save_data.data.gallery_ds_02 = true; this.save_data.has_ds02_insulted = this.save_data.data.gallery_ds_02; this.parent.playBGM(null); }; v2.changeToEisysBuilding2F = function (htyp, rctp, rcbtm, rclt, rcrt) { if (htyp == seh.triangle.action.hit.HitType.PLAYER_MOVE) { this.allTransitionsOutDone = function (evt) { super.allTransitionsOutDone(evt); var v3 = new seh.triangle.scene.mode.main.levels.EisysBuilding2F(this.parent); this.player_character._x = 308; this.player_character._y = 65; this.player_character.update(); this.player_character.setDirection(seh.triangle.action.CharacterDirection.FRONT); v3.adjustViewPosition(this.player_character.stage_x, this.player_character.stage_y); v3.startTransitionIn(); }; this.parent.stop(); this.startTransitionOut(); } }; v2.ds = null; ASSetPropFlags(seh.triangle.scene.mode.main.levels.LadiesRoom2F.prototype, null, 1); } #endinitclip } movieClip 1965 __Packages.seh.triangle.scene.event.scenarios.DSEvent002 { #initclip if (!_global.seh) { _global.seh = new Object(); } if (!_global.seh.triangle) { _global.seh.triangle = new Object(); } if (!_global.seh.triangle.scene) { _global.seh.triangle.scene = new Object(); } if (!_global.seh.triangle.scene.event) { _global.seh.triangle.scene.event = new Object(); } if (!_global.seh.triangle.scene.event.scenarios) { _global.seh.triangle.scene.event.scenarios = new Object(); } if (!_global.seh.triangle.scene.event.scenarios.DSEvent002) { var v1 = function () { var v2 = '<playbgm id=\'BGM_012\' /><trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_DS_Stand_002\' /><trans direction=\'IN\' duration=\'0.5\' /><voice id=\'Voice_DS_014\' />"Aahhh, I\'m DS, and I\'m a sex toy...<r />Please feel free to use me in any way you wish..."<l />DS-chan!<r />Those damn employees, I can\'t forgive them for turning cute<r />little DS-chan into their sex toy like that!<p /><trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_DS_S02_001\' /><trans direction=\'IN\' duration=\'0.5\' /><voice id=\'Voice_DS_015\' />"Aahhh... Go ahead... Have as much fun with me<r />as you like... I\'m completely ready for you..."<l />DS-chan looks at me with a lustful expression on her face,<r />and rolls up her own skirt.<p />Underneath her skirt I can see her crotch, and I can also <r />see the<r />stream of juice that\'s flowing out of it...<l /><r /><font size=\'30\' />!!<font size=\'22\' /><p /><trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_DS_S02_002\' /><trans direction=\'IN\' duration=\'0.5\' /><voice id=\'Voice_DS_016\' />"Nhaaa! Ahh, aahhh! Ahn... My nipples feel so good...<r />Aahhh... I can really feel it in my clitoris!"<l />Ohhh... DS-chan is the best!<r />She\'s simply the best!<r /><font size=\'30\' />You\'re the best fuckrag ever!!<font size=\'22\' /><p />I give in to DS-chan\'s invitation and start sucking<r />on her body.<l />First her smallish but well shaped breasts...<r />Then her little pussy, which looks neat and trim, but<r />which actually opens itself up hornily for me...<r />I devote myself to caressing her everywhere.<p /><trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_DS_S02_003\' /><trans direction=\'IN\' duration=\'0.5\' />Ugh... I don\'t have enough patience!<r />I unbuckle my belt and pull my cock out of my pants.<r />It\'s already standing hard and tall.<l /><voice id=\'Voice_DS_017\' />"Haahhn..."<l />DS-chan looks at my cock, and a sparkle appears in <r />her eyes.<p /><voice id=\'Voice_DS_018\' />"Aaahn! Oh wow, it\'s so big... Come on, go ahead!<r />I can see you\'re leaking pre-cum, so I want you to shove<r />it up my pussy right now!"<l /><trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_DS_S02_004\' /><trans direction=\'IN\' duration=\'0.5\' />You bet I will!<r />I put my cock on her entrance and start pushing inside...<p /><voice id=\'Voice_DS_019\' />"Aaahhhn! It\'s coming in... Your cock is coming in!<r />Ohhh... Ohh, ahhhhh!"<l />Ugh... This is great... You\'re so warm inside, DS-chan...<r />Ohhhhhhhhhh!?<r />As I enjoy the feeling of fucking a sex toy,<r />DS-chan lifts her legs up and wraps them around my body.<p />She\'s so cute, she\'s so cute...<r />I start moving my hips back and forth with great force.<l /><voice id=\'Voice_DS_020\' />"Haaahn... Aaahh... Oh yes! Your cock feels so good..."<l /><voice id=\'Voice_DS_021\' />"Fuck me deeper! Fuck me harder... Fuck me, please...<r />I want you to fuck me as hard as you can with that cock of <r />yours!!"<p />Ughh... You\'re so cute, DS-chan...<r />I lose myself in the sweet pressure she\'s exerting, and <r />continue to move back and forth.<l /><voice id=\'Voice_DS_022\' />"Aaahh... Hngg... Ahhh... Aaahn... Oh no...<r />It feels so good! Aaahh, I\'m only a sex toy,<r />but I\'m getting off so hard!"<p />Ohhhh... This feels fantastic... DS-chan... I\'m about to <r />come!<p /><voice id=\'Voice_DS_023\' />"Aaahhhn... Go ahead... Please come inside me...<r />Shoot all of your cock milk inside of me!!"<l />All right then!!<r />I slam my cock into DS-chan with all I have, for the final <r />moment.<p /><trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_DS_S02_005\' /><trans direction=\'IN\' duration=\'0.5\' /><effect id=\'Effect_01\' /><voice id=\'Voice_DS_024\' />"Hyaaaaaaaahhhhhhhhh!!"<l /><r />Inside her pussy, my cock unleashes its semen with <r />incredible force.<r />At the same time, the room is filled with DS-chan\'s screaming,<r />as she reaches her climax.<p />Huff, huff...<l /><trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_DS_S02_006\' /><trans direction=\'IN\' duration=\'0.5\' /><voice id=\'Voice_DS_025\' />"Aahhh... This is amazing... There\'s so much sperm, too<r />much to fit inside of me... Nhaa... It\'s delicious..."<p />DS-chan uses her fingers to scoop up the semen that is <r />running out of<r />her pussy, and licks it up with a joyful expression.<r />The sight is so erotic that my cock reacts and regains its <r />firmness...<p /><voice id=\'Voice_DS_026\' />"Oh my... Your cock... It\'s gotten hard again...<r />Go ahead, if you haven\'t had enough yet then use me to your <r />heart\'s<r />content, since I\'m a sex toy..."<l /><r /><font size=\'30\' />!!<font size=\'22\' /><p /><trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_DS_S02_005\' /><trans direction=\'IN\' duration=\'0.5\' />Ohhhhhhh!!<r />This is great... This feels really great, DS-chan!!<l />As per DS-chan\'s invitation, I force my cock inside of her <r />again<r />and start roughly grinding back and forth.<p /><voice id=\'Voice_DS_027\' />"Nhaaaahn!! Oh my god! You only just ejaculated your cock <r />milk...<r />But you\'re going at it so roughly again..."<p />Ohhhhhhhh... I\'m gonna come again, DS-chan!<r />Ahh, I\'m coming! I\'m coming!!<l /><voice id=\'Voice_DS_028\' />"Haahn... Come, come! Pump me full of your thick,<r />sticky cock milk again!!"<p />Aaahh, I\'m coming, I\'m coming, I\'m coming!<r />I\'m going to spray it onto your body, DS-chan... I\'m going <r />to shower you in semen!!<l />Right before I come, I pull my cock out of her pussy.<r />At the same time, my cock begins to throb, and ejects a huge<r />amount of semen all over DS-chan\'s body.<p /><trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_DS_S02_007\' /><trans direction=\'IN\' duration=\'0.5\' /><effect id=\'Effect_01\' /><voice id=\'Voice_DS_029\' />"Nhaaaaahh! Aahhh, ahh... So much of<r />your hot milk..."<l /><r />Huff, huff...<r />Ohhhh... Look, DS-chan, there\'s still some semen left...<p />There\'s some semen left on the tip of my cock, so I wipe it <r />off<r />on DS-chan\'s breasts.<l />Rub rub... Rub rub...<r />Aahh... This feels good, DS-chan... I\'m going to get an<r />erection again, rubbing my cock on your tits!<p /><voice id=\'Voice_DS_030\' />"Aaahn... Oh wow, this is so amazing! Your cock is getting <r />hard again!<r />I\'m a fuckrag, so feel free to use me as you please!"<l /><trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_DS_S02_008\' /><trans direction=\'IN\' duration=\'0.5\' />Ohhhhh... I\'m going to insert my cock again!<r />Aahh, it feels so good inside of you, DS-chan!!<p /><voice id=\'Voice_DS_031\' />"Nhaaaa... Aaahn... Your cock is inside of me again!!<r />Aaahh... Oh wow... I\'m going crazy because<r />my pussy feels just too good!"<l /><r />Ohhhhh, okay, then I\'m going to come on your face this time!<r />If it lands in your mouth, be sure to swallow it!<p />Ohhhhh, I\'m coming, DS-chan!<r />I\'m going to ejaculate all over your face!<l /><trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_DS_S02_009\' /><trans direction=\'IN\' duration=\'0.5\' /><effect id=\'Effect_01\' /><voice id=\'Voice_DS_032\' />"Nhaaaa! It\'s a shower of cock milk...<r />Aaahhh! The dribbly cock milk... It feels so good..."<p />Clean my cock, DS-chan! Use your mouth to clean my cock!!<r />Even though I\'m still ejaculating on her face, I push<r />my cock into her mouth...<l /><voice id=\'Voice_DS_033\' />"Mgggg... Haaahn! Mhaaa... Hahhhh...<r />Amhhh... It\'s delicious... Your cock milk is so delicious!<r />Mmm... Mhaa..."<p />......<l />...<l />Huff, huff...<r />DS-chan\'s face is completely covered in white fluid.<r />The entire room is filled with DS-chan\'s hot panting<r />and the smell of the white gunk.<p />Hmmm?<r />As a final act, I rub my cock on her face to<r />clean it off.<l /><voice id=\'Voice_DS_034\' />"Haahh... Ahh, aahhn... mmm..."<l />DS-chan is still riding out the waves of pleasure. There\'s a<r />slutty look of rapture on her face.<p /><font size=\'30\' />Whew... Even so, I just can\'t forgive those asshole<r />employees for turning DS-chan into a sex toy like that...<font size=\'22\' /><p />I put my clothes in order, and I leave the men\'s restroom.<r />I leave the sex toy known as DS-chan behind.<l />......<l />...<p />'; this.scenario = new XML(v2); }; seh.triangle.scene.event.scenarios.DSEvent002 = v1; var v2 = v1.prototype; v2.toString = function () { return 'DSEvent002'; }; ASSetPropFlags(seh.triangle.scene.event.scenarios.DSEvent002.prototype, null, 1); } #endinitclip } movieClip 1966 __Packages.seh.triangle.scene.mode.main.levels.Office2F { #initclip if (!_global.seh) { _global.seh = new Object(); } if (!_global.seh.triangle) { _global.seh.triangle = new Object(); } if (!_global.seh.triangle.scene) { _global.seh.triangle.scene = new Object(); } if (!_global.seh.triangle.scene.mode) { _global.seh.triangle.scene.mode = new Object(); } if (!_global.seh.triangle.scene.mode.main) { _global.seh.triangle.scene.mode.main = new Object(); } if (!_global.seh.triangle.scene.mode.main.levels) { _global.seh.triangle.scene.mode.main.levels = new Object(); } if (!_global.seh.triangle.scene.mode.main.levels.Office2F) { var v1 = function (par) { super(par); var v3 = seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.background_layer.attachMovie('Eisys_2F_Work', 'Eisys_2F_Work', seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.background_layer.getNextHighestDepth()); seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.foreground_layer.attachMovie('Eisys_2F_Work_Up', 'Eisys_2F_Work_Up', seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.foreground_layer.getNextHighestDepth()); seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.foreground_layer.attachMovie('Eisys_1F_Work_Shadow', 'Eisys_1F_Work_Shadow', seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.foreground_layer.getNextHighestDepth()); this.background_width = seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.background_layer._width; this.background_height = seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.background_layer._height; seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.scroll_layer._x = (Stage.width - this.background_width) / 2; seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.scroll_layer._y = (Stage.height - this.background_height) / 2; v3.HitArea_2F_Work_01_Entrance._visible = false; v3.HitArea_2F_Work_02._visible = false; v3.HitArea_2F_Work_03._visible = false; v3.HitArea_2F_Work_04._visible = false; v3.HitArea_2F_Work_05._visible = false; v3.HitArea_2F_Work_06._visible = false; v3.HitArea_2F_Work_07._visible = false; v3.HitArea_2F_Work_08._visible = false; v3.HitArea_2F_Work_09._visible = false; v3.HitArea_2F_Work_10._visible = false; v3.HitArea_2F_Work_11._visible = false; v3.HitArea_2F_Work_12._visible = false; v3.HitArea_2F_Work_13._visible = false; v3.HitArea_2F_Work_14_Desk_L._visible = false; v3.HitArea_2F_Work_15_Desk_L._visible = false; v3.HitArea_2F_Work_16._visible = false; v3.HitArea_2F_Work_17_Chair._visible = false; v3.HitArea_2F_Work_18._visible = false; v3.HitArea_2F_Work_19_Chair._visible = false; v3.HitArea_2F_Work_20._visible = false; v3.HitArea_2F_Work_21._visible = false; v3.HitArea_2F_Work_22._visible = false; v3.HitArea_2F_Work_23._visible = false; v3.HitArea_2F_Work_24._visible = false; v3.HitArea_2F_Work_25._visible = false; v3.HitArea_2F_Work_26._visible = false; v3.HitArea_2F_Work_27._visible = false; v3.HitArea_2F_Work_28._visible = false; v3.HitArea_2F_Work_29._visible = false; v3.HitArea_2F_Work_30._visible = false; v3.HitArea_2F_Work_31._visible = false; v3.HitArea_2F_Work_32._visible = false; v3.HitArea_2F_Work_33._visible = false; v3.HitArea_2F_Work_34._visible = false; v3.HitArea_2F_Work_35._visible = false; v3.HitArea_2F_Work_36._visible = false; v3.HitArea_2F_Work_37._visible = false; v3.HitArea_2F_Work_38._visible = false; v3.HitArea_2F_Work_39._visible = false; v3.HitArea_2F_Work_40._visible = false; v3.HitArea_2F_Work_41._visible = false; v3.HitArea_2F_Work_42._visible = false; v3.HitArea_2F_Work_43._visible = false; v3.HitArea_2F_Work_44._visible = false; v3.HitArea_2F_Work_45._visible = false; v3.HitArea_2F_Work_46._visible = false; v3.HitArea_2F_Work_47._visible = false; v3.HitArea_2F_Work_48._visible = false; v3.HitArea_2F_Work_49._visible = false; v3.HitArea_2F_Work_50._visible = false; v3.HitArea_2F_Work_51._visible = false; v3.HitArea_2F_Work_52._visible = false; v3.HitArea_2F_Work_53._visible = false; v3.HitArea_2F_Work_54._visible = false; v3.HitArea_2F_Work_55._visible = false; v3.HitArea_2F_Work_56._visible = false; v3.HitArea_2F_Work_57._visible = false; v3.HitArea_2F_Work_58._visible = false; v3.HitArea_2F_Work_59._visible = false; v3.HitArea_2F_Work_60._visible = false; this.addObstacle(v3.HitArea_2F_Work_16); this.addObstacle(v3.HitArea_2F_Work_20); this.addObstacle(v3.HitArea_2F_Work_21); this.addObstacle(v3.HitArea_2F_Work_24); this.addObstacle(v3.HitArea_2F_Work_25); this.addObstacle(v3.HitArea_2F_Work_26); this.addObstacle(v3.HitArea_2F_Work_27); this.addObstacle(v3.HitArea_2F_Work_30); this.addObstacle(v3.HitArea_2F_Work_31); this.addObstacle(v3.HitArea_2F_Work_32); this.addObstacle(v3.HitArea_2F_Work_33); this.addObstacle(v3.HitArea_2F_Work_34); this.addObstacle(v3.HitArea_2F_Work_35); this.addObstacle(v3.HitArea_2F_Work_37); this.addObstacle(v3.HitArea_2F_Work_38); this.addObstacle(v3.HitArea_2F_Work_39); this.addObstacle(v3.HitArea_2F_Work_40); this.addObstacle(v3.HitArea_2F_Work_41); this.addObstacle(v3.HitArea_2F_Work_42); this.addObstacle(v3.HitArea_2F_Work_43); this.addObstacle(v3.HitArea_2F_Work_44); this.addObstacle(v3.HitArea_2F_Work_47); this.addObstacle(v3.HitArea_2F_Work_48); this.addObstacle(v3.HitArea_2F_Work_49); this.addObstacle(v3.HitArea_2F_Work_50); this.addObstacle(v3.HitArea_2F_Work_51); this.addObstacle(v3.HitArea_2F_Work_52); this.addObstacle(v3.HitArea_2F_Work_53); this.addObstacle(v3.HitArea_2F_Work_54); this.addObstacle(v3.HitArea_2F_Work_57); this.addObstacle(v3.HitArea_2F_Work_58); this.addObstacle(v3.HitArea_2F_Work_59); this.addObstacle(v3.HitArea_2F_Work_60); this.addObstacle(v3.HitArea_2F_Work_23); this.addObstacle(v3.HitArea_2F_Work_29); this.addObstacle(v3.HitArea_2F_Work_36); this.addObstacle(v3.HitArea_2F_Work_46); this.addObstacle(v3.HitArea_2F_Work_56); this.addObstacle(v3.HitArea_2F_Work_02); this.addObstacle(v3.HitArea_2F_Work_03); this.addObstacle(v3.HitArea_2F_Work_04); this.addObstacle(v3.HitArea_2F_Work_05); this.addObstacle(v3.HitArea_2F_Work_06); this.addObstacle(v3.HitArea_2F_Work_07); this.addObstacle(v3.HitArea_2F_Work_08); this.addObstacle(v3.HitArea_2F_Work_09); this.addObstacle(v3.HitArea_2F_Work_10); this.addObstacle(v3.HitArea_2F_Work_11); this.addObstacle(v3.HitArea_2F_Work_12); this.addObstacle(v3.HitArea_2F_Work_13); this.addObstacle(v3.HitArea_2F_Work_14_Desk_L); this.addObstacle(v3.HitArea_2F_Work_15_Desk_L); this.addObstacle(v3.HitArea_2F_Work_17_Chair); this.addObstacle(v3.HitArea_2F_Work_18); this.addObstacle(v3.HitArea_2F_Work_19_Chair); this.addObstacle(v3.HitArea_2F_Work_22); this.addObstacle(v3.HitArea_2F_Work_28); this.addObstacle(v3.HitArea_2F_Work_45); this.addObstacle(v3.HitArea_2F_Work_55); this.addObstacle(v3.HitArea_2F_Work_01_Entrance); this.addLevelExit(v3.HitArea_2F_Work_01_Entrance, mx.utils.Delegate.create(this, this.changeToEisysBuilding2F)); this.player_character = seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.getHero(); this.enemy_launcher.setSpawnDelayDuration(120); this.addEnemySpawnPosition(503, 475, seh.triangle.action.CharacterDirection.BACK); if (this.save_data.has_sarahrara_insulted) { this.addGuard(254, 242, 120, 120, seh.triangle.action.CharacterDirection.RIGHT); this.addGuard(696, 124, 120, 120, seh.triangle.action.CharacterDirection.FRONT); this.addGuard(646, 449, 120, 120, seh.triangle.action.CharacterDirection.LEFT); } else { this.addBlueJacket(254, 242, 120, 120, seh.triangle.action.CharacterDirection.RIGHT); this.addBlueJacket(696, 124, 120, 120, seh.triangle.action.CharacterDirection.FRONT); this.addBlueJacket(646, 449, 120, 120, seh.triangle.action.CharacterDirection.LEFT); } this.addBrownJacket(42, 99, 120, 120, seh.triangle.action.CharacterDirection.FRONT); this.addBrownJacket(95, 260, 120, 120, seh.triangle.action.CharacterDirection.RIGHT); this.addBrownJacket(372, 106, 120, 120, seh.triangle.action.CharacterDirection.FRONT); this.addBrownJacket(381, 339, 120, 120, seh.triangle.action.CharacterDirection.FRONT); if (!this.save_data.has_dlpt800_got) { this.item_symbol = seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.createItemSymbol(64, 354, 'dlpt800'); this.item_symbol.addEventListener('onEventHit', this); this.addSceneListener(this.item_symbol); } this.state = maelstrom.scene.SceneState.CREATED; }; seh.triangle.scene.mode.main.levels.Office2F = v1; seh.triangle.scene.mode.main.levels.Office2F extends seh.triangle.scene.mode.main.detail.ActionScene; var v2 = v1.prototype; v2.toString = function () { return 'Office2F'; }; v2.terminate = function () { super.terminate(); seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.background_layer.Eisys_2F_Work.removeMovieClip(); seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.foreground_layer.Eisys_2F_Work_Up.removeMovieClip(); seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.foreground_layer.Eisys_1F_Work_Shadow.removeMovieClip(); if (this.item_symbol != null) { this.removeSceneListener(this.item_symbol); this.item_symbol.removeMovieClip(); } }; v2.onEventHit = function (evt) { this.save_data.has_dlpt800_got = true; (seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.getDLPoint()).value += 800; this.parent.stop(); var v2 = seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.getRootMovieClip(); (v2.attachMovie(seh.triangle.scene.mode.main.levels.detail.items.DLPoint800.LINKAGE_ID, 'DLPoint800', v2.getNextHighestDepth(), {'parent': this})).startTransitionIn(); }; v2.changeToEisysBuilding2F = function (htyp, rctp, rcbtm, rclt, rcrt) { if (htyp == seh.triangle.action.hit.HitType.PLAYER_MOVE) { this.allTransitionsOutDone = function (evt) { super.allTransitionsOutDone(evt); var v3 = new seh.triangle.scene.mode.main.levels.EisysBuilding2F(this.parent); this.player_character._x = 850; this.player_character._y = 65; this.player_character.update(); this.player_character.setDirection(seh.triangle.action.CharacterDirection.FRONT); v3.adjustViewPosition(this.player_character.stage_x, this.player_character.stage_y); v3.startTransitionIn(); }; this.parent.stop(); this.startTransitionOut(); } }; v2.item_symbol = null; ASSetPropFlags(seh.triangle.scene.mode.main.levels.Office2F.prototype, null, 1); } #endinitclip } movieClip 1967 __Packages.seh.triangle.scene.mode.main.levels.detail.items.DLPoint800 { #initclip if (!_global.seh) { _global.seh = new Object(); } if (!_global.seh.triangle) { _global.seh.triangle = new Object(); } if (!_global.seh.triangle.scene) { _global.seh.triangle.scene = new Object(); } if (!_global.seh.triangle.scene.mode) { _global.seh.triangle.scene.mode = new Object(); } if (!_global.seh.triangle.scene.mode.main) { _global.seh.triangle.scene.mode.main = new Object(); } if (!_global.seh.triangle.scene.mode.main.levels) { _global.seh.triangle.scene.mode.main.levels = new Object(); } if (!_global.seh.triangle.scene.mode.main.levels.detail) { _global.seh.triangle.scene.mode.main.levels.detail = new Object(); } if (!_global.seh.triangle.scene.mode.main.levels.detail.items) { _global.seh.triangle.scene.mode.main.levels.detail.items = new Object(); } if (!_global.seh.triangle.scene.mode.main.levels.detail.items.DLPoint800) { var v1 = function () { super(); this.sound_effect.attachSound('SE_009'); this.state = maelstrom.scene.SceneState.CREATED; }; seh.triangle.scene.mode.main.levels.detail.items.DLPoint800 = v1; seh.triangle.scene.mode.main.levels.detail.items.DLPoint800 extends seh.triangle.scene.event.PopupWindow; var v2 = v1.prototype; v2.toString = function () { return 'DLPoint800'; }; v2.play = function () { super.play(); this.sendText('Obtained 800 points.'); this.pageBreak(); }; v1.LINKAGE_ID = '__Packages.seh.triangle.scene.mode.main.levels.detail.items.DLPoint800'; v1.CONSTRUCTOR = seh.triangle.scene.mode.main.levels.detail.items.DLPoint800; v1.IS_REGISTERED = Object.registerClass(seh.triangle.scene.mode.main.levels.detail.items.DLPoint800.LINKAGE_ID, seh.triangle.scene.mode.main.levels.detail.items.DLPoint800.CONSTRUCTOR); ASSetPropFlags(seh.triangle.scene.mode.main.levels.detail.items.DLPoint800.prototype, null, 1); } #endinitclip } movieClip 1968 __Packages.seh.triangle.scene.mode.main.levels.ServerRoom2F { #initclip if (!_global.seh) { _global.seh = new Object(); } if (!_global.seh.triangle) { _global.seh.triangle = new Object(); } if (!_global.seh.triangle.scene) { _global.seh.triangle.scene = new Object(); } if (!_global.seh.triangle.scene.mode) { _global.seh.triangle.scene.mode = new Object(); } if (!_global.seh.triangle.scene.mode.main) { _global.seh.triangle.scene.mode.main = new Object(); } if (!_global.seh.triangle.scene.mode.main.levels) { _global.seh.triangle.scene.mode.main.levels = new Object(); } if (!_global.seh.triangle.scene.mode.main.levels.ServerRoom2F) { var v1 = function (par) { super(par); var v3 = seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.background_layer.attachMovie('Eisys_2F_Server', 'Eisys_2F_Server', seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.background_layer.getNextHighestDepth()); seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.foreground_layer.attachMovie('Eisys_2F_Server_Up', 'Eisys_2F_Server_Up', seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.foreground_layer.getNextHighestDepth()); this.background_width = seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.background_layer._width; this.background_height = seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.background_layer._height; seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.scroll_layer._x = (Stage.width - this.background_width) / 2; seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.scroll_layer._y = (Stage.height - this.background_height) / 2; v3.HitArea_2F_Server_01._visible = false; v3.HitArea_2F_Server_02._visible = false; v3.HitArea_2F_Server_03._visible = false; v3.HitArea_2F_Server_04._visible = false; v3.HitArea_2F_Server_05._visible = false; v3.HitArea_2F_Server_06._visible = false; v3.HitArea_2F_Server_07_PC._visible = false; v3.HitArea_2F_Server_08_PC._visible = false; v3.HitArea_2F_Server_09_PC._visible = false; v3.HitArea_2F_Server_10_PC._visible = false; v3.HitArea_2F_Server_11_PC._visible = false; this.addObstacle(v3.HitArea_2F_Server_02); this.addObstacle(v3.HitArea_2F_Server_03); this.addObstacle(v3.HitArea_2F_Server_04); this.addObstacle(v3.HitArea_2F_Server_05); this.addObstacle(v3.HitArea_2F_Server_06); this.addObstacle(v3.HitArea_2F_Server_07_PC); this.addObstacle(v3.HitArea_2F_Server_08_PC); this.addObstacle(v3.HitArea_2F_Server_09_PC); this.addObstacle(v3.HitArea_2F_Server_10_PC); this.addObstacle(v3.HitArea_2F_Server_11_PC); this.addObstacle(v3.HitArea_2F_Server_01); this.addLevelExit(v3.HitArea_2F_Server_01, mx.utils.Delegate.create(this, this.changeToEisysBuilding2F)); this.player_character = seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.getHero(); if (!this.save_data.has_mente_escaped) { var v4 = seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.enemy_layer; this.mente = seh.triangle.scene.mode.main.levels.detail.MenteStanding(v4.attachMovie(seh.triangle.scene.mode.main.levels.detail.MenteStanding.LINKAGE_ID, 'MenteStanding', v4.getNextHighestDepth(), {'collision_list': this.collision_list})); this.mente._x = 134; this.mente._y = 68; this.mente.addEventListener('onEventHit', this); this.addSceneListener(this.mente); } this.state = maelstrom.scene.SceneState.CREATED; }; seh.triangle.scene.mode.main.levels.ServerRoom2F = v1; seh.triangle.scene.mode.main.levels.ServerRoom2F extends seh.triangle.scene.mode.main.detail.ActionScene; var v2 = v1.prototype; v2.toString = function () { return 'ServerRoom2F'; }; v2.terminate = function () { super.terminate(); seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.background_layer.Eisys_2F_Server.removeMovieClip(); seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.foreground_layer.Eisys_2F_Server_Up.removeMovieClip(); if (this.mente != null) { this.removeSceneListener(this.mente); this.mente.removeMovieClip(); } }; v2.onEventHit = function (evt) { this.demo_scene = new seh.triangle.scene.mode.main.levels.detail.MenteEscaping(this, this.mente); this.parent.stop(); var v2 = seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.getRootMovieClip(); var v3 = new seh.triangle.scene.event.scenarios.MenteEncounter(); var v4 = seh.triangle.scene.event.Encounter(v2.attachMovie(seh.triangle.scene.event.Encounter.LINKAGE_ID, 'Encounter', v2.getNextHighestDepth(), {'parent': this.demo_scene, 'scenario': v3.scenario})); v4.startTransitionIn(); }; v2.changeToEisysBuilding2F = function (htyp, rctp, rcbtm, rclt, rcrt) { if (htyp == seh.triangle.action.hit.HitType.PLAYER_MOVE) { this.allTransitionsOutDone = function (evt) { super.allTransitionsOutDone(evt); var v3 = new seh.triangle.scene.mode.main.levels.EisysBuilding2F(this.parent); this.player_character._x = 1284; this.player_character._y = 65; this.player_character.update(); this.player_character.setDirection(seh.triangle.action.CharacterDirection.FRONT); v3.adjustViewPosition(this.player_character.stage_x, this.player_character.stage_y); v3.startTransitionIn(); }; this.parent.stop(); this.startTransitionOut(); } }; v2.mente = null; ASSetPropFlags(seh.triangle.scene.mode.main.levels.ServerRoom2F.prototype, null, 1); } #endinitclip } movieClip 1969 __Packages.seh.triangle.scene.mode.main.levels.detail.MenteStanding { #initclip if (!_global.seh) { _global.seh = new Object(); } if (!_global.seh.triangle) { _global.seh.triangle = new Object(); } if (!_global.seh.triangle.scene) { _global.seh.triangle.scene = new Object(); } if (!_global.seh.triangle.scene.mode) { _global.seh.triangle.scene.mode = new Object(); } if (!_global.seh.triangle.scene.mode.main) { _global.seh.triangle.scene.mode.main = new Object(); } if (!_global.seh.triangle.scene.mode.main.levels) { _global.seh.triangle.scene.mode.main.levels = new Object(); } if (!_global.seh.triangle.scene.mode.main.levels.detail) { _global.seh.triangle.scene.mode.main.levels.detail = new Object(); } if (!_global.seh.triangle.scene.mode.main.levels.detail.MenteStanding) { var v1 = function () { super(); if (this.collision_list == null) { throw new maelstrom.language.IllegalStateException('collision_list == null'); } mx.events.EventDispatcher.initialize(this); this.step_animation = new Array(); this.step_animation.push(this.attachMovie('Chara_Mente_Back', 'Chara_Mente_Back', this.getNextHighestDepth())); this.step_animation.push(this.attachMovie('Chara_Mente_Front', 'Chara_Mente_Front', this.getNextHighestDepth())); this.step_animation.push(this.attachMovie('Chara_Mente_Left', 'Chara_Mente_Left', this.getNextHighestDepth())); this.step_animation.push(this.attachMovie('Chara_Mente_Right', 'Chara_Mente_Right', this.getNextHighestDepth())); var v3 = 0; while (v3 < this.step_animation.length) { this.step_animation[v3]._visible = false; this.step_animation[v3].HitArea_Character._visible = false; this.step_animation[v3].HitArea_Damage._visible = false; ++v3; } this.direction_index = seh.triangle.action.CharacterDirection.FRONT.ordinal(); this.hit_event = new seh.triangle.action.hit.Rectangle(seh.triangle.action.hit.HitType.EVENT); this.hit_event.disable(); this.hit_event.onRectangleHit = mx.utils.Delegate.create(this, this.onEventHit); this.collision_list.addHitData(this.hit_event); this.setDirection(seh.triangle.action.CharacterDirection.FRONT); this.stop(); }; seh.triangle.scene.mode.main.levels.detail.MenteStanding = v1; seh.triangle.scene.mode.main.levels.detail.MenteStanding extends MovieClip; var v2 = v1.prototype; v2.toString = function () { return 'MenteStanding'; }; v2.onUnload = function () { this.hit_event.onRectangleHit = null; this.collision_list.removeHitData(this.hit_event); }; v2.onScenePlayed = function (evt) { this.hit_event.enable(); this.play(); }; v2.onSceneStopped = function (evt) { this.stop(); }; v2.onSceneResumed = function (evt) { this.play(); }; v2.onSceneUpdated = function (evt) { this.update(); }; v2.onSceneTerminated = function (evt) { this.hit_event.disable(); this.stop(); }; v2.onEventHit = function (htyp, rctp, rcbtm, rclt, rcrt) { if (htyp == seh.triangle.action.hit.HitType.PLAYER_MOVE) { this.hit_event.disable(); this.dispatchEvent({'type': 'onEventHit'}); } }; v2.play = function () { var v2 = 0; while (v2 < this.step_animation.length) { this.step_animation[v2].play(); ++v2; } }; v2.stop = function () { var v2 = 0; while (v2 < this.step_animation.length) { this.step_animation[v2].stop(); ++v2; } }; v2.update = function () { this.hit_event.localToGlobal(); }; v2.setDirection = function (chardir) { if (chardir == null) { throw new maelstrom.language.NullPointerException('chardir == null'); } var v2 = chardir.ordinal(); this.step_animation[this.direction_index]._visible = false; this.direction_index = v2; this.step_animation[this.direction_index]._visible = true; this.hit_event.bounding_box = this.step_animation[this.direction_index].HitArea_Character; this.hit_event.localToGlobal(); }; v1.LINKAGE_ID = '__Packages.seh.triangle.scene.mode.main.levels.detail.MenteStanding'; v1.CONSTRUCTOR = seh.triangle.scene.mode.main.levels.detail.MenteStanding; v1.IS_REGISTERED = Object.registerClass(seh.triangle.scene.mode.main.levels.detail.MenteStanding.LINKAGE_ID, seh.triangle.scene.mode.main.levels.detail.MenteStanding.CONSTRUCTOR); v2.step_animation = null; ASSetPropFlags(seh.triangle.scene.mode.main.levels.detail.MenteStanding.prototype, null, 1); } #endinitclip } movieClip 1970 __Packages.seh.triangle.scene.mode.main.levels.detail.MenteEscaping { #initclip if (!_global.seh) { _global.seh = new Object(); } if (!_global.seh.triangle) { _global.seh.triangle = new Object(); } if (!_global.seh.triangle.scene) { _global.seh.triangle.scene = new Object(); } if (!_global.seh.triangle.scene.mode) { _global.seh.triangle.scene.mode = new Object(); } if (!_global.seh.triangle.scene.mode.main) { _global.seh.triangle.scene.mode.main = new Object(); } if (!_global.seh.triangle.scene.mode.main.levels) { _global.seh.triangle.scene.mode.main.levels = new Object(); } if (!_global.seh.triangle.scene.mode.main.levels.detail) { _global.seh.triangle.scene.mode.main.levels.detail = new Object(); } if (!_global.seh.triangle.scene.mode.main.levels.detail.MenteEscaping) { var v1 = function (par, maint) { super(par); if (maint == null) { throw new maelstrom.language.NullPointerException('maint == null'); } this.mente = maint; this.onEnterFrame = null; this.state = maelstrom.scene.SceneState.CREATED; }; seh.triangle.scene.mode.main.levels.detail.MenteEscaping = v1; seh.triangle.scene.mode.main.levels.detail.MenteEscaping extends seh.triangle.scene.mode.main.detail.DemoScene; var v2 = v1.prototype; v2.toString = function () { return 'MenteEscaping'; }; v2.onEnterFrame = function () {}; v2.onMotionFinished = function (prevtwn) { prevtwn.removeListener(this); ++this.key_index; if (this.key_index == this.key_frame.length) { this.current_tween = null; this.mente.setDirection(seh.triangle.action.CharacterDirection.BACK); this.animation_count = seh.triangle.scene.mode.main.levels.detail.MenteEscaping.WAIT_DURATION; this.onEnterFrame = this.internalWait; } else { if (this.key_frame[this.key_index] == null) { ++this.key_index; this.key_frame.push(new maelstrom.collections.Pair({'prop': '_y', 'begin': 470, 'finish': 525, 'duration': Math.ceil(55 / seh.triangle.scene.mode.main.levels.detail.MenteEscaping.ESCAPE_SPEED)}, seh.triangle.action.CharacterDirection.FRONT)); var v2 = this.key_frame[this.key_index].first; this.current_tween = new mx.transitions.Tween(this.mente, v2.prop, mx.transitions.easing.None.easeNone, v2.begin, v2.finish, v2.duration, false); this.mente.setDirection(seh.triangle.action.CharacterDirection(this.key_frame[this.key_index].second)); this.alpha_change = Math.ceil(100 / v2.duration); this.animation_count = v2.duration; this.onEnterFrame = this.internalFadeOut; } else { var v2 = this.key_frame[this.key_index].first; this.current_tween = new mx.transitions.Tween(this.mente, v2.prop, mx.transitions.easing.None.easeNone, v2.begin, v2.finish, v2.duration, false); this.current_tween.addListener(this); this.mente.setDirection(seh.triangle.action.CharacterDirection(this.key_frame[this.key_index].second)); } } }; v2.play = function () { super.play(); this.key_frame = new Array(); this.key_frame.push(new maelstrom.collections.Pair({'prop': '_x', 'begin': 135, 'finish': 7, 'duration': Math.ceil(128 / seh.triangle.scene.mode.main.levels.detail.MenteEscaping.ESCAPE_SPEED)}, seh.triangle.action.CharacterDirection.LEFT)); this.key_frame.push(new maelstrom.collections.Pair({'prop': '_y', 'begin': 72, 'finish': 307, 'duration': Math.ceil(235 / seh.triangle.scene.mode.main.levels.detail.MenteEscaping.ESCAPE_SPEED)}, seh.triangle.action.CharacterDirection.FRONT)); this.key_frame.push(new maelstrom.collections.Pair({'prop': '_x', 'begin': 7, 'finish': 136, 'duration': Math.ceil(129 / seh.triangle.scene.mode.main.levels.detail.MenteEscaping.ESCAPE_SPEED)}, seh.triangle.action.CharacterDirection.RIGHT)); this.key_frame.push(new maelstrom.collections.Pair({'prop': '_y', 'begin': 307, 'finish': 470, 'duration': Math.ceil(163 / seh.triangle.scene.mode.main.levels.detail.MenteEscaping.ESCAPE_SPEED)}, seh.triangle.action.CharacterDirection.FRONT)); var v3 = this.key_frame[this.key_index].first; this.current_tween = new mx.transitions.Tween(this.mente, v3.prop, mx.transitions.easing.None.easeNone, v3.begin, v3.finish, v3.duration, false); this.current_tween.addListener(this); this.mente.setDirection(seh.triangle.action.CharacterDirection(this.key_frame[this.key_index].second)); this.mente.play(); MovieClip.addListener(this); }; v2.stop = function () { super.stop(); if (this.current_tween != null) { this.current_tween.stop(); } this.mente.stop(); MovieClip.removeListener(this); }; v2.resume = function () { super.resume(); if (this.current_tween != null) { this.current_tween.resume(); } this.mente.play(); MovieClip.addListener(this); }; v2.terminate = function () { super.terminate(); if (this.current_tween != null) { this.current_tween.stop(); } MovieClip.removeListener(this); if (this.parent.getState() == maelstrom.scene.SceneState.STOPPED) { this.parent.resume(); } (seh.triangle.scene.mode.main.DLInsult((seh.triangle.scene.mode.main.detail.ActionScene(this.parent)).getParent())).playBGM(null); var v3 = (seh.triangle.Triangle.getInstance()).getSaveData(); v3.has_mente_escaped = true; }; v2.internalWait = function () { if (--this.animation_count == 0) { this.key_frame.push(new maelstrom.collections.Pair({'prop': '_x', 'begin': 136, 'finish': 71, 'duration': Math.ceil(65 / seh.triangle.scene.mode.main.levels.detail.MenteEscaping.ESCAPE_SPEED)}, seh.triangle.action.CharacterDirection.LEFT)); this.key_frame.push(null); var v2 = this.key_frame[this.key_index].first; this.current_tween = new mx.transitions.Tween(this.mente, v2.prop, mx.transitions.easing.None.easeNone, v2.begin, v2.finish, v2.duration, false); this.current_tween.addListener(this); this.mente.setDirection(seh.triangle.action.CharacterDirection(this.key_frame[this.key_index].second)); this.onEnterFrame = null; } }; v2.internalFadeOut = function () { this.mente._alpha -= this.alpha_change; if (--this.animation_count == 0) { this.mente._alpha = 100; this.mente._visible = false; this.terminate(); } }; v1.ESCAPE_SPEED = 8; v1.WAIT_DURATION = 10; v2.current_tween = null; v2.key_frame = null; v2.key_index = 0; v2.alpha_change = 0; v2.animation_count = 0; ASSetPropFlags(seh.triangle.scene.mode.main.levels.detail.MenteEscaping.prototype, null, 1); } #endinitclip } movieClip 1971 __Packages.seh.triangle.scene.event.scenarios.MenteEncounter { #initclip if (!_global.seh) { _global.seh = new Object(); } if (!_global.seh.triangle) { _global.seh.triangle = new Object(); } if (!_global.seh.triangle.scene) { _global.seh.triangle.scene = new Object(); } if (!_global.seh.triangle.scene.event) { _global.seh.triangle.scene.event = new Object(); } if (!_global.seh.triangle.scene.event.scenarios) { _global.seh.triangle.scene.event.scenarios = new Object(); } if (!_global.seh.triangle.scene.event.scenarios.MenteEncounter) { var v1 = function () { var v2 = '<mc id=\'Event_Mente_Stand_001\' /><trans layer=\'foreground\' direction=\'IN\' duration=\'0.5\' /><voice id=\'Voice_Mente_Event_001\' />"Eeeek! What are you doing!?"<p />'; this.scenario = new XML(v2); }; seh.triangle.scene.event.scenarios.MenteEncounter = v1; var v2 = v1.prototype; v2.toString = function () { return 'MenteEncounter'; }; ASSetPropFlags(seh.triangle.scene.event.scenarios.MenteEncounter.prototype, null, 1); } #endinitclip } movieClip 1972 __Packages.seh.triangle.scene.mode.main.levels.MensRoom1F { #initclip if (!_global.seh) { _global.seh = new Object(); } if (!_global.seh.triangle) { _global.seh.triangle = new Object(); } if (!_global.seh.triangle.scene) { _global.seh.triangle.scene = new Object(); } if (!_global.seh.triangle.scene.mode) { _global.seh.triangle.scene.mode = new Object(); } if (!_global.seh.triangle.scene.mode.main) { _global.seh.triangle.scene.mode.main = new Object(); } if (!_global.seh.triangle.scene.mode.main.levels) { _global.seh.triangle.scene.mode.main.levels = new Object(); } if (!_global.seh.triangle.scene.mode.main.levels.MensRoom1F) { var v1 = function (par) { super(par); var v3 = seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.background_layer.attachMovie('Eisys_WC_Man', 'Eisys_WC_Man', seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.background_layer.getNextHighestDepth()); seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.foreground_layer.attachMovie('Eisys_WC_Man_Up', 'Eisys_WC_Man_Up', seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.foreground_layer.getNextHighestDepth()); this.background_width = seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.background_layer._width; this.background_height = seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.background_layer._height; seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.scroll_layer._x = (Stage.width - this.background_width) / 2; seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.scroll_layer._y = (Stage.height - this.background_height) / 2; v3.HitArea_WC_Man_01._visible = false; v3.HitArea_WC_Man_02._visible = false; v3.HitArea_WC_Man_03._visible = false; v3.HitArea_WC_Man_04._visible = false; v3.HitArea_WC_Man_05._visible = false; v3.HitArea_WC_Man_06._visible = false; v3.HitArea_WC_Man_07._visible = false; v3.HitArea_WC_Man_08._visible = false; v3.HitArea_WC_Man_09_Door._visible = false; v3.HitArea_WC_Man_10._visible = false; v3.HitArea_WC_Man_11._visible = false; v3.HitArea_WC_Man_12._visible = false; v3.HitArea_WC_Man_13_Toilet._visible = false; v3.HitArea_WC_Man_14._visible = false; v3.HitArea_WC_Man_15_Toilet._visible = false; v3.HitArea_WC_Man_16._visible = false; v3.HitArea_WC_Man_17_Toilet._visible = false; v3.HitArea_WC_Man_18_Toilet._visible = false; v3.HitArea_WC_Man_19_Toilet._visible = false; v3.HitArea_WC_Man_20_Toilet._visible = false; v3.HitArea_WC_Man_21_Toilet._visible = false; v3.HitArea_WC_Man_22_Toilet._visible = false; this.addObstacle(v3.HitArea_WC_Man_13_Toilet); this.addObstacle(v3.HitArea_WC_Man_15_Toilet); this.addObstacle(v3.HitArea_WC_Man_17_Toilet); this.addObstacle(v3.HitArea_WC_Man_18_Toilet); this.addObstacle(v3.HitArea_WC_Man_19_Toilet); this.addObstacle(v3.HitArea_WC_Man_20_Toilet); this.addObstacle(v3.HitArea_WC_Man_21_Toilet); this.addObstacle(v3.HitArea_WC_Man_22_Toilet); this.addObstacle(v3.HitArea_WC_Man_06); this.addObstacle(v3.HitArea_WC_Man_02); this.addObstacle(v3.HitArea_WC_Man_03); this.addObstacle(v3.HitArea_WC_Man_04); this.addObstacle(v3.HitArea_WC_Man_05); this.addObstacle(v3.HitArea_WC_Man_07); this.addObstacle(v3.HitArea_WC_Man_08); this.addObstacle(v3.HitArea_WC_Man_09_Door); this.addObstacle(v3.HitArea_WC_Man_10); this.addObstacle(v3.HitArea_WC_Man_11); this.addObstacle(v3.HitArea_WC_Man_12); this.addObstacle(v3.HitArea_WC_Man_14); this.addObstacle(v3.HitArea_WC_Man_16); this.addObstacle(v3.HitArea_WC_Man_01); this.addLevelExit(v3.HitArea_WC_Man_01, mx.utils.Delegate.create(this, this.changeToEisysBuilding1F)); this.player_character = seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.getHero(); if (!this.save_data.has_ds01_insulted) { this.ds = seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.createDS(); this.ds._x = 81; this.ds._y = 87; this.ds.setEventSense(100, 100); this.ds.addEventListener('onEventHit', this); this.event_delegate = mx.utils.Delegate.create(this, this.onBossBattleStarted); this.ds.addEventListener('onEventHit', this.event_delegate); this.addSceneListener(this.ds); this.blue_jacket = this.addBlueJacket(58, 122, 60, 200, seh.triangle.action.CharacterDirection.BACK); (this.blue_jacket.getHealth()).addEventListener('onEnemyHealthEmptied', this); this.removeSceneListener(this.blue_jacket); this.brown_jacket = this.addBrownJacket(98, 117, 60, 200, seh.triangle.action.CharacterDirection.BACK); (this.brown_jacket.getHealth()).addEventListener('onEnemyHealthEmptied', this); this.removeSceneListener(this.brown_jacket); } this.state = maelstrom.scene.SceneState.CREATED; }; seh.triangle.scene.mode.main.levels.MensRoom1F = v1; seh.triangle.scene.mode.main.levels.MensRoom1F extends seh.triangle.scene.mode.main.detail.ActionScene; var v2 = v1.prototype; v2.toString = function () { return 'MensRoom1F'; }; v2.play = function () { super.play(); if (this.blue_jacket != null && this.brown_jacket != null) { this.addSceneListener(this.blue_jacket); this.addSceneListener(this.brown_jacket); } }; v2.terminate = function () { super.terminate(); seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.background_layer.Eisys_WC_Man.removeMovieClip(); seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.foreground_layer.Eisys_WC_Man_Up.removeMovieClip(); if (this.ds != null) { this.removeSceneListener(this.ds); this.ds.removeMovieClip(); } }; v2.onEnemyHealthEmptied = function (evt) { if ((this.blue_jacket.getHealth()).isEmpty() && (this.brown_jacket.getHealth()).isEmpty()) { this.ds.setEventSense(null, null); this.ds.addEventListener('onEventHit', mx.utils.Delegate.create(this, this.onBossBattleFinished)); } }; v2.onBossBattleStarted = function (oevt) { (seh.triangle.action.characters.DS(oevt.target)).removeEventListener('onEventHit', this.event_delegate); this.event_delegate = null; this.blue_jacket.gotoAndPlay(2); this.brown_jacket.gotoAndPlay(2); this.parent.stop(); var v2 = (this.collision_list.getHitData(seh.triangle.action.hit.HitType.LEVEL_EXIT)).getListIterator(); while (v2.hasNext()) { (seh.triangle.action.hit.HitData(v2.next())).disable(); } var v3 = seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.getRootMovieClip(); var v5 = new seh.triangle.scene.event.scenarios.DSEncounter(); var v4 = seh.triangle.scene.event.Encounter(v3.attachMovie(seh.triangle.scene.event.Encounter.LINKAGE_ID, 'Encounter', v3.getNextHighestDepth(), {'parent': this, 'scenario': v5.scenario})); v4.startTransitionIn(); }; v2.onBossBattleFinished = function (oevt) { this.ds.gotoAndStop(1); (seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.getDLPoint()).value += this.ds.getExperiencePoint(); this.allTransitionsOutDone = function (ievt) { (mx.transitions.TransitionManager(ievt.target)).removeEventListener('allTransitionsOutDone', this); this.parent.stopBGM(); var v3 = (seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.getRootMovieClip())._parent; var v4 = new seh.triangle.scene.event.scenarios.DSEvent001(); var v2 = seh.triangle.scene.event.EventScene(v3.attachMovie(seh.triangle.scene.event.EventScene.LINKAGE_ID, 'EventScene', v3.getNextHighestDepth(), {'parent': this, 'scenario': v4.scenario})); v2.addEventScriptListener(this); v2.startTransitionIn(); }; this.parent.stop(); this.startTransitionOut(); }; v2.onScenarioFinished = function (evt) { this.save_data.data.gallery_ds_01 = true; this.save_data.has_ds01_insulted = this.save_data.data.gallery_ds_01; var v2 = (this.collision_list.getHitData(seh.triangle.action.hit.HitType.LEVEL_EXIT)).getListIterator(); while (v2.hasNext()) { (seh.triangle.action.hit.HitData(v2.next())).enable(); } this.parent.playBGM(null); }; v2.changeToEisysBuilding1F = function (htyp, rctp, rcbtm, rclt, rcrt) { if (htyp == seh.triangle.action.hit.HitType.PLAYER_MOVE) { this.allTransitionsOutDone = function (evt) { super.allTransitionsOutDone(evt); var v3 = new seh.triangle.scene.mode.main.levels.EisysBuilding1F(this.parent); this.player_character._x = 212; this.player_character._y = 65; this.player_character.update(); this.player_character.setDirection(seh.triangle.action.CharacterDirection.FRONT); v3.adjustViewPosition(this.player_character.stage_x, this.player_character.stage_y); v3.startTransitionIn(); }; this.parent.stop(); this.startTransitionOut(); } }; v2.ds = null; v2.blue_jacket = null; v2.brown_jacket = null; ASSetPropFlags(seh.triangle.scene.mode.main.levels.MensRoom1F.prototype, null, 1); } #endinitclip } movieClip 1973 __Packages.seh.triangle.scene.event.scenarios.DSEncounter { #initclip if (!_global.seh) { _global.seh = new Object(); } if (!_global.seh.triangle) { _global.seh.triangle = new Object(); } if (!_global.seh.triangle.scene) { _global.seh.triangle.scene = new Object(); } if (!_global.seh.triangle.scene.event) { _global.seh.triangle.scene.event = new Object(); } if (!_global.seh.triangle.scene.event.scenarios) { _global.seh.triangle.scene.event.scenarios = new Object(); } if (!_global.seh.triangle.scene.event.scenarios.DSEncounter) { var v1 = function () { var v2 = '<mc id=\'Event_DS_S01_001\' /><trans layer=\'foreground\' direction=\'IN\' duration=\'0.5\' /><voice id=\'Voice_DS_001\' />"Nhaaahn... Your cock is so great... It\'s so hard...<r />Aahn... And delicious juice is leaking out of it..."<p />An obscene voice is reverberating through the men\'s restroom...<r />In the back of the restroom is a private booth, where the <r />mascot character known as DS-chan is being used as a living <r />toilet.<l /><voice id=\'Voice_DS_002\' />"Aaahn! Aaahhh... My pussy is so happy, I\'m going to come<r />because you\'re fucking me so hard!!"<p />'; this.scenario = new XML(v2); }; seh.triangle.scene.event.scenarios.DSEncounter = v1; var v2 = v1.prototype; v2.toString = function () { return 'DSEncounter'; }; ASSetPropFlags(seh.triangle.scene.event.scenarios.DSEncounter.prototype, null, 1); } #endinitclip } movieClip 1974 __Packages.seh.triangle.scene.event.scenarios.DSEvent001 { #initclip if (!_global.seh) { _global.seh = new Object(); } if (!_global.seh.triangle) { _global.seh.triangle = new Object(); } if (!_global.seh.triangle.scene) { _global.seh.triangle.scene = new Object(); } if (!_global.seh.triangle.scene.event) { _global.seh.triangle.scene.event = new Object(); } if (!_global.seh.triangle.scene.event.scenarios) { _global.seh.triangle.scene.event.scenarios = new Object(); } if (!_global.seh.triangle.scene.event.scenarios.DSEvent001) { var v1 = function () { var v2 = '<playbgm id=\'BGM_011\' /><trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_DS_Stand_002\' /><trans direction=\'IN\' duration=\'0.5\' />......<l />...<l />Whew, I\'ve finally gotten rid of all of them!<r />Those damn employees, how can they treat cute little<r />DS-chan as their personal sex toy like that? Those scum!<p /><trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_DS_S01_002\' /><trans direction=\'IN\' duration=\'0.5\' /><voice id=\'Voice_DS_003\' />"Aahhh, I\'m DS, I serve as a fuckrag here. Feel free to use <r />me in any way you wish..."<l /><font size=\'30\' />!!<font size=\'22\' /><l /><trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_DS_S01_003\' /><trans direction=\'IN\' duration=\'0.5\' /><voice id=\'Voice_DS_004\' />"Nhaaaahn!! Oh wow! Your cock is coming all the way inside...<r />I love cocks that are as strong and hard as yours!!"<p />Ahhh... DS-chan is the best!<r />Absolutely the best!<r /><font size=\'30\' />You\'re the best fuckrag ever!!<font size=\'22\' /><l />I take DS-chan up on her offer and start to penetrate her.<r />Then I really get into the mood and begin moving my hips <r />back and forth with enthusiasm...<p />Ohh... Ohhh... This is great, DS-chan!<r />This feels really good...<l /><voice id=\'Voice_DS_005\' />"Haahn! Thank you very much... I\'m also happy that<r />your cock is inside of me!"<l /><voice id=\'Voice_DS_006\' />"Aaahhhnn... Oh yes... Please, fuck me<r />harder!"<p /><voice id=\'Voice_DS_007\' />"Haaaahhhhn! Aahh... You\'re doing it so hard... At<r />this rate I\'m going to come... Aaahhh..."<l />Ohhhh... This is go good...<r />DS-chan, I\'m about to come myself!!<p /><voice id=\'Voice_DS_008\' />"Aahhn... If you want to come, then please go ahead... <r />Please come inside of me...<r />Pump my pussy full of your cock milk!"<p />Ohhhhhh!<r />All right, I\'ll come inside, just as you want!!<l /><voice id=\'Voice_DS_009\' />"Aaahhh... I\'m so happy...<r />Go ahead, please fill this fuckrag up with your<r />cock milk..."<p />When DS-chan pleads with me like that, I go for the final <r />spurt,<r />rocking my hips like crazy for the grand finale.<p /><trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_DS_S01_004\' /><trans direction=\'IN\' duration=\'0.5\' /><effect id=\'Effect_01\' /><voice id=\'Voice_DS_010\' />"Nhaaaaa! I\'m coming!! I\'m coming!<r />Aaaahhhhhh!"<l />At the same time, DS-chan\'s scream echoes through <r />the room...<p />Right at the same time DS-chan has her orgasm, I also reach <r />the limit.<r />My cock starts to throb in the deepest part of her tunnel,<r />and a large amount of sperm fills her up...<p /><voice id=\'Voice_DS_011\' />"Nhohhh! Your cock is pulsing!! Ahh, aahh! Oh wow...<r />There\'s so much cock milk coming out!"<l />Ohhhhh! It\'s coming out, the cock milk is coming out... <r />I\'m going<r />to pour it all inside of you DS-chan...<l /><voice id=\'Voice_DS_012\' />"Aaaahhn... I\'m so happy..."<p />Mmmm... Ughh...<r />I push my cock deep inside of her, to make sure every<r />last drop of my semen ends up in her body.<p />Once I\'m sure that my ejaculation is well and truly over,<r />I slowly pull my cock out of her.<r />As it comes out, some of my semen dribbles out of <r />her pussy...<p />Hmmmm?<l /><r /><trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_DS_S01_006\' /><trans direction=\'IN\' duration=\'0.5\' />Some of my semen is still sticking to the tip of<r />my cock, so I rub it on her ass to get it off.<p /><trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_DS_S01_005\' /><trans direction=\'IN\' duration=\'0.5\' /><voice id=\'Voice_DS_013\' />"Haahhh, aahn, nhaaa... So much cock milk...<r />Hahhh..."<l /><r />DS-chan\'s voice is still soaked with the throes of ecstasy.<r />Her face has a look of horny joy on it.<p /><font size=\'30\' />Whew... Even so, I just can\'t forgive those asshole<r />employees for turning DS-chan into a sex toy like that...<font size=\'22\' /><p />I put my clothes in order, and I leave the men\'s restroom.<r />I leave the sex toy known as DS-chan behind.<l />......<l />...<p />'; this.scenario = new XML(v2); }; seh.triangle.scene.event.scenarios.DSEvent001 = v1; var v2 = v1.prototype; v2.toString = function () { return 'DSEvent001'; }; ASSetPropFlags(seh.triangle.scene.event.scenarios.DSEvent001.prototype, null, 1); } #endinitclip } movieClip 1975 __Packages.seh.triangle.scene.mode.main.levels.LadiesRoom1F { #initclip if (!_global.seh) { _global.seh = new Object(); } if (!_global.seh.triangle) { _global.seh.triangle = new Object(); } if (!_global.seh.triangle.scene) { _global.seh.triangle.scene = new Object(); } if (!_global.seh.triangle.scene.mode) { _global.seh.triangle.scene.mode = new Object(); } if (!_global.seh.triangle.scene.mode.main) { _global.seh.triangle.scene.mode.main = new Object(); } if (!_global.seh.triangle.scene.mode.main.levels) { _global.seh.triangle.scene.mode.main.levels = new Object(); } if (!_global.seh.triangle.scene.mode.main.levels.LadiesRoom1F) { var v1 = function (par) { super(par); var v3 = seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.background_layer.attachMovie('Eisys_WC_Woman', 'Eisys_WC_Woman', seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.background_layer.getNextHighestDepth()); seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.foreground_layer.attachMovie('Eisys_WC_Woman_Up', 'Eisys_WC_Woman_Up', seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.foreground_layer.getNextHighestDepth()); this.background_width = seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.background_layer._width; this.background_height = seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.background_layer._height; seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.scroll_layer._x = (Stage.width - this.background_width) / 2; seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.scroll_layer._y = (Stage.height - this.background_height) / 2; v3.HitArea_WC_Woman_01._visible = false; v3.HitArea_WC_Woman_02._visible = false; v3.HitArea_WC_Woman_03._visible = false; v3.HitArea_WC_Woman_04._visible = false; v3.HitArea_WC_Woman_05._visible = false; v3.HitArea_WC_Woman_06._visible = false; v3.HitArea_WC_Woman_07._visible = false; v3.HitArea_WC_Woman_08._visible = false; v3.HitArea_WC_Woman_09._visible = false; v3.HitArea_WC_Woman_10._visible = false; v3.HitArea_WC_Woman_11._visible = false; v3.HitArea_WC_Woman_12._visible = false; v3.HitArea_WC_Woman_13_Toilet._visible = false; v3.HitArea_WC_Woman_14._visible = false; v3.HitArea_WC_Woman_15_Toilet._visible = false; v3.HitArea_WC_Woman_16._visible = false; v3.HitArea_WC_Woman_17_Toilet._visible = false; v3.HitArea_WC_Woman_18._visible = false; v3.HitArea_WC_Woman_19._visible = false; v3.HitArea_WC_Woman_20._visible = false; v3.HitArea_WC_Woman_21._visible = false; v3.HitArea_WC_Woman_22_Toilet._visible = false; v3.HitArea_WC_Woman_23._visible = false; v3.HitArea_WC_Woman_24_Toilet._visible = false; v3.HitArea_WC_Woman_25._visible = false; v3.HitArea_WC_Woman_26_Toilet._visible = false; v3.HitArea_WC_Woman_27._visible = false; this.addObstacle(v3.HitArea_WC_Woman_13_Toilet); this.addObstacle(v3.HitArea_WC_Woman_15_Toilet); this.addObstacle(v3.HitArea_WC_Woman_17_Toilet); this.addObstacle(v3.HitArea_WC_Woman_22_Toilet); this.addObstacle(v3.HitArea_WC_Woman_24_Toilet); this.addObstacle(v3.HitArea_WC_Woman_26_Toilet); this.addObstacle(v3.HitArea_WC_Woman_06); this.addObstacle(v3.HitArea_WC_Woman_02); this.addObstacle(v3.HitArea_WC_Woman_03); this.addObstacle(v3.HitArea_WC_Woman_04); this.addObstacle(v3.HitArea_WC_Woman_05); this.addObstacle(v3.HitArea_WC_Woman_07); this.addObstacle(v3.HitArea_WC_Woman_08); this.addObstacle(v3.HitArea_WC_Woman_09); this.addObstacle(v3.HitArea_WC_Woman_10); this.addObstacle(v3.HitArea_WC_Woman_11); this.addObstacle(v3.HitArea_WC_Woman_12); this.addObstacle(v3.HitArea_WC_Woman_14); this.addObstacle(v3.HitArea_WC_Woman_16); this.addObstacle(v3.HitArea_WC_Woman_18); this.addObstacle(v3.HitArea_WC_Woman_19); this.addObstacle(v3.HitArea_WC_Woman_20); this.addObstacle(v3.HitArea_WC_Woman_21); this.addObstacle(v3.HitArea_WC_Woman_23); this.addObstacle(v3.HitArea_WC_Woman_25); this.addObstacle(v3.HitArea_WC_Woman_27); this.addObstacle(v3.HitArea_WC_Woman_01); this.addLevelExit(v3.HitArea_WC_Woman_01, mx.utils.Delegate.create(this, this.changeToEisysBuilding1F)); this.player_character = seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.getHero(); this.state = maelstrom.scene.SceneState.CREATED; }; seh.triangle.scene.mode.main.levels.LadiesRoom1F = v1; seh.triangle.scene.mode.main.levels.LadiesRoom1F extends seh.triangle.scene.mode.main.detail.ActionScene; var v2 = v1.prototype; v2.toString = function () { return 'LadiesRoom1F'; }; v2.terminate = function () { super.terminate(); seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.background_layer.Eisys_WC_Woman.removeMovieClip(); seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.foreground_layer.Eisys_WC_Woman_Up.removeMovieClip(); }; v2.changeToEisysBuilding1F = function (htyp, rctp, rcbtm, rclt, rcrt) { if (htyp == seh.triangle.action.hit.HitType.PLAYER_MOVE) { this.allTransitionsOutDone = function (evt) { super.allTransitionsOutDone(evt); var v3 = new seh.triangle.scene.mode.main.levels.EisysBuilding1F(this.parent); this.player_character._x = 308; this.player_character._y = 65; this.player_character.update(); this.player_character.setDirection(seh.triangle.action.CharacterDirection.FRONT); v3.adjustViewPosition(this.player_character.stage_x, this.player_character.stage_y); v3.startTransitionIn(); }; this.parent.stop(); this.startTransitionOut(); } }; ASSetPropFlags(seh.triangle.scene.mode.main.levels.LadiesRoom1F.prototype, null, 1); } #endinitclip } movieClip 1976 __Packages.seh.triangle.scene.mode.main.levels.Office1F { #initclip if (!_global.seh) { _global.seh = new Object(); } if (!_global.seh.triangle) { _global.seh.triangle = new Object(); } if (!_global.seh.triangle.scene) { _global.seh.triangle.scene = new Object(); } if (!_global.seh.triangle.scene.mode) { _global.seh.triangle.scene.mode = new Object(); } if (!_global.seh.triangle.scene.mode.main) { _global.seh.triangle.scene.mode.main = new Object(); } if (!_global.seh.triangle.scene.mode.main.levels) { _global.seh.triangle.scene.mode.main.levels = new Object(); } if (!_global.seh.triangle.scene.mode.main.levels.Office1F) { var v1 = function (par) { super(par); var v3 = seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.background_layer.attachMovie('Eisys_1F_Work', 'Eisys_1F_Work', seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.background_layer.getNextHighestDepth()); seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.foreground_layer.attachMovie('Eisys_1F_Work_Up', 'Eisys_1F_Work_Up', seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.foreground_layer.getNextHighestDepth()); this.background_width = seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.background_layer._width; this.background_height = seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.background_layer._height; seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.scroll_layer._x = (Stage.width - this.background_width) / 2; seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.scroll_layer._y = (Stage.height - this.background_height) / 2; v3.HitArea_1F_Work_01_Entrance._visible = false; v3.HitArea_1F_Work_02._visible = false; v3.HitArea_1F_Work_03._visible = false; v3.HitArea_1F_Work_04._visible = false; v3.HitArea_1F_Work_05._visible = false; v3.HitArea_1F_Work_06._visible = false; v3.HitArea_1F_Work_07._visible = false; v3.HitArea_1F_Work_08._visible = false; v3.HitArea_1F_Work_09._visible = false; v3.HitArea_1F_Work_10._visible = false; v3.HitArea_1F_Work_11._visible = false; v3.HitArea_1F_Work_12._visible = false; v3.HitArea_1F_Work_13._visible = false; v3.HitArea_1F_Work_14._visible = false; v3.HitArea_1F_Work_15._visible = false; v3.HitArea_1F_Work_16._visible = false; v3.HitArea_1F_Work_17._visible = false; v3.HitArea_1F_Work_18._visible = false; v3.HitArea_1F_Work_19._visible = false; v3.HitArea_1F_Work_20._visible = false; v3.HitArea_1F_Work_21._visible = false; v3.HitArea_1F_Work_22._visible = false; v3.HitArea_1F_Work_23._visible = false; v3.HitArea_1F_Work_24._visible = false; v3.HitArea_1F_Work_25._visible = false; v3.HitArea_1F_Work_26._visible = false; v3.HitArea_1F_Work_27._visible = false; v3.HitArea_1F_Work_28._visible = false; v3.HitArea_1F_Work_29._visible = false; v3.HitArea_1F_Work_30._visible = false; v3.HitArea_1F_Work_31._visible = false; v3.HitArea_1F_Work_32._visible = false; v3.HitArea_1F_Work_33._visible = false; v3.HitArea_1F_Work_34._visible = false; v3.HitArea_1F_Work_35._visible = false; v3.HitArea_1F_Work_36._visible = false; v3.HitArea_1F_Work_37._visible = false; v3.HitArea_1F_Work_38._visible = false; v3.HitArea_1F_Work_39._visible = false; v3.HitArea_1F_Work_40._visible = false; v3.HitArea_1F_Work_41._visible = false; v3.HitArea_1F_Work_42._visible = false; v3.HitArea_1F_Work_43._visible = false; v3.HitArea_1F_Work_44._visible = false; v3.HitArea_1F_Work_45._visible = false; v3.HitArea_1F_Work_46._visible = false; v3.HitArea_1F_Work_47._visible = false; v3.HitArea_1F_Work_48._visible = false; v3.HitArea_1F_Work_49._visible = false; v3.HitArea_1F_Work_50._visible = false; v3.HitArea_1F_Work_51._visible = false; v3.HitArea_1F_Work_52._visible = false; v3.HitArea_1F_Work_53._visible = false; v3.HitArea_1F_Work_54_Desk_L._visible = false; v3.HitArea_1F_Work_55_Desk_L._visible = false; v3.HitArea_1F_Work_56._visible = false; v3.HitArea_1F_Work_57_Chair._visible = false; v3.HitArea_1F_Work_58._visible = false; v3.HitArea_1F_Work_59_Chair._visible = false; this.addObstacle(v3.HitArea_1F_Work_14); this.addObstacle(v3.HitArea_1F_Work_15); this.addObstacle(v3.HitArea_1F_Work_16); this.addObstacle(v3.HitArea_1F_Work_17); this.addObstacle(v3.HitArea_1F_Work_18); this.addObstacle(v3.HitArea_1F_Work_19); this.addObstacle(v3.HitArea_1F_Work_20); this.addObstacle(v3.HitArea_1F_Work_21); this.addObstacle(v3.HitArea_1F_Work_24); this.addObstacle(v3.HitArea_1F_Work_25); this.addObstacle(v3.HitArea_1F_Work_26); this.addObstacle(v3.HitArea_1F_Work_27); this.addObstacle(v3.HitArea_1F_Work_28); this.addObstacle(v3.HitArea_1F_Work_29); this.addObstacle(v3.HitArea_1F_Work_30); this.addObstacle(v3.HitArea_1F_Work_31); this.addObstacle(v3.HitArea_1F_Work_34); this.addObstacle(v3.HitArea_1F_Work_35); this.addObstacle(v3.HitArea_1F_Work_36); this.addObstacle(v3.HitArea_1F_Work_37); this.addObstacle(v3.HitArea_1F_Work_38); this.addObstacle(v3.HitArea_1F_Work_39); this.addObstacle(v3.HitArea_1F_Work_40); this.addObstacle(v3.HitArea_1F_Work_41); this.addObstacle(v3.HitArea_1F_Work_42); this.addObstacle(v3.HitArea_1F_Work_43); this.addObstacle(v3.HitArea_1F_Work_46); this.addObstacle(v3.HitArea_1F_Work_47); this.addObstacle(v3.HitArea_1F_Work_48); this.addObstacle(v3.HitArea_1F_Work_49); this.addObstacle(v3.HitArea_1F_Work_52); this.addObstacle(v3.HitArea_1F_Work_53); this.addObstacle(v3.HitArea_1F_Work_56); this.addObstacle(v3.HitArea_1F_Work_13); this.addObstacle(v3.HitArea_1F_Work_23); this.addObstacle(v3.HitArea_1F_Work_33); this.addObstacle(v3.HitArea_1F_Work_45); this.addObstacle(v3.HitArea_1F_Work_51); this.addObstacle(v3.HitArea_1F_Work_02); this.addObstacle(v3.HitArea_1F_Work_03); this.addObstacle(v3.HitArea_1F_Work_04); this.addObstacle(v3.HitArea_1F_Work_05); this.addObstacle(v3.HitArea_1F_Work_06); this.addObstacle(v3.HitArea_1F_Work_07); this.addObstacle(v3.HitArea_1F_Work_08); this.addObstacle(v3.HitArea_1F_Work_09); this.addObstacle(v3.HitArea_1F_Work_10); this.addObstacle(v3.HitArea_1F_Work_11); this.addObstacle(v3.HitArea_1F_Work_12); this.addObstacle(v3.HitArea_1F_Work_22); this.addObstacle(v3.HitArea_1F_Work_32); this.addObstacle(v3.HitArea_1F_Work_44); this.addObstacle(v3.HitArea_1F_Work_50); this.addObstacle(v3.HitArea_1F_Work_54_Desk_L); this.addObstacle(v3.HitArea_1F_Work_55_Desk_L); this.addObstacle(v3.HitArea_1F_Work_57_Chair); this.addObstacle(v3.HitArea_1F_Work_58); this.addObstacle(v3.HitArea_1F_Work_59_Chair); this.addObstacle(v3.HitArea_1F_Work_01_Entrance); this.addLevelExit(v3.HitArea_1F_Work_01_Entrance, mx.utils.Delegate.create(this, this.changeToEisysBuilding1F)); this.player_character = seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.getHero(); if (!this.save_data.has_card02_got) { this.item_symbol = seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.createItemSymbol(640, 180, 'card02'); this.item_symbol.addEventListener('onEventHit', this); this.addSceneListener(this.item_symbol); } this.enemy_launcher.setSpawnDelayDuration(120); this.addEnemySpawnPosition(503, 475, seh.triangle.action.CharacterDirection.BACK); if (this.save_data.has_sarahrara_insulted) { this.addGuard(34, 133, 120, 120, seh.triangle.action.CharacterDirection.FRONT); this.addGuard(540, 167, 120, 120, seh.triangle.action.CharacterDirection.FRONT); } else { this.addBlueJacket(34, 133, 120, 120, seh.triangle.action.CharacterDirection.FRONT); this.addBlueJacket(540, 167, 120, 120, seh.triangle.action.CharacterDirection.FRONT); } this.addBrownJacket(345, 336, 120, 120, seh.triangle.action.CharacterDirection.BACK); this.addBrownJacket(540, 440, 120, 120, seh.triangle.action.CharacterDirection.LEFT); this.addBrownJacket(670, 119, 120, 120, seh.triangle.action.CharacterDirection.FRONT); this.state = maelstrom.scene.SceneState.CREATED; }; seh.triangle.scene.mode.main.levels.Office1F = v1; seh.triangle.scene.mode.main.levels.Office1F extends seh.triangle.scene.mode.main.detail.ActionScene; var v2 = v1.prototype; v2.toString = function () { return 'Office1F'; }; v2.terminate = function () { super.terminate(); seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.background_layer.Eisys_1F_Work.removeMovieClip(); seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.foreground_layer.Eisys_1F_Work_Up.removeMovieClip(); if (this.item_symbol != null) { this.removeSceneListener(this.item_symbol); this.item_symbol.removeMovieClip(); } }; v2.onEventHit = function (evt) { this.save_data.has_card02_got = true; this.parent.stop(); var v2 = seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.getRootMovieClip(); (v2.attachMovie(seh.triangle.scene.mode.main.levels.detail.items.MeetingRoomKey.LINKAGE_ID, 'MeetingRoomKey', v2.getNextHighestDepth(), {'parent': this})).startTransitionIn(); }; v2.changeToEisysBuilding1F = function (htyp, rctp, rcbtm, rclt, rcrt) { if (htyp == seh.triangle.action.hit.HitType.PLAYER_MOVE) { this.allTransitionsOutDone = function (evt) { super.allTransitionsOutDone(evt); var v3 = new seh.triangle.scene.mode.main.levels.EisysBuilding1F(this.parent); this.player_character._x = 850; this.player_character._y = 65; this.player_character.update(); this.player_character.setDirection(seh.triangle.action.CharacterDirection.FRONT); v3.adjustViewPosition(this.player_character.stage_x, this.player_character.stage_y); v3.startTransitionIn(); }; this.parent.stop(); this.startTransitionOut(); } }; v2.item_symbol = null; ASSetPropFlags(seh.triangle.scene.mode.main.levels.Office1F.prototype, null, 1); } #endinitclip } movieClip 1977 __Packages.seh.triangle.scene.mode.main.levels.detail.items.MeetingRoomKey { #initclip if (!_global.seh) { _global.seh = new Object(); } if (!_global.seh.triangle) { _global.seh.triangle = new Object(); } if (!_global.seh.triangle.scene) { _global.seh.triangle.scene = new Object(); } if (!_global.seh.triangle.scene.mode) { _global.seh.triangle.scene.mode = new Object(); } if (!_global.seh.triangle.scene.mode.main) { _global.seh.triangle.scene.mode.main = new Object(); } if (!_global.seh.triangle.scene.mode.main.levels) { _global.seh.triangle.scene.mode.main.levels = new Object(); } if (!_global.seh.triangle.scene.mode.main.levels.detail) { _global.seh.triangle.scene.mode.main.levels.detail = new Object(); } if (!_global.seh.triangle.scene.mode.main.levels.detail.items) { _global.seh.triangle.scene.mode.main.levels.detail.items = new Object(); } if (!_global.seh.triangle.scene.mode.main.levels.detail.items.MeetingRoomKey) { var v1 = function () { super(); this.sound_effect.attachSound('SE_009'); this.state = maelstrom.scene.SceneState.CREATED; }; seh.triangle.scene.mode.main.levels.detail.items.MeetingRoomKey = v1; seh.triangle.scene.mode.main.levels.detail.items.MeetingRoomKey extends seh.triangle.scene.event.PopupWindow; var v2 = v1.prototype; v2.toString = function () { return 'MeetingRoomKey'; }; v2.play = function () { super.play(); this.foreground_layer.attachMovie('Card_02', 'Card_02', this.foreground_layer.getNextHighestDepth(), {'_x': 230, '_y': 180}); this.sendText('You got the card key'); this.reline(); this.sendText('for the conference room!'); this.pageBreak(); }; v1.LINKAGE_ID = '__Packages.seh.triangle.scene.mode.main.levels.detail.items.MeetingRoomKey'; v1.CONSTRUCTOR = seh.triangle.scene.mode.main.levels.detail.items.MeetingRoomKey; v1.IS_REGISTERED = Object.registerClass(seh.triangle.scene.mode.main.levels.detail.items.MeetingRoomKey.LINKAGE_ID, seh.triangle.scene.mode.main.levels.detail.items.MeetingRoomKey.CONSTRUCTOR); ASSetPropFlags(seh.triangle.scene.mode.main.levels.detail.items.MeetingRoomKey.prototype, null, 1); } #endinitclip } movieClip 1978 __Packages.seh.triangle.scene.mode.main.levels.MeetingRoom1F { #initclip if (!_global.seh) { _global.seh = new Object(); } if (!_global.seh.triangle) { _global.seh.triangle = new Object(); } if (!_global.seh.triangle.scene) { _global.seh.triangle.scene = new Object(); } if (!_global.seh.triangle.scene.mode) { _global.seh.triangle.scene.mode = new Object(); } if (!_global.seh.triangle.scene.mode.main) { _global.seh.triangle.scene.mode.main = new Object(); } if (!_global.seh.triangle.scene.mode.main.levels) { _global.seh.triangle.scene.mode.main.levels = new Object(); } if (!_global.seh.triangle.scene.mode.main.levels.MeetingRoom1F) { var v1 = function (par) { super(par); var v4 = seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.background_layer.attachMovie('Eisys_1F_Meeting', 'Eisys_1F_Meeting', seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.background_layer.getNextHighestDepth()); seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.foreground_layer.attachMovie('Eisys_1F_Meeting_Up', 'Eisys_1F_Meeting_Up', seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.foreground_layer.getNextHighestDepth()); this.background_width = seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.background_layer._width; this.background_height = seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.background_layer._height; seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.scroll_layer._x = (Stage.width - this.background_width) / 2; seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.scroll_layer._y = (Stage.height - this.background_height) / 2; v4.HitArea_1F_Meeting_01_Entrance._visible = false; v4.HitArea_1F_Meeting_02._visible = false; v4.HitArea_1F_Meeting_03._visible = false; v4.HitArea_1F_Meeting_04._visible = false; v4.HitArea_1F_Meeting_05._visible = false; v4.HitArea_1F_Meeting_06._visible = false; v4.HitArea_1F_Meeting_07._visible = false; v4.HitArea_1F_Meeting_08._visible = false; v4.HitArea_1F_Meeting_09._visible = false; v4.HitArea_1F_Meeting_10._visible = false; v4.HitArea_1F_Meeting_11_Desk._visible = false; this.addObstacle(v4.HitArea_1F_Meeting_02); this.addObstacle(v4.HitArea_1F_Meeting_03); this.addObstacle(v4.HitArea_1F_Meeting_04); this.addObstacle(v4.HitArea_1F_Meeting_05); this.addObstacle(v4.HitArea_1F_Meeting_06); this.addObstacle(v4.HitArea_1F_Meeting_07); this.addObstacle(v4.HitArea_1F_Meeting_08); this.addObstacle(v4.HitArea_1F_Meeting_09); this.addObstacle(v4.HitArea_1F_Meeting_10); this.addObstacle(v4.HitArea_1F_Meeting_11_Desk); this.addObstacle(v4.HitArea_1F_Meeting_01_Entrance); this.addLevelExit(v4.HitArea_1F_Meeting_01_Entrance, mx.utils.Delegate.create(this, this.changeToEisysBuilding1F)); this.escape_points = new Array(); this.escape_points.push(new flash.geom.Point(24, 140)); this.escape_points.push(new flash.geom.Point(24, 305)); this.escape_points.push(new flash.geom.Point(24, 460)); this.escape_points.push(new flash.geom.Point(88, 460)); this.escape_points.push(new flash.geom.Point(150, 460)); this.escape_points.push(new flash.geom.Point(150, 305)); this.escape_points.push(new flash.geom.Point(150, 140)); this.escape_points.push(new flash.geom.Point(88, 140)); this.player_character = seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.getHero(); if (this.save_data.premium_insulted) { var v5 = seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.enemy_layer; this.shop_premium = seh.triangle.scene.mode.main.levels.detail.PremiumStanding(v5.attachMovie(seh.triangle.scene.mode.main.levels.detail.PremiumStanding.LINKAGE_ID, 'PremiumStanding', v5.getNextHighestDepth(), {'collision_list': this.collision_list})); this.shop_premium._x = 87; this.shop_premium._y = 86; this.shop_premium.addEventListener('onEventHit', this); this.addSceneListener(this.shop_premium); this.parent.playBGM('BGM_006'); } else { this.battle_premium = seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.createPremium(); this.battle_premium._x = 87; this.battle_premium._y = 86; this.battle_premium.setEscapeSense(80, 80); this.battle_premium.addEventListener('onBossBattleStarted', this); this.battle_premium.addEventListener('onBossBattleFinished', this); this.addSceneListener(this.battle_premium); var v3 = 0; while (v3 < this.escape_points.length) { seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.scroll_layer.localToGlobal(this.escape_points[v3]); this.battle_premium.addEscapePoint(this.escape_points[v3]); ++v3; } this.premium_health_icon = seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.getPremiumHealthIcon(); seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.setHelathIcon(this.battle_premium.getHealth(), this.premium_health_icon); this.addSceneListener(this.premium_health_icon); } this.state = maelstrom.scene.SceneState.CREATED; }; seh.triangle.scene.mode.main.levels.MeetingRoom1F = v1; seh.triangle.scene.mode.main.levels.MeetingRoom1F extends seh.triangle.scene.mode.main.detail.ActionScene; var v2 = v1.prototype; v2.toString = function () { return 'MeetingRoom1F'; }; v2.terminate = function () { super.terminate(); seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.background_layer.Eisys_1F_Meeting.removeMovieClip(); seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.foreground_layer.Eisys_1F_Meeting_Up.removeMovieClip(); if (this.battle_premium != null) { this.removeSceneListener(this.battle_premium); this.battle_premium.removeMovieClip(); this.removeSceneListener(this.premium_health_icon); seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.removeHealthIcon(this.premium_health_icon); this.premium_health_icon.removeMovieClip(); } if (this.shop_premium != null) { this.removeSceneListener(this.shop_premium); this.shop_premium.removeMovieClip(); this.parent.playBGM(null); } }; v2.onEventHit = function (evt) { this.parent.stop(); var v2 = seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.getRootMovieClip(); var v3 = seh.triangle.scene.event.PremiumShop(v2.attachMovie(seh.triangle.scene.event.PremiumShop.LINKAGE_ID, 'PremiumShop', v2.getNextHighestDepth(), {'parent': this, 'player_character': this.player_character, 'dl_point': seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.getDLPoint()})); v3.startTransitionIn(); }; v2.onBossBattleStarted = function (evt) { this.parent.stop(); var v2 = (this.collision_list.getHitData(seh.triangle.action.hit.HitType.LEVEL_EXIT)).getListIterator(); while (v2.hasNext()) { (seh.triangle.action.hit.HitData(v2.next())).disable(); } var v3 = seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.getRootMovieClip(); var v5 = new seh.triangle.scene.event.scenarios.PremiumEncounter(); var v4 = seh.triangle.scene.event.Encounter(v3.attachMovie(seh.triangle.scene.event.Encounter.LINKAGE_ID, 'Encounter', v3.getNextHighestDepth(), {'parent': this, 'scenario': v5.scenario})); v4.addEventScriptListener(this); v4.startTransitionIn(); }; v2.onBossBattleFinished = function (oevt) { this.allTransitionsOutDone = function (ievt) { (mx.transitions.TransitionManager(ievt.target)).removeEventListener('allTransitionsOutDone', this); this.parent.stopBGM(); var v3 = (seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.getRootMovieClip())._parent; var v4 = new seh.triangle.scene.event.scenarios.PremiumEvent001(); var v2 = seh.triangle.scene.event.EventScene(v3.attachMovie(seh.triangle.scene.event.EventScene.LINKAGE_ID, 'EventScene', v3.getNextHighestDepth(), {'parent': this, 'scenario': v4.scenario})); v2.addEventScriptListener(this); v2.startTransitionIn(); }; this.parent.stop(); this.startTransitionOut(); }; v2.onScenarioFinished = function (evt) { if (this.battle_premium.isAlive()) { this.parent.playBGM('BGM_002'); } else { this.save_data.data.gallery_premium_01 = true; this.save_data.premium_insulted = this.save_data.data.gallery_premium_01; var v2 = (this.collision_list.getHitData(seh.triangle.action.hit.HitType.LEVEL_EXIT)).getListIterator(); while (v2.hasNext()) { (seh.triangle.action.hit.HitData(v2.next())).enable(); } this.parent.playBGM(null); } }; v2.changeToEisysBuilding1F = function (htyp, rctp, rcbtm, rclt, rcrt) { if (htyp == seh.triangle.action.hit.HitType.PLAYER_MOVE) { this.allTransitionsOutDone = function (evt) { super.allTransitionsOutDone(evt); var v3 = new seh.triangle.scene.mode.main.levels.EisysBuilding1F(this.parent); this.player_character._x = 1284; this.player_character._y = 65; this.player_character.update(); this.player_character.setDirection(seh.triangle.action.CharacterDirection.FRONT); v3.adjustViewPosition(this.player_character.stage_x, this.player_character.stage_y); v3.startTransitionIn(); }; this.parent.stop(); this.startTransitionOut(); } }; v2.battle_premium = null; v2.shop_premium = null; ASSetPropFlags(seh.triangle.scene.mode.main.levels.MeetingRoom1F.prototype, null, 1); } #endinitclip } movieClip 1979 __Packages.seh.triangle.scene.mode.main.levels.detail.PremiumStanding { #initclip if (!_global.seh) { _global.seh = new Object(); } if (!_global.seh.triangle) { _global.seh.triangle = new Object(); } if (!_global.seh.triangle.scene) { _global.seh.triangle.scene = new Object(); } if (!_global.seh.triangle.scene.mode) { _global.seh.triangle.scene.mode = new Object(); } if (!_global.seh.triangle.scene.mode.main) { _global.seh.triangle.scene.mode.main = new Object(); } if (!_global.seh.triangle.scene.mode.main.levels) { _global.seh.triangle.scene.mode.main.levels = new Object(); } if (!_global.seh.triangle.scene.mode.main.levels.detail) { _global.seh.triangle.scene.mode.main.levels.detail = new Object(); } if (!_global.seh.triangle.scene.mode.main.levels.detail.PremiumStanding) { var v1 = function () { super(); if (this.collision_list == null) { throw new maelstrom.language.IllegalStateException('collision_list == null'); } mx.events.EventDispatcher.initialize(this); this.step_animation = new Array(); this.step_animation.push(this.attachMovie('Chara_Premium_Back', 'Chara_Premium_Back', this.getNextHighestDepth())); this.step_animation.push(this.attachMovie('Chara_Premium_Front', 'Chara_Premium_Front', this.getNextHighestDepth())); this.step_animation.push(this.attachMovie('Chara_Premium_Left', 'Chara_Premium_Left', this.getNextHighestDepth())); this.step_animation.push(this.attachMovie('Chara_Premium_Right', 'Chara_Premium_Right', this.getNextHighestDepth())); var v3 = 0; while (v3 < this.step_animation.length) { this.step_animation[v3]._visible = false; this.step_animation[v3].HitArea_Character._visible = false; this.step_animation[v3].HitArea_Damage._visible = false; ++v3; } this.direction_index = seh.triangle.action.CharacterDirection.FRONT.ordinal(); this.hit_event = new seh.triangle.action.hit.Rectangle(seh.triangle.action.hit.HitType.EVENT); this.hit_event.disable(); this.hit_event.onRectangleHit = mx.utils.Delegate.create(this, this.onEventHit); this.collision_list.addHitData(this.hit_event); this.setDirection(seh.triangle.action.CharacterDirection.FRONT); this.stop(); }; seh.triangle.scene.mode.main.levels.detail.PremiumStanding = v1; seh.triangle.scene.mode.main.levels.detail.PremiumStanding extends MovieClip; var v2 = v1.prototype; v2.toString = function () { return 'PremiumStanding'; }; v2.onUnload = function () { this.hit_event.onRectangleHit = null; this.collision_list.removeHitData(this.hit_event); }; v2.onScenePlayed = function (evt) { this.hit_event.enable(); this.play(); }; v2.onSceneStopped = function (evt) { this.stop(); }; v2.onSceneResumed = function (evt) { this.play(); }; v2.onSceneUpdated = function (evt) { this.update(); }; v2.onSceneTerminated = function (evt) { this.stop(); this.hit_event.disable(); }; v2.onEventHit = function (htyp, rctp, rcbtm, rclt, rcrt) { if (htyp == seh.triangle.action.hit.HitType.PLAYER_MOVE) { this.dispatchEvent({'type': 'onEventHit'}); } }; v2.play = function () { var v2 = 0; while (v2 < this.step_animation.length) { this.step_animation[v2].play(); ++v2; } }; v2.stop = function () { var v2 = 0; while (v2 < this.step_animation.length) { this.step_animation[v2].stop(); ++v2; } }; v2.update = function () { this.hit_event.localToGlobal(); }; v2.setDirection = function (chardir) { if (chardir == null) { throw new maelstrom.language.NullPointerException('chardir == null'); } var v2 = chardir.ordinal(); this.step_animation[this.direction_index]._visible = false; this.direction_index = v2; this.step_animation[this.direction_index]._visible = true; this.hit_event.bounding_box = this.step_animation[this.direction_index].HitArea_Character; this.hit_event.localToGlobal(); }; v1.LINKAGE_ID = '__Packages.seh.triangle.scene.mode.main.levels.detail.PremiumStanding'; v1.CONSTRUCTOR = seh.triangle.scene.mode.main.levels.detail.PremiumStanding; v1.IS_REGISTERED = Object.registerClass(seh.triangle.scene.mode.main.levels.detail.PremiumStanding.LINKAGE_ID, seh.triangle.scene.mode.main.levels.detail.PremiumStanding.CONSTRUCTOR); v2.step_animation = null; ASSetPropFlags(seh.triangle.scene.mode.main.levels.detail.PremiumStanding.prototype, null, 1); } #endinitclip } movieClip 1980 __Packages.seh.triangle.scene.event.PremiumShop { #initclip if (!_global.seh) { _global.seh = new Object(); } if (!_global.seh.triangle) { _global.seh.triangle = new Object(); } if (!_global.seh.triangle.scene) { _global.seh.triangle.scene = new Object(); } if (!_global.seh.triangle.scene.event) { _global.seh.triangle.scene.event = new Object(); } if (!_global.seh.triangle.scene.event.PremiumShop) { var v1 = function () { super(); if (this.player_character == null || this.dl_point == null) { throw new maelstrom.language.NullPointerException('player_character == null || dl_point == null'); } mx.events.EventDispatcher.initialize(this); this.save_data = (seh.triangle.Triangle.getInstance()).getSaveData(); this.game_controller = (seh.triangle.Triangle.getInstance()).getGameController(); this.button_layer = this.foreground_layer.createEmptyMovieClip('button_layer', this.foreground_layer.getNextHighestDepth()); this.voices = new Array(); var v3 = 0; while (v3 < 5) { this.voices.push(new Sound(this.event_layer)); ++v3; } this.voices[0].attachSound('Voice_Premium_Event_009'); this.voices[1].attachSound('Voice_Premium_Event_010'); this.voices[2].attachSound('Voice_Premium_Event_015'); this.voices[3].attachSound('Voice_Premium_Event_016'); this.voices[4].attachSound('Voice_Premium_Event_011'); this.special_voice = new Sound(this.event_layer); this.special_voice.attachSound('Voice_Premium_Event_017'); this.sound_effects = new Array(); v3 = 0; while (v3 < 4) { this.sound_effects.push(new Sound(this.effect_layer)); ++v3; } this.sound_effects[0].attachSound('SE_Premium_001'); this.sound_effects[1].attachSound('SE_Premium_002'); this.sound_effects[2].attachSound('SE_Premium_003'); this.sound_effects[3].attachSound('SE_Premium_004'); this.select_se = new Sound(this.effect_layer); this.select_se.attachSound('SE_012'); this.decide_se = new Sound(this.button_layer); this.decide_se.attachSound('SE_013'); var v4; if (this.dl_point.__get__value() >= 30000 && !this.save_data.special_voice) { this.save_data.special_voice = true; v4 = '<mc id=\'Event_Premium_Stand_002\' /><trans layer=\'foreground\' direction=\'IN\' duration=\'0.5\' /><voice id=\'Voice_Premium_Event_017\' />"Wow, you\'ve collected 30,000 points, that\'s amazing.<r />Have a round of applause, well done you!"<p />'; } else { v4 = '<mc id=\'Event_Premium_Stand_002\' /><trans layer=\'foreground\' direction=\'IN\' duration=\'0.5\' /><voice id=\'Voice_Premium_Event_008\' />"What can I do for you?"<p />'; } this.scenario = new XML(v4); this.state = maelstrom.scene.SceneState.CREATED; }; seh.triangle.scene.event.PremiumShop = v1; seh.triangle.scene.event.PremiumShop extends maelstrom.scene.EventScript; var v2 = v1.prototype; v2.toString = function () { return 'PremiumShop'; }; v2.onScenarioFinishedHandler = function (evt) { this.stop(); this.radio_buttons = new Array(); this.radio_buttons.push(this.button_layer.attachMovie('Select_Premium_01_English', 'Select_Premium_01_English', this.button_layer.getNextHighestDepth(), {'_x': 30, '_y': 410})); this.radio_buttons.push(this.button_layer.attachMovie('Select_Premium_02_English', 'Select_Premium_02_English', this.button_layer.getNextHighestDepth(), {'_x': 30, '_y': 434})); this.radio_buttons.push(this.button_layer.attachMovie('Select_Premium_03_English', 'Select_Premium_03_English', this.button_layer.getNextHighestDepth(), {'_x': 30, '_y': 458})); this.radio_buttons.push(this.button_layer.attachMovie('Select_Premium_04_English', 'Select_Premium_04_English', this.button_layer.getNextHighestDepth(), {'_x': 30, '_y': 482})); this.radio_buttons.push(this.button_layer.attachMovie('Select_Premium_05_English', 'Select_Premium_05_English', this.button_layer.getNextHighestDepth(), {'_x': 30, '_y': 506})); this.radio_buttons.push(this.button_layer.attachMovie('Select_Premium_06_English', 'Select_Premium_06_English', this.button_layer.getNextHighestDepth(), {'_x': 30, '_y': 554})); this.radio_buttons[0].onRelease = mx.utils.Delegate.create(this, this.onSelect01ButtonReleased); this.radio_buttons[1].onRelease = mx.utils.Delegate.create(this, this.onSelect02ButtonReleased); this.radio_buttons[2].onRelease = mx.utils.Delegate.create(this, this.onSelect03ButtonReleased); this.radio_buttons[3].onRelease = mx.utils.Delegate.create(this, this.onSelect04ButtonReleased); this.radio_buttons[4].onRelease = mx.utils.Delegate.create(this, this.onSelect05ButtonReleased); this.radio_buttons[5].onRelease = mx.utils.Delegate.create(this, this.onSelect06ButtonReleased); this.button_group = new seh.triangle.scene.detail.ButtonGroup(); this.previous_button_index = 0; this.setButtonEnabled(); this.onEnterFrame = this.internalSelectButton; }; v2.onSelect01ButtonReleased = function () { this.voice.stop(); this.sound_effect.stop(); this.sound_effects[0].start(); this.dl_point.value -= 100; this.setButtonEnabled(); (this.player_character.getHealth()).replenish(seh.triangle.action.CharacterHealth.MAXIMUM); }; v2.onSelect02ButtonReleased = function () { this.save_data.data.gallery_premium_02 = true; this.save_data.premium_shop_insulted = this.save_data.data.gallery_premium_02; this.voice.stop(); this.sound_effects[1].start(); this.dl_point.value -= 1000; this.has_button02_released = true; var v2 = 0; while (v2 < this.radio_buttons.length) { this.radio_buttons[v2].enabled = false; ++v2; } this.onEnterFrame = null; this.startTransitionOut(); }; v2.onSelect03ButtonReleased = function () { this.save_data.attack_power_got = true; this.voice.stop(); this.sound_effect.stop(); this.sound_effects[2].start(); this.dl_point.value -= 2500; this.setButtonEnabled(); this.player_character.setPunchPower(36); this.player_character.setKickPower(54); }; v2.onSelect04ButtonReleased = function () { this.save_data.defense_power_got = true; this.voice.stop(); this.sound_effect.stop(); this.sound_effects[2].start(); this.dl_point.value -= 2500; this.setButtonEnabled(); this.player_character.setDefensePower(3); }; v2.onSelect05ButtonReleased = function () { this.save_data.last_boss = true; this.voice.stop(); this.sound_effect.stop(); this.sound_effects[3].start(); this.dl_point.value -= 7000; this.setButtonEnabled(); }; v2.onSelect06ButtonReleased = function () { this.voice.stop(); this.sound_effect.stop(); this.decide_se.start(); var v2 = 0; while (v2 < this.radio_buttons.length) { this.radio_buttons[v2].enabled = false; ++v2; } this.onEnterFrame = null; this.startTransitionOut(); }; v2.allTransitionsInDone = function (evt) { if (this.has_button02_released) { this.setButtonEnabled(); this.onEnterFrame = this.internalSelectButton; this.has_button02_released = false; } else { (mx.transitions.TransitionManager(evt.target)).removeEventListener('allTransitionsInDone', this); this.parent.resume(); } }; v2.allTransitionsOutDone = function (evt) { if (this.has_button02_released) { (mx.transitions.TransitionManager(evt.target)).removeEventListener('allTransitionsOutDone', this); this.voice.stop(); (seh.triangle.scene.mode.main.DLInsult((seh.triangle.scene.mode.main.detail.ActionScene(this.parent)).getParent())).stopBGM(); var v3 = this._parent._parent; var v4 = new seh.triangle.scene.event.scenarios.PremiumEvent002(); var v2 = seh.triangle.scene.event.EventScene(v3.attachMovie(seh.triangle.scene.event.EventScene.LINKAGE_ID, 'EventScene', v3.getNextHighestDepth(), {'parent': this, 'scenario': v4.scenario})); v2.addEventScriptListener(this); v2.startTransitionIn(); } else { (mx.transitions.TransitionManager(evt.target)).removeEventListener('allTransitionsOutDone', this); this.play(); } }; v2.onScenarioFinished = function (evt) { (seh.triangle.scene.mode.main.DLInsult((seh.triangle.scene.mode.main.detail.ActionScene(this.parent)).getParent())).playBGM('BGM_006'); }; v2.addSceneListener = function (scl) { if (scl == null) { throw new maelstrom.language.NullPointerException('scl == null'); } this.addEventListener('onScenePlayed', scl); this.addEventListener('onSceneStopped', scl); this.addEventListener('onSceneResumed', scl); this.addEventListener('onSceneUpdated', scl); this.addEventListener('onSceneTerminated', scl); }; v2.removeSceneListener = function (scl) { if (scl == null) { throw new maelstrom.language.NullPointerException('scl == null'); } this.removeEventListener('onScenePlayed', scl); this.removeEventListener('onSceneStopped', scl); this.removeEventListener('onSceneResumed', scl); this.removeEventListener('onSceneUpdated', scl); this.removeEventListener('onSceneTerminated', scl); }; v2.play = function () { this.text_window = maelstrom.ui.TextWindow(this.message_layer.attachMovie('Text_Window', 'text_window', this.message_layer.getNextHighestDepth(), {'_x': 20, '_y': 400})); this.text_window.__set__filters([new flash.filters.DropShadowFilter(1, 45, 0, 1, 0, 0, 255, 1), new flash.filters.GlowFilter(0, 1, 3, 3, 100, 1)]); this.text_window.__set__paddingAll(10); this.line_glyph = this.message_layer.attachMovie('Line', 'line_glyph', this.message_layer.getNextHighestDepth(), {'_visible': false}); this.page_glyph = this.message_layer.attachMovie('Page', 'page_glyph', this.message_layer.getNextHighestDepth(), {'_visible': false}); super.play(); this.onEnterFrame = this.internalMain; }; v2.terminate = function () { super.terminate(); this.onEnterFrame = null; }; v2.startTransitionIn = function () { if (this.has_button02_released) { var v3 = mx.transitions.TransitionManager.start(this._parent, {'type': maelstrom.scene.transition.ContentCover, 'direction': mx.transitions.Transition.IN, 'duration': 0.5, 'easing': mx.transitions.easing.None.easeNone}); (v3.__get__manager()).addEventListener('allTransitionsInDone', this); return v3.__get__manager(); } else { var v2 = new mx.transitions.TransitionManager(this.background_layer); v2.addEventListener('allTransitionsOutDone', this); v2.startTransition({'type': maelstrom.scene.transition.ContentCover, 'direction': mx.transitions.Transition.OUT, 'duration': 0.5, 'easing': mx.transitions.easing.None.easeNone, 'alpha': 50}); return v2; } }; v2.startTransitionOut = function () { if (this.has_button02_released) { var v3 = mx.transitions.TransitionManager.start(this._parent, {'type': maelstrom.scene.transition.ContentCover, 'direction': mx.transitions.Transition.OUT, 'duration': 0.5, 'easing': mx.transitions.easing.None.easeNone}); (v3.__get__manager()).addEventListener('allTransitionsOutDone', this); return v3.__get__manager(); } else { this.foreground_layer.removeMovieClip(); var v2 = new mx.transitions.TransitionManager(this.background_layer); v2.addEventListener('allTransitionsInDone', this); v2.startTransition({'type': maelstrom.scene.transition.ContentCover, 'direction': mx.transitions.Transition.IN, 'duration': 0.5, 'easing': mx.transitions.easing.None.easeNone, 'alpha': 50}); return v2; } }; v2.setButtonEnabled = function () { var v2 = 0; while (v2 < this.radio_buttons.length) { this.radio_buttons[v2]._alpha = seh.triangle.scene.detail.ButtonGroup.TRANSLUCENT; this.radio_buttons[v2].enabled = false; this.button_group.removeButton(this.radio_buttons[v2]); ++v2; } this.radio_buttons[5].enabled = true; this.button_group.addButton(this.radio_buttons[5]); if (this.dl_point.__get__value() >= 7000 && !this.save_data.last_boss) { this.radio_buttons[4].enabled = true; this.button_group.addButton(this.radio_buttons[4]); this.button_group.setButtonSelected(this.radio_buttons[4], true); } if (this.dl_point.__get__value() >= 2500) { if (!this.save_data.defense_power_got) { this.radio_buttons[3].enabled = true; this.button_group.addButton(this.radio_buttons[3]); this.button_group.setButtonSelected(this.radio_buttons[3], true); } if (!this.save_data.attack_power_got) { this.radio_buttons[2].enabled = true; this.button_group.addButton(this.radio_buttons[2]); this.button_group.setButtonSelected(this.radio_buttons[2], true); } } if (this.dl_point.__get__value() >= 1000) { this.radio_buttons[1].enabled = true; this.button_group.addButton(this.radio_buttons[1]); this.button_group.setButtonSelected(this.radio_buttons[1], true); } if (this.dl_point.__get__value() >= 100) { this.radio_buttons[0].enabled = true; this.button_group.addButton(this.radio_buttons[0]); this.button_group.setButtonSelected(this.radio_buttons[0], true); } if (this.radio_buttons[this.previous_button_index].enabled) { this.button_group.setButtonSelected(this.radio_buttons[this.previous_button_index], true); } else { var v3 = this.button_group.getSelectedButton(); v2 = 0; while (v2 < this.radio_buttons.length) { if (this.radio_buttons[v2] == v3) { this.previous_button_index = v2; break; } ++v2; } } }; v2.internalMain = function () { var v2 = this.game_controller.getPulseData(); if (v2 == maelstrom.ui.GameController.A) { if (this.text_window.enabled) { this.text_window.doClick(); } } }; v2.internalSelectButton = function () { var v3 = this.button_group.getButtons(); var v5 = this.button_group.getSelectedButton(); var v4; var v2 = 0; while (v2 < v3.length) { if (v3[v2] == v5) { v4 = v2; break; } ++v2; } var v7 = this.game_controller.getPulseData(); if (v7 == maelstrom.ui.GameController.UP) { ++v4; if (v4 >= v3.length) { v4 = v3.length - 1; } this.button_group.setButtonSelected(v3[v4], true); } else { if (v7 == maelstrom.ui.GameController.DOWN) { --v4; if (v4 < 0) { v4 = 0; } this.button_group.setButtonSelected(v3[v4], true); } } if (v7 & maelstrom.ui.GameController.A) { v3[v4].onRelease(); v5 = this.button_group.getSelectedButton(); } var v6; v2 = 0; while (v2 < this.radio_buttons.length) { if (this.radio_buttons[v2] == v5) { v6 = v2; break; } ++v2; } if (v6 != this.previous_button_index) { this.select_se.start(); if (v6 < 5) { this.voice.stop(); this.voices[v6].start(); } } this.previous_button_index = v6; }; v1.LINKAGE_ID = '__Packages.seh.triangle.scene.event.PremiumShop'; v1.CONSTRUCTOR = seh.triangle.scene.event.PremiumShop; v1.IS_REGISTERED = Object.registerClass(seh.triangle.scene.event.PremiumShop.LINKAGE_ID, seh.triangle.scene.event.PremiumShop.CONSTRUCTOR); v2.has_button02_released = false; ASSetPropFlags(seh.triangle.scene.event.PremiumShop.prototype, null, 1); } #endinitclip } movieClip 1981 __Packages.seh.triangle.scene.event.scenarios.PremiumEvent002 { #initclip if (!_global.seh) { _global.seh = new Object(); } if (!_global.seh.triangle) { _global.seh.triangle = new Object(); } if (!_global.seh.triangle.scene) { _global.seh.triangle.scene = new Object(); } if (!_global.seh.triangle.scene.event) { _global.seh.triangle.scene.event = new Object(); } if (!_global.seh.triangle.scene.event.scenarios) { _global.seh.triangle.scene.event.scenarios = new Object(); } if (!_global.seh.triangle.scene.event.scenarios.PremiumEvent002) { var v1 = function () { var v2 = '<trans direction=\'OUT\' duration=\'0.5\' /><playbgm id=\'BGM_010\' /><trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_Premium_Stand_003\' /><trans direction=\'IN\' duration=\'0.5\' /><voice id=\'Voice_Premium_043\' />"Well then, let me get ready..."<l />Premium makes it sound like she\'s not really in the mood, but<r />the way she eagerly takes off her clothes shows otherwise.<l /><voice id=\'Voice_Premium_044\' />"Ehehe... Okay, I\'ll start by sucking your cock. <r />Here I come..."<p /><trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_Premium_S02_002\' /><trans direction=\'IN\' duration=\'0.5\' />It seems that Premium is pretty excited.<r />I can feel her hot breath brushing against the tip of <r />my cock.<l /><voice id=\'Voice_Premium_045\' />"Haahn... Your cock tastes delicious...<r />Mhaaa... Ahhh... Aaahn..."<p />Even as she talks to me, Premium starts moving faster.<r />She tweaks the tip with her fingers, and she licks the <r />whole length of my shaft, up and down.<r />The delicate movement is rapidly driving me to the limit.<l /><voice id=\'Voice_Premium_046\' />"Ahhh... You\'re about to come, aren\'t you... <r />Your cock is shivering, you know..."<p />Premium has completely taken the initiative away from me.<l />I give myself over to the feeling and urge her to do it more<r />strongly. Then I wait for my ejaculation.<l /><voice id=\'Voice_Premium_047\' />"Mfff... I\'ll do my best... Make sure to give me lots of<r />your sticky cock milk, okay..."<p />Ohhhhh...<r />That\'s good... I\'m coming, I\'m gonna come!<l />Just as I say that, my cock begins to throb violently.<l /><trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_Premium_S02_004\' /><trans direction=\'IN\' duration=\'0.5\' /><effect id=\'Effect_01\' />A moment later, a huge amount of sperm bursts from the glans,<r />and flies all over Premium.<p /><voice id=\'Voice_Premium_048\' />"Nhaa, aaaaahhhh! Ahh, ahh... It\'s coming out...<r />There\'s so much cock milk... Ahhhnn!"<l />Premium raises a delighted cry when my semen showers onto <r />her body.<p /><voice id=\'Voice_Premium_049\' />"Aaahh... You came so much cock milk...<r />Mmm... Okay, next... I want you to give me your<r />cock milk in here."<p />Premium keeps scooping up and licking off the semen from <r />her body,<r />and while she\'s doing that she opens her pussy for me to see.<r />From her slutty hole, there\'s a steady stream of juice <r />leaking out.<p /><trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_Premium_S03_001\' /><trans direction=\'IN\' duration=\'0.5\' /><voice id=\'Voice_Premium_050\' />"Aaahn, hurry... I want your cock in my pussy so bad..."<l />I smile in resignation, then make Premium get on top of me, <r />facing up.<r />Premium spreads her legs wide and shakes her hips to entice <r />me,<r />because she can\'t wait any longer.<p /><trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_Premium_S03_002\' /><trans direction=\'IN\' duration=\'0.5\' /><voice id=\'Voice_Premium_051\' />"Nhaa... There it is, finally! Your cock is finally inside <r />me!!"<l />I shove my cock inside of her and immediately start to <r />pound her with force.<l />Premium\'s pussy is more than ready for me, and my cock<r />slides through it with ease.<p /><voice id=\'Voice_Premium_052\' />"Nhyaaaa! Aahhh... Ohhh...<r />Haaaahhhh!"<l />The pleasure running through Premium\'s body causes her to <r />scream unintelligibly.<r />Her huge tits are swinging back and forth in front of my <r />eyes.<p />Ohhhh... Ohhh...<r />Ugh... I\'m going to have another orgasm.<p /><voice id=\'Voice_Premium_053\' />"Ohhhhh... I\'m going to come as well... Hahhh...<r />Together, please come together with me!"<l />It seems that Premium is also close to her climax.<r />I do as she said and start moving my hips even faster.<l /><voice id=\'Voice_Premium_054\' />"Ahh... Hahhh... Aaahh... I\'m coming... I\'m comingggg!"<p /><effect id=\'Effect_01\' /><trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_Premium_S03_003\' /><trans direction=\'IN\' duration=\'0.5\' /><voice id=\'Voice_Premium_055\' />"Nhaaaaaa!!"<l />Oohhhhggg...<r />Right at the moment Premium climaxes, <r />I also reach the peak. Inside of<r />her, my cock starts to throb, and it unleashes much semen <r />into her interior.<p /><voice id=\'Voice_Premium_056\' />"Ohhhh... It\'s coming out! The cock milk is coming out...<r />Haeehhh! Aahhh, my pussy is so full of<r />your cock milk!"<l />Whew...<r />When my ejaculation is over, I slowly pull my<r />cock out of her pussy.<p /><trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_Premium_S03_004\' /><trans direction=\'IN\' duration=\'0.5\' /><voice id=\'Voice_Premium_057\' />"Haahn... The cock milk, it\'s spilling out of me..."<l /><r /><voice id=\'Voice_Premium_058\' />"Aahh... Your cock is still hard... Let\'s go <r />for one more round, okay?"<p />Because my cock isn\'t showing any signs of becoming limp,<r />Premium begs me to put it back inside of her.<l />Her nasty hole is leaking both pussy juice and semen.<r />It\'s inviting me...<l />What a perverted bitch! I\'ll fuck her brains out, just like <r />she wants!!<p /><trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_Premium_S03_003\' /><trans direction=\'IN\' duration=\'0.5\' /><voice id=\'Voice_Premium_059\' />"Ohhhhhh! Your cock is back inside me!!"<l />......<l />...<p /><trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_Premium_S03_005\' /><trans direction=\'IN\' duration=\'0.5\' /><voice id=\'Voice_Premium_060\' />"Hyaaaa... Haahhh... Auhhh..."<l />After that, I fucked Premium about three more times.<r />I came inside her and I came on her body, so she\'s<r />soaked in sperm now.<p />Whew...<r />I put my clothes back in order, tell the spasming Premium<r />to clean up the room after she\'s done, then leave.<l />......<l />...<p />'; this.scenario = new XML(v2); }; seh.triangle.scene.event.scenarios.PremiumEvent002 = v1; var v2 = v1.prototype; v2.toString = function () { return 'PremiumEvent002'; }; ASSetPropFlags(seh.triangle.scene.event.scenarios.PremiumEvent002.prototype, null, 1); } #endinitclip } movieClip 1982 __Packages.seh.triangle.scene.event.scenarios.PremiumEncounter { #initclip if (!_global.seh) { _global.seh = new Object(); } if (!_global.seh.triangle) { _global.seh.triangle = new Object(); } if (!_global.seh.triangle.scene) { _global.seh.triangle.scene = new Object(); } if (!_global.seh.triangle.scene.event) { _global.seh.triangle.scene.event = new Object(); } if (!_global.seh.triangle.scene.event.scenarios) { _global.seh.triangle.scene.event.scenarios = new Object(); } if (!_global.seh.triangle.scene.event.scenarios.PremiumEncounter) { var v1 = function () { var v2 = '<mc id=\'Event_Premium_Stand_001\' /><trans layer=\'foreground\' direction=\'IN\' duration=\'0.5\' /><voice id=\'Voice_Premium_Event_001\' />"Welcome to the regular section of DLsite.com... <r />Wait, who are you!?<r />You can\'t use violence in here!"<p />'; this.scenario = new XML(v2); }; seh.triangle.scene.event.scenarios.PremiumEncounter = v1; var v2 = v1.prototype; v2.toString = function () { return 'PremiumEncounter'; }; ASSetPropFlags(seh.triangle.scene.event.scenarios.PremiumEncounter.prototype, null, 1); } #endinitclip } movieClip 1983 __Packages.seh.triangle.scene.event.scenarios.PremiumEvent001 { #initclip if (!_global.seh) { _global.seh = new Object(); } if (!_global.seh.triangle) { _global.seh.triangle = new Object(); } if (!_global.seh.triangle.scene) { _global.seh.triangle.scene = new Object(); } if (!_global.seh.triangle.scene.event) { _global.seh.triangle.scene.event = new Object(); } if (!_global.seh.triangle.scene.event.scenarios) { _global.seh.triangle.scene.event.scenarios = new Object(); } if (!_global.seh.triangle.scene.event.scenarios.PremiumEvent001) { var v1 = function () { var v2 = '<playbgm id=\'BGM_009\' /><trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_Premium_S01_001\' /><trans direction=\'IN\' duration=\'0.5\' /><voice id=\'Voice_Premium_001\' />"Hyaaa!<r />What are you doing!? I handle the non-erotic products!<r />You can\'t have sex with me!!"<p />Shut up! You\'re Premium, aren\'t you!?<r /><font size=\'30\' />I know you used to be for adult products!!<font size=\'22\' /><p /><trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_Premium_S01_002\' /><trans direction=\'IN\' duration=\'0.5\' />Premium tries to get away, but I force<r />her down from behind.<l /><voice id=\'Voice_Premium_002\' />"Hyaaaa!"<p /><voice id=\'Voice_Premium_003\' />"B-but right now I\'m only for non-erotic stuff!"<l />Shut up! I\'ve seen your wallpapers, and your nipples<r />are always hard! Don\'t give me that non-erotic bull!<p /><voice id=\'Voice_Premium_004\' />"Hyaaaaa!"<l />Premium desperately crosses her arms in front of her breasts.<r />What\'s with those outrageous tits!?<r />She looks all underage, but she has huge tits like that!!<l /><voice id=\'Voice_Premium_005\' />"Auhhh... Don\'t toy with my breasts so much! Nhaahn...<r />Don\'t!"<p />I start by kneading her breasts as much as I want, and<r />once I\'m done I reach out to her crotch.<l /><trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_Premium_S01_003\' /><trans direction=\'IN\' duration=\'0.5\' /><voice id=\'Voice_Premium_006\' />"Hyaaaahh! Nhaahn... Stop it... You can\'t touch<r />me down there... Aaahh!"<p />Hrm!<r />I can feel that there\'s already moisture down there.<l /><font size=\'30\' />Why you little! Are you enjoying this!?<font size=\'22\' /><p /><voice id=\'Voice_Premium_007\' />"Anhhhhhh! Aahhh... Haaahhn!<r />Ahh, ahhh... I\'m being raped! I\'m non-erotic, and yet...<r />Aahh, I\'m going to get raped!!"<l /><r /><voice id=\'Voice_Premium_008\' />"That\'s just not good! Aahh... Your cock!<r />Ahhh, your cock is coming inside of me! Ohhhhh!"<p />......<l />...<l />You know, I\'m not actually doing anything yet.<p /><trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_Premium_S01_004\' /><trans direction=\'IN\' duration=\'0.5\' /><voice id=\'Voice_Premium_009\' />"What!? Awww..."<l />I knew it, you\'re for adults after all!<r />Messing with me like that... You actually want me to <r />fuck you, don\'t you?<l /><trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_Premium_S01_003\' /><trans direction=\'IN\' duration=\'0.5\' /><voice id=\'Voice_Premium_010\' />"Yes! I\'m so sorry!<r />Uuu... I\'m actually for people of 18 and older..."<p />Hmmm?<r />She finally admitted it, I guess...<r />Now that we\'ve established that you\'re for adults, you know <r />what you have to do, don\'t you?<p /><voice id=\'Voice_Premium_011\' />"Yes! I\'ll try my best..."<l />Premium changes completely. She gives me a bright smile, and<r />gets down on her knees with an expectant expression on her <r />face.<p />Then she reaches out to my trousers and unbuckles my belt <r />with practiced skill.<r />She then pulls my cock out of my pants...<l />She\'s pretty good at this...<p /><playbgm id=\'BGM_010\' /><trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_Premium_S02_001\' /><trans direction=\'IN\' duration=\'0.5\' /><voice id=\'Voice_Premium_012\' />"Ahhh... Your cock is so hard...<r />I\'m impressed."<l /><r />Premium starts eagerly devoting herself to<r />licking my cock.<p /><voice id=\'Voice_Premium_013\' />"Aahhn... It\'s so delicious... Mmm... Mhaa... <r />It\'s been so long since I got to suck a cock..."<l /><voice id=\'Voice_Premium_014\' />"Your juice... It tastes really nice... Aahhh... Aahnn..."<p />Premium uses both her tongue and her fingers to stimulate<r />my cock from the tip all the way down to the root.<l />Ohhh... Ohhhh... That\'s what you get when you\'re for <r />adults...<l /><voice id=\'Voice_Premium_015\' />"Ahaha... It feels good, doesn\'t it? I\'m glad you like it...<r />Mhaa... Hahh..."<p /><voice id=\'Voice_Premium_016\' />"Mmmm... Hahh... Mhaaa..."<l />Ohhhhh...<r />First I feel her hot breath brush against my glans, but the <r />next moment,<r />she sucks my cock into her mouth, sliding her lips all the <r />way to the root.<p /><trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_Premium_S02_002\' /><trans direction=\'IN\' duration=\'0.5\' />Then, even as she continues to suck my cock, she sues her<r />free hand to skillfully take her clothes off.<p /><voice id=\'Voice_Premium_017\' />"Haahn... This is awesome... Your cock is so hard,<r />it\'s making me horny... Aahn... My pussy is getting wet..."<l /><trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_Premium_S02_003\' /><trans direction=\'IN\' duration=\'0.5\' />The sound of her sucking is joined by a wet,<r />sticky sound from her crotch.<p />Premium\'s crotch is naked now, and she has her hand down <r />there, playing with herself.<r />It seems her female area is more than wet enough already...<p /><voice id=\'Voice_Premium_018\' />"Hahh... Mhaaa... Ahhn..."<l />I\'m rather taken aback. She must have been sexually <r />frustrated lately...<l />Hey, don\'t tell me you\'re luring the customers for the <r />regular products<r />in, and then doing all sorts of 18+ things to them?<p /><voice id=\'Voice_Premium_019\' />"What? Of course I don\'t do that..."<l /><voice id=\'Voice_Premium_020\' />"Normally, I just masturbate to get myself off...<r />I masturbate to the customers who come for the normal <r />products."<p />Wow.<r />You masturbate to them? How does that work?<r />I\'m kind of interested, so I ask her about her masturbation <r />habits.<p /><voice id=\'Voice_Premium_021\' />"Ahhhh... When I show the customers around... I push my<r />breasts up against them ever so slightly."<l />Premium doesn\'t hesitate to answer my question at all. <r />She even<r />smiles at me as she explains. I think she actually wanted <r />me to ask her.<p /><voice id=\'Voice_Premium_022\' />"And then... When their cute cocks start to get hard,<r />I reach out and gently stroke them with my hand..."<l /><voice id=\'Voice_Premium_023\' />"And then I use my hands and my mouth to make them come...<r />Sometimes I even use my tits for it... And then they<r />shower me with their semen... Haaahhhn... Their<r />smelly semen is all over me..."<p /><voice id=\'Voice_Premium_024\' />"But... When there are a lot of customers at the same time, <r />then I can\'t<r />serve them all with just my hands and mouth, so I use my <r />pussy and my asshole as well..."<p />Hmmm, I see...<l /><voice id=\'Voice_Premium_025\' />"And then, my hands and my holes are all plugged up... <r />Ahaaahhn! Aahh, ahh... And they come inside me.... They <r />come all over my body...Nhaaa... They fuck me until I go<r /> crazy..."<p /><voice id=\'Voice_Premium_026\' />"Hyaaaahhh! My pussy is starting to itch just because I\'m <r />remembering<r />about those times... Haahn... I can\'t stop moving my <r />fingers!"<p />Aahh... This just won\'t do...<l />Premium is getting off on her own obscene story.<r /><font size=\'30\' />I can see that you\'re definitely for adults. You\'re a <r />perverted bitch!<font size=\'22\' /><p /><voice id=\'Voice_Premium_027\' />"Yessss... Yes I am... I\'m a pervert...<r />I\'m a perverted, slutty bitch!"<l />As Premium continues to masturbate to her own wild delusions,<r />I\'m starting to get close to the limit myself.<p />Ughh, this is good... I\'m going to come...<l /><voice id=\'Voice_Premium_028\' />"Ahhh... Your cock is shivering... <r />Mhaahhh...Please come! <r />Please give me a lot of your cock milk!"<p />Okay, I\'m gonna come!<r />I\'m coming, I\'m coming!!<l /><trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_Premium_S02_004\' /><trans direction=\'IN\' duration=\'0.5\' /><effect id=\'Effect_01\' />The next moment, my cock convulses strongly.<r />There\'s a wet noise, and semen bursts from the tip,<r />flying in Premium\'s direction, landing on her body.<p /><voice id=\'Voice_Premium_029\' />"Aaahhhh... Haahhhhh... It\'s coming out, it\'s coming out!<r />The semen is coming out!"<l /><voice id=\'Voice_Premium_030\' />"Mffff! Mmm, mmm... Ahhh... It tastes so good...<r />Your cock milk is delicious! Aaahhhhn..."<p />Premium first swallows the semen that landed in her mouth,<r />then she starts scooping up the semen that landed up her<r />body and licking it from her fingers.<p />But we\'re not finished yet!<l /><trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_Premium_S01_005\' /><trans direction=\'IN\' duration=\'0.5\' /><voice id=\'Voice_Premium_031\' />"Haaahn..."<l />I pull up Premium again, from behind...<p /><voice id=\'Voice_Premium_032\' />"Ahhh... Aaahn... Please give it to me!<r />Please stuff your cock in my pussy!"<l /><r />When Premium figures out what I\'m up to, she<r />immediately starts begging for my cock.<p /><voice id=\'Voice_Premium_033\' />"Haaahn! Aaahhhnnn... Your cock is touching my pussy!<r />Don\'t be so mean, just shove it inside already!!"<l />Premium desperately pleads me for penetration, since she\'s <r />incredibly horny.<r />It would be fun to tease her a little longer, but...<p />My cock is already leaking juice, a sign that it\'s raring to go. So I press<r />it against her pussy and thrust it inside in one stroke.<p /><trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_Premium_S01_006\' /><trans direction=\'IN\' duration=\'0.5\' /><voice id=\'Voice_Premium_034\' />"Aaahhn! It comes, your cock is entering my pussy!"<l />Urgh...<r />Premium\'s pussy is tightly squeezing<r />my cock.<p /><voice id=\'Voice_Premium_035\' />"Anhhh... Ahhhhhh! It\'s hitting me all the<r />way down... Ahn, aaahn... Ohh, that<r />feels good!"<l />I start pumping her hard, unable to keep myself in check.<p /><voice id=\'Voice_Premium_036\' />"Ahn... Aaahhhhh! Aaahn... I\'m so horny<r />because you\'re fucking my pussy! Aaahhh..."<l /><voice id=\'Voice_Premium_037\' />"It feels so good when your cock slides in and out of me...<r />Heaahhh..."<p />Premium\'s face contorts in a dirty expression of lust,<r />and she moans sweetly as the pleasure takes control of her.<r /><r />The feeling of her tightly contracting pussy is also<r />driving me over the top.<p />That\'s good, Premium, I\'m going to come soon...<l /><voice id=\'Voice_Premium_038\' />"Nhaahhn... Aahh... I\'m about to come too! <r />Together... Please come together with me... Please<r />shoot a lot of your cock milk into my pussy!"<p />All right!<r />Here, I\'m going to come just as you asked, I\'m going to <r />send my cock milk into your pussy!<l /><r />For the last spurt, I move my hips back and forth with <r />everything I have.<p /><trans direction=\'OUT\' duration=\'0.5\' /><mc id=\'Event_Premium_S01_007\' /><trans direction=\'IN\' duration=\'0.5\' /><effect id=\'Effect_01\' /><voice id=\'Voice_Premium_039\' />"Nhaaaaaa!! Aahh! Aaahhh!"<l />Premium accepts it, and her voice echoes off the walls.<p />Just as Premium has her climax, my cock starts to throb and <r />a large amount<r />of semen comes out of the glans. My cock jerks two, three <r />times, and each<r />time the amount of semen that flows into her pussy <r />increases.<p /><voice id=\'Voice_Premium_040\' />"Ohhohhhhhh!! Your cock is pulsing! Your cock milk<r />is coming into my pussy and filling me up!!"<l />Premium howls in pleasure as he\'s being filled with <r />semen...<l />......<l />...<p /><trans direction=\'OUT\' duration=\'0.5\' />......<l />...<p /><voice id=\'Voice_Premium_041\' />"Hyaaaaa... Ahhh...<r />I love cock milk... Huahhh..."<l />Whew.<p />After my ejaculation, I slowly pull my cock out<r />of Premium\'s genital area.<r />Premium is still feeling the aftereffects of her orgasm, <r />and her face is still showing ecstasy.<p />Okay... Listen up, Premium.<r />You\'re going to help me out from now on <font size=\'30\' />I\'m a customer, <r />after all.<font size=\'22\' /><p /><mc id=\'Event_Premium_Stand_004\' /><trans direction=\'IN\' duration=\'0.5\' /><voice id=\'Voice_Premium_042\' />"Yes... I understand..."<l />Good, then I\'m going.<r />I put my clothes back in order, and leave Premium to<r />her after throes.<l />......<l />...<p />'; this.scenario = new XML(v2); }; seh.triangle.scene.event.scenarios.PremiumEvent001 = v1; var v2 = v1.prototype; v2.toString = function () { return 'PremiumEvent001'; }; ASSetPropFlags(seh.triangle.scene.event.scenarios.PremiumEvent001.prototype, null, 1); } #endinitclip } movieClip 1984 __Packages.seh.triangle.scene.mode.main.levels.detail.HeroAppearance { #initclip if (!_global.seh) { _global.seh = new Object(); } if (!_global.seh.triangle) { _global.seh.triangle = new Object(); } if (!_global.seh.triangle.scene) { _global.seh.triangle.scene = new Object(); } if (!_global.seh.triangle.scene.mode) { _global.seh.triangle.scene.mode = new Object(); } if (!_global.seh.triangle.scene.mode.main) { _global.seh.triangle.scene.mode.main = new Object(); } if (!_global.seh.triangle.scene.mode.main.levels) { _global.seh.triangle.scene.mode.main.levels = new Object(); } if (!_global.seh.triangle.scene.mode.main.levels.detail) { _global.seh.triangle.scene.mode.main.levels.detail = new Object(); } if (!_global.seh.triangle.scene.mode.main.levels.detail.HeroAppearance) { var v1 = function (par) { super(par); var v3 = seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.background_layer.attachMovie('Town', 'Town_02', seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.background_layer.getNextHighestDepth()); seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.foreground_layer.attachMovie('Town_Up', 'Town_Up_02', seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.foreground_layer.getNextHighestDepth()); this.background_width = 840; this.background_height = 640; v3.HitArea_Eisys_01._visible = false; v3.HitArea_Eisys_02._visible = false; v3.HitArea_Eisys_03._visible = false; v3.HitArea_Eisys_05._visible = false; v3.HitArea_Eisys_06._visible = false; v3.HitArea_Eisys_07._visible = false; v3.HitArea_Eisys_08._visible = false; v3.HitArea_Eisys_09._visible = false; v3.HitArea_Eisys_10._visible = false; v3.HitArea_Eisys_11._visible = false; v3.HitArea_Eisys_12._visible = false; v3.HitArea_Eisys_13._visible = false; v3.HitArea_Eisys_14._visible = false; v3.HitArea_Eisys_04_Door._visible = false; var v4 = seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.player_layer; this.hero = seh.triangle.scene.mode.main.levels.detail.HeroStanding(v4.attachMovie(seh.triangle.scene.mode.main.levels.detail.HeroStanding.LINKAGE_ID, 'HeroStanding', v4.getNextHighestDepth())); this.hero._x = 647; this.hero._y = 157; this.state = maelstrom.scene.SceneState.CREATED; this.adjustViewPosition(0, 640); }; seh.triangle.scene.mode.main.levels.detail.HeroAppearance = v1; seh.triangle.scene.mode.main.levels.detail.HeroAppearance extends seh.triangle.scene.mode.main.detail.ActionScene; var v2 = v1.prototype; v2.toString = function () { return 'HeroAppearance'; }; v2.onMotionChanged = function (twn, pos) { if (this.hero._x <= 543) { this.parent.stop(); var v2 = seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.getRootMovieClip(); var v4 = new seh.triangle.scene.event.scenarios.OpeningEncounter(); var v3 = seh.triangle.scene.event.Encounter(v2.attachMovie(seh.triangle.scene.event.Encounter.LINKAGE_ID, 'Encounter', v2.getNextHighestDepth(), {'parent': this, 'scenario': v4.scenario})); v3.startTransitionIn(); this.onMotionChanged = null; } }; v2.onMotionFinished = function (prevtwn) { prevtwn.removeListener(this); ++this.key_index; if (this.key_index == this.key_frame.length) { this.current_tween = null; this.hero.setDirection(seh.triangle.action.CharacterDirection.BACK); this.animation_count = seh.triangle.scene.mode.main.levels.detail.HeroAppearance.WAIT_DURATION; this.onEnterFrame = this.internalWait; } else { if (this.key_frame[this.key_index] == null) { ++this.key_index; this.key_frame.push(new maelstrom.collections.Pair({'prop': '_y', 'begin': 480, 'finish': 450, 'duration': Math.ceil(30 / seh.triangle.scene.mode.main.levels.detail.HeroAppearance.MOVE_SPEED)}, seh.triangle.action.CharacterDirection.BACK)); var v2 = this.key_frame[this.key_index].first; this.current_tween = new mx.transitions.Tween(this.hero, v2.prop, mx.transitions.easing.None.easeNone, v2.begin, v2.finish, v2.duration, false); this.hero.setDirection(seh.triangle.action.CharacterDirection(this.key_frame[this.key_index].second)); this.alpha_change = Math.ceil(100 / v2.duration); this.animation_count = v2.duration; this.onEnterFrame = this.internalFadeOut; } else { var v2 = this.key_frame[this.key_index].first; this.current_tween = new mx.transitions.Tween(this.hero, v2.prop, mx.transitions.easing.None.easeNone, v2.begin, v2.finish, v2.duration, false); this.current_tween.addListener(this); this.hero.setDirection(seh.triangle.action.CharacterDirection(this.key_frame[this.key_index].second)); } } }; v2.play = function () { super.play(); this.key_frame = new Array(); this.key_frame.push(new maelstrom.collections.Pair({'prop': '_y', 'begin': 157, 'finish': 520, 'duration': Math.ceil(363 / seh.triangle.scene.mode.main.levels.detail.HeroAppearance.MOVE_SPEED)}, seh.triangle.action.CharacterDirection.FRONT)); this.key_frame.push(new maelstrom.collections.Pair({'prop': '_x', 'begin': 647, 'finish': 387, 'duration': Math.ceil(260 / seh.triangle.scene.mode.main.levels.detail.HeroAppearance.MOVE_SPEED)}, seh.triangle.action.CharacterDirection.LEFT)); var v3 = this.key_frame[this.key_index].first; this.current_tween = new mx.transitions.Tween(this.hero, v3.prop, mx.transitions.easing.None.easeNone, v3.begin, v3.finish, v3.duration, false); this.current_tween.addListener(this); this.hero.setDirection(seh.triangle.action.CharacterDirection(this.key_frame[this.key_index].second)); this.hero.play(); }; v2.stop = function () { super.stop(); if (this.current_tween != null) { this.current_tween.stop(); } this.hero.stop(); }; v2.resume = function () { super.resume(); if (this.current_tween != null) { this.current_tween.resume(); } this.hero.play(); }; v2.terminate = function () { super.terminate(); seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.background_layer.Town_02.removeMovieClip(); seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.foreground_layer.Town_Up_02.removeMovieClip(); this.hero.removeMovieClip(); if (this.current_tween != null) { this.current_tween.stop(); } }; v2.internalWait = function () { if (--this.animation_count == 0) { this.key_frame.push(new maelstrom.collections.Pair({'prop': '_y', 'begin': 520, 'finish': 480, 'duration': Math.ceil(40 / seh.triangle.scene.mode.main.levels.detail.HeroAppearance.MOVE_SPEED)}, seh.triangle.action.CharacterDirection.BACK)); this.key_frame.push(null); var v2 = this.key_frame[this.key_index].first; this.current_tween = new mx.transitions.Tween(this.hero, v2.prop, mx.transitions.easing.None.easeNone, v2.begin, v2.finish, v2.duration, false); this.current_tween.addListener(this); this.hero.setDirection(seh.triangle.action.CharacterDirection(this.key_frame[this.key_index].second)); this.onEnterFrame = null; } }; v2.internalFadeOut = function () { this.hero._alpha -= this.alpha_change; if (--this.animation_count == 0) { this.hero._alpha = 100; this.hero._visible = false; this.allTransitionsOutDone = function (evt) { super.allTransitionsOutDone(evt); var v3 = new seh.triangle.scene.mode.main.levels.EisysBuilding1F(this.parent); this.player_character = seh.triangle.scene.mode.main.detail.ActionScene.entity_factory.getHero(); this.player_character._visible = true; this.player_character._x = 1145; this.player_character._y = 160; this.player_character.update(); this.player_character.setDirection(seh.triangle.action.CharacterDirection.BACK); v3.adjustViewPosition(this.player_character.stage_x, this.player_character.stage_y); v3.startTransitionIn(); }; this.parent.stop(); this.save_data.opening = true; this.startTransitionOut(); } }; v1.MOVE_SPEED = 6; v1.WAIT_DURATION = 30; v2.current_tween = null; v2.key_frame = null; v2.key_index = 0; v2.alpha_change = 0; v2.animation_count = 0; ASSetPropFlags(seh.triangle.scene.mode.main.levels.detail.HeroAppearance.prototype, null, 1); } #endinitclip } movieClip 1985 __Packages.seh.triangle.scene.mode.main.levels.detail.HeroStanding { #initclip if (!_global.seh) { _global.seh = new Object(); } if (!_global.seh.triangle) { _global.seh.triangle = new Object(); } if (!_global.seh.triangle.scene) { _global.seh.triangle.scene = new Object(); } if (!_global.seh.triangle.scene.mode) { _global.seh.triangle.scene.mode = new Object(); } if (!_global.seh.triangle.scene.mode.main) { _global.seh.triangle.scene.mode.main = new Object(); } if (!_global.seh.triangle.scene.mode.main.levels) { _global.seh.triangle.scene.mode.main.levels = new Object(); } if (!_global.seh.triangle.scene.mode.main.levels.detail) { _global.seh.triangle.scene.mode.main.levels.detail = new Object(); } if (!_global.seh.triangle.scene.mode.main.levels.detail.HeroStanding) { var v1 = function () { super(); this.step_animation = new Array(); this.step_animation.push(this.attachMovie('Chara_Hero_Back', 'Chara_Hero_Back', this.getNextHighestDepth())); this.step_animation.push(this.attachMovie('Chara_Hero_Front', 'Chara_Hero_Front', this.getNextHighestDepth())); this.step_animation.push(this.attachMovie('Chara_Hero_Left', 'Chara_Hero_Left', this.getNextHighestDepth())); this.step_animation.push(this.attachMovie('Chara_Hero_Right', 'Chara_Hero_Right', this.getNextHighestDepth())); var v3 = 0; while (v3 < this.step_animation.length) { this.step_animation[v3]._visible = false; this.step_animation[v3].HitArea_Character._visible = false; this.step_animation[v3].HitArea_Damage._visible = false; ++v3; } this.direction_index = seh.triangle.action.CharacterDirection.FRONT.ordinal(); this.setDirection(seh.triangle.action.CharacterDirection.FRONT); this.stop(); }; seh.triangle.scene.mode.main.levels.detail.HeroStanding = v1; seh.triangle.scene.mode.main.levels.detail.HeroStanding extends MovieClip; var v2 = v1.prototype; v2.toString = function () { return 'HeroStanding'; }; v2.onScenePlayed = function (evt) { this.play(); }; v2.onSceneStopped = function (evt) { this.stop(); }; v2.onSceneResumed = function (evt) { this.play(); }; v2.onSceneTerminated = function (evt) { this.stop(); }; v2.play = function () { var v2 = 0; while (v2 < this.step_animation.length) { this.step_animation[v2].play(); ++v2; } }; v2.stop = function () { var v2 = 0; while (v2 < this.step_animation.length) { this.step_animation[v2].stop(); ++v2; } }; v2.setDirection = function (chardir) { if (chardir == null) { throw new maelstrom.language.NullPointerException('chardir == null'); } var v2 = chardir.ordinal(); this.step_animation[this.direction_index]._visible = false; this.direction_index = v2; this.step_animation[this.direction_index]._visible = true; }; v1.LINKAGE_ID = '__Packages.seh.triangle.scene.mode.main.levels.detail.HeroStanding'; v1.CONSTRUCTOR = seh.triangle.scene.mode.main.levels.detail.HeroStanding; v1.IS_REGISTERED = Object.registerClass(seh.triangle.scene.mode.main.levels.detail.HeroStanding.LINKAGE_ID, seh.triangle.scene.mode.main.levels.detail.HeroStanding.CONSTRUCTOR); v2.step_animation = null; ASSetPropFlags(seh.triangle.scene.mode.main.levels.detail.HeroStanding.prototype, null, 1); } #endinitclip } movieClip 1986 __Packages.seh.triangle.scene.event.scenarios.OpeningEncounter { #initclip if (!_global.seh) { _global.seh = new Object(); } if (!_global.seh.triangle) { _global.seh.triangle = new Object(); } if (!_global.seh.triangle.scene) { _global.seh.triangle.scene = new Object(); } if (!_global.seh.triangle.scene.event) { _global.seh.triangle.scene.event = new Object(); } if (!_global.seh.triangle.scene.event.scenarios) { _global.seh.triangle.scene.event.scenarios = new Object(); } if (!_global.seh.triangle.scene.event.scenarios.OpeningEncounter) { var v1 = function () { var v2 = 'So... This is the building where DLsite runs its online store.<r />Tora to Ana and Melon Books are the other way, so going <r />there is a pain in the ass.<l />Right, just you people wait...<r />I\'m going to beat up all of your employees, and I\'m<r />going to make your mascot characters cry out in pleasure!<p />'; this.scenario = new XML(v2); }; seh.triangle.scene.event.scenarios.OpeningEncounter = v1; var v2 = v1.prototype; v2.toString = function () { return 'OpeningEncounter'; }; ASSetPropFlags(seh.triangle.scene.event.scenarios.OpeningEncounter.prototype, null, 1); } #endinitclip } movieClip 1987 __Packages.seh.triangle.scene.mode.main.GameOver { #initclip if (!_global.seh) { _global.seh = new Object(); } if (!_global.seh.triangle) { _global.seh.triangle = new Object(); } if (!_global.seh.triangle.scene) { _global.seh.triangle.scene = new Object(); } if (!_global.seh.triangle.scene.mode) { _global.seh.triangle.scene.mode = new Object(); } if (!_global.seh.triangle.scene.mode.main) { _global.seh.triangle.scene.mode.main = new Object(); } if (!_global.seh.triangle.scene.mode.main.GameOver) { var v1 = function () { super(); if (this.parent == null) { throw new maelstrom.language.NullPointerException('parent == null'); } if (this.parent.getState() != maelstrom.scene.SceneState.PLAYING) { throw new maelstrom.scene.IllegalSceneStateException('parent.getState() != SceneState.PLAYING'); } this.parent.addSceneListener(this); this.game_controller = (seh.triangle.Triangle.getInstance()).getGameController(); this.transition_layer = this.createEmptyMovieClip('transition_layer', this.getNextHighestDepth()); this.background_music = new Sound(this); this.background_music.attachSound('BGM_007'); this.select_se = new Sound(this); this.select_se.attachSound('SE_012'); this.decide_se = new Sound(this); this.decide_se.attachSound('SE_013'); this.state = maelstrom.scene.SceneState.CREATED; }; seh.triangle.scene.mode.main.GameOver = v1; seh.triangle.scene.mode.main.GameOver extends MovieClip; var v2 = v1.prototype; _global.seh.triangle.scene.mode.main.GameOver implements _global.maelstrom.scene.Scene; v2.toString = function () { return 'GameOver'; }; v2.onUnload = function () { this.background_music.stop(); }; v2.onSceneTerminated = function (evt) { if (this.state != null) { this.terminate(); } }; v2.onSaveButtonReleased = function () { (seh.triangle.Triangle.getInstance()).save(); this.decide_se.start(); }; v2.onLoadButtonReleased = function () { (seh.triangle.Triangle.getInstance()).load(); this.stop(); this.decide_se.start(); this._parent.allTransitionsOutDone = function (evt) { this.gotoAndPlay(1); }; this.parent.startTransitionOut(); }; v2.onTitleButtonReleased = function () { this.stop(); this.decide_se.start(); this._parent.allTransitionsOutDone = function (evt) { var v2 = this._parent; this.terminate(); var v3 = seh.triangle.scene.title.Title(v2.attachMovie(seh.triangle.scene.title.Title.LINKAGE_ID, 'Title', v2.getNextHighestDepth())); v3.startTransitionIn(); }; this.parent.startTransitionOut(); }; v2.allTransitionsInDone = function (evt) { throw new maelstrom.language.NotImplementedException('seh.triangle.scene.mode.main.GameOver::addSceneListener(Object)'); }; v2.allTransitionsOutDone = function (evt) { (mx.transitions.TransitionManager(evt.target)).removeEventListener('allTransitionsOutDone', this); this.play(); }; v2.getParent = function () { return this.parent; }; v2.getState = function () { return this.state; }; v2.addSceneListener = function (scl) { throw new maelstrom.language.NotImplementedException('seh.triangle.scene.mode.main.GameOver::addSceneListener(Object)'); }; v2.removeSceneListener = function (scl) { throw new maelstrom.language.NotImplementedException('seh.triangle.scene.mode.main.GameOver::removeSceneListener(Object)'); }; v2.play = function () { if (this.state != maelstrom.scene.SceneState.CREATED) { throw new maelstrom.scene.IllegalSceneStateException('state != SceneState.CREATED'); } this.state = maelstrom.scene.SceneState.PLAYING; this.attachMovie('GameOver', 'GameOver', this.getNextHighestDepth(), {'_x': 309, '_y': 159}); this.radio_buttons = new Array(); this.radio_buttons.push(this.attachMovie('Save', 'Save', this.getNextHighestDepth(), {'_x': 378, '_y': 198})); this.radio_buttons.push(this.attachMovie('Load', 'Load', this.getNextHighestDepth(), {'_x': 379, '_y': 230})); this.radio_buttons.push(this.attachMovie('Pause_Title', 'Pause_Title', this.getNextHighestDepth(), {'_x': 410, '_y': 266})); this.radio_buttons[0].onRelease = mx.utils.Delegate.create(this, this.onSaveButtonReleased); this.radio_buttons[1].onRelease = mx.utils.Delegate.create(this, this.onLoadButtonReleased); this.radio_buttons[2].onRelease = mx.utils.Delegate.create(this, this.onTitleButtonReleased); this.button_group = new seh.triangle.scene.detail.ButtonGroup(); var v2 = 0; while (v2 < this.radio_buttons.length) { this.radio_buttons[v2]._alpha = seh.triangle.scene.detail.ButtonGroup.TRANSLUCENT; this.button_group.addButton(this.radio_buttons[v2]); ++v2; } this.button_group.setButtonSelected(this.radio_buttons[0], true); this.previous_button_index = 0; this.background_music.start(); this.onEnterFrame = this.internalMain; }; v2.stop = function () { if (this.state != maelstrom.scene.SceneState.PLAYING) { throw new maelstrom.scene.IllegalSceneStateException('state != SceneState.PLAYING'); } this.state = maelstrom.scene.SceneState.STOPPED; var v2 = 0; while (v2 < this.radio_buttons.length) { this.radio_buttons[v2].enabled = false; ++v2; } this.onEnterFrame = null; }; v2.resume = function () { throw new maelstrom.language.NotImplementedException('seh.triangle.scene.mode.main.GameOver::resume()'); }; v2.update = function () { throw new maelstrom.language.NotImplementedException('seh.triangle.scene.mode.main.GameOver::update()'); }; v2.terminate = function () { if (this.state == null) { throw new maelstrom.scene.IllegalSceneStateException('state == null'); } this.state = maelstrom.scene.SceneState.TERMINATED; this.parent.removeSceneListener(this); this.background_music.stop(); this.removeMovieClip(); }; v2.startTransitionIn = function () { var v2 = new mx.transitions.TransitionManager(this.transition_layer); v2.addEventListener('allTransitionsOutDone', this); v2.startTransition({'type': maelstrom.scene.transition.ContentCover, 'direction': mx.transitions.Transition.OUT, 'duration': 0.75, 'easing': mx.transitions.easing.None.easeNone, 'alpha': 50}); return v2; }; v2.startTransitionOut = function () { throw new maelstrom.language.NotImplementedException('seh.triangle.scene.mode.main.GameOver::startTransitionOut()'); return null; }; v2.internalMain = function () { var v3 = this.button_group.getSelectedButton(); var v2 = 0; while (v2 < this.radio_buttons.length) { if (this.radio_buttons[v2] == v3) { this.button_index = v2; break; } ++v2; } var v5 = this.game_controller.getPulseData(); if (v5 == maelstrom.ui.GameController.UP) { --this.button_index; if (this.button_index < 0) { this.button_index = 0; } this.button_group.setButtonSelected(this.radio_buttons[this.button_index], true); } else { if (v5 == maelstrom.ui.GameController.DOWN) { ++this.button_index; if (this.button_index >= this.radio_buttons.length) { this.button_index = this.radio_buttons.length - 1; } this.button_group.setButtonSelected(this.radio_buttons[this.button_index], true); } } if (v5 & maelstrom.ui.GameController.A) { this.radio_buttons[this.button_index].onRelease(); } var v4; v2 = 0; while (v2 < this.radio_buttons.length) { if (this.radio_buttons[v2] == v3) { v4 = v2; break; } ++v2; } if (v4 != this.previous_button_index) { this.select_se.start(); } this.previous_button_index = v4; }; v1.LINKAGE_ID = '__Packages.seh.triangle.scene.mode.main.GameOver'; v1.CONSTRUCTOR = seh.triangle.scene.mode.main.GameOver; v1.IS_REGISTERED = Object.registerClass(seh.triangle.scene.mode.main.GameOver.LINKAGE_ID, seh.triangle.scene.mode.main.GameOver.CONSTRUCTOR); v2.state = null; v2.button_index = 0; ASSetPropFlags(seh.triangle.scene.mode.main.GameOver.prototype, null, 1); } #endinitclip } movieClip 1988 __Packages.seh.triangle.scene.mode.main.Pause { #initclip if (!_global.seh) { _global.seh = new Object(); } if (!_global.seh.triangle) { _global.seh.triangle = new Object(); } if (!_global.seh.triangle.scene) { _global.seh.triangle.scene = new Object(); } if (!_global.seh.triangle.scene.mode) { _global.seh.triangle.scene.mode = new Object(); } if (!_global.seh.triangle.scene.mode.main) { _global.seh.triangle.scene.mode.main = new Object(); } if (!_global.seh.triangle.scene.mode.main.Pause) { var v1 = function () { super(); if (this.parent == null) { throw new maelstrom.language.NullPointerException('parent == null'); } if (this.parent.getState() != maelstrom.scene.SceneState.STOPPED) { throw new maelstrom.scene.IllegalSceneStateException('parent.getState() != SceneState.STOPPEDD'); } this.parent.addSceneListener(this); this.game_controller = (seh.triangle.Triangle.getInstance()).getGameController(); this.transition_layer = this.createEmptyMovieClip('transition_layer', this.getNextHighestDepth()); this.button_layer = this.createEmptyMovieClip('button_layer', this.getNextHighestDepth()); this.select_se = new Sound(this); this.select_se.attachSound('SE_012'); this.decide_se = new Sound(this); this.decide_se.attachSound('SE_013'); this.state = maelstrom.scene.SceneState.CREATED; }; seh.triangle.scene.mode.main.Pause = v1; seh.triangle.scene.mode.main.Pause extends MovieClip; var v2 = v1.prototype; _global.seh.triangle.scene.mode.main.Pause implements _global.maelstrom.scene.Scene; v2.toString = function () { return 'Pause'; }; v2.onSceneResumed = function (evt) { if (this.state == maelstrom.scene.SceneState.STOPPED) { this.terminate(); } }; v2.onSceneTerminated = function (evt) { if (this.state != null) { this.terminate(); } }; v2.onPauseButtonReleased = function () { this.stop(); this.decide_se.start(); this.startTransitionOut(); }; v2.onSaveButtonReleased = function () { (seh.triangle.Triangle.getInstance()).save(); this.decide_se.start(); }; v2.onLoadButtonReleased = function () { (seh.triangle.Triangle.getInstance()).load(); this.stop(); this.decide_se.start(); this._parent.allTransitionsOutDone = function (evt) { this.save_data.opening = true; this.gotoAndPlay(1); }; this.parent.startTransitionOut(); }; v2.onTitleButtonReleased = function () { this.stop(); this.decide_se.start(); this._parent.allTransitionsOutDone = function (evt) { var v2 = this._parent; this.terminate(); var v3 = seh.triangle.scene.title.Title(v2.attachMovie(seh.triangle.scene.title.Title.LINKAGE_ID, 'Title', v2.getNextHighestDepth())); v3.startTransitionIn(); }; this.parent.startTransitionOut(); }; v2.allTransitionsInDone = function (evt) { (mx.transitions.TransitionManager(evt.target)).removeEventListener('allTransitionsInDone', this); this.parent.resume(); }; v2.allTransitionsOutDone = function (evt) { (mx.transitions.TransitionManager(evt.target)).removeEventListener('allTransitionsOutDone', this); this.play(); }; v2.getParent = function () { return this.parent; }; v2.getState = function () { return this.state; }; v2.addSceneListener = function (scl) { throw new maelstrom.language.NotImplementedException('seh.triangle.scene.mode.main.Pause::addSceneListener(Object)'); }; v2.removeSceneListener = function (scl) { throw new maelstrom.language.NotImplementedException('seh.triangle.scene.mode.main.Pause::removeSceneListener(Object)'); }; v2.play = function () { if (this.state != maelstrom.scene.SceneState.CREATED) { throw new maelstrom.scene.IllegalSceneStateException('state != SceneState.CREATED'); } this.state = maelstrom.scene.SceneState.PLAYING; this.radio_buttons = new Array(); this.radio_buttons.push(this.button_layer.attachMovie('Pause', 'Pause', this.button_layer.getNextHighestDepth(), {'_x': 347, '_y': 159})); this.radio_buttons.push(this.button_layer.attachMovie('Save', 'Save', this.button_layer.getNextHighestDepth(), {'_x': 378, '_y': 198})); this.radio_buttons.push(this.button_layer.attachMovie('Load', 'Load', this.button_layer.getNextHighestDepth(), {'_x': 379, '_y': 230})); this.radio_buttons.push(this.button_layer.attachMovie('Pause_Title', 'Pause_Title', this.button_layer.getNextHighestDepth(), {'_x': 410, '_y': 266})); this.radio_buttons[0].onRelease = mx.utils.Delegate.create(this, this.onPauseButtonReleased); this.radio_buttons[1].onRelease = mx.utils.Delegate.create(this, this.onSaveButtonReleased); this.radio_buttons[2].onRelease = mx.utils.Delegate.create(this, this.onLoadButtonReleased); this.radio_buttons[3].onRelease = mx.utils.Delegate.create(this, this.onTitleButtonReleased); this.button_group = new seh.triangle.scene.detail.ButtonGroup(); var v2 = 0; while (v2 < this.radio_buttons.length) { this.radio_buttons[v2]._alpha = seh.triangle.scene.detail.ButtonGroup.TRANSLUCENT; this.button_group.addButton(this.radio_buttons[v2]); ++v2; } this.button_group.setButtonSelected(this.radio_buttons[0], true); this.previous_button_index = 0; this.onEnterFrame = this.internalMain; }; v2.stop = function () { if (this.state != maelstrom.scene.SceneState.PLAYING) { throw new maelstrom.scene.IllegalSceneStateException('state != SceneState.PLAYING'); } this.state = maelstrom.scene.SceneState.STOPPED; var v2 = 0; while (v2 < this.radio_buttons.length) { this.radio_buttons[v2].enabled = false; ++v2; } this.onEnterFrame = null; }; v2.resume = function () { throw new maelstrom.language.NotImplementedException('seh.triangle.scene.mode.main.Pause::resume()'); }; v2.update = function () { throw new maelstrom.language.NotImplementedException('seh.triangle.scene.mode.main.Pause::update()'); }; v2.terminate = function () { if (this.state == null) { throw new maelstrom.scene.IllegalSceneStateException('state == null'); } this.state = maelstrom.scene.SceneState.TERMINATED; this.parent.removeSceneListener(this); this.removeMovieClip(); }; v2.startTransitionIn = function () { var v2 = new mx.transitions.TransitionManager(this.transition_layer); v2.addEventListener('allTransitionsOutDone', this); v2.startTransition({'type': maelstrom.scene.transition.ContentCover, 'direction': mx.transitions.Transition.OUT, 'duration': 0.25, 'easing': mx.transitions.easing.None.easeNone, 'alpha': 50}); return v2; }; v2.startTransitionOut = function () { this.button_layer.removeMovieClip(); var v2 = new mx.transitions.TransitionManager(this.transition_layer); v2.addEventListener('allTransitionsInDone', this); v2.startTransition({'type': maelstrom.scene.transition.ContentCover, 'direction': mx.transitions.Transition.IN, 'duration': 0.25, 'easing': mx.transitions.easing.None.easeNone, 'alpha': 50}); return v2; }; v2.internalMain = function () { var v3 = this.button_group.getSelectedButton(); var v2 = 0; while (v2 < this.radio_buttons.length) { if (this.radio_buttons[v2] == v3) { this.button_index = v2; break; } ++v2; } var v5 = this.game_controller.getPulseData(); if (v5 == maelstrom.ui.GameController.UP) { --this.button_index; if (this.button_index < 0) { this.button_index = 0; } this.button_group.setButtonSelected(this.radio_buttons[this.button_index], true); } else { if (v5 == maelstrom.ui.GameController.DOWN) { ++this.button_index; if (this.button_index >= this.radio_buttons.length) { this.button_index = this.radio_buttons.length - 1; } this.button_group.setButtonSelected(this.radio_buttons[this.button_index], true); } } if (v5 & maelstrom.ui.GameController.A) { this.radio_buttons[this.button_index].onRelease(); } else { if (v5 == maelstrom.ui.GameController.START) { this.onPauseButtonReleased(); } } var v4; v2 = 0; while (v2 < this.radio_buttons.length) { if (this.radio_buttons[v2] == v3) { v4 = v2; break; } ++v2; } if (v4 != this.previous_button_index) { this.select_se.start(); } this.previous_button_index = v4; }; v1.LINKAGE_ID = '__Packages.seh.triangle.scene.mode.main.Pause'; v1.CONSTRUCTOR = seh.triangle.scene.mode.main.Pause; v1.IS_REGISTERED = Object.registerClass(seh.triangle.scene.mode.main.Pause.LINKAGE_ID, seh.triangle.scene.mode.main.Pause.CONSTRUCTOR); v2.state = null; v2.button_index = 0; ASSetPropFlags(seh.triangle.scene.mode.main.Pause.prototype, null, 1); } #endinitclip } movieClip 1989 __Packages.seh.triangle.scene.title.CGGallery { #initclip if (!_global.seh) { _global.seh = new Object(); } if (!_global.seh.triangle) { _global.seh.triangle = new Object(); } if (!_global.seh.triangle.scene) { _global.seh.triangle.scene = new Object(); } if (!_global.seh.triangle.scene.title) { _global.seh.triangle.scene.title = new Object(); } if (!_global.seh.triangle.scene.title.CGGallery) { var v1 = function () { super(); mx.events.EventDispatcher.initialize(this); this.attachMovie('Gallery_CG', 'Gallery_CG', this.getNextHighestDepth()); this.game_controller = (seh.triangle.Triangle.getInstance()).getGameController(); this.radio_buttons = new Array(); this.radio_buttons.push(this.attachMovie('Gallery_DilleElle', 'Gallery_DilleElle', this.getNextHighestDepth(), {'_x': 12, '_y': 5})); this.radio_buttons.push(this.attachMovie('Gallery_SarahRara', 'Gallery_SarahRara', this.getNextHighestDepth(), {'_x': 11, '_y': 42})); this.radio_buttons.push(this.attachMovie('Gallery_DS', 'Gallery_DS', this.getNextHighestDepth(), {'_x': 12, '_y': 79})); this.radio_buttons.push(this.attachMovie('Gallery_Mente', 'Gallery_Mente', this.getNextHighestDepth(), {'_x': 11, '_y': 115})); this.radio_buttons.push(this.attachMovie('Gallery_Premium', 'Gallery_Premium', this.getNextHighestDepth(), {'_x': 12, '_y': 152})); this.radio_buttons.push(this.attachMovie('Gallery_Back', 'Gallery_Back', this.getNextHighestDepth(), {'_x': 146, '_y': 191})); this.radio_buttons[0].onRelease = mx.utils.Delegate.create(this, this.onDilleElleButtonReleased); this.radio_buttons[1].onRelease = mx.utils.Delegate.create(this, this.onSarahRaraButtonReleased); this.radio_buttons[2].onRelease = mx.utils.Delegate.create(this, this.onDSButtonReleased); this.radio_buttons[3].onRelease = mx.utils.Delegate.create(this, this.onMenteButtonReleased); this.radio_buttons[4].onRelease = mx.utils.Delegate.create(this, this.onPremiumButtonReleased); this.radio_buttons[5].onRelease = mx.utils.Delegate.create(this, this.onBackButtonReleased); this.stand_images = new Array(); this.image_index = new Array(); var v4 = 0; while (v4 < this.radio_buttons.length) { this.stand_images.push(new Array()); this.image_index.push(0); ++v4; } this.stand_images[0].push(this.attachMovie('Gallery_Stand_DilleElle_001', 'Gallery_Stand_DilleElle_001', this.getNextHighestDepth())); this.stand_images[0].push(this.attachMovie('Gallery_Stand_DilleElle_002', 'Gallery_Stand_DilleElle_002', this.getNextHighestDepth())); this.stand_images[0].push(this.attachMovie('Gallery_Stand_DilleElle_003', 'Gallery_Stand_DilleElle_003', this.getNextHighestDepth())); this.stand_images[0].push(this.attachMovie('Gallery_Stand_DilleElle_004', 'Gallery_Stand_DilleElle_004', this.getNextHighestDepth())); this.stand_images[1].push(this.attachMovie('Gallery_Stand_SarahRara_001', 'Gallery_Stand_SarahRara_001', this.getNextHighestDepth())); this.stand_images[1].push(this.attachMovie('Gallery_Stand_SarahRara_002', 'Gallery_Stand_SarahRara_002', this.getNextHighestDepth())); this.stand_images[1].push(this.attachMovie('Gallery_Stand_SarahRara_003', 'Gallery_Stand_SarahRara_003', this.getNextHighestDepth())); this.stand_images[1].push(this.attachMovie('Gallery_Stand_SarahRara_004', 'Gallery_Stand_SarahRara_004', this.getNextHighestDepth())); this.stand_images[2].push(this.attachMovie('Gallery_Stand_DS_001', 'Gallery_Stand_DS_001', this.getNextHighestDepth())); this.stand_images[2].push(this.attachMovie('Gallery_Stand_DS_002', 'Gallery_Stand_DS_002', this.getNextHighestDepth())); this.stand_images[2].push(this.attachMovie('Gallery_Stand_DS_003', 'Gallery_Stand_DS_003', this.getNextHighestDepth())); this.stand_images[2].push(this.attachMovie('Gallery_Stand_DS_004', 'Gallery_Stand_DS_004', this.getNextHighestDepth())); this.stand_images[3].push(this.attachMovie('Gallery_Stand_Mente_001', 'Gallery_Stand_Mente_001', this.getNextHighestDepth())); this.stand_images[3].push(this.attachMovie('Gallery_Stand_Mente_002', 'Gallery_Stand_Mente_002', this.getNextHighestDepth())); this.stand_images[3].push(this.attachMovie('Gallery_Stand_Mente_003', 'Gallery_Stand_Mente_003', this.getNextHighestDepth())); this.stand_images[3].push(this.attachMovie('Gallery_Stand_Mente_004', 'Gallery_Stand_Mente_004', this.getNextHighestDepth())); this.stand_images[4].push(this.attachMovie('Gallery_Stand_Premium_001', 'Gallery_Stand_Premium_001', this.getNextHighestDepth())); this.stand_images[4].push(this.attachMovie('Gallery_Stand_Premium_002', 'Gallery_Stand_Premium_002', this.getNextHighestDepth())); this.stand_images[4].push(this.attachMovie('Gallery_Stand_Premium_003', 'Gallery_Stand_Premium_003', this.getNextHighestDepth())); this.stand_images[4].push(this.attachMovie('Gallery_Stand_Premium_004', 'Gallery_Stand_Premium_004', this.getNextHighestDepth())); this.stand_images[5].push(null); v4 = 0; while (v4 < this.radio_buttons.length) { var v3 = 0; while (v3 < this.stand_images[v4].length) { this.stand_images[v4][v3]._visible = false; ++v3; } ++v4; } this.button_group = new seh.triangle.scene.detail.ButtonGroup(); v4 = 0; while (v4 < this.radio_buttons.length) { this.radio_buttons[v4]._alpha = seh.triangle.scene.detail.ButtonGroup.TRANSLUCENT; this.radio_buttons[v4].enabled = false; ++v4; } this.button_group.addButton(this.radio_buttons[5]); this.button_group.setButtonSelected(this.radio_buttons[5], true); var v5 = (seh.triangle.Triangle.getInstance()).getSaveData(); if (v5.data.gallery_premium_01 || v5.data.gallery_premium_02) { this.button_group.addButton(this.radio_buttons[4]); this.button_group.setButtonSelected(this.radio_buttons[4], true); } if (v5.data.gallery_mente) { this.button_group.addButton(this.radio_buttons[3]); this.button_group.setButtonSelected(this.radio_buttons[3], true); } if (v5.data.gallery_ds_01 || v5.data.gallery_ds_02) { this.button_group.addButton(this.radio_buttons[2]); this.button_group.setButtonSelected(this.radio_buttons[2], true); } if (v5.data.gallery_sarahrara) { this.button_group.addButton(this.radio_buttons[1]); this.button_group.setButtonSelected(this.radio_buttons[1], true); } if (v5.data.gallery_dilleelle) { this.button_group.addButton(this.radio_buttons[0]); this.button_group.setButtonSelected(this.radio_buttons[0], true); } var v6 = this.button_group.getSelectedButton(); v4 = 0; while (v4 < this.radio_buttons.length) { if (this.radio_buttons[v4] == v6) { this.previous_button_index = v4; this.previous_image_index = this.image_index[this.previous_button_index]; break; } ++v4; } this.stand_images[this.previous_button_index][this.image_index[this.previous_button_index]]._visible = true; this.select_se = new Sound(this); this.select_se.attachSound('SE_012'); this.decide_se = new Sound(this); this.decide_se.attachSound('SE_013'); this.state = maelstrom.scene.SceneState.CREATED; }; seh.triangle.scene.title.CGGallery = v1; seh.triangle.scene.title.CGGallery extends MovieClip; var v2 = v1.prototype; _global.seh.triangle.scene.title.CGGallery implements _global.maelstrom.scene.Scene; v2.toString = function () { return 'CGGallery'; }; v2.onDilleElleButtonReleased = function () { this.decide_se.start(); this.stop(); var lkgids = new Array(); lkgids.push('Event_DilleElle_S01_006'); lkgids.push('Event_DilleElle_S01_001'); lkgids.push('Event_DilleElle_S01_002'); lkgids.push('Event_DilleElle_S01_003'); lkgids.push('Event_DilleElle_S01_004'); lkgids.push('Event_DilleElle_S01_005'); lkgids.push('Event_DilleElle_S01_007'); lkgids.push('Event_DilleElle_S01_009'); lkgids.push('Event_DilleElle_S01_008'); var v2 = 1; while (v2 < 8) { lkgids.push('Event_DilleElle_S02_00' + v2); ++v2; } v2 = 1; while (v2 < 10) { lkgids.push('Event_DilleElle_S03_00' + v2); ++v2; } lkgids.push('Event_DilleElle_S04_001'); lkgids.push('Event_DilleElle_S04_007'); lkgids.push('Event_DilleElle_S04_003'); lkgids.push('Event_DilleElle_S04_004'); lkgids.push('Event_DilleElle_S04_005'); lkgids.push('Event_DilleElle_S04_006'); v2 = 1; while (v2 < 6) { lkgids.push('Event_DilleElle_S05_00' + v2); ++v2; } v2 = 1; while (v2 < 5) { lkgids.push('Event_DilleElle_S06_00' + v2); ++v2; } lkgids.push('Event_DilleElle_S08_001'); lkgids.push('Event_DilleElle_S07_001'); this.allTransitionsOutDone = function (ievt) { var v2 = this._parent; var v3 = seh.triangle.scene.title.detail.GalleryScene(v2.attachMovie(seh.triangle.scene.title.detail.GalleryScene.LINKAGE_ID, 'GalleryScene', v2.getNextHighestDepth(), {'parent': this, 'linkage_ids': lkgids})); v3.startTransitionIn(); }; this.startTransitionOut(); }; v2.onSarahRaraButtonReleased = function () { this.decide_se.start(); this.stop(); var lkgids = new Array(); lkgids.push('Event_SarahRara_S01_001'); lkgids.push('Event_SarahRara_S01_002'); lkgids.push('Event_SarahRara_S02_001'); lkgids.push('Event_SarahRara_S02_002'); lkgids.push('Event_SarahRara_S03_001'); lkgids.push('Event_SarahRara_S03_002'); lkgids.push('Event_SarahRara_S03_003'); lkgids.push('Event_SarahRara_S03_004'); lkgids.push('Event_SarahRara_S03_005'); lkgids.push('Event_SarahRara_S03_006'); lkgids.push('Event_SarahRara_S04_001'); lkgids.push('Event_SarahRara_S04_002'); lkgids.push('Event_SarahRara_S04_003'); lkgids.push('Event_SarahRara_S04_004'); lkgids.push('Event_SarahRara_S04_005'); lkgids.push('Event_SarahRara_S04_006'); lkgids.push('Event_SarahRara_S04_007'); this.allTransitionsOutDone = function (ievt) { var v2 = this._parent; var v3 = seh.triangle.scene.title.detail.GalleryScene(v2.attachMovie(seh.triangle.scene.title.detail.GalleryScene.LINKAGE_ID, 'GalleryScene', v2.getNextHighestDepth(), {'parent': this, 'linkage_ids': lkgids})); v3.startTransitionIn(); }; this.startTransitionOut(); }; v2.onDSButtonReleased = function () { this.decide_se.start(); this.stop(); var v3 = (seh.triangle.Triangle.getInstance()).getSaveData(); var lkgids = new Array(); if (v3.data.gallery_ds_01) { lkgids.push('Event_DS_S01_001'); lkgids.push('Event_DS_S01_002'); lkgids.push('Event_DS_S01_003'); lkgids.push('Event_DS_S01_004'); lkgids.push('Event_DS_S01_005'); lkgids.push('Event_DS_S01_006'); } if (v3.data.gallery_ds_02) { lkgids.push('Event_DS_S02_001'); lkgids.push('Event_DS_S02_002'); lkgids.push('Event_DS_S02_003'); lkgids.push('Event_DS_S02_004'); lkgids.push('Event_DS_S02_005'); lkgids.push('Event_DS_S02_006'); lkgids.push('Event_DS_S02_007'); lkgids.push('Event_DS_S02_008'); lkgids.push('Event_DS_S02_009'); } this.allTransitionsOutDone = function (ievt) { var v2 = this._parent; var v3 = seh.triangle.scene.title.detail.GalleryScene(v2.attachMovie(seh.triangle.scene.title.detail.GalleryScene.LINKAGE_ID, 'GalleryScene', v2.getNextHighestDepth(), {'parent': this, 'linkage_ids': lkgids})); v3.startTransitionIn(); }; this.startTransitionOut(); }; v2.onMenteButtonReleased = function () { this.decide_se.start(); this.stop(); var lkgids = new Array(); lkgids.push('Event_Mente_S01_001'); lkgids.push('Event_Mente_S01_002'); lkgids.push('Event_Mente_S01_003'); lkgids.push('Event_Mente_S01_004'); lkgids.push('Event_Mente_S01_005'); lkgids.push('Event_Mente_S01_006'); lkgids.push('Event_Mente_S01_007'); lkgids.push('Event_Mente_S01_008'); lkgids.push('Event_Mente_S01_009'); lkgids.push('Event_Mente_S01_010'); lkgids.push('Event_Mente_S02_001'); lkgids.push('Event_Mente_S02_002'); lkgids.push('Event_Mente_S02_003'); this.allTransitionsOutDone = function (ievt) { var v2 = this._parent; var v3 = seh.triangle.scene.title.detail.GalleryScene(v2.attachMovie(seh.triangle.scene.title.detail.GalleryScene.LINKAGE_ID, 'GalleryScene', v2.getNextHighestDepth(), {'parent': this, 'linkage_ids': lkgids})); v3.startTransitionIn(); }; this.startTransitionOut(); }; v2.onPremiumButtonReleased = function () { this.decide_se.start(); this.stop(); var v3 = (seh.triangle.Triangle.getInstance()).getSaveData(); var lkgids = new Array(); if (v3.data.gallery_premium_01) { lkgids.push('Event_Premium_S01_001'); lkgids.push('Event_Premium_S01_002'); lkgids.push('Event_Premium_S01_003'); lkgids.push('Event_Premium_S01_004'); lkgids.push('Event_Premium_S01_005'); lkgids.push('Event_Premium_S01_006'); lkgids.push('Event_Premium_S01_007'); lkgids.push('Event_Premium_S02_001'); lkgids.push('Event_Premium_S02_002'); lkgids.push('Event_Premium_S02_003'); lkgids.push('Event_Premium_S02_004'); } if (v3.data.gallery_premium_02) { lkgids.push('Event_Premium_S03_001'); lkgids.push('Event_Premium_S03_002'); lkgids.push('Event_Premium_S03_003'); lkgids.push('Event_Premium_S03_004'); lkgids.push('Event_Premium_S03_005'); } this.allTransitionsOutDone = function (ievt) { var v2 = this._parent; var v3 = seh.triangle.scene.title.detail.GalleryScene(v2.attachMovie(seh.triangle.scene.title.detail.GalleryScene.LINKAGE_ID, 'GalleryScene', v2.getNextHighestDepth(), {'parent': this, 'linkage_ids': lkgids})); v3.startTransitionIn(); }; this.startTransitionOut(); }; v2.onBackButtonReleased = function () { this.allTransitionsOutDone = function (evt) { var v2 = this._parent; this.terminate(); var v3 = seh.triangle.scene.title.Title(v2.attachMovie(seh.triangle.scene.title.Title.LINKAGE_ID, 'Title', v2.getNextHighestDepth())); v3.startTransitionIn(); }; this.decide_se.start(); this.stop(); this.startTransitionOut(); }; v2.allTransitionsInDone = function (evt) { if (this.state == maelstrom.scene.SceneState.CREATED) { this.play(); } else { if (this.state == maelstrom.scene.SceneState.STOPPED) { this.resume(); } } }; v2.allTransitionsOutDone = function (evt) { throw new maelstrom.language.NotImplementedException('seh.triangle.scene.title.CGGallery::allTransitionsOutDone(Object)'); }; v2.getParent = function () { return null; }; v2.getState = function () { return this.state; }; v2.addSceneListener = function (scl) { if (scl == null) { throw new maelstrom.language.NullPointerException('scl == null'); } this.addEventListener('onScenePlayed', scl); this.addEventListener('onSceneStopped', scl); this.addEventListener('onSceneResumed', scl); this.addEventListener('onSceneUpdated', scl); this.addEventListener('onSceneTerminated', scl); }; v2.removeSceneListener = function (scl) { if (scl == null) { throw new maelstrom.language.NullPointerException('scl == null'); } this.removeEventListener('onScenePlayed', scl); this.removeEventListener('onSceneStopped', scl); this.removeEventListener('onSceneResumed', scl); this.removeEventListener('onSceneUpdated', scl); this.removeEventListener('onSceneTerminated', scl); }; v2.play = function () { if (this.state != maelstrom.scene.SceneState.CREATED) { throw new maelstrom.scene.IllegalSceneStateException('state != SceneState.CREATED'); } this.state = maelstrom.scene.SceneState.PLAYING; this.dispatchEvent({'type': 'onScenePlayed'}); var v3 = this.button_group.getButtons(); var v2 = 0; while (v2 < v3.length) { v3[v2].enabled = true; ++v2; } this.onEnterFrame = this.internalMain; }; v2.stop = function () { if (this.state != maelstrom.scene.SceneState.PLAYING) { throw new maelstrom.scene.IllegalSceneStateException('state != SceneState.PLAYING'); } this.state = maelstrom.scene.SceneState.STOPPED; this.dispatchEvent({'type': 'onSceneStopped'}); var v3 = this.button_group.getButtons(); var v2 = 0; while (v2 < v3.length) { v3[v2].enabled = false; ++v2; } this.onEnterFrame = null; }; v2.resume = function () { if (this.state != maelstrom.scene.SceneState.STOPPED) { throw new maelstrom.scene.IllegalSceneStateException('state != SceneState.STOPPED'); } this.state = maelstrom.scene.SceneState.PLAYING; this.dispatchEvent({'type': 'onSceneResumed'}); var v3 = this.button_group.getButtons(); var v2 = 0; while (v2 < v3.length) { v3[v2].enabled = true; ++v2; } this.onEnterFrame = this.internalMain; }; v2.update = function () { throw new maelstrom.language.NotImplementedException('seh.triangle.scene.title.CGGallery::update()'); }; v2.terminate = function () { if (this.state == null) { throw new maelstrom.scene.IllegalSceneStateException('state == null'); } this.state = maelstrom.scene.SceneState.TERMINATED; this.dispatchEvent({'type': 'onSceneTerminated'}); this.removeMovieClip(); }; v2.startTransitionIn = function () { var v2 = mx.transitions.TransitionManager.start(this, {'type': maelstrom.scene.transition.ContentCover, 'direction': mx.transitions.Transition.IN, 'duration': 1, 'easing': mx.transitions.easing.None.easeNone}); return v2.__get__manager(); }; v2.startTransitionOut = function () { var v2 = mx.transitions.TransitionManager.start(this, {'type': maelstrom.scene.transition.ContentCover, 'direction': mx.transitions.Transition.OUT, 'duration': 1, 'easing': mx.transitions.easing.None.easeNone}); return v2.__get__manager(); }; v2.internalMain = function () { this.stand_images[this.previous_button_index][this.image_index[this.previous_button_index]]._visible = false; this.stand_images[seh.triangle.scene.title.CGGallery.BACK_BUTTON_INDEX][0] = this.stand_images[this.previous_button_index][this.image_index[this.previous_button_index]]; var v3 = this.button_group.getButtons(); var v6 = this.button_group.getSelectedButton(); var v2; var v4 = 0; while (v4 < v3.length) { if (v3[v4] == v6) { v2 = v4; break; } ++v4; } var v7 = this.game_controller.getPulseData(); if (v7 == maelstrom.ui.GameController.UP) { ++v2; if (v2 >= v3.length) { v2 = v3.length - 1; } this.button_group.setButtonSelected(v3[v2], true); } else { if (v7 == maelstrom.ui.GameController.DOWN) { --v2; if (v2 < 0) { v2 = 0; } this.button_group.setButtonSelected(v3[v2], true); } else { if (v7 == maelstrom.ui.GameController.LEFT) { var v5; v4 = 0; while (v4 < this.radio_buttons.length) { if (this.radio_buttons[v4] == v3[v2]) { v5 = v4; break; } ++v4; } this.image_index[v5] -= 1; if (this.image_index[v5] < 0) { this.image_index[v5] = this.stand_images[v5].length - 1; } } else { if (v7 == maelstrom.ui.GameController.RIGHT) { v4 = 0; while (v4 < this.radio_buttons.length) { if (this.radio_buttons[v4] == v3[v2]) { var v5 = v4; break; } ++v4; } this.image_index[v5] += 1; if (this.image_index[v5] >= this.stand_images[v5].length) { this.image_index[v5] = 0; } } } } } if (v7 & maelstrom.ui.GameController.A) { v3[v2].onRelease(); } v4 = 0; while (v4 < this.radio_buttons.length) { if (this.radio_buttons[v4] == v3[v2]) { v2 = v4; break; } ++v4; } this.stand_images[v2][this.image_index[v2]]._visible = true; if (v2 != this.previous_button_index || this.image_index[v2] != this.previous_image_index) { this.select_se.start(); } this.previous_button_index = v2; this.previous_image_index = this.image_index[v2]; }; v1.LINKAGE_ID = '__Packages.seh.triangle.scene.title.CGGallery'; v1.CONSTRUCTOR = seh.triangle.scene.title.CGGallery; v1.IS_REGISTERED = Object.registerClass(seh.triangle.scene.title.CGGallery.LINKAGE_ID, seh.triangle.scene.title.CGGallery.CONSTRUCTOR); v1.BACK_BUTTON_INDEX = 5; v2.state = null; ASSetPropFlags(seh.triangle.scene.title.CGGallery.prototype, null, 1); } #endinitclip } movieClip 1990 __Packages.seh.triangle.scene.title.detail.GalleryScene { #initclip if (!_global.seh) { _global.seh = new Object(); } if (!_global.seh.triangle) { _global.seh.triangle = new Object(); } if (!_global.seh.triangle.scene) { _global.seh.triangle.scene = new Object(); } if (!_global.seh.triangle.scene.title) { _global.seh.triangle.scene.title = new Object(); } if (!_global.seh.triangle.scene.title.detail) { _global.seh.triangle.scene.title.detail = new Object(); } if (!_global.seh.triangle.scene.title.detail.GalleryScene) { var v1 = function () { super(); if (this.parent == null || this.linkage_ids == null) { throw new maelstrom.language.NullPointerException('parent == null || linkage_ids == null'); } if (this.linkage_ids.length == 0) { throw new maelstrom.language.IllegalArgumentException('linkage_ids.length == 0'); } if (this.parent.getState() != maelstrom.scene.SceneState.STOPPED) { throw new maelstrom.scene.IllegalSceneStateException('parent.getState() != SceneState.STOPPEDD'); } this.parent.addSceneListener(this); this.game_controller = (seh.triangle.Triangle.getInstance()).getGameController(); this.cg_array = new Array(); var v3 = 0; while (v3 < this.linkage_ids.length) { this.cg_array.push(this.attachMovie(this.linkage_ids[v3], this.linkage_ids[v3], this.getNextHighestDepth(), {'enabled': false, '_visible': false})); ++v3; } this.cg_array[this.cg_index]._visible = true; this.cg_array[this.cg_index].onRelease = mx.utils.Delegate.create(this, this.onCGReleased); this.state = maelstrom.scene.SceneState.CREATED; }; seh.triangle.scene.title.detail.GalleryScene = v1; seh.triangle.scene.title.detail.GalleryScene extends MovieClip; var v2 = v1.prototype; _global.seh.triangle.scene.title.detail.GalleryScene implements _global.maelstrom.scene.Scene; v2.toString = function () { return 'GalleryScene'; }; v2.onCGReleased = function () { if (this.cg_index + 1 == this.cg_array.length) { this.stop(); this.startTransitionOut(); } else { this.cg_array[this.cg_index].enabled = false; (mx.transitions.TransitionManager.start(this.cg_array[this.cg_index], {'type': mx.transitions.Fade, 'direction': mx.transitions.Transition.OUT, 'duration': 0.5, 'easing': mx.transitions.easing.None.easeNone})).addEventListener('transitionOutDone', this); } }; v2.onSceneResumed = function (evt) { if (this.state == maelstrom.scene.SceneState.STOPPED) { this.terminate(); } }; v2.allTransitionsInDone = function (evt) { (mx.transitions.TransitionManager(evt.target)).removeEventListener('allTransitionsInDone', this); this.play(); }; v2.allTransitionsOutDone = function (evt) { (mx.transitions.TransitionManager(evt.target)).removeEventListener('allTransitionsOutDone', this); this.parent.startTransitionIn(); }; v2.transitionInDone = function (evt) { (mx.transitions.Transition(evt.target)).removeEventListener('transitionInDone', this); this.cg_array[this.cg_index].enabled = true; this.cg_array[this.cg_index].onRelease = mx.utils.Delegate.create(this, this.onCGReleased); }; v2.transitionOutDone = function (evt) { (mx.transitions.Transition(evt.target)).removeEventListener('transitionOutDone', this); this.cg_array[this.cg_index++].removeMovieClip(); this.cg_array[this.cg_index]._visible = true; (mx.transitions.TransitionManager.start(this.cg_array[this.cg_index], {'type': mx.transitions.Fade, 'direction': mx.transitions.Transition.IN, 'duration': 0.5, 'easing': mx.transitions.easing.None.easeNone})).addEventListener('transitionInDone', this); }; v2.getParent = function () { return this.parent; }; v2.getState = function () { return this.state; }; v2.addSceneListener = function (scl) { throw new maelstrom.language.NotImplementedException('seh.triangle.scene.title.CGGallery::addSceneListener(Object)'); }; v2.removeSceneListener = function (scl) { throw new maelstrom.language.NotImplementedException('seh.triangle.scene.title.CGGallery::removeSceneListener(Object)'); }; v2.play = function () { if (this.state != maelstrom.scene.SceneState.CREATED) { throw new maelstrom.scene.IllegalSceneStateException('state != SceneState.CREATED'); } this.cg_array[this.cg_index].enabled = true; this.onEnterFrame = this.internalMain; this.state = maelstrom.scene.SceneState.PLAYING; }; v2.stop = function () { if (this.state != maelstrom.scene.SceneState.PLAYING) { throw new maelstrom.scene.IllegalSceneStateException('state != SceneState.PLAYING'); } this.cg_array[this.cg_index].enabled = false; this.onEnterFrame = null; this.state = maelstrom.scene.SceneState.STOPPED; }; v2.resume = function () { if (this.state != maelstrom.scene.SceneState.STOPPED) { throw new maelstrom.scene.IllegalSceneStateException('state != SceneState.STOPPED'); } this.cg_array[this.cg_index].enabled = true; this.onEnterFrame = this.internalMain; this.state = maelstrom.scene.SceneState.PLAYING; }; v2.update = function () { throw new maelstrom.language.NotImplementedException('seh.triangle.scene.title.CGGallery::update()'); }; v2.terminate = function () { if (this.state == null) { throw new maelstrom.scene.IllegalSceneStateException('state == null'); } this.state = maelstrom.scene.SceneState.TERMINATED; this.cg_array[this.cg_index].enabled = false; this.onEnterFrame = null; this.removeMovieClip(); }; v2.startTransitionIn = function () { var v2 = mx.transitions.TransitionManager.start(this, {'type': maelstrom.scene.transition.ContentCover, 'direction': mx.transitions.Transition.IN, 'duration': 1, 'easing': mx.transitions.easing.None.easeNone}); return v2.__get__manager(); }; v2.startTransitionOut = function () { var v2 = mx.transitions.TransitionManager.start(this, {'type': maelstrom.scene.transition.ContentCover, 'direction': mx.transitions.Transition.OUT, 'duration': 1, 'easing': mx.transitions.easing.None.easeNone}); return v2.__get__manager(); }; v2.internalMain = function () { var v2 = this.game_controller.getPulseData(); if (v2 & maelstrom.ui.GameController.A) { if (this.cg_array[this.cg_index].enabled) { this.cg_array[this.cg_index].onRelease(); } } else { if (v2 & maelstrom.ui.GameController.START) { this.stop(); this.startTransitionOut(); } } }; v1.LINKAGE_ID = '__Packages.seh.triangle.scene.title.detail.GalleryScene'; v1.CONSTRUCTOR = seh.triangle.scene.title.detail.GalleryScene; v1.IS_REGISTERED = Object.registerClass(seh.triangle.scene.title.detail.GalleryScene.LINKAGE_ID, seh.triangle.scene.title.detail.GalleryScene.CONSTRUCTOR); v2.state = null; v2.cg_index = 0; ASSetPropFlags(seh.triangle.scene.title.detail.GalleryScene.prototype, null, 1); } #endinitclip } movieClip 1991 __Packages.seh.triangle.scene.title.SceneReplay { #initclip if (!_global.seh) { _global.seh = new Object(); } if (!_global.seh.triangle) { _global.seh.triangle = new Object(); } if (!_global.seh.triangle.scene) { _global.seh.triangle.scene = new Object(); } if (!_global.seh.triangle.scene.title) { _global.seh.triangle.scene.title = new Object(); } if (!_global.seh.triangle.scene.title.SceneReplay) { var v1 = function () { super(); mx.events.EventDispatcher.initialize(this); this.attachMovie('Gallery_SceneReplay', 'Gallery_SceneReplay', this.getNextHighestDepth()); this.game_controller = (seh.triangle.Triangle.getInstance()).getGameController(); this.radio_buttons = new Array(); this.radio_buttons.push(this.attachMovie('Gallery_DilleElle', 'Gallery_DilleElle', this.getNextHighestDepth(), {'_x': 12, '_y': 5})); this.radio_buttons.push(this.attachMovie('Gallery_SarahRara', 'Gallery_SarahRara', this.getNextHighestDepth(), {'_x': 11, '_y': 42})); this.radio_buttons.push(this.attachMovie('Gallery_DS', 'Gallery_DS', this.getNextHighestDepth(), {'_x': 12, '_y': 79})); this.radio_buttons.push(this.attachMovie('Gallery_Mente', 'Gallery_Mente', this.getNextHighestDepth(), {'_x': 11, '_y': 115})); this.radio_buttons.push(this.attachMovie('Gallery_Premium', 'Gallery_Premium', this.getNextHighestDepth(), {'_x': 12, '_y': 152})); this.radio_buttons.push(this.attachMovie('Gallery_Back', 'Gallery_Back', this.getNextHighestDepth(), {'_x': 146, '_y': 191})); this.radio_buttons[0].onRelease = mx.utils.Delegate.create(this, this.onDilleElleButtonReleased); this.radio_buttons[1].onRelease = mx.utils.Delegate.create(this, this.onSarahRaraButtonReleased); this.radio_buttons[2].onRelease = mx.utils.Delegate.create(this, this.onDSButtonReleased); this.radio_buttons[3].onRelease = mx.utils.Delegate.create(this, this.onMenteButtonReleased); this.radio_buttons[4].onRelease = mx.utils.Delegate.create(this, this.onPremiumButtonReleased); this.radio_buttons[5].onRelease = mx.utils.Delegate.create(this, this.onBackButtonReleased); this.stand_images = new Array(); this.image_index = new Array(); var v4 = 0; while (v4 < this.radio_buttons.length) { this.stand_images.push(new Array()); this.image_index.push(0); ++v4; } this.stand_images[0].push(this.attachMovie('Gallery_Stand_DilleElle_001', 'Gallery_Stand_DilleElle_001', this.getNextHighestDepth())); this.stand_images[0].push(this.attachMovie('Gallery_Stand_DilleElle_002', 'Gallery_Stand_DilleElle_002', this.getNextHighestDepth())); this.stand_images[0].push(this.attachMovie('Gallery_Stand_DilleElle_003', 'Gallery_Stand_DilleElle_003', this.getNextHighestDepth())); this.stand_images[0].push(this.attachMovie('Gallery_Stand_DilleElle_004', 'Gallery_Stand_DilleElle_004', this.getNextHighestDepth())); this.stand_images[1].push(this.attachMovie('Gallery_Stand_SarahRara_001', 'Gallery_Stand_SarahRara_001', this.getNextHighestDepth())); this.stand_images[1].push(this.attachMovie('Gallery_Stand_SarahRara_002', 'Gallery_Stand_SarahRara_002', this.getNextHighestDepth())); this.stand_images[1].push(this.attachMovie('Gallery_Stand_SarahRara_003', 'Gallery_Stand_SarahRara_003', this.getNextHighestDepth())); this.stand_images[1].push(this.attachMovie('Gallery_Stand_SarahRara_004', 'Gallery_Stand_SarahRara_004', this.getNextHighestDepth())); this.stand_images[2].push(this.attachMovie('Gallery_Stand_DS_001', 'Gallery_Stand_DS_001', this.getNextHighestDepth())); this.stand_images[2].push(this.attachMovie('Gallery_Stand_DS_002', 'Gallery_Stand_DS_002', this.getNextHighestDepth())); this.stand_images[2].push(this.attachMovie('Gallery_Stand_DS_003', 'Gallery_Stand_DS_003', this.getNextHighestDepth())); this.stand_images[2].push(this.attachMovie('Gallery_Stand_DS_004', 'Gallery_Stand_DS_004', this.getNextHighestDepth())); this.stand_images[3].push(this.attachMovie('Gallery_Stand_Mente_001', 'Gallery_Stand_Mente_001', this.getNextHighestDepth())); this.stand_images[3].push(this.attachMovie('Gallery_Stand_Mente_002', 'Gallery_Stand_Mente_002', this.getNextHighestDepth())); this.stand_images[3].push(this.attachMovie('Gallery_Stand_Mente_003', 'Gallery_Stand_Mente_003', this.getNextHighestDepth())); this.stand_images[3].push(this.attachMovie('Gallery_Stand_Mente_004', 'Gallery_Stand_Mente_004', this.getNextHighestDepth())); this.stand_images[4].push(this.attachMovie('Gallery_Stand_Premium_001', 'Gallery_Stand_Premium_001', this.getNextHighestDepth())); this.stand_images[4].push(this.attachMovie('Gallery_Stand_Premium_002', 'Gallery_Stand_Premium_002', this.getNextHighestDepth())); this.stand_images[4].push(this.attachMovie('Gallery_Stand_Premium_003', 'Gallery_Stand_Premium_003', this.getNextHighestDepth())); this.stand_images[4].push(this.attachMovie('Gallery_Stand_Premium_004', 'Gallery_Stand_Premium_004', this.getNextHighestDepth())); this.stand_images[5].push(null); v4 = 0; while (v4 < this.radio_buttons.length) { var v3 = 0; while (v3 < this.stand_images[v4].length) { this.stand_images[v4][v3]._visible = false; ++v3; } ++v4; } this.button_group = new seh.triangle.scene.detail.ButtonGroup(); v4 = 0; while (v4 < this.radio_buttons.length) { this.radio_buttons[v4]._alpha = seh.triangle.scene.detail.ButtonGroup.TRANSLUCENT; this.radio_buttons[v4].enabled = false; ++v4; } this.button_group.addButton(this.radio_buttons[5]); this.button_group.setButtonSelected(this.radio_buttons[5], true); var v5 = (seh.triangle.Triangle.getInstance()).getSaveData(); if (v5.data.gallery_premium_01 || v5.data.gallery_premium_02) { this.button_group.addButton(this.radio_buttons[4]); this.button_group.setButtonSelected(this.radio_buttons[4], true); } if (v5.data.gallery_mente) { this.button_group.addButton(this.radio_buttons[3]); this.button_group.setButtonSelected(this.radio_buttons[3], true); } if (v5.data.gallery_ds_01 || v5.data.gallery_ds_02) { this.button_group.addButton(this.radio_buttons[2]); this.button_group.setButtonSelected(this.radio_buttons[2], true); } if (v5.data.gallery_sarahrara) { this.button_group.addButton(this.radio_buttons[1]); this.button_group.setButtonSelected(this.radio_buttons[1], true); } if (v5.data.gallery_dilleelle) { this.button_group.addButton(this.radio_buttons[0]); this.button_group.setButtonSelected(this.radio_buttons[0], true); } var v6 = this.button_group.getSelectedButton(); v4 = 0; while (v4 < this.radio_buttons.length) { if (this.radio_buttons[v4] == v6) { this.previous_button_index = v4; this.previous_image_index = this.image_index[this.previous_button_index]; break; } ++v4; } this.stand_images[this.previous_button_index][this.image_index[this.previous_button_index]]._visible = true; this.select_se = new Sound(this); this.select_se.attachSound('SE_012'); this.decide_se = new Sound(this); this.decide_se.attachSound('SE_013'); this.state = maelstrom.scene.SceneState.CREATED; }; seh.triangle.scene.title.SceneReplay = v1; seh.triangle.scene.title.SceneReplay extends MovieClip; var v2 = v1.prototype; _global.seh.triangle.scene.title.SceneReplay implements _global.maelstrom.scene.Scene; v2.toString = function () { return 'SceneReplay'; }; v2.onDilleElleButtonReleased = function () { this.decide_se.start(); this.stop(); this.allTransitionsOutDone = function (ievt) { var v2 = this._parent; var v4 = new seh.triangle.scene.event.scenarios.DilleElleEvent(); var v3 = seh.triangle.scene.event.EventScene(v2.attachMovie(seh.triangle.scene.event.EventScene.LINKAGE_ID, 'EventScene', v2.getNextHighestDepth(), {'parent': this, 'scenario': v4.scenario})); v3.startTransitionIn(); }; this.startTransitionOut(); }; v2.onSarahRaraButtonReleased = function () { this.decide_se.start(); this.stop(); this.allTransitionsOutDone = function (ievt) { var v2 = this._parent; var v4 = new seh.triangle.scene.event.scenarios.SarahRaraEvent(); var v3 = seh.triangle.scene.event.EventScene(v2.attachMovie(seh.triangle.scene.event.EventScene.LINKAGE_ID, 'EventScene', v2.getNextHighestDepth(), {'parent': this, 'scenario': v4.scenario})); v3.startTransitionIn(); }; this.startTransitionOut(); }; v2.onDSButtonReleased = function () { this.decide_se.start(); this.stop(); this.allTransitionsOutDone = function (ievt) { var v2 = this._parent; var v3 = seh.triangle.scene.title.detail.DSReplay(v2.attachMovie(seh.triangle.scene.title.detail.DSReplay.LINKAGE_ID, 'DSReplay', v2.getNextHighestDepth(), {'parent': this})); v3.startTransitionIn(); }; this.startTransitionOut(); }; v2.onMenteButtonReleased = function () { this.decide_se.start(); this.stop(); this.allTransitionsOutDone = function (ievt) { var v2 = this._parent; var v4 = new seh.triangle.scene.event.scenarios.MenteEvent(); var v3 = seh.triangle.scene.event.EventScene(v2.attachMovie(seh.triangle.scene.event.EventScene.LINKAGE_ID, 'EventScene', v2.getNextHighestDepth(), {'parent': this, 'scenario': v4.scenario})); v3.startTransitionIn(); }; this.startTransitionOut(); }; v2.onPremiumButtonReleased = function () { this.decide_se.start(); this.stop(); this.allTransitionsOutDone = function (ievt) { var v2 = this._parent; var v3 = seh.triangle.scene.title.detail.PremiumReplay(v2.attachMovie(seh.triangle.scene.title.detail.PremiumReplay.LINKAGE_ID, 'PremiumReplay', v2.getNextHighestDepth(), {'parent': this})); v3.startTransitionIn(); }; this.startTransitionOut(); }; v2.onBackButtonReleased = function () { this.allTransitionsOutDone = function (evt) { var v2 = this._parent; this.terminate(); var v3 = seh.triangle.scene.title.Title(v2.attachMovie(seh.triangle.scene.title.Title.LINKAGE_ID, 'Title', v2.getNextHighestDepth())); v3.startTransitionIn(); }; this.decide_se.start(); this.stop(); this.startTransitionOut(); }; v2.allTransitionsInDone = function (evt) { if (this.state == maelstrom.scene.SceneState.CREATED) { this.play(); } else { if (this.state == maelstrom.scene.SceneState.STOPPED) { this.resume(); } } }; v2.allTransitionsOutDone = function (evt) { throw new maelstrom.language.NotImplementedException('seh.triangle.scene.title.SceneReplay::allTransitionsOutDone(Object)'); }; v2.getParent = function () { return null; }; v2.getState = function () { return this.state; }; v2.addSceneListener = function (scl) { if (scl == null) { throw new maelstrom.language.NullPointerException('scl == null'); } this.addEventListener('onScenePlayed', scl); this.addEventListener('onSceneStopped', scl); this.addEventListener('onSceneResumed', scl); this.addEventListener('onSceneUpdated', scl); this.addEventListener('onSceneTerminated', scl); }; v2.removeSceneListener = function (scl) { if (scl == null) { throw new maelstrom.language.NullPointerException('scl == null'); } this.removeEventListener('onScenePlayed', scl); this.removeEventListener('onSceneStopped', scl); this.removeEventListener('onSceneResumed', scl); this.removeEventListener('onSceneUpdated', scl); this.removeEventListener('onSceneTerminated', scl); }; v2.play = function () { if (this.state != maelstrom.scene.SceneState.CREATED) { throw new maelstrom.scene.IllegalSceneStateException('state != SceneState.CREATED'); } this.state = maelstrom.scene.SceneState.PLAYING; this.dispatchEvent({'type': 'onScenePlayed'}); var v3 = this.button_group.getButtons(); var v2 = 0; while (v2 < v3.length) { v3[v2].enabled = true; ++v2; } this.onEnterFrame = this.internalMain; }; v2.stop = function () { if (this.state != maelstrom.scene.SceneState.PLAYING) { throw new maelstrom.scene.IllegalSceneStateException('state != SceneState.PLAYING'); } this.state = maelstrom.scene.SceneState.STOPPED; this.dispatchEvent({'type': 'onSceneStopped'}); var v3 = this.button_group.getButtons(); var v2 = 0; while (v2 < v3.length) { v3[v2].enabled = false; ++v2; } this.onEnterFrame = null; }; v2.resume = function () { if (this.state != maelstrom.scene.SceneState.STOPPED) { throw new maelstrom.scene.IllegalSceneStateException('state != SceneState.STOPPED'); } this.state = maelstrom.scene.SceneState.PLAYING; this.dispatchEvent({'type': 'onSceneResumed'}); var v3 = this.button_group.getButtons(); var v2 = 0; while (v2 < v3.length) { v3[v2].enabled = true; ++v2; } this.onEnterFrame = this.internalMain; }; v2.update = function () { throw new maelstrom.language.NotImplementedException('seh.triangle.scene.title.SceneReplay::update()'); }; v2.terminate = function () { if (this.state == null) { throw new maelstrom.scene.IllegalSceneStateException('state == null'); } this.state = maelstrom.scene.SceneState.TERMINATED; this.dispatchEvent({'type': 'onSceneTerminated'}); this.removeMovieClip(); }; v2.startTransitionIn = function () { var v2 = mx.transitions.TransitionManager.start(this, {'type': maelstrom.scene.transition.ContentCover, 'direction': mx.transitions.Transition.IN, 'duration': 1, 'easing': mx.transitions.easing.None.easeNone}); return v2.__get__manager(); }; v2.startTransitionOut = function () { var v2 = mx.transitions.TransitionManager.start(this, {'type': maelstrom.scene.transition.ContentCover, 'direction': mx.transitions.Transition.OUT, 'duration': 1, 'easing': mx.transitions.easing.None.easeNone}); return v2.__get__manager(); }; v2.internalMain = function () { this.stand_images[this.previous_button_index][this.image_index[this.previous_button_index]]._visible = false; this.stand_images[seh.triangle.scene.title.SceneReplay.BACK_BUTTON_INDEX][0] = this.stand_images[this.previous_button_index][this.image_index[this.previous_button_index]]; var v3 = this.button_group.getButtons(); var v6 = this.button_group.getSelectedButton(); var v2; var v4 = 0; while (v4 < v3.length) { if (v3[v4] == v6) { v2 = v4; break; } ++v4; } var v7 = this.game_controller.getPulseData(); if (v7 == maelstrom.ui.GameController.UP) { ++v2; if (v2 >= v3.length) { v2 = v3.length - 1; } this.button_group.setButtonSelected(v3[v2], true); } else { if (v7 == maelstrom.ui.GameController.DOWN) { --v2; if (v2 < 0) { v2 = 0; } this.button_group.setButtonSelected(v3[v2], true); } else { if (v7 == maelstrom.ui.GameController.LEFT) { var v5; v4 = 0; while (v4 < this.radio_buttons.length) { if (this.radio_buttons[v4] == v3[v2]) { v5 = v4; break; } ++v4; } this.image_index[v5] -= 1; if (this.image_index[v5] < 0) { this.image_index[v5] = this.stand_images[v5].length - 1; } } else { if (v7 == maelstrom.ui.GameController.RIGHT) { v4 = 0; while (v4 < this.radio_buttons.length) { if (this.radio_buttons[v4] == v3[v2]) { var v5 = v4; break; } ++v4; } this.image_index[v5] += 1; if (this.image_index[v5] >= this.stand_images[v5].length) { this.image_index[v5] = 0; } } } } } if (v7 & maelstrom.ui.GameController.A) { v3[v2].onRelease(); } v4 = 0; while (v4 < this.radio_buttons.length) { if (this.radio_buttons[v4] == v3[v2]) { v2 = v4; break; } ++v4; } this.stand_images[v2][this.image_index[v2]]._visible = true; if (v2 != this.previous_button_index || this.image_index[v2] != this.previous_image_index) { this.select_se.start(); } this.previous_button_index = v2; this.previous_image_index = this.image_index[v2]; }; v1.LINKAGE_ID = '__Packages.seh.triangle.scene.title.SceneReplay'; v1.CONSTRUCTOR = seh.triangle.scene.title.SceneReplay; v1.IS_REGISTERED = Object.registerClass(seh.triangle.scene.title.SceneReplay.LINKAGE_ID, seh.triangle.scene.title.SceneReplay.CONSTRUCTOR); v1.BACK_BUTTON_INDEX = 5; v2.state = null; ASSetPropFlags(seh.triangle.scene.title.SceneReplay.prototype, null, 1); } #endinitclip } movieClip 1992 __Packages.seh.triangle.scene.title.detail.DSReplay { #initclip if (!_global.seh) { _global.seh = new Object(); } if (!_global.seh.triangle) { _global.seh.triangle = new Object(); } if (!_global.seh.triangle.scene) { _global.seh.triangle.scene = new Object(); } if (!_global.seh.triangle.scene.title) { _global.seh.triangle.scene.title = new Object(); } if (!_global.seh.triangle.scene.title.detail) { _global.seh.triangle.scene.title.detail = new Object(); } if (!_global.seh.triangle.scene.title.detail.DSReplay) { var v1 = function () { super(); if (this.parent == null) { throw new maelstrom.language.NullPointerException('parent == null'); } if (this.parent.getState() != maelstrom.scene.SceneState.STOPPED) { throw new maelstrom.scene.IllegalSceneStateException('parent.getState() != SceneState.STOPPEDD'); } this.parent.addSceneListener(this); mx.events.EventDispatcher.initialize(this); this.game_controller = (seh.triangle.Triangle.getInstance()).getGameController(); this.message_layer = this.createEmptyMovieClip('message_layer', this.getNextHighestDepth()); this.button_layer = this.createEmptyMovieClip('button_layer', this.getNextHighestDepth()); this.message_layer.attachMovie('Text_Window', 'text_window', this.message_layer.getNextHighestDepth(), {'_x': 20, '_y': 400}); this.select_se = new Sound(this); this.select_se.attachSound('SE_012'); this.decide_se = new Sound(this); this.decide_se.attachSound('SE_013'); this.radio_buttons = new Array(); this.radio_buttons.push(this.button_layer.attachMovie('Select_DS_01_English', 'Select_DS_01_English', this.button_layer.getNextHighestDepth(), {'_x': 30, '_y': 410})); this.radio_buttons.push(this.button_layer.attachMovie('Select_DS_02_English', 'Select_DS_02_English', this.button_layer.getNextHighestDepth(), {'_x': 30, '_y': 434})); this.radio_buttons.push(this.button_layer.attachMovie('Select_Back_English', 'Select_Back_English', this.button_layer.getNextHighestDepth(), {'_x': 30, '_y': 530})); this.radio_buttons[0].onRelease = mx.utils.Delegate.create(this, this.onSelect01ButtonReleased); this.radio_buttons[1].onRelease = mx.utils.Delegate.create(this, this.onSelect02ButtonReleased); this.radio_buttons[2].onRelease = mx.utils.Delegate.create(this, this.onBackButtonReleased); this.button_group = new seh.triangle.scene.detail.ButtonGroup(); var v3 = 0; while (v3 < this.radio_buttons.length) { this.radio_buttons[v3]._alpha = seh.triangle.scene.detail.ButtonGroup.TRANSLUCENT; this.radio_buttons[v3].enabled = false; ++v3; } this.button_group.addButton(this.radio_buttons[2]); this.button_group.setButtonSelected(this.radio_buttons[2], true); var v5 = (seh.triangle.Triangle.getInstance()).getSaveData(); if (v5.data.gallery_ds_02) { this.button_group.addButton(this.radio_buttons[1]); this.button_group.setButtonSelected(this.radio_buttons[1], true); } if (v5.data.gallery_ds_01) { this.button_group.addButton(this.radio_buttons[0]); this.button_group.setButtonSelected(this.radio_buttons[0], true); } var v4 = this.button_group.getSelectedButton(); v3 = 0; while (v3 < this.radio_buttons.length) { if (this.radio_buttons[v3] == v4) { this.previous_button_index = v3; break; } ++v3; } this.state = maelstrom.scene.SceneState.CREATED; }; seh.triangle.scene.title.detail.DSReplay = v1; seh.triangle.scene.title.detail.DSReplay extends MovieClip; var v2 = v1.prototype; _global.seh.triangle.scene.title.detail.DSReplay implements _global.maelstrom.scene.Scene; v2.toString = function () { return 'DSReplay'; }; v2.onSceneResumed = function (evt) { if (this.state == maelstrom.scene.SceneState.STOPPED) { this.terminate(); } }; v2.onSelect01ButtonReleased = function () { this.decide_se.start(); this.has_button01_released = true; this.stop(); this.startTransitionOut(); }; v2.onSelect02ButtonReleased = function () { this.decide_se.start(); this.has_button02_released = true; this.stop(); this.startTransitionOut(); }; v2.onBackButtonReleased = function () { this.decide_se.start(); this.stop(); this.startTransitionOut(); }; v2.allTransitionsInDone = function (evt) { if (this.state == maelstrom.scene.SceneState.CREATED) { this.play(); } else { if (this.state == maelstrom.scene.SceneState.STOPPED) { this.resume(); } } }; v2.allTransitionsOutDone = function (evt) { if (this.has_button01_released || this.has_button02_released) { if (this.has_button01_released) { var v2 = new seh.triangle.scene.event.scenarios.DSEvent001(); var v3 = seh.triangle.scene.event.EventScene(this._parent.attachMovie(seh.triangle.scene.event.EventScene.LINKAGE_ID, 'EventScene', this._parent.getNextHighestDepth(), {'parent': this, 'scenario': v2.scenario})); v3.startTransitionIn(); } else { if (this.has_button02_released) { var v2 = new seh.triangle.scene.event.scenarios.DSEvent002(); var v3 = seh.triangle.scene.event.EventScene(this._parent.attachMovie(seh.triangle.scene.event.EventScene.LINKAGE_ID, 'EventScene', this._parent.getNextHighestDepth(), {'parent': this, 'scenario': v2.scenario})); v3.startTransitionIn(); } } } else { (mx.transitions.TransitionManager(evt.target)).removeEventListener('allTransitionsOutDone', this); this.parent.startTransitionIn(); } }; v2.getParent = function () { return this.parent; }; v2.getState = function () { return this.state; }; v2.addSceneListener = function (scl) { if (scl == null) { throw new maelstrom.language.NullPointerException('scl == null'); } this.addEventListener('onScenePlayed', scl); this.addEventListener('onSceneStopped', scl); this.addEventListener('onSceneResumed', scl); this.addEventListener('onSceneUpdated', scl); this.addEventListener('onSceneTerminated', scl); }; v2.removeSceneListener = function (scl) { if (scl == null) { throw new maelstrom.language.NullPointerException('scl == null'); } this.removeEventListener('onScenePlayed', scl); this.removeEventListener('onSceneStopped', scl); this.removeEventListener('onSceneResumed', scl); this.removeEventListener('onSceneUpdated', scl); this.removeEventListener('onSceneTerminated', scl); }; v2.play = function () { if (this.state != maelstrom.scene.SceneState.CREATED) { throw new maelstrom.scene.IllegalSceneStateException('state != SceneState.CREATED'); } this.state = maelstrom.scene.SceneState.PLAYING; this.dispatchEvent({'type': 'onScenePlayed'}); var v3 = this.button_group.getButtons(); var v2 = 0; while (v2 < v3.length) { v3[v2].enabled = true; ++v2; } this.onEnterFrame = this.internalMain; }; v2.stop = function () { if (this.state != maelstrom.scene.SceneState.PLAYING) { throw new maelstrom.scene.IllegalSceneStateException('state != SceneState.PLAYING'); } this.state = maelstrom.scene.SceneState.STOPPED; this.dispatchEvent({'type': 'onSceneStopped'}); var v3 = this.button_group.getButtons(); var v2 = 0; while (v2 < v3.length) { v3[v2].enabled = false; ++v2; } this.onEnterFrame = null; }; v2.resume = function () { if (this.state != maelstrom.scene.SceneState.STOPPED) { throw new maelstrom.scene.IllegalSceneStateException('state != SceneState.STOPPED'); } this.state = maelstrom.scene.SceneState.PLAYING; this.dispatchEvent({'type': 'onSceneResumed'}); var v3 = this.button_group.getButtons(); var v2 = 0; while (v2 < v3.length) { v3[v2].enabled = true; ++v2; } this.has_button02_released = false; this.has_button01_released = this.has_button02_released; this.onEnterFrame = this.internalMain; }; v2.update = function () { throw new maelstrom.language.NotImplementedException('seh.triangle.scene.title.SceneReplay::update()'); }; v2.terminate = function () { if (this.state == null) { throw new maelstrom.scene.IllegalSceneStateException('state == null'); } this.state = maelstrom.scene.SceneState.TERMINATED; this.dispatchEvent({'type': 'onSceneTerminated'}); this.removeMovieClip(); }; v2.startTransitionIn = function () { var v2 = mx.transitions.TransitionManager.start(this, {'type': maelstrom.scene.transition.ContentCover, 'direction': mx.transitions.Transition.IN, 'duration': 0.5, 'easing': mx.transitions.easing.None.easeNone}); return v2.__get__manager(); }; v2.startTransitionOut = function () { var v2 = mx.transitions.TransitionManager.start(this, {'type': maelstrom.scene.transition.ContentCover, 'direction': mx.transitions.Transition.OUT, 'duration': 0.5, 'easing': mx.transitions.easing.None.easeNone}); return v2.__get__manager(); }; v2.internalMain = function () { var v4 = this.button_group.getButtons(); var v5 = this.button_group.getSelectedButton(); var v3; var v2 = 0; while (v2 < v4.length) { if (v4[v2] == v5) { v3 = v2; break; } ++v2; } var v6 = this.game_controller.getPulseData(); if (v6 == maelstrom.ui.GameController.UP) { ++v3; if (v3 >= v4.length) { v3 = v4.length - 1; } this.button_group.setButtonSelected(v4[v3], true); } else { if (v6 == maelstrom.ui.GameController.DOWN) { --v3; if (v3 < 0) { v3 = 0; } this.button_group.setButtonSelected(v4[v3], true); } } if (v6 & maelstrom.ui.GameController.A) { v4[v3].onRelease(); v5 = this.button_group.getSelectedButton(); } v2 = 0; while (v2 < this.radio_buttons.length) { if (this.radio_buttons[v2] == v4[v3]) { v3 = v2; break; } ++v2; } if (v3 != this.previous_button_index) { this.select_se.start(); } this.previous_button_index = v3; }; v1.LINKAGE_ID = '__Packages.seh.triangle.scene.title.detail.DSReplay'; v1.CONSTRUCTOR = seh.triangle.scene.title.detail.DSReplay; v1.IS_REGISTERED = Object.registerClass(seh.triangle.scene.title.detail.DSReplay.LINKAGE_ID, seh.triangle.scene.title.detail.DSReplay.CONSTRUCTOR); v2.state = null; v2.has_button01_released = false; v2.has_button02_released = false; ASSetPropFlags(seh.triangle.scene.title.detail.DSReplay.prototype, null, 1); } #endinitclip } movieClip 1993 __Packages.seh.triangle.scene.title.detail.PremiumReplay { #initclip if (!_global.seh) { _global.seh = new Object(); } if (!_global.seh.triangle) { _global.seh.triangle = new Object(); } if (!_global.seh.triangle.scene) { _global.seh.triangle.scene = new Object(); } if (!_global.seh.triangle.scene.title) { _global.seh.triangle.scene.title = new Object(); } if (!_global.seh.triangle.scene.title.detail) { _global.seh.triangle.scene.title.detail = new Object(); } if (!_global.seh.triangle.scene.title.detail.PremiumReplay) { var v1 = function () { super(); if (this.parent == null) { throw new maelstrom.language.NullPointerException('parent == null'); } if (this.parent.getState() != maelstrom.scene.SceneState.STOPPED) { throw new maelstrom.scene.IllegalSceneStateException('parent.getState() != SceneState.STOPPEDD'); } this.parent.addSceneListener(this); mx.events.EventDispatcher.initialize(this); this.game_controller = (seh.triangle.Triangle.getInstance()).getGameController(); this.message_layer = this.createEmptyMovieClip('message_layer', this.getNextHighestDepth()); this.button_layer = this.createEmptyMovieClip('button_layer', this.getNextHighestDepth()); this.message_layer.attachMovie('Text_Window', 'text_window', this.message_layer.getNextHighestDepth(), {'_x': 20, '_y': 400}); this.select_se = new Sound(this); this.select_se.attachSound('SE_012'); this.decide_se = new Sound(this); this.decide_se.attachSound('SE_013'); this.radio_buttons = new Array(); this.radio_buttons.push(this.button_layer.attachMovie('Select_Premium_07_English', 'Select_Premium_07_English', this.button_layer.getNextHighestDepth(), {'_x': 30, '_y': 410})); this.radio_buttons.push(this.button_layer.attachMovie('Select_Premium_08_English', 'Select_Premium_08_English', this.button_layer.getNextHighestDepth(), {'_x': 30, '_y': 458})); this.radio_buttons.push(this.button_layer.attachMovie('Select_Back_English', 'Select_Back_English', this.button_layer.getNextHighestDepth(), {'_x': 30, '_y': 530})); this.radio_buttons[0].onRelease = mx.utils.Delegate.create(this, this.onSelect07ButtonReleased); this.radio_buttons[1].onRelease = mx.utils.Delegate.create(this, this.onSelect08ButtonReleased); this.radio_buttons[2].onRelease = mx.utils.Delegate.create(this, this.onBackButtonReleased); this.button_group = new seh.triangle.scene.detail.ButtonGroup(); var v3 = 0; while (v3 < this.radio_buttons.length) { this.radio_buttons[v3]._alpha = seh.triangle.scene.detail.ButtonGroup.TRANSLUCENT; this.radio_buttons[v3].enabled = false; ++v3; } this.button_group.addButton(this.radio_buttons[2]); this.button_group.setButtonSelected(this.radio_buttons[2], true); var v5 = (seh.triangle.Triangle.getInstance()).getSaveData(); if (v5.data.gallery_premium_02) { this.button_group.addButton(this.radio_buttons[1]); this.button_group.setButtonSelected(this.radio_buttons[1], true); } if (v5.data.gallery_premium_01) { this.button_group.addButton(this.radio_buttons[0]); this.button_group.setButtonSelected(this.radio_buttons[0], true); } var v4 = this.button_group.getSelectedButton(); v3 = 0; while (v3 < this.radio_buttons.length) { if (this.radio_buttons[v3] == v4) { this.previous_button_index = v3; break; } ++v3; } this.state = maelstrom.scene.SceneState.CREATED; }; seh.triangle.scene.title.detail.PremiumReplay = v1; seh.triangle.scene.title.detail.PremiumReplay extends MovieClip; var v2 = v1.prototype; _global.seh.triangle.scene.title.detail.PremiumReplay implements _global.maelstrom.scene.Scene; v2.toString = function () { return 'PremiumReplay'; }; v2.onSceneResumed = function (evt) { if (this.state == maelstrom.scene.SceneState.STOPPED) { this.terminate(); } }; v2.onSelect07ButtonReleased = function () { this.decide_se.start(); this.has_button07_released = true; this.stop(); this.startTransitionOut(); }; v2.onSelect08ButtonReleased = function () { this.decide_se.start(); this.has_button08_released = true; this.stop(); this.startTransitionOut(); }; v2.onBackButtonReleased = function () { this.decide_se.start(); this.stop(); this.startTransitionOut(); }; v2.allTransitionsInDone = function (evt) { if (this.state == maelstrom.scene.SceneState.CREATED) { this.play(); } else { if (this.state == maelstrom.scene.SceneState.STOPPED) { this.resume(); } } }; v2.allTransitionsOutDone = function (evt) { if (this.has_button07_released || this.has_button08_released) { if (this.has_button07_released) { var v3 = new seh.triangle.scene.event.scenarios.PremiumEvent001(); var v2 = seh.triangle.scene.event.EventScene(this._parent.attachMovie(seh.triangle.scene.event.EventScene.LINKAGE_ID, 'EventScene', this._parent.getNextHighestDepth(), {'parent': this, 'scenario': v3.scenario})); v2.startTransitionIn(); } else { if (this.has_button08_released) { var v3 = new seh.triangle.scene.event.scenarios.PremiumEvent002(); var v2 = seh.triangle.scene.event.EventScene(this._parent.attachMovie(seh.triangle.scene.event.EventScene.LINKAGE_ID, 'EventScene', this._parent.getNextHighestDepth(), {'parent': this, 'scenario': v3.scenario})); v2.startTransitionIn(); } } } else { (mx.transitions.TransitionManager(evt.target)).removeEventListener('allTransitionsOutDone', this); this.parent.startTransitionIn(); } }; v2.getParent = function () { return this.parent; }; v2.getState = function () { return this.state; }; v2.addSceneListener = function (scl) { if (scl == null) { throw new maelstrom.language.NullPointerException('scl == null'); } this.addEventListener('onScenePlayed', scl); this.addEventListener('onSceneStopped', scl); this.addEventListener('onSceneResumed', scl); this.addEventListener('onSceneUpdated', scl); this.addEventListener('onSceneTerminated', scl); }; v2.removeSceneListener = function (scl) { if (scl == null) { throw new maelstrom.language.NullPointerException('scl == null'); } this.removeEventListener('onScenePlayed', scl); this.removeEventListener('onSceneStopped', scl); this.removeEventListener('onSceneResumed', scl); this.removeEventListener('onSceneUpdated', scl); this.removeEventListener('onSceneTerminated', scl); }; v2.play = function () { if (this.state != maelstrom.scene.SceneState.CREATED) { throw new maelstrom.scene.IllegalSceneStateException('state != SceneState.CREATED'); } this.state = maelstrom.scene.SceneState.PLAYING; this.dispatchEvent({'type': 'onScenePlayed'}); var v3 = this.button_group.getButtons(); var v2 = 0; while (v2 < v3.length) { v3[v2].enabled = true; ++v2; } this.onEnterFrame = this.internalMain; }; v2.stop = function () { if (this.state != maelstrom.scene.SceneState.PLAYING) { throw new maelstrom.scene.IllegalSceneStateException('state != SceneState.PLAYING'); } this.state = maelstrom.scene.SceneState.STOPPED; this.dispatchEvent({'type': 'onSceneStopped'}); var v3 = this.button_group.getButtons(); var v2 = 0; while (v2 < v3.length) { v3[v2].enabled = false; ++v2; } this.onEnterFrame = null; }; v2.resume = function () { if (this.state != maelstrom.scene.SceneState.STOPPED) { throw new maelstrom.scene.IllegalSceneStateException('state != SceneState.STOPPED'); } this.state = maelstrom.scene.SceneState.PLAYING; this.dispatchEvent({'type': 'onSceneResumed'}); var v3 = this.button_group.getButtons(); var v2 = 0; while (v2 < v3.length) { v3[v2].enabled = true; ++v2; } this.has_button08_released = false; this.has_button07_released = this.has_button08_released; this.onEnterFrame = this.internalMain; }; v2.update = function () { throw new maelstrom.language.NotImplementedException('seh.triangle.scene.title.SceneReplay::update()'); }; v2.terminate = function () { if (this.state == null) { throw new maelstrom.scene.IllegalSceneStateException('state == null'); } this.state = maelstrom.scene.SceneState.TERMINATED; this.dispatchEvent({'type': 'onSceneTerminated'}); this.removeMovieClip(); }; v2.startTransitionIn = function () { var v2 = mx.transitions.TransitionManager.start(this, {'type': maelstrom.scene.transition.ContentCover, 'direction': mx.transitions.Transition.IN, 'duration': 0.5, 'easing': mx.transitions.easing.None.easeNone}); return v2.__get__manager(); }; v2.startTransitionOut = function () { var v2 = mx.transitions.TransitionManager.start(this, {'type': maelstrom.scene.transition.ContentCover, 'direction': mx.transitions.Transition.OUT, 'duration': 0.5, 'easing': mx.transitions.easing.None.easeNone}); return v2.__get__manager(); }; v2.internalMain = function () { var v4 = this.button_group.getButtons(); var v5 = this.button_group.getSelectedButton(); var v3; var v2 = 0; while (v2 < v4.length) { if (v4[v2] == v5) { v3 = v2; break; } ++v2; } var v6 = this.game_controller.getPulseData(); if (v6 == maelstrom.ui.GameController.UP) { ++v3; if (v3 >= v4.length) { v3 = v4.length - 1; } this.button_group.setButtonSelected(v4[v3], true); } else { if (v6 == maelstrom.ui.GameController.DOWN) { --v3; if (v3 < 0) { v3 = 0; } this.button_group.setButtonSelected(v4[v3], true); } } if (v6 & maelstrom.ui.GameController.A) { v4[v3].onRelease(); v5 = this.button_group.getSelectedButton(); } v2 = 0; while (v2 < this.radio_buttons.length) { if (this.radio_buttons[v2] == v4[v3]) { v3 = v2; break; } ++v2; } if (v3 != this.previous_button_index) { this.select_se.start(); } this.previous_button_index = v3; }; v1.LINKAGE_ID = '__Packages.seh.triangle.scene.title.detail.PremiumReplay'; v1.CONSTRUCTOR = seh.triangle.scene.title.detail.PremiumReplay; v1.IS_REGISTERED = Object.registerClass(seh.triangle.scene.title.detail.PremiumReplay.LINKAGE_ID, seh.triangle.scene.title.detail.PremiumReplay.CONSTRUCTOR); v2.state = null; v2.has_button07_released = false; v2.has_button08_released = false; ASSetPropFlags(seh.triangle.scene.title.detail.PremiumReplay.prototype, null, 1); } #endinitclip } movieClip 1994 __Packages.maelstrom.ui.KeyCode { #initclip if (!_global.maelstrom) { _global.maelstrom = new Object(); } if (!_global.maelstrom.ui) { _global.maelstrom.ui = new Object(); } if (!_global.maelstrom.ui.KeyCode) { var v1 = function () {}; maelstrom.ui.KeyCode = v1; var v2 = v1.prototype; v1.STANDARD0 = 48; v1.STANDARD1 = 49; v1.STANDARD2 = 50; v1.STANDARD3 = 51; v1.STANDARD4 = 52; v1.STANDARD5 = 53; v1.STANDARD6 = 54; v1.STANDARD7 = 55; v1.STANDARD8 = 56; v1.STANDARD9 = 57; v1.A = 65; v1.B = 66; v1.C = 67; v1.D = 68; v1.E = 69; v1.F = 70; v1.G = 71; v1.H = 72; v1.I = 73; v1.J = 74; v1.K = 75; v1.L = 76; v1.M = 77; v1.N = 78; v1.O = 79; v1.P = 80; v1.Q = 81; v1.R = 82; v1.S = 83; v1.T = 84; v1.U = 85; v1.V = 86; v1.W = 87; v1.X = 88; v1.Y = 89; v1.Z = 90; v1.NUMPAD0 = 96; v1.NUMPAD1 = 97; v1.NUMPAD2 = 98; v1.NUMPAD3 = 99; v1.NUMPAD4 = 100; v1.NUMPAD5 = 101; v1.NUMPAD6 = 102; v1.NUMPAD7 = 103; v1.NUMPAD8 = 104; v1.NUMPAD9 = 105; v1.MULTIPLY = 106; v1.ADD = 107; v1.SUBTRACT = 109; v1.DECIMAL = 110; v1.DIVIDE = 111; v1.F1 = 112; v1.F2 = 113; v1.F3 = 114; v1.F4 = 115; v1.F5 = 116; v1.F6 = 117; v1.F7 = 118; v1.F8 = 119; v1.F9 = 120; v1.F11 = 122; v1.F12 = 123; v1.F13 = 124; v1.F14 = 125; v1.F15 = 126; v1.BACK_SPACE = 8; v1.TAB = 9; v1.ENTER = 13; v1.SHIFT = 16; v1.CONTROL = 17; v1.CAPS_LOCK = 20; v1.ESCAPE = 27; v1.SPACE = 32; v1.PAGE_UP = 33; v1.PAGE_DOWN = 34; v1.END = 35; v1.HOME = 36; v1.LEFT = 37; v1.UP = 38; v1.RIGHT = 39; v1.DOWN = 40; v1.INSERT = 45; v1.DELETE = 46; v1.NUM_LOCK = 144; v1.SCROLL_LOCK = 145; v1.PAUSE = 19; v1.COLON = 186; v1.SEMICOLON = 187; v1.PLUS = 187; v1.COMMA = 188; v1.MINUS = 189; v1.EQUALS = 189; v1.PERIOD = 190; v1.SLASH = 191; v1.AT = 192; v1.OPEN_BRACKET = 219; v1.BACK_SLASH = 220; v1.CLOSE_BRACKET = 221; v1.CIRCUMFLEX = 222; v1.UNDERSCORE = 226; ASSetPropFlags(maelstrom.ui.KeyCode.prototype, null, 1); } #endinitclip }




http://swfchan.com/44/215691/info.shtml
Created: 16/12 -2018 03:47:36 Last modified: 16/12 -2018 03:47:36 Server time: 04/05 -2024 09:11:09