Section 1
//apronMC1_31 (Ecard_fla.apronMC1_31)
package Ecard_fla {
import flash.display.*;
public dynamic class apronMC1_31 extends MovieClip {
public var hitAreaMC:MovieClip;
public function apronMC1_31(){
addFrameScript(0, frame1, 39, frame40);
}
function frame1(){
this.stop();
}
function frame40(){
this.stop();
}
}
}//package Ecard_fla
Section 2
//armLMC1_25 (Ecard_fla.armLMC1_25)
package Ecard_fla {
import flash.display.*;
public dynamic class armLMC1_25 extends MovieClip {
public var dressMC:MovieClip;
}
}//package Ecard_fla
Section 3
//armRMC1_23 (Ecard_fla.armRMC1_23)
package Ecard_fla {
import flash.display.*;
public dynamic class armRMC1_23 extends MovieClip {
public var dressMC:MovieClip;
}
}//package Ecard_fla
Section 4
//bodyLMC1_75 (Ecard_fla.bodyLMC1_75)
package Ecard_fla {
import flash.display.*;
public dynamic class bodyLMC1_75 extends MovieClip {
public var hipMC:MovieClip;
public var pantsMC:MovieClip;
public var hitAreaMC1:MovieClip;
public var hitAreaMC2:MovieClip;
public function bodyLMC1_75(){
addFrameScript(13, frame14, 42, frame43);
}
function frame14(){
this.gotoAndStop(1);
}
function frame43(){
this.gotoAndStop(1);
}
}
}//package Ecard_fla
Section 5
//bodyUMC1_70 (Ecard_fla.bodyUMC1_70)
package Ecard_fla {
import flash.display.*;
public dynamic class bodyUMC1_70 extends MovieClip {
public var hitAreaMC:MovieClip;
public var headMC:MovieClip;
public var brassiereMC:MovieClip;
public function bodyUMC1_70(){
addFrameScript(13, frame14, 42, frame43);
}
function frame14(){
this.gotoAndStop(1);
}
function frame43(){
this.gotoAndStop(1);
}
}
}//package Ecard_fla
Section 6
//brassiereMC1_29 (Ecard_fla.brassiereMC1_29)
package Ecard_fla {
import flash.display.*;
public dynamic class brassiereMC1_29 extends MovieClip {
public var hitAreaMC:MovieClip;
public function brassiereMC1_29(){
addFrameScript(0, frame1, 39, frame40);
}
function frame1(){
this.stop();
}
function frame40(){
this.stop();
}
}
}//package Ecard_fla
Section 7
//brassiereMC2_74 (Ecard_fla.brassiereMC2_74)
package Ecard_fla {
import flash.display.*;
public dynamic class brassiereMC2_74 extends MovieClip {
public var hitAreaMC:MovieClip;
public function brassiereMC2_74(){
addFrameScript(0, frame1, 39, frame40);
}
function frame1(){
this.stop();
}
function frame40(){
this.stop();
}
}
}//package Ecard_fla
Section 8
//broachMC1_32 (Ecard_fla.broachMC1_32)
package Ecard_fla {
import flash.display.*;
public dynamic class broachMC1_32 extends MovieClip {
public var hitAreaMC:MovieClip;
public function broachMC1_32(){
addFrameScript(0, frame1, 39, frame40);
}
function frame1(){
this.stop();
}
function frame40(){
this.stop();
}
}
}//package Ecard_fla
Section 9
//BSselectWindowMC_50 (Ecard_fla.BSselectWindowMC_50)
package Ecard_fla {
import flash.display.*;
import flash.text.*;
public dynamic class BSselectWindowMC_50 extends MovieClip {
public var cancelBTN:SimpleButton;
public var mesTXT:TextField;
public var okBTN:SimpleButton;
}
}//package Ecard_fla
Section 10
//cardAllMC_47 (Ecard_fla.cardAllMC_47)
package Ecard_fla {
import flash.display.*;
public dynamic class cardAllMC_47 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_47(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package Ecard_fla
Section 11
//cardSetRMC_17 (Ecard_fla.cardSetRMC_17)
package Ecard_fla {
import flash.display.*;
public dynamic class cardSetRMC_17 extends MovieClip {
public var hitAreaMC:MovieClip;
}
}//package Ecard_fla
Section 12
//cardSlowMC_46 (Ecard_fla.cardSlowMC_46)
package Ecard_fla {
import flash.display.*;
public dynamic class cardSlowMC_46 extends MovieClip {
public var cardMC:MovieClip;
public function cardSlowMC_46(){
addFrameScript(0, frame1, 29, frame30, 44, frame45);
}
function frame1(){
this.stop();
}
function frame30(){
this.stop();
}
function frame45(){
this.stop();
}
}
}//package Ecard_fla
Section 13
//charMC_20 (Ecard_fla.charMC_20)
package Ecard_fla {
import flash.display.*;
public dynamic class charMC_20 extends MovieClip {
public var charMC:MovieClip;
public function charMC_20(){
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 14
//dressMC1_30 (Ecard_fla.dressMC1_30)
package Ecard_fla {
import flash.display.*;
public dynamic class dressMC1_30 extends MovieClip {
public var hitAreaMC:MovieClip;
public function dressMC1_30(){
addFrameScript(0, frame1, 39, frame40);
}
function frame1(){
this.stop();
}
function frame40(){
this.stop();
}
}
}//package Ecard_fla
Section 15
//dressMC2_45 (Ecard_fla.dressMC2_45)
package Ecard_fla {
import flash.display.*;
public dynamic class dressMC2_45 extends MovieClip {
public function dressMC2_45(){
addFrameScript(0, frame1, 39, frame40);
}
function frame1(){
this.stop();
}
function frame40(){
this.stop();
}
}
}//package Ecard_fla
Section 16
//dressMC3_26 (Ecard_fla.dressMC3_26)
package Ecard_fla {
import flash.display.*;
public dynamic class dressMC3_26 extends MovieClip {
public function dressMC3_26(){
addFrameScript(0, frame1, 39, frame40);
}
function frame1(){
this.stop();
}
function frame40(){
this.stop();
}
}
}//package Ecard_fla
Section 17
//dressMC4_24 (Ecard_fla.dressMC4_24)
package Ecard_fla {
import flash.display.*;
public dynamic class dressMC4_24 extends MovieClip {
public function dressMC4_24(){
addFrameScript(0, frame1, 39, frame40);
}
function frame1(){
this.stop();
}
function frame40(){
this.stop();
}
}
}//package Ecard_fla
Section 18
//EcardMC_15 (Ecard_fla.EcardMC_15)
package Ecard_fla {
import flash.display.*;
public dynamic class EcardMC_15 extends MovieClip {
public function EcardMC_15(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package Ecard_fla
Section 19
//enemyMC_16 (Ecard_fla.enemyMC_16)
package Ecard_fla {
import flash.display.*;
public dynamic class enemyMC_16 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_16(){
addFrameScript(0, frame1, 49, frame50);
}
function frame1(){
this.stop();
}
function frame50(){
this.stop();
}
}
}//package Ecard_fla
Section 20
//eroMC1_67 (Ecard_fla.eroMC1_67)
package Ecard_fla {
import flash.display.*;
import flash.text.*;
public dynamic class eroMC1_67 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_67(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package Ecard_fla
Section 21
//eroMC2_100 (Ecard_fla.eroMC2_100)
package Ecard_fla {
import flash.display.*;
public dynamic class eroMC2_100 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_100(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package Ecard_fla
Section 22
//eyeGlassesMC1_36 (Ecard_fla.eyeGlassesMC1_36)
package Ecard_fla {
import flash.display.*;
public dynamic class eyeGlassesMC1_36 extends MovieClip {
public var hitAreaMC:MovieClip;
public function eyeGlassesMC1_36(){
addFrameScript(0, frame1, 39, frame40);
}
function frame1(){
this.stop();
}
function frame40(){
this.stop();
}
}
}//package Ecard_fla
Section 23
//fukidasiMC1_48 (Ecard_fla.fukidasiMC1_48)
package Ecard_fla {
import flash.display.*;
public dynamic class fukidasiMC1_48 extends MovieClip {
public function fukidasiMC1_48(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package Ecard_fla
Section 24
//fukidasiMC2_99 (Ecard_fla.fukidasiMC2_99)
package Ecard_fla {
import flash.display.*;
public dynamic class fukidasiMC2_99 extends MovieClip {
public function fukidasiMC2_99(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package Ecard_fla
Section 25
//fukidasiMC3_110 (Ecard_fla.fukidasiMC3_110)
package Ecard_fla {
import flash.display.*;
public dynamic class fukidasiMC3_110 extends MovieClip {
public function fukidasiMC3_110(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package Ecard_fla
Section 26
//gameMC_49 (Ecard_fla.gameMC_49)
package Ecard_fla {
import flash.display.*;
import flash.text.*;
public dynamic class gameMC_49 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_49(){
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 27
//handMC1_87 (Ecard_fla.handMC1_87)
package Ecard_fla {
import flash.display.*;
public dynamic class handMC1_87 extends MovieClip {
public var itemMC:MovieClip;
public function handMC1_87(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package Ecard_fla
Section 28
//handRMC1_44 (Ecard_fla.handRMC1_44)
package Ecard_fla {
import flash.display.*;
public dynamic class handRMC1_44 extends MovieClip {
public var dressMC:MovieClip;
}
}//package Ecard_fla
Section 29
//headMC1_33 (Ecard_fla.headMC1_33)
package Ecard_fla {
import flash.display.*;
public dynamic class headMC1_33 extends MovieClip {
public var katyushaMC:MovieClip;
public var eyeGlassesMC:MovieClip;
public var faceMC:MovieClip;
public function headMC1_33(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package Ecard_fla
Section 30
//headMC2_72 (Ecard_fla.headMC2_72)
package Ecard_fla {
import flash.display.*;
public dynamic class headMC2_72 extends MovieClip {
public var katyushaMC:MovieClip;
public var eyeGlassesMC:MovieClip;
public function headMC2_72(){
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 31
//headMC3_104 (Ecard_fla.headMC3_104)
package Ecard_fla {
import flash.display.*;
public dynamic class headMC3_104 extends MovieClip {
public var katyushaMC:MovieClip;
public var eyeGlassesMC:MovieClip;
public function headMC3_104(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 10, frame11, 11, frame12, 12, frame13, 13, frame14, 14, frame15, 15, frame16, 16, frame17, 17, frame18, 58, frame59, 64, frame65, 65, frame66, 66, frame67, 67, frame68, 68, frame69, 69, frame70, 70, frame71, 72, frame73, 78, frame79, 79, frame80, 80, frame81, 81, frame82, 82, frame83, 83, frame84, 84, frame85, 85, frame86, 86, frame87, 87, frame88, 88, frame89, 89, frame90, 90, frame91, 91, frame92, 92, frame93, 93, frame94, 94, frame95, 96, frame97, 231, frame232);
}
function frame65(){
this.play();
play();
}
function frame70(){
this.play();
play();
}
function frame73(){
this.gotoAndPlay("P1");
}
function frame71(){
this.play();
play();
}
function frame84(){
this.play();
play();
}
function frame86(){
this.play();
play();
}
function frame80(){
this.play();
play();
}
function frame81(){
this.play();
play();
}
function frame82(){
this.play();
play();
}
function frame79(){
this.play();
play();
}
function frame87(){
this.play();
play();
}
function frame89(){
this.play();
play();
}
function frame88(){
this.play();
play();
}
function frame90(){
this.play();
play();
}
function frame91(){
this.play();
play();
}
function frame94(){
this.play();
play();
}
function frame10(){
this.play();
play();
}
function frame14(){
this.play();
play();
}
function frame85(){
this.play();
play();
}
function frame18(){
this.play();
play();
}
function frame12(){
this.play();
play();
}
function frame93(){
this.play();
play();
}
function frame97(){
this.gotoAndPlay("P1");
}
function frame3(){
this.play();
play();
}
function frame6(){
this.play();
play();
}
function frame7(){
this.play();
play();
}
function frame1(){
this.play();
play();
}
function frame13(){
this.play();
play();
}
function frame17(){
this.play();
play();
}
function frame4(){
this.play();
play();
}
function frame5(){
this.play();
play();
}
function frame9(){
this.play();
play();
}
function frame83(){
this.play();
play();
}
function frame16(){
this.play();
play();
}
function frame8(){
this.play();
play();
}
function frame232(){
this.gotoAndPlay("P2");
}
function frame2(){
this.play();
play();
}
function frame15(){
this.play();
play();
}
function frame92(){
this.play();
play();
}
function frame95(){
this.play();
play();
}
function frame11(){
this.play();
play();
}
function frame59(){
this.gotoAndPlay("P1");
}
function frame66(){
this.play();
play();
}
function frame67(){
this.play();
play();
}
function frame68(){
this.play();
play();
}
function frame69(){
this.play();
play();
}
}
}//package Ecard_fla
Section 32
//hipMC_76 (Ecard_fla.hipMC_76)
package Ecard_fla {
import flash.display.*;
public dynamic class hipMC_76 extends MovieClip {
public var juiceMC:MovieClip;
public function hipMC_76(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package Ecard_fla
Section 33
//IconMC1_hand_82 (Ecard_fla.IconMC1_hand_82)
package Ecard_fla {
import flash.display.*;
public dynamic class IconMC1_hand_82 extends MovieClip {
public function IconMC1_hand_82(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package Ecard_fla
Section 34
//IconMC10_vibrator_84 (Ecard_fla.IconMC10_vibrator_84)
package Ecard_fla {
import flash.display.*;
public dynamic class IconMC10_vibrator_84 extends MovieClip {
public function IconMC10_vibrator_84(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package Ecard_fla
Section 35
//IconMC3_brush_81 (Ecard_fla.IconMC3_brush_81)
package Ecard_fla {
import flash.display.*;
public dynamic class IconMC3_brush_81 extends MovieClip {
public function IconMC3_brush_81(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package Ecard_fla
Section 36
//IconMC6_rotor_83 (Ecard_fla.IconMC6_rotor_83)
package Ecard_fla {
import flash.display.*;
public dynamic class IconMC6_rotor_83 extends MovieClip {
public function IconMC6_rotor_83(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package Ecard_fla
Section 37
//IconMC8_tinko_86 (Ecard_fla.IconMC8_tinko_86)
package Ecard_fla {
import flash.display.*;
public dynamic class IconMC8_tinko_86 extends MovieClip {
public function IconMC8_tinko_86(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package Ecard_fla
Section 38
//IconMC9_korgi_85 (Ecard_fla.IconMC9_korgi_85)
package Ecard_fla {
import flash.display.*;
public dynamic class IconMC9_korgi_85 extends MovieClip {
public function IconMC9_korgi_85(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package Ecard_fla
Section 39
//insertBTNMC_106 (Ecard_fla.insertBTNMC_106)
package Ecard_fla {
import flash.display.*;
public dynamic class insertBTNMC_106 extends MovieClip {
public function insertBTNMC_106(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package Ecard_fla
Section 40
//juiceMC1_78 (Ecard_fla.juiceMC1_78)
package Ecard_fla {
import flash.display.*;
public dynamic class juiceMC1_78 extends MovieClip {
public function juiceMC1_78(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package Ecard_fla
Section 41
//katyushaMC1_34 (Ecard_fla.katyushaMC1_34)
package Ecard_fla {
import flash.display.*;
public dynamic class katyushaMC1_34 extends MovieClip {
public var hitAreaMC:MovieClip;
public function katyushaMC1_34(){
addFrameScript(0, frame1, 39, frame40);
}
function frame1(){
this.stop();
}
function frame40(){
this.stop();
}
}
}//package Ecard_fla
Section 42
//katyushaMC2_73 (Ecard_fla.katyushaMC2_73)
package Ecard_fla {
import flash.display.*;
public dynamic class katyushaMC2_73 extends MovieClip {
public var hitAreaMC:MovieClip;
public function katyushaMC2_73(){
addFrameScript(0, frame1, 39, frame40);
}
function frame1(){
this.stop();
}
function frame40(){
this.stop();
}
}
}//package Ecard_fla
Section 43
//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 44
//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 45
//messageWindowMC_65 (Ecard_fla.messageWindowMC_65)
package Ecard_fla {
import flash.display.*;
import flash.text.*;
public dynamic class messageWindowMC_65 extends MovieClip {
public var mesTXT:TextField;
}
}//package Ecard_fla
Section 46
//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 47
//NVinputMC_53 (Ecard_fla.NVinputMC_53)
package Ecard_fla {
import flash.display.*;
import flash.text.*;
public dynamic class NVinputMC_53 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 48
//pantsMC1_28 (Ecard_fla.pantsMC1_28)
package Ecard_fla {
import flash.display.*;
public dynamic class pantsMC1_28 extends MovieClip {
public var hitAreaMC:MovieClip;
public function pantsMC1_28(){
addFrameScript(0, frame1, 39, frame40);
}
function frame1(){
this.stop();
}
function frame40(){
this.stop();
}
}
}//package Ecard_fla
Section 49
//pantsMC2_79 (Ecard_fla.pantsMC2_79)
package Ecard_fla {
import flash.display.*;
public dynamic class pantsMC2_79 extends MovieClip {
public var hitAreaMC:MovieClip;
public var stainMC:MovieClip;
public function pantsMC2_79(){
addFrameScript(0, frame1, 39, frame40);
}
function frame1(){
this.stop();
}
function frame40(){
this.stop();
}
}
}//package Ecard_fla
Section 50
//partsFMC1_27 (Ecard_fla.partsFMC1_27)
package Ecard_fla {
import flash.display.*;
public dynamic class partsFMC1_27 extends MovieClip {
public var dressMC:MovieClip;
public var apronMC:MovieClip;
public var pantsMC:MovieClip;
public var brassiereMC:MovieClip;
public var broachMC:MovieClip;
}
}//package Ecard_fla
Section 51
//pHandMC1_88 (Ecard_fla.pHandMC1_88)
package Ecard_fla {
import flash.display.*;
public dynamic class pHandMC1_88 extends MovieClip {
public function pHandMC1_88(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package Ecard_fla
Section 52
//pHandMC10_1_95 (Ecard_fla.pHandMC10_1_95)
package Ecard_fla {
import flash.display.*;
public dynamic class pHandMC10_1_95 extends MovieClip {
public var itemMC:MovieClip;
public function pHandMC10_1_95(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package Ecard_fla
Section 53
//pHandMC11_98 (Ecard_fla.pHandMC11_98)
package Ecard_fla {
import flash.display.*;
public dynamic class pHandMC11_98 extends MovieClip {
public function pHandMC11_98(){
addFrameScript(0, frame1);
}
function frame1(){
}
}
}//package Ecard_fla
Section 54
//pHandMC3_89 (Ecard_fla.pHandMC3_89)
package Ecard_fla {
import flash.display.*;
public dynamic class pHandMC3_89 extends MovieClip {
public function pHandMC3_89(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package Ecard_fla
Section 55
//pHandMC7_1_93 (Ecard_fla.pHandMC7_1_93)
package Ecard_fla {
import flash.display.*;
public dynamic class pHandMC7_1_93 extends MovieClip {
public var itemMC:MovieClip;
public function pHandMC7_1_93(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package Ecard_fla
Section 56
//pHandMC9_90 (Ecard_fla.pHandMC9_90)
package Ecard_fla {
import flash.display.*;
public dynamic class pHandMC9_90 extends MovieClip {
public var korgiMC:MovieClip;
public function pHandMC9_90(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package Ecard_fla
Section 57
//pieMC_103 (Ecard_fla.pieMC_103)
package Ecard_fla {
import flash.display.*;
public dynamic class pieMC_103 extends MovieClip {
public function pieMC_103(){
addFrameScript(58, frame59);
}
function frame59(){
this.stop();
}
}
}//package Ecard_fla
Section 58
//PunishmentMC_111 (Ecard_fla.PunishmentMC_111)
package Ecard_fla {
import flash.display.*;
public dynamic class PunishmentMC_111 extends MovieClip {
public function PunishmentMC_111(){
addFrameScript(467, frame468);
}
function frame468(){
this.stop();
}
}
}//package Ecard_fla
Section 59
//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 60
//sakiMC1_21 (Ecard_fla.sakiMC1_21)
package Ecard_fla {
import flash.display.*;
public dynamic class sakiMC1_21 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_21(){
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 61
//sakiMC2_69 (Ecard_fla.sakiMC2_69)
package Ecard_fla {
import flash.display.*;
public dynamic class sakiMC2_69 extends MovieClip {
public var bodyLMC:MovieClip;
public var bodyUMC:MovieClip;
public function sakiMC2_69(){
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 62
//sakiMC3_101 (Ecard_fla.sakiMC3_101)
package Ecard_fla {
import flash.display.*;
public dynamic class sakiMC3_101 extends MovieClip {
public var pieMC:MovieClip;
public var headMC:MovieClip;
public function sakiMC3_101(){
addFrameScript(0, frame1, 9, frame10, 11, frame12, 147, frame148);
}
function frame10(){
this.pieMC.play();
}
function frame12(){
this.pieMC.play();
}
function frame1(){
this.stop();
}
function frame148(){
this.gotoAndPlay("P1");
}
}
}//package Ecard_fla
Section 63
//screenWTMC_105 (Ecard_fla.screenWTMC_105)
package Ecard_fla {
import flash.display.*;
public dynamic class screenWTMC_105 extends MovieClip {
public function screenWTMC_105(){
addFrameScript(0, frame1, 119, frame120);
}
function frame1(){
this.stop();
}
function frame120(){
this.stop();
}
}
}//package Ecard_fla
Section 64
//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 65
//stainMC1_80 (Ecard_fla.stainMC1_80)
package Ecard_fla {
import flash.display.*;
public dynamic class stainMC1_80 extends MovieClip {
public function stainMC1_80(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package Ecard_fla
Section 66
//stainMC2_68 (Ecard_fla.stainMC2_68)
package Ecard_fla {
import flash.display.*;
public dynamic class stainMC2_68 extends MovieClip {
public function stainMC2_68(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package Ecard_fla
Section 67
//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 68
//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 69
//titleMC_11 (Ecard_fla.titleMC_11)
package Ecard_fla {
import flash.display.*;
public dynamic class titleMC_11 extends MovieClip {
public var emperor:SimpleButton;
public var slave:SimpleButton;
}
}//package Ecard_fla
Section 70
//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 returnFlg:Boolean;// = false
private var startFlg:String;// = ""
private var cardMC:Array;
private var snd:Sound_Ecard;
private var titleMC:MovieClip;
private var btnMC:Array;
private var setCardNo:int;// = 0
private var selectCompFlg:Boolean;// = false
public var tgC:MovieClip;
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;
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);
} 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);
};
};
};
};
}
public function set cSetNo(_arg1:int):void{
setCardNo = _arg1;
}
public function get getSflg():String{
return (startFlg);
}
private function startButtonOn(_arg1:MouseEvent):void{
startFlg = _arg1.target.name;
}
protected function mouseMV(_arg1:MouseEvent):void{
mouseFlg = _arg1.buttonDown;
}
private function returnButtonOn(_arg1:MouseEvent):void{
returnFlg = true;
snd.playEffectS(1, 1);
}
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;
}
public function get mouseBTN():Boolean{
return (mouseFlg);
}
public function debugPro():void{
var _local1:String;
var _local2:String;
_local1 = ("\nmouseFlg:" + mouseFlg);
_local2 = (_local1 + "\n");
rootMC.dText.text = _local2;
}
public function cardDelete():void{
tgC.x = 700;
selectCompFlg = false;
}
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);
}
public function get cSetNo():int{
return (setCardNo);
}
public function get getReturnFlg():Boolean{
return (returnFlg);
}
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);
} 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 = null;
}
private function endButtonOn(_arg1:MouseEvent):void{
endFlg = true;
}
public function get getEndFlg():Boolean{
return (endFlg);
}
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();
_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);
}
}
}//package game.Ecard
Section 71
//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 screenMC:MovieClip;
public var pBroach;
public var ic:Array;
public var pDress:Array;
public var stainP;
public var stainS;
public var pApron;
public var tgHL;
public var tgHR:MovieClip;
public var tgCr;
public var fukiMC:MovieClip;
public var handMC:MovieClip;
public var pPants:MovieClip;
public var tgHd;
public var tgHp;
public var char:MovieClip;
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();
}
public function getTarget():void{
var _local1: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;
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;
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;
pKatyusha = tgHd.katyushaMC;
pBrassiere = tgBU.brassiereMC;
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[5].flg){
pBrassiere.gotoAndStop(pBrassiere.totalFrames);
};
if (eData.partsD[6].flg){
pPants.gotoAndStop(pPants.totalFrames);
};
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;
pKatyusha = tgHd.katyushaMC;
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);
};
};
};
};
}
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 72
//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{
trace("リスタート!!");
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 73
//EcardMain (game.Ecard.EcardMain)
package game.Ecard {
import flash.display.*;
import flash.events.*;
import game.*;
public class EcardMain {
private var cms:CMS_Ecard;
private var occupation:String;// = "emperor"
private var readyFlg:Array;
private var round:int;// = 1
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;
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※次回から地位が入れ替わります";
};
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)) + " GOLD") + _local3);
} else {
if (_arg1 == 2){
_local2 = ((((round + "回戦終了 (皇帝2倍 奴隷10倍)\n残金 ") + _local4) + " GOLD") + _local3);
} else {
if (_arg1 == 10){
_local2 = ((((((("最終結果\n残金 " + _local4) + " - 借入金 ") + _local6) + " = ") + (_local4 - _local6)) + " GOLD") + "\n\n最初の借入金を返済できませんでした…");
} else {
if (_arg1 == 11){
_local2 = ((((((("最終結果\n残金 " + _local4) + " - 借金 ") + _local6) + " = ") + (_local4 - _local6)) + " GOLD") + "\n\nゲーム中に衣服を脱がす事が出来ませんでした…");
} else {
if (_arg1 == 12){
_local2 = ((((((("最終結果\n残金 " + _local4) + " - 借金 ") + _local6) + " = ") + (_local4 - _local6)) + " GOLD") + "\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:String;
var _local3:String;
var _local4:Boolean;
if (ed != null){
_local1 = ed.getGold;
};
if (btn != null){
_local4 = btn.mouseBTN;
};
_local2 = ("sFlg: " + _local4);
_local3 = ((_local2 + "\ngold:") + _local1);
rootMC.dText.text = _local3;
}
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:int;
var _local14: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);
btn = new Button_Ecard(rootMC, _local3);
readyFlg[0] = true;
};
if ((((btn.getSflg == "emperor")) || ((btn.getSflg == "slave")))){
occupation = btn.getSflg;
btn.getSflg = "";
readyFlg[0] = false;
btn.removeListenerPro();
btn = null;
rootMC.gotoAndStop(20);
};
};
} else {
if (_local2 == 20){
if (((!((rootMC.NVinputMC == null))) && (!((rootMC.enemyMC.fukidasiMC == null))))){
if (!readyFlg[0]){
rootMC.NVinputMC.y = 280;
rootMC.messageWindowMC.y = 420;
ed.targetSet(rootMC.gameMC.goldTXT);
rootMC.NVinputMC.mesTXT.text = (("現在のあなたの所持金は\n" + ed.getGold) + " GOLDです");
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);
_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){
rootMC.gotoAndStop(40);
removeListenerPro();
} else {
if (round >= 13){
if ((ed.getGold - ed.getBufGold) < ed.getBufGold){
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);
btn = new Button_Ecard(rootMC, _local12);
ins = new Insert_processing(rootMC, _local11.charMC);
readyFlg[0] = true;
rootMC.gotoAndStop(36);
};
};
} else {
if (_local2 == 36){
ins.mainPro();
ins.onClickFlg = btn.mouseBTN;
if (btn.getReturnFlg){
rootMC.gotoAndStop(30);
removeListenerPro();
};
if (btn.getEndFlg){
removeListenerPro("clear");
rootMC.gotoAndStop(10);
};
} else {
if (_local2 == 40){
if (rootMC.PunishmentMC != null){
_local13 = rootMC.PunishmentMC.currentFrame;
_local14 = rootMC.PunishmentMC.totalFrames;
if (_local13 == _local14){
removeListenerPro("clear");
rootMC.gotoAndStop(10);
};
};
};
};
};
};
};
};
};
};
};
};
fps.counting();
}
}
}//package game.Ecard
Section 74
//eData (game.Ecard.eData)
package game.Ecard {
import flash.text.*;
public class eData {
private static var gold:Number = 0;
public static var partsD:Array;
private static var bfGold:Number;
private static var co:int = 0;
private static var betVal:Number = 0;
public static var itemD:Array;
private static var tg:TextField;
public function eData(_arg1:Number){
if (co == 0){
trace("***********************************************\nCalculatingGold::コンストラクタ 最初の1回だけ設定\n*****************************************");
gold = _arg1;
bfGold = gold;
initialSet();
};
co++;
}
public function payPro(_arg1:int, _arg2:Boolean):Boolean{
if (partsD[_arg1].price <= gold){
if (_arg2){
gold = (gold - partsD[_arg1].price);
tg.text = (gold + " GOLD");
};
return (true);
//unresolved jump
};
return (false);
}
public function get getBetVal():Number{
return (betVal);
}
public function dClear():void{
var _local1:int;
trace("CalculatingGold::データクリア処理");
gold = bfGold;
betVal = 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 + " GOLD");
return (gold);
}
public function set getBetVal(_arg1:Number):void{
betVal = _arg1;
gold = (gold - betVal);
tg.text = (gold + " GOLD");
}
public function payPro2(_arg1:int, _arg2:Boolean):Boolean{
if (itemD[_arg1].price <= gold){
if (_arg2){
gold = (gold - itemD[_arg1].price);
tg.text = (gold + " GOLD");
};
return (true);
//unresolved jump
};
return (false);
}
public function removePro():void{
trace("*************************************\nCalculatingGold::リムーブ処理 static変数を全部初期化\n**********************************");
gold = 0;
betVal = 0;
co = 0;
partsD = null;
}
public function targetSet(_arg1:TextField):void{
tg = _arg1;
tg.text = (gold + " GOLD");
}
public function get getGold():Number{
return (gold);
}
public function set getGold(_arg1:Number):void{
gold = _arg1;
}
public function get getBufGold():Number{
return (bfGold);
}
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;
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;
}
}
}//package game.Ecard
Section 75
//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();
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) + " GOLDです\n\n") + "お金が足りません……");
} else {
if (_arg2 == "parts"){
_arg2 = ((((eData.partsD[_arg1].name + "は ") + eData.partsD[_arg1].price) + " GOLDです\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) + " GOLDです\n\n") + "払って脱がせますか?\n所持金 ") + _local3) + " GOLD");
} else {
if (_arg1 == 2){
_local2 = (((((("残金\n" + _local3) + " - ") + eData.partsD[pcNo].price) + " = ") + (_local3 - eData.partsD[pcNo].price)) + " GOLD");
};
};
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 == 5){
char.pBrassiere.play();
} else {
if (pcNo == 6){
char.pPants.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) + " GOLDです\n\n") + "アイテムを購入しますか?\n所持金 ") + _local4) + " GOLD");
} else {
_local3 = (((((("残金\n" + _local4) + " - ") + eData.itemD[_arg2].price) + " = ") + (_local4 - eData.itemD[_arg2].price)) + " GOLD");
};
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[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 (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 76
//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 == 20){
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;
if (char.iBTNMC.hitTestPoint(mx, my, false)){
if (clickFlg){
_local5 = true;
if (btnFlg == 0){
if (cfC == 12){
reactionPro((Math.floor((Math.random() * 2)) + 2), " !!! 12f");
} else {
if (cfC == 10){
reactionPro(1, "10以下");
ect = (ect + 20);
} else {
ect = (ect + 3);
};
};
};
};
};
if (_local5){
char.iBTNMC.nextFrame();
if ((((btnFlg == 0)) && (!(lastFlg)))){
_local4 = 1;
} else {
_local4 = -1;
};
} else {
char.iBTNMC.prevFrame();
_local4 = -1;
};
if (cfC == 20){
lastFlg = true;
btnFlg = 2;
char.char.gotoAndStop(9);
trace("ラスト到達 10へ戻す");
};
if (cfC == 1){
btnFlg = 0;
lastFlg = false;
};
_local6 = (char.char.currentFrame + _local4);
if (bfcf != _local6){
char.char.gotoAndStop(_local6);
char.tgHd.play();
bfcf = _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.play();
char.screenMC.play();
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 77
//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 cancelBTN:SimpleButton;
private var pcNo:int;// = 0
private var judg:int;// = -1
private var cfT2:int;
private var playNo:int;// = 0
private var count:int;// = 1
private var ed:eData;
private var comNo:int;// = 0
private var fukidasi;
private var ddSt:String;
private var tgCslow:MovieClip;
private var attack:Boolean;// = true
private var occupation:String;
private var char:Char_targetPro;
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 tgEne;
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;
bufferFlg = new Array();
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 (cfT1 == 70){
fukidasiPro(50);
tgCslow.play();
tgEne.cardAllMC.nextFrame();
};
if (cfT1 >= 118){
fukidasiPro(5);
comNo = COMbrain();
comNoFlg[comNo] = true;
};
} else {
if (cfT1 == 10){
};
if (cfT1 == 70){
fukidasiPro(50);
tgCslow.play();
tgEne.cardAllMC.nextFrame();
};
if (cfT1 >= 118){
comNo = COMbrain();
comNoFlg[comNo] = true;
};
};
}
private function partsCheack():void{
var _local1:int;
var _local2:int;
if (pcFlg){
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[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 (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;
};
}
private function playerPro():void{
COMtalkPro1("");
}
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);
};
}
private function messageWinPro(_arg1:int):void{
var _local2:String;
_local2 = ((((eData.partsD[_arg1].name + "は ") + eData.partsD[_arg1].price) + " GOLDです\n\n") + "お金が足りません……");
rootMC.messageWindowMC.mesTXT.text = _local2;
rootMC.messageWindowMC.y = 280;
}
private function cardJudgment():int{
var _local1:int;
var _local2: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;
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 = new Array("引き分け", "あなたの勝ち!!", "あなたの負け…");
trace((_local2[_local1] + "\n"));
return (_local1);
}
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){
playerPro();
};
if ((((comNo == 0)) && (!((playNo == 0))))){
COMpro1(attack);
};
ddSt = "Play 先攻";
};
card2check();
} else {
if (occupation == "slave"){
if (attack){
if (playNo == 0){
playerPro();
};
if ((((comNo == 0)) && (!((playNo == 0))))){
COMpro1(!(attack));
};
ddSt = "Play 先攻";
} else {
if (comNo == 0){
COMpro1(!(attack));
} else {
COMtalkPro1("");
};
ddSt = "COM 先攻";
};
card2check();
};
};
} else {
if (!bufferFlg[0]){
cardOpenPro();
};
if (((bufferFlg[0]) && (!(bufferFlg[1])))){
judg = cardJudgment();
rootMC.timerMC2.gotoAndPlay(2);
bufferFlg[1] = true;
};
if (bufferFlg[1]){
postProcessing();
};
};
return (false);
}
private function COMbrain():int{
var _local1:int;
var _local2:int;
_local1 = 0;
do {
_local1++;
if (_local1 == 1){
} else {
_local2 = ((Math.random() * 5) + 1);
};
} while (comNoFlg[_local2]);
return (_local2);
}
public function get judgVal():int{
return (judgBf);
}
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 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) + " GOLDです\n\n") + "払って脱がせますか?\n所持金 ") + _local3) + " GOLD");
} else {
if (_arg1 == 2){
_local2 = (((((("残金\n" + _local3) + " - ") + eData.partsD[pcNo].price) + " = ") + (_local3 - eData.partsD[pcNo].price)) + " GOLD");
};
};
rootMC.BSselectWindowMC.mesTXT.text = _local2;
}
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();
};
};
};
};
};
};
eData.partsD[pcNo].flg = true;
partsSselectWindowPro(2);
ed.payPro(pcNo, true);
snd.playEffectS(2, 0.3);
}
private function COMtalkPro1(_arg1:String):void{
var _local2:int;
if (cfT2 != 1){
return;
};
if (_arg1 == "攻守交替"){
count = tgEne.cardAllMC.currentFrame;
if (occupation == "emperor"){
if (count == 1){
fukidasiPro(2);
} else {
if (count == 3){
fukidasiPro(6);
} else {
if ((((count == 2)) || ((count == 4)))){
fukidasiPro(7);
} else {
if (count == 5){
fukidasiPro(8);
};
};
};
};
} else {
if (occupation == "slave"){
if (count == 1){
fukidasiPro(3);
} else {
if ((((count == 2)) || ((count == 4)))){
fukidasiPro(6);
} else {
if (count == 3){
fukidasiPro(7);
} else {
if (count == 5){
fukidasiPro(9);
};
};
};
};
};
};
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);
}
public function debugPro():void{
var _local1:String;
var _local2:String;
_local1 = ((((((((((((((((("cfT1:" + cfT1) + "\ncfT2:") + cfT2) + "\ncomNo:") + comNo) + "\nPlayNo:") + playNo) + "\nattack:") + attack) + "\n") + ddSt) + "\n両者決定フラグ:") + decisionFlg) + "\n\njudgBf:") + judgBf) + "\njudg:") + judg);
_local2 = _local1;
rootMC.dText.text = _local2;
}
public function set judgVal(_arg1:int):void{
judgBf = _arg1;
}
private function cancelButtonOnP(_arg1:MouseEvent){
pcFlg = false;
pcNo = 0;
rootMC.BSselectWindowMC.x = 520;
rootMC.BSselectWindowMC.y = 420;
}
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)) || ((_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 {
_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;
}
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();
};
}
}
}//package game.Ecard
Section 78
//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 79
//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 80
//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 81
//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 82
//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 83
//effect01 (effect01)
package {
import flash.media.*;
public dynamic class effect01 extends Sound {
}
}//package
Section 84
//effect02 (effect02)
package {
import flash.media.*;
public dynamic class effect02 extends Sound {
}
}//package
Section 85
//effect03 (effect03)
package {
import flash.media.*;
public dynamic class effect03 extends Sound {
}
}//package
Section 86
//effect04 (effect04)
package {
import flash.media.*;
public dynamic class effect04 extends Sound {
}
}//package
Section 87
//effect10 (effect10)
package {
import flash.media.*;
public dynamic class effect10 extends Sound {
}
}//package
Section 88
//effect11 (effect11)
package {
import flash.media.*;
public dynamic class effect11 extends Sound {
}
}//package
Section 89
//loader (loader)
package {
import flash.display.*;
public dynamic class loader extends MovieClip {
public var bar:MovieClip;
public var loadBar:MovieClip;
}
}//package