Section 1
//arrestBtnMC_36 (dLupan_fla.arrestBtnMC_36)
package dLupan_fla {
import flash.display.*;
public dynamic class arrestBtnMC_36 extends MovieClip {
public function arrestBtnMC_36(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package dLupan_fla
Section 2
//braMC_50 (dLupan_fla.braMC_50)
package dLupan_fla {
import flash.display.*;
public dynamic class braMC_50 extends MovieClip {
public var hitAreaMC:MovieClip;
public function braMC_50(){
addFrameScript(0, frame1, 30, frame31);
}
function frame1(){
this.stop();
}
function frame31(){
this.stop();
}
}
}//package dLupan_fla
Section 3
//danmenMC_101 (dLupan_fla.danmenMC_101)
package dLupan_fla {
import flash.display.*;
public dynamic class danmenMC_101 extends MovieClip {
public var sikyuMC:MovieClip;
public var hitAreaMC:MovieClip;
public function danmenMC_101(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package dLupan_fla
Section 4
//finishMC_96 (dLupan_fla.finishMC_96)
package dLupan_fla {
import flash.display.*;
public dynamic class finishMC_96 extends MovieClip {
public var returnBTN:SimpleButton;
public var fukidasiMC:MovieClip;
public var fujikoMC:MovieClip;
public var gaugeMC:MovieClip;
public var danmenMC:MovieClip;
public var inBTNMC:MovieClip;
public function finishMC_96(){
addFrameScript(0, frame1, 119, frame120);
}
function frame1(){
this.stop();
}
function frame120(){
this.stop();
}
}
}//package dLupan_fla
Section 5
//fujiko_headMC1_46 (dLupan_fla.fujiko_headMC1_46)
package dLupan_fla {
import flash.display.*;
public dynamic class fujiko_headMC1_46 extends MovieClip {
public var hitAreaMC:MovieClip;
public var pinkMC:MovieClip;
public function fujiko_headMC1_46(){
addFrameScript(0, frame1, 58, frame59, 59, frame60, 118, frame119, 134, frame135, 155, frame156, 178, frame179);
}
function frame156(){
this.gotoAndPlay("T1");
}
function frame1(){
}
function frame179(){
this.gotoAndPlay("T2");
}
function frame119(){
this.gotoAndPlay("T2");
}
function frame135(){
this.gotoAndPlay("T1");
}
function frame59(){
this.gotoAndPlay("T1");
}
function frame60(){
}
}
}//package dLupan_fla
Section 6
//fujiko_headMC2_100 (dLupan_fla.fujiko_headMC2_100)
package dLupan_fla {
import flash.display.*;
public dynamic class fujiko_headMC2_100 extends MovieClip {
public var pinkMC:MovieClip;
public function fujiko_headMC2_100(){
addFrameScript(0, frame1, 58, frame59, 59, frame60, 118, frame119, 129, frame130, 155, frame156, 178, frame179, 259, frame260);
}
function frame156(){
this.gotoAndPlay("T1");
}
function frame1(){
}
function frame179(){
this.gotoAndPlay("T2");
}
function frame130(){
this.gotoAndPlay("T1");
}
function frame119(){
this.gotoAndPlay("T2");
}
function frame59(){
this.gotoAndPlay("T1");
}
function frame260(){
this.gotoAndPlay("Floop");
}
function frame60(){
}
}
}//package dLupan_fla
Section 7
//fujiko_legLMC_55 (dLupan_fla.fujiko_legLMC_55)
package dLupan_fla {
import flash.display.*;
public dynamic class fujiko_legLMC_55 extends MovieClip {
public var hitAreaMC:MovieClip;
public var stockingLMC:MovieClip;
}
}//package dLupan_fla
Section 8
//fujiko_legRMC_58 (dLupan_fla.fujiko_legRMC_58)
package dLupan_fla {
import flash.display.*;
public dynamic class fujiko_legRMC_58 extends MovieClip {
public var stockingRMC:MovieClip;
public var hitAreaMC:MovieClip;
public var pantsMC:MovieClip;
}
}//package dLupan_fla
Section 9
//fujiko_lowerBMC_52 (dLupan_fla.fujiko_lowerBMC_52)
package dLupan_fla {
import flash.display.*;
public dynamic class fujiko_lowerBMC_52 extends MovieClip {
public var legLMC:MovieClip;
public var hitAreaMC:MovieClip;
public var innerMC:MovieClip;
public var pantsMC:MovieClip;
public var legRMC:MovieClip;
public function fujiko_lowerBMC_52(){
addFrameScript(10, frame11, 38, frame39);
}
function frame11(){
this.gotoAndStop(1);
}
function frame39(){
this.gotoAndStop(1);
}
}
}//package dLupan_fla
Section 10
//fujiko_pieLMC_49 (dLupan_fla.fujiko_pieLMC_49)
package dLupan_fla {
import flash.display.*;
public dynamic class fujiko_pieLMC_49 extends MovieClip {
public function fujiko_pieLMC_49(){
addFrameScript(0, frame1, 32, frame33);
}
function frame1(){
this.stop();
}
function frame33(){
this.stop();
}
}
}//package dLupan_fla
Section 11
//fujiko_pieRMC_48 (dLupan_fla.fujiko_pieRMC_48)
package dLupan_fla {
import flash.display.*;
public dynamic class fujiko_pieRMC_48 extends MovieClip {
public function fujiko_pieRMC_48(){
addFrameScript(0, frame1, 32, frame33);
}
function frame1(){
this.stop();
}
function frame33(){
this.stop();
}
}
}//package dLupan_fla
Section 12
//fujiko_pieRMC2_99 (dLupan_fla.fujiko_pieRMC2_99)
package dLupan_fla {
import flash.display.*;
public dynamic class fujiko_pieRMC2_99 extends MovieClip {
public function fujiko_pieRMC2_99(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package dLupan_fla
Section 13
//fujiko_upperBMC_44 (dLupan_fla.fujiko_upperBMC_44)
package dLupan_fla {
import flash.display.*;
public dynamic class fujiko_upperBMC_44 extends MovieClip {
public var hitAreaMC:MovieClip;
public var pieRMC:MovieClip;
public var braMC:MovieClip;
public var innerMC:MovieClip;
public var headMC:MovieClip;
public var pieLMC:MovieClip;
public function fujiko_upperBMC_44(){
addFrameScript(10, frame11, 38, frame39);
}
function frame39(){
this.gotoAndStop(1);
}
function frame11(){
this.gotoAndStop(1);
}
}
}//package dLupan_fla
Section 14
//fujiko_upperBMC2_98 (dLupan_fla.fujiko_upperBMC2_98)
package dLupan_fla {
import flash.display.*;
public dynamic class fujiko_upperBMC2_98 extends MovieClip {
public var pieRMC:MovieClip;
public var headMC:MovieClip;
public var pieLMC:MovieClip;
public function fujiko_upperBMC2_98(){
addFrameScript(10, frame11, 33, frame34, 119, frame120);
}
function frame34(){
this.gotoAndStop(1);
}
function frame11(){
this.gotoAndStop(1);
}
function frame120(){
this.gotoAndPlay("Floop");
}
}
}//package dLupan_fla
Section 15
//fujikoMC1_43 (dLupan_fla.fujikoMC1_43)
package dLupan_fla {
import flash.display.*;
public dynamic class fujikoMC1_43 extends MovieClip {
public var upperBMC:MovieClip;
public var lowerBMC:MovieClip;
public function fujikoMC1_43(){
addFrameScript(10, frame11, 38, frame39);
}
function frame39(){
this.gotoAndStop(1);
}
function frame11(){
this.gotoAndStop(1);
}
}
}//package dLupan_fla
Section 16
//fujikoMC2_97 (dLupan_fla.fujikoMC2_97)
package dLupan_fla {
import flash.display.*;
public dynamic class fujikoMC2_97 extends MovieClip {
public var upperBMC:MovieClip;
public function fujikoMC2_97(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package dLupan_fla
Section 17
//fukidasiMC_66 (dLupan_fla.fukidasiMC_66)
package dLupan_fla {
import flash.display.*;
public dynamic class fukidasiMC_66 extends MovieClip {
public function fukidasiMC_66(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package dLupan_fla
Section 18
//fukidasiMC2_105 (dLupan_fla.fukidasiMC2_105)
package dLupan_fla {
import flash.display.*;
public dynamic class fukidasiMC2_105 extends MovieClip {
public function fukidasiMC2_105(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package dLupan_fla
Section 19
//gaugeMC_62 (dLupan_fla.gaugeMC_62)
package dLupan_fla {
import flash.display.*;
public dynamic class gaugeMC_62 extends MovieClip {
public function gaugeMC_62(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package dLupan_fla
Section 20
//handMC1_91 (dLupan_fla.handMC1_91)
package dLupan_fla {
import flash.display.*;
public dynamic class handMC1_91 extends MovieClip {
public var handMC:MovieClip;
public function handMC1_91(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package dLupan_fla
Section 21
//inBTNMC_104 (dLupan_fla.inBTNMC_104)
package dLupan_fla {
import flash.display.*;
public dynamic class inBTNMC_104 extends MovieClip {
public function inBTNMC_104(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package dLupan_fla
Section 22
//innerMC1_54 (dLupan_fla.innerMC1_54)
package dLupan_fla {
import flash.display.*;
public dynamic class innerMC1_54 extends MovieClip {
public var hitAreaMC:MovieClip;
public function innerMC1_54(){
addFrameScript(0, frame1, 7, frame8);
}
function frame1(){
this.stop();
}
function frame8(){
this.stop();
}
}
}//package dLupan_fla
Section 23
//innerMC2_51 (dLupan_fla.innerMC2_51)
package dLupan_fla {
import flash.display.*;
public dynamic class innerMC2_51 extends MovieClip {
public var hitAreaMC:MovieClip;
public function innerMC2_51(){
addFrameScript(0, frame1, 36, frame37);
}
function frame1(){
this.stop();
}
function frame37(){
this.stop();
}
}
}//package dLupan_fla
Section 24
//lightMC_7 (dLupan_fla.lightMC_7)
package dLupan_fla {
import flash.display.*;
public dynamic class lightMC_7 extends MovieClip {
public function lightMC_7(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package dLupan_fla
Section 25
//lineMC1_28 (dLupan_fla.lineMC1_28)
package dLupan_fla {
import flash.display.*;
public dynamic class lineMC1_28 extends MovieClip {
public function lineMC1_28(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package dLupan_fla
Section 26
//lineMC2_29 (dLupan_fla.lineMC2_29)
package dLupan_fla {
import flash.display.*;
public dynamic class lineMC2_29 extends MovieClip {
public function lineMC2_29(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package dLupan_fla
Section 27
//lineMC3_30 (dLupan_fla.lineMC3_30)
package dLupan_fla {
import flash.display.*;
public dynamic class lineMC3_30 extends MovieClip {
public function lineMC3_30(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package dLupan_fla
Section 28
//loadingMC_2 (dLupan_fla.loadingMC_2)
package dLupan_fla {
import flash.display.*;
public dynamic class loadingMC_2 extends MovieClip {
public var barMC:loader;
}
}//package dLupan_fla
Section 29
//lupan_charMC_17 (dLupan_fla.lupan_charMC_17)
package dLupan_fla {
import flash.display.*;
public dynamic class lupan_charMC_17 extends MovieClip {
public var faceMC:MovieClip;
}
}//package dLupan_fla
Section 30
//mainLMC_26 (dLupan_fla.mainLMC_26)
package dLupan_fla {
import flash.display.*;
import flash.text.*;
public dynamic class mainLMC_26 extends MovieClip {
public var R23:MovieClip;
public var R27:MovieClip;
public var R25:MovieClip;
public var R21:MovieClip;
public var R34:MovieClip;
public var R36:MovieClip;
public var R30:MovieClip;
public var R38:MovieClip;
public var R32:MovieClip;
public var searchBtnMC:MovieClip;
public var R43:MovieClip;
public var R45:MovieClip;
public var R41:MovieClip;
public var R50:MovieClip;
public var R52:MovieClip;
public var R54:MovieClip;
public var R56:MovieClip;
public var arrestBtnMC:MovieClip;
public var R58:MovieClip;
public var R47:MovieClip;
public var R63:MovieClip;
public var R65:MovieClip;
public var R61:MovieClip;
public var R67:MovieClip;
public var arrestTXT:TextField;
public var R72:MovieClip;
public var R74:MovieClip;
public var R78:MovieClip;
public var sirenMC2:MovieClip;
public var sirenMC3:MovieClip;
public var turnTXT:TextField;
public var sirenMC1:MovieClip;
public var R70:MovieClip;
public var R76:MovieClip;
public var R81:MovieClip;
public var R83:MovieClip;
public var R85:MovieClip;
public var R87:MovieClip;
public var returnBTN:SimpleButton;
public var searchTXT:TextField;
public var R01:MovieClip;
public var R03:MovieClip;
public var R05:MovieClip;
public var R07:MovieClip;
public var messageMC:MovieClip;
public var charAreaMC:MovieClip;
public var R10:MovieClip;
public var R12:MovieClip;
public var R16:MovieClip;
public var R18:MovieClip;
public var R14:MovieClip;
}
}//package dLupan_fla
Section 31
//mainPMC_39 (dLupan_fla.mainPMC_39)
package dLupan_fla {
import flash.display.*;
import flash.text.*;
public dynamic class mainPMC_39 extends MovieClip {
public var R23:MovieClip;
public var R27:MovieClip;
public var R21:MovieClip;
public var R25:MovieClip;
public var R34:MovieClip;
public var R36:MovieClip;
public var R30:MovieClip;
public var R38:MovieClip;
public var R32:MovieClip;
public var searchBtnMC:MovieClip;
public var R43:MovieClip;
public var R45:MovieClip;
public var R41:MovieClip;
public var R47:MovieClip;
public var R52:MovieClip;
public var R54:MovieClip;
public var R56:MovieClip;
public var R50:MovieClip;
public var R58:MovieClip;
public var arrestBtnMC:MovieClip;
public var R63:MovieClip;
public var R65:MovieClip;
public var R61:MovieClip;
public var R67:MovieClip;
public var arrestTXT:TextField;
public var R72:MovieClip;
public var R74:MovieClip;
public var R78:MovieClip;
public var sirenMC2:MovieClip;
public var sirenMC3:MovieClip;
public var turnTXT:TextField;
public var sirenMC1:MovieClip;
public var R70:MovieClip;
public var R76:MovieClip;
public var R81:MovieClip;
public var R83:MovieClip;
public var R85:MovieClip;
public var R87:MovieClip;
public var returnBTN:SimpleButton;
public var searchTXT:TextField;
public var R01:MovieClip;
public var R03:MovieClip;
public var R05:MovieClip;
public var R07:MovieClip;
public var messageMC:MovieClip;
public var charAreaMC:MovieClip;
public var R10:MovieClip;
public var R12:MovieClip;
public var R16:MovieClip;
public var R18:MovieClip;
public var R14:MovieClip;
}
}//package dLupan_fla
Section 32
//MainTimeline (dLupan_fla.MainTimeline)
package dLupan_fla {
import flash.display.*;
import flash.events.*;
import flash.text.*;
import game.Lupan.*;
import game.*;
import flash.net.*;
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.printing.*;
import flash.system.*;
import flash.xml.*;
public dynamic class MainTimeline extends MovieClip {
public var pFlg_stockingR:Boolean;
public var finishAnimeMC:MovieClip;
public var pFlg_pants:Boolean;
public var mainMC:MovieClip;
public var timeriMC2:MovieClip;
public var obj:SharedObject;
public var finishMC:MovieClip;
public var POINT:int;
public var timeriMC:MovieClip;
public var ld:LoaderPro;
public var pFlg_inner:Boolean;
public var con:ContextMenuSet;
public var dl:LupanMain;
public var mText:TextField;
public var nasiMC:MovieClip;
public var scoreMC:MovieClip;
public var dText:TextField;
public var fpsText:TextField;
public var mufufuMC:MovieClip;
public var pFlg_bra:Boolean;
public var loadingMC:MovieClip;
public var pFlg_stockingL:Boolean;
public var ver:String;
public var titleMC:MovieClip;
public function MainTimeline(){
addFrameScript(0, frame1, 1, frame2, 11, frame12, 12, frame13, 16, frame17, 18, frame19, 19, frame20);
}
public function restartPro(){
dl.removeListenerPro();
trace(((("前 has? " + stage.hasEventListener(Event.ENTER_FRAME)) + " will? ") + stage.willTrigger(Event.ENTER_FRAME)));
stage.removeEventListener(Event.ENTER_FRAME, dl.mainPro);
trace(((("後 has? " + stage.hasEventListener(Event.ENTER_FRAME)) + " will? ") + stage.willTrigger(Event.ENTER_FRAME)));
dl = null;
pFlg_stockingR = true;
pFlg_stockingL = true;
pFlg_inner = true;
pFlg_bra = true;
pFlg_pants = true;
this.gotoAndPlay(7);
}
function frame12(){
POINT = 0;
pFlg_stockingR = true;
pFlg_stockingL = true;
pFlg_inner = true;
pFlg_bra = true;
pFlg_pants = true;
ver = "ver.1.2";
}
function frame1(){
con = new ContextMenuSet(this);
}
function frame19(){
}
function frame13(){
obj = SharedObject.getLocal("Dlupan");
POINT = (obj.data.point + 10000);
trace(("ロードデータ確認 point:" + POINT));
}
function frame17(){
con = null;
dl = new LupanMain(this, stage);
}
function frame2(){
this.stop();
ld = new LoaderPro(this, loadingMC.barMC);
}
function frame20(){
this.stop();
titleMC.verTXT.text = ver;
}
}
}//package dLupan_fla
Section 33
//messageMC_34 (dLupan_fla.messageMC_34)
package dLupan_fla {
import flash.display.*;
public dynamic class messageMC_34 extends MovieClip {
public function messageMC_34(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package dLupan_fla
Section 34
//mufufuMC_41 (dLupan_fla.mufufuMC_41)
package dLupan_fla {
import flash.display.*;
import flash.text.*;
public dynamic class mufufuMC_41 extends MovieClip {
public var returnBTN:SimpleButton;
public var fukidasiMC:MovieClip;
public var handMC:MovieClip;
public var fujikoMC:MovieClip;
public var gaugeMC:MovieClip;
public var finishBTN:SimpleButton;
public var poTXT:TextField;
}
}//package dLupan_fla
Section 35
//nasiMC_11 (dLupan_fla.nasiMC_11)
package dLupan_fla {
import flash.display.*;
public dynamic class nasiMC_11 extends MovieClip {
public function nasiMC_11(){
addFrameScript(0, frame1, 8, frame9);
}
function frame1(){
this.stop();
}
function frame9(){
}
}
}//package dLupan_fla
Section 36
//pantsMC1_53 (dLupan_fla.pantsMC1_53)
package dLupan_fla {
import flash.display.*;
public dynamic class pantsMC1_53 extends MovieClip {
public var hitAreaMC:MovieClip;
public function pantsMC1_53(){
addFrameScript(0, frame1, 7, frame8);
}
function frame1(){
this.stop();
}
function frame8(){
this.stop();
}
}
}//package dLupan_fla
Section 37
//pantsMC2_61 (dLupan_fla.pantsMC2_61)
package dLupan_fla {
import flash.display.*;
public dynamic class pantsMC2_61 extends MovieClip {
public var hitAreaMC:MovieClip;
public function pantsMC2_61(){
addFrameScript(0, frame1, 28, frame29);
}
function frame1(){
this.stop();
}
function frame29(){
this.stop();
}
}
}//package dLupan_fla
Section 38
//pinkMC_47 (dLupan_fla.pinkMC_47)
package dLupan_fla {
import flash.display.*;
public dynamic class pinkMC_47 extends MovieClip {
public function pinkMC_47(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package dLupan_fla
Section 39
//scoreMC_14 (dLupan_fla.scoreMC_14)
package dLupan_fla {
import flash.display.*;
import flash.text.*;
public dynamic class scoreMC_14 extends MovieClip {
public var tpTXT:TextField;
public var tTXT:TextField;
public var spTXT:TextField;
public var poTXT:TextField;
public var sTXT:TextField;
public function scoreMC_14(){
addFrameScript(0, frame1, 88, frame89);
}
function frame89(){
this.stop();
}
function frame1(){
this.stop();
}
}
}//package dLupan_fla
Section 40
//searchBtnMC_35 (dLupan_fla.searchBtnMC_35)
package dLupan_fla {
import flash.display.*;
public dynamic class searchBtnMC_35 extends MovieClip {
public function searchBtnMC_35(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package dLupan_fla
Section 41
//serifuMC100_69 (dLupan_fla.serifuMC100_69)
package dLupan_fla {
import flash.display.*;
public dynamic class serifuMC100_69 extends MovieClip {
public function serifuMC100_69(){
addFrameScript(9, frame10);
}
function frame10(){
this.stop();
}
}
}//package dLupan_fla
Section 42
//serifuMC101_70 (dLupan_fla.serifuMC101_70)
package dLupan_fla {
import flash.display.*;
public dynamic class serifuMC101_70 extends MovieClip {
public function serifuMC101_70(){
addFrameScript(9, frame10);
}
function frame10(){
this.stop();
}
}
}//package dLupan_fla
Section 43
//serifuMC102_71 (dLupan_fla.serifuMC102_71)
package dLupan_fla {
import flash.display.*;
public dynamic class serifuMC102_71 extends MovieClip {
public function serifuMC102_71(){
addFrameScript(9, frame10);
}
function frame10(){
this.stop();
}
}
}//package dLupan_fla
Section 44
//serifuMC103_68 (dLupan_fla.serifuMC103_68)
package dLupan_fla {
import flash.display.*;
public dynamic class serifuMC103_68 extends MovieClip {
public function serifuMC103_68(){
addFrameScript(9, frame10);
}
function frame10(){
this.stop();
}
}
}//package dLupan_fla
Section 45
//serifuMC104_72 (dLupan_fla.serifuMC104_72)
package dLupan_fla {
import flash.display.*;
public dynamic class serifuMC104_72 extends MovieClip {
public function serifuMC104_72(){
addFrameScript(9, frame10);
}
function frame10(){
this.stop();
}
}
}//package dLupan_fla
Section 46
//serifuMC105_73 (dLupan_fla.serifuMC105_73)
package dLupan_fla {
import flash.display.*;
public dynamic class serifuMC105_73 extends MovieClip {
public function serifuMC105_73(){
addFrameScript(9, frame10);
}
function frame10(){
this.stop();
}
}
}//package dLupan_fla
Section 47
//serifuMC106_74 (dLupan_fla.serifuMC106_74)
package dLupan_fla {
import flash.display.*;
public dynamic class serifuMC106_74 extends MovieClip {
public function serifuMC106_74(){
addFrameScript(9, frame10);
}
function frame10(){
this.stop();
}
}
}//package dLupan_fla
Section 48
//serifuMC107_75 (dLupan_fla.serifuMC107_75)
package dLupan_fla {
import flash.display.*;
public dynamic class serifuMC107_75 extends MovieClip {
public function serifuMC107_75(){
addFrameScript(9, frame10);
}
function frame10(){
this.stop();
}
}
}//package dLupan_fla
Section 49
//serifuMC108_76 (dLupan_fla.serifuMC108_76)
package dLupan_fla {
import flash.display.*;
public dynamic class serifuMC108_76 extends MovieClip {
public function serifuMC108_76(){
addFrameScript(9, frame10);
}
function frame10(){
this.stop();
}
}
}//package dLupan_fla
Section 50
//serifuMC110_81 (dLupan_fla.serifuMC110_81)
package dLupan_fla {
import flash.display.*;
public dynamic class serifuMC110_81 extends MovieClip {
public function serifuMC110_81(){
addFrameScript(9, frame10);
}
function frame10(){
this.stop();
}
}
}//package dLupan_fla
Section 51
//serifuMC111_82 (dLupan_fla.serifuMC111_82)
package dLupan_fla {
import flash.display.*;
public dynamic class serifuMC111_82 extends MovieClip {
public function serifuMC111_82(){
addFrameScript(9, frame10);
}
function frame10(){
this.stop();
}
}
}//package dLupan_fla
Section 52
//serifuMC112_83 (dLupan_fla.serifuMC112_83)
package dLupan_fla {
import flash.display.*;
public dynamic class serifuMC112_83 extends MovieClip {
public function serifuMC112_83(){
addFrameScript(9, frame10);
}
function frame10(){
this.stop();
}
}
}//package dLupan_fla
Section 53
//serifuMC113_84 (dLupan_fla.serifuMC113_84)
package dLupan_fla {
import flash.display.*;
public dynamic class serifuMC113_84 extends MovieClip {
public function serifuMC113_84(){
addFrameScript(9, frame10);
}
function frame10(){
this.stop();
}
}
}//package dLupan_fla
Section 54
//serifuMC114_85 (dLupan_fla.serifuMC114_85)
package dLupan_fla {
import flash.display.*;
public dynamic class serifuMC114_85 extends MovieClip {
public function serifuMC114_85(){
addFrameScript(9, frame10);
}
function frame10(){
this.stop();
}
}
}//package dLupan_fla
Section 55
//serifuMC115_77 (dLupan_fla.serifuMC115_77)
package dLupan_fla {
import flash.display.*;
public dynamic class serifuMC115_77 extends MovieClip {
public function serifuMC115_77(){
addFrameScript(24, frame25);
}
function frame25(){
this.stop();
}
}
}//package dLupan_fla
Section 56
//serifuMC116_78 (dLupan_fla.serifuMC116_78)
package dLupan_fla {
import flash.display.*;
public dynamic class serifuMC116_78 extends MovieClip {
public function serifuMC116_78(){
addFrameScript(24, frame25);
}
function frame25(){
this.stop();
}
}
}//package dLupan_fla
Section 57
//serifuMC117_90 (dLupan_fla.serifuMC117_90)
package dLupan_fla {
import flash.display.*;
public dynamic class serifuMC117_90 extends MovieClip {
public function serifuMC117_90(){
addFrameScript(24, frame25);
}
function frame25(){
this.stop();
}
}
}//package dLupan_fla
Section 58
//serifuMC118_79 (dLupan_fla.serifuMC118_79)
package dLupan_fla {
import flash.display.*;
public dynamic class serifuMC118_79 extends MovieClip {
public function serifuMC118_79(){
addFrameScript(24, frame25);
}
function frame25(){
this.stop();
}
}
}//package dLupan_fla
Section 59
//serifuMC119_80 (dLupan_fla.serifuMC119_80)
package dLupan_fla {
import flash.display.*;
public dynamic class serifuMC119_80 extends MovieClip {
public function serifuMC119_80(){
addFrameScript(24, frame25);
}
function frame25(){
this.stop();
}
}
}//package dLupan_fla
Section 60
//serifuMC120_67 (dLupan_fla.serifuMC120_67)
package dLupan_fla {
import flash.display.*;
public dynamic class serifuMC120_67 extends MovieClip {
public function serifuMC120_67(){
addFrameScript(9, frame10);
}
function frame10(){
this.stop();
}
}
}//package dLupan_fla
Section 61
//serifuMC121_106 (dLupan_fla.serifuMC121_106)
package dLupan_fla {
import flash.display.*;
public dynamic class serifuMC121_106 extends MovieClip {
public function serifuMC121_106(){
addFrameScript(9, frame10);
}
function frame10(){
this.stop();
}
}
}//package dLupan_fla
Section 62
//serifuMC122_107 (dLupan_fla.serifuMC122_107)
package dLupan_fla {
import flash.display.*;
public dynamic class serifuMC122_107 extends MovieClip {
public function serifuMC122_107(){
addFrameScript(9, frame10);
}
function frame10(){
this.stop();
}
}
}//package dLupan_fla
Section 63
//serifuMC123_108 (dLupan_fla.serifuMC123_108)
package dLupan_fla {
import flash.display.*;
public dynamic class serifuMC123_108 extends MovieClip {
public function serifuMC123_108(){
addFrameScript(9, frame10);
}
function frame10(){
this.stop();
}
}
}//package dLupan_fla
Section 64
//serifuMC124_109 (dLupan_fla.serifuMC124_109)
package dLupan_fla {
import flash.display.*;
public dynamic class serifuMC124_109 extends MovieClip {
public function serifuMC124_109(){
addFrameScript(9, frame10);
}
function frame10(){
this.stop();
}
}
}//package dLupan_fla
Section 65
//serifuMC125_110 (dLupan_fla.serifuMC125_110)
package dLupan_fla {
import flash.display.*;
public dynamic class serifuMC125_110 extends MovieClip {
public function serifuMC125_110(){
addFrameScript(9, frame10);
}
function frame10(){
this.stop();
}
}
}//package dLupan_fla
Section 66
//serifuMC126_111 (dLupan_fla.serifuMC126_111)
package dLupan_fla {
import flash.display.*;
public dynamic class serifuMC126_111 extends MovieClip {
public function serifuMC126_111(){
addFrameScript(9, frame10);
}
function frame10(){
this.stop();
}
}
}//package dLupan_fla
Section 67
//serifuMC127_112 (dLupan_fla.serifuMC127_112)
package dLupan_fla {
import flash.display.*;
public dynamic class serifuMC127_112 extends MovieClip {
public function serifuMC127_112(){
addFrameScript(9, frame10);
}
function frame10(){
this.stop();
}
}
}//package dLupan_fla
Section 68
//sikyuMC_102 (dLupan_fla.sikyuMC_102)
package dLupan_fla {
import flash.display.*;
public dynamic class sikyuMC_102 extends MovieClip {
public var spelmMC:MovieClip;
public function sikyuMC_102(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package dLupan_fla
Section 69
//sirenMC1_31 (dLupan_fla.sirenMC1_31)
package dLupan_fla {
import flash.display.*;
public dynamic class sirenMC1_31 extends MovieClip {
public function sirenMC1_31(){
addFrameScript(0, frame1, 58, frame59);
}
function frame1(){
this.stop();
}
function frame59(){
this.gotoAndPlay(2);
}
}
}//package dLupan_fla
Section 70
//sirenMC2_32 (dLupan_fla.sirenMC2_32)
package dLupan_fla {
import flash.display.*;
public dynamic class sirenMC2_32 extends MovieClip {
public function sirenMC2_32(){
addFrameScript(0, frame1, 58, frame59);
}
function frame1(){
this.stop();
}
function frame59(){
this.gotoAndPlay(2);
}
}
}//package dLupan_fla
Section 71
//sirenMC3_33 (dLupan_fla.sirenMC3_33)
package dLupan_fla {
import flash.display.*;
public dynamic class sirenMC3_33 extends MovieClip {
public function sirenMC3_33(){
addFrameScript(0, frame1, 58, frame59);
}
function frame1(){
this.stop();
}
function frame59(){
this.gotoAndPlay(2);
}
}
}//package dLupan_fla
Section 72
//soundMC1_5 (dLupan_fla.soundMC1_5)
package dLupan_fla {
import flash.display.*;
public dynamic class soundMC1_5 extends MovieClip {
public function soundMC1_5(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package dLupan_fla
Section 73
//spelmMC_103 (dLupan_fla.spelmMC_103)
package dLupan_fla {
import flash.display.*;
public dynamic class spelmMC_103 extends MovieClip {
public function spelmMC_103(){
addFrameScript(0, frame1, 49, frame50);
}
function frame1(){
this.stop();
}
function frame50(){
this.stop();
}
}
}//package dLupan_fla
Section 74
//stockingLMC_57 (dLupan_fla.stockingLMC_57)
package dLupan_fla {
import flash.display.*;
public dynamic class stockingLMC_57 extends MovieClip {
public var hitAreaMC:MovieClip;
public function stockingLMC_57(){
addFrameScript(0, frame1, 30, frame31);
}
function frame1(){
this.stop();
}
function frame31(){
this.stop();
}
}
}//package dLupan_fla
Section 75
//stockingRMC_60 (dLupan_fla.stockingRMC_60)
package dLupan_fla {
import flash.display.*;
public dynamic class stockingRMC_60 extends MovieClip {
public var hitAreaMC:MovieClip;
public function stockingRMC_60(){
addFrameScript(0, frame1, 30, frame31);
}
function frame1(){
this.stop();
}
function frame31(){
this.stop();
}
}
}//package dLupan_fla
Section 76
//timeriMC_12 (dLupan_fla.timeriMC_12)
package dLupan_fla {
import flash.display.*;
public dynamic class timeriMC_12 extends MovieClip {
public function timeriMC_12(){
addFrameScript(0, frame1, 19, frame20);
}
function frame1(){
this.stop();
}
function frame20(){
}
}
}//package dLupan_fla
Section 77
//timeriMC2_13 (dLupan_fla.timeriMC2_13)
package dLupan_fla {
import flash.display.*;
public dynamic class timeriMC2_13 extends MovieClip {
public function timeriMC2_13(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package dLupan_fla
Section 78
//titleMC_15 (dLupan_fla.titleMC_15)
package dLupan_fla {
import flash.display.*;
import flash.text.*;
public dynamic class titleMC_15 extends MovieClip {
public var startBTN2:SimpleButton;
public var lineBTN1:SimpleButton;
public var lineBTN2:SimpleButton;
public var lineBTN3:SimpleButton;
public var verTXT:TextField;
public var pointTXT:TextField;
public var startBTN1:SimpleButton;
public var mufufuBTN:SimpleButton;
}
}//package dLupan_fla
Section 79
//Button_Lupan (game.Lupan.Button_Lupan)
package game.Lupan {
import flash.display.*;
import flash.events.*;
public class Button_Lupan {
private var bOnFlg:int;// = 0
private var Rbtn:SimpleButton;
private var bero:Array;
private var sound:Sound_Lupan;
private var btn:Array;
private var Sbtn:MovieClip;
private var sFlg:Boolean;// = false
private var rootMC:MovieClip;
private var Abtn:MovieClip;
private var bmc:Array;
protected static var mouseFlg:Boolean;
public function Button_Lupan(_arg1:MovieClip){
var _local2:int;
var _local3:*;
sFlg = false;
bOnFlg = 0;
super();
rootMC = _arg1;
sound = new Sound_Lupan(_arg1);
rootMC.addEventListener(MouseEvent.MOUSE_MOVE, mouseMV);
rootMC.addEventListener(MouseEvent.MOUSE_DOWN, mouseBTNon);
rootMC.addEventListener(MouseEvent.MOUSE_UP, mouseBTNoff);
_local2 = _arg1.currentFrame;
if (_local2 == 9){
btn = new Array();
btn[1] = _arg1.titleMC.lineBTN1;
btn[2] = _arg1.titleMC.lineBTN2;
btn[3] = _arg1.titleMC.lineBTN3;
btn[4] = _arg1.titleMC.startBTN1;
btn[5] = _arg1.titleMC.startBTN2;
btn[7] = _arg1.titleMC.mufufuBTN;
btn[1].addEventListener(MouseEvent.CLICK, buttonPro1);
btn[2].addEventListener(MouseEvent.CLICK, buttonPro2);
btn[3].addEventListener(MouseEvent.CLICK, buttonPro3);
btn[4].addEventListener(MouseEvent.CLICK, buttonPro4);
btn[5].addEventListener(MouseEvent.CLICK, buttonPro5);
btn[7].addEventListener(MouseEvent.CLICK, buttonPro7);
} else {
if ((((_local2 == 19)) || ((_local2 == 29)))){
Sbtn = _arg1.mainMC.searchBtnMC;
Abtn = _arg1.mainMC.arrestBtnMC;
Rbtn = _arg1.mainMC.returnBTN;
Rbtn.addEventListener(MouseEvent.CLICK, gameBTNpro);
Rbtn.visible = false;
bmc = new Array();
_local3 = 0;
while (_local3 <= 8) {
bmc[_local3] = new Array();
_local3++;
};
bmc[0][1] = _arg1.mainMC.R01;
bmc[0][3] = _arg1.mainMC.R03;
bmc[0][5] = _arg1.mainMC.R05;
bmc[0][7] = _arg1.mainMC.R07;
bmc[1][0] = _arg1.mainMC.R10;
bmc[1][2] = _arg1.mainMC.R12;
bmc[1][4] = _arg1.mainMC.R14;
bmc[1][6] = _arg1.mainMC.R16;
bmc[1][8] = _arg1.mainMC.R18;
bmc[2][1] = _arg1.mainMC.R21;
bmc[2][3] = _arg1.mainMC.R23;
bmc[2][5] = _arg1.mainMC.R25;
bmc[2][7] = _arg1.mainMC.R27;
bmc[3][0] = _arg1.mainMC.R30;
bmc[3][2] = _arg1.mainMC.R32;
bmc[3][4] = _arg1.mainMC.R34;
bmc[3][6] = _arg1.mainMC.R36;
bmc[3][8] = _arg1.mainMC.R38;
bmc[4][1] = _arg1.mainMC.R41;
bmc[4][3] = _arg1.mainMC.R43;
bmc[4][5] = _arg1.mainMC.R45;
bmc[4][7] = _arg1.mainMC.R47;
bmc[5][0] = _arg1.mainMC.R50;
bmc[5][2] = _arg1.mainMC.R52;
bmc[5][4] = _arg1.mainMC.R54;
bmc[5][6] = _arg1.mainMC.R56;
bmc[5][8] = _arg1.mainMC.R58;
bmc[6][1] = _arg1.mainMC.R61;
bmc[6][3] = _arg1.mainMC.R63;
bmc[6][5] = _arg1.mainMC.R65;
bmc[6][7] = _arg1.mainMC.R67;
bmc[7][0] = _arg1.mainMC.R70;
bmc[7][2] = _arg1.mainMC.R72;
bmc[7][4] = _arg1.mainMC.R74;
bmc[7][6] = _arg1.mainMC.R76;
bmc[7][8] = _arg1.mainMC.R78;
bmc[8][1] = _arg1.mainMC.R81;
bmc[8][3] = _arg1.mainMC.R83;
bmc[8][5] = _arg1.mainMC.R85;
bmc[8][7] = _arg1.mainMC.R87;
} else {
if (_local2 == 39){
bero = new Array();
bero[0] = _arg1.mufufuMC.returnBTN;
bero[1] = _arg1.mufufuMC.finishBTN;
bero[0].addEventListener(MouseEvent.CLICK, eroBTNpro0);
bero[1].addEventListener(MouseEvent.CLICK, eroBTNpro1);
bero[1].visible = false;
} else {
if (_local2 == 49){
bero = new Array();
bero[0] = _arg1.finishMC.returnBTN;
bero[0].addEventListener(MouseEvent.CLICK, eroBTNpro0);
};
};
};
};
}
public function inputPro(_arg1:Array):int{
var _local2:*;
var _local3:int;
var _local4:int;
_local4 = 0;
while (_local4 <= 3) {
if (_arg1[_local4].x == -1){
} else {
_local2 = _arg1[_local4].x;
_local3 = _arg1[_local4].y;
if (bmc[_local3][_local2].hitTestPoint(rootMC.mouseX, rootMC.mouseY, true)){
bmc[_local3][_local2].nextFrame();
if (mouseFlg){
bmc[_local3][_local2].gotoAndStop(1);
return (_local4);
};
} else {
bmc[_local3][_local2].gotoAndStop(1);
};
};
_local4++;
};
return (-1);
}
private function eroBTNpro0(_arg1:MouseEvent):void{
bOnFlg = 10;
sound.playEffectS(5, 1);
}
private function eroBTNpro1(_arg1:MouseEvent):void{
bOnFlg = 11;
}
public function fButtonOn(_arg1:Boolean):void{
bero[1].visible = _arg1;
}
public function RbtnOn():void{
Rbtn.visible = true;
}
public function get startFlg():Boolean{
return (sFlg);
}
protected function mouseMV(_arg1:MouseEvent):void{
mouseFlg = _arg1.buttonDown;
}
private function buttonPro3(_arg1:MouseEvent):void{
bOnFlg = 3;
sound.playEffectS(3, 1);
}
protected function mouseBTNon(_arg1:MouseEvent):void{
mouseFlg = _arg1.buttonDown;
}
protected function mouseBTNoff(_arg1:MouseEvent):void{
mouseFlg = _arg1.buttonDown;
}
public function debugPro():void{
var _local1:String;
var _local2:String;
_local1 = ("\nmouseFlg:" + mouseFlg);
_local2 = (_local1 + "\n");
rootMC.dText.text = _local2;
}
public function btnInput(_arg1:int, _arg2:int):int{
if (((Sbtn.hitTestPoint(rootMC.mouseX, rootMC.mouseY, true)) && (!((_arg1 == 0))))){
Sbtn.nextFrame();
if (mouseFlg){
Sbtn.gotoAndStop(1);
return (1);
};
} else {
Sbtn.gotoAndStop(1);
};
if (((Abtn.hitTestPoint(rootMC.mouseX, rootMC.mouseY, true)) && (!((_arg2 == 0))))){
Abtn.nextFrame();
if (mouseFlg){
Abtn.gotoAndStop(1);
return (2);
};
} else {
Abtn.gotoAndStop(1);
};
return (0);
}
public function get bOnOff():int{
return (bOnFlg);
}
public function gameBTNpro(_arg1:MouseEvent):void{
bOnFlg = 10;
sound.playEffectS(5, 1);
}
public function set bOnOff(_arg1:int):void{
bOnFlg = _arg1;
}
public function setButtonVisible(_arg1:int, _arg2:Boolean):void{
btn[_arg1].visible = _arg2;
}
public function getButtonVisible(_arg1:int):Boolean{
return (btn[_arg1].visible);
}
public function removeListenerPro(_arg1:int):void{
if ((((_arg1 == 0)) || ((_arg1 == 1)))){
if (btn != null){
btn[1].removeEventListener(MouseEvent.CLICK, buttonPro1);
btn[2].removeEventListener(MouseEvent.CLICK, buttonPro2);
btn[3].removeEventListener(MouseEvent.CLICK, buttonPro3);
btn[4].removeEventListener(MouseEvent.CLICK, buttonPro4);
btn[5].removeEventListener(MouseEvent.CLICK, buttonPro5);
btn[7].removeEventListener(MouseEvent.CLICK, buttonPro7);
};
btn = null;
};
if ((((_arg1 == 0)) || ((_arg1 == 2)))){
if (Rbtn != null){
Rbtn.removeEventListener(MouseEvent.CLICK, gameBTNpro);
};
Rbtn = null;
};
if ((((_arg1 == 0)) || ((_arg1 == 3)))){
if (bero != null){
bero[0].removeEventListener(MouseEvent.CLICK, eroBTNpro0);
bero[1].removeEventListener(MouseEvent.CLICK, eroBTNpro1);
};
bero = null;
};
if ((((_arg1 == 0)) || ((_arg1 == 4)))){
if (bero != null){
bero[0].removeEventListener(MouseEvent.CLICK, eroBTNpro0);
};
bero = null;
};
}
private function buttonPro4(_arg1:MouseEvent):void{
bOnFlg = 4;
sound.playEffectS(5, 1);
}
private function buttonPro5(_arg1:MouseEvent):void{
bOnFlg = 5;
sound.playEffectS(5, 1);
}
private function buttonPro7(_arg1:MouseEvent):void{
bOnFlg = 7;
sound.playEffectS(5, 1);
}
private function buttonPro1(_arg1:MouseEvent):void{
bOnFlg = 1;
sound.playEffectS(1, 1);
}
private function buttonPro2(_arg1:MouseEvent):void{
bOnFlg = 2;
sound.playEffectS(2, 1);
}
}
}//package game.Lupan
Section 80
//CMS_Lupan (game.Lupan.CMS_Lupan)
package game.Lupan {
import flash.display.*;
import flash.events.*;
import game.*;
import flash.ui.*;
public class CMS_Lupan extends ContextMenuSet {
public function CMS_Lupan(_arg1:MovieClip){
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.Lupan
Section 81
//LupanMain (game.Lupan.LupanMain)
package game.Lupan {
import flash.display.*;
import flash.events.*;
import game.*;
public class LupanMain {
private var cms:CMS_Lupan;
private var stageMC:Object;
private var so:SharedObj;
private var ero:MufufuProcessing;
private var btn:Button_Lupan;
private var snd:Sound_Lupan;
private var charFlg:Boolean;
private var fps:FPSpro;
private var main:MainProcessing;
private var rootMC:MovieClip;
public function LupanMain(_arg1:MovieClip, _arg2:Object){
rootMC = _arg1;
stageMC = _arg2;
fps = new FPSpro(rootMC.fpsText);
cms = new CMS_Lupan(rootMC);
stageMC.addEventListener(Event.ENTER_FRAME, mainPro);
}
public function debugPro():void{
}
public function mainPro(_arg1:Event):void{
var _local2:int;
var _local3:Object;
var _local4:*;
var _local5:int;
var _local6:int;
var _local7:int;
_local2 = rootMC.currentFrame;
if (_local2 == 9){
so = new SharedObj("Dlupan");
_local3 = new Object();
_local3.point = rootMC.POINT;
so.dataSave(_local3);
trace("データ確認 mainクラス");
for (_local4 in _local3) {
trace(((_local4 + " : ") + _local3[_local4]));
};
so = null;
_local3 = null;
btn = new Button_Lupan(rootMC);
rootMC.titleMC.pointTXT.text = rootMC.POINT;
rootMC.scoreMC.gotoAndStop(1);
rootMC.gotoAndStop(10);
} else {
if (_local2 == 10){
_local5 = btn.bOnOff;
if (_local5 == 4){
charFlg = true;
btn.removeListenerPro(1);
btn = null;
rootMC.gotoAndStop(19);
} else {
if (_local5 == 5){
charFlg = false;
btn.removeListenerPro(1);
btn = null;
rootMC.gotoAndStop(29);
} else {
if (_local5 == 7){
btn.removeListenerPro(1);
btn = null;
rootMC.gotoAndPlay(38);
};
};
};
} else {
if (_local2 == 19){
main = new MainProcessing(rootMC, charFlg);
btn = new Button_Lupan(rootMC);
rootMC.gotoAndStop(20);
} else {
if (_local2 == 20){
main.mainPro();
if (main.RbtnFlg){
btn.RbtnOn();
};
if (btn.bOnOff == 10){
btn.removeListenerPro(2);
rootMC.gotoAndPlay(8);
};
} else {
if (_local2 == 29){
main = new MainProcessing(rootMC, charFlg);
btn = new Button_Lupan(rootMC);
rootMC.gotoAndStop(30);
} else {
if (_local2 == 30){
main.mainPro();
if (main.RbtnFlg){
btn.RbtnOn();
};
if (btn.bOnOff == 10){
btn.removeListenerPro(2);
rootMC.gotoAndPlay(8);
};
} else {
if (_local2 == 39){
ero = new MufufuProcessing(rootMC, stageMC);
btn = new Button_Lupan(rootMC);
rootMC.gotoAndStop(40);
} else {
if (_local2 == 40){
ero.mainPro();
btn.fButtonOn(ero.fBTNcheck());
if (btn.bOnOff == 10){
ero.removeListenerPro();
ero = null;
btn.removeListenerPro(3);
rootMC.gotoAndPlay(8);
} else {
if (btn.bOnOff == 11){
ero.removeListenerPro();
ero = null;
btn.removeListenerPro(3);
rootMC.gotoAndStop(48);
};
};
} else {
if (_local2 == 48){
_local6 = rootMC.finishAnimeMC.currentFrame;
_local7 = rootMC.finishAnimeMC.totalFrames;
if ((((_local6 == _local7)) && ((_local6 > 10)))){
rootMC.nextFrame();
};
} else {
if (_local2 == 49){
ero = new MufufuProcessing(rootMC, stageMC);
btn = new Button_Lupan(rootMC);
rootMC.nextFrame();
} else {
if (_local2 == 50){
ero.FmainPro();
if (btn.bOnOff == 10){
ero.removeListenerPro();
ero = null;
btn.removeListenerPro(4);
rootMC.gotoAndPlay(8);
};
};
};
};
};
};
};
};
};
};
};
};
fps.counting();
}
public function removeListenerPro():void{
trace("LupanMain : removeListenerPro//リスナー削除作業実行");
if (ero){
ero.removeListenerPro();
ero = null;
};
btn.removeListenerPro(0);
btn = null;
}
}
}//package game.Lupan
Section 82
//LupanMoveData (game.Lupan.LupanMoveData)
package game.Lupan {
public class LupanMoveData {
private var dataL:Array;
private var endFlg:Boolean;// = true
private var pNo:int;
public function LupanMoveData(){
endFlg = true;
super();
dataL = new Array();
dataL[0] = new Array(0, 2, -1, -1);
dataL[1] = new Array(0, 2, 0, 18, 20, 38, 56, 74, 72, -1);
dataL[2] = new Array(0, 2, 0, 18, 20, 38, 56, 74, 76, 78, 80, -1);
dataL[3] = new Array(0, 2, 0, 18, 20, 38, 40, 58, 76, 78, 80, -1);
dataL[4] = new Array(0, 2, 0, 18, 20, 38, 40, 42, 24, 6, 4, -1);
dataL[5] = new Array(0, 22, 40, 38, 56, 54, 72, -1);
dataL[6] = new Array(0, 22, 40, 38, 56, 58, 76, -1);
dataL[7] = new Array(0, 22, 40, 38, 56, 58, 40, 42, 44, 62, 80, 78, -1);
dataL[8] = new Array(0, 22, 40, 38, 56, 58, 40, 42, 24, 26, -1);
dataL[9] = new Array(0, 2, 0, 18, 20, 38, 36, 18, 0, 2, 20, -1);
dataL[10] = new Array(0, 2, 0, 18, 20, 38, 36, 18, 20, 38, 36, 18, -1);
dataL[11] = new Array(0, 2, 20, 18, 36, 54, 72, 74, 76, 78, 80, -1);
dataL[12] = new Array(0, 2, 20, 22, 24, 26, 44, 42, 24, 6, 4, -1);
dataL[13] = new Array(0, 22, 24, 42, 40, 22, 20, 18, 0, -1);
dataL[14] = new Array(0, 22, 24, 42, 60, 78, 76, -1);
dataL[15] = new Array(0, 22, 24, 42, 60, 78, 80, 62, -1);
dataL[16] = new Array(0, 2, 20, 22, 40, 38, 36, 18, -1);
dataL[17] = new Array(0, 2, 20, 38, 56, 54, 72, 74, 76, -1);
dataL[18] = new Array(0, 2, 20, 38, 56, 58, 76, 74, 72, -1);
dataL[19] = new Array(0, 2, 20, 38, 40, 22, 20, 18, 0, -1);
dataL[20] = new Array(0, 22, 24, 26, 8, 6, -1);
dataL[21] = new Array(0, 22, 24, 26, 44, 62, 80, -1);
pNo = Math.floor((Math.random() * dataL.length));
trace(((("パターンNo: " + pNo) + " /") + dataL.length));
}
public function get endFlag():Boolean{
return (endFlg);
}
public function nextPointData(_arg1:int, _arg2:int, _arg3:int):int{
var _local4:int;
var _local5:*;
var _local6:int;
_local5 = (dataL[pNo][_arg1] % 9);
_local6 = Math.floor((dataL[pNo][_arg1] / 9));
if ((((_local6 < _arg3)) && ((_local5 == _arg2)))){
_local4 = 0;
} else {
if ((((_local6 > _arg3)) && ((_local5 == _arg2)))){
_local4 = 2;
} else {
if ((((_local5 > _arg2)) && ((_local6 == _arg3)))){
_local4 = 1;
} else {
if ((((_local5 < _arg2)) && ((_local6 == _arg3)))){
_local4 = 3;
};
};
};
};
if (dataL[pNo][(_arg1 + 1)] == -1){
endFlg = false;
};
trace(((((pNo + " ポイントデータ配信 ho:") + _local4) + " x,y: ") + _local5), ((((_local6 + " /") + dataL[pNo][_arg1]) + " fg:") + endFlg));
return (_local4);
}
}
}//package game.Lupan
Section 83
//MainProcessing (game.Lupan.MainProcessing)
package game.Lupan {
import flash.display.*;
import flash.text.*;
public class MainProcessing {
private var endFlg:Boolean;// = false
private var px;
private var py:int;
private var shopFlg:Array;
private var cArea:MovieClip;
private var lx;
private var ly;
private var pdata:LupanMoveData;
private var gameOverFlg:Boolean;// = false
private var moveCo:int;// = 0
private var sco:Object;
private var turnFlg:Boolean;// = true
private var hoL;
private var searchTXT:TextField;
private var charFlg:Boolean;
private var GP:int;// = 0
private var eCo:int;// = 0
private var arrestTXT:TextField;
private var turnTXT:TextField;
private var searchCo:int;// = 2
private var lxA;
private var mesMC:MovieClip;
private var pxA;
private var charP:charPolice;
private var charL:charLupan;
private var hoP:int;
private var bNo:int;// = 0
private var turnCo:int;// = 1
private var animeFlg:int;// = 0
private var arrestCo:int;// = 3
private var lyA;
private var btn:Button_Lupan;
private var pyA:int;
private var dataM:Array;
private var lupanA:Array;
private var WLflg:Boolean;// = false
private var snd:Sound_Lupan;
private var rootMC:MovieClip;
private var policeA:Array;
public function MainProcessing(_arg1:MovieClip, _arg2:Boolean){
var _local3:*;
gameOverFlg = false;
WLflg = false;
endFlg = false;
animeFlg = 0;
turnFlg = true;
turnCo = 1;
searchCo = 2;
arrestCo = 3;
eCo = 0;
bNo = 0;
GP = 0;
moveCo = 0;
super();
rootMC = _arg1;
snd = new Sound_Lupan(_arg1);
cArea = _arg1.mainMC.charAreaMC;
charL = new charLupan();
charP = new charPolice();
pdata = new LupanMoveData();
charFlg = _arg2;
lupanA = new Array();
policeA = new Array();
_local3 = 0;
while (_local3 <= 3) {
lupanA[_local3] = new Object();
policeA[_local3] = new Object();
_local3++;
};
shopFlg = new Array(false, true, true, true);
btn = new Button_Lupan(rootMC);
mesMC = rootMC.mainMC.messageMC;
turnTXT = rootMC.mainMC.turnTXT;
searchTXT = rootMC.mainMC.searchTXT;
arrestTXT = rootMC.mainMC.arrestTXT;
initialSet();
cArea.addChild(charL);
cArea.addChild(charP);
charLocateSet();
if (charFlg){
charL.visible = true;
charP.visible = false;
searchCo = 2;
arrestCo = 0;
} else {
charL.visible = false;
charP.visible = true;
searchCo = 1;
arrestCo = 3;
};
reloadPro();
mesMC.gotoAndStop(2);
lupanRoadSearch(lx, ly);
rootMC.timeriMC.gotoAndPlay(2);
}
public function mapD():void{
var _local1:String;
var _local2:*;
var _local3:*;
_local1 = "";
_local2 = 0;
while (_local2 <= 8) {
_local3 = 0;
while (_local3 <= 8) {
_local1 = (_local1 + (" " + dataM[_local2][_local3]));
_local3++;
};
_local1 = (_local1 + "\n");
_local2++;
};
rootMC.mText.text = _local1;
}
private function lupanCheck():void{
var _local1:Boolean;
_local1 = false;
if (charFlg){
if (ly == 0){
if ((((lx == 0)) && (shopFlg[1]))){
shopFlg[1] = false;
rootMC.mainMC.sirenMC1.play();
_local1 = true;
} else {
if ((((lx == 4)) && (shopFlg[2]))){
shopFlg[2] = false;
rootMC.mainMC.sirenMC2.play();
_local1 = true;
} else {
if ((((lx == 8)) && (shopFlg[3]))){
shopFlg[3] = false;
rootMC.mainMC.sirenMC3.play();
_local1 = true;
};
};
};
};
} else {
if (ly == 8){
if ((((lx == 8)) && (shopFlg[1]))){
shopFlg[1] = false;
rootMC.mainMC.sirenMC1.play();
_local1 = true;
} else {
if ((((lx == 4)) && (shopFlg[2]))){
shopFlg[2] = false;
rootMC.mainMC.sirenMC2.play();
_local1 = true;
} else {
if ((((lx == 0)) && (shopFlg[3]))){
shopFlg[3] = false;
rootMC.mainMC.sirenMC3.play();
_local1 = true;
};
};
};
};
};
if (_local1){
GP++;
snd.playEffectS(7, 1);
charL.nextFrame();
rootMC.timeriMC2.play();
};
if (((((((charFlg) && ((ly == 8)))) && ((lx == 4)))) || (((((!(charFlg)) && ((ly == 0)))) && ((lx == 4)))))){
if (GP >= 1){
if (charFlg){
WLflg = true;
gameOver(6, 10);
} else {
WLflg = false;
gameOver(6, 9);
};
};
};
if (((!(charFlg)) && ((arrestCo <= 0)))){
gameOver(9, 9);
};
}
private function initialSet():void{
dataM = new Array();
if (charFlg){
dataM[0] = new Array(0, 1, 0, 1, 0, 3, 0, 3, 0);
dataM[1] = new Array(1, 0, 3, 0, 3, 0, 1, 0, 3);
dataM[2] = new Array(0, 2, 0, 1, 0, 2, 0, 2, 0);
dataM[3] = new Array(2, 0, 2, 0, 1, 0, 3, 0, 2);
dataM[4] = new Array(0, 3, 0, 1, 0, 3, 0, 1, 0);
dataM[5] = new Array(3, 0, 3, 0, 2, 0, 2, 0, 1);
dataM[6] = new Array(0, 2, 0, 1, 0, 3, 0, 3, 0);
dataM[7] = new Array(3, 0, 1, 0, 2, 0, 1, 0, 3);
dataM[8] = new Array(0, 2, 0, 1, 0, 2, 0, 2, 0);
lx = 4;
ly = 8;
px = 4;
py = 0;
} else {
dataM[0] = new Array(0, 2, 0, 2, 0, 1, 0, 2, 0);
dataM[1] = new Array(3, 0, 1, 0, 2, 0, 1, 0, 3);
dataM[2] = new Array(0, 3, 0, 3, 0, 1, 0, 2, 0);
dataM[3] = new Array(1, 0, 2, 0, 2, 0, 3, 0, 3);
dataM[4] = new Array(0, 1, 0, 3, 0, 1, 0, 3, 0);
dataM[5] = new Array(2, 0, 3, 0, 1, 0, 2, 0, 2);
dataM[6] = new Array(0, 2, 0, 2, 0, 1, 0, 2, 0);
dataM[7] = new Array(3, 0, 1, 0, 3, 0, 3, 0, 1);
dataM[8] = new Array(0, 3, 0, 3, 0, 1, 0, 1, 0);
lx = 4;
ly = 0;
px = 4;
py = 8;
};
lxA = 0;
lyA = 0;
pxA = 0;
pyA = 0;
sco = new Object();
sco.sp = 0;
sco.tp = 0;
sco.po = 0;
sco.tp = 0;
}
private function moveAnemiPro(_arg1:Boolean):void{
if (_arg1){
if (ly > lupanA[hoL].y){
charL.y--;
} else {
if (ly < lupanA[hoL].y){
charL.y++;
} else {
if (lx > lupanA[hoL].x){
charL.x--;
} else {
if (lx < lupanA[hoL].x){
charL.x++;
};
};
};
};
moveCo++;
if (moveCo >= 60){
moveCo = 0;
animeFlg = 0;
turnFlg = false;
if (dataM[lyA][lxA] != 0){
dataM[lyA][lxA] = (dataM[lyA][lxA] - 4);
};
dataM[ly][lx] = (dataM[ly][lx] + 4);
lyA = ly;
lxA = lx;
if (hoL == 0){
ly = (ly - 2);
} else {
if (hoL == 1){
lx = (lx + 2);
} else {
if (hoL == 2){
ly = (ly + 2);
} else {
if (hoL == 3){
lx = (lx - 2);
};
};
};
};
charLocateSet();
mesMC.gotoAndStop(4);
rootMC.timeriMC.play();
lupanCheck();
policeRoadSearch(px, py);
};
} else {
if (py > policeA[hoP].y){
charP.y--;
} else {
if (py < policeA[hoP].y){
charP.y++;
} else {
if (px > policeA[hoP].x){
charP.x--;
} else {
if (px < policeA[hoP].x){
charP.x++;
};
};
};
};
moveCo++;
if (moveCo >= 60){
moveCo = 0;
animeFlg = 0;
turnFlg = true;
if (dataM[pyA][pxA] != 0){
dataM[pyA][pxA] = (dataM[pyA][pxA] - 5);
};
dataM[py][px] = (dataM[py][px] + 5);
pyA = py;
pxA = px;
if (hoP == 0){
py = (py - 2);
} else {
if (hoP == 1){
px = (px + 2);
} else {
if (hoP == 2){
py = (py + 2);
} else {
if (hoP == 3){
px = (px - 2);
};
};
};
};
charLocateSet();
mesMC.gotoAndStop(2);
rootMC.timeriMC.play();
turnCo++;
reloadPro();
trace(("L:" + lx), ((ly + " P:") + px), py);
if ((((((lx == px)) && ((ly == py)))) && (charFlg))){
trace("タイーホ!!");
WLflg = false;
gameOver(7, 9);
charL.rotation = 45;
};
if (charFlg){
lupanRoadSearch(lx, ly);
};
};
};
}
private function policeRoadSearch(_arg1:int, _arg2:int):void{
if ((_arg2 - 1) >= 0){
policeA[0].x = _arg1;
policeA[0].y = (_arg2 - 1);
} else {
policeA[0].x = -1;
};
if ((_arg2 + 1) <= 8){
policeA[2].x = _arg1;
policeA[2].y = (_arg2 + 1);
} else {
policeA[2].x = -1;
};
if ((_arg1 - 1) >= 0){
policeA[3].x = (_arg1 - 1);
policeA[3].y = _arg2;
} else {
policeA[3].x = -1;
};
if ((_arg1 + 1) <= 8){
policeA[1].x = (_arg1 + 1);
policeA[1].y = _arg2;
} else {
policeA[1].x = -1;
};
}
public function mainPro():void{
var _local1:int;
var _local2:int;
var _local3:int;
var _local4:int;
var _local5:Number;
if (gameOverFlg){
scorePro();
return;
};
if (charFlg){
if (animeFlg == 0){
if (turnFlg){
hoL = btn.inputPro(lupanA);
if (hoL != -1){
animeFlg = 1;
mesMC.gotoAndStop(1);
_local1 = dataM[lupanA[hoL].y][lupanA[hoL].x];
snd.playEffectS(_local1, 1);
};
bNo = btn.btnInput(searchCo, arrestCo);
if (bNo == 1){
animeFlg = 2;
searchCo--;
snd.playEffectS(8, 1);
charP.visible = true;
charP.alpha = 0;
charP.lightMC.play();
};
} else {
_local2 = rootMC.timeriMC.currentFrame;
_local3 = rootMC.timeriMC2.currentFrame;
if ((((_local2 == 1)) && ((_local3 == 1)))){
hoP = policeConsider();
animeFlg = 1;
mesMC.gotoAndStop(5);
_local4 = dataM[policeA[hoP].y][policeA[hoP].x];
snd.playEffectS(_local4, 1);
};
};
} else {
if (animeFlg == 1){
moveAnemiPro(turnFlg);
} else {
if (animeFlg == 2){
if (turnFlg){
if (eCo <= 10){
_local5 = (eCo / 10);
} else {
if (eCo >= 50){
_local5 = (60 - (eCo / 10));
} else {
_local5 = 1;
};
};
charP.alpha = _local5;
eCo++;
if (charP.lightMC.currentFrame == charP.lightMC.totalFrames){
animeFlg = 0;
eCo = 0;
charP.visible = false;
reloadPro();
};
};
};
};
};
} else {
if (animeFlg == 0){
if (turnFlg){
_local2 = rootMC.timeriMC.currentFrame;
_local3 = rootMC.timeriMC2.currentFrame;
if ((((_local2 == 1)) && ((_local3 == 1)))){
if (pdata.endFlag){
lupanRoadSearch(lx, ly);
hoL = pdata.nextPointData(turnCo, lx, ly);
} else {
hoL = lupanConsider();
};
animeFlg = 1;
mesMC.gotoAndStop(3);
_local4 = dataM[lupanA[hoL].y][lupanA[hoL].x];
snd.playEffectS(_local4, 1);
} else {
bNo = btn.btnInput(searchCo, arrestCo);
if (bNo == 2){
animeFlg = 2;
arrestCo--;
snd.playEffectS(8, 1);
charP.lightMC.play();
};
};
} else {
hoP = btn.inputPro(policeA);
if (hoP != -1){
animeFlg = 1;
mesMC.gotoAndStop(1);
_local1 = dataM[policeA[hoP].y][policeA[hoP].x];
snd.playEffectS(_local1, 1);
};
bNo = btn.btnInput(searchCo, arrestCo);
if (bNo == 1){
animeFlg = 2;
searchCo--;
snd.playEffectS(8, 1);
charL.visible = true;
charL.alpha = 0;
charL.lightMC.play();
} else {
if (bNo == 2){
animeFlg = 2;
arrestCo--;
snd.playEffectS(8, 1);
charP.lightMC.play();
};
};
};
} else {
if (animeFlg == 1){
moveAnemiPro(turnFlg);
} else {
if (animeFlg == 2){
if (eCo <= 10){
_local5 = (eCo / 10);
} else {
if (eCo >= 50){
_local5 = (60 - (eCo / 10));
} else {
_local5 = 1;
};
};
eCo++;
if (bNo == 1){
charL.alpha = _local5;
if (charL.lightMC.currentFrame == charL.lightMC.totalFrames){
animeFlg = 0;
eCo = 0;
charL.visible = false;
reloadPro();
};
} else {
if (bNo == 2){
if (charP.lightMC.currentFrame == charP.lightMC.totalFrames){
if ((((lx == px)) && ((ly == py)))){
WLflg = true;
gameOver(7, 10);
charL.rotation = 45;
} else {
mesMC.gotoAndStop(8);
snd.playEffectS(11, 1);
};
animeFlg = 0;
eCo = 0;
reloadPro();
};
};
};
};
};
};
};
}
public function get RbtnFlg():Boolean{
return (endFlg);
}
private function scorePro():void{
var _local1:MovieClip;
var _local2:int;
var _local3:int;
var _local4:String;
var _local5:int;
_local1 = rootMC.scoreMC;
_local2 = _local1.currentFrame;
_local3 = _local1.totalFrames;
if (_local2 == _local3){
return;
};
if (!WLflg){
GP = 0;
turnCo = 0;
};
_local4 = _local1.currentLabel;
if (_local4 == "L1"){
_local1.sTXT.text = GP;
sco.sp = (GP * 1000);
_local1.spTXT.text = sco.sp;
};
if (_local4 == "L2"){
_local1.tTXT.text = turnCo;
sco.tp = (turnCo * 10);
_local1.tpTXT.text = sco.tp;
};
if (_local4 == "L3"){
sco.po = (sco.sp + sco.tp);
_local1.poTXT.text = sco.po;
};
if (_local4 == "L4"){
_local5 = rootMC.POINT;
sco.tp = (sco.po + _local5);
_local1.tpTXT.text = sco.tp;
rootMC.POINT = (rootMC.POINT + sco.po);
endFlg = true;
trace(((("PO:" + _local5) + " endFlg:") + endFlg));
};
}
public function debugPro():void{
var _local1:String;
var _local2:String;
_local1 = ((((((("\nanimeFlg:" + animeFlg) + "\nGP:") + GP) + "\nlx:") + lx) + "\nly:") + ly);
_local2 = (_local1 + "\n");
rootMC.dText.text = _local2;
}
function reloadPro():void{
turnTXT.text = String(turnCo);
searchTXT.text = String(searchCo);
arrestTXT.text = String(arrestCo);
}
private function gameOver(_arg1:int, _arg2:int):void{
gameOverFlg = true;
reloadPro();
charP.visible = true;
charL.visible = true;
mesMC.gotoAndStop(_arg1);
snd.playEffectS(_arg2, 1);
rootMC.scoreMC.play();
}
private function lupanConsider():int{
var _local1:int;
var _local2:Boolean;
var _local3:Array;
var _local4:Array;
var _local5:*;
var _local6:*;
var _local7:*;
var _local8:*;
var _local9:*;
_local1 = -1;
_local2 = false;
if ((((searchCo <= 0)) || ((arrestCo <= 1)))){
lupanRoadSearch(lx, ly);
} else {
lupanRoadSearchCOM(lx, ly);
};
_local3 = new Array(false, false, false);
_local4 = new Array();
_local4[0] = new Array(2, 1);
_local4[1] = new Array(2, 3);
_local4[2] = new Array(1, 3);
if (((((lx + 1) <= 8)) && (((ly + 1) <= 8)))){
if (dataM[ly][(lx + 1)] == dataM[(ly + 1)][lx]){
_local3[0] = true;
};
};
if (((((lx - 1) >= 0)) && (((ly + 1) <= 8)))){
if (dataM[ly][(lx - 1)] == dataM[(ly + 1)][lx]){
_local3[1] = true;
};
};
if (((((lx + 1) <= 8)) && (((lx - 1) >= 0)))){
if (dataM[ly][(lx + 1)] == dataM[ly][(lx - 1)]){
_local3[2] = true;
};
};
do {
if (_local2){
_local7 = Math.floor((Math.random() * 2));
if (_local7 == 0){
_local1 = 1;
} else {
_local1 = 3;
};
} else {
if (GP != 0){
_local5 = Math.floor((Math.random() * 5));
if (_local5 == 0){
_local1 = 1;
} else {
if (_local5 == 1){
_local1 = 3;
} else {
if (_local5 == 2){
_local1 = 2;
} else {
_local1 = 0;
};
};
};
} else {
if (((((_local3[0]) || (_local3[1]))) || (_local3[2]))){
trace(("道セット選択 南東、南西、東西: " + _local3[0]), _local3[1], _local3[2]);
do {
_local8 = Math.floor((Math.random() * 3));
} while (!(_local3[_local8]));
_local9 = Math.floor((Math.random() * 2));
_local1 = _local4[_local8][_local9];
} else {
trace("完全ランダム");
_local6 = Math.floor((Math.random() * 5));
if (_local6 == 0){
_local1 = 1;
} else {
if (_local6 == 1){
_local1 = 3;
} else {
if (_local6 == 2){
_local1 = 0;
} else {
_local1 = 2;
};
};
};
};
};
};
if (turnCo == 1){
};
trace(((("ランダム移動 ho:" + _local1) + " wg:") + _local2));
} while (lupanA[_local1].x == -1);
return (_local1);
}
private function charLocateSet():void{
if (charFlg){
charL.x = ((lx * 30) + 75);
charL.y = ((ly * 30) + 105);
charP.x = ((px * 30) + 75);
charP.y = ((py * 30) + 105);
} else {
charL.x = ((lx * 30) + 75);
charL.y = ((ly * 30) + 60);
charP.x = ((px * 30) + 75);
charP.y = ((py * 30) + 60);
};
}
private function lupanRoadSearch(_arg1:int, _arg2:int):void{
if ((_arg2 - 1) >= 0){
lupanA[0].x = _arg1;
lupanA[0].y = (_arg2 - 1);
} else {
lupanA[0].x = -1;
};
if ((_arg2 + 1) <= 8){
lupanA[2].x = _arg1;
lupanA[2].y = (_arg2 + 1);
} else {
lupanA[2].x = -1;
};
if ((_arg1 - 1) >= 0){
lupanA[3].x = (_arg1 - 1);
lupanA[3].y = _arg2;
} else {
lupanA[3].x = -1;
};
if ((_arg1 + 1) <= 8){
lupanA[1].x = (_arg1 + 1);
lupanA[1].y = _arg2;
} else {
lupanA[1].x = -1;
};
trace(((((((("通常 北:" + lupanA[0].x) + " 東:") + lupanA[1].x) + " 南:") + lupanA[2].x) + " 西:") + lupanA[3].x));
}
private function lupanRoadSearchCOM(_arg1:int, _arg2:int):void{
if ((_arg2 - 1) >= 0){
if (((((((_arg2 - 2) == py)) || (((_arg2 - 4) == py)))) && ((_arg1 == px)))){
lupanA[0].x = -1;
} else {
lupanA[0].x = _arg1;
lupanA[0].y = (_arg2 - 1);
};
} else {
lupanA[0].x = -1;
};
if ((_arg2 + 1) <= 8){
if (((((((_arg2 + 2) == py)) || (((_arg2 + 4) == py)))) && ((_arg1 == px)))){
lupanA[2].x = -1;
} else {
lupanA[2].x = _arg1;
lupanA[2].y = (_arg2 + 1);
};
} else {
lupanA[2].x = -1;
};
if ((_arg1 - 1) >= 0){
if (((((((_arg1 - 2) == px)) || (((_arg1 - 4) == px)))) && ((_arg2 == py)))){
lupanA[3].x = -1;
} else {
lupanA[3].x = (_arg1 - 1);
lupanA[3].y = _arg2;
};
} else {
lupanA[3].x = -1;
};
if ((_arg1 + 1) <= 8){
if (((((((_arg1 + 2) == px)) || (((_arg1 + 4) == px)))) && ((_arg2 == py)))){
lupanA[1].x = -1;
} else {
lupanA[1].x = (_arg1 + 1);
lupanA[1].y = _arg2;
};
} else {
lupanA[1].x = -1;
};
trace(((((((("COM用難 ルパン 北:" + lupanA[0].x) + " 東:") + lupanA[1].x) + " 南:") + lupanA[2].x) + " 西:") + lupanA[3].x));
}
private function policeConsider():int{
var _local1:int;
var _local2:int;
policeRoadSearch(px, py);
_local1 = -1;
if (GP != 0){
if (ly == py){
if ((((lx > px)) && (!((policeA[1].x == -1))))){
_local1 = 1;
} else {
if ((((lx < px)) && (!((policeA[3].x == -1))))){
_local1 = 3;
} else {
_local1 = -1;
};
};
} else {
if (lx == px){
if ((((ly < py)) && (!((policeA[0].x == -1))))){
_local1 = 0;
} else {
if ((((ly > py)) && (!((policeA[2].x == -1))))){
_local1 = 2;
} else {
_local1 = -1;
};
};
} else {
if ((((ly < py)) && (!((policeA[0].x == -1))))){
_local1 = 0;
} else {
if ((((ly > py)) && (!((policeA[2].x == -1))))){
_local1 = 2;
} else {
if ((((lx > px)) && (!((policeA[1].x == -1))))){
_local1 = 1;
} else {
if ((((lx < px)) && (!((policeA[3].x == -1))))){
_local1 = 3;
} else {
_local1 = -1;
};
};
};
};
};
};
};
if (_local1 != -1){
_local2 = Math.floor((Math.random() * 3));
trace(("0ならランダム rnd:" + _local2));
if (_local2 != 0){
trace(("ho:" + _local1));
return (_local1);
};
};
do {
_local2 = Math.floor((Math.random() * 5));
if (_local2 == 0){
_local1 = 1;
} else {
if (_local2 == 1){
_local1 = 3;
} else {
if (_local2 == 2){
_local1 = 0;
} else {
_local1 = 2;
};
};
};
if (turnCo == 1){
};
trace(("ランダム追跡 ho:" + _local1));
} while (policeA[_local1].x == -1);
return (_local1);
}
}
}//package game.Lupan
Section 84
//MufufuProcessing (game.Lupan.MufufuProcessing)
package game.Lupan {
import flash.display.*;
import flash.events.*;
import game.*;
public class MufufuProcessing {
private var tgPn1;
private var tgSgL;
private var tgBU:MovieClip;
private var tgSgR;
private var tgInr2;
private var pHd:MovieClip;
private var ui:UI_Lupan;
private var tgPn2:MovieClip;
private var stageMC:Object;
private var nasiMC:MovieClip;
private var ectCo:Number;
private var tgFk;
private var mw:int;
private var charFlg:Boolean;
private var tgBra;
private var tgLL;
private var tgPR;
private var tgPL;
private var tgLR;
private var tgM;
private var inB;
private var cfL:int;
private var Mx;
private var My:Number;
private var animeFlg:int;
private var cfR;
private var mHo:int;
private var braCo:int;
private var downFlg:Boolean;// = false
private var tgHd:MovieClip;
private var snd:Sound_Lupan;
private var tgDw:MovieClip;
private var reactionFlg:Boolean;
private var tgBL;
private var tgInr1;
private var rootMC:MovieClip;
public function MufufuProcessing(_arg1:MovieClip, _arg2:Object){
var _local3:int;
downFlg = false;
super();
rootMC = _arg1;
stageMC = _arg2;
ui = new UI_Lupan(rootMC, stageMC);
snd = new Sound_Lupan(rootMC);
animeFlg = 0;
braCo = 0;
ectCo = 0;
_local3 = rootMC.currentFrame;
if (_local3 == 39){
targetSet1();
partsSet();
pointCal(-1);
pHd = tgM.handMC;
} else {
if (_local3 == 49){
targetSet2();
tgHd.pinkMC.gotoAndStop(Math.round(ectCo));
};
};
tgM.fukidasiMC.gotoAndStop(1);
}
private function fukidasiPro(_arg1:int):void{
var _local2:int;
if (_arg1 == 1){
_local2 = (Math.floor((Math.random() * 2)) + 2);
} else {
if (_arg1 == 2){
_local2 = (Math.floor((Math.random() * 9)) + 3);
} else {
if (_arg1 == 3){
_local2 = (Math.floor((Math.random() * 9)) + 12);
} else {
if (_arg1 == -1){
_local2 = 40;
};
};
};
};
tgM.fukidasiMC.gotoAndStop(_local2);
}
private function playerHandPro(_arg1:int):void{
var _local2:int;
if (_arg1 == 1){
pHd.visible = false;
};
_local2 = (100 - ((300 - My) / 9));
pHd.x = Mx;
pHd.y = My;
pHd.width = _local2;
pHd.height = _local2;
}
public function FmainPro():void{
var _local1:Array;
var _local2:int;
var _local3:int;
var _local4:int;
var _local5:int;
_local2 = tgFk.currentFrame;
Mx = rootMC.mouseX;
My = rootMC.mouseY;
if (animeFlg == 0){
mw = Math.abs(ui.MWval);
_local4 = inB.currentFrame;
if (inB.hitTestPoint(Mx, My, true)){
if (UserInput.MBflgS){
inB.nextFrame();
} else {
if (!downFlg){
if ((((_local4 == 2)) || ((_local4 == 3)))){
mw = 3;
} else {
if ((((_local4 >= 4)) && ((_local4 <= 6)))){
mw = 6;
} else {
if (_local4 >= 7){
mw = 9;
} else {
mw = 0;
};
};
};
};
};
};
if (mw == 0){
} else {
animeFlg = 1;
tgFk.play();
ectCo = (ectCo + 0.5);
rootMC.POINT = (rootMC.POINT - 3);
if (rootMC.POINT <= 0){
rootMC.POINT = 0;
};
if (mw <= 3){
trace(("動き 小:" + mw));
tgPR.gotoAndPlay(10);
tgPL.gotoAndPlay(10);
_local1 = new Array(0, 0, 1, 1);
reactionPro(4, _local1);
} else {
if ((((mw >= 4)) && ((mw <= 6)))){
trace(("動き 中:" + mw));
tgPR.gotoAndPlay(2);
tgPL.gotoAndPlay(2);
_local1 = new Array(0, 0, 2, 4);
reactionPro(4, _local1);
} else {
trace(("動き 大:" + mw));
tgPR.gotoAndPlay(2);
tgPL.gotoAndPlay(2);
_local1 = new Array(0, 0, 3, 4);
reactionPro(4, _local1);
};
};
};
} else {
if (animeFlg == 1){
if (downFlg){
tgFk.prevFrame();
inB.prevFrame();
};
if ((((_local2 >= mw)) || ((_local2 == 13)))){
if (_local2 == 13){
tgFk.gotoAndStop(5);
};
downFlg = true;
if (_local2 == 10){
if (ectCo >= 70){
animeFlg = 2;
inB.visible = false;
tgM.play();
tgDw.sikyuMC.spelmMC.play();
};
};
} else {
if (_local2 == 1){
downFlg = false;
animeFlg = 0;
reactionFlg = false;
mw = 0;
};
};
tgDw.sikyuMC.gotoAndStop(_local2);
} else {
if (animeFlg == 2){
_local5 = tgM.currentFrame;
if (_local5 == 2){
tgHd.gotoAndPlay("Finish");
tgBU.gotoAndPlay("R1");
tgPR.gotoAndPlay(2);
tgPL.gotoAndPlay(2);
snd.playEffectS(6, 1);
} else {
if (_local5 == 9){
tgHd.gotoAndPlay("Finish");
tgBU.gotoAndPlay("Finish");
tgPR.gotoAndPlay(2);
tgPL.gotoAndPlay(2);
snd.playEffectS(6, 1);
} else {
if (_local5 == 27){
tgPR.gotoAndPlay(2);
tgPL.gotoAndPlay(2);
snd.playEffectS(6, 1);
};
};
};
};
};
};
_local3 = tgDw.currentFrame;
if (((tgDw.hitAreaMC.hitTestPoint(Mx, My, true)) && (UserInput.MBflgS))){
if (snd.keyWait(5)){
if (_local3 == 1){
tgDw.sikyuMC.visible = false;
tgDw.gotoAndStop(2);
} else {
if (_local3 == 2){
tgDw.sikyuMC.visible = true;
tgDw.gotoAndStop(1);
};
};
};
};
}
public function fBTNcheck():Boolean{
if ((((((ectCo > 70)) && (!(rootMC.pFlg_bra)))) && (!(rootMC.pFlg_pants)))){
return (true);
};
return (false);
}
public function mainPro():void{
var _local1:Array;
var _local2:int;
var _local3:int;
Mx = rootMC.mouseX;
My = rootMC.mouseY;
mHo = UserInput.mouseDir(Mx, My);
cfR = tgPR.currentFrame;
cfL = tgPL.currentFrame;
playerHandPro(animeFlg);
if (animeFlg == 0){
if (UserInput.MBflgS){
if (rootMC.pFlg_inner){
_local2 = tgInr1.currentFrame;
_local3 = tgInr1.totalFrames;
if (_local2 == _local3){
if (tgInr2.hitAreaMC.hitTestPoint(Mx, My, true)){
tgInr2.nextFrame();
pointCal(2);
if (tgInr2.currentLabel == "AS"){
tgInr2.play();
rootMC.pFlg_inner = false;
};
};
} else {
if (tgInr1.hitAreaMC.hitTestPoint(Mx, My, true)){
pointCal(2);
tgInr1.nextFrame();
};
if (_local2 == 7){
tgInr2.gotoAndStop(2);
};
};
} else {
if (rootMC.pFlg_bra){
_local2 = tgBra.currentFrame;
_local3 = tgBra.totalFrames;
if (tgBra.hitAreaMC.hitTestPoint(Mx, My, true)){
if ((((mHo == 1)) || ((mHo == 2)))){
if (_local2 <= 10){
braCo++;
pointCal(3);
if (braCo > 60){
tgBra.gotoAndPlay(11);
tgPR.gotoAndPlay(1);
tgPL.gotoAndPlay(1);
rootMC.pFlg_bra = false;
} else {
tgBra.nextFrame();
};
};
} else {
if ((((mHo == 5)) || ((mHo == 6)))){
tgBra.prevFrame();
};
};
};
} else {
if (tgPR.hitTestPoint(Mx, My, true)){
tgPR.gotoAndStop(2);
};
if (tgPL.hitTestPoint(Mx, My, true)){
tgPL.gotoAndStop(2);
};
};
if (rootMC.pFlg_pants){
_local2 = tgPn1.currentFrame;
_local3 = tgPn1.totalFrames;
if (_local2 == _local3){
if (tgPn2.hitAreaMC.hitTestPoint(Mx, My, true)){
tgPn2.nextFrame();
pointCal(3);
if (tgPn2.currentLabel == "AS"){
tgPn2.play();
rootMC.pFlg_pants = false;
};
};
} else {
if (tgPn1.hitAreaMC.hitTestPoint(Mx, My, true)){
tgPn1.nextFrame();
pointCal(3);
};
if (_local2 == 7){
tgPn2.gotoAndStop(2);
};
};
};
};
if (rootMC.pFlg_stockingR){
if (tgSgR.hitAreaMC.hitTestPoint(Mx, My, true)){
tgSgR.nextFrame();
pointCal(1);
if (tgSgR.currentLabel == "AS"){
tgSgR.play();
rootMC.pFlg_stockingR = false;
};
};
};
if (rootMC.pFlg_stockingL){
if (tgSgL.hitAreaMC.hitTestPoint(Mx, My, true)){
tgSgL.nextFrame();
pointCal(1);
if (tgSgL.currentLabel == "AS"){
tgSgL.play();
rootMC.pFlg_stockingL = false;
};
};
};
if (tgHd.hitAreaMC.hitTestPoint(Mx, My, true)){
_local1 = new Array(0, 1, 4, 1);
reactionPro(4, _local1);
};
if (tgLR.hitAreaMC.hitTestPoint(Mx, My, true)){
_local1 = new Array(1, 0, 4, 4);
reactionPro(4, _local1);
};
if (tgLL.hitAreaMC.hitTestPoint(Mx, My, true)){
_local1 = new Array(1, 0, 4, 4);
reactionPro(4, _local1);
};
if (tgBU.hitAreaMC.hitTestPoint(Mx, My, true)){
if (rootMC.pFlg_inner){
_local1 = new Array(0, 1, 0, 1);
reactionPro(4, _local1);
} else {
_local1 = new Array(1, 1, 1, 4);
reactionPro(4, _local1);
};
};
if (((tgPR.hitTestPoint(Mx, My, true)) || (tgPL.hitTestPoint(Mx, My, true)))){
if (rootMC.pFlg_bra){
_local1 = new Array(0, 1, 1, 1);
reactionPro(4, _local1);
} else {
_local1 = new Array(1, 3, 3, 3);
reactionPro(4, _local1);
};
};
if (tgBL.hitAreaMC.hitTestPoint(Mx, My, true)){
if (rootMC.pFlg_pants){
_local1 = new Array(4, 1, 4, 1);
reactionPro(4, _local1);
} else {
reactionPro(0, _local1);
};
};
pHd.gotoAndStop(2);
pointCal(0);
} else {
pHd.gotoAndStop(1);
if (rootMC.pFlg_bra){
tgBra.gotoAndStop(1);
};
if ((((tgFk.currentFrame == 1)) && ((tgBL.currentFrame == 1)))){
reactionFlg = false;
};
};
if (!rootMC.pFlg_bra){
if (((tgPR.hitTestPoint(Mx, My, true)) && (!((mHo == 0))))){
if (cfR == tgPR.totalFrames){
tgPR.gotoAndPlay(2);
};
} else {
tgPR.nextFrame();
};
if (((tgPL.hitTestPoint(Mx, My, true)) && (!((mHo == 0))))){
if (cfL == tgPL.totalFrames){
tgPL.gotoAndPlay(2);
};
} else {
tgPL.nextFrame();
};
};
};
}
private function targetSet1():void{
Mx = rootMC.mouseX;
My = rootMC.mouseY;
tgM = rootMC.mufufuMC;
tgFk = tgM.fujikoMC;
tgBL = tgFk.lowerBMC;
tgBU = tgFk.upperBMC;
tgLR = tgBL.legRMC;
tgLL = tgBL.legLMC;
tgPR = tgBU.pieRMC;
tgPL = tgBU.pieLMC;
tgHd = tgBU.headMC;
tgSgR = tgLR.stockingRMC;
tgSgL = tgLL.stockingLMC;
tgInr1 = tgBL.innerMC;
tgInr2 = tgBU.innerMC;
tgBra = tgBU.braMC;
tgPn1 = tgBL.pantsMC;
tgPn2 = tgLR.pantsMC;
}
private function targetSet2():void{
tgM = rootMC.finishMC;
tgFk = tgM.fujikoMC;
tgBU = tgFk.upperBMC;
tgPR = tgBU.pieRMC;
tgPL = tgBU.pieLMC;
tgHd = tgBU.headMC;
inB = tgM.inBTNMC;
tgDw = tgM.danmenMC;
nasiMC = rootMC.nasiMC;
}
private function othersPro():void{
tgM.poTXT.text = rootMC.POINT;
}
private function pointCal(_arg1:int):void{
if (_arg1 == 0){
rootMC.POINT--;
} else {
if (_arg1 == 1){
rootMC.POINT = (rootMC.POINT - 20);
} else {
if (_arg1 == 2){
rootMC.POINT = (rootMC.POINT - 25);
} else {
if (_arg1 == 3){
rootMC.POINT = (rootMC.POINT - 3);
} else {
if (_arg1 == 4){
rootMC.POINT = (rootMC.POINT - 100);
};
};
};
};
};
if (rootMC.POINT <= 0){
rootMC.POINT = 0;
fukidasiPro(-1);
animeFlg = 1;
};
tgM.poTXT.text = rootMC.POINT;
}
public function debugPro():void{
var _local1:String;
var _local2:String;
_local1 = ((((((((((((("animeFlg: " + animeFlg) + "\nreactionFlg: ") + reactionFlg) + "\ndownFlg: ") + downFlg) + "\n\nect: ") + ectCo) + "\nWH: ") + mw) + "\n\nectCo:") + ectCo) + "\npoint:") + rootMC.POINT);
_local2 = (_local1 + "\n");
rootMC.dText.text = _local2;
}
private function reactionPro(_arg1:int, _arg2:Array):void{
var _local3:*;
var _local4:*;
var _local5:*;
var _local6:int;
var _local7:int;
var _local8:String;
if (reactionFlg){
return;
};
reactionFlg = true;
if (_arg1 == 0){
_local3 = Math.floor((Math.random() * 5));
_local4 = Math.floor((Math.random() * 5));
_local5 = Math.floor((Math.random() * 5));
_local6 = Math.floor((Math.random() * 5));
_arg2 = new Array(_local3, _local4, _local5, _local6);
} else {
if ((((_arg1 >= 1)) && ((_arg1 <= 3)))){
_arg2 = new Array(_arg1, _arg1, _arg1, _arg1);
};
};
if (_arg2[0] != 0){
if (_arg2[0] == 4){
_local7 = ((Math.random() * 3) + 1);
} else {
_local7 = _arg2[0];
};
_local8 = ("R" + _local7);
tgBL.gotoAndPlay(_local8);
ectCo = (ectCo + 0.2);
};
if (_arg2[1] != 0){
if (_arg2[1] == 4){
_local7 = ((Math.random() * 3) + 1);
} else {
_local7 = _arg2[1];
};
_local8 = ("R" + _local7);
tgFk.gotoAndPlay(_local8);
ectCo = (ectCo + 0.35);
};
if (_arg2[2] != 0){
if (_arg2[2] == 4){
_local7 = ((Math.random() * 3) + 1);
} else {
_local7 = _arg2[2];
};
_local8 = ("R" + _local7);
tgBU.gotoAndPlay(_local8);
ectCo = (ectCo + 0.2);
};
if (_arg2[3] != 0){
if (_arg2[3] == 4){
_local7 = ((Math.random() * 3) + 1);
} else {
_local7 = _arg2[3];
};
_local8 = ("R" + _local7);
tgHd.gotoAndPlay(_local8);
fukidasiPro(_local7);
};
if (ectCo >= 100){
ectCo = 100;
};
tgHd.pinkMC.gotoAndStop(Math.round(ectCo));
tgM.gaugeMC.gotoAndStop(Math.round(ectCo));
}
private function partsSet():void{
tgSgR.visible = rootMC.pFlg_stockingR;
tgSgL.visible = rootMC.pFlg_stockingL;
tgInr1.visible = (tgInr2.visible = rootMC.pFlg_inner);
tgBra.visible = rootMC.pFlg_bra;
tgPn1.visible = (tgPn2.visible = rootMC.pFlg_pants);
}
public function removeListenerPro():void{
ui.removeListenerPro();
ui = null;
}
}
}//package game.Lupan
Section 85
//Sound_Lupan (game.Lupan.Sound_Lupan)
package game.Lupan {
import flash.display.*;
import flash.events.*;
import flash.media.*;
public class Sound_Lupan {
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_Lupan(_arg1:MovieClip){
rootMC = _arg1;
effect = new Array();
effect[1] = new effect01();
effect[2] = new effect02();
effect[3] = new effect03();
effect[5] = new effect05();
effect[6] = new effect06();
effect[7] = new effect07();
effect[8] = new effect08();
effect[9] = new effect09();
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 <= 19){
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.nasiMC.currentFrame;
if (_local2 == 1){
playEffectS(_arg1, 1);
rootMC.nasiMC.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.Lupan
Section 86
//UI_Lupan (game.Lupan.UI_Lupan)
package game.Lupan {
import flash.display.*;
import flash.events.*;
import game.*;
public class UI_Lupan extends UserInput {
protected var Dy1:Number;
protected var Dy2:Number;
protected var Dr1:Number;
protected var Dr2:Number;
protected var Ds1:Number;
protected var Ds2:Number;
protected var Dx1:Number;
protected var Dx2:Number;
public function UI_Lupan(_arg1:MovieClip, _arg2:Object){
super(_arg1, _arg2);
}
override protected function keyDownPro(_arg1:KeyboardEvent):void{
keyNo = _arg1.charCode;
if (keyNo == 97){
stageMC.quality = StageQuality.LOW;
} else {
if (keyNo == 115){
stageMC.quality = StageQuality.MEDIUM;
} else {
if (keyNo == 100){
stageMC.quality = StageQuality.HIGH;
};
};
};
keyCo = _arg1.keyCode;
if (keyCo == 37){
keyFlgL = true;
};
if (keyCo == 38){
keyFlgU = true;
};
if (keyCo == 39){
keyFlgR = true;
};
if (keyCo == 40){
keyFlgD = true;
};
directionPro();
if (keyCo == 32){
keyFlgSp = true;
};
}
}
}//package game.Lupan
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
//SharedObj (game.SharedObj)
package game {
import flash.net.*;
public class SharedObj {
private var hostName:String;
private var so:SharedObject;
public function SharedObj(_arg1:String){
hostName = _arg1;
}
public function dataLoad():Object{
var _local1:Object;
var _local2:*;
trace("ロード処理");
so = SharedObject.getLocal(hostName);
if (so){
_local1 = so.data;
};
trace("データ確認 sharedクラス");
for (_local2 in _local1) {
trace(((_local2 + " : ") + _local1[_local2]));
};
trace(("saize:" + so.size));
so.close();
return (_local1);
}
public function dataClear():void{
so = SharedObject.getLocal(hostName);
if (so){
so.clear();
so.close();
};
}
public function testPro(_arg1:Object){
var _local2:*;
for (_local2 in _arg1) {
trace(((_local2 + " : ") + _arg1[_local2]));
};
}
public function dataSave(_arg1:Object){
var _local2:*;
var _local3:Object;
trace("セーブ処理");
so = SharedObject.getLocal(hostName);
trace("データ確認 sharedクラス");
for (_local2 in _arg1) {
trace(((_local2 + " : ") + _arg1[_local2]));
so.data[_local2] = _arg1[_local2];
};
_local3 = so.flush();
trace(((("flushResult: " + _local3) + " saize:") + so.size));
so.close();
}
}
}//package game
Section 91
//UserInput (game.UserInput)
package game {
import flash.display.*;
import flash.events.*;
public class UserInput {
protected var keyNo:int;// = 0
protected var keyFlgD:Boolean;// = false
protected var wheelVal:int;
protected var keyFlgL:Boolean;// = false
protected var keyFlgR:Boolean;// = false
protected var keyFlgU:Boolean;// = false
protected var stageMC:Object;
protected var cursolH:int;// = 0
protected var keyCo:int;// = 0
protected var rootMC:MovieClip;
protected var keyFlgSp:Boolean;// = false
protected static var fx:Number;
protected static var fy:Number;
protected static var mouseFlg:Boolean;
public function UserInput(_arg1:MovieClip, _arg2:Object){
keyNo = 0;
keyCo = 0;
keyFlgL = false;
keyFlgR = false;
keyFlgU = false;
keyFlgD = false;
cursolH = 0;
keyFlgSp = false;
super();
rootMC = _arg1;
stageMC = _arg2;
listenerSet();
}
protected function listenerSet():void{
stageMC.addEventListener(KeyboardEvent.KEY_DOWN, keyDownPro);
stageMC.addEventListener(KeyboardEvent.KEY_UP, keyUpPro);
rootMC.addEventListener(MouseEvent.MOUSE_MOVE, mouseMV);
rootMC.addEventListener(MouseEvent.MOUSE_DOWN, mouseBTNon);
rootMC.addEventListener(MouseEvent.MOUSE_UP, mouseBTNoff);
rootMC.addEventListener(MouseEvent.MOUSE_WHEEL, mouseWheelHandler);
}
public function get getKeyNo():int{
return (keyNo);
}
protected function mouseMV(_arg1:MouseEvent):void{
mouseFlg = _arg1.buttonDown;
}
public function get getKeyH():int{
return (cursolH);
}
protected function mouseBTNoff(_arg1:MouseEvent):void{
mouseFlg = _arg1.buttonDown;
}
public function get MWval():int{
var _local1:int;
_local1 = wheelVal;
wheelVal = 0;
return (_local1);
}
protected function mouseBTNon(_arg1:MouseEvent):void{
mouseFlg = _arg1.buttonDown;
}
protected function keyDownPro(_arg1:KeyboardEvent):void{
keyNo = _arg1.charCode;
if (keyNo == 97){
stageMC.quality = StageQuality.LOW;
} else {
if (keyNo == 115){
stageMC.quality = StageQuality.MEDIUM;
} else {
if (keyNo == 100){
stageMC.quality = StageQuality.HIGH;
};
};
};
keyCo = _arg1.keyCode;
if (keyCo == 37){
keyFlgL = true;
};
if (keyCo == 38){
keyFlgU = true;
};
if (keyCo == 39){
keyFlgR = true;
};
if (keyCo == 40){
keyFlgD = true;
};
directionPro();
if (keyCo == 32){
keyFlgSp = true;
};
}
public function get getKeySp():Boolean{
return (keyFlgSp);
}
protected function directionPro():void{
if (keyFlgU){
cursolH = 1;
};
if (keyFlgR){
cursolH = 3;
};
if (keyFlgD){
cursolH = 5;
};
if (keyFlgL){
cursolH = 7;
};
if (((keyFlgU) && (keyFlgR))){
cursolH = 2;
} else {
if (((keyFlgR) && (keyFlgD))){
cursolH = 4;
} else {
if (((keyFlgD) && (keyFlgL))){
cursolH = 6;
} else {
if (((keyFlgL) && (keyFlgU))){
cursolH = 8;
} else {
if (((((((!(keyFlgL)) && (!(keyFlgR)))) && (!(keyFlgU)))) && (!(keyFlgD)))){
cursolH = 0;
};
};
};
};
};
}
protected function mouseWheelHandler(_arg1:MouseEvent):void{
wheelVal = _arg1.delta;
}
public function get getKeyCo():int{
return (keyCo);
}
protected function keyUpPro(_arg1:KeyboardEvent):void{
var _local2:*;
keyNo = 0;
keyCo = 0;
_local2 = _arg1.keyCode;
if (_local2 == 37){
keyFlgL = false;
};
if (_local2 == 39){
keyFlgR = false;
};
if (_local2 == 38){
keyFlgU = false;
};
if (_local2 == 40){
keyFlgD = false;
};
directionPro();
keyFlgSp = false;
}
public function removeListenerPro():void{
trace("UserInput : removeListenerPro//リスナー削除作業実行");
stageMC.removeEventListener(KeyboardEvent.KEY_DOWN, keyDownPro);
stageMC.removeEventListener(KeyboardEvent.KEY_UP, keyUpPro);
rootMC.removeEventListener(MouseEvent.MOUSE_MOVE, mouseMV);
rootMC.removeEventListener(MouseEvent.MOUSE_DOWN, mouseBTNon);
rootMC.removeEventListener(MouseEvent.MOUSE_UP, mouseBTNoff);
rootMC.removeEventListener(MouseEvent.MOUSE_WHEEL, mouseWheelHandler);
}
public static function get MBflgS():Boolean{
return (mouseFlg);
}
public static function mouseDir(_arg1:Number, _arg2:Number):int{
var _local3:Number;
var _local4:Number;
var _local5:Number;
var _local6:Number;
var _local7:Number;
var _local8:Number;
var _local9:int;
_local3 = (fx - _arg1);
_local4 = (fy - _arg2);
_local5 = (_local3 * _local3);
_local6 = (_local4 * _local4);
_local7 = Math.sqrt((_local5 + _local6));
_local8 = ((Math.atan2(_local4, _local3) * 180) / Math.PI);
fx = _arg1;
fy = _arg2;
if ((((_local8 == 0)) && ((_local7 == 0)))){
_local9 = 0;
} else {
if ((((_local8 > 67.5)) && ((_local8 < 112.5)))){
_local9 = 1;
} else {
if ((((_local8 > 112.5)) && ((_local8 < 157.5)))){
_local9 = 2;
} else {
if ((((_local8 > 157.5)) || ((_local8 < -157.5)))){
_local9 = 3;
} else {
if ((((_local8 < -112.5)) && ((_local8 > -157.5)))){
_local9 = 4;
} else {
if ((((_local8 < -67.5)) && ((_local8 > -112.5)))){
_local9 = 5;
} else {
if ((((_local8 < -22.5)) && ((_local8 > -67.5)))){
_local9 = 6;
} else {
if ((((_local8 < 22.5)) && ((_local8 > -22.5)))){
_local9 = 7;
} else {
if ((((_local8 > 22.5)) && ((_local8 < 67.5)))){
_local9 = 8;
};
};
};
};
};
};
};
};
};
return (_local9);
}
}
}//package game
Section 92
//charLupan (charLupan)
package {
import flash.display.*;
public dynamic class charLupan extends MovieClip {
public var lightMC:MovieClip;
public function charLupan(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package
Section 93
//charPolice (charPolice)
package {
import flash.display.*;
public dynamic class charPolice extends MovieClip {
public var lightMC:MovieClip;
}
}//package
Section 94
//effect01 (effect01)
package {
import flash.media.*;
public dynamic class effect01 extends Sound {
}
}//package
Section 95
//effect02 (effect02)
package {
import flash.media.*;
public dynamic class effect02 extends Sound {
}
}//package
Section 96
//effect03 (effect03)
package {
import flash.media.*;
public dynamic class effect03 extends Sound {
}
}//package
Section 97
//effect05 (effect05)
package {
import flash.media.*;
public dynamic class effect05 extends Sound {
}
}//package
Section 98
//effect06 (effect06)
package {
import flash.media.*;
public dynamic class effect06 extends Sound {
}
}//package
Section 99
//effect07 (effect07)
package {
import flash.media.*;
public dynamic class effect07 extends Sound {
}
}//package
Section 100
//effect08 (effect08)
package {
import flash.media.*;
public dynamic class effect08 extends Sound {
}
}//package
Section 101
//effect09 (effect09)
package {
import flash.media.*;
public dynamic class effect09 extends Sound {
}
}//package
Section 102
//effect10 (effect10)
package {
import flash.media.*;
public dynamic class effect10 extends Sound {
}
}//package
Section 103
//effect11 (effect11)
package {
import flash.media.*;
public dynamic class effect11 extends Sound {
}
}//package
Section 104
//loader (loader)
package {
import flash.display.*;
public dynamic class loader extends MovieClip {
public var bar:MovieClip;
public var loadBar:MovieClip;
}
}//package