Section 1
//BTN_Touch (game.TouchGame.BTN_Touch)
package game.TouchGame {
import flash.display.*;
import flash.events.*;
public class BTN_Touch {
private var rFlg:Boolean;// = false
private var nFlg:Boolean;// = false
private var page:int;// = 0
private var btn:Array;
private var snd:Sound_Touch;
private var sFlg:int;// = 0
private var rootMC:MovieClip;
public function BTN_Touch(_arg1:MovieClip){
var _local2:int;
sFlg = 0;
rFlg = false;
nFlg = false;
page = 0;
super();
snd = new Sound_Touch(_arg1);
rootMC = _arg1;
_local2 = rootMC.currentFrame;
btn = new Array();
if (_local2 == 10){
btn[1] = rootMC.titleMC.button1;
btn[2] = rootMC.titleMC.button2;
btn[3] = rootMC.titleMC.button3;
btn[1].addEventListener(MouseEvent.CLICK, btnPro_title);
btn[2].addEventListener(MouseEvent.CLICK, btnPro_title);
btn[3].addEventListener(MouseEvent.CLICK, btnPro_title);
} else {
if (_local2 == 20){
btn[1] = rootMC.frontMC.returnBTN;
btn[1].addEventListener(MouseEvent.CLICK, btnPro_return);
btn[2] = rootMC.frontMC.nextBTN;
btn[2].addEventListener(MouseEvent.CLICK, btnPro_next);
} else {
if (_local2 == 30){
btn[1] = rootMC.frontMC.returnBTN;
btn[1].addEventListener(MouseEvent.CLICK, btnPro_return);
btn[2] = rootMC.frontMC.leftBTN;
btn[3] = rootMC.frontMC.rightBTN;
btn[2].addEventListener(MouseEvent.CLICK, btnPro_page);
btn[3].addEventListener(MouseEvent.CLICK, btnPro_page);
};
};
};
trace("ボタン設定");
}
private function btnPro_return(_arg1:MouseEvent):void{
rFlg = true;
snd.playEffectS(3, 1);
}
private function btnPro_next(_arg1:MouseEvent):void{
nFlg = true;
snd.playEffectS(1, 1);
}
private function btnPro_title(_arg1:MouseEvent):void{
var _local2:String;
_local2 = _arg1.target.name.substr(6, 1);
sFlg = int(_local2);
trace(("no: " + sFlg));
snd.playEffectS(1, 1);
}
public function bSound(_arg1, _arg2):void{
snd.playEffectS(_arg1, _arg2);
}
public function get returnFlg():Boolean{
return (rFlg);
}
public function get pageVal():int{
return (page);
}
private function btnPro_page(_arg1:MouseEvent):void{
var _local2:String;
_local2 = _arg1.target.name;
if (_local2 == "leftBTN"){
page = -1;
} else {
if (_local2 == "rightBTN"){
page = 1;
};
};
}
public function get startFlg():int{
return (sFlg);
}
public function set pageVal(_arg1:int):void{
page = _arg1;
}
public function set nextFlg(_arg1:Boolean):void{
nFlg = _arg1;
}
public function get nextFlg():Boolean{
return (nFlg);
}
public function removeListenerPro():void{
var _local1:int;
trace("Touch_Button::リスナー削除");
_local1 = rootMC.currentFrame;
if ((((_local1 >= 10)) && ((_local1 <= 19)))){
btn[1].removeEventListener(MouseEvent.CLICK, btnPro_title);
btn[2].removeEventListener(MouseEvent.CLICK, btnPro_title);
btn[3].removeEventListener(MouseEvent.CLICK, btnPro_title);
btn = null;
} else {
if ((((_local1 >= 20)) && ((_local1 <= 29)))){
btn[1].removeEventListener(MouseEvent.CLICK, btnPro_return);
btn[2].removeEventListener(MouseEvent.CLICK, btnPro_next);
btn = null;
} else {
if ((((_local1 >= 30)) && ((_local1 <= 39)))){
btn[1].removeEventListener(MouseEvent.CLICK, btnPro_return);
btn[2].removeEventListener(MouseEvent.CLICK, btnPro_page);
btn[3].removeEventListener(MouseEvent.CLICK, btnPro_page);
btn = null;
};
};
};
rootMC = null;
}
public function set startFlg(_arg1:int):void{
sFlg = _arg1;
}
}
}//package game.TouchGame
Section 2
//CMS_Touch (game.TouchGame.CMS_Touch)
package game.TouchGame {
import flash.display.*;
import flash.events.*;
import game.*;
import flash.ui.*;
public class CMS_Touch extends ContextMenuSet {
private var cFlg:Boolean;
var item2;
var item9:ContextMenuItem;
var item8;
var item1;
private static var lFlg:Boolean = false;
private static var cCo:int = 0;
public function CMS_Touch(_arg1:MovieClip){
super(_arg1);
cCo++;
trace(("コンテキストメニュー設定 cCo:" + cCo));
}
public function set changeFlg(_arg1:Boolean):void{
cFlg = _arg1;
}
protected function itemSelectHandler1(_arg1:ContextMenuEvent):void{
if (lFlg){
item1.caption = "Drag line: ON";
lFlg = false;
} else {
item1.caption = "Drag line: OFF";
lFlg = true;
};
cFlg = true;
}
public function removeListenerPro():void{
trace("CMS_Touch ::リスナー削除");
item8.removeEventListener(ContextMenuEvent.MENU_ITEM_SELECT, itemSelectHandler8);
item9.removeEventListener(ContextMenuEvent.MENU_ITEM_SELECT, itemSelectHandler9);
myContextMenu = null;
lFlg = false;
rootMC = null;
}
protected function itemSelectHandler9(_arg1:ContextMenuEvent):void{
var _local2:int;
trace(("CMS_Touch:: リスタート!! cCo:" + cCo));
_local2 = rootMC.currentFrame;
if ((((_local2 >= 10)) && ((_local2 <= 19)))){
trace("タイトル画面なのでキャンセル");
} else {
rootMC.restartPro();
};
}
protected function itemSelectHandler8(_arg1:ContextMenuEvent):void{
trace("------");
}
override protected function addCustomMenuItems():void{
item8 = new ContextMenuItem("-----------");
item9 = new ContextMenuItem("Restart");
myContextMenu.customItems.push(item8, item9);
item8.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, itemSelectHandler8);
item9.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, itemSelectHandler9);
}
public function get changeFlg():Boolean{
return (cFlg);
}
public function set lineFlg(_arg1:Boolean):void{
lFlg = _arg1;
}
public function get lineFlg():Boolean{
return (lFlg);
}
}
}//package game.TouchGame
Section 3
//PlayPro_Touch (game.TouchGame.PlayPro_Touch)
package game.TouchGame {
import flash.display.*;
import game.*;
import flash.geom.*;
public class PlayPro_Touch {
private var pfCo:int;// = 1
private var tgSC;
private var startFm:int;
private var playFlg:int;// = 0
private var reactionFlg:Boolean;// = false
private var ui:UserInput;
private var allClearFlg:Boolean;// = false
private var snd:Sound_Touch;
private var mx;
private var my:Number;
private var tgTG;
private var tg:Touch_targetPro;
private var rootMC:MovieClip;
private var tgMs:MovieClip;
private var partsCo:int;// = 1
private var miss:int;// = 1
public function PlayPro_Touch(_arg1:MovieClip, _arg2:Object, _arg3:int){
allClearFlg = false;
playFlg = 0;
partsCo = 1;
miss = 1;
pfCo = 1;
reactionFlg = false;
super();
rootMC = _arg1;
snd = new Sound_Touch(_arg1);
ui = new UserInput(rootMC, _arg2);
tg = new Touch_targetPro(rootMC.playMC);
startFm = _arg3;
trace(("開始面 startFm:" + startFm));
rootMC.frontMC.stageTXT.text = ("stage " + startFm);
rootMC.playMC.gotoAndStop(startFm);
tgTG = rootMC.frontMC.timeGaugeMC;
tgSC = rootMC.playMC.countMC;
tgMs = rootMC.frontMC.skeletonMC;
rootMC.playMC.addChild(tgSC);
rootMC.frontMC.returnBTN.x = 2000;
rootMC.frontMC.nextBTN.x = 2000;
}
public function get getPTg2():Array{
return (tg.PTg2);
}
public function get getDTg():Array{
return (tg.DTg);
}
private function expansion_reduction(_arg1:Boolean, _arg2:MovieClip, ... _args):Boolean{
var _local4:Matrix;
if (_arg1){
_local4 = new Matrix();
_local4 = _arg2.mtx.clone();
_local4.a = (_arg2.mtx.a + 0.05);
_local4.d = (_arg2.mtx.d + 0.05);
_arg2.transform.matrix = _local4;
_arg2.transform.colorTransform = new ColorTransform(1, 1, 1, 1, 0xFF, 0xFF, 0xFF, 0);
return (true);
};
_arg2.transform.matrix = _arg2.mtx;
_arg2.transform.colorTransform = _arg2.ct;
return (false);
}
public function getTarget(_arg1:int):void{
tg.getTarget(_arg1);
}
public function get getDTg2():Array{
return (tg.DTg2);
}
public function reactionPro():void{
var _local1:int;
var _local2:int;
mx = rootMC.mouseX;
my = rootMC.mouseY;
if (tg.pieMC1 != null){
if (((UserInput.MBflgS) && (tg.pieMC1.hitTestPoint(mx, my, true)))){
if (tg.charMC1.pieFlg){
tg.pieMC1.play();
};
};
};
if (tg.pieMC2 != null){
if (((UserInput.MBflgS) && (tg.pieMC2.hitTestPoint(mx, my, true)))){
if (tg.charMC1.pieFlg){
tg.pieMC2.play();
};
};
};
if (tg.mosaicMC != null){
if (((UserInput.MBflgS) && (tg.mosaicMC.hitTestPoint(mx, my, true)))){
if (((tg.charMC1.mosaicFlg) && (snd.keyWait(3)))){
if (tg.mosaicMC.currentFrame == tg.mosaicMC.totalFrames){
tg.mosaicMC.gotoAndStop(1);
} else {
tg.mosaicMC.nextFrame();
};
};
};
};
if (tg.ETg != null){
_local1 = 1;
while (_local1 < tg.ETg.length) {
if (tg.ETg[_local1].hitTestPoint(mx, my, true)){
tg.ETg[_local1].play();
reactionAnimePro(99);
return;
};
_local1++;
};
};
if (tg.charMC1 != null){
if (tg.charMC1.currentFrame == 1){
reactionFlg = false;
};
};
if (reactionFlg){
return;
};
if (tg.CTg != null){
_local2 = 1;
while (_local2 < tg.CTg.length) {
if (tg.CTg[_local2].hitTestPoint(mx, my, true)){
if (UserInput.MBflgS){
reactionAnimePro(_local2);
};
};
_local2++;
};
};
}
public function sPartsCheck(_arg1:int):void{
trace(((("特定パーツチェック処理 :" + _arg1) + " name:") + tg.PTg[_arg1].name));
if ((((tg.PTg[_arg1].name == "brassiereMC")) || ((tg.PTg[_arg1].name == "onePieceMC")))){
if (tg.pieMC1 != null){
tg.pieMC1.play();
};
if (tg.pieMC2 != null){
tg.pieMC2.play();
};
};
if (tg.PTg[_arg1].name == "pantsMC"){
if (tg.mosaicMC != null){
tg.mosaicMC.visible = true;
};
};
}
public function get getPTg():Array{
return (tg.PTg);
}
public function get clearCheack():Boolean{
return (allClearFlg);
}
public function debugPro():void{
var _local1:Array;
var _local2:int;
var _local3:String;
var _local4:String;
if (tg.PTg == null){
return;
};
_local1 = new Array();
_local2 = 0;
while (_local2 <= 4) {
if (tg.PTg[_local2] == null){
_local1[_local2] = "null";
} else {
_local1[_local2] = tg.PTg[_local2].name;
};
_local2++;
};
_local3 = ((((((((_local1[0] + "\n") + _local1[1]) + "\n") + _local1[2]) + "\n") + _local1[3]) + "\n") + _local1[4]);
_local4 = _local3;
rootMC.dText.text = _local4;
}
public function reactionAnimePro(_arg1:int):void{
var _local2:int;
if (reactionFlg){
return;
};
reactionFlg = true;
if ((((_arg1 >= 1)) && ((_arg1 <= 3)))){
_local2 = Math.floor((Math.random() * 23));
if (_local2 < 10){
_local2 = 2;
} else {
if (_local2 < 20){
_local2 = 3;
} else {
_local2 = 1;
};
};
} else {
_local2 = Math.floor((Math.random() * 10));
if (_local2 == 0){
_local2 = 2;
} else {
if (_local2 == 1){
_local2 = 3;
} else {
_local2 = 1;
};
};
};
if (_arg1 == 3){
if (tg.pantsMC != null){
tg.pantsMC.nextFrame();
};
};
trace(((("No: " + _arg1) + " 乱数:") + _local2));
tg.charMC1.gotoAndPlay(("R" + _local2));
tg.faceMC1.gotoAndPlay(("R" + _local2));
}
public function nextPro():void{
var _local1:int;
var _local2:DisplayObject;
trace(" nextPro():void{//次画面処理");
_local1 = 1;
while (_local1 < tg.PTg.length) {
_local1++;
};
tg.targetClear();
partsCo = 1;
pfCo = 1;
miss = 1;
tgMs.gotoAndStop(miss);
startFm++;
rootMC.frontMC.stageTXT.text = ("stage " + startFm);
rootMC.playMC.gotoAndStop(startFm);
tgSC.gotoAndPlay(2);
rootMC.frontMC.returnBTN.x = 2000;
rootMC.frontMC.nextBTN.x = 2000;
_local2 = rootMC.playMC.getChildByName("countMC");
rootMC.playMC.setChildIndex(_local2, (rootMC.playMC.numChildren - 1));
playFlg = 0;
}
public function mainPro():int{
var _local1:int;
var _local2:int;
var _local3:Boolean;
var _local4:int;
var _local5:int;
var _local6:*;
var _local7:*;
var _local8:*;
var _local9:int;
var _local10:*;
var _local11:*;
var _local12:int;
var _local13:*;
var _local14:int;
mx = rootMC.mouseX;
my = rootMC.mouseY;
switch (playFlg){
case 0:
_local1 = tgSC.currentFrame;
_local2 = (tgSC.totalFrames - 1);
if (_local1 == _local2){
tg.getTarget(startFm);
playFlg = 5;
};
break;
case 1:
_local3 = false;
_local5 = 1;
for (;_local5 < tg.PTg.length;_local5++) {
if (tg.PTg[_local5].hitTestPoint(mx, my, true)){
if (!tg.PTg[_local5].visible){
continue;
};
expansion_reduction(true, tg.PTg[_local5], "1:PTg 拡大");
if (tg.PTg[_local5].subTg){
_local6 = 1;
while (_local6 < tg.PTg2.length) {
expansion_reduction(true, tg.PTg2[_local6], "2:PTg2 拡大");
_local6++;
};
};
if (UserInput.MBflgS){
if (_local5 == partsCo){
partsCo++;
tg.PTg[_local5].visible = false;
if (tg.PTg[_local5].subTg){
_local7 = 1;
while (_local7 < tg.PTg2.length) {
tg.PTg2[_local7].visible = false;
_local7++;
};
};
trace(("正解!! name:" + tg.PTg[_local5].name));
sPartsCheck(_local5);
snd.playEffectS(4, 1);
if (tg.PTg.length == partsCo){
trace("クリア!");
miss = 1;
tgMs.gotoAndStop(miss);
if (rootMC.playMC.currentLabel == "last"){
trace("!!!!!全クリア!!!!");
allClearFlg = true;
tgTG.gotoAndPlay("allClear");
rootMC.frontMC.returnBTN.x = 570;
} else {
tgTG.gotoAndPlay("clear");
rootMC.frontMC.nextBTN.x = 560;
};
playFlg = 2;
break;
} else {
tgTG.gotoAndPlay(2);
};
} else {
_local3 = true;
break;
};
};
} else {
if (tg.PTg[_local5].mtx.a != tg.PTg[_local5].transform.matrix.a){
expansion_reduction(false, tg.PTg[_local5], "3:PTg 縮小");
if (tg.PTg[_local5].subTg){
_local8 = 1;
while (_local8 < tg.PTg2.length) {
expansion_reduction(false, tg.PTg2[_local8], "4:PTg2 縮小");
_local8++;
};
};
};
};
};
if (tg.DTg != null){
_local9 = 1;
while (_local9 < tg.DTg.length) {
if (tg.DTg[_local9].hitTestPoint(mx, my, true)){
expansion_reduction(true, tg.DTg[_local9], "5:DTg 拡大");
if (tg.DTg[_local9].subTg){
_local10 = 1;
while (_local10 < tg.DTg2.length) {
expansion_reduction(true, tg.DTg2[_local10], "6:DTg2 拡大");
_local10++;
};
};
if (UserInput.MBflgS){
_local3 = true;
};
} else {
if (tg.DTg[_local9].mtx.a != tg.DTg[_local9].transform.matrix.a){
expansion_reduction(false, tg.DTg[_local9], "7:DTg 縮小");
if (tg.DTg[_local9].subTg){
_local11 = 1;
while (_local11 < tg.DTg2.length) {
expansion_reduction(false, tg.DTg2[_local11], "8:DTg2 縮小");
_local11++;
};
};
};
};
_local9++;
};
};
reactionPro();
if ((((tgTG.currentLabel == "timeOut")) || (_local3))){
trace("まちがい!!");
miss++;
tgMs.gotoAndStop(miss);
if (miss >= 4){
trace("ゲームオーバー");
tgTG.gotoAndPlay("gameOver");
rootMC.frontMC.returnBTN.x = 570;
playFlg = 3;
} else {
partsCo = 1;
_local12 = 1;
while (_local12 < tg.PTg.length) {
tg.PTg[_local12].visible = true;
if (tg.PTg[_local12].subTg){
_local13 = 1;
while (_local13 < tg.PTg2.length) {
tg.PTg2[_local13].visible = true;
_local13++;
};
};
_local12++;
};
tgTG.gotoAndPlay("out");
rootMC.nasiMC.gotoAndPlay(2);
playFlg = 4;
};
snd.playEffectS(5, 1);
};
break;
case 2:
reactionPro();
break;
case 3:
reactionPro();
break;
case 4:
_local4 = rootMC.nasiMC.currentFrame;
if ((((_local4 == 1)) && ((tgTG.currentLabel == "safe")))){
playFlg = 1;
};
break;
case 5:
if ((((pfCo >= tg.fFmax)) || (!(rootMC.playMC.pFlash)))){
tgTG.gotoAndPlay(2);
tgSC.nextFrame();
playFlg = 1;
break;
};
_local14 = 1;
while (_local14 < tg.fFm.length) {
if (pfCo == tg.fFm[_local14]){
expansion_reduction(true, tg.PTg[_local14], "パーツ点滅時 拡大");
} else {
if ((((pfCo == (tg.fFm[_local14] + 4))) || ((pfCo >= (tg.fFmax - 2))))){
expansion_reduction(false, tg.PTg[_local14], "パーツ点滅時 戻す");
};
};
_local14++;
};
pfCo++;
break;
};
return (startFm);
}
public function removeListenerPro():void{
trace("PlayPro_Touch::リムーブ処理");
ui.removeListenerPro();
ui = null;
tg.removeListenerPro();
tg = null;
rootMC = null;
}
public function clearTarget():void{
tg.targetClear();
}
}
}//package game.TouchGame
Section 4
//Sound_Touch (game.TouchGame.Sound_Touch)
package game.TouchGame {
import flash.display.*;
import flash.events.*;
import flash.media.*;
public class Sound_Touch {
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_Touch(_arg1:MovieClip){
rootMC = _arg1;
effect = new Array();
effect[1] = new effect01();
effect[2] = new effect02();
effect[3] = new effect03();
effect[4] = new effect04();
effect[5] = new effect05();
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;
setVolume(_arg2);
} 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.TouchGame
Section 5
//Touch_targetPro (game.TouchGame.Touch_targetPro)
package game.TouchGame {
import flash.display.*;
import flash.geom.*;
public class Touch_targetPro {
public var fFmax:int;// = 60
public var charMC1;
public var playMC:MovieClip;
public var charMC2:MovieClip;
public var pieMC2:MovieClip;
public var CTg:Array;
public var DTg:Array;
public var ETg:Array;
public var fFm:Array;
public var faceMC1;
public var faceMC2:MovieClip;
public var PTg:Array;
public var pieMC1:MovieClip;
public var PTg2:Array;
public var pantsMC:MovieClip;
public var mosaicMC;
public var DTg2:Array;
static var cco:int = 0;
public function Touch_targetPro(_arg1:MovieClip){
fFmax = 60;
super();
playMC = _arg1;
fFm = new Array();
cco++;
trace(("Touch_targetPro コンストラクタ実行:" + cco));
}
public function targetClear():void{
var _local1:int;
var _local2:int;
var _local3:int;
var _local4:int;
var _local5:int;
var _local6:int;
var _local7:int;
trace("\n*************************\ntargetClear()//ターゲットクリア処理\n*************************");
if (PTg == null){
trace("PTg==null 値がまだ存在しないので処理しない");
return;
};
_local1 = 0;
while (_local1 < PTg.length) {
if (PTg != null){
PTg[_local1] = null;
};
_local1++;
};
_local2 = 0;
while (_local2 < PTg2.length) {
if (PTg2 != null){
PTg2[_local2] = null;
};
_local2++;
};
_local3 = 0;
while (_local3 < DTg.length) {
if (DTg != null){
DTg[_local3] = null;
};
_local3++;
};
_local4 = 0;
while (_local4 < DTg2.length) {
if (DTg2 != null){
DTg2[_local4] = null;
};
_local4++;
};
_local5 = 0;
while (_local5 < CTg.length) {
if (CTg != null){
CTg[_local5] = null;
};
_local5++;
};
_local6 = 0;
while (_local6 < ETg.length) {
if (ETg != null){
ETg[_local6] = null;
};
_local6++;
};
_local7 = 0;
while (_local7 < fFm.length) {
if (fFm != null){
fFm[_local7] = null;
};
_local7++;
};
PTg = null;
PTg2 = null;
DTg = null;
DTg2 = null;
CTg = null;
ETg = null;
fFm = null;
charMC1 = (charMC2 = null);
faceMC1 = (faceMC2 = null);
pieMC1 = (pieMC2 = null);
mosaicMC = null;
pantsMC = null;
}
public function getTarget(_arg1:int):void{
var _local2:int;
var _local3:int;
var _local4:int;
var _local5:int;
var _local6:int;
var _local7:int;
var _local8:int;
var _local9:int;
var _local10:int;
var _local11:int;
var _local12:int;
trace(("\n*************************\nターゲット取得処理 面:" + _arg1));
PTg = new Array();
PTg2 = new Array();
DTg = new Array();
DTg2 = new Array();
CTg = new Array();
ETg = new Array();
fFm = new Array();
if ((playMC is DisplayObjectContainer)){
trace(("子数:" + playMC.numChildren));
_local8 = 0;
while (_local8 < playMC.numChildren) {
if (playMC.getChildAt(_local8) != null){
trace(((_local8 + " : ") + playMC.getChildAt(_local8).name));
} else {
trace((_local8 + " ぬる"));
};
_local8++;
};
enumeration(playMC);
trace(("playMC.orderP :" + playMC.orderP));
if (playMC.orderP != 0){
trace("複雑なMC構造で 変数指定のターゲットがあるなら\nPTg[ pno ] = playMC.partsTg[ 0 ];//ターゲット格納 ");
_local9 = playMC.orderP;
PTg[_local9] = playMC.partsTg[0];
PTg[_local9].ct = new ColorTransform();
PTg[_local9].ct = PTg[_local9].transform.colorTransform;
PTg[_local9].mtx = new Matrix();
PTg[_local9].mtx = PTg[_local9].transform.matrix;
if (playMC.partsTg[1] != null){
PTg[_local9].subTg = true;
_local10 = 1;
while (_local10 < playMC.partsTg.length) {
if (playMC.partsTg[_local10] == null){
break;
};
PTg2[_local10] = playMC.partsTg[_local10];
PTg2[_local10].ct = new ColorTransform();
PTg2[_local10].ct = PTg2[_local10].transform.colorTransform;
PTg2[_local10].mtx = new Matrix();
PTg2[_local10].mtx = PTg2[_local10].transform.matrix;
_local10++;
};
};
};
if (playMC.orderD != 0){
_local11 = playMC.orderD;
DTg[_local11] = playMC.dummyTg[0];
DTg[_local11].ct = new ColorTransform();
DTg[_local11].ct = DTg[_local11].transform.colorTransform;
DTg[_local11].mtx = new Matrix();
DTg[_local11].mtx = DTg[_local11].transform.matrix;
if (playMC.dummyTg[1] != null){
DTg[_local11].subTg = true;
_local12 = 1;
while (_local12 < playMC.dummyTg.length) {
if (playMC.dummyTg[_local12] == null){
break;
};
DTg2[_local12] = playMC.dummyTg[_local12];
DTg2[_local12].ct = new ColorTransform();
DTg2[_local12].ct = DTg2[_local12].transform.colorTransform;
DTg2[_local12].mtx = new Matrix();
DTg2[_local12].mtx = DTg2[_local12].transform.matrix;
_local12++;
};
};
};
};
_local2 = (fFmax / (PTg.length - 1));
fFm[1] = 1;
trace((("フレーム間隔 ff: " + _local2) + "\n各パーツの発光フレーム記憶"));
_local3 = 2;
while (_local3 <= (PTg.length - 1)) {
fFm[_local3] = (_local2 * (_local3 - 1));
trace((((_local3 + " : ") + fFm[_local3]) + "f"));
_local3++;
};
trace("partsターゲット確認");
_local4 = 1;
while (_local4 < PTg.length) {
trace(((((_local4 + " : ") + PTg[_local4].name) + " visible:") + PTg[_local4].visible));
_local4++;
};
trace("ダミーpartsターゲット確認");
_local5 = 1;
while (_local5 < DTg.length) {
trace(((((_local5 + " : ") + DTg[_local5].name) + " visible:") + DTg[_local5].visible));
_local5++;
};
trace("エロオブジェクト ターゲット確認");
_local6 = 1;
while (_local6 < ETg.length) {
trace(((_local6 + " : ") + ETg[_local6].name));
_local6++;
};
trace("クリックポイント ターゲット確認");
_local7 = 1;
while (_local7 < CTg.length) {
trace(((_local7 + " : ") + CTg[_local7].name));
_local7++;
};
trace("\n");
}
public function debugPro():void{
}
private function enumeration(_arg1:Object, _arg2:int=0, _arg3:String=""):void{
var _local4:DisplayObjectContainer;
var _local5:int;
var _local6:String;
var _local7:int;
var _local8:int;
var _local9:int;
var _local10:int;
_arg3 = rept(_arg2);
if ((_arg1 is DisplayObjectContainer)){
_local4 = (_arg1 as DisplayObjectContainer);
if ((_local4 is MovieClip)){
_local6 = _local4.name.substr(0, 5);
if (_local6 == "parts"){
_local7 = int(_local4.name.substr(5, 2));
PTg[_local7] = _local4;
PTg[_local7].ct = new ColorTransform();
PTg[_local7].ct = PTg[_local7].transform.colorTransform;
PTg[_local7].mtx = new Matrix();
PTg[_local7].mtx = PTg[_local7].transform.matrix;
} else {
if (_local6 == "dummy"){
_local8 = int(_local4.name.substr(5, 2));
DTg[_local8] = _local4;
DTg[_local8].ct = new ColorTransform();
DTg[_local8].ct = DTg[_local8].transform.colorTransform;
DTg[_local8].mtx = new Matrix();
DTg[_local8].mtx = DTg[_local8].transform.matrix;
} else {
if (_local6 == "click"){
_local9 = int(_local4.name.substr(5, 2));
CTg[_local9] = _local4;
} else {
if (_local6 == "E_obj"){
_local10 = int(_local4.name.substr(5, 2));
ETg[_local10] = _local4;
} else {
if (_local6 == "charM"){
charMC1 = _local4;
} else {
if (_local6 == "headM"){
faceMC1 = _local4;
} else {
if (_local6 == "pie1"){
pieMC1 = (_local4 as MovieClip);
} else {
if (_local6 == "pie2"){
pieMC2 = (_local4 as MovieClip);
} else {
if (_local6 == "mosai"){
mosaicMC = (_local4 as MovieClip);
} else {
if (_local6 == "pants"){
pantsMC = (_local4 as MovieClip);
} else {
if (_local6 == "pants"){
pantsMC = (_local4 as MovieClip);
};
};
};
};
};
};
};
};
};
};
};
};
_arg2++;
_local5 = 0;
while (_local5 < _arg1.numChildren) {
enumeration(_local4.getChildAt(_local5), _arg2);
_local5++;
};
};
}
public function removeListenerPro():void{
trace("Touch_targetPro::リムーブ処理");
targetClear();
playMC = null;
}
private function rept(_arg1:int):String{
var _local2:String;
_local2 = "";
while (_arg1-- > 0) {
_local2 = (_local2 + "\t");
};
return (_local2);
}
}
}//package game.TouchGame
Section 6
//TouchMain (game.TouchGame.TouchMain)
package game.TouchGame {
import flash.display.*;
import flash.events.*;
import game.*;
public class TouchMain {
private var con:CMS_Touch;
private var getPTg2;
private var getDTg;
private var startFm:int;// = 1
private var gotoFm:int;// = 0
private var getPTg;
private var getDTg2:Array;
private var sChangeFlg:Boolean;// = false
private var stageMC:Object;
private var fps:FPSpro;
private var startFmBuf:int;
private var btn:BTN_Touch;
private var es:MovieClip;
private var ppt:PlayPro_Touch;
private var rootMC:MovieClip;
public function TouchMain(_arg1:MovieClip, _arg2:Object){
sChangeFlg = false;
startFm = 1;
gotoFm = 0;
super();
rootMC = _arg1;
stageMC = _arg2;
fps = new FPSpro(rootMC.fpsText);
con = new CMS_Touch(rootMC);
es = rootMC.effectScreenMC;
es.play();
stageMC.addEventListener(Event.ENTER_FRAME, mainPro);
}
private function pageProcessing():void{
var _local1:int;
var _local2:Boolean;
startFm = rootMC.playMC.currentFrame;
_local1 = rootMC.playMC.totalFrames;
_local2 = false;
trace(((("前 startFm:" + startFm) + " lastStage:") + rootMC.lastStage));
startFm = (startFm + btn.pageVal);
btn.pageVal = 0;
if (startFm >= rootMC.lastStage){
if (rootMC.allClearFlg){
startFm = rootMC.lastStage;
} else {
startFm = (rootMC.lastStage - 1);
};
} else {
if (startFm <= 5){
startFm = 5;
} else {
_local2 = true;
};
};
trace(("後 startFm:" + startFm));
if (_local2){
getPTg = (getPTg2 = (getDTg = (getDTg2 = null)));
getPTg = new Array();
getPTg2 = new Array();
getDTg = new Array();
getDTg2 = new Array();
ppt.clearTarget();
trace(("!!!!!!!!!!playMC CF: " + rootMC.playMC.currentFrame));
};
rootMC.playMC.gotoAndStop(startFm);
rootMC.frontMC.stageTXT.text = ("stage " + startFm);
btn.bSound(2, 1);
}
private function delayPro():Boolean{
var _local1:int;
_local1 = rootMC.nasiMC.currentFrame;
if (_local1 != 1){
return (false);
};
rootMC.nasiMC.gotoAndPlay(2);
return (true);
}
public function removeListenerPro():void{
trace("TouchMain::リスナー削除");
if (btn != null){
btn.removeListenerPro();
btn = null;
};
if (ppt != null){
ppt.removeListenerPro();
ppt = null;
};
getPTg = (getPTg2 = (getDTg = (getDTg2 = null)));
fps = null;
con.removeListenerPro();
con = null;
rootMC = null;
stageMC = null;
}
private function partsOff(_arg1:Boolean):void{
var _local2:Boolean;
var _local3:int;
var _local4:*;
var _local5:int;
var _local6:*;
if (getPTg[1] != null){
_local3 = 1;
while (_local3 < getPTg.length) {
if (getPTg[_local3] != null){
getPTg[_local3].visible = _arg1;
if (!_arg1){
if ((((getPTg[_local3].name == "pantsMC")) || ((getPTg[_local3].name == "brassiereMC")))){
ppt.sPartsCheck(_local3);
};
};
if (getPTg[_local3].subTg){
_local4 = 1;
while (_local4 < getPTg2.length) {
getPTg2[_local4].visible = _arg1;
_local4++;
};
};
};
_local3++;
};
};
_local2 = false;
if (getDTg[1] != null){
_local5 = 1;
while (_local5 < getDTg.length) {
if (getDTg[_local5] != null){
if (rootMC.playMC.dummyTg[0] != null){
if (rootMC.playMC.dummyTg[0].name == getDTg[_local5].name){
_local2 = true;
trace(((((("ダミー消さない " + _local5) + " : ") + rootMC.playMC.dummyTg[0].name) + " : ") + getDTg[_local5].name));
} else {
trace("1 キャラMC内のダミーと違うので処理");
getDTg[_local5].visible = _arg1;
};
} else {
trace("2 キャラMC内でダミーが設定されてないので処理");
getDTg[_local5].visible = _arg1;
};
if (getDTg[_local5].subTg){
_local6 = 1;
while (_local6 < getDTg2.length) {
trace(("サブパーツ名: " + getDTg2[_local6].name));
if (_local2){
_arg1 = _local2;
};
getDTg2[_local6].visible = _arg1;
_local6++;
};
};
};
_local5++;
};
};
btn.pageVal = 0;
btn.bSound(2, 1);
}
public function mainPro(_arg1:Event):void{
var _local2:int;
var _local3:int;
var _local4:int;
var _local5:int;
var _local6:int;
_local2 = rootMC.currentFrame;
if (_local2 == 10){
if (es.currentFrame == 16){
es.play();
};
if (rootMC.titleMC != null){
if (btn == null){
btn = new BTN_Touch(rootMC);
rootMC.nextFrame();
};
};
} else {
if (_local2 == 11){
if (es.currentFrame == 16){
if (gotoFm != 0){
es.play();
rootMC.gotoAndStop(gotoFm);
gotoFm = 0;
btn.removeListenerPro();
btn = null;
};
} else {
if (es.currentFrame == 1){
if (btn.startFlg == 1){
startFm = 1;
gotoFm = 20;
} else {
if (btn.startFlg == 2){
startFm = rootMC.lastStage;
gotoFm = 20;
} else {
if (btn.startFlg == 3){
trace(("6面以上プレイしてるなら5面から開始 " + rootMC.lastStage));
if (rootMC.lastStage > 5){
startFm = 5;
gotoFm = 30;
};
};
};
};
if (gotoFm != 0){
es.play();
};
};
};
} else {
if (_local2 == 20){
if (es.currentFrame == 16){
es.play();
};
if (rootMC.playMC != null){
if (btn == null){
btn = new BTN_Touch(rootMC);
};
_local3 = rootMC.playMC.countMC.currentFrame;
_local4 = rootMC.playMC.countMC.totalFrames;
if ((((ppt == null)) && ((_local3 >= 2)))){
ppt = new PlayPro_Touch(rootMC, stageMC, startFm);
rootMC.nextFrame();
};
};
} else {
if (_local2 == 21){
if (es.currentFrame == 16){
if (sChangeFlg){
if (btn.returnFlg){
btn.removeListenerPro();
btn = null;
rootMC.allClearFlg = ppt.clearCheack;
ppt.removeListenerPro();
ppt = null;
sChangeFlg = false;
es.play();
rootMC.gotoAndStop(10);
};
} else {
es.play();
};
} else {
if (es.currentFrame == 1){
rootMC.lastStage = ppt.mainPro();
if (btn.returnFlg){
sChangeFlg = true;
es.play();
};
if (btn.nextFlg){
btn.nextFlg = false;
ppt.nextPro();
};
};
};
} else {
if (_local2 == 30){
if (rootMC.playMC != null){
if (btn == null){
btn = new BTN_Touch(rootMC);
_local5 = rootMC.playMC.countMC.currentFrame;
_local6 = rootMC.playMC.countMC.totalFrames;
rootMC.playMC.countMC.gotoAndStop(_local6);
rootMC.frontMC.stageTXT.text = ("stage " + startFm);
rootMC.frontMC.leftBTN.y = 370;
rootMC.frontMC.rightBTN.y = 370;
};
if (ppt == null){
ppt = new PlayPro_Touch(rootMC, stageMC, startFm);
rootMC.frontMC.returnBTN.x = 570;
rootMC.playMC.gotoAndStop(startFm);
rootMC.frontMC.stageTXT.text = ("stage " + startFm);
rootMC.nextFrame();
};
};
} else {
if (_local2 == 31){
if (es.currentFrame == 16){
if (sChangeFlg){
if (btn.returnFlg){
btn.removeListenerPro();
btn = null;
ppt.removeListenerPro();
ppt = null;
sChangeFlg = false;
startFmBuf = 0;
es.play();
rootMC.gotoAndStop(10);
};
} else {
es.play();
};
} else {
if (es.currentFrame == 1){
if (startFmBuf != startFm){
startFmBuf = startFm;
trace(("!!!!!!!!!!playMC CF: " + rootMC.playMC.currentFrame));
ppt.getTarget(startFm);
getPTg = ppt.getPTg;
getPTg2 = ppt.getPTg2;
getDTg = ppt.getDTg;
getDTg2 = ppt.getDTg2;
};
rootMC.playMC.countMC.gotoAndStop(rootMC.playMC.countMC.totalFrames);
ppt.reactionPro();
if (((!((btn.pageVal == 0))) && (delayPro()))){
if (btn.pageVal == 1){
if (getPTg[1] != null){
if (getPTg[1].visible){
partsOff(false);
} else {
pageProcessing();
};
} else {
trace("次のページだが getPTg[ 1 ] が null ");
};
} else {
if (btn.pageVal == -1){
if (getPTg[1] != null){
if (!getPTg[1].visible){
partsOff(true);
} else {
pageProcessing();
};
} else {
trace("前のページだが getPTg[ 1 ] が null ");
};
};
};
};
if (btn.returnFlg){
sChangeFlg = true;
es.play();
};
};
};
if (ppt != null){
};
};
};
};
};
};
};
fps.counting();
}
}
}//package game.TouchGame
Section 7
//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 8
//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 9
//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 10
//UserInput (game.UserInput)
package game {
import flash.display.*;
import flash.events.*;
public class UserInput {
protected var keyFlgD:Boolean;// = false
protected var keyC:int;// = 0
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 charC: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){
charC = 0;
keyC = 0;
keyFlgL = false;
keyFlgR = false;
keyFlgU = false;
keyFlgD = false;
cursolH = 0;
keyFlgSp = false;
super();
rootMC = _arg1;
stageMC = _arg2;
listenerSet();
}
public function get getKeyC():int{
return (keyC);
}
public function get getKeyH():int{
return (cursolH);
}
protected function mouseMV(_arg1:MouseEvent):void{
mouseFlg = _arg1.buttonDown;
}
protected function mouseBTNon(_arg1:MouseEvent):void{
mouseFlg = _arg1.buttonDown;
}
protected function mouseBTNoff(_arg1:MouseEvent):void{
mouseFlg = _arg1.buttonDown;
}
public function get getCharC():int{
return (charC);
}
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);
}
protected function keyDownPro(_arg1:KeyboardEvent):void{
charC = _arg1.charCode;
keyC = _arg1.keyCode;
if (keyC == 37){
keyFlgL = true;
};
if (keyC == 38){
keyFlgU = true;
};
if (keyC == 39){
keyFlgR = true;
};
if (keyC == 40){
keyFlgD = true;
};
directionPro();
if (keyC == 32){
keyFlgSp = true;
};
}
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 getKeySp():Boolean{
return (keyFlgSp);
}
protected function keyUpPro(_arg1:KeyboardEvent):void{
var _local2:*;
charC = 0;
keyC = 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);
stageMC = null;
rootMC = null;
}
public function get MWval():int{
var _local1:int;
_local1 = wheelVal;
wheelVal = 0;
return (_local1);
}
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 11
//aki_armLMC1_57 (yu_fla.aki_armLMC1_57)
package yu_fla {
import flash.display.*;
public dynamic class aki_armLMC1_57 extends MovieClip {
public var shirtMC:MovieClip;
public var gloveMC:MovieClip;
}
}//package yu_fla
Section 12
//aki_armLMC2_133 (yu_fla.aki_armLMC2_133)
package yu_fla {
import flash.display.*;
public dynamic class aki_armLMC2_133 extends MovieClip {
public var click8:MovieClip;
}
}//package yu_fla
Section 13
//aki_armRMC1_37 (yu_fla.aki_armRMC1_37)
package yu_fla {
import flash.display.*;
public dynamic class aki_armRMC1_37 extends MovieClip {
public var gloveMC:MovieClip;
}
}//package yu_fla
Section 14
//aki_bodyLMC1_1_145 (yu_fla.aki_bodyLMC1_1_145)
package yu_fla {
import flash.display.*;
public dynamic class aki_bodyLMC1_1_145 extends MovieClip {
public var legLMC:MovieClip;
public var hipMC:MovieClip;
public var pantsMC:MovieClip;
public var legRMC:MovieClip;
public var mosaicMC:MovieClip;
public var click4:MovieClip;
public var click5:MovieClip;
public var click7:MovieClip;
public var click3:MovieClip;
public var E_obj2:MovieClip;
public function aki_bodyLMC1_1_145(){
addFrameScript(0, frame1, 4, frame5, 15, frame16, 24, frame25, 34, frame35, 57, frame58);
}
function frame35(){
}
function frame16(){
this.gotoAndStop(1);
}
function frame1(){
}
function frame25(){
}
function frame5(){
}
function frame58(){
this.gotoAndStop(1);
}
}
}//package yu_fla
Section 15
//aki_bodyLMC1_135 (yu_fla.aki_bodyLMC1_135)
package yu_fla {
import flash.display.*;
public dynamic class aki_bodyLMC1_135 extends MovieClip {
public var legLMC:MovieClip;
public var hipMC:MovieClip;
public var pantsMC:MovieClip;
public var legRMC:MovieClip;
public var mosaicMC:MovieClip;
public var click4:MovieClip;
public var click5:MovieClip;
public var click7:MovieClip;
public var click3:MovieClip;
public function aki_bodyLMC1_135(){
addFrameScript(0, frame1, 4, frame5, 15, frame16, 24, frame25, 34, frame35, 57, frame58);
}
function frame16(){
this.gotoAndStop(1);
}
function frame1(){
}
function frame25(){
}
function frame5(){
}
function frame35(){
}
function frame58(){
this.gotoAndStop(1);
}
}
}//package yu_fla
Section 16
//aki_bodyUMC1_1_144 (yu_fla.aki_bodyUMC1_1_144)
package yu_fla {
import flash.display.*;
public dynamic class aki_bodyUMC1_1_144 extends MovieClip {
public var armLMC:MovieClip;
public var pie1:MovieClip;
public var headMC:MovieClip;
public var headBMC:MovieClip;
public var click1:MovieClip;
public var click2:MovieClip;
public var armRMC:MovieClip;
public var E_obj1:MovieClip;
public function aki_bodyUMC1_1_144(){
addFrameScript(0, frame1, 4, frame5, 15, frame16, 24, frame25, 34, frame35, 57, frame58);
}
function frame1(){
}
function frame25(){
}
function frame5(){
}
function frame16(){
this.gotoAndStop(1);
}
function frame35(){
}
function frame58(){
this.gotoAndStop(1);
}
}
}//package yu_fla
Section 17
//aki_bodyUMC1_129 (yu_fla.aki_bodyUMC1_129)
package yu_fla {
import flash.display.*;
public dynamic class aki_bodyUMC1_129 extends MovieClip {
public var armLMC:MovieClip;
public var pie1:MovieClip;
public var headMC:MovieClip;
public var headBMC:MovieClip;
public var click1:MovieClip;
public var click2:MovieClip;
public var armRMC:MovieClip;
public function aki_bodyUMC1_129(){
addFrameScript(0, frame1, 4, frame5, 15, frame16, 24, frame25, 34, frame35, 57, frame58);
}
function frame1(){
}
function frame25(){
}
function frame5(){
}
function frame16(){
this.gotoAndStop(1);
}
function frame35(){
}
function frame58(){
this.gotoAndStop(1);
}
}
}//package yu_fla
Section 18
//aki_footLMC1_47 (yu_fla.aki_footLMC1_47)
package yu_fla {
import flash.display.*;
public dynamic class aki_footLMC1_47 extends MovieClip {
public var tightsMC:MovieClip;
public var shoesMC:MovieClip;
}
}//package yu_fla
Section 19
//aki_headMC1_60 (yu_fla.aki_headMC1_60)
package yu_fla {
import flash.display.*;
public dynamic class aki_headMC1_60 extends MovieClip {
public function aki_headMC1_60(){
addFrameScript(0, frame1, 88, frame89, 178, frame179, 198, frame199, 222, frame223, 250, frame251);
}
function frame89(){
this.gotoAndPlay("P1");
}
function frame223(){
this.gotoAndPlay("P2");
}
function frame1(){
}
function frame179(){
this.gotoAndPlay("P2");
}
function frame199(){
this.gotoAndPlay("P1");
}
function frame251(){
this.gotoAndPlay("P2");
}
}
}//package yu_fla
Section 20
//aki_headMC2_131 (yu_fla.aki_headMC2_131)
package yu_fla {
import flash.display.*;
public dynamic class aki_headMC2_131 extends MovieClip {
public function aki_headMC2_131(){
addFrameScript(0, frame1, 88, frame89, 188, frame189, 208, frame209, 232, frame233, 260, frame261);
}
function frame89(){
this.gotoAndPlay("P1");
}
function frame209(){
this.gotoAndPlay("P1");
}
function frame1(){
}
function frame189(){
this.gotoAndPlay("P2");
}
function frame233(){
this.gotoAndPlay("P2");
}
function frame261(){
this.gotoAndPlay("P2");
}
}
}//package yu_fla
Section 21
//aki_legLMC1_46 (yu_fla.aki_legLMC1_46)
package yu_fla {
import flash.display.*;
public dynamic class aki_legLMC1_46 extends MovieClip {
public var tightsMC:MovieClip;
public var footMC:MovieClip;
public var click5:MovieClip;
public function aki_legLMC1_46(){
addFrameScript(4, frame5, 15, frame16, 24, frame25, 53, frame54, 56, frame57, 95, frame96);
}
function frame16(){
this.gotoAndStop(1);
}
function frame25(){
}
function frame5(){
}
function frame96(){
this.gotoAndStop(1);
}
function frame54(){
this.gotoAndStop(1);
}
function frame57(){
}
}
}//package yu_fla
Section 22
//aki_legLMC2_141 (yu_fla.aki_legLMC2_141)
package yu_fla {
import flash.display.*;
public dynamic class aki_legLMC2_141 extends MovieClip {
public var click6:MovieClip;
}
}//package yu_fla
Section 23
//aki_legRMC1_40 (yu_fla.aki_legRMC1_40)
package yu_fla {
import flash.display.*;
public dynamic class aki_legRMC1_40 extends MovieClip {
public var tightsMC:MovieClip;
public var click4:MovieClip;
public var shoesMC:MovieClip;
}
}//package yu_fla
Section 24
//aki_pieMC1_51 (yu_fla.aki_pieMC1_51)
package yu_fla {
import flash.display.*;
public dynamic class aki_pieMC1_51 extends MovieClip {
public function aki_pieMC1_51(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package yu_fla
Section 25
//aki_pieMC2_132 (yu_fla.aki_pieMC2_132)
package yu_fla {
import flash.display.*;
public dynamic class aki_pieMC2_132 extends MovieClip {
public function aki_pieMC2_132(){
addFrameScript(59, frame60);
}
function frame60(){
this.gotoAndStop(1);
}
}
}//package yu_fla
Section 26
//akiMC1_1_84 (yu_fla.akiMC1_1_84)
package yu_fla {
import flash.display.*;
public dynamic class akiMC1_1_84 extends MovieClip {
public var armLMC:MovieClip;
public var shirtMC:MovieClip;
public var pieMC:MovieClip;
public var legLMC:MovieClip;
public var pieFlg:Boolean;
public var jacketMC:MovieClip;
public var onePieceBMC:MovieClip;
public var st:String;
public var headMC:MovieClip;
public var accessoryMC:MovieClip;
public var pantsMC:MovieClip;
public var legRMC:MovieClip;
public var shirtFMC:MovieClip;
public var click1:MovieClip;
public var click2:MovieClip;
public var armRMC:MovieClip;
public var click3:MovieClip;
public var onePieceMC:MovieClip;
public var E_obj1:MovieClip;
public function akiMC1_1_84(){
addFrameScript(0, frame1, 4, frame5, 15, frame16, 24, frame25, 53, frame54, 56, frame57, 95, frame96);
}
function frame1(){
if (st == null){
st = " ";
pieFlg = false;
};
if (((((!(this.jacketMC.visible)) && (!(this.shirtMC.visible)))) && (!(this.onePieceMC.visible)))){
pieFlg = true;
} else {
pieFlg = false;
};
}
function frame5(){
this.headMC.gotoAndPlay("R1");
this.legLMC.gotoAndPlay("R1");
}
function frame16(){
this.gotoAndStop(1);
}
function frame96(){
this.gotoAndStop(1);
}
function frame25(){
this.headMC.gotoAndPlay("R2");
this.legLMC.gotoAndPlay("R2");
}
function frame54(){
this.gotoAndStop(1);
}
function frame57(){
this.headMC.gotoAndPlay("R3");
this.legLMC.gotoAndPlay("R3");
}
}
}//package yu_fla
Section 27
//akiMC1_2_106 (yu_fla.akiMC1_2_106)
package yu_fla {
import flash.display.*;
public dynamic class akiMC1_2_106 extends MovieClip {
public var armLMC:MovieClip;
public var shirtMC:MovieClip;
public var legLMC:MovieClip;
public var pie1:MovieClip;
public var pieFlg:Boolean;
public var jacketMC:MovieClip;
public var onePieceBMC:MovieClip;
public var st:String;
public var headMC:MovieClip;
public var accessoryMC:MovieClip;
public var pantsMC:MovieClip;
public var legRMC:MovieClip;
public var shirtFMC:MovieClip;
public var click1:MovieClip;
public var click2:MovieClip;
public var armRMC:MovieClip;
public var click3:MovieClip;
public var onePieceMC:MovieClip;
public function akiMC1_2_106(){
addFrameScript(0, frame1, 4, frame5, 15, frame16, 24, frame25, 53, frame54, 56, frame57, 95, frame96);
}
function frame1(){
if (st == null){
st = " ";
pieFlg = false;
};
if (((((!(this.jacketMC.visible)) && (!(this.shirtMC.visible)))) && (!(this.onePieceMC.visible)))){
pieFlg = true;
} else {
pieFlg = false;
};
}
function frame16(){
this.gotoAndStop(1);
}
function frame96(){
this.gotoAndStop(1);
}
function frame5(){
this.headMC.gotoAndPlay("R1");
this.legLMC.gotoAndPlay("R1");
}
function frame25(){
this.headMC.gotoAndPlay("R2");
this.legLMC.gotoAndPlay("R2");
}
function frame54(){
this.gotoAndStop(1);
}
function frame57(){
this.headMC.gotoAndPlay("R3");
this.legLMC.gotoAndPlay("R3");
}
}
}//package yu_fla
Section 28
//akiMC1_35 (yu_fla.akiMC1_35)
package yu_fla {
import flash.display.*;
public dynamic class akiMC1_35 extends MovieClip {
public var armLMC:MovieClip;
public var shirtMC:MovieClip;
public var pieMC:MovieClip;
public var legLMC:MovieClip;
public var pieFlg:Boolean;
public var jacketMC:MovieClip;
public var onePieceBMC:MovieClip;
public var st:String;
public var headMC:MovieClip;
public var accessoryMC:MovieClip;
public var pantsMC:MovieClip;
public var legRMC:MovieClip;
public var shirtFMC:MovieClip;
public var click1:MovieClip;
public var click2:MovieClip;
public var armRMC:MovieClip;
public var click3:MovieClip;
public var onePieceMC:MovieClip;
public function akiMC1_35(){
addFrameScript(0, frame1, 4, frame5, 15, frame16, 24, frame25, 53, frame54, 56, frame57, 95, frame96);
}
function frame1(){
if (st == null){
st = " ";
pieFlg = false;
};
if (((((!(this.jacketMC.visible)) && (!(this.shirtMC.visible)))) && (!(this.onePieceMC.visible)))){
pieFlg = true;
} else {
pieFlg = false;
};
}
function frame5(){
this.headMC.gotoAndPlay("R1");
this.legLMC.gotoAndPlay("R1");
}
function frame16(){
this.gotoAndStop(1);
}
function frame96(){
this.gotoAndStop(1);
}
function frame25(){
this.headMC.gotoAndPlay("R2");
this.legLMC.gotoAndPlay("R2");
}
function frame54(){
this.gotoAndStop(1);
}
function frame57(){
this.headMC.gotoAndPlay("R3");
this.legLMC.gotoAndPlay("R3");
}
}
}//package yu_fla
Section 29
//akiMC2_1_143 (yu_fla.akiMC2_1_143)
package yu_fla {
import flash.display.*;
import flash.events.*;
import flash.text.*;
import flash.media.*;
import flash.ui.*;
import flash.utils.*;
import flash.geom.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.xml.*;
public dynamic class akiMC2_1_143 extends MovieClip {
public var bodyLMC:MovieClip;
public var pieFlg:Boolean;
public var st:String;
public var mosaicFlg:Boolean;
public var bodyUMC:MovieClip;
public function akiMC2_1_143(){
addFrameScript(0, frame1, 4, frame5, 15, frame16, 24, frame25, 34, frame35, 57, frame58);
}
function frame1(){
if (st == null){
st = " ";
pieFlg = true;
mosaicFlg = false;
};
if (!this.bodyLMC.pantsMC.visible){
mosaicFlg = true;
} else {
mosaicFlg = false;
};
}
function frame16(){
this.gotoAndStop(1);
}
function frame5(){
this.bodyUMC.gotoAndPlay("R1");
this.bodyLMC.gotoAndPlay("R1");
}
function frame25(){
this.bodyUMC.gotoAndPlay("R3");
this.bodyLMC.gotoAndPlay("R3");
}
function frame35(){
this.bodyUMC.gotoAndPlay("R2");
this.bodyLMC.gotoAndPlay("R2");
}
function frame58(){
this.gotoAndStop(1);
}
}
}//package yu_fla
Section 30
//akiMC2_128 (yu_fla.akiMC2_128)
package yu_fla {
import flash.display.*;
import flash.events.*;
import flash.text.*;
import flash.media.*;
import flash.ui.*;
import flash.utils.*;
import flash.geom.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.xml.*;
public dynamic class akiMC2_128 extends MovieClip {
public var bodyLMC:MovieClip;
public var pieFlg:Boolean;
public var st:String;
public var mosaicFlg:Boolean;
public var bodyUMC:MovieClip;
public function akiMC2_128(){
addFrameScript(0, frame1, 4, frame5, 15, frame16, 24, frame25, 34, frame35, 57, frame58);
}
function frame1(){
if (st == null){
st = " ";
pieFlg = true;
mosaicFlg = false;
};
if (!this.bodyLMC.pantsMC.visible){
mosaicFlg = true;
} else {
mosaicFlg = false;
};
}
function frame16(){
this.gotoAndStop(1);
}
function frame5(){
this.bodyUMC.gotoAndPlay("R1");
this.bodyLMC.gotoAndPlay("R1");
}
function frame25(){
this.bodyUMC.gotoAndPlay("R3");
this.bodyLMC.gotoAndPlay("R3");
}
function frame35(){
this.bodyUMC.gotoAndPlay("R2");
this.bodyLMC.gotoAndPlay("R2");
}
function frame58(){
this.gotoAndStop(1);
}
}
}//package yu_fla
Section 31
//anzu_armRMC1_151 (yu_fla.anzu_armRMC1_151)
package yu_fla {
import flash.display.*;
public dynamic class anzu_armRMC1_151 extends MovieClip {
public var shirtMC:MovieClip;
public var blazerMC:MovieClip;
}
}//package yu_fla
Section 32
//anzu_bodyLMC1_1_203 (yu_fla.anzu_bodyLMC1_1_203)
package yu_fla {
import flash.display.*;
public dynamic class anzu_bodyLMC1_1_203 extends MovieClip {
public var legLMC:MovieClip;
public var pantsMC:MovieClip;
public var legRMC:MovieClip;
public var mosaicMC:MovieClip;
public var click3:MovieClip;
public var E_obj1:MovieClip;
public function anzu_bodyLMC1_1_203(){
addFrameScript(15, frame16, 57, frame58);
}
function frame16(){
this.gotoAndStop(1);
}
function frame58(){
this.gotoAndStop(1);
}
}
}//package yu_fla
Section 33
//anzu_bodyLMC1_195 (yu_fla.anzu_bodyLMC1_195)
package yu_fla {
import flash.display.*;
public dynamic class anzu_bodyLMC1_195 extends MovieClip {
public var legLMC:MovieClip;
public var pantsMC:MovieClip;
public var legRMC:MovieClip;
public var mosaicMC:MovieClip;
public var click3:MovieClip;
public function anzu_bodyLMC1_195(){
addFrameScript(15, frame16, 57, frame58);
}
function frame16(){
this.gotoAndStop(1);
}
function frame58(){
this.gotoAndStop(1);
}
}
}//package yu_fla
Section 34
//anzu_bodyUMC1_190 (yu_fla.anzu_bodyUMC1_190)
package yu_fla {
import flash.display.*;
public dynamic class anzu_bodyUMC1_190 extends MovieClip {
public var pie1:MovieClip;
public var pie2:MovieClip;
public var headMC:MovieClip;
public var brassiereMC:MovieClip;
public var click1:MovieClip;
public var click2:MovieClip;
public function anzu_bodyUMC1_190(){
addFrameScript(15, frame16, 57, frame58);
}
function frame16(){
this.gotoAndStop(1);
}
function frame58(){
this.gotoAndStop(1);
}
}
}//package yu_fla
Section 35
//anzu_headMC1_169 (yu_fla.anzu_headMC1_169)
package yu_fla {
import flash.display.*;
public dynamic class anzu_headMC1_169 extends MovieClip {
public function anzu_headMC1_169(){
addFrameScript(88, frame89, 178, frame179, 198, frame199, 222, frame223, 250, frame251);
}
function frame89(){
this.gotoAndPlay("P1");
}
function frame223(){
this.gotoAndPlay("P2");
}
function frame179(){
this.gotoAndPlay("P2");
}
function frame199(){
this.gotoAndPlay("P1");
}
function frame251(){
this.gotoAndPlay("P2");
}
}
}//package yu_fla
Section 36
//anzu_headMC2_191 (yu_fla.anzu_headMC2_191)
package yu_fla {
import flash.display.*;
public dynamic class anzu_headMC2_191 extends MovieClip {
public function anzu_headMC2_191(){
addFrameScript(88, frame89, 189, frame190, 209, frame210, 233, frame234, 261, frame262);
}
function frame89(){
this.gotoAndPlay("P1");
}
function frame210(){
this.gotoAndPlay("P1");
}
function frame190(){
this.gotoAndPlay("P2");
}
function frame234(){
this.gotoAndPlay("P2");
}
function frame262(){
this.gotoAndPlay("P2");
}
}
}//package yu_fla
Section 37
//anzu_legLMC1_161 (yu_fla.anzu_legLMC1_161)
package yu_fla {
import flash.display.*;
public dynamic class anzu_legLMC1_161 extends MovieClip {
public var socksMC:MovieClip;
public var shoesMC:MovieClip;
}
}//package yu_fla
Section 38
//anzu_legLMC2_198 (yu_fla.anzu_legLMC2_198)
package yu_fla {
import flash.display.*;
public dynamic class anzu_legLMC2_198 extends MovieClip {
public var click5:MovieClip;
}
}//package yu_fla
Section 39
//anzu_legRMC1_155 (yu_fla.anzu_legRMC1_155)
package yu_fla {
import flash.display.*;
public dynamic class anzu_legRMC1_155 extends MovieClip {
public var socksMC:MovieClip;
public var shoesMC:MovieClip;
}
}//package yu_fla
Section 40
//anzu_legRMC2_199 (yu_fla.anzu_legRMC2_199)
package yu_fla {
import flash.display.*;
public dynamic class anzu_legRMC2_199 extends MovieClip {
public var click4:MovieClip;
}
}//package yu_fla
Section 41
//anzu_pieMC_159 (yu_fla.anzu_pieMC_159)
package yu_fla {
import flash.display.*;
public dynamic class anzu_pieMC_159 extends MovieClip {
public function anzu_pieMC_159(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package yu_fla
Section 42
//anzuMC1_150 (yu_fla.anzuMC1_150)
package yu_fla {
import flash.display.*;
public dynamic class anzuMC1_150 extends MovieClip {
public var shirtMC:MovieClip;
public var legLMC:MovieClip;
public var pie1:MovieClip;
public var pieFlg:Boolean;
public var skirtMC2:MovieClip;
public var ribonMC:MovieClip;
public var st:String;
public var headMC:MovieClip;
public var blazerMC2:MovieClip;
public var pantsMC:MovieClip;
public var blazerMC:MovieClip;
public var legRMC:MovieClip;
public var brassiereMC:MovieClip;
public var click1:MovieClip;
public var click4:MovieClip;
public var click2:MovieClip;
public var armRMC:MovieClip;
public var click3:MovieClip;
public var skirtMC:MovieClip;
public function anzuMC1_150(){
addFrameScript(0, frame1, 4, frame5, 15, frame16, 24, frame25, 47, frame48, 48, frame49, 75, frame76);
}
function frame1(){
if (st == null){
st = " ";
pieFlg = false;
};
if (((((!(this.blazerMC.visible)) && (!(this.shirtMC.visible)))) && (!(this.brassiereMC.visible)))){
pieFlg = true;
} else {
pieFlg = false;
};
}
function frame16(){
this.gotoAndStop(1);
}
function frame76(){
this.gotoAndStop(1);
}
function frame5(){
this.headMC.gotoAndPlay("R1");
}
function frame49(){
this.headMC.gotoAndPlay("R3");
}
function frame48(){
this.gotoAndStop(1);
}
function frame25(){
this.headMC.gotoAndPlay("R2");
}
}
}//package yu_fla
Section 43
//anzuMC2_1_202 (yu_fla.anzuMC2_1_202)
package yu_fla {
import flash.display.*;
import flash.events.*;
import flash.text.*;
import flash.media.*;
import flash.ui.*;
import flash.utils.*;
import flash.geom.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.xml.*;
public dynamic class anzuMC2_1_202 extends MovieClip {
public var bodyLMC:MovieClip;
public var pieFlg:Boolean;
public var st:String;
public var mosaicFlg:Boolean;
public var bodyUMC:MovieClip;
public function anzuMC2_1_202(){
addFrameScript(0, frame1, 4, frame5, 15, frame16, 24, frame25, 34, frame35, 57, frame58);
}
function frame1(){
if (st == null){
st = " ";
pieFlg = false;
mosaicFlg = false;
};
if (!this.bodyUMC.brassiereMC.visible){
pieFlg = true;
} else {
pieFlg = false;
};
if (!this.bodyLMC.pantsMC.visible){
mosaicFlg = true;
} else {
mosaicFlg = false;
};
}
function frame16(){
this.gotoAndStop(1);
}
function frame5(){
this.bodyUMC.gotoAndPlay("R1");
this.bodyLMC.gotoAndPlay("R1");
}
function frame25(){
this.bodyUMC.gotoAndPlay("R3");
this.bodyLMC.gotoAndPlay("R3");
}
function frame35(){
this.bodyUMC.gotoAndPlay("R2");
this.bodyLMC.gotoAndPlay("R2");
}
function frame58(){
this.gotoAndStop(1);
}
}
}//package yu_fla
Section 44
//anzuMC2_189 (yu_fla.anzuMC2_189)
package yu_fla {
import flash.display.*;
import flash.events.*;
import flash.text.*;
import flash.media.*;
import flash.ui.*;
import flash.utils.*;
import flash.geom.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.xml.*;
public dynamic class anzuMC2_189 extends MovieClip {
public var bodyLMC:MovieClip;
public var pieFlg:Boolean;
public var st:String;
public var mosaicFlg:Boolean;
public var bodyUMC:MovieClip;
public function anzuMC2_189(){
addFrameScript(0, frame1, 4, frame5, 15, frame16, 24, frame25, 34, frame35, 57, frame58);
}
function frame1(){
if (st == null){
st = " ";
pieFlg = false;
mosaicFlg = false;
};
if (!this.bodyUMC.brassiereMC.visible){
pieFlg = true;
} else {
pieFlg = false;
};
if (!this.bodyLMC.pantsMC.visible){
mosaicFlg = true;
} else {
mosaicFlg = false;
};
}
function frame16(){
this.gotoAndStop(1);
}
function frame5(){
this.bodyUMC.gotoAndPlay("R1");
this.bodyLMC.gotoAndPlay("R1");
}
function frame25(){
this.bodyUMC.gotoAndPlay("R3");
this.bodyLMC.gotoAndPlay("R3");
}
function frame35(){
this.bodyUMC.gotoAndPlay("R2");
this.bodyLMC.gotoAndPlay("R2");
}
function frame58(){
this.gotoAndStop(1);
}
}
}//package yu_fla
Section 45
//countMC_21 (yu_fla.countMC_21)
package yu_fla {
import flash.display.*;
public dynamic class countMC_21 extends MovieClip {
public function countMC_21(){
addFrameScript(108, frame109);
}
function frame109(){
this.stop();
}
}
}//package yu_fla
Section 46
//effectScreenMC_8 (yu_fla.effectScreenMC_8)
package yu_fla {
import flash.display.*;
public dynamic class effectScreenMC_8 extends MovieClip {
public function effectScreenMC_8(){
addFrameScript(0, frame1, 15, frame16);
}
function frame16(){
this.stop();
}
function frame1(){
this.stop();
}
}
}//package yu_fla
Section 47
//frontMC_205 (yu_fla.frontMC_205)
package yu_fla {
import flash.display.*;
import flash.text.*;
public dynamic class frontMC_205 extends MovieClip {
public var returnBTN:SimpleButton;
public var nextBTN:SimpleButton;
public var stageTXT:TextField;
public var rightBTN:SimpleButton;
public var skeletonMC:MovieClip;
public var timeGaugeMC:MovieClip;
public var leftBTN:SimpleButton;
}
}//package yu_fla
Section 48
//loadingMC_2 (yu_fla.loadingMC_2)
package yu_fla {
import flash.display.*;
public dynamic class loadingMC_2 extends MovieClip {
public var barMC:loader;
}
}//package yu_fla
Section 49
//MainTimeline (yu_fla.MainTimeline)
package yu_fla {
import flash.display.*;
import flash.events.*;
import flash.text.*;
import game.TouchGame.*;
import game.*;
import flash.media.*;
import flash.ui.*;
import flash.utils.*;
import flash.geom.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.xml.*;
public dynamic class MainTimeline extends MovieClip {
public var lastStage:int;
public var timeriMC:MovieClip;
public var frontMC:MovieClip;
public var ld:LoaderPro;
public var to:TouchMain;
public var con:ContextMenuSet;
public var allClearFlg:Boolean;
public var nasiMC:MovieClip;
public var dText:TextField;
public var effectScreenMC:MovieClip;
public var fpsText:TextField;
public var ver:String;
public var playMC:MovieClip;
public var loadingMC:MovieClip;
public var titleMC:MovieClip;
public function MainTimeline(){
addFrameScript(1, frame2, 2, frame3, 19, frame20, 20, frame21, 21, frame22, 27, frame28, 29, frame30);
}
public function restartPro(){
to.removeListenerPro();
trace(((("前 has? " + stage.hasEventListener(Event.ENTER_FRAME)) + " will? ") + stage.willTrigger(Event.ENTER_FRAME)));
stage.removeEventListener(Event.ENTER_FRAME, to.mainPro);
trace(((("後 has? " + stage.hasEventListener(Event.ENTER_FRAME)) + " will? ") + stage.willTrigger(Event.ENTER_FRAME)));
to = null;
this.effectScreenMC.gotoAndStop(16);
this.gotoAndPlay(6);
}
function frame20(){
ld = null;
}
function frame3(){
this.stop();
ld = new LoaderPro(this, loadingMC.barMC);
}
function frame21(){
ver = "ver.2.1";
lastStage = 1;
allClearFlg = false;
this.effectScreenMC.gotoAndStop(16);
}
function frame30(){
this.stop();
titleMC.verTXT.text = ver;
}
function frame22(){
}
function frame2(){
con = new ContextMenuSet(this);
}
function frame28(){
con = null;
to = new TouchMain(this, stage);
}
}
}//package yu_fla
Section 50
//mosaicMC1_196 (yu_fla.mosaicMC1_196)
package yu_fla {
import flash.display.*;
public dynamic class mosaicMC1_196 extends MovieClip {
public function mosaicMC1_196(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package yu_fla
Section 51
//mosaicMC2_137 (yu_fla.mosaicMC2_137)
package yu_fla {
import flash.display.*;
public dynamic class mosaicMC2_137 extends MovieClip {
public function mosaicMC2_137(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package yu_fla
Section 52
//nasiMC_6 (yu_fla.nasiMC_6)
package yu_fla {
import flash.display.*;
public dynamic class nasiMC_6 extends MovieClip {
public function nasiMC_6(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package yu_fla
Section 53
//pantsMC2_197 (yu_fla.pantsMC2_197)
package yu_fla {
import flash.display.*;
public dynamic class pantsMC2_197 extends MovieClip {
public function pantsMC2_197(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package yu_fla
Section 54
//pieLMC_193 (yu_fla.pieLMC_193)
package yu_fla {
import flash.display.*;
public dynamic class pieLMC_193 extends MovieClip {
public function pieLMC_193(){
addFrameScript(0, frame1, 46, frame47);
}
function frame1(){
this.stop();
}
function frame47(){
this.gotoAndStop(2);
}
}
}//package yu_fla
Section 55
//pieRMC_192 (yu_fla.pieRMC_192)
package yu_fla {
import flash.display.*;
public dynamic class pieRMC_192 extends MovieClip {
public function pieRMC_192(){
addFrameScript(0, frame1, 46, frame47);
}
function frame1(){
this.stop();
}
function frame47(){
this.gotoAndStop(2);
}
}
}//package yu_fla
Section 56
//playMC_15 (yu_fla.playMC_15)
package yu_fla {
import flash.display.*;
import flash.events.*;
import flash.text.*;
import flash.media.*;
import flash.ui.*;
import flash.utils.*;
import flash.geom.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.xml.*;
public dynamic class playMC_15 extends MovieClip {
public var dummy2:MovieClip;
public var dummy4:MovieClip;
public var dummy1:MovieClip;
public var dummy3:MovieClip;
public var orderD:int;
public var orderP:int;
public var countMC:MovieClip;
public var parts10:MovieClip;
public var dummyTg:Array;
public var parts2:MovieClip;
public var parts3:MovieClip;
public var parts4:MovieClip;
public var parts5:MovieClip;
public var parts6:MovieClip;
public var parts7:MovieClip;
public var parts8:MovieClip;
public var parts1:MovieClip;
public var pFlash:Boolean;
public var parts9:MovieClip;
public var partsTg:Array;
public var charMC:MovieClip;
public var E_obj1:MovieClip;
public var E_obj2:MovieClip;
public var E_obj3:MovieClip;
public function playMC_15(){
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, 18, frame19, 19, frame20, 20, frame21, 21, frame22, 22, frame23, 23, frame24, 24, frame25);
}
function frame10(){
targetClear();
pFlash = false;
orderP = 4;
orderD = 3;
partsTg[0] = this.charMC.shirtMC;
partsTg[1] = this.charMC.shirtFMC;
partsTg[2] = this.charMC.armLMC.shirtMC;
dummyTg[0] = this.charMC.accessoryMC;
this.charMC.legRMC.tightsMC.visible = false;
this.charMC.jacketMC.visible = false;
this.charMC.legLMC.footMC.tightsMC.visible = false;
this.charMC.legLMC.tightsMC.visible = false;
this.charMC.armLMC.gloveMC.visible = false;
this.charMC.armRMC.gloveMC.visible = false;
this.charMC.legLMC.footMC.shoesMC.visible = false;
this.charMC.legRMC.shoesMC.visible = false;
}
function frame14(){
targetClear();
pFlash = false;
orderP = 0;
orderD = 0;
this.charMC.bodyLMC.pantsMC.visible = false;
}
function frame15(){
targetClear();
pFlash = false;
orderP = 3;
orderD = 1;
partsTg[0] = this.charMC.legLMC.shoesMC;
dummyTg[0] = this.charMC.ribonMC;
}
function frame16(){
targetClear();
pFlash = false;
orderP = 3;
orderD = 0;
partsTg[0] = this.charMC.legRMC.shoesMC;
this.charMC.legLMC.shoesMC.visible = false;
}
function frame18(){
targetClear();
pFlash = false;
orderP = 4;
orderD = 1;
partsTg[0] = this.charMC.legRMC.socksMC;
dummyTg[0] = this.charMC.blazerMC;
dummyTg[1] = this.charMC.blazerMC2;
dummyTg[2] = this.charMC.armRMC.blazerMC;
this.charMC.legLMC.shoesMC.visible = false;
this.charMC.legRMC.shoesMC.visible = false;
this.charMC.legLMC.socksMC.visible = false;
}
function frame12(){
targetClear();
pFlash = false;
orderP = 4;
orderD = 0;
partsTg[0] = this.charMC.onePieceMC;
partsTg[1] = this.charMC.onePieceBMC;
this.charMC.accessoryMC.visible = false;
this.charMC.shirtMC.visible = false;
this.charMC.shirtFMC.visible = false;
this.charMC.armLMC.shirtMC.visible = false;
this.charMC.legRMC.tightsMC.visible = false;
this.charMC.jacketMC.visible = false;
this.charMC.legLMC.footMC.tightsMC.visible = false;
this.charMC.legLMC.tightsMC.visible = false;
this.charMC.armLMC.gloveMC.visible = false;
this.charMC.armRMC.gloveMC.visible = false;
this.charMC.legLMC.footMC.shoesMC.visible = false;
this.charMC.legRMC.shoesMC.visible = false;
}
function frame17(){
targetClear();
pFlash = false;
orderP = 3;
orderD = 1;
partsTg[0] = this.charMC.legLMC.socksMC;
dummyTg[0] = this.charMC.skirtMC;
dummyTg[1] = this.charMC.skirtMC2;
this.charMC.legLMC.shoesMC.visible = false;
this.charMC.legRMC.shoesMC.visible = false;
}
function frame2(){
targetClear();
pFlash = true;
}
function frame3(){
targetClear();
pFlash = false;
}
function frame4(){
targetClear();
pFlash = false;
}
function frame5(){
targetClear();
pFlash = false;
orderP = 2;
orderD = 0;
partsTg[0] = this.charMC.legLMC.footMC.shoesMC;
partsTg[1] = this.charMC.legRMC.shoesMC;
}
function frame6(){
targetClear();
pFlash = false;
orderP = 4;
orderD = 0;
partsTg[0] = this.charMC.armLMC.gloveMC;
partsTg[1] = this.charMC.armRMC.gloveMC;
this.charMC.legLMC.footMC.shoesMC.visible = false;
this.charMC.legRMC.shoesMC.visible = false;
}
function frame7(){
targetClear();
pFlash = false;
orderP = 6;
orderD = 1;
partsTg[0] = this.charMC.legLMC.footMC.tightsMC;
partsTg[1] = this.charMC.legLMC.tightsMC;
dummyTg[0] = this.charMC.legRMC.tightsMC;
this.charMC.armLMC.gloveMC.visible = false;
this.charMC.armRMC.gloveMC.visible = false;
this.charMC.legLMC.footMC.shoesMC.visible = false;
this.charMC.legRMC.shoesMC.visible = false;
}
function frame1(){
this.stop();
if (!partsTg){
pFlash = true;
orderP = 4;
orderP = 0;
orderD = 1;
orderD = 0;
partsTg = new Array();
partsTg[0] = null;
partsTg[1] = null;
dummyTg = new Array();
dummyTg[0] = null;
dummyTg[1] = null;
};
}
function frame9(){
targetClear();
pFlash = false;
orderP = 2;
orderD = 0;
partsTg[0] = this.charMC.legRMC.tightsMC;
this.charMC.jacketMC.visible = false;
this.charMC.legLMC.footMC.tightsMC.visible = false;
this.charMC.legLMC.tightsMC.visible = false;
this.charMC.armLMC.gloveMC.visible = false;
this.charMC.armRMC.gloveMC.visible = false;
this.charMC.legLMC.footMC.shoesMC.visible = false;
this.charMC.legRMC.shoesMC.visible = false;
}
function frame22(){
targetClear();
pFlash = true;
orderP = 10;
orderD = 0;
partsTg[0] = this.charMC.shirtMC;
partsTg[1] = this.charMC.armRMC.shirtMC;
this.charMC.legLMC.shoesMC.visible = false;
this.charMC.legRMC.shoesMC.visible = false;
this.charMC.legLMC.socksMC.visible = false;
this.charMC.legRMC.socksMC.visible = false;
this.charMC.ribonMC.visible = false;
this.charMC.blazerMC.visible = false;
this.charMC.blazerMC2.visible = false;
this.charMC.armRMC.blazerMC.visible = false;
this.charMC.skirtMC.visible = false;
this.charMC.skirtMC2.visible = false;
}
function frame23(){
targetClear();
pFlash = false;
orderP = 8;
orderD = 0;
partsTg[0] = this.charMC.bodyUMC.brassiereMC;
this.charMC.bodyLMC.mosaicMC.visible = false;
}
function frame24(){
targetClear();
pFlash = false;
orderP = 8;
orderD = 0;
partsTg[0] = this.charMC.bodyLMC.pantsMC;
this.charMC.bodyUMC.pie1.gotoAndStop(2);
this.charMC.bodyUMC.pie2.gotoAndStop(2);
this.charMC.bodyUMC.brassiereMC.visible = false;
this.charMC.bodyLMC.mosaicMC.visible = false;
}
function frame25(){
targetClear();
pFlash = false;
orderP = 0;
orderD = 0;
this.charMC.bodyUMC.pie1.gotoAndStop(2);
this.charMC.bodyUMC.pie2.gotoAndStop(2);
this.charMC.bodyUMC.brassiereMC.visible = false;
this.charMC.bodyLMC.pantsMC.visible = false;
}
function frame13(){
targetClear();
pFlash = false;
orderP = 3;
orderD = 0;
partsTg[0] = this.charMC.bodyLMC.pantsMC;
this.charMC.bodyLMC.mosaicMC.visible = false;
}
function frame19(){
targetClear();
pFlash = true;
orderP = 4;
orderD = 0;
partsTg[0] = this.charMC.ribonMC;
this.charMC.legLMC.shoesMC.visible = false;
this.charMC.legRMC.shoesMC.visible = false;
this.charMC.legLMC.socksMC.visible = false;
this.charMC.legRMC.socksMC.visible = false;
}
function frame21(){
targetClear();
pFlash = false;
orderP = 2;
orderD = 0;
partsTg[0] = this.charMC.skirtMC;
partsTg[1] = this.charMC.skirtMC2;
this.charMC.legLMC.shoesMC.visible = false;
this.charMC.legRMC.shoesMC.visible = false;
this.charMC.legLMC.socksMC.visible = false;
this.charMC.legRMC.socksMC.visible = false;
this.charMC.ribonMC.visible = false;
this.charMC.blazerMC.visible = false;
this.charMC.blazerMC2.visible = false;
this.charMC.armRMC.blazerMC.visible = false;
}
function frame8(){
targetClear();
pFlash = true;
orderP = 5;
orderD = 0;
partsTg[0] = this.charMC.jacketMC;
this.charMC.legLMC.footMC.tightsMC.visible = false;
this.charMC.legLMC.tightsMC.visible = false;
this.charMC.armLMC.gloveMC.visible = false;
this.charMC.armRMC.gloveMC.visible = false;
this.charMC.legLMC.footMC.shoesMC.visible = false;
this.charMC.legRMC.shoesMC.visible = false;
}
function frame11(){
targetClear();
pFlash = true;
orderP = 8;
orderD = 0;
partsTg[0] = this.charMC.accessoryMC;
this.charMC.shirtMC.visible = false;
this.charMC.shirtFMC.visible = false;
this.charMC.armLMC.shirtMC.visible = false;
this.charMC.legRMC.tightsMC.visible = false;
this.charMC.jacketMC.visible = false;
this.charMC.legLMC.footMC.tightsMC.visible = false;
this.charMC.legLMC.tightsMC.visible = false;
this.charMC.armLMC.gloveMC.visible = false;
this.charMC.armRMC.gloveMC.visible = false;
this.charMC.legLMC.footMC.shoesMC.visible = false;
this.charMC.legRMC.shoesMC.visible = false;
}
function frame20(){
targetClear();
pFlash = false;
orderP = 3;
orderD = 0;
partsTg[0] = this.charMC.blazerMC;
partsTg[1] = this.charMC.blazerMC2;
partsTg[2] = this.charMC.armRMC.blazerMC;
this.charMC.legLMC.shoesMC.visible = false;
this.charMC.legRMC.shoesMC.visible = false;
this.charMC.legLMC.socksMC.visible = false;
this.charMC.legRMC.socksMC.visible = false;
this.charMC.ribonMC.visible = false;
}
public function targetClear():void{
var _local1:int;
var _local2:int;
if (partsTg != null){
_local1 = 0;
while (_local1 < partsTg.length) {
partsTg[_local1] = null;
_local1++;
};
};
if (dummyTg != null){
_local2 = 0;
while (_local2 < dummyTg.length) {
dummyTg[_local2] = null;
_local2++;
};
};
orderP = 0;
orderD = 0;
trace(("\n*************************\nplayMC側:targetClear()//ターゲットクリア処理 cf:" + this.currentFrame));
}
}
}//package yu_fla
Section 57
//skeletonMC_209 (yu_fla.skeletonMC_209)
package yu_fla {
import flash.display.*;
public dynamic class skeletonMC_209 extends MovieClip {
public function skeletonMC_209(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package yu_fla
Section 58
//soundMC1_5 (yu_fla.soundMC1_5)
package yu_fla {
import flash.display.*;
public dynamic class soundMC1_5 extends MovieClip {
public function soundMC1_5(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package yu_fla
Section 59
//timeGaugeMC_213 (yu_fla.timeGaugeMC_213)
package yu_fla {
import flash.display.*;
public dynamic class timeGaugeMC_213 extends MovieClip {
public function timeGaugeMC_213(){
addFrameScript(0, frame1, 318, frame319, 358, frame359, 420, frame421, 484, frame485);
}
function frame319(){
this.gotoAndPlay(2);
}
function frame1(){
this.stop();
}
function frame359(){
this.stop();
}
function frame485(){
this.stop();
}
function frame421(){
this.stop();
}
}
}//package yu_fla
Section 60
//timeriMC_7 (yu_fla.timeriMC_7)
package yu_fla {
import flash.display.*;
public dynamic class timeriMC_7 extends MovieClip {
public function timeriMC_7(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package yu_fla
Section 61
//titleMC_9 (yu_fla.titleMC_9)
package yu_fla {
import flash.display.*;
import flash.text.*;
public dynamic class titleMC_9 extends MovieClip {
public var button1:SimpleButton;
public var button3:SimpleButton;
public var button2:SimpleButton;
public var verTXT:TextField;
}
}//package yu_fla
Section 62
//tongueGyoMC1_85 (yu_fla.tongueGyoMC1_85)
package yu_fla {
import flash.display.*;
public dynamic class tongueGyoMC1_85 extends MovieClip {
public function tongueGyoMC1_85(){
addFrameScript(0, frame1);
}
function frame1(){
this.gotoAndStop(1);
}
}
}//package yu_fla
Section 63
//tongueGyoMC2_105 (yu_fla.tongueGyoMC2_105)
package yu_fla {
import flash.display.*;
public dynamic class tongueGyoMC2_105 extends MovieClip {
public function tongueGyoMC2_105(){
addFrameScript(0, frame1);
}
function frame1(){
this.gotoAndStop(1);
}
}
}//package yu_fla
Section 64
//tongueGyoMC3_146 (yu_fla.tongueGyoMC3_146)
package yu_fla {
import flash.display.*;
public dynamic class tongueGyoMC3_146 extends MovieClip {
public function tongueGyoMC3_146(){
addFrameScript(0, frame1);
}
function frame1(){
this.gotoAndStop(1);
}
}
}//package yu_fla
Section 65
//tongueGyoMC4_204 (yu_fla.tongueGyoMC4_204)
package yu_fla {
import flash.display.*;
public dynamic class tongueGyoMC4_204 extends MovieClip {
public function tongueGyoMC4_204(){
addFrameScript(0, frame1);
}
function frame1(){
this.gotoAndStop(1);
}
}
}//package yu_fla
Section 66
//effect01 (effect01)
package {
import flash.media.*;
public dynamic class effect01 extends Sound {
}
}//package
Section 67
//effect02 (effect02)
package {
import flash.media.*;
public dynamic class effect02 extends Sound {
}
}//package
Section 68
//effect03 (effect03)
package {
import flash.media.*;
public dynamic class effect03 extends Sound {
}
}//package
Section 69
//effect04 (effect04)
package {
import flash.media.*;
public dynamic class effect04 extends Sound {
}
}//package
Section 70
//effect05 (effect05)
package {
import flash.media.*;
public dynamic class effect05 extends Sound {
}
}//package
Section 71
//loader (loader)
package {
import flash.display.*;
public dynamic class loader extends MovieClip {
public var bar:MovieClip;
public var loadBar:MovieClip;
}
}//package