Section 1
//B_actMCend_18 (bFucker_fla.B_actMCend_18)
package bFucker_fla {
import flash.display.*;
import flash.events.*;
import flash.text.*;
import flash.media.*;
import flash.ui.*;
import flash.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.net.*;
import flash.system.*;
public dynamic class B_actMCend_18 extends MovieClip {
public function B_actMCend_18(){
addFrameScript(99, frame100);
}
function frame100(){
this.stop();
}
}
}//package bFucker_fla
Section 2
//B_actMCgoal_17 (bFucker_fla.B_actMCgoal_17)
package bFucker_fla {
import flash.display.*;
import flash.events.*;
import flash.text.*;
import flash.media.*;
import flash.ui.*;
import flash.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.net.*;
import flash.system.*;
public dynamic class B_actMCgoal_17 extends MovieClip {
public function B_actMCgoal_17(){
addFrameScript(55, frame56);
}
function frame56(){
this.stop();
}
}
}//package bFucker_fla
Section 3
//barEffectMC_127 (bFucker_fla.barEffectMC_127)
package bFucker_fla {
import flash.display.*;
import flash.events.*;
import flash.text.*;
import flash.media.*;
import flash.ui.*;
import flash.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.net.*;
import flash.system.*;
public dynamic class barEffectMC_127 extends MovieClip {
public function barEffectMC_127(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package bFucker_fla
Section 4
//barMC_126 (bFucker_fla.barMC_126)
package bFucker_fla {
import flash.display.*;
import flash.events.*;
import flash.text.*;
import flash.media.*;
import flash.ui.*;
import flash.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.net.*;
import flash.system.*;
public dynamic class barMC_126 extends MovieClip {
public var barEffectMC:MovieClip;
public function barMC_126(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package bFucker_fla
Section 5
//floorgoalMC_136 (bFucker_fla.floorgoalMC_136)
package bFucker_fla {
import flash.display.*;
import flash.events.*;
import flash.text.*;
import flash.media.*;
import flash.ui.*;
import flash.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.net.*;
import flash.system.*;
public dynamic class floorgoalMC_136 extends MovieClip {
public function floorgoalMC_136(){
addFrameScript(39, frame40);
}
function frame40(){
this.stop();
}
}
}//package bFucker_fla
Section 6
//gameoverMC_135 (bFucker_fla.gameoverMC_135)
package bFucker_fla {
import flash.display.*;
import flash.events.*;
import flash.text.*;
import flash.media.*;
import flash.ui.*;
import flash.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.net.*;
import flash.system.*;
public dynamic class gameoverMC_135 extends MovieClip {
public function gameoverMC_135(){
addFrameScript(84, frame85);
}
function frame85(){
this.stop();
}
}
}//package bFucker_fla
Section 7
//infoPanelMC_125 (bFucker_fla.infoPanelMC_125)
package bFucker_fla {
import flash.display.*;
import flash.text.*;
public dynamic class infoPanelMC_125 extends MovieClip {
public var gCoTXT:TextField;
public var verTXT:TextField;
public var barMC:MovieClip;
}
}//package bFucker_fla
Section 8
//loadingMC_2 (bFucker_fla.loadingMC_2)
package bFucker_fla {
import flash.display.*;
public dynamic class loadingMC_2 extends MovieClip {
public var barMC:loader;
}
}//package bFucker_fla
Section 9
//M_nasiMC_128 (bFucker_fla.M_nasiMC_128)
package bFucker_fla {
import flash.display.*;
import flash.events.*;
import flash.text.*;
import flash.media.*;
import flash.ui.*;
import flash.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.net.*;
import flash.system.*;
public dynamic class M_nasiMC_128 extends MovieClip {
public function M_nasiMC_128(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package bFucker_fla
Section 10
//mainMC_129 (bFucker_fla.mainMC_129)
package bFucker_fla {
import flash.display.*;
import flash.events.*;
import flash.text.*;
import flash.media.*;
import flash.ui.*;
import flash.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.net.*;
import flash.system.*;
public dynamic class mainMC_129 extends MovieClip {
public var hitAreaMC:MovieClip;
public var backMC:MovieClip;
public var outAreaMC:MovieClip;
public var itemAreaMC:MovieClip;
public var charAreaMC:MovieClip;
public function mainMC_129(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package bFucker_fla
Section 11
//MainTimeline (bFucker_fla.MainTimeline)
package bFucker_fla {
import flash.display.*;
import flash.events.*;
import flash.text.*;
import game.*;
import game.BFuck.*;
import flash.media.*;
import flash.ui.*;
import flash.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.net.*;
import flash.system.*;
public dynamic class MainTimeline extends MovieClip {
public var floorgoalMC:MovieClip;
public var infoPanelMC:MovieClip;
public var mainMC:MovieClip;
public var gameoverMC:MovieClip;
public var bf:BFuckerMain;
public var ld:LoaderPro;
public var con:CMS_BFucker;
public var nasiMC:MovieClip;
public var dText:TextField;
public var ver:String;
public var fpsText:TextField;
public var loadingMC:MovieClip;
public var titleMC:MovieClip;
public function MainTimeline(){
addFrameScript(1, frame2, 9, frame10, 14, frame15, 24, frame25, 28, frame29, 29, frame30);
}
public function restartPro(){
trace(((("前 has? " + stage.hasEventListener(Event.ENTER_FRAME)) + " will? ") + stage.willTrigger(Event.ENTER_FRAME)));
stage.removeEventListener(Event.ENTER_FRAME, bf.mainPro);
trace(((("後 has? " + stage.hasEventListener(Event.ENTER_FRAME)) + " will? ") + stage.willTrigger(Event.ENTER_FRAME)));
bf = null;
this.gotoAndPlay(8);
}
function frame10(){
con = new CMS_BFucker(this);
}
function frame25(){
ver = "ver.1.1";
}
function frame29(){
bf = new BFuckerMain(this, stage);
}
function frame2(){
this.stop();
ld = new LoaderPro(this, loadingMC.barMC);
}
function frame15(){
}
function frame30(){
this.stop();
titleMC.verTXT.text = ver;
infoPanelMC.verTXT.text = ver;
}
}
}//package bFucker_fla
Section 12
//soundMC_64 (bFucker_fla.soundMC_64)
package bFucker_fla {
import flash.display.*;
import flash.events.*;
import flash.text.*;
import flash.media.*;
import flash.ui.*;
import flash.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.net.*;
import flash.system.*;
public dynamic class soundMC_64 extends MovieClip {
public function soundMC_64(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package bFucker_fla
Section 13
//titleMC_134 (bFucker_fla.titleMC_134)
package bFucker_fla {
import flash.display.*;
import flash.events.*;
import flash.text.*;
import flash.media.*;
import flash.ui.*;
import flash.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.net.*;
import flash.system.*;
public dynamic class titleMC_134 extends MovieClip {
public var verTXT:TextField;
public function titleMC_134(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package bFucker_fla
Section 14
//BFuckerMain (game.BFuck.BFuckerMain)
package game.BFuck {
import flash.display.*;
import flash.events.*;
import game.*;
public class BFuckerMain {
private var stageMC:Object;
private var ui:UI_BFucker;
private var girl:Array;
private var fellaNo:int;// = 0
private var stateObj:Object;
private var tgC:MovieClip;
private var girlMC:MovieClip;
private var bObj:Object;
private var tgH:MovieClip;
private var keyC:int;
private var boy:BoyPro;
private var map:MapPro;
private var key:int;
private var holdNo:int;// = 0
private var boyMC:MovieClip;
private var fps:FPSpro;
var gs:String;
private var spaceNo:int;// = 1
private var snd:Sound_BFuck;
private var atkNo:int;// = 0
private var pl:StatePanel;
private var rootMC:MovieClip;
public function BFuckerMain(_arg1:MovieClip, _arg2:Object){
spaceNo = 1;
holdNo = 0;
fellaNo = 0;
atkNo = 0;
super();
rootMC = _arg1;
stageMC = _arg2;
tgC = rootMC.mainMC.charAreaMC;
tgH = rootMC.mainMC.hitAreaMC;
ui = new UI_BFucker(rootMC, stageMC);
snd = new Sound_BFuck(rootMC);
pl = new StatePanel(rootMC);
fps = new FPSpro(rootMC.fpsText);
stageMC.addEventListener(Event.ENTER_FRAME, mainPro);
map = new MapPro(_arg1);
bObj = new Object();
bObj.Ho = 0;
bObj.bx = 250;
bObj.by = 80;
bObj.MOY = 2;
bObj.MOX = (bObj.MOY * 2);
bObj.MOXq = Math.sqrt((Math.pow(bObj.MOX, 2) + Math.pow(bObj.MOY, 2)));
stateObj = new Object();
initialSet();
}
private function itemPro(_arg1:int):void{
switch (_arg1){
case 1:
trace("階段 降!!!!!!!!!!!!!");
boyMC.stateLv = "goal";
break;
case 6:
stateObj.HP = (stateObj.HP + 25);
if (stateObj.HP >= 100){
stateObj.HP = 100;
};
pl.HPbarPro(stateObj.HP, true);
snd.playEffectS(2, 1);
break;
case 7:
stateObj.HP = (stateObj.HP + 50);
if (stateObj.HP >= 100){
stateObj.HP = 100;
};
pl.HPbarPro(stateObj.HP, true);
snd.playEffectS(2, 1);
break;
case 8:
stateObj.HP = 100;
pl.HPbarPro(stateObj.HP, true);
snd.playEffectS(2, 1);
break;
};
}
public function mainPro(_arg1:Event):void{
var _local2:int;
var _local3:int;
var _local4:int;
var _local5:Boolean;
var _local6:int;
_local2 = rootMC.currentFrame;
if (_local2 == 10){
if (((ui.getKeySp) && (snd.keyWait(1)))){
boy = new BoyPro(tgC, tgH, bObj, rootMC);
map.stageSet();
girl = map.girlSet();
pl.renewPro(stateObj);
snd.playEffectS(1, 1);
rootMC.gotoAndStop(20);
};
} else {
if (_local2 == 20){
boyMC = boy.getBoyMC();
if (((!((spaceNo == 0))) && (ui.getKeySp))){
spaceNo = 2;
_local4 = map.itemSearchPro(boyMC);
if (_local4 != 0){
itemPro(_local4);
};
} else {
if (spaceNo != 0){
spaceNo = 1;
};
};
for (_local3 in girl) {
if (girl[_local3] == null){
} else {
girl[_local3].girlPro(boyMC);
gs = girl[_local3].stateLv;
if (gs == "h"){
boy.fixedPro(gs);
holdNo = _local3;
continue;
} else {
if (gs == "f"){
if (girl[holdNo] != null){
girl[holdNo].getGirlMC().stateLv = "a";
holdNo = 0;
};
boy.fixedPro(gs);
fellaNo = _local3;
stateObj.HP = (stateObj.HP - 0.5);
pl.HPbarPro(stateObj.HP, false);
if (stateObj.HP <= 0){
boy.fixedPro("end");
spaceNo = 0;
trace(("Boy死亡。。。。。。。。。" + boyMC.stateLv));
};
snd.playHsound();
continue;
} else {
if ((((gs == "E")) || ((gs == "B")))){
continue;
} else {
if (gs == "null"){
trace((("No." + _local3) + " null !!!!"));
girl[_local3] = null;
continue;
};
};
};
};
if (spaceNo == 2){
if (girl[_local3].boyAreaCheck()){
boy.fixedPro(girl[_local3].stateLv);
spaceNo = 0;
atkNo = _local3;
snd.playVoice();
trace(((("攻撃成功 敵No記憶 atkNo:" + atkNo) + " sLV:") + boyMC.stateLv));
};
};
};
};
key = ui.getKeyH;
keyC = ui.getKeyCode;
if ((((boyMC.stateLv == "f")) || ((boyMC.stateLv == "h")))){
if (boy.getAwayPro(key)){
if (girl[fellaNo] != null){
girl[fellaNo].getGirlMC().stateLv = "a";
};
if (girl[holdNo] != null){
girl[holdNo].getGirlMC().stateLv = "a";
};
holdNo = 0;
fellaNo = 0;
};
} else {
if ((((boyMC.stateLv == "E")) || ((boyMC.stateLv == "B")))){
_local5 = girl[atkNo].getEndFlg;
if (_local5){
boy.fixedPro("a");
spaceNo = 1;
atkNo = 0;
stateObj.gCo++;
pl.renewPro(stateObj);
map.eventCheak(stateObj.gCo);
trace(("Boy攻撃終了! gCo:" + stateObj.gCo));
};
} else {
if (boyMC.stateLv == "end"){
if (girl[fellaNo] != null){
girl[fellaNo].getGirlMC().stateLv = "a";
fellaNo = 0;
};
if (boyMC.actMC != null){
if ((((boyMC.actMC.currentFrame == boyMC.actMC.totalFrames)) && ((boyMC.currentLabel == "end")))){
rootMC.gotoAndStop(30);
};
};
} else {
if (boyMC.stateLv == "goal"){
if (boyMC.actMC != null){
if ((((boyMC.actMC.currentFrame == boyMC.actMC.totalFrames)) && ((boyMC.currentLabel == "goal")))){
rootMC.gotoAndStop(35);
};
};
};
};
_local6 = boy.boyPro(key);
if (_local6 <= 9){
map.mapChangePro(_local6, boyMC);
girl = map.girlSet();
trace(("マップ変更 m: " + _local6));
};
};
};
map.mapSet(1);
debugPro();
} else {
if (_local2 == 30){
if (((ui.getKeySp) && (snd.keyWait(1)))){
map.mapClear(boyMC, false);
boy = null;
girl = null;
initialSet();
rootMC.gotoAndStop(10);
};
} else {
if (_local2 == 35){
if (rootMC.floorgoalMC.currentFrame == rootMC.floorgoalMC.totalFrames){
if (((ui.getKeySp) && (snd.keyWait(1)))){
map.mapClear(boyMC, false);
boy = null;
girl = null;
initialSet();
rootMC.gotoAndStop(10);
};
};
};
};
};
};
fps.counting();
}
public function debugPro():void{
var _local1:String;
var _local2:String;
_local1 = ((((((((((((((("x:" + Math.round(boyMC.x)) + " y:") + Math.round(boyMC.y)) + "\nBoyState:") + boyMC.stateLv) + "\ncf: ") + boyMC.currentFrame) + "\n\nspaceNo:") + spaceNo) + "\nholdNo:") + holdNo) + "\nfellaNo:") + fellaNo) + "\natkNo:") + atkNo);
_local2 = _local1;
rootMC.dText.text = _local2;
}
public function testGetKeyPro():int{
if (keyC == 49){
map.mapMethodPro(2, "door");
} else {
if (keyC == 50){
map.mapMethodPro(4, "door");
} else {
if (keyC == 51){
map.mapMethodPro(6, "door");
} else {
if (keyC == 52){
map.mapMethodPro(8, "door");
};
};
};
};
}
private function initialSet(){
spaceNo = 1;
stateObj.HP = 100;
stateObj.gCo = 0;
map.initSet(1, 12);
}
}
}//package game.BFuck
Section 15
//BoyPro (game.BFuck.BoyPro)
package game.BFuck {
import flash.display.*;
public class BoyPro {
private var endFlg:Boolean;// = false
private var keyOld:int;// = 0
private var oldHo:int;// = 0
private var oldStateLv:String;// = ""
private var GYco:int;// = 0
private var boyMC:MovieClip;
private var tgH:MovieClip;
private var MOY:Number;
private var rootMC:MovieClip;
private var MOXq:Number;
private var MOX:Number;
private var oldby:Number;
private var tgC:MovieClip;
public function BoyPro(_arg1:MovieClip, _arg2:Object, _arg3:Object, _arg4:MovieClip){
oldStateLv = "";
oldHo = 0;
keyOld = 0;
GYco = 0;
endFlg = false;
super();
rootMC = _arg4;
tgC = _arg1;
tgH = _arg2;
boyMC = new Boy();
tgC.addChild(boyMC);
boyMC.stateLv = "";
boyMC.Ho = _arg3.Ho;
boyMC.x = _arg3.bx;
boyMC.y = _arg3.by;
MOX = _arg3.MOX;
MOY = _arg3.MOY;
MOXq = _arg3.MOXq;
trace(((((("boy生成!!" + boyMC) + "boy移動値 斜め:") + MOX) + " 横:") + MOXq));
}
public function fixedPro(_arg1:String):void{
var _local2:String;
if ((((_arg1 == "end")) || ((_arg1 == "goal")))){
_local2 = _arg1;
} else {
_local2 = (boyMC.Ho + _arg1);
};
boyMC.stateLv = _arg1;
boyMC.gotoAndStop(_local2);
}
public function boyPro(_arg1:int):int{
var _local2:String;
if (endFlg){
return (10);
};
if ((((boyMC.stateLv == "end")) || ((boyMC.stateLv == "goal")))){
boyMC.gotoAndStop(boyMC.stateLv);
endFlg = true;
return (10);
};
if (_arg1 != 0){
boyMC.Ho = _arg1;
boyMC.stateLv = "d";
_local2 = (boyMC.Ho + "d");
warkPro();
} else {
boyMC.stateLv = "b";
boyMC.gotoAndStop((boyMC.Ho + "b"));
oldHo = 0;
};
if (((!((boyMC.stateLv == oldStateLv))) || (!((boyMC.Ho == oldHo))))){
oldStateLv = boyMC.stateLv;
oldHo = boyMC.Ho;
_local2 = (boyMC.Ho + boyMC.stateLv);
if (!endFlg){
boyMC.gotoAndStop(_local2);
};
};
if (boyMC.y != oldby){
oldby = boyMC.y;
tgC.setChildIndex(boyMC, boyMC.y);
};
if (rootMC.mainMC.outAreaMC.hitTestPoint(boyMC.x, boyMC.y, true)){
trace("アウトエリアにHIT!!!!!!!");
return (mapChangePro());
};
return (10);
}
private function mapChangePro():int{
var _local1:int;
_local1 = 0;
if (boyMC.y < 110){
if (boyMC.x < 150){
_local1 = 8;
boyMC.x = 450;
boyMC.y = 270;
} else {
if ((((boyMC.x > 150)) && ((boyMC.x < 350)))){
_local1 = 1;
boyMC.y = 290;
} else {
if (boyMC.x > 350){
_local1 = 2;
boyMC.x = 50;
boyMC.y = 270;
};
};
};
} else {
if ((((boyMC.y > 110)) && ((boyMC.y < 220)))){
if (boyMC.x < 150){
_local1 = 7;
boyMC.x = 480;
} else {
if (boyMC.x > 350){
_local1 = 3;
boyMC.x = 10;
};
};
} else {
if (boyMC.y > 220){
if (boyMC.x < 150){
_local1 = 6;
boyMC.x = 450;
boyMC.y = 80;
} else {
if ((((boyMC.x > 150)) && ((boyMC.x < 350)))){
_local1 = 5;
boyMC.y = 70;
} else {
if (boyMC.x > 350){
_local1 = 4;
boyMC.x = 50;
boyMC.y = 80;
};
};
};
};
};
};
trace(("マップ 移動先:" + _local1));
return (_local1);
}
public function getBoyMC():MovieClip{
return (boyMC);
}
public function getAwayPro(_arg1:int):Boolean{
if (endFlg){
return (false);
};
if (_arg1 != keyOld){
keyOld = _arg1;
GYco++;
};
if (GYco >= 12){
GYco = 0;
trace("捕獲から解放!!");
boyMC.stateLv = "a";
return (true);
};
return (false);
}
private function warkPro():void{
var _local1:MovieClip;
var _local2:int;
var _local3:int;
_local1 = rootMC.mainMC.hitAreaMC;
_local2 = (MOX * 5);
_local3 = (MOY * 5);
if (boyMC.Ho == 1){
if (!_local1.hitTestPoint(boyMC.x, (boyMC.y - _local3), true)){
boyMC.y = (boyMC.y - MOY);
};
} else {
if (boyMC.Ho == 5){
if (!_local1.hitTestPoint(boyMC.x, (boyMC.y + _local3), true)){
boyMC.y = (boyMC.y + MOY);
};
} else {
if (boyMC.Ho == 3){
if (!_local1.hitTestPoint((boyMC.x + _local2), boyMC.y, true)){
boyMC.x = (boyMC.x + MOXq);
};
} else {
if (boyMC.Ho == 7){
if (!_local1.hitTestPoint((boyMC.x - _local2), boyMC.y, true)){
boyMC.x = (boyMC.x - MOXq);
};
} else {
if (boyMC.Ho == 2){
if (!_local1.hitTestPoint((boyMC.x + _local2), (boyMC.y - _local3), true)){
boyMC.x = (boyMC.x + MOX);
boyMC.y = (boyMC.y - MOY);
};
} else {
if (boyMC.Ho == 4){
if (!_local1.hitTestPoint((boyMC.x + _local2), (boyMC.y + _local3), true)){
boyMC.x = (boyMC.x + MOX);
boyMC.y = (boyMC.y + MOY);
};
} else {
if (boyMC.Ho == 6){
if (!_local1.hitTestPoint((boyMC.x - _local2), (boyMC.y + _local3), true)){
boyMC.x = (boyMC.x - MOX);
boyMC.y = (boyMC.y + MOY);
};
} else {
if (boyMC.Ho == 8){
if (!_local1.hitTestPoint((boyMC.x - _local2), (boyMC.y - _local3), true)){
boyMC.x = (boyMC.x - MOX);
boyMC.y = (boyMC.y - MOY);
};
};
};
};
};
};
};
};
};
}
}
}//package game.BFuck
Section 16
//CMS_BFucker (game.BFuck.CMS_BFucker)
package game.BFuck {
import flash.display.*;
import flash.events.*;
import game.*;
import flash.ui.*;
public class CMS_BFucker extends ContextMenuSet {
public function CMS_BFucker(_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.BFuck
Section 17
//GirlPro (game.BFuck.GirlPro)
package game.BFuck {
import flash.display.*;
public class GirlPro {
private var endFlg:Boolean;// = false
private var oldHo:int;// = 0
private var act:int;// = 0
private var oldStateLv:String;// = ""
private var oldgy:Number;
private var boyMC:MovieClip;
private var girlMC:MovieClip;
private var tgH:MovieClip;
private var MOX:Number;
private var MOY:Number;
private var rootMC:MovieClip;
private var MOXq:Number;
private var charNo:int;// = 0
private var tgC:MovieClip;
private static var cCo:int = 0;
public function GirlPro(_arg1:MovieClip, _arg2:MovieClip, _arg3:Object, _arg4:MovieClip){
charNo = 0;
oldStateLv = "";
oldHo = 0;
act = 0;
endFlg = false;
super();
cCo++;
charNo = cCo;
rootMC = _arg4;
tgC = _arg1;
tgH = _arg2;
girlMC = new Girl_A();
tgC.addChild(girlMC);
girlMC.stateLv = "a";
girlMC.Ho = _arg3.Ho;
girlMC.x = _arg3.gx;
girlMC.y = _arg3.gy;
MOX = _arg3.MOX;
MOY = _arg3.MOY;
MOXq = _arg3.MOXq;
tgC.setChildIndex(girlMC, girlMC.y);
trace(("女生成 No: " + charNo));
}
private function boySearchPro():void{
var _local1:Number;
var _local2:Number;
var _local3:int;
_local1 = boyMC.x;
_local2 = boyMC.y;
_local3 = 0;
if ((((girlMC.x < _local1)) && ((girlMC.y > _local2)))){
_local3 = 2;
} else {
if ((((girlMC.x < _local1)) && ((girlMC.y < _local2)))){
_local3 = 4;
} else {
if ((((girlMC.x > _local1)) && ((girlMC.y < _local2)))){
_local3 = 6;
} else {
if ((((girlMC.x > _local1)) && ((girlMC.y > _local2)))){
_local3 = 8;
};
};
};
};
if ((((girlMC.Ho <= 2)) && ((_local3 == 8)))){
girlMC.Ho--;
} else {
if ((((girlMC.Ho >= 6)) && ((_local3 == 2)))){
girlMC.Ho++;
} else {
if (girlMC.Ho > _local3){
girlMC.Ho--;
} else {
girlMC.Ho++;
};
};
};
if (girlMC.Ho >= 9){
girlMC.Ho = 1;
} else {
if (girlMC.Ho <= 0){
girlMC.Ho = 8;
};
};
}
public function get stateLv():String{
return (girlMC.stateLv);
}
public function get getEndFlg():Boolean{
return (endFlg);
}
private function reposePro():void{
var _local1:int;
_local1 = (Math.random() * 40);
if (_local1 == 0){
girlMC.stateLv = "b";
};
if (boyMC.stateLv == "h"){
girlMC.stateLv = "b";
boySearchPro();
};
}
private function directionPro():String{
var _local1:int;
var _local2:int;
_local1 = (Math.random() * 30);
_local2 = (Math.random() * 2);
if (_local1 == 0){
if (boyMC.stateLv == "h"){
boySearchPro();
return;
};
if (_local2 == 0){
girlMC.Ho++;
if (girlMC.Ho >= 9){
girlMC.Ho = 1;
};
} else {
girlMC.Ho--;
if (girlMC.Ho <= 0){
girlMC.Ho = 8;
};
};
} else {
if (_local1 == 1){
} else {
if (_local1 == 2){
girlMC.stateLv = "a";
} else {
if (_local1 >= 20){
girlMC.stateLv = "d";
};
};
};
};
}
public function boyAreaCheck():Boolean{
var _local1:String;
var _local2:int;
if ((((girlMC.stateLv == "E")) || ((girlMC.stateLv == "B")))){
return (false);
};
_local1 = boyMC.stateLv;
if ((((((((_local1 == "h")) || ((_local1 == "f")))) || ((_local1 == "E")))) || ((_local1 == "B")))){
return (false);
};
if (boyMC.hitAreaMC.hitTestObject(girlMC.hitAreaMC)){
_local2 = boyDirectionCheck(true);
if (_local2 == 2){
trace("駅弁 決定");
girlMC.stateLv = "E";
return (true);
};
if (_local2 == 3){
trace("バック 決定");
girlMC.stateLv = "B";
return (true);
};
};
return (false);
}
public function debugPro():void{
var _local1:String;
var _local2:String;
_local1 = ((((((((((("state: " + girlMC.stateLv) + "\nOldS:") + oldStateLv) + "\nHo: ") + girlMC.Ho) + "\noldHo: ") + oldHo) + "\ngx:") + Math.round(girlMC.x)) + " gy:") + Math.round(girlMC.y));
_local2 = _local1;
rootMC.dText.text = _local2;
}
private function movePro():void{
var _local1:MovieClip;
var _local2:MovieClip;
var _local3:int;
var _local4:int;
var _local5:String;
var _local6:int;
_local1 = girlMC;
_local2 = rootMC.mainMC.hitAreaMC;
_local3 = (MOX * 5);
_local4 = (MOY * 5);
if (girlMC.Ho == 1){
if (!_local2.hitTestPoint(girlMC.x, (girlMC.y - _local4), true)){
girlMC.y = (girlMC.y - MOY);
} else {
girlMC.stateLv = "b";
boySearchPro();
};
} else {
if (girlMC.Ho == 5){
if (!_local2.hitTestPoint(girlMC.x, (girlMC.y + _local4), true)){
girlMC.y = (girlMC.y + MOY);
} else {
girlMC.stateLv = "b";
boySearchPro();
};
} else {
if (girlMC.Ho == 3){
if (!_local2.hitTestPoint((girlMC.x + _local3), girlMC.y, true)){
girlMC.x = (girlMC.x + MOXq);
} else {
girlMC.stateLv = "b";
boySearchPro();
};
} else {
if (girlMC.Ho == 7){
if (!_local2.hitTestPoint((girlMC.x - _local3), girlMC.y, true)){
girlMC.x = (girlMC.x - MOXq);
} else {
girlMC.stateLv = "b";
boySearchPro();
};
} else {
if (girlMC.Ho == 2){
if (!_local2.hitTestPoint((girlMC.x + _local3), (girlMC.y - _local4), true)){
girlMC.x = (girlMC.x + MOX);
girlMC.y = (girlMC.y - MOY);
} else {
girlMC.stateLv = "b";
boySearchPro();
};
} else {
if (girlMC.Ho == 4){
if (!_local2.hitTestPoint((girlMC.x + _local3), (girlMC.y + _local4), true)){
girlMC.x = (girlMC.x + MOX);
girlMC.y = (girlMC.y + MOY);
} else {
girlMC.stateLv = "b";
boySearchPro();
};
} else {
if (girlMC.Ho == 6){
if (!_local2.hitTestPoint((girlMC.x - _local3), (girlMC.y + _local4), true)){
girlMC.x = (girlMC.x - MOX);
girlMC.y = (girlMC.y + MOY);
} else {
girlMC.stateLv = "b";
boySearchPro();
};
} else {
if (girlMC.Ho == 8){
if (!_local2.hitTestPoint((girlMC.x - _local3), (girlMC.y - _local4), true)){
girlMC.x = (girlMC.x - MOX);
girlMC.y = (girlMC.y - MOY);
} else {
girlMC.stateLv = "b";
boySearchPro();
};
};
};
};
};
};
};
};
};
if (boyMC.hitAreaMC.hitTestObject(girlMC.hitAreaMC)){
_local5 = boyMC.stateLv;
if (((((((((!((_local5 == "f"))) && (!((_local5 == "E"))))) && (!((_local5 == "B"))))) && (!((_local5 == "end"))))) && (!((_local5 == "goal"))))){
_local6 = boyDirectionCheck(false);
if (_local6 == 1){
if (_local5 != "h"){
girlMC.stateLv = "h";
trace(((("No." + charNo) + "Boyを捕獲 boyState: ") + boyMC.stateLv));
};
} else {
if (_local6 == 2){
trace((("No." + charNo) + "フェラ"));
girlMC.stateLv = "f";
};
};
};
};
}
public function getGirlMC():MovieClip{
return (girlMC);
}
public function girlPro(_arg1:MovieClip):void{
var _local2:String;
if (girlMC == null){
return;
};
boyMC = _arg1;
if (((!((girlMC.stateLv == oldStateLv))) || (!((girlMC.Ho == oldHo))))){
oldHo = girlMC.Ho;
oldStateLv = girlMC.stateLv;
_local2 = (girlMC.Ho + girlMC.stateLv);
girlMC.gotoAndStop(_local2);
};
if (girlMC.y != oldgy){
oldgy = girlMC.y;
tgC.setChildIndex(girlMC, girlMC.y);
};
switch (girlMC.stateLv){
case "a":
reposePro();
break;
case "b":
directionPro();
break;
case "c":
break;
case "d":
directionPro();
movePro();
break;
case "h":
break;
case "f":
break;
case "E":
if (girlMC.actMC != null){
boyAttackCheck();
};
break;
case "B":
if (girlMC.actMC != null){
boyAttackCheck();
};
break;
};
}
private function boyAttackCheck():void{
var _local1:String;
var _local2:int;
var _local3:int;
var _local4:int;
_local1 = girlMC.currentLabel;
_local2 = girlMC.currentFrame;
_local3 = girlMC.actMC.totalFrames;
_local4 = girlMC.actMC.currentFrame;
if (_local4 == _local3){
trace(("Girl消滅 !!!!! no: " + charNo));
tgC.removeChild(girlMC);
girlMC.stateLv = "null";
} else {
if (_local4 == 20){
trace(("Boyロック解除!! no: " + charNo));
endFlg = true;
};
};
}
private function boyDirectionCheck(_arg1:Boolean):int{
if (!_arg1){
if ((((girlMC.x <= boyMC.x)) && ((girlMC.y >= boyMC.y)))){
if ((((((boyMC.Ho >= 1)) && ((boyMC.Ho <= 4)))) || ((boyMC.Ho == 8)))){
return (1);
};
if ((((((girlMC.Ho >= 1)) && ((girlMC.Ho <= 4)))) || ((girlMC.Ho == 8)))){
return (2);
};
} else {
if ((((girlMC.x <= boyMC.x)) && ((girlMC.y <= boyMC.y)))){
if ((((boyMC.Ho >= 2)) && ((boyMC.Ho <= 6)))){
return (1);
};
if ((((girlMC.Ho >= 2)) && ((girlMC.Ho <= 6)))){
return (2);
};
} else {
if ((((girlMC.x >= boyMC.x)) && ((girlMC.y <= boyMC.y)))){
if ((((boyMC.Ho >= 4)) && ((boyMC.Ho <= 8)))){
return (1);
};
if ((((girlMC.Ho >= 4)) && ((girlMC.Ho <= 8)))){
return (2);
};
} else {
if ((((girlMC.x >= boyMC.x)) && ((girlMC.y >= boyMC.y)))){
if ((((((((boyMC.Ho >= 6)) && ((boyMC.Ho <= 8)))) || ((boyMC.Ho == 1)))) || ((boyMC.Ho == 2)))){
return (1);
};
if ((((((((girlMC.Ho >= 6)) && ((girlMC.Ho <= 8)))) || ((girlMC.Ho == 1)))) || ((girlMC.Ho == 2)))){
return (2);
};
};
};
};
};
} else {
if ((((girlMC.x <= boyMC.x)) && ((girlMC.y >= boyMC.y)))){
if ((((((girlMC.Ho >= 1)) && ((girlMC.Ho <= 4)))) || ((girlMC.Ho == 8)))){
return (2);
};
return (3);
} else {
if ((((girlMC.x <= boyMC.x)) && ((girlMC.y <= boyMC.y)))){
if ((((girlMC.Ho >= 2)) && ((girlMC.Ho <= 6)))){
return (2);
};
return (3);
} else {
if ((((girlMC.x >= boyMC.x)) && ((girlMC.y <= boyMC.y)))){
if ((((girlMC.Ho >= 4)) && ((girlMC.Ho <= 8)))){
return (2);
};
return (3);
} else {
if ((((girlMC.x >= boyMC.x)) && ((girlMC.y >= boyMC.y)))){
if ((((((((girlMC.Ho >= 6)) && ((girlMC.Ho <= 8)))) || ((girlMC.Ho == 1)))) || ((girlMC.Ho == 2)))){
return (2);
};
return (3);
};
};
};
};
};
return (0);
}
}
}//package game.BFuck
Section 18
//MapPro (game.BFuck.MapPro)
package game.BFuck {
import flash.display.*;
public class MapPro {
private var wallA8D:MovieClip;
private var kara:Array;
private var floor:int;// = 1
private var hitAreaW1L;
private var fArea:int;// = 12
private var hitAreaW1R;
private var tgC:MovieClip;
private var wallA1L;
private var tgH:MovieClip;
private var tgI:MovieClip;
private var wallA1R:MovieClip;
private var doorA_2;
private var hitAreaW3D;
var dot:Sprite;
private var doorA_6;
private var doorA_8:MovieClip;
private var doorA_4;
private var wallA2L;
private var hitAreaMC:Array;
private var wallA2R;
private var hitAreaW4D:MovieClip;
private var wallA3D;
private var enemyNo:int;// = 1
private var hitAreaOut:MovieClip;
private var snd:Sound_BFuck;
private var wallA3R;
private var wallA3L;
private var wallA4D:MovieClip;
private var hitAreaW5L;
private var hitAreaW5R;
private var hitAreaDA2;
private var hitAreaDA6;
private var girl:Array;
private var hitAreaDA4;
private var hitAreaP1;
private var hitAreaP2:MovieClip;
private var hitAreaDA8:MovieClip;
private var hitAreaW6L;
private var hitAreaW6R;
private var wallA5R;
private var wallA5L;
private var pillarA1;
private var pillarA2:MovieClip;
private var hitAreaW7D;
private var wallA6L;
private var wallA6R;
private var floorData:Array;
private var hitAreaW8D:MovieClip;
private var wallA7D;
private var itemMC;
private var rootMC;
public function MapPro(_arg1:MovieClip){
floor = 1;
fArea = 12;
enemyNo = 1;
super();
rootMC = _arg1;
tgC = rootMC.mainMC.charAreaMC;
tgH = rootMC.mainMC.hitAreaMC;
tgI = rootMC.mainMC.itemAreaMC;
snd = new Sound_BFuck(rootMC);
kara = new Array();
allFloorDataSet();
hitAreaOut = new HitAreaOutline();
pillarA1 = new PillarA_1();
hitAreaP1 = new HitAreaP_1();
pillarA2 = new PillarA_2();
hitAreaP2 = new HitAreaP_2();
pillarA3 = new PillarA_3();
hitAreaP3 = new HitAreaP_3();
wallA1L = new WallA_1L();
wallA1R = new WallA_1R();
wallA2L = new WallA_2L();
wallA2R = new WallA_2R();
wallA3L = new WallA_3L();
wallA3R = new WallA_3R();
wallA3D = new WallA_3D();
wallA4D = new WallA_4D();
wallA5L = new WallA_5L();
wallA5R = new WallA_5R();
wallA6L = new WallA_6L();
wallA6R = new WallA_6R();
wallA7D = new WallA_7D();
wallA8D = new WallA_8D();
hitAreaW1Lb = new HitAreaW_1L();
hitAreaW1Rb = new HitAreaW_1R();
hitAreaW1Lf = new HitAreaW_1L();
hitAreaW1Rf = new HitAreaW_1R();
hitAreaW3D = new HitAreaW_3D();
hitAreaW4D = new HitAreaW_4D();
hitAreaW5L = new HitAreaW_5L();
hitAreaW5R = new HitAreaW_5R();
hitAreaW6L = new HitAreaW_6L();
hitAreaW6R = new HitAreaW_6R();
hitAreaW7D = new HitAreaW_7D();
hitAreaW8D = new HitAreaW_8D();
doorA2 = new DoorA_2();
doorA4 = new DoorA_4();
doorA6 = new DoorA_6();
doorA8 = new DoorA_8();
hitAreaDA2 = new HitAreaD_A2();
hitAreaDA4 = new HitAreaD_A4();
hitAreaDA6 = new HitAreaD_A6();
hitAreaDA8 = new HitAreaD_A8();
itemMC = new Array();
hitAreaMC = new Array();
itemMC[1] = new Item1();
hitAreaMC[1] = new Item1();
hitAreaMC[1].no = 1;
itemMC[6] = new Item6();
hitAreaMC[6] = new Item6();
hitAreaMC[6].no = 6;
itemMC[7] = new Item7();
hitAreaMC[7] = new Item7();
hitAreaMC[7].no = 7;
itemMC[8] = new Item8();
hitAreaMC[8] = new Item8();
hitAreaMC[8].no = 8;
dot = new Sprite();
}
public function mapMethodPro(_arg1:int, _arg2:String){
if (_arg2 == "door"){
if (_arg1 == 1){
} else {
if (_arg1 == 2){
trace(("戸 右上破壊: " + hitAreaDA2.parent));
if (hitAreaDA2.parent){
hitAreaDA2.parent.removeChild(hitAreaDA2);
doorA2.play();
floorData[1][12].D2 = false;
snd.playEffectS(3, 1);
};
} else {
if (_arg1 == 3){
} else {
if (_arg1 == 4){
if (hitAreaDA4.parent){
hitAreaDA4.parent.removeChild(hitAreaDA4);
doorA4.play();
floorData[1][12].D4 = false;
snd.playEffectS(3, 1);
};
} else {
if (_arg1 == 5){
} else {
if (_arg1 == 6){
if (hitAreaDA6.parent){
hitAreaDA6.parent.removeChild(hitAreaDA6);
doorA6.play();
floorData[1][12].D6 = false;
snd.playEffectS(3, 1);
};
} else {
if (_arg1 == 7){
} else {
if (_arg1 == 8){
if (hitAreaDA8.parent){
hitAreaDA8.parent.removeChild(hitAreaDA8);
doorA8.play();
floorData[1][12].D8 = false;
snd.playEffectS(3, 1);
};
};
};
};
};
};
};
};
};
} else {
if (_arg2 == "item1"){
tgC.addChild(itemMC[1]);
tgI.addChild(hitAreaMC[1]);
tgC.setChildIndex(itemMC[1], 61);
snd.playEffectS(1, 1);
if (_arg1 == 1){
itemMC[1].x = (hitAreaMC[1].x = 250);
itemMC[1].y = (hitAreaMC[1].y = 90);
};
} else {
if (_arg2 == "item6"){
tgC.addChild(itemMC[6]);
tgI.addChild(hitAreaMC[6]);
tgC.setChildIndex(itemMC[6], 61);
snd.playEffectS(1, 1);
if (_arg1 == 1){
itemMC[6].x = (hitAreaMC[6].x = 250);
itemMC[6].y = (hitAreaMC[6].y = 80);
};
} else {
if (_arg2 == "item7"){
tgC.addChild(itemMC[7]);
tgI.addChild(hitAreaMC[7]);
tgC.setChildIndex(itemMC[7], 61);
snd.playEffectS(1, 1);
if (_arg1 == 1){
itemMC[7].x = (hitAreaMC[7].x = 250);
itemMC[7].y = (hitAreaMC[7].y = 80);
};
} else {
if (_arg2 == "item8"){
tgC.addChild(itemMC[8]);
tgI.addChild(hitAreaMC[8]);
tgC.setChildIndex(itemMC[8], 61);
snd.playEffectS(1, 1);
if (_arg1 == 1){
itemMC[8].x = (hitAreaMC[8].x = 250);
itemMC[8].y = (hitAreaMC[8].y = 80);
} else {
if (_arg1 == 8){
itemMC[8].x = (hitAreaMC[8].x = 150);
itemMC[8].y = (hitAreaMC[8].y = 130);
};
};
};
};
};
};
};
}
public function itemSearchPro(_arg1:MovieClip):int{
var _local2:int;
var _local3:int;
var _local4:Object;
if (!tgI.hitTestPoint(_arg1.x, _arg1.y, true)){
return (0);
};
_local2 = tgI.numChildren;
_local3 = 0;
while (_local3 <= (_local2 - 1)) {
_local4 = tgI.getChildAt(_local3);
if (_local4.hitTestPoint(_arg1.x, _arg1.y, true)){
trace(("アイテムとヒット! インスタンス名: " + _local4));
if (((!((_local4.no == 1))) && (!((_local4.no == 2))))){
tgC.removeChild(itemMC[_local4.no]);
tgI.removeChild(hitAreaMC[_local4.no]);
};
return (_local4.no);
};
_local3++;
};
return (0);
}
public function getData():int{
return (floorData[1][6].eNo);
}
private function eventGirlSet(_arg1:int, _arg2:int, _arg3:int):void{
var _local4:*;
var _local5:int;
trace("追加女セット");
_local4 = new Object();
_local4.Ho = _arg1;
_local4.gx = _arg2;
_local4.gy = _arg3;
_local4.MOY = 1.5;
_local4.MOX = (_local4.MOY * 2);
_local4.MOXq = Math.sqrt((Math.pow(_local4.MOX, 2) + Math.pow(_local4.MOY, 2)));
_local5 = girl.length;
enemyNo++;
girl[_local5] = new GirlPro(tgC, tgH, _local4, rootMC);
}
public function girlSet():Array{
var _local1:*;
var _local2:int;
var _local3:Number;
var _local4:Number;
var _local5:Boolean;
var _local6:*;
var _local7:*;
trace("girlSet() :Array{//女セット");
_local1 = new Object();
_local1.Ho = (Math.floor((Math.random() * 8)) + 1);
_local1.gx = 250;
_local1.gy = 200;
_local1.MOY = 1;
_local1.MOX = (_local1.MOY * 2);
_local1.MOXq = Math.sqrt((Math.pow(_local1.MOX, 2) + Math.pow(_local1.MOY, 2)));
girl = new Array();
enemyNo = floorData[floor][fArea].eNo;
_local2 = 1;
while (_local2 <= enemyNo) {
_local1.Ho = (Math.floor((Math.random() * 8)) + 1);
do {
if (floor == 1){
_local3 = (Math.random() * 480);
_local6 = Math.floor((Math.random() * 2));
if (_local3 < 240){
_local7 = (0.5 * _local3);
if (_local6 == 0){
_local4 = ((Math.random() * _local7) + (120 - _local7));
} else {
_local4 = ((Math.random() * _local7) + 120);
};
} else {
_local7 = ((-0.5 * (_local3 - 240)) + 120);
if (_local6 == 0){
_local4 = (120 - (Math.random() * _local7));
} else {
_local4 = ((Math.random() * _local7) + 120);
};
};
_local3 = (_local3 + 10);
_local4 = (_local4 + 60);
} else {
if (floor == 2){
_local3 = ((Math.random() * 420) + 40);
_local4 = ((Math.random() * 160) + 80);
};
};
_local3 = Math.round(_local3);
_local4 = Math.round(_local4);
_local5 = tgH.hitTestPoint(_local3, _local4, true);
trace(((((((("eNo:" + _local2) + " x:") + _local3) + " y:") + _local4) + " f:") + _local5));
} while (_local5);
_local1.gx = _local3;
_local1.gy = _local4;
girl[_local2] = new GirlPro(tgC, tgH, _local1, rootMC);
_local2++;
};
return (girl);
}
public function initSet(_arg1:int, _arg2:int):void{
floor = _arg1;
fArea = _arg2;
}
public function eventCheak(_arg1:int):void{
var _local2:int;
var _local3:int;
trace(("イベントチェック enemyNo: " + enemyNo));
_local2 = 0;
for (_local3 in girl) {
if (girl[_local3] == null){
_local2++;
};
};
switch (floor){
case 1:
switch (fArea){
case 6:
floorData[1][6].eNo--;
if (floorData[1][6].eNo <= 3){
floorData[1][6].eNo = 3;
};
if ((enemyNo - 2) == _local2){
mapMethodPro(1, "item1");
enemyNo = 0;
} else {
if ((enemyNo - 26) == _local2){
mapMethodPro(8, "item8");
enemyNo = 0;
};
};
break;
case 8:
if ((enemyNo - 4) == _local2){
mapMethodPro(1, "item6");
enemyNo = 0;
};
break;
case 12:
if ((enemyNo - 2) == _local2){
if (hitAreaDA2.parent){
mapMethodPro(2, "door");
eventGirlSet(6, 382, 116);
} else {
if (hitAreaDA4.parent){
mapMethodPro(4, "door");
eventGirlSet(8, 382, 244);
} else {
if (hitAreaDA6.parent){
mapMethodPro(6, "door");
eventGirlSet(2, 126, 244);
} else {
if (hitAreaDA8.parent){
mapMethodPro(8, "door");
eventGirlSet(4, 126, 116);
};
};
};
};
enemyNo = 0;
};
if (_arg1 == 1){
};
break;
case 16:
if ((enemyNo - 6) == _local2){
mapMethodPro(1, "item8");
enemyNo = 0;
};
break;
case 18:
if ((enemyNo - 5) == _local2){
mapMethodPro(1, "item7");
enemyNo = 0;
};
break;
};
break;
case 2:
break;
};
}
public function mapClear(_arg1:MovieClip, _arg2:Boolean):void{
var _local3:int;
var _local4:int;
var _local5:int;
var _local6:int;
var _local7:int;
var _local8:Object;
var _local9:Object;
var _local10:Object;
_local3 = girl.length;
_local4 = 1;
while (_local4 <= _local3) {
girl[_local4] = null;
_local4++;
};
_local5 = (tgC.numChildren - 1);
while (_local5 >= 0) {
_local8 = tgC.getChildAt(_local5);
if (((_arg2) && ((_local8 == _arg1)))){
} else {
_local8.parent.removeChild(_local8);
};
_local5--;
};
_local6 = (tgH.numChildren - 1);
while (_local6 >= 0) {
_local9 = tgH.getChildAt(_local6);
_local9.parent.removeChild(_local9);
_local6--;
};
_local7 = (tgI.numChildren - 1);
while (_local7 >= 0) {
_local10 = tgI.getChildAt(_local7);
_local10.parent.removeChild(_local10);
_local7--;
};
}
public function mapSet(_arg1:int):void{
var _local2:int;
var _local3:int;
_local2 = floor;
_local3 = fArea;
if (_local2 == 1){
if (_local3 == 12){
if (_arg1 == 0){
tgC.addChild(wallA2L);
tgH.addChild(hitAreaW1Lb);
wallA2L.x = (hitAreaW1Lb.x = 110);
wallA2L.y = (hitAreaW1Lb.y = 130);
tgC.addChild(wallA2R);
tgH.addChild(hitAreaW1Rb);
wallA2R.x = (hitAreaW1Rb.x = 390);
wallA2R.y = (hitAreaW1Rb.y = 130);
tgC.addChild(wallA3D);
tgH.addChild(hitAreaW3D);
wallA3D.x = (hitAreaW3D.x = 250);
wallA3D.y = (hitAreaW3D.y = 60);
tgC.setChildIndex(wallA3D, 60);
tgC.addChild(doorA8);
if (floorData[1][12].D8){
tgH.addChild(hitAreaDA8);
};
doorA8.x = (hitAreaDA8.x = 150);
doorA8.y = (hitAreaDA8.y = 110);
tgC.addChild(doorA2);
if (floorData[1][12].D2){
tgH.addChild(hitAreaDA2);
};
doorA2.x = (hitAreaDA2.x = 350);
doorA2.y = (hitAreaDA2.y = 110);
tgC.addChild(wallA3L);
tgH.addChild(hitAreaW1Lf);
wallA3L.x = (hitAreaW1Lf.x = 110);
wallA3L.y = (hitAreaW1Lf.y = 230);
tgC.addChild(wallA3R);
tgH.addChild(hitAreaW1Rf);
wallA3R.x = (hitAreaW1Rf.x = 390);
wallA3R.y = (hitAreaW1Rf.y = 230);
tgC.addChild(doorA6);
if (floorData[1][12].D6){
tgH.addChild(hitAreaDA6);
};
doorA6.x = (hitAreaDA6.x = 150);
doorA6.y = (hitAreaDA6.y = 250);
tgC.addChild(doorA4);
if (floorData[1][12].D4){
tgH.addChild(hitAreaDA4);
};
doorA4.x = (hitAreaDA4.x = 350);
doorA4.y = (hitAreaDA4.y = 250);
tgC.addChild(wallA4D);
tgH.addChild(hitAreaW4D);
wallA4D.x = (hitAreaW4D.x = 250);
wallA4D.y = (hitAreaW4D.y = 300);
tgC.setChildIndex(wallA4D, 300);
tgH.addChild(hitAreaOut);
};
tgC.setChildIndex(wallA2L, 129);
tgC.setChildIndex(wallA2R, 131);
tgC.setChildIndex(doorA2, 109);
tgC.setChildIndex(doorA8, 111);
tgC.setChildIndex(wallA3L, 229);
tgC.setChildIndex(wallA3R, 231);
tgC.setChildIndex(doorA4, 249);
tgC.setChildIndex(doorA6, 251);
} else {
if (_local3 == 8){
if (_arg1 == 0){
tgC.addChild(pillarA2);
tgH.addChild(hitAreaP2);
pillarA2.x = (hitAreaP2.x = 250);
pillarA2.y = (hitAreaP2.y = 180);
tgC.addChild(wallA7D);
tgH.addChild(hitAreaW7D);
wallA7D.x = (hitAreaW7D.x = 250);
wallA7D.y = (hitAreaW7D.y = 60);
tgC.setChildIndex(wallA7D, 60);
tgC.addChild(wallA3L);
tgH.addChild(hitAreaW1Lf);
wallA3L.x = (hitAreaW1Lf.x = 110);
wallA3L.y = (hitAreaW1Lf.y = 230);
tgC.addChild(wallA6R);
tgH.addChild(hitAreaW6R);
wallA6R.x = (hitAreaW6R.x = 250);
wallA6R.y = (hitAreaW6R.y = 300);
tgC.setChildIndex(wallA6R, 300);
tgH.addChild(hitAreaOut);
};
tgC.setChildIndex(pillarA2, 180);
tgC.setChildIndex(wallA3L, 229);
} else {
if (_local3 == 18){
if (_arg1 == 0){
tgC.addChild(pillarA1);
tgH.addChild(hitAreaP1);
pillarA1.x = (hitAreaP1.x = 250);
pillarA1.y = (hitAreaP1.y = 180);
tgC.addChild(wallA2L);
tgH.addChild(hitAreaW1Lb);
wallA2L.x = (hitAreaW1Lb.x = 110);
wallA2L.y = (hitAreaW1Lb.y = 130);
tgC.addChild(wallA5R);
tgH.addChild(hitAreaW5R);
wallA5R.x = (hitAreaW5R.x = 250);
wallA5R.y = (hitAreaW5R.y = 60);
tgC.setChildIndex(wallA5R, 60);
tgC.addChild(wallA8D);
tgH.addChild(hitAreaW8D);
wallA8D.x = (hitAreaW8D.x = 250);
wallA8D.y = (hitAreaW8D.y = 300);
tgC.setChildIndex(wallA8D, 300);
tgH.addChild(hitAreaOut);
};
tgC.setChildIndex(pillarA1, 180);
tgC.setChildIndex(wallA2L, 129);
} else {
if (_local3 == 16){
if (_arg1 == 0){
tgC.addChild(pillarA2);
tgH.addChild(hitAreaP2);
pillarA2.x = (hitAreaP2.x = 250);
pillarA2.y = (hitAreaP2.y = 180);
tgC.addChild(wallA2R);
tgH.addChild(hitAreaW1Rb);
wallA2R.x = (hitAreaW1Rb.x = 390);
wallA2R.y = (hitAreaW1Rb.y = 130);
tgC.addChild(wallA5L);
tgH.addChild(hitAreaW5L);
wallA5L.x = (hitAreaW5L.x = 250);
wallA5L.y = (hitAreaW5L.y = 60);
tgC.setChildIndex(wallA5L, 60);
tgC.addChild(wallA8D);
tgH.addChild(hitAreaW8D);
wallA8D.x = (hitAreaW8D.x = 250);
wallA8D.y = (hitAreaW8D.y = 300);
tgC.setChildIndex(wallA8D, 300);
tgH.addChild(hitAreaOut);
};
tgC.setChildIndex(pillarA2, 180);
tgC.setChildIndex(wallA2R, 129);
} else {
if (_local3 == 6){
if (_arg1 == 0){
tgC.addChild(pillarA3);
tgH.addChild(hitAreaP3);
pillarA3.x = (hitAreaP3.x = 250);
pillarA3.y = (hitAreaP3.y = 180);
tgC.addChild(wallA7D);
tgH.addChild(hitAreaW7D);
wallA7D.x = (hitAreaW7D.x = 250);
wallA7D.y = (hitAreaW7D.y = 60);
tgC.setChildIndex(wallA7D, 60);
tgC.addChild(wallA3R);
tgH.addChild(hitAreaW1Rf);
wallA3R.x = (hitAreaW1Rf.x = 390);
wallA3R.y = (hitAreaW1Rf.y = 230);
tgC.addChild(wallA6L);
tgH.addChild(hitAreaW6L);
wallA6L.x = (hitAreaW6L.x = 250);
wallA6L.y = (hitAreaW6L.y = 300);
tgC.setChildIndex(wallA6L, 300);
tgH.addChild(hitAreaOut);
};
tgC.setChildIndex(pillarA3, 180);
tgC.setChildIndex(wallA3R, 229);
};
};
};
};
};
} else {
if (_local2 == 2){
};
};
}
public function stageSet(){
depthSet();
mapSet(0);
trace("stageSet(){//ステージセット");
}
private function depthSet():void{
var _local1:*;
trace(("深度前設定 前 子の数:" + tgC.numChildren));
_local1 = 0;
while (_local1 <= 310) {
kara[_local1] = new KaraMC();
tgC.addChild(kara[_local1]);
_local1++;
};
trace(("深度前設定 後 子の数:" + tgC.numChildren));
}
public function mapChangePro(_arg1:int, _arg2:Object):void{
mapClear(_arg2, true);
if (_arg1 == 0){
floor++;
} else {
if (_arg1 == 1){
fArea = (fArea - 5);
} else {
if (_arg1 == 2){
fArea = (fArea - 4);
} else {
if (_arg1 == 3){
fArea++;
} else {
if (_arg1 == 4){
fArea = (fArea + 6);
} else {
if (_arg1 == 5){
fArea = (fArea + 5);
} else {
if (_arg1 == 6){
fArea = (fArea + 4);
} else {
if (_arg1 == 7){
fArea--;
} else {
if (_arg1 == 8){
fArea = (fArea - 6);
};
};
};
};
};
};
};
};
};
stageSet();
}
private function allFloorDataSet(){
var _local1:int;
floorData = new Array();
_local1 = 1;
while (_local1 <= 10) {
floorData[_local1] = new Array();
_local1++;
};
floorData[1][6] = {eNo:30, D1:false};
floorData[1][8] = {eNo:6, D1:false};
floorData[1][12] = {eNo:4, D2:true, D4:true, D6:true, D8:true};
floorData[1][16] = {eNo:10, D1:false};
floorData[1][18] = {eNo:8, D1:false};
}
}
}//package game.BFuck
Section 19
//Sound_BFuck (game.BFuck.Sound_BFuck)
package game.BFuck {
import flash.display.*;
import flash.events.*;
import flash.media.*;
public class Sound_BFuck {
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_BFuck(_arg1:MovieClip){
rootMC = _arg1;
hSound = new Array();
hSound[1] = new Hsound01();
hSound[2] = new Hsound02();
hSound[3] = new Hsound03();
voice = new Array();
voice[1] = new voice01();
voice[2] = new voice02();
voice[3] = new voice03();
voice[4] = new voice04();
voice[5] = new voice05();
voice[6] = new voice06();
effect = new Array();
effect[1] = new effect01();
effect[2] = new effect02();
effect[3] = new effect03();
trace("サウンド設定");
}
private function soundCompFunc(_arg1:Event):void{
sFlg = false;
_arg1.currentTarget.removeEventListener(Event.SOUND_COMPLETE, soundCompFunc);
}
private function voiceCompFunc(_arg1:Event):void{
vFlg = false;
_arg1.currentTarget.removeEventListener(Event.SOUND_COMPLETE, voiceCompFunc);
}
public function setPan(_arg1:Number):void{
var _local2:SoundTransform;
_local2 = channelE.soundTransform;
_local2.pan = _arg1;
channelE.soundTransform = _local2;
}
public function playEffectS(_arg1:int, _arg2:Number):Boolean{
iVol = _arg2;
if (channelE){
channelE.stop();
};
if (_arg1 <= 9){
channelE = effect[_arg1].play();
eFlg = true;
} else {
channelE = effect[_arg1].play(0, 999);
setVolume(_arg2);
setPan(0);
};
channelE.addEventListener(Event.SOUND_COMPLETE, effectSoundCompFunc);
return (eFlg);
}
private function effectSoundCompFunc(_arg1:Event):void{
trace(("サウンド終了: " + _arg1));
_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.BFuck
Section 20
//StatePanel (game.BFuck.StatePanel)
package game.BFuck {
import flash.display.*;
public class StatePanel {
private var panel:MovieClip;
private var barF:MovieClip;
private var rootMC:MovieClip;
private var bar:MovieClip;
public function StatePanel(_arg1:MovieClip){
rootMC = _arg1;
panel = rootMC.infoPanelMC;
bar = panel.barMC;
barF = bar.barEffectMC;
}
public function renewPro(_arg1:Object){
HPbarPro(_arg1.HP, false);
panel.gCoTXT.text = _arg1.gCo;
trace("パネル 更新処理!");
}
public function HPbarPro(_arg1:Number, _arg2:Boolean){
var _local3:int;
_local3 = _arg1;
if (((_arg2) && ((barF.currentFrame == 1)))){
barF.gotoAndPlay(2);
};
bar.gotoAndStop(_local3);
}
}
}//package game.BFuck
Section 21
//UI_BFucker (game.BFuck.UI_BFucker)
package game.BFuck {
import flash.display.*;
import flash.events.*;
import game.*;
public class UI_BFucker extends UserInput {
private var tgC:MovieClip;
private var dDestroyFlg:Boolean;// = false
private var tgH:MovieClip;
public function UI_BFucker(_arg1:MovieClip, _arg2:Object){
dDestroyFlg = false;
super(_arg1, _arg2);
tgC = rootMC.mainMC.charAreaMC;
tgH = rootMC.mainMC.hitAreaMC;
}
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;
};
}
override 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;
};
};
};
};
};
}
override 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 get getKeyCode():int{
return (keyCo);
}
}
}//package game.BFuck
Section 22
//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 23
//FPSpro (game.FPSpro)
package game {
import flash.text.*;
import flash.utils.*;
public class FPSpro {
private var textF:TextField;
private var oldTimer:int;
private var count:int;
public function FPSpro(_arg1:TextField){
count = 0;
oldTimer = 0;
textF = _arg1;
}
public function counting():void{
count = (count + 1);
if ((getTimer() - oldTimer) >= 1000){
textF.text = (count + "fps");
oldTimer = getTimer();
count = 0;
};
}
}
}//package game
Section 24
//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 25
//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 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();
}
public function get getKeyH():int{
return (cursolH);
}
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;
};
}
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);
}
public function get getKeyNo():int{
return (keyNo);
}
protected function mouseMV(_arg1:MouseEvent):void{
mouseFlg = _arg1.buttonDown;
}
protected function mouseBTNoff(_arg1:MouseEvent):void{
mouseFlg = _arg1.buttonDown;
}
protected function mouseBTNon(_arg1:MouseEvent):void{
mouseFlg = _arg1.buttonDown;
}
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;
};
};
};
};
};
}
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 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 26
//wav (pyoro43_a.wav)
package pyoro43_a {
import flash.media.*;
public dynamic class wav extends Sound {
}
}//package pyoro43_a
Section 27
//wav (pyoro43_a@.wav)
package pyoro43_a@ {
import flash.media.*;
public dynamic class wav extends Sound {
}
}//package pyoro43_a@
Section 28
//Boy (Boy)
package {
import flash.display.*;
import flash.events.*;
import flash.text.*;
import flash.media.*;
import flash.ui.*;
import flash.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.net.*;
import flash.system.*;
public dynamic class Boy extends MovieClip {
public var hitAreaMC:MovieClip;
public var actMC:MovieClip;
public function Boy(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package
Section 29
//DoorA_2 (DoorA_2)
package {
import flash.display.*;
import flash.events.*;
import flash.text.*;
import flash.media.*;
import flash.ui.*;
import flash.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.net.*;
import flash.system.*;
public dynamic class DoorA_2 extends MovieClip {
public function DoorA_2(){
addFrameScript(0, frame1, 9, frame10);
}
function frame10(){
this.stop();
}
function frame1(){
this.stop();
}
}
}//package
Section 30
//DoorA_4 (DoorA_4)
package {
import flash.display.*;
import flash.events.*;
import flash.text.*;
import flash.media.*;
import flash.ui.*;
import flash.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.net.*;
import flash.system.*;
public dynamic class DoorA_4 extends MovieClip {
public function DoorA_4(){
addFrameScript(0, frame1, 9, frame10);
}
function frame10(){
this.stop();
}
function frame1(){
this.stop();
}
}
}//package
Section 31
//DoorA_6 (DoorA_6)
package {
import flash.display.*;
import flash.events.*;
import flash.text.*;
import flash.media.*;
import flash.ui.*;
import flash.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.net.*;
import flash.system.*;
public dynamic class DoorA_6 extends MovieClip {
public function DoorA_6(){
addFrameScript(0, frame1, 9, frame10);
}
function frame10(){
this.stop();
}
function frame1(){
this.stop();
}
}
}//package
Section 32
//DoorA_8 (DoorA_8)
package {
import flash.display.*;
import flash.events.*;
import flash.text.*;
import flash.media.*;
import flash.ui.*;
import flash.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.net.*;
import flash.system.*;
public dynamic class DoorA_8 extends MovieClip {
public function DoorA_8(){
addFrameScript(0, frame1, 9, frame10);
}
function frame10(){
this.stop();
}
function frame1(){
this.stop();
}
}
}//package
Section 33
//effect01 (effect01)
package {
import flash.media.*;
public dynamic class effect01 extends Sound {
}
}//package
Section 34
//effect02 (effect02)
package {
import flash.media.*;
public dynamic class effect02 extends Sound {
}
}//package
Section 35
//effect03 (effect03)
package {
import flash.media.*;
public dynamic class effect03 extends Sound {
}
}//package
Section 36
//Girl_A (Girl_A)
package {
import flash.display.*;
import flash.events.*;
import flash.text.*;
import flash.media.*;
import flash.ui.*;
import flash.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.net.*;
import flash.system.*;
public dynamic class Girl_A extends MovieClip {
public var hitAreaMC:MovieClip;
public var actMC:MovieClip;
public function Girl_A(){
addFrameScript(0, frame1);
}
function frame1(){
this.stop();
}
}
}//package
Section 37
//HitAreaD_A2 (HitAreaD_A2)
package {
import flash.display.*;
public dynamic class HitAreaD_A2 extends MovieClip {
}
}//package
Section 38
//HitAreaD_A4 (HitAreaD_A4)
package {
import flash.display.*;
public dynamic class HitAreaD_A4 extends MovieClip {
}
}//package
Section 39
//HitAreaD_A6 (HitAreaD_A6)
package {
import flash.display.*;
public dynamic class HitAreaD_A6 extends MovieClip {
}
}//package
Section 40
//HitAreaD_A8 (HitAreaD_A8)
package {
import flash.display.*;
public dynamic class HitAreaD_A8 extends MovieClip {
}
}//package
Section 41
//HitAreaOutline (HitAreaOutline)
package {
import flash.display.*;
public dynamic class HitAreaOutline extends MovieClip {
}
}//package
Section 42
//HitAreaP_1 (HitAreaP_1)
package {
import flash.display.*;
public dynamic class HitAreaP_1 extends MovieClip {
}
}//package
Section 43
//HitAreaP_2 (HitAreaP_2)
package {
import flash.display.*;
public dynamic class HitAreaP_2 extends MovieClip {
}
}//package
Section 44
//HitAreaP_3 (HitAreaP_3)
package {
import flash.display.*;
public dynamic class HitAreaP_3 extends MovieClip {
}
}//package
Section 45
//HitAreaW_1L (HitAreaW_1L)
package {
import flash.display.*;
public dynamic class HitAreaW_1L extends MovieClip {
}
}//package
Section 46
//HitAreaW_1R (HitAreaW_1R)
package {
import flash.display.*;
public dynamic class HitAreaW_1R extends MovieClip {
}
}//package
Section 47
//HitAreaW_3D (HitAreaW_3D)
package {
import flash.display.*;
public dynamic class HitAreaW_3D extends MovieClip {
}
}//package
Section 48
//HitAreaW_4D (HitAreaW_4D)
package {
import flash.display.*;
public dynamic class HitAreaW_4D extends MovieClip {
}
}//package
Section 49
//HitAreaW_5L (HitAreaW_5L)
package {
import flash.display.*;
public dynamic class HitAreaW_5L extends MovieClip {
}
}//package
Section 50
//HitAreaW_5R (HitAreaW_5R)
package {
import flash.display.*;
public dynamic class HitAreaW_5R extends MovieClip {
}
}//package
Section 51
//HitAreaW_6L (HitAreaW_6L)
package {
import flash.display.*;
public dynamic class HitAreaW_6L extends MovieClip {
}
}//package
Section 52
//HitAreaW_6R (HitAreaW_6R)
package {
import flash.display.*;
public dynamic class HitAreaW_6R extends MovieClip {
}
}//package
Section 53
//HitAreaW_7D (HitAreaW_7D)
package {
import flash.display.*;
public dynamic class HitAreaW_7D extends MovieClip {
}
}//package
Section 54
//HitAreaW_8D (HitAreaW_8D)
package {
import flash.display.*;
public dynamic class HitAreaW_8D extends MovieClip {
}
}//package
Section 55
//Hsound01 (Hsound01)
package {
import flash.media.*;
public dynamic class Hsound01 extends Sound {
}
}//package
Section 56
//Hsound02 (Hsound02)
package {
import flash.media.*;
public dynamic class Hsound02 extends Sound {
}
}//package
Section 57
//Hsound03 (Hsound03)
package {
import flash.media.*;
public dynamic class Hsound03 extends Sound {
}
}//package
Section 58
//Item1 (Item1)
package {
import flash.display.*;
public dynamic class Item1 extends MovieClip {
}
}//package
Section 59
//Item6 (Item6)
package {
import flash.display.*;
public dynamic class Item6 extends MovieClip {
}
}//package
Section 60
//Item7 (Item7)
package {
import flash.display.*;
public dynamic class Item7 extends MovieClip {
}
}//package
Section 61
//Item8 (Item8)
package {
import flash.display.*;
public dynamic class Item8 extends MovieClip {
}
}//package
Section 62
//KaraMC (KaraMC)
package {
import flash.display.*;
public dynamic class KaraMC extends MovieClip {
}
}//package
Section 63
//loader (loader)
package {
import flash.display.*;
public dynamic class loader extends MovieClip {
public var bar:MovieClip;
public var loadBar:MovieClip;
}
}//package
Section 64
//PillarA_1 (PillarA_1)
package {
import flash.display.*;
public dynamic class PillarA_1 extends MovieClip {
}
}//package
Section 65
//PillarA_2 (PillarA_2)
package {
import flash.display.*;
public dynamic class PillarA_2 extends MovieClip {
}
}//package
Section 66
//PillarA_3 (PillarA_3)
package {
import flash.display.*;
public dynamic class PillarA_3 extends MovieClip {
}
}//package
Section 67
//WallA_1L (WallA_1L)
package {
import flash.display.*;
public dynamic class WallA_1L extends MovieClip {
}
}//package
Section 68
//WallA_1R (WallA_1R)
package {
import flash.display.*;
public dynamic class WallA_1R extends MovieClip {
}
}//package
Section 69
//WallA_2L (WallA_2L)
package {
import flash.display.*;
public dynamic class WallA_2L extends MovieClip {
}
}//package
Section 70
//WallA_2R (WallA_2R)
package {
import flash.display.*;
public dynamic class WallA_2R extends MovieClip {
}
}//package
Section 71
//WallA_3D (WallA_3D)
package {
import flash.display.*;
public dynamic class WallA_3D extends MovieClip {
}
}//package
Section 72
//WallA_3L (WallA_3L)
package {
import flash.display.*;
public dynamic class WallA_3L extends MovieClip {
}
}//package
Section 73
//WallA_3R (WallA_3R)
package {
import flash.display.*;
public dynamic class WallA_3R extends MovieClip {
}
}//package
Section 74
//WallA_4D (WallA_4D)
package {
import flash.display.*;
public dynamic class WallA_4D extends MovieClip {
}
}//package
Section 75
//WallA_5L (WallA_5L)
package {
import flash.display.*;
public dynamic class WallA_5L extends MovieClip {
}
}//package
Section 76
//WallA_5R (WallA_5R)
package {
import flash.display.*;
public dynamic class WallA_5R extends MovieClip {
}
}//package
Section 77
//WallA_6L (WallA_6L)
package {
import flash.display.*;
public dynamic class WallA_6L extends MovieClip {
}
}//package
Section 78
//WallA_6R (WallA_6R)
package {
import flash.display.*;
public dynamic class WallA_6R extends MovieClip {
}
}//package
Section 79
//WallA_7D (WallA_7D)
package {
import flash.display.*;
public dynamic class WallA_7D extends MovieClip {
}
}//package
Section 80
//WallA_8D (WallA_8D)
package {
import flash.display.*;
public dynamic class WallA_8D extends MovieClip {
}
}//package
Section 81
//voice01 (voice01)
package {
import flash.media.*;
public dynamic class voice01 extends Sound {
}
}//package
Section 82
//voice02 (voice02)
package {
import flash.media.*;
public dynamic class voice02 extends Sound {
}
}//package
Section 83
//voice03 (voice03)
package {
import flash.media.*;
public dynamic class voice03 extends Sound {
}
}//package
Section 84
//voice04 (voice04)
package {
import flash.media.*;
public dynamic class voice04 extends Sound {
}
}//package
Section 85
//voice05 (voice05)
package {
import flash.media.*;
public dynamic class voice05 extends Sound {
}
}//package
Section 86
//voice06 (voice06)
package {
import flash.media.*;
public dynamic class voice06 extends Sound {
}
}//package