Section 1
//apronMC1_33 (Ecard_fla.apronMC1_33)
package Ecard_fla {
import flash.display.*;
public dynamic class apronMC1_33 extends MovieClip {
public var hitAreaMC:MovieClip;
public function apronMC1_33(){
addFrameScript(0, frame1, 39, frame40);
}
function frame1(){
this.stop();
}
function frame40(){
this.stop();
}
}
}//package Ecard_fla
Section 2
//armLMC1_26 (Ecard_fla.armLMC1_26)
package Ecard_fla {
import flash.display.*;
public dynamic class armLMC1_26 extends MovieClip {
public var dressMC:MovieClip;
}
}//package Ecard_fla
Section 3
//armRMC1_24 (Ecard_fla.armRMC1_24)
package Ecard_fla {
import flash.display.*;
public dynamic class armRMC1_24 extends MovieClip {
public var dressMC:MovieClip;
}
}//package Ecard_fla
Section 4
//bodyLMC1_80 (Ecard_fla.bodyLMC1_80)
package Ecard_fla {
import flash.display.*;
public dynamic class bodyLMC1_80 extends MovieClip {
public var legLMC:MovieClip;
public var hipMC:MovieClip;
public var pantsMC:MovieClip;
public var legRMC:MovieClip;
public var stockingMC:MovieClip;
public var hitAreaMC1:MovieClip;
public var hitAreaMC2:MovieClip;
public function bodyLMC1_80(){
addFrameScript(13, frame14, 42, frame43);
}
function frame14(){
this.gotoAndStop(1);
}
function frame43(){
this.gotoAndStop(1);
}
}
}//package Ecard_fla
Section 5
//bodyMC2_112 (Ecard_fla.bodyMC2_112)
package Ecard_fla {
import flash.display.*;
public dynamic class bodyMC2_112 extends MovieClip {
public var pieMC:MovieClip;
public var stockingMC:MovieClip;
public function bodyMC2_112(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package Ecard_fla
Section 6
//bodyUMC1_74 (Ecard_fla.bodyUMC1_74)
package Ecard_fla {
import flash.display.*;
public dynamic class bodyUMC1_74 extends MovieClip {
public var hitAreaMC:MovieClip;
public var headMC:MovieClip;
public var brassiereMC:MovieClip;
public function bodyUMC1_74(){
addFrameScript(13, frame14, 42, frame43);
}
function frame14(){
this.gotoAndStop(1);
}
function frame43(){
this.gotoAndStop(1);
}
}
}//package Ecard_fla
Section 7
//brassiereMC1_31 (Ecard_fla.brassiereMC1_31)
package Ecard_fla {
import flash.display.*;
public dynamic class brassiereMC1_31 extends MovieClip {
public var hitAreaMC:MovieClip;
public function brassiereMC1_31(){
addFrameScript(0, frame1, 39, frame40);
}
function frame1(){
this.stop();
}
function frame40(){
this.stop();
}
}
}//package Ecard_fla
Section 8
//brassiereMC2_79 (Ecard_fla.brassiereMC2_79)
package Ecard_fla {
import flash.display.*;
public dynamic class brassiereMC2_79 extends MovieClip {
public var hitAreaMC:MovieClip;
public function brassiereMC2_79(){
addFrameScript(0, frame1, 39, frame40);
}
function frame1(){
this.stop();
}
function frame40(){
this.stop();
}
}
}//package Ecard_fla
Section 9
//broachMC1_34 (Ecard_fla.broachMC1_34)
package Ecard_fla {
import flash.display.*;
public dynamic class broachMC1_34 extends MovieClip {
public var hitAreaMC:MovieClip;
public function broachMC1_34(){
addFrameScript(0, frame1, 39, frame40);
}
function frame1(){
this.stop();
}
function frame40(){
this.stop();
}
}
}//package Ecard_fla
Section 10
//BSselectWindowMC_54 (Ecard_fla.BSselectWindowMC_54)
package Ecard_fla {
import flash.display.*;
import flash.text.*;
public dynamic class BSselectWindowMC_54 extends MovieClip {
public var cancelBTN:SimpleButton;
public var mesTXT:TextField;
public var okBTN:SimpleButton;
}
}//package Ecard_fla
Section 11
//cardAllMC_51 (Ecard_fla.cardAllMC_51)
package Ecard_fla {
import flash.display.*;
public dynamic class cardAllMC_51 extends MovieClip {
public var cardMC2:MovieClip;
public var cardMC4:MovieClip;
public var cardMC1:MovieClip;
public var cardMC5:MovieClip;
public var cardMC3:MovieClip;
public function cardAllMC_51(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package Ecard_fla
Section 12
//cardSetRMC_18 (Ecard_fla.cardSetRMC_18)
package Ecard_fla {
import flash.display.*;
public dynamic class cardSetRMC_18 extends MovieClip {
public var hitAreaMC:MovieClip;
}
}//package Ecard_fla
Section 13
//cardSlowMC_50 (Ecard_fla.cardSlowMC_50)
package Ecard_fla {
import flash.display.*;
public dynamic class cardSlowMC_50 extends MovieClip {
public var cardMC:MovieClip;
public function cardSlowMC_50(){
addFrameScript(0, frame1, 29, frame30, 44, frame45);
}
function frame1(){
this.stop();
}
function frame30(){
this.stop();
}
function frame45(){
this.stop();
}
}
}//package Ecard_fla
Section 14
//charMC_21 (Ecard_fla.charMC_21)
package Ecard_fla {
import flash.display.*;
public dynamic class charMC_21 extends MovieClip {
public var charMC:MovieClip;
public function charMC_21(){
addFrameScript(22, frame23, 47, frame48, 83, frame84);
}
function frame84(){
this.gotoAndStop(1);
}
function frame23(){
this.gotoAndStop(1);
}
function frame48(){
this.gotoAndStop(1);
}
}
}//package Ecard_fla
Section 15
//dressMC1_32 (Ecard_fla.dressMC1_32)
package Ecard_fla {
import flash.display.*;
public dynamic class dressMC1_32 extends MovieClip {
public var hitAreaMC:MovieClip;
public function dressMC1_32(){
addFrameScript(0, frame1, 39, frame40);
}
function frame1(){
this.stop();
}
function frame40(){
this.stop();
}
}
}//package Ecard_fla
Section 16
//dressMC2_49 (Ecard_fla.dressMC2_49)
package Ecard_fla {
import flash.display.*;
public dynamic class dressMC2_49 extends MovieClip {
public function dressMC2_49(){
addFrameScript(0, frame1, 39, frame40);
}
function frame1(){
this.stop();
}
function frame40(){
this.stop();
}
}
}//package Ecard_fla
Section 17
//dressMC3_27 (Ecard_fla.dressMC3_27)
package Ecard_fla {
import flash.display.*;
public dynamic class dressMC3_27 extends MovieClip {
public function dressMC3_27(){
addFrameScript(0, frame1, 39, frame40);
}
function frame1(){
this.stop();
}
function frame40(){
this.stop();
}
}
}//package Ecard_fla
Section 18
//dressMC4_25 (Ecard_fla.dressMC4_25)
package Ecard_fla {
import flash.display.*;
public dynamic class dressMC4_25 extends MovieClip {
public function dressMC4_25(){
addFrameScript(0, frame1, 39, frame40);
}
function frame1(){
this.stop();
}
function frame40(){
this.stop();
}
}
}//package Ecard_fla
Section 19
//EcardMC_16 (Ecard_fla.EcardMC_16)
package Ecard_fla {
import flash.display.*;
public dynamic class EcardMC_16 extends MovieClip {
public function EcardMC_16(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package Ecard_fla
Section 20
//enemyMC_17 (Ecard_fla.enemyMC_17)
package Ecard_fla {
import flash.display.*;
public dynamic class enemyMC_17 extends MovieClip {
public var fukidasiMC:MovieClip;
public var cardMC2:MovieClip;
public var cardMC4:MovieClip;
public var cardMC1:MovieClip;
public var cardSetLMC:MovieClip;
public var cardMC5:MovieClip;
public var charMC:MovieClip;
public var cardSlowMC:MovieClip;
public var cardMC3:MovieClip;
public var cardAllMC:MovieClip;
public var cardSetRMC:MovieClip;
public function enemyMC_17(){
addFrameScript(0, frame1, 49, frame50);
}
function frame1(){
this.stop();
}
function frame50(){
this.stop();
}
}
}//package Ecard_fla
Section 21
//eroMC1_71 (Ecard_fla.eroMC1_71)
package Ecard_fla {
import flash.display.*;
import flash.text.*;
public dynamic class eroMC1_71 extends MovieClip {
public var fukidasiMC:MovieClip;
public var iconMC2:MovieClip;
public var iconMC3:MovieClip;
public var handMC:MovieClip;
public var iconMC4:MovieClip;
public var iconMC6:MovieClip;
public var charMC:MovieClip;
public var iconMC5:MovieClip;
public var stainMC:MovieClip;
public var iconMC1:MovieClip;
public var goldTXT:TextField;
public function eroMC1_71(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package Ecard_fla
Section 22
//eroMC2_110 (Ecard_fla.eroMC2_110)
package Ecard_fla {
import flash.display.*;
public dynamic class eroMC2_110 extends MovieClip {
public var returnBTN:SimpleButton;
public var fukidasiMC:MovieClip;
public var charMC:MovieClip;
public var ecstasyGaugeMC:MovieClip;
public var endBTN:SimpleButton;
public var screenWTMC:MovieClip;
public var insertBTNMC:MovieClip;
public var sakiMC:MovieClip;
public function eroMC2_110(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package Ecard_fla
Section 23
//eyeGlassesMC1_38 (Ecard_fla.eyeGlassesMC1_38)
package Ecard_fla {
import flash.display.*;
public dynamic class eyeGlassesMC1_38 extends MovieClip {
public var hitAreaMC:MovieClip;
public function eyeGlassesMC1_38(){
addFrameScript(0, frame1, 39, frame40);
}
function frame1(){
this.stop();
}
function frame40(){
this.stop();
}
}
}//package Ecard_fla
Section 24
//eyeGlassesMC2_78 (Ecard_fla.eyeGlassesMC2_78)
package Ecard_fla {
import flash.display.*;
public dynamic class eyeGlassesMC2_78 extends MovieClip {
public var hitAreaMC:MovieClip;
public function eyeGlassesMC2_78(){
addFrameScript(0, frame1, 39, frame40);
}
function frame1(){
this.stop();
}
function frame40(){
this.stop();
}
}
}//package Ecard_fla
Section 25
//fukidasiMC1_52 (Ecard_fla.fukidasiMC1_52)
package Ecard_fla {
import flash.display.*;
public dynamic class fukidasiMC1_52 extends MovieClip {
public function fukidasiMC1_52(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package Ecard_fla
Section 26
//fukidasiMC2_109 (Ecard_fla.fukidasiMC2_109)
package Ecard_fla {
import flash.display.*;
public dynamic class fukidasiMC2_109 extends MovieClip {
public function fukidasiMC2_109(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package Ecard_fla
Section 27
//fukidasiMC3_125 (Ecard_fla.fukidasiMC3_125)
package Ecard_fla {
import flash.display.*;
public dynamic class fukidasiMC3_125 extends MovieClip {
public function fukidasiMC3_125(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package Ecard_fla
Section 28
//gameMC_53 (Ecard_fla.gameMC_53)
package Ecard_fla {
import flash.display.*;
import flash.text.*;
public dynamic class gameMC_53 extends MovieClip {
public var roundTXT:TextField;
public var cardMC2:MovieClip;
public var cardMC4:MovieClip;
public var cardMC1:MovieClip;
public var cardMC5:MovieClip;
public var cardMC3:MovieClip;
public var goldTXT:TextField;
public function gameMC_53(){
addFrameScript(0, frame1, 33, frame34, 36, frame37, 39, frame40, 42, frame43, 45, frame46, 49, frame50);
}
function frame1(){
this.stop();
}
function frame37(){
this.cardMC2.gotoAndStop(4);
}
function frame34(){
}
function frame40(){
this.cardMC3.gotoAndStop(4);
}
function frame43(){
this.cardMC4.gotoAndStop(4);
}
function frame46(){
this.cardMC5.gotoAndStop(4);
}
function frame50(){
this.stop();
this.cardMC2.gotoAndStop(4);
this.cardMC3.gotoAndStop(4);
this.cardMC4.gotoAndStop(4);
this.cardMC5.gotoAndStop(4);
}
}
}//package Ecard_fla
Section 29
//handMC1_97 (Ecard_fla.handMC1_97)
package Ecard_fla {
import flash.display.*;
public dynamic class handMC1_97 extends MovieClip {
public var itemMC:MovieClip;
public function handMC1_97(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package Ecard_fla
Section 30
//handRMC1_48 (Ecard_fla.handRMC1_48)
package Ecard_fla {
import flash.display.*;
public dynamic class handRMC1_48 extends MovieClip {
public var dressMC:MovieClip;
}
}//package Ecard_fla
Section 31
//headMC1_35 (Ecard_fla.headMC1_35)
package Ecard_fla {
import flash.display.*;
public dynamic class headMC1_35 extends MovieClip {
public var katyushaMC:MovieClip;
public var glassesMC:MovieClip;
public var faceMC:MovieClip;
public function headMC1_35(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package Ecard_fla
Section 32
//headMC2_76 (Ecard_fla.headMC2_76)
package Ecard_fla {
import flash.display.*;
public dynamic class headMC2_76 extends MovieClip {
public var katyushaMC:MovieClip;
public var glassesMC:MovieClip;
public function headMC2_76(){
addFrameScript(58, frame59, 69, frame70, 98, frame99);
}
function frame70(){
this.gotoAndPlay("P1");
}
function frame99(){
this.gotoAndPlay("P1");
}
function frame59(){
this.gotoAndPlay("P1");
}
}
}//package Ecard_fla
Section 33
//headMC3_119 (Ecard_fla.headMC3_119)
package Ecard_fla {
import flash.display.*;
public dynamic class headMC3_119 extends MovieClip {
public var katyushaMC:MovieClip;
public var glassesMC:MovieClip;
public function headMC3_119(){
addFrameScript(58, frame59, 72, frame73, 95, frame96, 230, frame231);
}
function frame73(){
this.gotoAndPlay("P1");
}
function frame96(){
this.gotoAndPlay("P1");
}
function frame231(){
this.gotoAndPlay("P2");
}
function frame59(){
this.gotoAndPlay("P1");
}
}
}//package Ecard_fla
Section 34
//hipMC_81 (Ecard_fla.hipMC_81)
package Ecard_fla {
import flash.display.*;
public dynamic class hipMC_81 extends MovieClip {
public var juiceMC:MovieClip;
public function hipMC_81(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package Ecard_fla
Section 35
//IconMC1_hand_92 (Ecard_fla.IconMC1_hand_92)
package Ecard_fla {
import flash.display.*;
public dynamic class IconMC1_hand_92 extends MovieClip {
public function IconMC1_hand_92(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package Ecard_fla
Section 36
//IconMC10_vibrator_94 (Ecard_fla.IconMC10_vibrator_94)
package Ecard_fla {
import flash.display.*;
public dynamic class IconMC10_vibrator_94 extends MovieClip {
public function IconMC10_vibrator_94(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package Ecard_fla
Section 37
//IconMC3_brush_91 (Ecard_fla.IconMC3_brush_91)
package Ecard_fla {
import flash.display.*;
public dynamic class IconMC3_brush_91 extends MovieClip {
public function IconMC3_brush_91(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package Ecard_fla
Section 38
//IconMC6_rotor_93 (Ecard_fla.IconMC6_rotor_93)
package Ecard_fla {
import flash.display.*;
public dynamic class IconMC6_rotor_93 extends MovieClip {
public function IconMC6_rotor_93(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package Ecard_fla
Section 39
//IconMC8_tinko_96 (Ecard_fla.IconMC8_tinko_96)
package Ecard_fla {
import flash.display.*;
public dynamic class IconMC8_tinko_96 extends MovieClip {
public function IconMC8_tinko_96(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package Ecard_fla
Section 40
//IconMC9_korgi_95 (Ecard_fla.IconMC9_korgi_95)
package Ecard_fla {
import flash.display.*;
public dynamic class IconMC9_korgi_95 extends MovieClip {
public function IconMC9_korgi_95(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package Ecard_fla
Section 41
//insertBTNMC_121 (Ecard_fla.insertBTNMC_121)
package Ecard_fla {
import flash.display.*;
public dynamic class insertBTNMC_121 extends MovieClip {
public function insertBTNMC_121(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package Ecard_fla
Section 42
//juiceMC1_83 (Ecard_fla.juiceMC1_83)
package Ecard_fla {
import flash.display.*;
public dynamic class juiceMC1_83 extends MovieClip {
public function juiceMC1_83(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package Ecard_fla
Section 43
//katyushaMC1_36 (Ecard_fla.katyushaMC1_36)
package Ecard_fla {
import flash.display.*;
public dynamic class katyushaMC1_36 extends MovieClip {
public var hitAreaMC:MovieClip;
public function katyushaMC1_36(){
addFrameScript(0, frame1, 39, frame40);
}
function frame1(){
this.stop();
}
function frame40(){
this.stop();
}
}
}//package Ecard_fla
Section 44
//katyushaMC2_77 (Ecard_fla.katyushaMC2_77)
package Ecard_fla {
import flash.display.*;
public dynamic class katyushaMC2_77 extends MovieClip {
public var hitAreaMC:MovieClip;
public function katyushaMC2_77(){
addFrameScript(0, frame1, 39, frame40);
}
function frame1(){
this.stop();
}
function frame40(){
this.stop();
}
}
}//package Ecard_fla
Section 45
//legLMC1_87 (Ecard_fla.legLMC1_87)
package Ecard_fla {
import flash.display.*;
public dynamic class legLMC1_87 extends MovieClip {
public var stockingMC:MovieClip;
public function legLMC1_87(){
addFrameScript(0, frame1, 39, frame40);
}
function frame1(){
this.stop();
}
function frame40(){
this.stop();
}
}
}//package Ecard_fla
Section 46
//legMC1_115 (Ecard_fla.legMC1_115)
package Ecard_fla {
import flash.display.*;
public dynamic class legMC1_115 extends MovieClip {
public var stockingMC:MovieClip;
public function legMC1_115(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package Ecard_fla
Section 47
//legRMC1_85 (Ecard_fla.legRMC1_85)
package Ecard_fla {
import flash.display.*;
public dynamic class legRMC1_85 extends MovieClip {
public var stockingMC:MovieClip;
public function legRMC1_85(){
addFrameScript(0, frame1, 39, frame40);
}
function frame1(){
this.stop();
}
function frame40(){
this.stop();
}
}
}//package Ecard_fla
Section 48
//loadingMC_3 (Ecard_fla.loadingMC_3)
package Ecard_fla {
import flash.display.*;
public dynamic class loadingMC_3 extends MovieClip {
public var barMC:loader;
}
}//package Ecard_fla
Section 49
//MainTimeline (Ecard_fla.MainTimeline)
package Ecard_fla {
import flash.display.*;
import flash.events.*;
import flash.text.*;
import game.Ecard.*;
import game.*;
import flash.media.*;
import flash.ui.*;
import flash.utils.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.xml.*;
public dynamic class MainTimeline extends MovieClip {
public var timerMC1:MovieClip;
public var timerMC2:MovieClip;
public var gameMC:MovieClip;
public var enemyMC:MovieClip;
public var nothingMC:MovieClip;
public var NVinputMC:MovieClip;
public var pyoroMC:MovieClip;
public var BSselectWindowMC:MovieClip;
public var cg:EcardMain;
public var ld:LoaderPro;
public var PunishmentMC:MovieClip;
public var messageWindowMC:MovieClip;
public var dText:TextField;
public var eroMC1:MovieClip;
public var eroMC2:MovieClip;
public var fpsText:TextField;
public var loadingMC:MovieClip;
public var soundMC:MovieClip;
public var titleMC:MovieClip;
public function MainTimeline(){
addFrameScript(0, frame1, 1, frame2, 7, frame8, 9, frame10);
}
public function restartPro(){
trace(((("前 has? " + stage.hasEventListener(Event.ENTER_FRAME)) + " will? ") + stage.willTrigger(Event.ENTER_FRAME)));
stage.removeEventListener(Event.ENTER_FRAME, cg.mainPro);
cg.removeListenerPro("all");
trace(((("後 has? " + stage.hasEventListener(Event.ENTER_FRAME)) + " will? ") + stage.willTrigger(Event.ENTER_FRAME)));
cg = null;
this.gotoAndPlay(7);
}
function frame10(){
this.stop();
}
function frame1(){
this.stop();
ld = new LoaderPro(this, loadingMC.barMC);
}
function frame8(){
cg = new EcardMain(this, stage);
}
function frame2(){
ld = null;
}
}
}//package Ecard_fla
Section 50
//messageWindowMC_69 (Ecard_fla.messageWindowMC_69)
package Ecard_fla {
import flash.display.*;
import flash.text.*;
public dynamic class messageWindowMC_69 extends MovieClip {
public var mesTXT:TextField;
}
}//package Ecard_fla
Section 51
//mosaicMC_117 (Ecard_fla.mosaicMC_117)
package Ecard_fla {
import flash.display.*;
public dynamic class mosaicMC_117 extends MovieClip {
public function mosaicMC_117(){
addFrameScript(0, frame1, 149, frame150);
}
function frame1(){
this.stop();
}
function frame150(){
this.gotoAndPlay("R");
}
}
}//package Ecard_fla
Section 52
//nothingMC_8 (Ecard_fla.nothingMC_8)
package Ecard_fla {
import flash.display.*;
public dynamic class nothingMC_8 extends MovieClip {
public function nothingMC_8(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package Ecard_fla
Section 53
//NVinputMC_57 (Ecard_fla.NVinputMC_57)
package Ecard_fla {
import flash.display.*;
import flash.text.*;
public dynamic class NVinputMC_57 extends MovieClip {
public var valueBTN1:SimpleButton;
public var valueBTN4:SimpleButton;
public var valueBTN5:SimpleButton;
public var valueBTN6:SimpleButton;
public var valueBTN8:SimpleButton;
public var valueBTN9:SimpleButton;
public var valueBTN2:SimpleButton;
public var valueBTN3:SimpleButton;
public var valueBTN7:SimpleButton;
public var enterBTN:SimpleButton;
public var valueBTN0:SimpleButton;
public var cancelBTN:SimpleButton;
public var mesTXT:TextField;
public var valTXT:TextField;
}
}//package Ecard_fla
Section 54
//pantsMC1_29 (Ecard_fla.pantsMC1_29)
package Ecard_fla {
import flash.display.*;
public dynamic class pantsMC1_29 extends MovieClip {
public var hitAreaMC:MovieClip;
public function pantsMC1_29(){
addFrameScript(0, frame1, 39, frame40);
}
function frame1(){
this.stop();
}
function frame40(){
this.stop();
}
}
}//package Ecard_fla
Section 55
//pantsMC2_89 (Ecard_fla.pantsMC2_89)
package Ecard_fla {
import flash.display.*;
public dynamic class pantsMC2_89 extends MovieClip {
public var hitAreaMC:MovieClip;
public var stainMC:MovieClip;
public function pantsMC2_89(){
addFrameScript(0, frame1, 39, frame40);
}
function frame1(){
this.stop();
}
function frame40(){
this.stop();
}
}
}//package Ecard_fla
Section 56
//partsFMC1_28 (Ecard_fla.partsFMC1_28)
package Ecard_fla {
import flash.display.*;
public dynamic class partsFMC1_28 extends MovieClip {
public var dressMC:MovieClip;
public var apronMC:MovieClip;
public var pantsMC:MovieClip;
public var brassiereMC:MovieClip;
public var stockingMC:MovieClip;
public var broachMC:MovieClip;
}
}//package Ecard_fla
Section 57
//pHandMC1_98 (Ecard_fla.pHandMC1_98)
package Ecard_fla {
import flash.display.*;
public dynamic class pHandMC1_98 extends MovieClip {
public function pHandMC1_98(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package Ecard_fla
Section 58
//pHandMC10_1_105 (Ecard_fla.pHandMC10_1_105)
package Ecard_fla {
import flash.display.*;
public dynamic class pHandMC10_1_105 extends MovieClip {
public var itemMC:MovieClip;
public function pHandMC10_1_105(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package Ecard_fla
Section 59
//pHandMC11_108 (Ecard_fla.pHandMC11_108)
package Ecard_fla {
import flash.display.*;
public dynamic class pHandMC11_108 extends MovieClip {
public function pHandMC11_108(){
addFrameScript(0, frame1);
}
function frame1(){
}
}
}//package Ecard_fla
Section 60
//pHandMC3_99 (Ecard_fla.pHandMC3_99)
package Ecard_fla {
import flash.display.*;
public dynamic class pHandMC3_99 extends MovieClip {
public function pHandMC3_99(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package Ecard_fla
Section 61
//pHandMC7_1_103 (Ecard_fla.pHandMC7_1_103)
package Ecard_fla {
import flash.display.*;
public dynamic class pHandMC7_1_103 extends MovieClip {
public var itemMC:MovieClip;
public function pHandMC7_1_103(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package Ecard_fla
Section 62
//pHandMC9_100 (Ecard_fla.pHandMC9_100)
package Ecard_fla {
import flash.display.*;
public dynamic class pHandMC9_100 extends MovieClip {
public var korgiMC:MovieClip;
public function pHandMC9_100(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package Ecard_fla
Section 63
//pieMC_113 (Ecard_fla.pieMC_113)
package Ecard_fla {
import flash.display.*;
public dynamic class pieMC_113 extends MovieClip {
public function pieMC_113(){
addFrameScript(58, frame59);
}
function frame59(){
this.stop();
}
}
}//package Ecard_fla
Section 64
//PunishmentMC_126 (Ecard_fla.PunishmentMC_126)
package Ecard_fla {
import flash.display.*;
public dynamic class PunishmentMC_126 extends MovieClip {
public var returnBTN:SimpleButton;
public function PunishmentMC_126(){
addFrameScript(467, frame468);
}
function frame468(){
this.stop();
}
}
}//package Ecard_fla
Section 65
//pyoroMC_9 (Ecard_fla.pyoroMC_9)
package Ecard_fla {
import flash.display.*;
public dynamic class pyoroMC_9 extends MovieClip {
public function pyoroMC_9(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package Ecard_fla
Section 66
//sakiMC1_22 (Ecard_fla.sakiMC1_22)
package Ecard_fla {
import flash.display.*;
public dynamic class sakiMC1_22 extends MovieClip {
public var armLMC:MovieClip;
public var headMC:MovieClip;
public var partsFMC:MovieClip;
public var handRMC:MovieClip;
public var armRMC:MovieClip;
public var bodyMC:MovieClip;
public function sakiMC1_22(){
addFrameScript(21, frame22, 47, frame48, 127, frame128);
}
function frame22(){
this.gotoAndStop(1);
}
function frame48(){
this.gotoAndStop(1);
}
function frame128(){
this.gotoAndStop(1);
}
}
}//package Ecard_fla
Section 67
//sakiMC2_73 (Ecard_fla.sakiMC2_73)
package Ecard_fla {
import flash.display.*;
public dynamic class sakiMC2_73 extends MovieClip {
public var bodyLMC:MovieClip;
public var bodyUMC:MovieClip;
public function sakiMC2_73(){
addFrameScript(4, frame5, 13, frame14, 17, frame18, 24, frame25, 42, frame43);
}
function frame14(){
this.gotoAndStop(1);
}
function frame18(){
this.bodyUMC.gotoAndPlay("R3");
this.bodyLMC.gotoAndPlay("R3");
}
function frame25(){
this.bodyUMC.gotoAndPlay("R2");
this.bodyLMC.gotoAndPlay("R2");
}
function frame5(){
this.bodyUMC.gotoAndPlay("R1");
this.bodyLMC.gotoAndPlay("R1");
}
function frame43(){
this.gotoAndStop(1);
}
}
}//package Ecard_fla
Section 68
//sakiMC3_111 (Ecard_fla.sakiMC3_111)
package Ecard_fla {
import flash.display.*;
import flash.events.*;
import flash.text.*;
import flash.media.*;
import flash.ui.*;
import flash.utils.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.xml.*;
public dynamic class sakiMC3_111 extends MovieClip {
public var legLMC:MovieClip;
public var headMC:MovieClip;
public var legRMC:MovieClip;
public var mosaicMC:MovieClip;
public var bodyMC:MovieClip;
public function sakiMC3_111(){
addFrameScript(0, frame1, 4, frame5, 22, frame23, 50, frame51, 151, frame152);
}
function frame152(){
this.gotoAndPlay("P1");
}
function frame1(){
this.stop();
}
function frame23(){
this.gotoAndStop(1);
}
function frame5(){
this.bodyMC.pieMC.gotoAndPlay(1);
}
function frame51(){
this.mosaicMC.play();
}
}
}//package Ecard_fla
Section 69
//screenWTMC_120 (Ecard_fla.screenWTMC_120)
package Ecard_fla {
import flash.display.*;
public dynamic class screenWTMC_120 extends MovieClip {
public function screenWTMC_120(){
addFrameScript(0, frame1, 119, frame120);
}
function frame1(){
this.stop();
}
function frame120(){
this.stop();
}
}
}//package Ecard_fla
Section 70
//soundMC_10 (Ecard_fla.soundMC_10)
package Ecard_fla {
import flash.display.*;
public dynamic class soundMC_10 extends MovieClip {
public function soundMC_10(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package Ecard_fla
Section 71
//stainMC1_90 (Ecard_fla.stainMC1_90)
package Ecard_fla {
import flash.display.*;
public dynamic class stainMC1_90 extends MovieClip {
public function stainMC1_90(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package Ecard_fla
Section 72
//stainMC2_72 (Ecard_fla.stainMC2_72)
package Ecard_fla {
import flash.display.*;
public dynamic class stainMC2_72 extends MovieClip {
public function stainMC2_72(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package Ecard_fla
Section 73
//stockingMC1_30 (Ecard_fla.stockingMC1_30)
package Ecard_fla {
import flash.display.*;
public dynamic class stockingMC1_30 extends MovieClip {
public var hitAreaMC:MovieClip;
public function stockingMC1_30(){
addFrameScript(0, frame1, 39, frame40);
}
function frame1(){
this.stop();
}
function frame40(){
this.stop();
}
}
}//package Ecard_fla
Section 74
//stockingMC4_84 (Ecard_fla.stockingMC4_84)
package Ecard_fla {
import flash.display.*;
public dynamic class stockingMC4_84 extends MovieClip {
public var hitAreaMC:MovieClip;
public function stockingMC4_84(){
addFrameScript(0, frame1, 39, frame40);
}
function frame1(){
this.stop();
}
function frame40(){
this.stop();
}
}
}//package Ecard_fla
Section 75
//timerMC1_6 (Ecard_fla.timerMC1_6)
package Ecard_fla {
import flash.display.*;
public dynamic class timerMC1_6 extends MovieClip {
public function timerMC1_6(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package Ecard_fla
Section 76
//timerMC2_7 (Ecard_fla.timerMC2_7)
package Ecard_fla {
import flash.display.*;
public dynamic class timerMC2_7 extends MovieClip {
public function timerMC2_7(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package Ecard_fla
Section 77
//titleMC_11 (Ecard_fla.titleMC_11)
package Ecard_fla {
import flash.display.*;
import flash.text.*;
public dynamic class titleMC_11 extends MovieClip {
public var emperor:SimpleButton;
public var tTXT:TextField;
public var mufufu:SimpleButton;
public var slave:SimpleButton;
}
}//package Ecard_fla
Section 78
//Button_Ecard (game.Ecard.Button_Ecard)
package game.Ecard {
import flash.display.*;
import flash.events.*;
public class Button_Ecard {
private var endFlg:Boolean;// = false
private var container:Sprite;
private var moveVal;
private var returnFlg:Boolean;// = false
private var startFlg:String;// = ""
private var cardMC:Array;
public var tgC:MovieClip;
private var selectCompFlg:Boolean;// = false
private var bfVal:Number;
private var cardOnFlg:Boolean;// = false
private var snd:Sound_Ecard;
private var titleMC:MovieClip;
private var btnMC:Array;
private var setCardNo:int;// = 0
private var rootMC:MovieClip;
protected static var mouseFlg:Boolean;
public function Button_Ecard(_arg1:MovieClip, _arg2:Array){
var _local3:int;
var _local4:*;
startFlg = "";
returnFlg = false;
endFlg = false;
setCardNo = 0;
cardOnFlg = false;
selectCompFlg = false;
super();
rootMC = _arg1;
btnMC = _arg2;
snd = new Sound_Ecard(_arg1);
rootMC.addEventListener(MouseEvent.MOUSE_MOVE, mouseMV);
rootMC.addEventListener(MouseEvent.MOUSE_DOWN, mouseBTNon);
rootMC.addEventListener(MouseEvent.MOUSE_UP, mouseBTNoff);
_local3 = _arg1.currentFrame;
if ((((_local3 >= 10)) && ((_local3 <= 19)))){
btnMC[0].addEventListener(MouseEvent.CLICK, startButtonOn);
btnMC[1].addEventListener(MouseEvent.CLICK, startButtonOn);
btnMC[2].addEventListener(MouseEvent.CLICK, startButtonOn);
} else {
if ((((_local3 >= 21)) && ((_local3 <= 29)))){
container = new Sprite();
_local4 = 1;
while (_local4 <= (btnMC.length - 1)) {
container.addChild(btnMC[_local4]);
btnMC[_local4].addEventListener(MouseEvent.MOUSE_DOWN, cardOn);
btnMC[_local4].addEventListener(MouseEvent.MOUSE_UP, cardOff);
btnMC[_local4].cLock = false;
btnMC[_local4].no = _local4;
_local4++;
};
rootMC.gameMC.addChild(container);
} else {
if ((((_local3 >= 30)) && ((_local3 <= 34)))){
} else {
if ((((_local3 >= 35)) && ((_local3 <= 39)))){
btnMC[0].addEventListener(MouseEvent.CLICK, returnButtonOn);
btnMC[1].addEventListener(MouseEvent.CLICK, endButtonOn);
btnMC[2].addEventListener(MouseEvent.MOUSE_DOWN, charOn);
btnMC[2].addEventListener(MouseEvent.MOUSE_UP, charOff);
btnMC[2].mouseChildren = false;
} else {
if (_local3 >= 40){
btnMC[0].addEventListener(MouseEvent.CLICK, returnButtonOn);
};
};
};
};
};
}
public function get getSflg():String{
return (startFlg);
}
protected function mouseMV(_arg1:MouseEvent):void{
mouseFlg = _arg1.buttonDown;
}
protected function mouseBTNon(_arg1:MouseEvent):void{
mouseFlg = _arg1.buttonDown;
}
public function set getSflg(_arg1:String):void{
startFlg = _arg1;
}
protected function mouseBTNoff(_arg1:MouseEvent):void{
mouseFlg = _arg1.buttonDown;
}
private function returnButtonOn(_arg1:MouseEvent):void{
returnFlg = true;
snd.playEffectS(1, 1);
}
public function get getCardOnFlg():Boolean{
return (cardOnFlg);
}
private function cardOn(_arg1:MouseEvent):void{
var _local2:*;
var _local3:Sprite;
var _local4:uint;
if (_arg1.target.cLock){
return;
};
_local2 = 1;
while (_local2 <= (btnMC.length - 1)) {
btnMC[_local2].scaleX = 1;
btnMC[_local2].scaleY = 1;
_local2++;
};
_local3 = Sprite(_arg1.target);
_local4 = (container.numChildren - 1);
container.setChildIndex(_local3, _local4);
_arg1.target.alpha = 0.3;
_arg1.target.scaleX = 1.05;
_arg1.target.scaleY = 1.05;
_arg1.target.startDrag(false);
bfVal = _arg1.target.x;
cardOnFlg = true;
}
public function get cSetNo():int{
return (setCardNo);
}
public function get getTg_test():Object{
var _local1:Object;
_local1 = new Object();
if (btnMC[2] != null){
_local1.mc = btnMC[2];
_local1.nm = btnMC[2].name;
};
return (_local1);
}
private function charTest(_arg1:MouseEvent):void{
trace(("target: " + _arg1.target));
trace("TEST");
}
private function endButtonOn(_arg1:MouseEvent):void{
endFlg = true;
}
public function get cMoveVal():Number{
return (moveVal);
}
public function removeListenerPro():void{
var _local1:int;
var _local2:*;
trace("Button_Ecard::リスナー削除作業");
rootMC.removeEventListener(MouseEvent.MOUSE_MOVE, mouseMV);
rootMC.removeEventListener(MouseEvent.MOUSE_DOWN, mouseBTNon);
rootMC.removeEventListener(MouseEvent.MOUSE_UP, mouseBTNoff);
_local1 = rootMC.currentFrame;
if ((((_local1 >= 10)) && ((_local1 <= 19)))){
btnMC[0].removeEventListener(MouseEvent.CLICK, startButtonOn);
btnMC[1].removeEventListener(MouseEvent.CLICK, startButtonOn);
btnMC[2].removeEventListener(MouseEvent.CLICK, startButtonOn);
} else {
if ((((_local1 >= 20)) && ((_local1 <= 29)))){
_local2 = 1;
while (_local2 <= (btnMC.length - 1)) {
container.removeChild(btnMC[_local2]);
btnMC[_local2].removeEventListener(MouseEvent.MOUSE_DOWN, cardOn);
btnMC[_local2].removeEventListener(MouseEvent.MOUSE_UP, cardOff);
_local2++;
};
rootMC.gameMC.removeChild(container);
container = null;
} else {
if ((((_local1 >= 35)) && ((_local1 <= 39)))){
btnMC[0].removeEventListener(MouseEvent.CLICK, returnButtonOn);
btnMC[1].removeEventListener(MouseEvent.CLICK, endButtonOn);
btnMC[2].removeEventListener(MouseEvent.MOUSE_DOWN, charOn);
btnMC[2].removeEventListener(MouseEvent.MOUSE_UP, charOff);
} else {
if (_local1 >= 40){
btnMC[0].removeEventListener(MouseEvent.CLICK, returnButtonOn);
};
};
};
};
btnMC = null;
}
private function charOff(_arg1:MouseEvent):void{
_arg1.target.stopDrag();
trace("キャラOFF");
}
private function startButtonOn(_arg1:MouseEvent):void{
startFlg = _arg1.target.name;
}
private function cardOff(_arg1:MouseEvent):void{
var _local2:MovieClip;
if (_arg1.target.cLock){
return;
};
_arg1.target.alpha = 1;
_arg1.target.scaleX = 1;
_arg1.target.scaleY = 1;
_arg1.target.stopDrag();
moveVal = (_arg1.target.x - bfVal);
if (moveVal < 0){
moveVal = (moveVal * -1);
};
cardOnFlg = false;
_local2 = rootMC.enemyMC.cardSetRMC;
if (_local2.hitAreaMC.hitTestObject(_arg1.target)){
if (!selectCompFlg){
selectCompFlg = true;
tgC = MovieClip(_arg1.target);
_arg1.target.cLock = true;
setCardNo = _arg1.target.no;
tgC.x = _local2.x;
tgC.y = _local2.y;
} else {
_arg1.target.y = (_local2.y + 130);
};
};
snd.playEffectS(1, 1);
}
public function set cSetNo(_arg1:int):void{
setCardNo = _arg1;
}
private function charOn(_arg1:MouseEvent):void{
_arg1.target.startDrag(false);
trace("キャラON");
}
public function set cMoveVal(_arg1:Number):void{
moveVal = _arg1;
}
public function cardDelete():void{
tgC.x = 700;
selectCompFlg = false;
}
public function debugPro():void{
var _local1:String;
var _local2:String;
_local1 = ("\nmouseFlg:" + mouseFlg);
_local2 = (_local1 + "\n");
rootMC.dText.text = _local2;
}
public function get getReturnFlg():Boolean{
return (returnFlg);
}
public function get mouseBTN():Boolean{
return (mouseFlg);
}
public function get getEndFlg():Boolean{
return (endFlg);
}
}
}//package game.Ecard
Section 79
//Char_targetPro (game.Ecard.Char_targetPro)
package game.Ecard {
import flash.display.*;
public class Char_targetPro {
public var pKatyusha;
public var tgBU;
private var container:Sprite;
public var iBTNMC:MovieClip;
public var pBroach;
public var pGlasses:MovieClip;
public var pStocking:Array;
public var ic:Array;
public var screenMC:MovieClip;
public var pDress;
public var stainP;
public var stainS;
public var pApron;
public var tgLL;
public var tgHL;
public var tgLR:MovieClip;
public var tgHR;
public var tgCr;
public var fukiMC:MovieClip;
public var handMC:MovieClip;
public var pPants;
public var tgHd;
public var char:MovieClip;
public var tgHp;
public var tgAL;
public var tgAR;
public var juice:MovieClip;
public var gaugeMC:MovieClip;
public var pBrassiere;
private var rootMC:MovieClip;
public var HA:Array;
public var tgBL;
public function Char_targetPro(_arg1:MovieClip, _arg2:MovieClip){
rootMC = _arg1;
char = _arg2;
pDress = new Array();
pStocking = new Array();
}
public function getTarget():void{
var _local1:int;
var _local2:int;
var _local3:int;
_local1 = rootMC.currentFrame;
if ((((_local1 >= 20)) && ((_local1 <= 29)))){
tgCr = char.charMC;
tgHd = tgCr.headMC;
tgBU = tgCr.bodyMC;
tgAL = tgCr.armLMC;
tgAR = tgCr.armRMC;
tgHR = tgCr.handRMC;
pKatyusha = tgHd.katyushaMC;
pGlasses = tgHd.glassesMC;
pBroach = tgCr.partsFMC.broachMC;
pApron = tgCr.partsFMC.apronMC;
pDress[0] = tgCr.partsFMC.dressMC;
pDress[1] = tgCr.armRMC.dressMC;
pDress[2] = tgCr.handRMC.dressMC;
pDress[3] = tgCr.armLMC.dressMC;
pStocking[0] = tgCr.partsFMC.stockingMC;
pBrassiere = tgCr.partsFMC.brassiereMC;
pPants = tgCr.partsFMC.pantsMC;
} else {
if ((((_local1 >= 30)) && ((_local1 <= 34)))){
trace("エロ弄り画面 ターゲット取得");
tgBU = char.bodyUMC;
tgHd = tgBU.headMC;
tgBL = char.bodyLMC;
tgHp = tgBL.hipMC;
tgLL = tgBL.legLMC;
tgLR = tgBL.legRMC;
pKatyusha = tgHd.katyushaMC;
pGlasses = tgHd.glassesMC;
pBrassiere = tgBU.brassiereMC;
pStocking[0] = tgBL.stockingMC;
pStocking[1] = tgLL;
pStocking[2] = tgLR;
pPants = tgBL.pantsMC;
stainP = pPants.stainMC;
stainS = rootMC.eroMC1.stainMC;
juice = tgHp.juiceMC;
if (eData.partsD[1].flg){
pKatyusha.gotoAndStop(pKatyusha.totalFrames);
};
if (eData.partsD[7].flg){
pGlasses.gotoAndStop(pGlasses.totalFrames);
};
if (eData.partsD[5].flg){
pBrassiere.gotoAndStop(pBrassiere.totalFrames);
};
if (eData.partsD[6].flg){
pPants.gotoAndStop(pPants.totalFrames);
};
if (eData.partsD[8].flg){
_local2 = 0;
while (_local2 < pStocking.length) {
trace(((((((_local2 + " : ") + pStocking[_local2].name) + " ストッキング パーツチェック\n ") + pStocking[_local2].currentFrame) + " / ") + pStocking[_local2].totalFrames));
pStocking[_local2].gotoAndStop(pStocking[_local2].totalFrames);
_local2++;
};
};
handMC = rootMC.eroMC1.handMC;
fukiMC = rootMC.eroMC1.fukidasiMC;
ic = new Array();
ic[1] = rootMC.eroMC1.iconMC1;
ic[2] = rootMC.eroMC1.iconMC2;
ic[3] = rootMC.eroMC1.iconMC3;
ic[4] = rootMC.eroMC1.iconMC4;
ic[5] = rootMC.eroMC1.iconMC5;
ic[6] = rootMC.eroMC1.iconMC6;
HA = new Array();
HA[1] = tgBU.hitAreaMC;
HA[2] = tgBL.hitAreaMC1;
HA[3] = tgBL.hitAreaMC2;
} else {
if ((((_local1 >= 35)) && ((_local1 <= 39)))){
tgHd = char.headMC;
tgBU = char.bodyMC;
tgLL = char.legLMC;
tgLR = char.legRMC;
pKatyusha = tgHd.katyushaMC;
pGlasses = tgHd.glassesMC;
pStocking[0] = tgBU;
pStocking[1] = tgLL;
pStocking[2] = tgLR;
iBTNMC = rootMC.eroMC2.insertBTNMC;
fukiMC = rootMC.eroMC2.fukidasiMC;
gaugeMC = rootMC.eroMC2.ecstasyGaugeMC;
screenMC = rootMC.eroMC2.screenWTMC;
if (eData.partsD[1].flg){
pKatyusha.gotoAndStop(pKatyusha.totalFrames);
};
if (eData.partsD[7].flg){
pGlasses.gotoAndStop(pGlasses.totalFrames);
};
if (eData.partsD[8].flg){
_local3 = 0;
while (_local3 < pStocking.length) {
pStocking[_local3].gotoAndStop(pStocking[_local3].totalFrames);
_local3++;
};
};
};
};
};
}
public function getTarget2():void{
tgHd = char.headMC;
}
public function removeListenerPro():void{
trace("Char_targetPro::リムーブ処理");
handMC = null;
tgHd = null;
char = null;
}
public function debugPro():void{
var _local1:String;
var _local2:String;
_local1 = "cfT1:";
_local2 = _local1;
rootMC.dText.text = _local2;
}
}
}//package game.Ecard
Section 80
//CMS_Ecard (game.Ecard.CMS_Ecard)
package game.Ecard {
import flash.display.*;
import flash.events.*;
import game.*;
import flash.ui.*;
public class CMS_Ecard extends ContextMenuSet {
private var restart:Boolean;// = false
public function CMS_Ecard(_arg1:MovieClip){
restart = false;
super(_arg1);
}
override protected function itemSelectHandler0(_arg1:ContextMenuEvent):void{
var _local2:int;
trace("リスタート!!");
_local2 = rootMC.currentFrame;
if (_local2 != 10){
rootMC.restartPro();
};
}
override protected function addCustomMenuItems():void{
var _local1:ContextMenuItem;
_local1 = new ContextMenuItem("Restart");
myContextMenu.customItems.push(_local1);
_local1.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, itemSelectHandler0);
}
}
}//package game.Ecard
Section 81
//EcardMain (game.Ecard.EcardMain)
package game.Ecard {
import flash.display.*;
import flash.events.*;
import game.*;
public class EcardMain {
private var DDDco:int;// = 0
private var cms:CMS_Ecard;
private var occupation:String;// = "emperor"
private var readyFlg:Array;
private var round:int;// = 1
private var bonusFlg:Boolean;// = false
private var stageMC:Object;
private var ed:eData;
private var gold:Number;// = 1000
private var nvi:NumerivalValueInput;
private var ero:Ero_processing;
private var btn:Button_Ecard;
private var key:int;
private var fps:FPSpro;
private var mx;
private var my:int;
private var eResult:int;
private var ins:Insert_processing;
private var pg:Play_processing;
private var rootMC:MovieClip;
public function EcardMain(_arg1:MovieClip, _arg2:Object){
var _local3:int;
readyFlg = new Array();
round = 1;
occupation = "emperor";
gold = 1000;
bonusFlg = false;
DDDco = 0;
super();
rootMC = _arg1;
stageMC = _arg2;
cms = new CMS_Ecard(rootMC);
fps = new FPSpro(rootMC.fpsText);
ed = new eData(gold);
_local3 = 0;
while (_local3 <= 10) {
readyFlg[_local3] = false;
_local3++;
};
stageMC.addEventListener(Event.ENTER_FRAME, mainPro);
}
private function resultPro(_arg1:int):void{
var _local2:String;
var _local3:String;
var _local4:Number;
var _local5:Number;
var _local6:Number;
var _local7:int;
_local3 = "";
_local4 = ed.getGold;
_local5 = ed.getBetVal;
_local6 = ed.getBufGold;
if (occupation == "emperor"){
_local7 = 2;
} else {
_local7 = 10;
};
if ((((((round == 3)) || ((round == 6)))) || ((round == 9)))){
_local3 = "\n\n※次回から地位が入れ替わります";
} else {
if ((((round == 10)) || ((round == 11)))){
if (!eData.partsD[4].flg){
_local3 = "\n※12回戦終了時までにドレスまで脱がしていないと\nむふふモードに移行しません(衣服パーツをクリックで脱衣)";
};
};
};
if ((((_local4 == 0)) && ((_arg1 == 2)))){
_local3 = "\n\n……あなたは破産してしまいました";
};
if (_arg1 == 1){
_local2 = ((((((((((((((round + "回戦終了 (皇帝2倍 奴隷10倍)\n掛け金 ") + _local5) + " x ") + _local7) + " = ") + (_local5 * _local7)) + "\n残金 ") + _local4) + " + ") + (_local5 * _local7)) + " = ") + ((_local5 * _local7) + _local4)) + " ペリカ") + _local3);
} else {
if (_arg1 == 2){
_local2 = ((((round + "回戦終了 (皇帝2倍 奴隷10倍)\n残金 ") + _local4) + " ペリカ") + _local3);
} else {
if (_arg1 == 10){
_local2 = ((((((("最終結果\n残金 " + _local4) + " - 借入金 ") + _local6) + " = ") + (_local4 - _local6)) + " ペリカ") + "\n\n最初の借入金を返済できませんでした…");
} else {
if (_arg1 == 11){
_local2 = ((((((("最終結果\n残金 " + _local4) + " - 借金 ") + _local6) + " = ") + (_local4 - _local6)) + " ペリカ") + "\n\nゲーム中に衣服を脱がす事が出来ませんでした…");
} else {
if (_arg1 == 12){
_local2 = ((((((("最終結果\n残金 " + _local4) + " - 借金 ") + _local6) + " = ") + (_local4 - _local6)) + " ペリカ") + "\n\nおめでとうございます ゲームクリアしました\nむふふモードに移行します!");
};
};
};
};
};
trace(_local2);
rootMC.messageWindowMC.mesTXT.text = _local2;
rootMC.messageWindowMC.y = 280;
ed.endCalculate(occupation, _arg1);
}
public function removeListenerPro(... _args):void{
trace("**********************************\nEcardMain::リムーブ処理\n******************************************");
if (nvi != null){
nvi.removeListenerPro();
nvi = null;
};
if (pg != null){
pg.removeListenerPro();
pg = null;
};
if (btn != null){
btn.removeListenerPro();
btn = null;
};
if (ero != null){
ero.removeListenerPro();
ero = null;
};
if (ins != null){
ins.removeListenerPro();
ins = null;
};
if (_args[0] == "all"){
ed.removePro();
ed = null;
} else {
if (_args[0] == "clear"){
ed.dClear();
round = 1;
ed.getGold = gold;
};
};
readyFlg[0] = false;
readyFlg[1] = false;
}
public function debugPro():void{
var _local1:Number;
var _local2:Boolean;
var _local3:MovieClip;
var _local4:String;
var _local5:String;
var _local6:String;
var _local7:Number;
if (ed != null){
_local1 = ed.getGold;
_local2 = eData.partsD[4].flg;
};
if (btn != null){
_local7 = btn.cMoveVal;
};
_local5 = ((((((("mc: " + _local3) + "\nname:") + _local4) + "\npFlgの4:") + _local2) + "\n\ncardVal:") + _local7);
_local6 = _local5;
rootMC.dText.text = _local6;
}
public function mainPro(_arg1:Event):void{
var _local2:int;
var _local3:Array;
var _local4:MovieClip;
var _local5:String;
var _local6:Array;
var _local7:int;
var _local8:int;
var _local9:MovieClip;
var _local10:Array;
var _local11:MovieClip;
var _local12:Array;
var _local13:MovieClip;
var _local14:Array;
var _local15:int;
var _local16:int;
mx = rootMC.mouseX;
my = rootMC.mouseY;
_local2 = rootMC.currentFrame;
if (_local2 == 10){
if (rootMC.titleMC != null){
if (!readyFlg[0]){
_local3 = new Array(rootMC.titleMC.emperor, rootMC.titleMC.slave, rootMC.titleMC.mufufu);
btn = new Button_Ecard(rootMC, _local3);
rootMC.titleMC.tTXT.text = (("あなたの余剰金: " + ed.getRemainedGold) + " ペリカ");
if (ed.getRemainedGold == 0){
rootMC.titleMC.mufufu.visible = false;
} else {
rootMC.titleMC.mufufu.visible = true;
};
readyFlg[0] = true;
};
if ((((btn.getSflg == "emperor")) || ((btn.getSflg == "slave")))){
occupation = btn.getSflg;
btn.getSflg = "";
ed.getRemainedGold = 0;
readyFlg[0] = false;
btn.removeListenerPro();
btn = null;
rootMC.gotoAndStop(20);
} else {
if (btn.getSflg == "mufufu"){
readyFlg[0] = false;
ed.mufufuDataSet();
removeListenerPro();
rootMC.gotoAndStop(30);
};
};
};
} else {
if (_local2 == 20){
if (((!((rootMC.NVinputMC == null))) && (!((rootMC.enemyMC.fukidasiMC == null))))){
if (!readyFlg[0]){
rootMC.NVinputMC.y = 280;
rootMC.messageWindowMC.y = 420;
if (bonusFlg){
ed.bonusPro();
bonusFlg = false;
};
ed.targetSet(rootMC.gameMC.goldTXT);
rootMC.NVinputMC.mesTXT.text = (("現在のあなたの所持金は\n" + ed.getGold) + " ペリカです");
nvi = new NumerivalValueInput(rootMC.NVinputMC, ed.getGold);
rootMC.gameMC.roundTXT.text = (round + "回戦");
readyFlg[0] = true;
};
if (nvi.getOverFlg){
rootMC.enemyMC.fukidasiMC.gotoAndStop(73);
} else {
rootMC.enemyMC.fukidasiMC.gotoAndStop(72);
};
if (nvi.getVal != 0){
ed.getBetVal = nvi.getVal;
nvi.removeListenerPro();
nvi = null;
rootMC.NVinputMC.y = 420;
rootMC.enemyMC.fukidasiMC.gotoAndStop(1);
rootMC.enemyMC.play();
rootMC.gameMC.play();
readyFlg[0] = false;
rootMC.nextFrame();
};
};
} else {
if (_local2 == 21){
if (rootMC.gameMC.cardMC1 != null){
if (!readyFlg[0]){
_local4 = rootMC.gameMC;
_local5 = _local4.currentLabel;
if ((((_local5 == "set1")) || ((_local5 == "start")))){
if (occupation == "emperor"){
_local4.cardMC1.gotoAndStop(2);
} else {
if (occupation == "slave"){
_local4.cardMC1.gotoAndStop(3);
};
};
};
if (_local5 == "start"){
_local6 = new Array(null, _local4.cardMC1, _local4.cardMC2, _local4.cardMC3, _local4.cardMC4, _local4.cardMC5);
btn = new Button_Ecard(rootMC, _local6);
pg = new Play_processing(rootMC, occupation);
readyFlg[0] = true;
};
};
if (readyFlg[0]){
readyFlg[0] = false;
rootMC.nextFrame();
};
};
} else {
if (_local2 == 22){
pg.mainPro(btn.cSetNo);
if (btn.cMoveVal > 50){
pg.cardMoveVal(btn.cMoveVal);
btn.cMoveVal = 0;
};
pg.setCardOnFlg = btn.getCardOnFlg;
_local7 = pg.judgVal;
if (_local7 == 0){
btn.cardDelete();
btn.cSetNo = 0;
pg.judgVal = -1;
} else {
if ((((_local7 == 1)) || ((_local7 == 2)))){
resultPro(pg.judgVal);
round++;
if ((((((round == 4)) || ((round == 7)))) || ((round == 10)))){
if (occupation == "emperor"){
occupation = "slave";
} else {
occupation = "emperor";
};
};
pg.judgVal = -1;
readyFlg[0] = true;
};
};
pg.onClickFlg = btn.mouseBTN;
if (((btn.mouseBTN) && (readyFlg[0]))){
readyFlg[0] = false;
rootMC.enemyMC.gotoAndStop(1);
rootMC.enemyMC.cardSlowMC.gotoAndStop(1);
rootMC.enemyMC.cardAllMC.gotoAndStop(1);
rootMC.gameMC.gotoAndStop(1);
if (ed.getGold <= 0){
removeListenerPro();
rootMC.gotoAndStop(40);
} else {
if (round >= 13){
trace(((((("gold: " + ed.getGold) + "- betGold:") + ed.getBufGold) + " < betGold:") + ed.getBufGold));
if ((ed.getGold - ed.getBufGold) <= 0){
eResult = 10;
} else {
if (!eData.partsD[4].flg){
eResult = 11;
} else {
eResult = 12;
};
};
resultPro(eResult);
rootMC.nextFrame();
rootMC.timerMC2.gotoAndPlay(2);
} else {
rootMC.gotoAndStop(20);
removeListenerPro();
};
};
};
} else {
if (_local2 == 23){
_local8 = rootMC.timerMC2.currentFrame;
if (((((btn.mouseBTN) && (!(readyFlg[0])))) && ((_local8 == 1)))){
readyFlg[0] = true;
if (eResult == 10){
rootMC.gotoAndStop(40);
} else {
if (eResult == 11){
removeListenerPro("clear");
rootMC.gotoAndStop(10);
} else {
if (eResult == 12){
rootMC.gotoAndStop(30);
removeListenerPro();
};
};
};
};
} else {
if (_local2 == 30){
if (rootMC.eroMC1 != null){
if (!readyFlg[0]){
_local9 = rootMC.eroMC1.charMC;
_local10 = new Array(null);
btn = new Button_Ecard(rootMC, _local10);
ero = new Ero_processing(rootMC, _local9);
readyFlg[0] = true;
rootMC.gotoAndStop(31);
};
};
} else {
if (_local2 == 31){
ero.mainPro();
ero.onClickFlg = btn.mouseBTN;
if (ero.getEndFlg){
removeListenerPro();
rootMC.gotoAndStop(35);
};
} else {
if (_local2 == 35){
trace("インサート準備画面");
if (rootMC.eroMC2 != null){
if (!readyFlg[0]){
_local11 = rootMC.eroMC2;
_local12 = new Array(_local11.returnBTN, _local11.endBTN, _local11.charMC);
btn = new Button_Ecard(rootMC, _local12);
ins = new Insert_processing(rootMC, _local11.charMC);
rootMC.gotoAndStop(36);
};
};
} else {
if (_local2 == 36){
ins.mainPro();
ins.onClickFlg = btn.mouseBTN;
if (btn.getReturnFlg){
rootMC.gotoAndStop(30);
removeListenerPro();
};
if (btn.getEndFlg){
ed.remainedGoldCheck();
removeListenerPro("clear");
rootMC.gotoAndStop(10);
};
} else {
if (_local2 == 40){
if (rootMC.PunishmentMC != null){
_local13 = rootMC.PunishmentMC;
_local14 = new Array(_local13.returnBTN);
btn = new Button_Ecard(rootMC, _local14);
rootMC.nextFrame();
};
} else {
if (_local2 == 41){
_local15 = rootMC.PunishmentMC.currentFrame;
_local16 = rootMC.PunishmentMC.totalFrames;
if ((((_local15 == _local16)) || (btn.getReturnFlg))){
if (_local15 == _local16){
bonusFlg = true;
trace("全部見たからボーナス!!!");
};
removeListenerPro("clear");
rootMC.gotoAndStop(10);
};
};
};
};
};
};
};
};
};
};
};
};
fps.counting();
}
}
}//package game.Ecard
Section 82
//eData (game.Ecard.eData)
package game.Ecard {
import flash.text.*;
public class eData {
private const BONUS:Number = 777;
private const REMAINDGOLD:Number = 10000;
private static var gold:Number = 0;
private static var rData:Array;
public static var partsD:Array;
private static var remainedGold:Number;
private static var co:int = 0;
private static var betVal:Number = 0;
public static var itemD:Array;
private static var tg:TextField;
private static var betPercent:Number = 0;
private static var roundVal:Number = 2;
private static var roundCo:int = 1;
private static var bfGold:Number;
public function eData(_arg1:Number){
if (co == 0){
trace("***********************************************\neData::コンストラクタ 最初の1回だけ設定\n*****************************************");
gold = _arg1;
bfGold = gold;
remainedGold = 0;
initialSet();
};
co++;
}
public function set getRemainedGold(_arg1:Number){
remainedGold = _arg1;
}
public function remainedGoldCheck():void{
if (gold >= REMAINDGOLD){
remainedGold = gold;
} else {
remainedGold = 0;
};
}
private function initialSet():void{
partsD = new Array();
partsD[0] = new Object();
partsD[0].name = "無し";
partsD[0].price = 0;
partsD[0].flg = false;
partsD[1] = new Object();
partsD[1].name = "カチューシャ";
partsD[1].price = 980;
partsD[1].flg = false;
partsD[2] = new Object();
partsD[2].name = "ブローチ";
partsD[2].price = 1770;
partsD[2].flg = false;
partsD[3] = new Object();
partsD[3].name = "エプロン";
partsD[3].price = 4550;
partsD[3].flg = false;
partsD[4] = new Object();
partsD[4].name = "ドレス";
partsD[4].price = 0x3200;
partsD[4].flg = false;
partsD[5] = new Object();
partsD[5].name = "ブラジャー";
partsD[5].price = 980;
partsD[5].flg = false;
partsD[6] = new Object();
partsD[6].name = "パンツ";
partsD[6].price = 1450;
partsD[6].flg = false;
partsD[7] = new Object();
partsD[7].name = "メガネ";
partsD[7].price = 980;
partsD[7].flg = false;
partsD[8] = new Object();
partsD[8].name = "ストッキング";
partsD[8].price = 1980;
partsD[8].flg = false;
itemD = new Array();
itemD[0] = new Object();
itemD[0].name = "無し";
itemD[0].price = 0;
itemD[0].flg = false;
itemD[1] = new Object();
itemD[1].name = "ノーマルハンド";
itemD[1].price = 0;
itemD[1].flg = true;
itemD[2] = new Object();
itemD[2].name = "筆";
itemD[2].price = 980;
itemD[2].flg = false;
itemD[3] = new Object();
itemD[3].name = "バター犬";
itemD[3].price = 0x0500;
itemD[3].flg = false;
itemD[4] = new Object();
itemD[4].name = "ローター";
itemD[4].price = 3800;
itemD[4].flg = false;
itemD[5] = new Object();
itemD[5].name = "バイブレーター";
itemD[5].price = 5980;
itemD[5].flg = false;
itemD[6] = new Object();
itemD[6].name = "インサート";
itemD[6].price = 17777;
itemD[6].flg = false;
rData = new Array(0, 3, 3, 3);
}
public function get getBetVal():Number{
return (betVal);
}
public function get getRemainedGold():Number{
return (remainedGold);
}
public function dClear():void{
var _local1:int;
trace("eData::データクリア処理");
gold = bfGold;
betVal = 0;
betPercent = 0;
_local1 = 0;
while (_local1 < partsD.length) {
partsD[_local1].flg = false;
_local1++;
};
}
public function endCalculate(_arg1:String, _arg2:int):Number{
var _local3:int;
if (_arg2 == 1){
if (_arg1 == "emperor"){
_local3 = 2;
} else {
_local3 = 10;
};
gold = (gold + (betVal * _local3));
} else {
if (_arg2 == 2){
} else {
if ((((_arg2 >= 10)) && ((_arg2 <= 12)))){
gold = (gold - bfGold);
};
};
};
tg.text = (gold + " ペリカ");
return (gold);
}
public function set getBetVal(_arg1:Number):void{
betPercent = ((_arg1 / gold) * 100);
trace((("掛け率 パーセント表示 " + betPercent) + "%"));
betVal = _arg1;
gold = (gold - betVal);
tg.text = (gold + " ペリカ");
}
public function bonusPro():void{
gold = (gold + BONUS);
}
public function removePro():void{
trace("*************************************\neData::リムーブ処理 static変数を全部初期化\n**********************************");
gold = 0;
remainedGold = 0;
betVal = 0;
betPercent = 0;
co = 0;
rData = null;
roundCo = 2;
partsD = null;
}
public function targetSet(_arg1:TextField):void{
tg = _arg1;
tg.text = (gold + " ペリカ");
}
public function get getGold():Number{
return (gold);
}
public function payPro(_arg1:int, _arg2:Boolean):Boolean{
if (partsD[_arg1].price <= gold){
if (_arg2){
gold = (gold - partsD[_arg1].price);
tg.text = (gold + " ペリカ");
};
return (true);
//unresolved jump
};
return (false);
}
public function get getRoundVal():Number{
return (roundVal);
}
public function get getBetPercent():Number{
return (betPercent);
}
public function set getGold(_arg1:Number):void{
gold = _arg1;
}
public function payPro2(_arg1:int, _arg2:Boolean):Boolean{
if (itemD[_arg1].price <= gold){
if (_arg2){
gold = (gold - itemD[_arg1].price);
tg.text = (gold + " ペリカ");
};
return (true);
//unresolved jump
};
return (false);
}
public function mufufuDataSet():void{
trace("eData::衣服パーツデータクリア 余剰金から手持ちペリカ算出処理");
partsD[4].flg = true;
gold = (remainedGold - REMAINDGOLD);
}
public function get getBufGold():Number{
return (bfGold);
}
public function roundPro(_arg1:int):void{
var _local2:Number;
var _local3:int;
rData[roundCo] = _arg1;
_local2 = 0;
_local3 = 1;
while (_local3 < rData.length) {
trace(((_local3 + " : ") + rData[_local3]));
_local2 = (_local2 + rData[_local3]);
_local3++;
};
roundVal = (_local2 / (rData.length - 1));
trace(((((("\n平均算出 今回のカウント:" + _arg1) + " ") + _local2) + " / ") + (rData.length - 1)));
trace(((roundVal + " 四捨五入:") + Math.round(roundVal)));
roundVal = Math.round(roundVal);
if (roundVal < 1){
roundVal = 1;
};
if (roundVal > 6){
roundVal = 5;
};
roundCo++;
if (roundCo == 4){
roundCo = 1;
};
}
}
}//package game.Ecard
Section 83
//Ero_processing (game.Ecard.Ero_processing)
package game.Ecard {
import flash.display.*;
import flash.events.*;
public class Ero_processing {
private var cfT1;
private var cancelBTN:SimpleButton;
private var endFlg:Boolean;// = false
private var cfT2;
private var buyFlg:int;// = 0
private var ddSt:String;
private var cfT3:int;
private var pcNo:int;// = 0
private var stainVal:int;// = 1
private var ed:eData;
private var hMode:int;// = 1
private var bufHC:int;
private var mx;
private var clickFlg:Boolean;// = false
private var my:int;
private var char:Char_targetPro;
private var okBTN:SimpleButton;
private var snd:Sound_Ecard;
private var rootMC:MovieClip;
private var icNo:int;// = 0
public function Ero_processing(_arg1:MovieClip, _arg2:MovieClip){
clickFlg = false;
hMode = 1;
icNo = 0;
pcNo = 0;
buyFlg = 0;
stainVal = 1;
endFlg = false;
super();
rootMC = _arg1;
snd = new Sound_Ecard(_arg1);
ed = new eData(0);
ed.targetSet(rootMC.eroMC1.goldTXT);
char = new Char_targetPro(rootMC, rootMC.eroMC1.charMC);
char.getTarget();
initialSet1();
allButtonClear();
char.ic[1].gotoAndStop(3);
}
private function fukidasiPro(_arg1:int):void{
var _local2:int;
_local2 = char.char.currentFrame;
if (_local2 != 1){
return;
};
char.fukiMC.gotoAndStop(_arg1);
rootMC.timerMC2.gotoAndPlay(2);
}
private function girlCheak():void{
var _local1:int;
var _local2:int;
if (char.HA[1].hitTestPoint(mx, my, true)){
reactionPro(2);
} else {
if (char.HA[2].hitTestPoint(mx, my, true)){
if ((((hMode == 5)) && (eData.partsD[6].flg))){
char.handMC.visible = false;
_local1 = char.tgHp.currentFrame;
_local2 = char.tgHp.totalFrames;
if (_local1 == _local2){
char.tgHp.gotoAndPlay(11);
} else {
char.tgHp.play();
};
};
reactionPro(4);
} else {
if (char.HA[3].hitTestPoint(mx, my, true)){
reactionPro(3);
} else {
if (((char.tgBU.hitTestPoint(mx, my, true)) || (char.tgBL.hitTestPoint(mx, my, true)))){
reactionPro(1);
};
};
};
};
}
public function debugPro():void{
var _local1:String;
var _local2:String;
_local1 = ((((((("hMode:" + hMode) + "\nbuyFlg:") + buyFlg) + "\n\nicNo:") + icNo) + "\npcNo:") + pcNo);
_local2 = _local1;
rootMC.dText.text = _local2;
}
private function insertCheak():void{
var _local1:int;
var _local2:int;
if (!eData.itemD[6].flg){
return;
};
if (hMode != 6){
return;
};
if (((!(eData.partsD[5].flg)) || (!(eData.partsD[6].flg)))){
messageWinPro(0, "warning");
return;
};
if (char.handMC.itemMC != null){
_local1 = char.handMC.itemMC.currentFrame;
_local2 = char.handMC.itemMC.totalFrames;
if (_local1 == _local2){
endFlg = true;
} else {
char.handMC.itemMC.play();
};
};
}
private function messageWinPro(_arg1:int, _arg2:String):void{
if (_arg2 == "item"){
_arg2 = ((((eData.itemD[_arg1].name + "は ") + eData.itemD[_arg1].price) + " ペリカです\n\n") + "お金が足りません……");
} else {
if (_arg2 == "parts"){
_arg2 = ((((eData.partsD[_arg1].name + "は ") + eData.partsD[_arg1].price) + " ペリカです\n\n") + "お金が足りません……");
} else {
if (_arg2 == "warning"){
_arg2 = "ブラジャーとパンツの両方を脱がさないと\nインサートできませんっ!";
};
};
};
rootMC.messageWindowMC.mesTXT.text = _arg2;
rootMC.messageWindowMC.y = 280;
}
public function mainPro():Boolean{
var _local1:int;
mx = rootMC.mouseX;
my = rootMC.mouseY;
char.handMC.x = mx;
char.handMC.y = my;
cfT1 = rootMC.timerMC1.currentFrame;
cfT2 = rootMC.timerMC2.currentFrame;
cfT3 = char.char.currentFrame;
if (cfT3 == 1){
char.fukiMC.gotoAndStop(1);
};
if (clickFlg){
itemCheack();
partsCheack();
girlCheak();
insertCheak();
if (rootMC.messageWindowMC.hitTestPoint(mx, my, true)){
rootMC.messageWindowMC.y = 420;
};
if (char.handMC.itemMC != null){
if (bufHC != 2){
char.handMC.itemMC.gotoAndStop(2);
};
bufHC = 2;
};
} else {
if (!char.handMC.visible){
char.handMC.visible = true;
if (hMode == 5){
char.tgHp.gotoAndStop(1);
};
};
if (char.handMC.itemMC != null){
_local1 = char.handMC.itemMC.currentFrame;
if (_local1 != 1){
char.handMC.itemMC.gotoAndStop(1);
};
bufHC = 1;
};
};
if (hMode == 3){
dogCheak();
};
debugPro();
return (false);
}
private function partsSselectWindowPro(_arg1:int):void{
var _local2:String;
var _local3:Number;
_local3 = ed.getGold;
if (_arg1 == 1){
_local2 = ((((((eData.partsD[pcNo].name + "は ") + eData.partsD[pcNo].price) + " ペリカです\n\n") + "払って脱がせますか?\n所持金 ") + _local3) + " ペリカ");
} else {
if (_arg1 == 2){
_local2 = (((((("残金\n" + _local3) + " - ") + eData.partsD[pcNo].price) + " = ") + (_local3 - eData.partsD[pcNo].price)) + " ペリカ");
};
};
rootMC.BSselectWindowMC.mesTXT.text = _local2;
}
private function okButtonOnE(_arg1:MouseEvent){
if (buyFlg == 1){
if (eData.itemD[icNo].flg){
trace("すでにアイテム購入済みで もう1回OKボタン押したらキャンセル処理");
cancelButtonOnE(_arg1);
return;
};
eData.itemD[icNo].flg = true;
char.handMC.gotoAndStop(icNo);
allButtonClear();
char.ic[icNo].gotoAndStop(3);
hMode = icNo;
if ((((icNo == 4)) || ((icNo == 5)))){
snd.playEffectS((icNo + 6), 1);
} else {
snd.playEffectS(2, 0.3);
};
itemSselectWindowPro(true, icNo);
ed.payPro2(icNo, true);
} else {
if (buyFlg == 2){
if (eData.partsD[pcNo].flg){
trace("すでに衣服脱がせ済みで もう1回OKボタン押したらキャンセル処理");
cancelButtonOnE(_arg1);
return;
};
if (pcNo == 1){
char.pKatyusha.play();
} else {
if (pcNo == 7){
char.pGlasses.play();
} else {
if (pcNo == 5){
char.pBrassiere.play();
} else {
if (pcNo == 6){
char.pPants.play();
} else {
if (pcNo == 8){
char.pStocking[0].play();
char.pStocking[1].play();
char.pStocking[2].play();
};
};
};
};
};
eData.partsD[pcNo].flg = true;
partsSselectWindowPro(2);
ed.payPro(pcNo, true);
snd.playEffectS(2, 0.3);
};
};
}
public function removeListenerPro():void{
trace("Ero_processing::リスナー削除作業");
okBTN.removeEventListener(MouseEvent.CLICK, okButtonOnE);
cancelBTN.removeEventListener(MouseEvent.CLICK, cancelButtonOnE);
okBTN = null;
cancelBTN = null;
if (char != null){
char.removeListenerPro();
};
char = null;
}
private function reactionPro(_arg1:int):void{
var _local2:*;
var _local3:*;
var _local4:*;
var _local5:int;
var _local6:String;
_local3 = char.char.currentFrame;
if (((!((_local3 == 1))) || ((_arg1 == 0)))){
return;
};
if (_arg1 == 4){
_arg1 = ((Math.random() * 3) + 1);
};
if (_arg1 == 1){
_local2 = ((Math.random() * 4) + 2);
} else {
if (_arg1 == 2){
_local2 = ((Math.random() * 5) + 6);
} else {
if (_arg1 == 3){
_local2 = ((Math.random() * 4) + 11);
};
};
};
fukidasiPro(_local2);
_local6 = ("R" + _arg1);
char.tgHd.gotoAndPlay(_local6);
char.char.gotoAndPlay(_local6);
_local4 = char.stainP.currentFrame;
char.stainP.gotoAndStop((_local4 + _arg1));
if (((eData.partsD[6].flg) && ((((hMode == 4)) || ((hMode == 5)))))){
_local5 = char.stainS.currentFrame;
char.stainS.gotoAndStop((_local5 + _arg1));
char.juice.gotoAndStop((_local5 + _arg1));
};
}
private function cancelButtonOnE(_arg1:MouseEvent){
icNo = 0;
pcNo = 0;
buyFlg = 0;
rootMC.BSselectWindowMC.x = 520;
rootMC.BSselectWindowMC.y = 420;
}
private function itemCheack():void{
var _local1:int;
var _local2:int;
_local1 = 0;
if (char.ic[1].hitTestPoint(mx, my, true)){
icNo = 1;
_local1 = 1;
};
if (buyFlg != 0){
return;
};
_local2 = 2;
while (_local2 < char.ic.length) {
if (char.ic[_local2].hitTestPoint(mx, my, true)){
icNo = _local2;
if (!eData.itemD[_local2].flg){
if (ed.payPro2(_local2, false)){
_local1 = 2;
} else {
_local1 = 3;
};
} else {
_local1 = 1;
};
};
_local2++;
};
if (icNo != 0){
if (_local1 == 2){
if (buyFlg == 0){
buyFlg = 1;
itemSselectWindowPro(false, icNo);
rootMC.BSselectWindowMC.x = 25;
rootMC.BSselectWindowMC.y = 280;
};
} else {
if (_local1 == 1){
char.handMC.gotoAndStop(icNo);
allButtonClear();
char.ic[icNo].gotoAndStop(3);
hMode = icNo;
snd.keyWait(1);
if ((((icNo == 4)) || ((icNo == 5)))){
snd.playEffectS((icNo + 6), 1);
};
} else {
if (_local1 == 3){
messageWinPro(icNo, "item");
};
};
};
};
}
private function allButtonClear():void{
var _local1:int;
_local1 = 1;
while (_local1 < eData.itemD.length) {
if (eData.itemD[_local1].flg){
char.ic[_local1].gotoAndStop(2);
};
_local1++;
};
}
public function itemSselectWindowPro(_arg1:Boolean, _arg2:int):void{
var _local3:String;
var _local4:Number;
_local4 = ed.getGold;
if (!_arg1){
_local3 = ((((((eData.itemD[_arg2].name + "は ") + eData.itemD[_arg2].price) + " ペリカです\n\n") + "アイテムを購入しますか?\n所持金 ") + _local4) + " ペリカ");
} else {
_local3 = (((((("残金\n" + _local4) + " - ") + eData.itemD[_arg2].price) + " = ") + (_local4 - eData.itemD[_arg2].price)) + " ペリカ");
};
rootMC.BSselectWindowMC.mesTXT.text = _local3;
}
private function dogCheak():void{
var _local1:int;
if (char.handMC.currentFrame != 3){
return;
};
if (char.handMC.itemMC == null){
return;
};
if (char.handMC.itemMC.korgiMC == null){
return;
};
_local1 = char.handMC.itemMC.korgiMC.currentFrame;
if (clickFlg){
if (_local1 == 6){
snd.playEffectS(4, 1);
};
} else {
if (_local1 == 16){
snd.playEffectS(3, 1);
};
};
}
private function partsCheack():void{
if (hMode != 1){
return;
};
if (buyFlg != 0){
return;
};
if (!eData.partsD[1].flg){
if (char.pKatyusha.hitAreaMC.hitTestPoint(mx, my, true)){
pcNo = 1;
};
};
if (!eData.partsD[7].flg){
if (char.pGlasses.hitAreaMC.hitTestPoint(mx, my, true)){
pcNo = 7;
};
};
if (((!(eData.partsD[5].flg)) && (eData.partsD[4].flg))){
if (char.pBrassiere.hitAreaMC.hitTestPoint(mx, my, true)){
pcNo = 5;
};
};
if (((!(eData.partsD[6].flg)) && (eData.partsD[4].flg))){
if (char.pPants.hitAreaMC.hitTestPoint(mx, my, true)){
pcNo = 6;
};
};
if (((!(eData.partsD[8].flg)) && (eData.partsD[4].flg))){
if (char.pStocking[0].hitAreaMC.hitTestPoint(mx, my, true)){
pcNo = 8;
};
};
if (pcNo == 0){
return;
};
if (ed.payPro(pcNo, false)){
buyFlg = 2;
partsSselectWindowPro(1);
rootMC.BSselectWindowMC.x = 25;
rootMC.BSselectWindowMC.y = 280;
} else {
messageWinPro(pcNo, "parts");
pcNo = 0;
};
}
private function initialSet1():void{
trace("Ero_pro initialSet1()//初期設定 ボタンのリムーブリスナー");
rootMC.BSselectWindowMC.x = 520;
rootMC.BSselectWindowMC.y = 420;
rootMC.messageWindowMC.y = 420;
okBTN = rootMC.BSselectWindowMC.okBTN;
cancelBTN = rootMC.BSselectWindowMC.cancelBTN;
okBTN.addEventListener(MouseEvent.CLICK, okButtonOnE);
cancelBTN.addEventListener(MouseEvent.CLICK, cancelButtonOnE);
}
public function get getEndFlg():Boolean{
return (endFlg);
}
public function set onClickFlg(_arg1:Boolean):void{
clickFlg = _arg1;
}
}
}//package game.Ecard
Section 84
//Insert_processing (game.Ecard.Insert_processing)
package game.Ecard {
import flash.display.*;
import flash.events.*;
public class Insert_processing {
private var cfT1;
private var ect:int;// = 0
private var cfT2;
private var cfT3:int;
private var ddSt:String;
private var char:Char_targetPro;
private var cfC:int;
private var btnFlg:int;// = 0
private var finishFlg:Boolean;// = false
private var bfcf:int;// = 0
private var ectCo:int;// = 0
private var lastFlg:Boolean;// = false
private var my:int;
private var rootMC:MovieClip;
private var clickFlg:Boolean;// = false
private var mx;
public function Insert_processing(_arg1:MovieClip, _arg2:MovieClip){
clickFlg = false;
btnFlg = 0;
lastFlg = false;
bfcf = 0;
ect = 0;
ectCo = 0;
finishFlg = false;
super();
rootMC = _arg1;
char = new Char_targetPro(rootMC, _arg2);
char.getTarget();
initialSet1();
}
private function initialSet1():void{
trace("Ero_pro initialSet1()//初期設定 ボタンのリムーブリスナー");
rootMC.BSselectWindowMC.x = 520;
rootMC.BSselectWindowMC.y = 420;
rootMC.messageWindowMC.y = 420;
}
private function fukidasiPro(_arg1:int):void{
char.fukiMC.gotoAndStop(_arg1);
rootMC.nothingMC.gotoAndPlay(2);
}
private function reactionPro(_arg1:int, ... _args):void{
var _local3:*;
var _local4:*;
var _local5:*;
var _local6:int;
var _local7:String;
if (cfT1 != 1){
return;
};
if (_arg1 == 4){
_arg1 = (Math.floor((Math.random() * 3)) + 1);
};
if (ect < 300){
_local3 = (Math.floor((Math.random() * 7)) + 2);
} else {
_local3 = (Math.floor((Math.random() * 6)) + 9);
};
fukidasiPro(_local3);
_local7 = ("R" + _arg1);
char.tgHd.gotoAndPlay(_local7);
trace(((((_args[0] + " 実行: ") + _local7) + " fuki:") + _local3));
}
public function debugPro():void{
var _local1:int;
var _local2:String;
var _local3:String;
_local1 = char.char.currentFrame;
_local2 = ((((((("体全体cf:" + _local1) + "\nbtnFlg:") + btnFlg) + "\n表情L:") + char.tgHd.currentLabel) + "\nCF:") + char.tgHd.currentFrame);
_local3 = _local2;
rootMC.dText.text = _local3;
}
public function mainPro():Boolean{
var _local1:String;
var _local2:int;
var _local3:int;
var _local4:int;
var _local5:Boolean;
var _local6:int;
mx = rootMC.mouseX;
my = rootMC.mouseY;
cfT1 = rootMC.nothingMC.currentFrame;
cfT2 = rootMC.timerMC2.currentFrame;
cfC = char.char.currentFrame;
_local1 = char.tgHd.currentLabel;
if ((((_local1 == "P1")) || ((_local1 == "P2")))){
};
if (cfT1 == 1){
char.fukiMC.gotoAndStop(1);
};
if (finishFlg){
if (cfC == 35){
char.tgHd.gotoAndPlay("finish");
rootMC.pyoroMC.play();
char.gaugeMC.visible = false;
char.iBTNMC.visible = false;
};
return (true);
};
_local2 = char.iBTNMC.currentFrame;
_local3 = char.iBTNMC.totalFrames;
_local4 = 0;
_local5 = false;
_local6 = char.char.currentFrame;
if (char.iBTNMC.hitTestPoint(mx, my, false)){
if (clickFlg){
char.iBTNMC.nextFrame();
_local5 = true;
if (_local6 == 11){
reactionPro((Math.floor((Math.random() * 2)) + 2), "11! +6");
ect = (ect + 20);
} else {
if ((((_local6 >= 5)) && ((_local6 <= 8)))){
reactionPro(1, "5~8f +3");
ect = (ect + 3);
};
};
} else {
char.iBTNMC.prevFrame();
_local5 = false;
};
} else {
char.iBTNMC.prevFrame();
_local5 = false;
};
if (_local5){
if (_local6 == 12){
char.char.stop();
} else {
if (_local6 <= 11){
char.char.play();
} else {
char.char.gotoAndStop((12 - (_local6 - 12)));
};
};
} else {
if (_local6 >= 12){
char.char.play();
} else {
if ((((_local6 >= 3)) && ((_local6 <= 11)))){
char.char.gotoAndStop((12 + (12 - _local6)));
};
};
};
char.getTarget2();
ect--;
if (ect < 1){
ect = 1;
};
if (char.gaugeMC.totalFrames < ect){
ect = char.gaugeMC.totalFrames;
finishFlg = true;
char.tgHd.gotoAndPlay("R3");
char.char.gotoAndPlay("finish");
rootMC.eroMC2.returnBTN.x = -100;
rootMC.eroMC2.endBTN.y = 380;
};
char.gaugeMC.gotoAndStop(ect);
debugPro();
return (false);
}
public function removeListenerPro():void{
trace("Insert_processing::リスナー削除作業");
if (char != null){
char.removeListenerPro();
};
char = null;
}
public function set onClickFlg(_arg1:Boolean):void{
clickFlg = _arg1;
}
}
}//package game.Ecard
Section 85
//Play_processing (game.Ecard.Play_processing)
package game.Ecard {
import flash.display.*;
import flash.events.*;
public class Play_processing {
private var cfT1;
private var bufferFlg:Array;
private var tgEne;
private var judg:int;// = -1
private var moveVal:Number;// = 0
private var cancelBTN:SimpleButton;
private var PUTflg:Boolean;// = false
private var pcNo:int;// = 0
private var playNo:int;// = 0
private var timeCo:int;// = 0
private var checkPUTflg:Boolean;// = false
private var count:int;// = 1
private var ed:eData;
private var comNo:int;// = 0
private var cfT2:int;
private var fukidasi;
private var ddSt:String;
private var tgCslow:MovieClip;
private var punishment:Boolean;// = false
private var attack:Boolean;// = true
private var occupation:String;
private var char:Char_targetPro;
private var cardOnFlg:Boolean;// = false
private var comNoFlg:Array;
private var okBTN:SimpleButton;
private var decisionFlg:Boolean;// = false
private var snd:Sound_Ecard;
private var pcFlg:Boolean;// = false
private var judgBf:int;// = -1
private var rootMC:MovieClip;
public function Play_processing(_arg1:MovieClip, _arg2:String){
var _local3:int;
attack = true;
decisionFlg = false;
comNo = 0;
comNoFlg = new Array();
playNo = 0;
moveVal = 0;
cardOnFlg = false;
PUTflg = false;
checkPUTflg = false;
punishment = false;
bufferFlg = new Array();
timeCo = 0;
count = 1;
judg = -1;
judgBf = -1;
pcNo = 0;
pcFlg = false;
super();
rootMC = _arg1;
occupation = _arg2;
tgEne = rootMC.enemyMC;
fukidasi = rootMC.enemyMC.fukidasiMC;
tgCslow = rootMC.enemyMC.cardSlowMC;
_local3 = 1;
while (_local3 <= 5) {
comNoFlg[_local3] = false;
_local3++;
};
snd = new Sound_Ecard(_arg1);
ed = new eData(0);
char = new Char_targetPro(rootMC, rootMC.enemyMC.charMC);
char.getTarget();
initialSet1();
initialSet2();
cfT2 = 1;
COMtalkPro1("攻守交替");
}
private function COMpro1(_arg1:Boolean):void{
if ((((cfT1 == 1)) && ((comNo == 0)))){
rootMC.timerMC1.gotoAndPlay(2);
};
if (_arg1){
if (cfT1 == 10){
if (((punishment) && (!((count == 5))))){
reactionPro(0, count, "6sense");
};
};
if (cfT1 == 70){
fukidasiPro(50);
tgCslow.play();
tgEne.cardAllMC.nextFrame();
};
if (cfT1 >= 118){
fukidasiPro(5);
comNo = COMbrain();
comNoFlg[comNo] = true;
};
} else {
if (cfT1 == 10){
if (((punishment) && (!((count == 5))))){
reactionPro(0, count, "6sense");
};
};
if (cfT1 == 70){
fukidasiPro(50);
tgCslow.play();
tgEne.cardAllMC.nextFrame();
};
if (cfT1 >= 118){
comNo = COMbrain();
comNoFlg[comNo] = true;
};
};
}
private function playerPro():void{
var _local1:Boolean;
var _local2:Number;
var _local3:int;
_local1 = false;
_local2 = ed.getBetPercent;
_local3 = (timeCo - 100);
if (_local3 < 100){
if ((((_local2 > 0)) && ((_local2 <= 19.99)))){
_local1 = true;
};
} else {
if ((((_local3 >= 100)) && ((_local3 <= 199)))){
if ((((_local2 >= 20)) && ((_local2 <= 49.99)))){
_local1 = true;
};
} else {
if ((((_local3 >= 200)) && ((_local3 <= 299)))){
if ((((_local2 >= 50)) && ((_local2 <= 79.99)))){
_local1 = true;
};
} else {
if ((((_local3 >= 300)) && ((_local3 <= 399)))){
if (_local2 >= 80){
_local1 = true;
};
};
};
};
};
if (moveVal > 200){
moveVal = 0;
if (_local1){
checkPUTflg = true;
if (PUTflg){
reactionPro(4, count, "set");
};
} else {
reactionPro(4, count, "feel");
};
};
}
private function fukidasiPro(_arg1:int):void{
fukidasi.gotoAndStop(_arg1);
rootMC.timerMC2.gotoAndPlay(2);
}
private function card2check():void{
if (((!((playNo == 0))) && (!((comNo == 0))))){
decisionFlg = true;
fukidasiPro(51);
};
if (playNo != 0){
if ((((timeCo < 60)) && (!(punishment)))){
punishment = true;
trace(("フライング決定!\n*********** 出しタイム *********** " + timeCo));
};
};
}
public function set setCardOnFlg(_arg1:Boolean):void{
cardOnFlg = _arg1;
}
private function messageWinPro(_arg1:int):void{
var _local2:String;
_local2 = ((((eData.partsD[_arg1].name + "は ") + eData.partsD[_arg1].price) + " ペリカです\n\n") + "お金が足りません……");
rootMC.messageWindowMC.mesTXT.text = _local2;
rootMC.messageWindowMC.y = 280;
}
private function COMbrain():int{
var _local1:int;
var _local2:int;
var _local3:int;
_local1 = 0;
do {
_local1++;
if (_local1 == 1){
} else {
trace(((("\n**** カウント: " + count) + " 平均値:") + ed.getRoundVal));
if (occupation == "emperor"){
if (punishment){
if (playNo == 1){
_local2 = 1;
} else {
if (playNo != 0){
_local2 = (Math.floor((Math.random() * 4)) + 2);
};
};
} else {
if (count == ed.getRoundVal){
_local2 = 1;
} else {
if (count > ed.getRoundVal){
_local2 = (Math.floor((Math.random() * 5)) + 1);
trace(("勝負カウント過ぎてしまったらランダム:" + _local2));
} else {
_local2 = (Math.floor((Math.random() * 4)) + 2);
trace((("違うカウントならランダム:" + _local2) + " 1(勝負カード)以外のはず…"));
};
};
};
} else {
if (punishment){
if (playNo == 1){
_local2 = (Math.floor((Math.random() * 4)) + 2);
} else {
if (playNo != 0){
_local2 = 1;
};
};
} else {
_local2 = (Math.floor((Math.random() * 5)) + 1);
trace(("\nCOM皇帝 罰無しならランダム :" + _local2));
};
};
};
if (_local1 > 10){
_local2 = (Math.floor((Math.random() * 5)) + 1);
trace(("カウントアウトしたので完全ランダム:" + _local2));
};
} while (comNoFlg[_local2]);
trace(("@番号決定:" + _local2));
if (checkPUTflg){
};
if (_local2 == 1){
PUTflg = true;
};
return (_local2);
}
public function mainPro(_arg1:int):Boolean{
playNo = _arg1;
cfT1 = rootMC.timerMC1.currentFrame;
cfT2 = rootMC.timerMC2.currentFrame;
if (cfT2 == 1){
fukidasi.gotoAndStop(1);
};
if (!decisionFlg){
if (occupation == "emperor"){
if (!attack){
if (comNo == 0){
COMpro1(!(attack));
} else {
COMtalkPro1("");
};
ddSt = "COM 先攻";
} else {
if (playNo == 0){
COMtalkPro1("");
};
if ((((comNo == 0)) && (!((playNo == 0))))){
COMpro1(!(attack));
};
ddSt = "Play 先攻";
};
card2check();
} else {
if (occupation == "slave"){
if (!attack){
if (playNo == 0){
COMtalkPro1("");
};
if ((((comNo == 0)) && (!((playNo == 0))))){
COMpro1(attack);
};
ddSt = "Play 先攻";
} else {
if (comNo == 0){
COMpro1(attack);
} else {
COMtalkPro1("");
};
ddSt = "COM 先攻";
};
card2check();
};
};
timeCo++;
} else {
if (!bufferFlg[0]){
cardOpenPro();
};
if (((bufferFlg[0]) && (!(bufferFlg[1])))){
judg = cardJudgment();
rootMC.timerMC2.gotoAndPlay(2);
bufferFlg[1] = true;
};
if (bufferFlg[1]){
postProcessing();
};
};
faceCheck();
playerPro();
return (false);
}
public function removeListenerPro():void{
trace("Play_processing::リムーブリスナー処理");
okBTN.removeEventListener(MouseEvent.CLICK, okButtonOnP);
cancelBTN.removeEventListener(MouseEvent.CLICK, cancelButtonOnP);
okBTN = null;
cancelBTN = null;
ed = null;
snd = null;
if (char != null){
char.removeListenerPro();
};
char = null;
}
private function partsCheack():void{
var _local1:int;
var _local2:int;
if (pcFlg){
return;
};
if (cardOnFlg){
return;
};
_local1 = rootMC.mouseX;
_local2 = rootMC.mouseY;
if (!eData.partsD[1].flg){
if (char.pKatyusha.hitAreaMC.hitTestPoint(_local1, _local2, true)){
pcNo = 1;
};
};
if (!eData.partsD[7].flg){
if (char.pGlasses.hitAreaMC.hitTestPoint(_local1, _local2, true)){
trace("メガネ クリック");
pcNo = 7;
};
};
if (!eData.partsD[2].flg){
if (char.pBroach.hitAreaMC.hitTestPoint(_local1, _local2, true)){
pcNo = 2;
};
};
if (((!(eData.partsD[3].flg)) && (eData.partsD[2].flg))){
if (char.pApron.hitAreaMC.hitTestPoint(_local1, _local2, true)){
pcNo = 3;
};
};
if (((!(eData.partsD[4].flg)) && (eData.partsD[3].flg))){
if (char.pDress[0].hitAreaMC.hitTestPoint(_local1, _local2, true)){
pcNo = 4;
};
};
if (((!(eData.partsD[5].flg)) && (eData.partsD[4].flg))){
if (char.pBrassiere.hitAreaMC.hitTestPoint(_local1, _local2, true)){
pcNo = 5;
};
};
if (((!(eData.partsD[6].flg)) && (eData.partsD[4].flg))){
if (char.pPants.hitAreaMC.hitTestPoint(_local1, _local2, true)){
pcNo = 6;
};
};
if (((!(eData.partsD[8].flg)) && (eData.partsD[4].flg))){
if (char.pStocking[0].hitAreaMC.hitTestPoint(_local1, _local2, true)){
pcNo = 8;
};
};
if (rootMC.messageWindowMC.hitTestPoint(_local1, _local2, true)){
trace("メッセージウィンドウ CLICK!!!");
rootMC.messageWindowMC.y = 480;
};
if (pcNo == 0){
return;
};
if (ed.payPro(pcNo, false)){
trace(((("***** パーツチェック:" + pcNo) + " 値段:") + eData.partsD[pcNo].price));
pcFlg = true;
partsSselectWindowPro(1);
rootMC.BSselectWindowMC.x = 25;
rootMC.BSselectWindowMC.y = 280;
} else {
messageWinPro(pcNo);
pcNo = 0;
};
}
public function get judgVal():int{
return (judgBf);
}
private function faceCheck():void{
var _local1:int;
var _local2:int;
var _local3:int;
if (char.tgHd.faceMC == null){
return;
};
_local1 = char.tgHd.currentFrame;
_local2 = char.tgHd.faceMC.currentFrame;
_local3 = char.tgHd.faceMC.totalFrames;
if (_local1 >= 10){
if (_local2 == _local3){
reactionPro(4, count, occupation);
};
};
}
private function partsSselectWindowPro(_arg1:int):void{
var _local2:String;
var _local3:Number;
_local3 = ed.getGold;
if (_arg1 == 1){
_local2 = ((((((eData.partsD[pcNo].name + "は ") + eData.partsD[pcNo].price) + " ペリカです\n\n") + "払って脱がせますか?\n所持金 ") + _local3) + " ペリカ");
} else {
if (_arg1 == 2){
_local2 = (((((("残金\n" + _local3) + " - ") + eData.partsD[pcNo].price) + " = ") + (_local3 - eData.partsD[pcNo].price)) + " ペリカ");
};
};
rootMC.BSselectWindowMC.mesTXT.text = _local2;
}
private function cardJudgment():int{
var _local1:int;
var _local2:int;
var _local3:Array;
if ((((playNo >= 2)) && ((comNo >= 2)))){
_local1 = 0;
fukidasiPro(70);
trace((((("プレーヤー市民: " + playNo) + " COM市民: ") + comNo) + " fukidasiPro( 70 );//引き分けね"));
} else {
if (occupation == "emperor"){
if ((((playNo == 1)) && ((comNo >= 2)))){
_local1 = 1;
fukidasiPro(61);
reactionPro(1, 6);
trace(((("プレーヤー皇帝: " + playNo) + " COM市民: ") + comNo));
} else {
if ((((playNo == 1)) && ((comNo == 1)))){
_local1 = 2;
fukidasiPro(67);
reactionPro(3, 1);
trace(((("プレーヤー皇帝: " + playNo) + " COM奴隷: ") + comNo));
} else {
if ((((playNo >= 2)) && ((comNo == 1)))){
_local1 = 1;
fukidasiPro(62);
reactionPro(1, 6);
trace(((("プレーヤー市民: " + playNo) + " COM奴隷: ") + comNo));
};
};
};
} else {
if ((((playNo == 1)) && ((comNo >= 2)))){
_local1 = 2;
fukidasiPro(66);
reactionPro(3, 1);
trace(((("プレーヤー奴隷: " + playNo) + " COM市民: ") + comNo));
} else {
if ((((playNo == 1)) && ((comNo == 1)))){
_local1 = 1;
if (count == 5){
fukidasiPro(64);
} else {
fukidasiPro(63);
};
reactionPro(1, 6);
trace(((("プレーヤー奴隷: " + playNo) + " COM皇帝: ") + comNo));
} else {
if ((((playNo >= 2)) && ((comNo == 1)))){
_local1 = 2;
fukidasiPro(65);
reactionPro(3, 2);
trace(((("プレーヤー市民: " + playNo) + " COM皇帝: ") + comNo));
};
};
};
};
};
_local2 = 0;
if (occupation == "emperor"){
if (playNo == 1){
_local2 = count;
} else {
if ((((_local1 == 2)) || ((_local1 == 1)))){
_local2 = (count + 1);
};
};
};
if (_local2 != 0){
ed.roundPro(_local2);
};
_local3 = new Array("引き分け", "あなたの勝ち!!", "あなたの負け…");
trace((_local3[_local1] + "\n"));
return (_local1);
}
private function COMtalkPro1(_arg1:String):void{
var _local2:int;
if (cfT2 != 1){
return;
};
if (_arg1 == "攻守交替"){
count = tgEne.cardAllMC.currentFrame;
if (occupation == "slave"){
if (count == 1){
fukidasiPro(2);
} else {
if (count == 3){
fukidasiPro(6);
} else {
if ((((count == 2)) || ((count == 4)))){
fukidasiPro(7);
} else {
if (count == 5){
fukidasiPro(9);
};
};
};
};
} else {
if (occupation == "emperor"){
if (count == 1){
fukidasiPro(3);
} else {
if ((((count == 2)) || ((count == 4)))){
fukidasiPro(6);
} else {
if (count == 3){
fukidasiPro(7);
} else {
if (count == 5){
fukidasiPro(8);
};
};
};
};
};
};
reactionPro(4, count, occupation);
return;
};
_local2 = (Math.random() * 150);
if ((((_local2 >= 0)) && ((_local2 <= 2)))){
fukidasiPro((10 + _local2));
};
}
private function cardOpenPro():void{
var _local1:String;
var _local2:int;
_local1 = tgCslow.currentLabel;
if (cfT2 != 1){
tgCslow.play();
};
if (_local1 == "set"){
if (comNo == 1){
if (occupation == "emperor"){
_local2 = 3;
} else {
_local2 = 2;
};
} else {
if ((((comNo >= 2)) && ((comNo <= 5)))){
_local2 = 4;
};
};
tgCslow.cardMC.gotoAndStop(_local2);
};
if (tgCslow.currentFrame == tgCslow.totalFrames){
bufferFlg[0] = true;
};
}
private function postProcessing():Boolean{
if (cfT2 != 1){
return (false);
};
if (!bufferFlg[2]){
bufferFlg[2] = true;
judgBf = judg;
};
if (judg == 0){
attack = !(attack);
tgCslow.gotoAndStop(1);
rootMC.timerMC1.gotoAndStop(1);
COMtalkPro1("攻守交替");
initialSet1();
};
return (true);
}
private function okButtonOnP(_arg1:MouseEvent){
if (eData.partsD[pcNo].flg){
cancelButtonOnP(_arg1);
return;
};
if (pcNo == 1){
char.pKatyusha.play();
} else {
if (pcNo == 2){
char.pBroach.play();
} else {
if (pcNo == 3){
char.pApron.play();
} else {
if (pcNo == 4){
char.pDress[0].play();
char.pDress[1].play();
char.pDress[2].play();
char.pDress[3].play();
} else {
if (pcNo == 5){
char.pBrassiere.play();
} else {
if (pcNo == 6){
char.pPants.play();
} else {
if (pcNo == 7){
char.pGlasses.play();
} else {
if (pcNo == 8){
char.pStocking[0].play();
};
};
};
};
};
};
};
};
eData.partsD[pcNo].flg = true;
partsSselectWindowPro(2);
ed.payPro(pcNo, true);
snd.playEffectS(2, 0.3);
}
public function cardMoveVal(_arg1:Number){
moveVal = _arg1;
}
private function cancelButtonOnP(_arg1:MouseEvent){
pcFlg = false;
pcNo = 0;
rootMC.BSselectWindowMC.x = 520;
rootMC.BSselectWindowMC.y = 420;
}
public function set judgVal(_arg1:int):void{
judgBf = _arg1;
}
private function reactionPro(_arg1:int, _arg2:int, ... _args):void{
var _local4:int;
var _local5:int;
var _local6:String;
if (_args[0] == "emperor"){
if (_arg2 == 1){
_local4 = 4;
} else {
if (_arg2 == 2){
_local4 = 3;
} else {
if ((((_arg2 == 3)) || ((_arg2 == 4)))){
_local4 = 2;
} else {
if (_arg2 == 5){
_local4 = 1;
};
};
};
};
} else {
if (_args[0] == "slave"){
if (_arg2 == 1){
_local4 = 2;
} else {
if (_arg2 == 2){
_local4 = 3;
} else {
if (_arg2 == 3){
_local4 = 4;
} else {
if (_arg2 == 4){
_local4 = 5;
} else {
if (_arg2 == 5){
_local4 = 6;
};
};
};
};
};
} else {
if (_args[0] == "set"){
_local4 = 10;
} else {
if (_args[0] == "feel"){
_local4 = 11;
} else {
if (_args[0] == "6sense"){
_local4 = 12;
} else {
_local4 = _arg2;
};
};
};
};
};
char.tgHd.gotoAndStop(_local4);
_local5 = char.tgCr.currentFrame;
if (((!((_local5 == 1))) || ((_arg1 == 0)))){
return;
};
if (_arg1 == 4){
_arg1 = ((Math.random() * 3) + 1);
};
_local6 = ("R" + _arg1);
char.tgCr.gotoAndPlay(_local6);
char.char.gotoAndPlay(_local6);
}
private function initialSet1():void{
var _local1:int;
trace("initialSet1() //初期設定1");
_local1 = 0;
while (_local1 <= 5) {
bufferFlg[_local1] = false;
_local1++;
};
decisionFlg = false;
comNo = 0;
playNo = 0;
judg = -1;
PUTflg = false;
checkPUTflg = false;
timeCo = 0;
punishment = false;
}
private function initialSet2():void{
trace("initialSet1() //初期設定1 ボタン関係リスナー登録");
rootMC.BSselectWindowMC.x = 520;
rootMC.BSselectWindowMC.y = 420;
okBTN = rootMC.BSselectWindowMC.okBTN;
cancelBTN = rootMC.BSselectWindowMC.cancelBTN;
okBTN.addEventListener(MouseEvent.CLICK, okButtonOnP);
cancelBTN.addEventListener(MouseEvent.CLICK, cancelButtonOnP);
}
public function set onClickFlg(_arg1:Boolean):void{
if (((_arg1) && ((((judg == -1)) || ((judg == 0)))))){
partsCheack();
};
}
public function debugPro():void{
var _local1:String;
var _local2:String;
var _local3:Number;
if (ed != null){
_local3 = ed.getRoundVal;
};
_local1 = ((((((((((((((((((((((((("cfT1:" + cfT1) + "\ncfT2:") + cfT2) + "\ncomNo:") + comNo) + "\nPlayNo:") + playNo) + "\nattack:") + attack) + "\n") + ddSt) + "\n両者決定フラグ:") + decisionFlg) + "\n\njudgBf:") + judgBf) + "\njudg:") + judg) + "\n\nPUT:") + PUTflg) + "\n条件:") + checkPUTflg) + "\ntime:") + timeCo) + "\n\nroundVal:") + _local3);
_local2 = _local1;
rootMC.dText.text = _local2;
}
}
}//package game.Ecard
Section 86
//Sound_Ecard (game.Ecard.Sound_Ecard)
package game.Ecard {
import flash.display.*;
import flash.events.*;
import flash.media.*;
public class Sound_Ecard {
private var rootMC:MovieClip;
private static var eFlg:Boolean = false;
private static var hSound:Array;
private static var iVol:Number = 0;
private static var vFlg:Boolean = false;
private static var sFlg:Boolean = false;
private static var effect:Array;
private static var voice:Array;
private static var channelE:SoundChannel;
public function Sound_Ecard(_arg1:MovieClip){
rootMC = _arg1;
effect = new Array();
effect[1] = new effect01();
effect[2] = new effect02();
effect[3] = new effect03();
effect[4] = new effect04();
effect[10] = new effect10();
effect[11] = new effect11();
trace("サウンド設定");
}
private function soundCompFunc(_arg1:Event):void{
sFlg = false;
_arg1.currentTarget.removeEventListener(Event.SOUND_COMPLETE, soundCompFunc);
}
private function voiceCompFunc(_arg1:Event):void{
vFlg = false;
_arg1.currentTarget.removeEventListener(Event.SOUND_COMPLETE, voiceCompFunc);
}
public function setPan(_arg1:Number):void{
var _local2:SoundTransform;
_local2 = channelE.soundTransform;
_local2.pan = _arg1;
channelE.soundTransform = _local2;
}
public function playEffectS(_arg1:int, _arg2:Number):Boolean{
iVol = _arg2;
if (channelE){
channelE.stop();
};
if (_arg1 <= 9){
channelE = effect[_arg1].play();
eFlg = true;
} else {
channelE = effect[_arg1].play(0, 999);
};
setVolume(_arg2);
setPan(0);
channelE.addEventListener(Event.SOUND_COMPLETE, effectSoundCompFunc);
return (eFlg);
}
private function effectSoundCompFunc(_arg1:Event):void{
_arg1.currentTarget.removeEventListener(Event.SOUND_COMPLETE, effectSoundCompFunc);
eFlg = false;
}
public function get soundFlg():Boolean{
return (sFlg);
}
public function keyWait(_arg1):Boolean{
var _local2:int;
_local2 = rootMC.nothingMC.currentFrame;
if (_local2 == 1){
playEffectS(_arg1, 1);
rootMC.nothingMC.gotoAndPlay(2);
return (true);
};
return (false);
}
public function get voiceFlg():Boolean{
return (vFlg);
}
public function get DDobj():Object{
return (channelE);
}
public function playHsound():void{
var _local1:int;
var _local2:SoundChannel;
if (sFlg){
return;
};
sFlg = true;
_local1 = (Math.floor((Math.random() * 3)) + 1);
_local2 = hSound[_local1].play();
_local2.addEventListener(Event.SOUND_COMPLETE, soundCompFunc);
}
public function setVolume(_arg1:Number):void{
var _local2:SoundTransform;
_local2 = channelE.soundTransform;
_local2.volume = _arg1;
channelE.soundTransform = _local2;
}
public function get getVol():Number{
return (iVol);
}
public function playVoice():void{
var _local1:int;
var _local2:SoundChannel;
if (vFlg){
return;
};
vFlg = true;
_local1 = ((Math.random() * 6) + 1);
_local2 = voice[_local1].play();
_local2.addEventListener(Event.SOUND_COMPLETE, voiceCompFunc);
}
}
}//package game.Ecard
Section 87
//ContextMenuSet (game.ContextMenuSet)
package game {
import flash.display.*;
import flash.events.*;
import flash.ui.*;
public class ContextMenuSet extends Sprite {
protected var myContextMenu:ContextMenu;
protected var rootMC:MovieClip;
public function ContextMenuSet(_arg1:MovieClip){
myContextMenu = new ContextMenu();
removeDefaultItems();
addCustomMenuItems();
myContextMenu.addEventListener(ContextMenuEvent.MENU_SELECT, menuSelectHandler);
rootMC = _arg1;
rootMC.contextMenu = myContextMenu;
}
protected function itemSelectHandler0(_arg1:ContextMenuEvent):void{
trace("リスタート");
}
protected function addCustomMenuItems():void{
var _local1:ContextMenuItem;
_local1 = new ContextMenuItem("Restart");
myContextMenu.customItems.push(_local1);
_local1.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, itemSelectHandler0);
}
protected function menuSelectHandler(_arg1:ContextMenuEvent):void{
}
protected function removeDefaultItems():void{
var _local1:ContextMenuBuiltInItems;
myContextMenu.hideBuiltInItems();
_local1 = myContextMenu.builtInItems;
_local1.forwardAndBack = false;
_local1.loop = false;
_local1.play = false;
_local1.print = false;
_local1.quality = true;
_local1.rewind = false;
_local1.save = false;
_local1.zoom = true;
}
}
}//package game
Section 88
//FPSpro (game.FPSpro)
package game {
import flash.text.*;
import flash.utils.*;
public class FPSpro {
private var oldTimer:int;
private var co:uint;
private var count:int;
private var textF:TextField;
public function FPSpro(_arg1:TextField){
count = 0;
oldTimer = 0;
textF = _arg1;
}
public function countPro(_arg1:int):Boolean{
var _local2:int;
_local2 = (co % _arg1);
if (_local2 == 0){
return (true);
};
return (false);
}
public function counting():void{
co++;
count = (count + 1);
if ((getTimer() - oldTimer) >= 1000){
textF.text = (count + "fps");
oldTimer = getTimer();
count = 0;
};
}
}
}//package game
Section 89
//LoaderPro (game.LoaderPro)
package game {
import flash.display.*;
import flash.events.*;
public class LoaderPro {
private var loadingMC:MovieClip;
private var rootMC:MovieClip;
private var info:LoaderInfo;
public function LoaderPro(_arg1:MovieClip, _arg2:MovieClip){
rootMC = _arg1;
loadingMC = _arg2;
rootMC.addEventListener(Event.ENTER_FRAME, enterFrameFunc);
}
private function enterFrameFunc(_arg1:Event):void{
var _local2:int;
var _local3:int;
var _local4:int;
info = rootMC.loaderInfo;
_local2 = info.bytesLoaded;
_local3 = info.bytesTotal;
_local4 = Math.floor(((_local2 / _local3) * 100));
trace((((((_local2 + " / ") + _local3) + " : ") + _local4) + "%"));
loadingMC.gotoAndStop(_local4);
if (_local2 == _local3){
trace("ロード完了");
rootMC.removeEventListener(Event.ENTER_FRAME, enterFrameFunc);
rootMC.play();
};
}
}
}//package game
Section 90
//NumerivalValueInput (game.NumerivalValueInput)
package game {
import flash.display.*;
import flash.events.*;
import flash.text.*;
public class NumerivalValueInput {
private var maxVal:Number;
private var setFlg:Boolean;// = false
private var val:Number;// = 0
private var st:String;// = "0"
private var co:int;// = 0
private var overFlg:Boolean;// = false
private var textF:TextField;
private var tg:MovieClip;
public function NumerivalValueInput(_arg1:MovieClip, _arg2:Number){
st = "0";
val = 0;
overFlg = false;
co = 0;
setFlg = false;
super();
tg = _arg1;
textF = tg.valTXT;
textF.text = st;
maxVal = _arg2;
buttonSet();
}
private function buttonSet():void{
tg.valueBTN0.addEventListener(MouseEvent.CLICK, valueSet);
tg.valueBTN1.addEventListener(MouseEvent.CLICK, valueSet);
tg.valueBTN2.addEventListener(MouseEvent.CLICK, valueSet);
tg.valueBTN3.addEventListener(MouseEvent.CLICK, valueSet);
tg.valueBTN4.addEventListener(MouseEvent.CLICK, valueSet);
tg.valueBTN5.addEventListener(MouseEvent.CLICK, valueSet);
tg.valueBTN6.addEventListener(MouseEvent.CLICK, valueSet);
tg.valueBTN7.addEventListener(MouseEvent.CLICK, valueSet);
tg.valueBTN8.addEventListener(MouseEvent.CLICK, valueSet);
tg.valueBTN9.addEventListener(MouseEvent.CLICK, valueSet);
tg.enterBTN.addEventListener(MouseEvent.CLICK, enterPro);
tg.cancelBTN.addEventListener(MouseEvent.CLICK, cancelPro);
}
private function cancelPro(_arg1:MouseEvent):void{
if (setFlg){
return;
};
st = "0";
textF.text = st;
co = 0;
}
public function get getVal():uint{
return (val);
}
public function set getOverFlg(_arg1:Boolean):void{
_arg1 = overFlg;
}
private function valueSet(_arg1:MouseEvent):void{
var _local2:String;
_local2 = _arg1.target.name.substring(8, 9);
if (setFlg){
return;
};
if (co >= 10){
return;
};
if (st == "0"){
if (_local2 == "0"){
return;
};
st = "";
};
st = (st + _local2);
textF.text = st;
co++;
}
private function enterPro(_arg1:MouseEvent):void{
val = Number(st);
if (maxVal < val){
val = 0;
overFlg = true;
return;
};
if (val == 0){
return;
};
setFlg = true;
}
public function get getOverFlg():Boolean{
return (overFlg);
}
public function removeListenerPro():void{
trace("NumerivalValueInput::リスナー削除作業");
tg.valueBTN0.removeEventListener(MouseEvent.CLICK, valueSet);
tg.valueBTN1.removeEventListener(MouseEvent.CLICK, valueSet);
tg.valueBTN2.removeEventListener(MouseEvent.CLICK, valueSet);
tg.valueBTN3.removeEventListener(MouseEvent.CLICK, valueSet);
tg.valueBTN4.removeEventListener(MouseEvent.CLICK, valueSet);
tg.valueBTN5.removeEventListener(MouseEvent.CLICK, valueSet);
tg.valueBTN6.removeEventListener(MouseEvent.CLICK, valueSet);
tg.valueBTN7.removeEventListener(MouseEvent.CLICK, valueSet);
tg.valueBTN8.removeEventListener(MouseEvent.CLICK, valueSet);
tg.valueBTN9.removeEventListener(MouseEvent.CLICK, valueSet);
tg.enterBTN.removeEventListener(MouseEvent.CLICK, enterPro);
tg.cancelBTN.removeEventListener(MouseEvent.CLICK, cancelPro);
}
}
}//package game
Section 91
//effect01 (effect01)
package {
import flash.media.*;
public dynamic class effect01 extends Sound {
}
}//package
Section 92
//effect02 (effect02)
package {
import flash.media.*;
public dynamic class effect02 extends Sound {
}
}//package
Section 93
//effect03 (effect03)
package {
import flash.media.*;
public dynamic class effect03 extends Sound {
}
}//package
Section 94
//effect04 (effect04)
package {
import flash.media.*;
public dynamic class effect04 extends Sound {
}
}//package
Section 95
//effect10 (effect10)
package {
import flash.media.*;
public dynamic class effect10 extends Sound {
}
}//package
Section 96
//effect11 (effect11)
package {
import flash.media.*;
public dynamic class effect11 extends Sound {
}
}//package
Section 97
//loader (loader)
package {
import flash.display.*;
public dynamic class loader extends MovieClip {
public var bar:MovieClip;
public var loadBar:MovieClip;
}
}//package