Frame 1
this.stop();
Frame 10
this.stop();
Frame 20
function randomInt(maxNum) {
var rndNum = (Math.random() * maxNum);
if (rndNum == 0) {
rndNum = 1;
} else {
rndNum = Math.ceil(rndNum);
}
return(rndNum);
}
this.debugMode = false;
this.KeyPlayFlg = false;
this.stageHeight = 480;
this.stageWidth = 640;
this.DoorCnt = 0;
this.lastDoorMCnameList = [];
this.doorData_xList = [];
this.doorData_yList = [];
this.doorData_fnList = [];
this.inRoomFlg = false;
this.eleInflg = false;
this.stairsInFlg = false;
this.Win_ItemListFlg = false;
this.getBomCnt = 0;
this.bomList = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
this.itemList = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
this.eventFlgList = {rstaff:0, rstaff2:0, rstaff3:0, er3:0, lastkey:0, eleboy:0, kinko:0, kinkoboy:0, boyk4:0, kame:0, boyss0:0};
this.openDialogFlg = false;
this.tobbyMaxSpeed = 8;
this.foodList = [0, 0, 0, 0, 0, 0];
this.LastLife = 185;
this.lastRoomFlg = false;
this.BomBakuhaFlg = false;
Frame 30
function sceneInit() {
this.stg_floorMCList = [];
this.DoorCnt = 0;
_root.bomInRoomFlg = false;
}
this.sceneInit();
Frame 40
this.stop();
Instance of Symbol 176 MovieClip in Frame 40
onClipEvent (keyDown) {
var Lastkey = key.getCode();
if (LastKey == 16) {
_root.KeyPlayFlg = !_root.KeyPlayFlg;
}
}
Instance of Symbol 179 MovieClip in Frame 40
onClipEvent (load) {
this.inCode = "";
}
onClipEvent (keyUp) {
var Lastkey = key.getCode();
if (LastKey == 32) {
this.inCode = "";
} else {
var inkey = string.fromCharCode(key.getAscii());
this.inCode = this.inCode + inkey;
trace(this.inCode);
if (this.inCode == "d") {
_root.debugMode = true;
}
}
}
Frame 50
this.stop();
Instance of Symbol 237 MovieClip in Frame 50
onClipEvent (keyDown) {
this.play();
}
Frame 60
this.stop();
Frame 70
this.stop();
Instance of Symbol 287 MovieClip in Frame 70
onClipEvent (load) {
bomNum = 0;
}
Instance of Symbol 289 MovieClip in Frame 70
onClipEvent (load) {
mesNum = 150;
}
Instance of Symbol 289 MovieClip in Frame 70
onClipEvent (load) {
mesNum = 250;
}
Instance of Symbol 296 MovieClip "sd1" in Frame 70
onClipEvent (load) {
keyNum = 0;
SceneLabelName = "rstaff";
roomInLeftFlg = true;
roomInRightFlg = false;
nx = 0;
ny = 0;
}
Instance of Symbol 297 MovieClip in Frame 70
onClipEvent (load) {
SceneLabelName = "s2";
LocFlipVFlg = false;
LocFlipHFlg = true;
nx = 0;
ny = 0;
}
Instance of Symbol 305 MovieClip in Frame 70
onClipEvent (load) {
mesNum = 15;
eventName = "rstaff2";
}
Instance of Symbol 322 MovieClip "bgmMC" in Frame 70
onClipEvent (load) {
function startBGM() {
this.BGMmain.start(0, 1000000);
}
function stopBGM() {
this.BGMmain.stop();
}
this.BGMmain = new Sound(this);
this.BGMmain.attachSound("BGMboss");
}
Instance of Symbol 325 MovieClip in Frame 70
onClipEvent (keyDown) {
var Lastkey = key.getCode();
if (_root.openDialogFlg == true) {
if (Lastkey != 38) {
_root.Win_noFoundMC.skip();
}
} else if (LastKey == 16) {
if (_root.Win_ItemListFlg == false) {
if (_root.tobbyMC.ControlFlg == true) {
_parent.attachMovie("Win_ItemList", "Win_ItemListMC", 1000);
_parent.Win_ItemListMC._x = 320;
_parent.Win_ItemListMC._y = 240;
_root.tobbyMC.switchCntrolFlg(false);
_root.Win_ItemListFlg = true;
}
} else {
_parent.Win_ItemListMC.removeMovieClip();
_root.tobbyMC.switchCntrolFlg(true);
_root.Win_ItemListFlg = false;
}
} else {
_parent.tobbyMC.pkeyDown(Lastkey);
}
}
onClipEvent (keyUp) {
_parent.tobbyMC.pkeyUp();
}
Frame 75
this.stop();
Instance of Symbol 289 MovieClip in Frame 75
onClipEvent (load) {
mesNum = 150;
}
Instance of Symbol 289 MovieClip in Frame 75
onClipEvent (load) {
mesNum = 150;
}
Instance of Symbol 289 MovieClip in Frame 75
onClipEvent (load) {
mesNum = 140;
}
Instance of Symbol 289 MovieClip in Frame 75
onClipEvent (load) {
mesNum = 150;
}
Instance of Symbol 328 MovieClip in Frame 75
onClipEvent (load) {
itemNum = 9;
stgMode = true;
}
Instance of Symbol 343 MovieClip "eleMC" in Frame 75
onClipEvent (load) {
SceneLabelName = "srt1";
UDnum = 1;
}
Instance of Symbol 297 MovieClip in Frame 75
onClipEvent (load) {
SceneLabelName = "s1";
LocFlipVFlg = false;
LocFlipHFlg = true;
nx = 0;
ny = 0;
}
Instance of Symbol 297 MovieClip in Frame 75
onClipEvent (load) {
SceneLabelName = "s3";
LocFlipVFlg = false;
LocFlipHFlg = true;
nx = 0;
ny = 0;
}
Instance of Symbol 353 MovieClip "L1" in Frame 75
onClipEvent (load) {
SceneLabelName = "k2";
inTargetName = "L1";
floorNum = 1;
nx = 0;
ny = 0;
upFlg = true;
}
Instance of Symbol 296 MovieClip "sd1" in Frame 75
onClipEvent (load) {
keyNum = 0;
SceneLabelName = "r8";
roomInLeftFlg = true;
roomInRightFlg = false;
nx = 0;
ny = 0;
}
Frame 80
this.stop();
Instance of Symbol 289 MovieClip in Frame 80
onClipEvent (load) {
mesNum = 160;
}
Instance of Symbol 289 MovieClip in Frame 80
onClipEvent (load) {
mesNum = 150;
}
Instance of Symbol 296 MovieClip "erdoor1" in Frame 80
onClipEvent (load) {
keyNum = 0;
SceneLabelName = "er1";
roomInLeftFlg = true;
roomInRightFlg = false;
nx = 0;
ny = 0;
}
Instance of Symbol 343 MovieClip "eleMC" in Frame 80
onClipEvent (load) {
SceneLabelName = "ss2";
UDnum = 1;
}
Instance of Symbol 297 MovieClip in Frame 80
onClipEvent (load) {
SceneLabelName = "s2";
LocFlipVFlg = false;
LocFlipHFlg = true;
nx = 0;
ny = 0;
}
Instance of Symbol 353 MovieClip "R1" in Frame 80
onClipEvent (load) {
SceneLabelName = "k3";
inTargetName = "R1";
floorNum = 1;
nx = 0;
ny = 0;
upFlg = true;
}
Frame 85
this.stop();
Instance of Symbol 353 MovieClip "L1" in Frame 85
onClipEvent (load) {
SceneLabelName = "k12";
inTargetName = "L1";
floorNum = 1;
nx = 0;
ny = 0;
upFlg = true;
}
Instance of Symbol 297 MovieClip in Frame 85
onClipEvent (load) {
SceneLabelName = "k2";
LocFlipVFlg = false;
LocFlipHFlg = true;
nx = 0;
ny = 0;
}
Instance of Symbol 296 MovieClip "d2" in Frame 85
onClipEvent (load) {
keyNum = 1;
SceneLabelName = "r2";
roomInLeftFlg = true;
roomInRightFlg = false;
nx = 0;
ny = 0;
}
Instance of Symbol 296 MovieClip "d3" in Frame 85
onClipEvent (load) {
keyNum = 1;
SceneLabelName = "r1";
roomInLeftFlg = true;
roomInRightFlg = false;
nx = 0;
ny = 0;
}
Instance of Symbol 296 MovieClip "d1" in Frame 85
onClipEvent (load) {
keyNum = 1;
SceneLabelName = "r1";
roomInLeftFlg = true;
roomInRightFlg = false;
nx = 0;
ny = 0;
}
Frame 90
this.stop();
Instance of Symbol 297 MovieClip in Frame 90
onClipEvent (load) {
SceneLabelName = "k1";
LocFlipVFlg = false;
LocFlipHFlg = true;
nx = 0;
ny = 0;
}
Instance of Symbol 297 MovieClip in Frame 90
onClipEvent (load) {
SceneLabelName = "k3";
LocFlipVFlg = false;
LocFlipHFlg = true;
nx = 0;
ny = 0;
}
Instance of Symbol 297 MovieClip in Frame 90
onClipEvent (load) {
SceneLabelName = "s2";
LocFlipVFlg = true;
LocFlipHFlg = false;
nx = 0;
ny = 0;
}
Instance of Symbol 353 MovieClip "L1" in Frame 90
onClipEvent (load) {
SceneLabelName = "s2";
inTargetName = "L1";
floorNum = 4;
nx = 0;
ny = 0;
upFlg = false;
}
Instance of Symbol 289 MovieClip in Frame 90
onClipEvent (load) {
mesNum = 160;
}
Frame 95
this.stop();
Instance of Symbol 296 MovieClip "d4" in Frame 95
onClipEvent (load) {
keyNum = 1;
SceneLabelName = "r7";
roomInLeftFlg = true;
roomInRightFlg = false;
nx = 0;
ny = 0;
}
Instance of Symbol 296 MovieClip "d3" in Frame 95
onClipEvent (load) {
keyNum = 1;
SceneLabelName = "r1";
roomInLeftFlg = true;
roomInRightFlg = false;
nx = 0;
ny = 0;
}
Instance of Symbol 296 MovieClip "d1" in Frame 95
onClipEvent (load) {
keyNum = 1;
SceneLabelName = "r3";
roomInLeftFlg = true;
roomInRightFlg = false;
nx = 0;
ny = 0;
}
Instance of Symbol 296 MovieClip "d2" in Frame 95
onClipEvent (load) {
keyNum = 1;
SceneLabelName = "r4";
roomInLeftFlg = true;
roomInRightFlg = false;
nx = 0;
ny = 0;
}
Instance of Symbol 289 MovieClip in Frame 95
onClipEvent (load) {
mesNum = 150;
}
Instance of Symbol 353 MovieClip "R1" in Frame 95
onClipEvent (load) {
SceneLabelName = "s3";
inTargetName = "R1";
floorNum = 4;
nx = 0;
ny = 0;
upFlg = false;
}
Instance of Symbol 297 MovieClip in Frame 95
onClipEvent (load) {
SceneLabelName = "k4";
LocFlipVFlg = false;
LocFlipHFlg = true;
nx = 0;
ny = 0;
}
Instance of Symbol 297 MovieClip in Frame 95
onClipEvent (load) {
SceneLabelName = "k2";
LocFlipVFlg = false;
LocFlipHFlg = true;
nx = 0;
ny = 0;
}
Instance of Symbol 305 MovieClip in Frame 95
onClipEvent (load) {
mesNum = 100;
eventName = "boyk4";
}
Frame 100
this.stop();
Instance of Symbol 296 MovieClip "d3" in Frame 100
onClipEvent (load) {
keyNum = 1;
SceneLabelName = "r1";
roomInLeftFlg = true;
roomInRightFlg = false;
nx = 0;
ny = 0;
}
Instance of Symbol 296 MovieClip "d2" in Frame 100
onClipEvent (load) {
keyNum = 1;
SceneLabelName = "r1";
roomInLeftFlg = true;
roomInRightFlg = false;
nx = 0;
ny = 0;
}
Instance of Symbol 296 MovieClip "d4" in Frame 100
onClipEvent (load) {
keyNum = 1;
SceneLabelName = "r6";
roomInLeftFlg = true;
roomInRightFlg = false;
nx = 0;
ny = 0;
}
Instance of Symbol 296 MovieClip "d1" in Frame 100
onClipEvent (load) {
keyNum = 1;
SceneLabelName = "r5";
roomInLeftFlg = true;
roomInRightFlg = false;
nx = 0;
ny = 0;
}
Instance of Symbol 297 MovieClip in Frame 100
onClipEvent (load) {
SceneLabelName = "k3";
LocFlipVFlg = false;
LocFlipHFlg = true;
nx = 0;
ny = 0;
}
Instance of Symbol 353 MovieClip "R1" in Frame 100
onClipEvent (load) {
SceneLabelName = "k42";
inTargetName = "R1";
floorNum = 1;
nx = 0;
ny = 0;
upFlg = true;
}
Frame 105
this.stop();
Instance of Symbol 353 MovieClip "R1" in Frame 105
onClipEvent (load) {
SceneLabelName = "k4";
inTargetName = "R1";
floorNum = 4;
nx = 0;
ny = 0;
upFlg = false;
}
Instance of Symbol 353 MovieClip "L1" in Frame 105
onClipEvent (load) {
SceneLabelName = "k43";
inTargetName = "L1";
floorNum = 1;
nx = 0;
ny = 0;
upFlg = true;
}
Instance of Symbol 296 MovieClip in Frame 105
onClipEvent (load) {
keyNum = 0;
SceneLabelName = "rr2";
roomInLeftFlg = true;
roomInRightFlg = false;
nx = 0;
ny = 0;
}
Frame 110
this.stop();
Instance of Symbol 353 MovieClip "C1" in Frame 110
onClipEvent (load) {
SceneLabelName = "ss3";
inTargetName = "C1";
floorNum = 1;
nx = 0;
ny = 0;
upFlg = true;
}
Instance of Symbol 297 MovieClip in Frame 110
onClipEvent (load) {
SceneLabelName = "k42";
LocFlipVFlg = true;
LocFlipHFlg = false;
nx = 0;
ny = 0;
}
Instance of Symbol 353 MovieClip "L1" in Frame 110
onClipEvent (load) {
SceneLabelName = "k42";
inTargetName = "L1";
floorNum = 4;
nx = 0;
ny = 0;
upFlg = false;
}
Instance of Symbol 296 MovieClip "k43d1" in Frame 110
onClipEvent (load) {
keyNum = 0;
SceneLabelName = "rr1";
roomInLeftFlg = true;
roomInRightFlg = false;
nx = 0;
ny = 0;
}
Frame 115
this.stop();
Instance of Symbol 353 MovieClip "L1" in Frame 115
onClipEvent (load) {
SceneLabelName = "k1";
inTargetName = "L1";
floorNum = 4;
nx = 0;
ny = 0;
upFlg = false;
}
Instance of Symbol 289 MovieClip in Frame 115
onClipEvent (load) {
mesNum = 150;
}
Instance of Symbol 289 MovieClip in Frame 115
onClipEvent (load) {
mesNum = 190;
}
Instance of Symbol 328 MovieClip in Frame 115
onClipEvent (load) {
itemNum = 7;
stgMode = true;
}
Instance of Symbol 297 MovieClip in Frame 115
onClipEvent (load) {
SceneLabelName = "k22";
LocFlipVFlg = false;
LocFlipHFlg = true;
nx = 0;
ny = 0;
}
Frame 120
this.stop();
Instance of Symbol 289 MovieClip in Frame 120
onClipEvent (load) {
mesNum = 1;
}
Instance of Symbol 289 MovieClip in Frame 120
onClipEvent (load) {
mesNum = 1;
}
Instance of Symbol 287 MovieClip in Frame 120
onClipEvent (load) {
bomNum = 1;
}
Instance of Symbol 297 MovieClip in Frame 120
onClipEvent (load) {
SceneLabelName = "k32";
LocFlipVFlg = false;
LocFlipHFlg = true;
nx = 0;
ny = 0;
}
Instance of Symbol 297 MovieClip in Frame 120
onClipEvent (load) {
SceneLabelName = "k12";
LocFlipVFlg = false;
LocFlipHFlg = true;
nx = 0;
ny = 0;
}
Frame 125
this.stop();
Instance of Symbol 289 MovieClip in Frame 125
onClipEvent (load) {
mesNum = 180;
}
Instance of Symbol 297 MovieClip in Frame 125
onClipEvent (load) {
SceneLabelName = "k22";
LocFlipVFlg = false;
LocFlipHFlg = true;
nx = 0;
ny = 0;
}
Instance of Symbol 47 MovieClip in Frame 125
onClipEvent (load) {
itemNum = 4;
stgMode = true;
}
Frame 130
this.stop();
Instance of Symbol 287 MovieClip in Frame 130
onClipEvent (load) {
bomNum = 7;
}
Instance of Symbol 297 MovieClip in Frame 130
onClipEvent (load) {
SceneLabelName = "k22";
LocFlipVFlg = true;
LocFlipHFlg = false;
nx = 0;
ny = 0;
}
Instance of Symbol 375 MovieClip in Frame 130
onClipEvent (load) {
foodnum = 3;
foodtype = 1;
}
Frame 160
this.stop();
Instance of Symbol 343 MovieClip "eleMC" in Frame 160
onClipEvent (load) {
SceneLabelName = "s2";
UDnum = 2;
}
Instance of Symbol 297 MovieClip in Frame 160
onClipEvent (load) {
SceneLabelName = "srt2";
LocFlipVFlg = false;
LocFlipHFlg = true;
nx = 0;
ny = 0;
}
Instance of Symbol 142 MovieClip [ItemLastKey] in Frame 160
onClipEvent (load) {
if (_root.getBomCnt == 8) {
if ((_root.itemList[1] == 0) && (_root.eventFlgList.lastkey == 0)) {
trace("setLastKey");
} else {
this._y = 700;
}
} else {
this._y = 700;
}
}
Frame 165
this.stop();
Instance of Symbol 296 MovieClip "d1" in Frame 165
onClipEvent (load) {
keyNum = 2;
SceneLabelName = "sr1";
roomInLeftFlg = true;
roomInRightFlg = false;
nx = 0;
ny = 0;
}
Instance of Symbol 297 MovieClip in Frame 165
onClipEvent (load) {
SceneLabelName = "srt1";
LocFlipVFlg = false;
LocFlipHFlg = true;
nx = 0;
ny = 0;
}
Instance of Symbol 305 MovieClip in Frame 165
onClipEvent (load) {
mesNum = 30;
eventName = "rstaff3";
}
Frame 170
this.stop();
Instance of Symbol 289 MovieClip in Frame 170
onClipEvent (load) {
mesNum = 190;
}
Instance of Symbol 289 MovieClip in Frame 170
onClipEvent (load) {
mesNum = 1;
}
Instance of Symbol 375 MovieClip in Frame 170
onClipEvent (load) {
foodnum = 0;
foodtype = 1;
}
Frame 181
this.gotoAndPlay("ending");
Frame 186
this.stop();
Instance of Symbol 47 MovieClip in Frame 186
onClipEvent (load) {
itemNum = 0;
stgMode = true;
}
Instance of Symbol 305 MovieClip in Frame 186
onClipEvent (load) {
mesNum = 10;
eventName = "rstaff";
}
Frame 195
this.stop();
Instance of Symbol 353 MovieClip "C1" in Frame 195
onClipEvent (load) {
SceneLabelName = "er2";
inTargetName = "C1";
floorNum = 1;
nx = 0;
ny = 0;
upFlg = false;
}
Instance of Symbol 397 MovieClip "yamiMC" in Frame 195
onClipEvent (load) {
if (_root.eventFlgList.er3 == 1) {
this._visible = false;
}
}
Frame 200
this.inRoomFlg = false;
this.stop();
Instance of Symbol 287 MovieClip in Frame 200
onClipEvent (load) {
bomNum = 2;
}
Instance of Symbol 296 MovieClip "denkiDoor" in Frame 200
onClipEvent (load) {
keyNum = 0;
SceneLabelName = "er3";
roomInLeftFlg = true;
roomInRightFlg = false;
nx = 0;
ny = 0;
}
Instance of Symbol 353 MovieClip "C1" in Frame 200
onClipEvent (load) {
SceneLabelName = "er1";
inTargetName = "C1";
floorNum = 0;
nx = 0;
ny = 351;
upFlg = true;
}
Instance of Symbol 397 MovieClip "yamiMC" in Frame 200
onClipEvent (load) {
if (_root.eventFlgList.er3 == 1) {
this._visible = false;
}
}
Frame 205
this.stop();
Instance of Symbol 289 MovieClip "blackMesMC" in Frame 205
onClipEvent (load) {
mesNum = 235;
}
onClipEvent (load) {
if (_root.itemList[2] == 1) {
this._y = -100;
}
}
Instance of Symbol 397 MovieClip "yamiMC" in Frame 205
onClipEvent (load) {
if (_root.eventFlgList.er3 == 1) {
this._visible = false;
}
}
Frame 215
this.stop();
Instance of Symbol 289 MovieClip in Frame 215
onClipEvent (load) {
mesNum = 180;
}
Instance of Symbol 289 MovieClip in Frame 215
onClipEvent (load) {
mesNum = 1;
}
Instance of Symbol 289 MovieClip in Frame 215
onClipEvent (load) {
mesNum = 1;
}
Instance of Symbol 47 MovieClip in Frame 215
onClipEvent (load) {
itemNum = 2;
stgMode = true;
}
Frame 220
this.stop();
Instance of Symbol 287 MovieClip in Frame 220
onClipEvent (load) {
bomNum = 5;
}
Instance of Symbol 289 MovieClip in Frame 220
onClipEvent (load) {
mesNum = 1;
}
Instance of Symbol 289 MovieClip in Frame 220
onClipEvent (load) {
mesNum = 1;
}
Frame 225
this.stop();
Instance of Symbol 297 MovieClip in Frame 225
onClipEvent (load) {
SceneLabelName = "ss1";
LocFlipVFlg = false;
LocFlipHFlg = true;
nx = 0;
ny = 0;
}
Instance of Symbol 47 MovieClip in Frame 225
onClipEvent (load) {
itemNum = 3;
stgMode = true;
}
Frame 230
this.stop();
Instance of Symbol 297 MovieClip in Frame 230
onClipEvent (load) {
SceneLabelName = "ss2";
LocFlipVFlg = false;
LocFlipHFlg = true;
nx = 0;
ny = 0;
}
Instance of Symbol 297 MovieClip in Frame 230
onClipEvent (load) {
SceneLabelName = "ss0";
LocFlipVFlg = false;
LocFlipHFlg = true;
nx = 0;
ny = 0;
}
Instance of Symbol 297 MovieClip in Frame 230
onClipEvent (load) {
SceneLabelName = "k23";
LocFlipVFlg = true;
LocFlipHFlg = false;
nx = 0;
ny = 0;
}
Frame 235
this.stop();
Instance of Symbol 343 MovieClip "eleMC" in Frame 235
onClipEvent (load) {
SceneLabelName = "s3";
UDnum = 2;
}
Instance of Symbol 297 MovieClip in Frame 235
onClipEvent (load) {
SceneLabelName = "ss1";
LocFlipVFlg = false;
LocFlipHFlg = true;
nx = 0;
ny = 0;
}
Instance of Symbol 297 MovieClip in Frame 235
onClipEvent (load) {
SceneLabelName = "ss3";
LocFlipVFlg = false;
LocFlipHFlg = true;
nx = 0;
ny = 0;
}
Instance of Symbol 375 MovieClip in Frame 235
onClipEvent (load) {
foodnum = 2;
foodtype = 2;
}
Frame 240
this.stop();
Instance of Symbol 353 MovieClip "C1" in Frame 240
onClipEvent (load) {
SceneLabelName = "k43";
inTargetName = "C1";
floorNum = 4;
nx = 0;
ny = 0;
upFlg = false;
}
Instance of Symbol 287 MovieClip in Frame 240
onClipEvent (load) {
bomNum = 6;
}
Instance of Symbol 297 MovieClip in Frame 240
onClipEvent (load) {
SceneLabelName = "ss2";
LocFlipVFlg = false;
LocFlipHFlg = true;
nx = 0;
ny = 0;
}
Instance of Symbol 375 MovieClip in Frame 240
onClipEvent (load) {
foodnum = 1;
foodtype = 2;
}
Frame 255
this.stop();
Instance of Symbol 289 MovieClip in Frame 255
onClipEvent (load) {
mesNum = 170;
}
Frame 260
this.stop();
Instance of Symbol 287 MovieClip in Frame 260
onClipEvent (load) {
bomNum = 3;
}
Instance of Symbol 289 MovieClip in Frame 260
onClipEvent (load) {
mesNum = 170;
}
Frame 265
this.stop();
Instance of Symbol 287 MovieClip in Frame 265
onClipEvent (load) {
bomNum = 4;
}
Instance of Symbol 289 MovieClip in Frame 265
onClipEvent (load) {
mesNum = 150;
}
Instance of Symbol 289 MovieClip in Frame 265
onClipEvent (load) {
mesNum = 170;
}
Frame 270
this.stop();
Instance of Symbol 289 MovieClip in Frame 270
onClipEvent (load) {
mesNum = 170;
}
Instance of Symbol 289 MovieClip in Frame 270
onClipEvent (load) {
mesNum = 150;
}
Instance of Symbol 375 MovieClip in Frame 270
onClipEvent (load) {
foodnum = 4;
foodtype = 2;
}
Frame 275
this.stop();
Instance of Symbol 289 MovieClip in Frame 275
onClipEvent (load) {
mesNum = 150;
}
Instance of Symbol 328 MovieClip in Frame 275
onClipEvent (load) {
itemNum = 10;
stgMode = true;
}
Instance of Symbol 375 MovieClip in Frame 275
onClipEvent (load) {
foodnum = 5;
foodtype = 3;
}
Frame 280
this.stop();
Instance of Symbol 289 MovieClip in Frame 280
onClipEvent (load) {
mesNum = 170;
}
Instance of Symbol 47 MovieClip in Frame 280
onClipEvent (load) {
itemNum = 5;
stgMode = true;
}
Frame 285
this.stop();
Instance of Symbol 328 MovieClip in Frame 285
onClipEvent (load) {
itemNum = 8;
stgMode = true;
}
Instance of Symbol 289 MovieClip in Frame 285
onClipEvent (load) {
mesNum = 170;
}
Frame 290
this.stop();
Instance of Symbol 289 MovieClip in Frame 290
onClipEvent (load) {
mesNum = 150;
}
Instance of Symbol 289 MovieClip in Frame 290
onClipEvent (load) {
mesNum = 190;
}
Instance of Symbol 289 MovieClip in Frame 290
onClipEvent (load) {
mesNum = 150;
}
Frame 300
this.inRoomFlg = true;
this.sceneInit();
this.tobbyMC.setLoc(50, 350);
this.tobbyMC.jumpFlg = false;
this.bomTobbyCnt = 0;
this.tobbyHasBomFlg = false;
this.nowTobbyBom = 0;
this.lastRoomFlg = true;
this.bossLife = 185;
this.BomBakuhaFlg = false;
this.pauseFlg = false;
this.stop();
Instance of Symbol 325 MovieClip in Frame 300
onClipEvent (keyDown) {
var Lastkey = key.getCode();
if (_root.openDialogFlg == true) {
if (Lastkey != 38) {
_root.Win_noFoundMC.skip();
}
} else {
_parent.tobbyMC.pkeyDown(Lastkey);
}
}
onClipEvent (keyUp) {
_parent.tobbyMC.pkeyUp();
}
Symbol 21 MovieClip Frame 1
this.stop();
Symbol 21 MovieClip Frame 37
_parent.removeMovieClip();
Symbol 22 MovieClip [bomTobby] Frame 1
function main() {
if (this.procNum == 1) {
this.move();
}
if (this.procNum == 2) {
this.fly();
this.hitCheck();
}
}
function entry(nadx) {
_root.tobbyHasBomFlg = false;
this.adx = nadx;
this.ady = -15;
this.procNum = 2;
}
function move() {
this._x = _root.tobbyMC._x;
this._y = _root.tobbyMC._y - 40;
}
function fly() {
if ((this._x < 0) || (640 < this._x)) {
this.adx = -this.adx;
}
this.ady = this.ady + 0.5;
if (500 < this.ady) {
this.removeMovieClip();
}
this._x = this._x + this.adx;
this._y = this._y + this.ady;
}
function hitCheck() {
if (this.hitTest(_root.BossMC) == true) {
this.adx = 0;
this.ady = 0;
this.bomMC.gotoAndPlay("bom");
_root.bossMC.hitBom();
this.procNum = 3;
}
}
_root.nowTobbyBom = this;
this.procNum = 1;
this.ady = 0;
this.adx = 0;
Symbol 22 MovieClip [bomTobby] Frame 3
this.main();
this.gotoAndPlay(_currentframe - 1);
Symbol 23 MovieClip [hammer] Frame 1
function main() {
if (_root.pauseFlg == true) {
return(undefined);
}
if (this.procNum == 1) {
if (this.bomFlg == false) {
this.bound();
}
if (_root.BomBakuhaFlg == true) {
this.adx = 0;
this.ady = 0;
this.bomFlg = true;
this.bomMC.gotoAndPlay("bom");
this.procNum = 2;
} else {
this.hitCheck();
}
this._x = this._x + this.adx;
this._y = this._y + this.ady;
}
}
function bound() {
this.ady = this.ady + 0.5;
if (350 < this._y) {
this._y = 350;
if (_root.randomInt(2) == 1) {
this.adx = 0;
this.ady = 0;
this.bomFlg = true;
this.bomMC.gotoAndPlay("bom");
} else {
this.ady = (-this.ady) * 0.5;
}
}
if ((this._x < 0) || (640 < this._x)) {
this.adx = -this.adx;
}
}
function hitCheck() {
if (this.hitTest(_root.tobbyMC) == true) {
if (bomFlg == true) {
_root.TobbyMC.miss();
} else if (_root.tobbyHasBomFlg == false) {
_root.tobbyHasBomFlg = true;
var newName = ("tbom" + String(_root.bomTobbyCnt++));
_root.attachMovie("bomTobby", newName, 500 + _root.bomTobbyCnt);
_root[newName]._x = _root.tobbyMC._x;
_root[newName]._y = _root.tobbyMC._y - 40;
this.removeMovieClip();
}
}
}
this.bomFlg = false;
this.procNum = 1;
Symbol 23 MovieClip [hammer] Frame 3
this.main();
this.gotoAndPlay(_currentframe - 1);
Symbol 38 MovieClip Frame 1
if (_root.itemList[3] == 1) {
if (_root.bomInRoomFlg == true) {
gotoAndPlay (15);
} else {
this.stop();
}
} else {
this.stop();
}
Symbol 38 MovieClip Frame 36
this.gotoAndPlay("warning");
Symbol 46 MovieClip Frame 1
this.stop();
Symbol 47 MovieClip Frame 1
function checkPlayer() {
if (this.hitTest(_root.tobbyMC) == true) {
_root.itemList[this.itemNum] = 1;
this.SE01.start(0, 0);
this.entryFlg = false;
this._visible = false;
_root.attachMovie("Win_getItem", "Win_noFoundMC", 1000);
_root.Win_noFoundMC._x = 320;
_root.Win_noFoundMC._y = 240;
_root.Win_noFoundMC.mesNum = 60 + (this.itemNum * 5);
_root.Win_noFoundMC.backThis = this;
this.entryFlg = false;
_root.tobbyMC.switchCntrolFlg(false);
if (this.itemNum == 4) {
_root.tobbyMaxSpeed = 10;
}
}
}
function setEntryFlg(nFlg) {
_root.tobbyMC.switchCntrolFlg(true);
}
this.SE01 = new Sound(this);
this.SE01.attachSound("SE_kaito");
if (this.stgMode == true) {
if (_root.itemList[this.itemNum] == 0) {
this.entryFlg = true;
} else {
this.entryFlg = false;
this._visible = false;
}
} else if (_root.itemList[this.itemNum] == 1) {
this.entryFlg = false;
} else {
this.entryFlg = false;
this._visible = false;
}
var fnum = ((this.itemNum + 1) * 10);
this.itemGMC.gotoAndStop(fnum);
Symbol 47 MovieClip Frame 3
if (this.entryFlg == true) {
this.checkPlayer();
}
this.gotoAndPlay(_currentframe - 1);
Symbol 48 MovieClip [Win_ItemList] Frame 1
i = 0;
while (i < _root.bomList.length) {
var bomname = ("b" + String(i + 1));
if (_root.bomList[i] == 0) {
this[bomname].gotoAndStop("noCheck");
} else {
this[bomname].gotoAndStop("Check");
}
i++;
}
Instance of Symbol 47 MovieClip in Symbol 48 MovieClip [Win_ItemList] Frame 1
onClipEvent (load) {
itemNum = 0;
stgMode = false;
}
Instance of Symbol 47 MovieClip in Symbol 48 MovieClip [Win_ItemList] Frame 1
onClipEvent (load) {
itemNum = 1;
stgMode = false;
}
Instance of Symbol 47 MovieClip in Symbol 48 MovieClip [Win_ItemList] Frame 1
onClipEvent (load) {
itemNum = 2;
stgMode = false;
}
Instance of Symbol 47 MovieClip in Symbol 48 MovieClip [Win_ItemList] Frame 1
onClipEvent (load) {
itemNum = 3;
stgMode = false;
}
Instance of Symbol 47 MovieClip in Symbol 48 MovieClip [Win_ItemList] Frame 1
onClipEvent (load) {
itemNum = 4;
stgMode = false;
}
Instance of Symbol 47 MovieClip in Symbol 48 MovieClip [Win_ItemList] Frame 1
onClipEvent (load) {
itemNum = 5;
stgMode = false;
}
Instance of Symbol 47 MovieClip in Symbol 48 MovieClip [Win_ItemList] Frame 1
onClipEvent (load) {
itemNum = 9;
stgMode = false;
}
Instance of Symbol 47 MovieClip in Symbol 48 MovieClip [Win_ItemList] Frame 1
onClipEvent (load) {
itemNum = 10;
stgMode = false;
}
Instance of Symbol 47 MovieClip in Symbol 48 MovieClip [Win_ItemList] Frame 1
onClipEvent (load) {
itemNum = 8;
stgMode = false;
}
Instance of Symbol 47 MovieClip in Symbol 48 MovieClip [Win_ItemList] Frame 1
onClipEvent (load) {
itemNum = 7;
stgMode = false;
}
Instance of Symbol 47 MovieClip in Symbol 48 MovieClip [Win_ItemList] Frame 1
onClipEvent (load) {
itemNum = 6;
stgMode = false;
}
Symbol 48 MovieClip [Win_ItemList] Frame 5
this.stop();
Symbol 48 MovieClip [Win_ItemList] Frame 12
this.removeMovieClip();
this.stop();
Symbol 55 MovieClip Frame 1
_parent.stop();
this.startTime = getTimer();
Symbol 55 MovieClip Frame 3
if ((getTimer() - this.startTime) >= this.stayTime) {
_parent.play();
this.stop();
} else {
this.gotoAndPlay(_currentframe - 1);
}
Instance of Symbol 55 MovieClip in Symbol 56 MovieClip [Win_BullMes] Frame 6
onClipEvent (load) {
stayTime = 3000;
}
Symbol 56 MovieClip [Win_BullMes] Frame 12
_root.bossMC.fight();
this.removeMovieClip();
this.stop();
Symbol 74 MovieClip [Win_BossMes] Frame 1
function skip() {
if (this.skipOKflg == true) {
if (this.skipFlg == true) {
return(undefined);
}
this.skipFlg = true;
this.gotoAndPlay("skip");
}
}
_root.openDialogFlg = true;
this.skipOKflg = false;
this.skipFlg = false;
Symbol 74 MovieClip [Win_BossMes] Frame 4
this.MesMC.gotoAndStop(this.mesNum);
Symbol 74 MovieClip [Win_BossMes] Frame 5
this.MesMC._visible = true;
Instance of Symbol 55 MovieClip in Symbol 74 MovieClip [Win_BossMes] Frame 6
onClipEvent (load) {
stayTime = 2000;
}
Symbol 74 MovieClip [Win_BossMes] Frame 7
this.skipOKflg = true;
this.stop();
Symbol 74 MovieClip [Win_BossMes] Frame 12
_root.openDialogFlg = false;
this.backthis.setEntryFlg(false);
this.removeMovieClip();
this.stop();
Symbol 75 MovieClip [Win_NPCmes] Frame 1
function skip() {
if (this.skipFlg == true) {
return(undefined);
}
this.skipFlg = true;
this.gotoAndPlay("skip");
}
_root.openDialogFlg = true;
this.skipFlg = false;
Symbol 75 MovieClip [Win_NPCmes] Frame 4
this.MesMC.gotoAndStop(this.mesNum);
Symbol 75 MovieClip [Win_NPCmes] Frame 5
this.MesMC._visible = true;
Instance of Symbol 55 MovieClip in Symbol 75 MovieClip [Win_NPCmes] Frame 6
onClipEvent (load) {
stayTime = 3000;
}
Symbol 75 MovieClip [Win_NPCmes] Frame 12
_root.openDialogFlg = false;
this.backthis.setEntryFlg(nFlg);
this.removeMovieClip();
this.stop();
Symbol 104 MovieClip [Win_getItem] Frame 1
_root.openDialogFlg = true;
Instance of Symbol 103 MovieClip "MesMC" in Symbol 104 MovieClip [Win_getItem] Frame 1
onClipEvent (load) {
this._visible = false;
}
Symbol 104 MovieClip [Win_getItem] Frame 4
this.MesMC.gotoAndStop(this.mesNum);
Symbol 104 MovieClip [Win_getItem] Frame 5
this.MesMC._visible = true;
Instance of Symbol 55 MovieClip in Symbol 104 MovieClip [Win_getItem] Frame 6
onClipEvent (load) {
stayTime = 2500;
}
Symbol 104 MovieClip [Win_getItem] Frame 12
_root.openDialogFlg = false;
this.backthis.setEntryFlg(nFlg);
this.removeMovieClip();
this.stop();
Symbol 105 MovieClip [Win_noFound] Frame 1
function skip() {
if (this.skipFlg == true) {
return(undefined);
}
this.skipFlg = true;
this.gotoAndPlay("skip");
}
_root.openDialogFlg = true;
this.skipFlg = false;
Instance of Symbol 103 MovieClip "MesMC" in Symbol 105 MovieClip [Win_noFound] Frame 1
onClipEvent (load) {
this._visible = false;
}
Symbol 105 MovieClip [Win_noFound] Frame 4
this.MesMC.gotoAndStop(this.mesNum);
Symbol 105 MovieClip [Win_noFound] Frame 5
this.MesMC._visible = true;
Instance of Symbol 55 MovieClip in Symbol 105 MovieClip [Win_noFound] Frame 6
onClipEvent (load) {
stayTime = 1500;
}
Symbol 105 MovieClip [Win_noFound] Frame 12
_root.openDialogFlg = false;
this.backthis.setEntryFlg(nFlg);
this.removeMovieClip();
this.stop();
Instance of Symbol 55 MovieClip in Symbol 107 MovieClip [Win_FoundBom] Frame 6
onClipEvent (load) {
stayTime = 1500;
}
Symbol 107 MovieClip [Win_FoundBom] Frame 12
this.removeMovieClip();
this.stop();
Instance of Symbol 55 MovieClip in Symbol 110 MovieClip [Win_Miss] Frame 6
onClipEvent (load) {
stayTime = 1500;
}
Symbol 110 MovieClip [Win_Miss] Frame 13
_root.gotoAndPlay("init");
this.removeMovieClip();
Symbol 121 MovieClip [number] Frame 1
this.stop();
Symbol 121 MovieClip [number] Frame 2
this.stop();
Symbol 121 MovieClip [number] Frame 3
this.stop();
Symbol 121 MovieClip [number] Frame 4
this.stop();
Symbol 121 MovieClip [number] Frame 5
this.stop();
Symbol 121 MovieClip [number] Frame 6
this.stop();
Symbol 121 MovieClip [number] Frame 7
this.stop();
Symbol 121 MovieClip [number] Frame 8
this.stop();
Symbol 121 MovieClip [number] Frame 9
this.stop();
Symbol 121 MovieClip [number] Frame 10
this.stop();
Symbol 123 MovieClip Frame 2
this.gotoAndPlay(_parent.item);
Symbol 123 MovieClip Frame 47
_parent.removeMovieClip();
this.stop();
Symbol 123 MovieClip Frame 107
_parent.removeMovieClip();
this.stop();
Symbol 123 MovieClip Frame 170
_parent.removeMovieClip();
this.stop();
Symbol 124 MovieClip [ItemGet] Frame 1
this._x = _root.tobbyMC._x;
this._y = _root.tobbyMC._y - 48;
Symbol 124 MovieClip [ItemGet] Frame 2
this.gotoAndPlay(_currentframe - 1);
Symbol 136 MovieClip Frame 1
function changeTarget(n) {
this.targetLine = this.targetLine + n;
if (this.targetLine < 1) {
this.targetLine = 4;
}
if (4 < this.targetLine) {
this.targetLine = 1;
}
this._x = -94 + (60 * (this.targetLine - 1));
}
function setNumber(n) {
if (0 < this.passCnt) {
return(undefined);
}
this.passCnt = 10;
var tn = _parent["n" + String(this.targetLine)];
tn = tn + n;
if (tn < 0) {
tn = 9;
}
if (9 < tn) {
tn = 0;
}
_parent["n" + String(this.targetLine)] = tn;
this.SE01.start(0, 0);
this.checkopen();
}
function close() {
_root.kinkoMC.setEntryFlg(false);
_parent.removeMovieClip();
}
function checkopen() {
if ((((_parent.n1 == 2) && (_parent.n2 == 4)) && (_parent.n3 == 7)) && (_parent.n4 == 9)) {
_parent.gotoAndPlay("open");
}
}
this.targetLine = 1;
this.passCnt = 0;
this.SE01 = new Sound(this);
this.SE01.attachSound("SE_gacha");
Symbol 136 MovieClip Frame 3
if (0 < this.passCnt) {
this.passCnt--;
if (this.passCnt < 0) {
this.passCnt = 0;
}
}
this.gotoAndPlay(_currentframe - 1);
Symbol 139 MovieClip [Win_kinkoEvent] Frame 1
this.n1 = 0;
this.n2 = 0;
this.n3 = 0;
this.n4 = 0;
Symbol 139 MovieClip [Win_kinkoEvent] Frame 30
this.stop();
Instance of Symbol 136 MovieClip in Symbol 139 MovieClip [Win_kinkoEvent] Frame 30
onClipEvent (keyDown) {
var lastKey = key.getCode();
if (lastKey == 37) {
this.changeTarget(-1);
}
if (lastKey == 39) {
this.changeTarget(1);
}
if (lastKey == 38) {
this.setNumber(1);
}
if (lastKey == 40) {
this.setNumber(-1);
}
if (lastKey == 32) {
this.close();
}
}
Symbol 139 MovieClip [Win_kinkoEvent] Frame 51
_root.kinkoMC.gotoAndPlay("open");
_root.itemList[6] = 1;
_root.attachMovie("ItemGet", "itemGetMC", 100);
_root.itemGetMC._x = 0;
_root.itemGetMC._y = -48;
_root.itemGetMC.item = "money";
Symbol 139 MovieClip [Win_kinkoEvent] Frame 90
_root.kinkoMC.setEntryFlg(false);
this.removeMovieClip();
Symbol 142 MovieClip [ItemLastKey] Frame 1
function checkPlayer() {
if (this.entryFlg == false) {
return(false);
}
if (key.isDown(38)) {
if (this.hitTest(_root.tobbyMC)) {
_root.attachMovie("Win_noFound", "Win_noFoundMC", 1000);
_root.Win_noFoundMC._x = 320;
_root.Win_noFoundMC._y = 240;
_root.Win_noFoundMC.mesNum = 40;
_root.Win_noFoundMC.backThis = this;
_root.itemList[1] = 1;
_root.eventFlgList.lastkey = 100;
this.entryFlg = false;
this._visible = false;
_root.tobbyMC.switchCntrolFlg(false);
_root.attachMovie("ItemGet", "itemGetMC", 100);
_root.itemGetMC._x = 0;
_root.itemGetMC._y = -48;
_root.itemGetMC.item = "key";
return(true);
}
}
return(false);
}
function setEntryFlg(nFlg) {
_root.tobbyMC.switchCntrolFlg(true);
this.removeMovieClip();
}
this.entryFlg = true;
Symbol 142 MovieClip [ItemLastKey] Frame 3
this.checkPlayer();
this.gotoAndPlay(_currentframe - 1);
Symbol 147 MovieClip Frame 9
var versionNum = getVersion().slice(4, 5);
trace(versionNum);
if (Number(versionNum) >= 5) {
this.gotoAndPlay("ok");
} else {
this.gotoAndPlay("ng");
}
Symbol 147 MovieClip Frame 19
this.stop();
_parent.gotoAndPlay("loading");
Symbol 147 MovieClip Frame 25
this.stop();
Symbol 154 MovieClip Frame 1
loadedSize = _root.getBytesLoaded();
totalSize = _root.getBytesTotal();
if (loadedSize >= totalSize) {
this.gotoAndPlay("ok");
} else {
parcent = (loadedsize / totalsize) * 100;
gDownloaded = Math.round(parcent);
this.bar._width = 300 * (gDownloaded / 100);
_root.stop();
}
Symbol 154 MovieClip Frame 2
this.gotoAndPlay(_currentframe - 1);
Symbol 154 MovieClip Frame 5
this.bar._width = 300;
Symbol 154 MovieClip Frame 19
_root.gotoAndPlay("init");
Symbol 164 Button
on (release) {
play();
}
on (press) {
play();
}
Symbol 167 Button
on (release) {
_root.gotoAndPlay("inst");
}
Symbol 169 Button
on (press) {
_root.gotoAndplay("ending");
}
Symbol 170 Button
on (press) {
_root.getBomCnt = 8;
_root.bomList = [1, 1, 1, 1, 1, 1, 1, 1, 1, 1];
_root.itemList = [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1];
_root.eventFlgList.er3 = 1;
_root.eventFlgList.lastkey = 1;
_root.gotoAndPlay("srt1");
}
Symbol 171 MovieClip Frame 1
if (_root.debugMode == false) {
this._visible = false;
} else {
this._visible = true;
}
Symbol 171 MovieClip Frame 2
if (_root.debugMode == false) {
this._visible = false;
} else {
this._visible = true;
}
this.gotoAndPlay(_currentframe - 1);
Symbol 173 MovieClip Frame 1
if (this.mode == false) {
this.alphaRate = 0;
this.gotoAndPlay("out");
} else {
this.alphaRate = 100;
this.gotoAndPlay("in");
}
Symbol 173 MovieClip Frame 3
this.alphaRate = this.alphaRate - (100 / this.FadeFrm);
if (this.alphaRate < 0) {
this.alphaRate = 0;
this.gotoAndPlay(_currentframe + 1);
} else {
this.gotoAndPlay(_currentframe - 1);
}
this._alpha = this.alphaRate;
Symbol 173 MovieClip Frame 4
if (this.stayFlg == false) {
_parent.gotoAndPlay(this.jumpLabelName);
}
this.stop();
Symbol 173 MovieClip Frame 11
this.alphaRate = this.alphaRate + (100 / this.FadeFrm);
if (100 < this.alphaRate) {
this.alphaRate = 100;
this.gotoAndPlay(_currentframe + 1);
} else {
this.gotoAndPlay(_currentframe - 1);
}
this._alpha = this.alphaRate;
Symbol 173 MovieClip Frame 12
if (this.stayFlg == false) {
_parent.gotoAndPlay(this.jumpLabelName);
}
this.stop();
Instance of Symbol 171 MovieClip in Symbol 176 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 173 MovieClip in Symbol 176 MovieClip Frame 1
onClipEvent (load) {
FadeFrm = 15;
mode = true;
stayFlg = false;
jumpLabelName = "disp";
}
Symbol 176 MovieClip Frame 5
this.stop();
Instance of Symbol 175 MovieClip in Symbol 176 MovieClip Frame 5
onClipEvent (load) {
this.selected = "start";
if (_root.KeyPlayFlg == false) {
this._visible = false;
} else {
this._visible = true;
}
}
onClipEvent (enterFrame) {
if (_root.KeyPlayFlg == false) {
this._visible = false;
} else {
this._visible = true;
}
}
onClipEvent (keyDown) {
if (_root.KeyPlayFlg == true) {
var Lastkey = key.getCode();
if (LastKey == 38) {
this._x = -81;
this._y = 123;
this.selected = "start";
}
var Lastkey = key.getCode();
if (LastKey == 40) {
this._x = -106;
this._y = 168;
this.selected = "inst";
}
if ((LastKey == 13) || (LastKey == 32)) {
if (this.selected == "start") {
_parent.play();
} else {
_root.gotoAndPlay("inst");
}
}
}
}
Symbol 176 MovieClip Frame 11
this.stop();
Instance of Symbol 173 MovieClip in Symbol 176 MovieClip Frame 11
onClipEvent (load) {
FadeFrm = 15;
mode = false;
stayFlg = false;
jumpLabelName = "fin";
}
Symbol 176 MovieClip Frame 12
_root.gotoAndPlay("s2");
Symbol 183 Button
on (release) {
this.play();
}
Symbol 205 Button
on (press) {
this.gotoAndplay("p2");
}
Symbol 209 Button
on (press) {
this.gotoAndPlay("p1");
}
Symbol 237 MovieClip Frame 1
this.stop();
Instance of Symbol 173 MovieClip in Symbol 237 MovieClip Frame 1
onClipEvent (load) {
FadeFrm = 15;
mode = true;
stayFlg = false;
jumpLabelName = "p1";
}
Symbol 237 MovieClip Frame 6
this.stop();
Symbol 237 MovieClip Frame 10
this.stop();
Instance of Symbol 173 MovieClip in Symbol 237 MovieClip Frame 10
onClipEvent (load) {
FadeFrm = 15;
mode = false;
stayFlg = false;
jumpLabelName = "fin";
}
Symbol 237 MovieClip Frame 12
_root.gotoAndPlay("title");
this.stop();
Symbol 237 MovieClip Frame 20
this.stop();
Symbol 237 MovieClip Frame 29
this.stop();
Instance of Symbol 173 MovieClip in Symbol 237 MovieClip Frame 29
onClipEvent (load) {
FadeFrm = 15;
mode = false;
stayFlg = false;
jumpLabelName = "fin";
}
Symbol 237 MovieClip Frame 30
_root.gotoAndPlay("title");
Symbol 239 MovieClip Frame 1
_root.stg_floorMCList.push(this);
this.stop();
Symbol 244 MovieClip Frame 3
this.stop();
Instance of Symbol 55 MovieClip in Symbol 268 MovieClip Frame 9
onClipEvent (load) {
stayTime = 4000;
}
Instance of Symbol 55 MovieClip in Symbol 268 MovieClip Frame 30
onClipEvent (load) {
stayTime = 4000;
}
Instance of Symbol 55 MovieClip in Symbol 268 MovieClip Frame 50
onClipEvent (load) {
stayTime = 4000;
}
Symbol 268 MovieClip Frame 58
_parent.play();
Symbol 268 MovieClip Frame 59
this.stop();
Symbol 282 MovieClip Frame 1
this.stop();
Instance of Symbol 173 MovieClip in Symbol 282 MovieClip Frame 1
onClipEvent (load) {
FadeFrm = 30;
mode = true;
stayFlg = false;
jumpLabelName = "in";
}
Instance of Symbol 55 MovieClip in Symbol 282 MovieClip Frame 37
onClipEvent (load) {
stayTime = 1000;
}
Symbol 282 MovieClip Frame 69
this.stop();
Instance of Symbol 173 MovieClip in Symbol 282 MovieClip Frame 69
onClipEvent (load) {
FadeFrm = 60;
mode = false;
stayFlg = false;
jumpLabelName = "front";
}
Instance of Symbol 55 MovieClip in Symbol 282 MovieClip Frame 72
onClipEvent (load) {
stayTime = 2000;
}
Symbol 282 MovieClip Frame 77
this.stop();
Instance of Symbol 173 MovieClip in Symbol 282 MovieClip Frame 77
onClipEvent (load) {
FadeFrm = 30;
mode = true;
stayFlg = false;
jumpLabelName = "front2";
}
Symbol 282 MovieClip Frame 78
this.BGM01 = new Sound(this);
this.BGM01.attachSound("BGM01");
this.BGM01.start(0, 100);
Symbol 282 MovieClip Frame 90
this.stop();
Instance of Symbol 55 MovieClip in Symbol 282 MovieClip Frame 103
onClipEvent (load) {
stayTime = 2000;
}
Instance of Symbol 55 MovieClip in Symbol 282 MovieClip Frame 224
onClipEvent (load) {
stayTime = 1500;
}
Instance of Symbol 277 MovieClip in Symbol 282 MovieClip Frame 241
onClipEvent (load) {
this.BGMvolume = 100;
}
onClipEvent (enterFrame) {
_parent.BGM01.setVolume(this.BGMvolume);
this.BGMvolume = this.BGMvolume - 1;
if (this.BGMvolume < 0) {
this.BGMvolume = 0;
}
}
Instance of Symbol 55 MovieClip in Symbol 282 MovieClip Frame 241
onClipEvent (load) {
stayTime = 3000;
}
Symbol 282 MovieClip Frame 311
this.stop();
Instance of Symbol 55 MovieClip in Symbol 282 MovieClip Frame 311
onClipEvent (load) {
stayTime = 4000;
}
Symbol 282 MovieClip Frame 312
this.BGM01.stop();
Symbol 282 MovieClip Frame 334
function allItemCheck() {
i = 0;
while (i < _root.itemList.length) {
if (_root.itemList[i] == 0) {
return(false);
}
i++;
}
return(true);
}
if (this.allItemCheck()) {
this.gotoAndPlay("thanks");
} else {
_root.gotoAndPlay("init");
this.stop();
}
Instance of Symbol 55 MovieClip in Symbol 282 MovieClip Frame 345
onClipEvent (load) {
stayTime = 3000;
}
Symbol 282 MovieClip Frame 375
_root.gotoAndPlay("init");
Symbol 284 MovieClip Frame 1
_root.inRoomFlg = false;
_root.sceneInit();
Symbol 284 MovieClip Frame 3
if ((_root.eleInflg == false) && (_root.stairsInFlg == false)) {
_root.tobbyMC.switchCntrolFlg(true);
}
this.stop();
Symbol 287 MovieClip Frame 1
function checkPlayer() {
if (key.isDown(38)) {
if (this.hitTest(_root.tobbyMC)) {
_root.attachMovie("Win_noFound", "Win_noFoundMC", 1000);
_root.Win_noFoundMC._x = 320;
_root.Win_noFoundMC._y = 240;
_root.Win_noFoundMC.mesNum = 50;
_root.Win_noFoundMC.backThis = this;
_root.bomList[bomNum] = 1;
this.entryFlg = false;
_root.bomInRoomFlg = false;
_root.getBomCnt++;
_root.tobbyMC.switchCntrolFlg(false);
_root.attachMovie("ItemGet", "itemGetMC", 100);
_root.itemGetMC._x = 0;
_root.itemGetMC._y = -48;
_root.itemGetMC.item = "bom";
return(true);
}
}
return(false);
}
function setEntryFlg(nFlg) {
_root.tobbyMC.switchCntrolFlg(true);
}
if (_root.bomList[bomNum] == 1) {
this.entryFlg = false;
_root.bomInRoomFlg = false;
} else {
this.entryFlg = true;
_root.bomInRoomFlg = true;
}
Symbol 287 MovieClip Frame 3
if (this.entryFlg == true) {
this.checkPlayer();
}
this.gotoAndPlay(_currentframe - 1);
Symbol 289 MovieClip Frame 1
function checkPlayer() {
if (this.entryFlg == false) {
return(undefined);
}
if (key.isDown(38)) {
if (this.hitTest(_root.tobbyMC)) {
_root.attachMovie("Win_noFound", "Win_noFoundMC", 1000);
_root.Win_noFoundMC._x = 320;
_root.Win_noFoundMC._y = 240;
_root.Win_noFoundMC.mesNum = this.mesNum;
_root.Win_noFoundMC.backThis = this;
this.entryFlg = false;
_root.tobbyMC.switchCntrolFlg(false);
}
}
}
function setEntryFlg(nFlg) {
_root.tobbyMC.switchCntrolFlg(true);
this.entryFlg = nFlg;
}
this.entryFlg = true;
Symbol 289 MovieClip Frame 3
this.checkPlayer();
this.gotoAndPlay(_currentframe - 1);
Symbol 296 MovieClip Frame 1
function checkPlayer() {
if (this.entryFlg == false) {
return(false);
}
if (_root.tobbyMC.jumpFlg == true) {
return(false);
}
if (_root.tobbyMC.ControlFlg == false) {
return(false);
}
if (this.hitDummyMC.hitTest(_root.tobbyMC) && (key.isDown(38))) {
_root.tobbyMC.switchCntrolFlg(false);
if (this.keyNum == 1) {
if (_root.itemList[0] == 0) {
this.mesOpen(120);
return(false);
}
}
if (this.keyNum == 2) {
if (_root.itemList[0] == 0) {
this.mesOpen(120);
return(false);
}
if ((_root.itemList[0] == 1) && (_root.itemList[1] == 0)) {
this.mesOpen(130);
return(false);
}
}
_root.doorData_xList.push(this._x);
_root.doorData_yList.push(this._y);
_root.doorData_fnList.push(_root._currentframe);
if (this.roomInLeftFlg == true) {
nx = 60;
ny = 350;
}
if (this.roomInRightFlg == true) {
nx = 580;
ny = 350;
}
return(true);
}
return(false);
}
function mesOpen(nFnum) {
_root.attachMovie("Win_noFound", "Win_noFoundMC", 1000);
_root.Win_noFoundMC._x = 320;
_root.Win_noFoundMC._y = 240;
_root.Win_noFoundMC.mesNum = nFnum;
_root.Win_noFoundMC.backThis = this;
this.entryFlg = false;
_root.tobbyMC.switchCntrolFlg(false);
}
function setEntryFlg(nFlg) {
_root.tobbyMC.switchCntrolFlg(true);
this.entryFlg = nFlg;
}
this.entryFlg = true;
if (_root.lastDoorMCNameList[_root.lastDoorMCNameList.length - 1] == this._name) {
_root.lastDoorMCNameList.pop();
this.gotoAndPlay("close");
}
Symbol 296 MovieClip Frame 3
if (this.checkPlayer()) {
this.gotoAndPlay("open");
} else {
this.gotoAndPlay(_currentframe - 1);
}
Symbol 296 MovieClip Frame 29
_root.inRoomFlg = true;
_root.tobbyMC.switchCntrolFlg(true);
_root.lastDoorMCNameList.push(this._name);
_root.tobbyMC.setLoc(this.nx, this.ny);
_root.gotoAndPlay(this.SceneLabelName);
this.stop();
Symbol 296 MovieClip Frame 79
this.gotoAndPlay(3);
Symbol 297 MovieClip Frame 1
function checkPlayer() {
var boxSize = 40;
if (this.hitTest(_root.tobbyMC)) {
if (this.LocFlipVFlg == true) {
if (_root.tobbyMC.py < (_root.stageHeight / 2)) {
ny = _root.stageHeight - boxSize;
} else {
ny = boxSize;
}
nx = _root.tobbyMC.px;
}
if (this.LocFlipHFlg == true) {
if (_root.tobbyMC.px < (_root.stageWidth / 2)) {
nx = _root.stageWidth - boxSize;
} else {
nx = boxSize;
}
ny = _root.tobbyMC.py;
}
_root.tobbyMC.setLoc(this.nx, this.ny);
_root.tobbyMC.switchCntrolFlg(false);
_root.gotoAndPlay(this.SceneLabelName);
}
}
Symbol 297 MovieClip Frame 3
this.checkPlayer();
this.gotoAndPlay(_currentframe - 1);
Symbol 304 MovieClip Frame 1
this.stop();
Symbol 304 MovieClip Frame 20
this.stop();
Symbol 305 MovieClip Frame 1
function checkPlayer() {
if (this.entryFlg == false) {
return(undefined);
}
if (key.isDown(38)) {
if (this.hitTest(_root.tobbyMC)) {
_root.attachMovie("Win_NPCmes", "Win_noFoundMC", 1000);
_root.Win_noFoundMC._x = 320;
_root.Win_noFoundMC._y = 240;
_root.Win_noFoundMC.mesNum = this.mesNum;
_root.Win_noFoundMC.backThis = this;
if (_root.eventFlgList[this.eventName] == 0) {
this.anmMC.gotoAndStop("release");
}
_root.eventFlgList[this.eventName]++;
this.entryFlg = false;
_root.tobbyMC.switchCntrolFlg(false);
}
}
}
function setEntryFlg(nFlg) {
this.entryFlg = nFLg;
_root.tobbyMC.switchCntrolFlg(true);
}
if (_root.eventFlgList[this.eventName] == 0) {
this.anmMC.gotoAndStop(1);
} else {
this.anmMC.gotoAndStop("released");
}
this.entryFlg = true;
Symbol 305 MovieClip Frame 3
this.checkPlayer();
this.gotoAndPlay(_currentframe - 1);
Symbol 319 MovieClip Frame 1
this.stop();
Symbol 319 MovieClip Frame 10
this.stop();
Symbol 319 MovieClip Frame 20
this.stop();
Symbol 319 MovieClip Frame 30
this.stop();
Symbol 319 MovieClip Frame 41
this.stop();
Symbol 320 MovieClip Frame 1
function pkeyDown(nKey) {
if (this.ControlFlg == true) {
if (nKey == 32) {
this.jumpInit();
return(undefined);
}
if (nKey == 40) {
this.jumpDownInit();
return(undefined);
}
if (_root.lastRoomFlg == true) {
if (nKey == 38) {
if (_root.tobbyHasBomFlg == true) {
_root.nowTobbyBom.entry(this.adx);
}
}
}
}
}
function pKeyUp() {
}
function switchCntrolFlg(nFlg) {
this.ControlFlg = nFlg;
this.anmMC.gotoAndStop("stand");
}
function main() {
if (this.visibleFalseFlg == true) {
this._visible = false;
}
if (this.ControlFlg == true) {
this.moveLR();
if (this.jumpFlg == true) {
this.jump();
}
this.checkwall();
if (0 < this.adx) {
this._xscale = 100;
} else {
this._xscale = -100;
}
if (0 < this.hitCheckPassCnt) {
this.hitCheckPassCnt--;
}
if (this.fukkatsuFlg == true) {
_root.LastLife = _root.LastLife + 5;
if (_root.LastLife >= 185) {
_root.LastLife = 185;
this.fukkatsuFlg = false;
}
}
if (0 < this.mutekiCnt) {
this._visible = !this._visible;
this.mutekiCnt--;
} else {
this._visible = true;
}
}
if (this.gameoverFlg == true) {
this.gameoverFall();
}
}
function jumpInit() {
if (this.jumpFlg == false) {
this.SE_tobu.start(0, 0);
this.ady = -25;
this.jumpFlg = true;
}
}
function jump() {
this.ady = this.ady + 2;
if (19 < this.ady) {
this.ady = 19;
}
this.py = this.py + this.ady;
if (this.hitCheckPassCnt == 0) {
if (0 < this.ady) {
i = 0;
while (i < _root.stg_floorMCList.length) {
if (this.hitdummyFallMC.hitTest(_root.stg_floorMCList[i])) {
this.py = _root.stg_floorMCList[i]._y;
if (5 < Math.abs(this.ady)) {
this.SE_pata.start(0, 0);
}
this.jumpFlg = false;
}
i++;
}
}
}
if (this.ady < 0) {
this.anmMC.gotoAndStop("jump1");
}
if ((this.ady >= 0) && (this.ady < 2)) {
this.anmMC.gotoAndStop("jump2");
}
if (2 < this.ady) {
this.anmMC.gotoAndStop("jump3");
}
}
function jumpDownInit() {
if (this.jumpFlg == false) {
if (_root.inRoomFlg == false) {
var ground = 450;
} else {
var ground = 350;
}
if (this.py < ground) {
this.ady = 0;
this.hitCheckPassCnt = 4;
this.jumpFlg = true;
}
}
}
function moveLR() {
if (key.isDown(37)) {
if (this.jumpFlg == false) {
var kx = -1.5;
} else {
var kx = -0.8;
}
} else if (key.isDown(39)) {
if (this.jumpFlg == false) {
var kx = 1.5;
} else {
var kx = 0.8;
}
} else if (this.jumpFlg == false) {
this.adx = this.adx * 0.5;
} else {
this.adx = this.adx * 0.9;
}
this.adx = this.adx + kx;
if (_root.tobbyMaxSpeed < this.adx) {
this.adx = _root.tobbyMaxSpeed;
}
if (this.adx < (-_root.tobbyMaxSpeed)) {
this.adx = -_root.tobbyMaxSpeed;
}
this.px = this.px + this.adx;
if (this.jumpFlg == false) {
if (1 < Math.abs(this.adx)) {
this.anmMC.gotoAndStop("walk");
} else {
this.anmMC.gotoAndStop("stand");
}
if (this.hitCheckPassCnt == 0) {
var hitFlg = false;
i = 0;
while (i < _root.stg_floorMCList.length) {
if (this.hitdummyFallMC.hitTest(_root.stg_floorMCList[i])) {
hitFlg = true;
}
i++;
}
if (hitFlg == false) {
this.ady = 0;
this.jumpFlg = true;
}
}
}
}
function checkwall() {
if (this.px < 20) {
this.px = 20;
this.adx = 0;
}
if (620 < this.px) {
this.px = 620;
this.adx = 0;
}
}
function setLoc(nx, ny) {
this.px = nx;
this.py = ny;
}
function miss() {
if ((0 < this.mutekiCnt) || (this.gameoverFlg == true)) {
return(undefined);
}
_root.LastLife = _root.LastLife - 30;
this.mutekiCnt = 60;
this.SE_death.start(0, 0);
if (_root.LastLife < 0) {
if (_root.itemList[5] == 1) {
this.fukkatsuFlg = true;
_root.itemList[5] = 0;
return(undefined);
}
_root.LastLife = 0;
_root.attachMovie("WIn_Miss", "Win_MissMC", 1000);
_root.Win_MissMC._x = 320;
_root.Win_MissMC._y = 240;
_root.BomBakuhaFlg = true;
this.switchCntrolFlg(false);
this.ady = -10;
this.mutekiCnt = 0;
this.jumpFlg = false;
this.gameoverFlg = true;
}
}
function gameoverFall() {
this.py = this.py + this.ady;
this.ady = this.ady + 1;
this._rotation = this._rotation + 30;
}
function setMuteki() {
this.mutekiCnt = 10000;
}
function setvisibleFalseFlg(nFlg) {
this.visibleFalseFlg = nFlg;
}
function sceneChange() {
}
this.px = this._x;
this.py = 450;
this.adx = 0;
this.ady = 0;
this.jumpFlg = false;
this.hitCheckPassCnt = 0;
this.ControlFlg = true;
this.mutekiCnt = 0;
this.fukkatsuFlg = false;
this.gameoverFlg = false;
this.visibleFalseFlg = false;
this.SE_pata = new Sound(this);
this.SE_pata.attachSound("SE_pata");
this.SE_tobu = new Sound(this);
this.SE_tobu.attachSound("SE_tobu");
this.SE_death = new Sound(this);
this.SE_death.attachSound("SE_death");
Symbol 320 MovieClip Frame 3
this.main();
this._x = this.px;
this._y = this.py;
this.gotoAndPlay(_currentframe - 1);
Symbol 325 MovieClip Frame 1
this.stop();
Symbol 327 MovieClip Frame 3
this.barMC._width = _root.LastLife;
this.gotoAndPlay(_currentframe - 1);
Symbol 328 MovieClip Frame 1
function checkPlayer() {
if (key.isDown(38)) {
if (this.hitTest(_root.tobbyMC)) {
_root.itemList[this.itemNum] = 1;
this.SE01.start(0, 0);
this.entryFlg = false;
this._visible = false;
_root.attachMovie("Win_getItem", "Win_noFoundMC", 1000);
_root.Win_noFoundMC._x = 320;
_root.Win_noFoundMC._y = 240;
_root.Win_noFoundMC.mesNum = 60 + (this.itemNum * 5);
_root.Win_noFoundMC.backThis = this;
this.entryFlg = false;
_root.tobbyMC.switchCntrolFlg(false);
if (this.itemNum == 4) {
_root.tobbyMaxSpeed = 10;
}
}
}
}
function setEntryFlg(nFlg) {
_root.tobbyMC.switchCntrolFlg(true);
}
this.SE01 = new Sound(this);
this.SE01.attachSound("SE_kaito");
if (this.stgMode == true) {
if (_root.itemList[this.itemNum] == 0) {
this.entryFlg = true;
} else {
this.entryFlg = false;
this._visible = false;
}
} else if (_root.itemList[this.itemNum] == 1) {
this.entryFlg = false;
} else {
this.entryFlg = false;
this._visible = false;
}
var fnum = ((this.itemNum + 1) * 10);
this.itemGMC.gotoAndStop(fnum);
Symbol 328 MovieClip Frame 3
if (this.entryFlg == true) {
this.checkPlayer();
}
this.gotoAndPlay(_currentframe - 1);
Symbol 338 MovieClip Frame 1
function btnOn() {
if (_parent.UDnum == 1) {
this.gotoAndStop("u2");
}
if (_parent.UDnum == 2) {
this.gotoAndStop("d2");
}
}
function btnOff() {
if (_parent.UDnum == 1) {
this.gotoAndStop("u1");
}
if (_parent.UDnum == 2) {
this.gotoAndStop("d1");
}
}
this.btnOff();
Symbol 338 MovieClip Frame 2
this.stop();
Symbol 338 MovieClip Frame 6
this.stop();
Symbol 338 MovieClip Frame 11
this.stop();
Symbol 338 MovieClip Frame 16
this.stop();
Symbol 338 MovieClip Frame 21
this.stop();
Symbol 338 MovieClip Frame 25
this.stop();
Symbol 343 MovieClip Frame 1
function checkPlayer() {
if (this.ele_btnMC.hitTest(_root.tobbyMC) && (key.isDown(38))) {
return(true);
}
return(false);
}
function checkEnter() {
if (_root.tobbyMC.jumpFlg == true) {
return(false);
}
if (_root.tobbyMC.ControlFlg == false) {
return(false);
}
if (this.ele_EntDummyMC.hitTest(_root.tobbyMC) && (key.isDown(38))) {
return(true);
}
return(false);
}
function inbox() {
this.inboxtobby._x = _root.tobbyMC._x - 320;
_root.tobbyMC._visible = false;
}
function setEntryFlg(nFlg) {
_root.tobbyMC.switchCntrolFlg(true);
this.entryFlg = nFlg;
}
this.entryFlg = true;
this.closeCnt = 0;
Symbol 343 MovieClip Frame 2
if (_root.eleInflg == true) {
this.gotoAndPlay("inOpen");
}
Instance of Symbol 289 MovieClip in Symbol 343 MovieClip Frame 2
onClipEvent (load) {
mesNum = 13;
}
Symbol 343 MovieClip Frame 4
if (this.checkPlayer()) {
if (this.entryFlg == false) {
this.gotoAndPlay(_currentframe - 1);
return(undefined);
}
if (_root.eventFlgList.er3 == 1) {
this.ele_btnMC.btnOn();
this.gotoAndPlay("open");
} else {
_root.attachMovie("Win_noFound", "Win_noFoundMC", 1000);
_root.Win_noFoundMC._x = 320;
_root.Win_noFoundMC._y = 240;
_root.Win_noFoundMC.mesNum = 20;
_root.Win_noFoundMC.backThis = this;
this.entryFlg = false;
_root.tobbyMC.switchCntrolFlg(false);
this.gotoAndPlay(_currentframe - 1);
}
} else {
this.gotoAndPlay(_currentframe - 1);
}
Symbol 343 MovieClip Frame 21
if (this.checkEnter()) {
_root.tobbyMC.setvisibleFalseFlg(true);
_root.tobbyMC.switchCntrolFlg(false);
this.gotoAndPlay("close");
} else if (this.closeCnt < 90) {
this.closeCnt++;
this.gotoAndPlay(_currentframe - 1);
} else {
this.ele_btnMC.btnOff();
this.closeCnt = 0;
this.gotoAndPlay("autoClose");
}
Symbol 343 MovieClip Frame 25
this.ele_btnMC.btnOff();
this.inbox();
Symbol 343 MovieClip Frame 45
_root.eleInflg = true;
_root.gotoAndPlay(this.SceneLabelName);
this.stop();
Symbol 343 MovieClip Frame 50
this.stop();
Instance of Symbol 55 MovieClip in Symbol 343 MovieClip Frame 50
onClipEvent (load) {
stayTime = 1000;
}
Symbol 343 MovieClip Frame 58
_root.tobbyMC.setLoc(320, this._y);
Symbol 343 MovieClip Frame 59
_root.eleInflg = false;
_root.tobbyMC.setvisibleFalseFlg(false);
_root.tobbyMC.switchCntrolFlg(true);
Symbol 343 MovieClip Frame 85
this.gotoAndPlay("stay");
Symbol 352 MovieClip Frame 23
_parent.moveScene();
this.stop();
Symbol 352 MovieClip Frame 52
_root.stairsInFlg = false;
_root.tobbyMC.setvisibleFalseFlg(false);
_root.tobbyMC.switchCntrolFlg(true);
this.gotoAndStop("up");
Symbol 352 MovieClip Frame 104
_parent.moveScene();
this.stop();
Symbol 352 MovieClip Frame 132
_root.stairsInFlg = false;
_root.tobbyMC.setvisibleFalseFlg(false);
_root.tobbyMC.switchCntrolFlg(true);
this.gotoAndStop("down");
Symbol 353 MovieClip Frame 1
function checkPlayer() {
if (_root.tobbyMC.jumpFlg == true) {
return(false);
}
if (_root.tobbyMC.ControlFlg == false) {
return(false);
}
if (this.hitTest(_root.tobbyMC) && (key.isDown(38))) {
this.gMC.play();
_root.tobbyMC.setvisibleFalseFlg(true);
_root.tobbyMC.switchCntrolFlg(false);
}
}
function moveScene() {
if (this.floorNum != 0) {
this.ny = 450 - ((this.floorNum - 1) * 100);
}
this.nx = this._x;
_root.tobbyMC.setLoc(this.nx, this.ny);
_root.stairsInFlg = true;
_root.intargetStairsName = this.inTargetName;
_root.gotoAndPlay(this.SceneLabelName);
}
if ((_root.stairsInFlg == true) && (_root.intargetStairsName == this._name)) {
if (this.upFlg == true) {
this.gMC.gotoAndPlay("downIn");
} else {
this.gMC.gotoAndPlay("UpIn");
}
} else if (this.upFlg == true) {
this.gMC.gotoAndStop("up");
} else {
this.gMC.gotoAndStop("down");
}
Symbol 353 MovieClip Frame 30
this.checkPlayer();
this.gotoAndPlay(_currentframe - 1);
Symbol 354 MovieClip Frame 1
function checkPlayer() {
if (this.entryFlg == false) {
return(undefined);
}
if (key.isDown(38)) {
if (this.hitTest(_root.tobbyMC)) {
if (_root.eventFlgList.er3 == 1) {
this.mesNum = 25;
}
_root.attachMovie("Win_NPCmes", "Win_noFoundMC", 1000);
_root.Win_noFoundMC._x = 320;
_root.Win_noFoundMC._y = 240;
_root.Win_noFoundMC.mesNum = this.mesNum;
_root.Win_noFoundMC.backThis = this;
if (_root.eventFlgList[this.eventName] == 0) {
this.anmMC.gotoAndStop("release");
}
_root.eventFlgList[this.eventName]++;
this.entryFlg = false;
_root.tobbyMC.switchCntrolFlg(false);
}
}
}
function setEntryFlg(nFlg) {
this.entryFlg = nFLg;
_root.tobbyMC.switchCntrolFlg(true);
}
this.mesNum = 20;
this.eventName = "eleboy";
if (_root.eventFlgList[eventName] == 0) {
this.anmMC.gotoAndStop(1);
} else {
this.anmMC.gotoAndStop("released");
}
this.entryFlg = true;
Symbol 354 MovieClip Frame 3
this.checkPlayer();
this.gotoAndPlay(_currentframe - 1);
Symbol 361 MovieClip Frame 3
if (this.hitTest(_root.tobbyMC.hitDummyMC) == true) {
_root.tobbyMC.miss();
}
this.gotoAndPlay(_currentframe - 1);
Symbol 363 MovieClip Frame 1
function checkPlayer() {
if (this.entryFlg == false) {
return(undefined);
}
if (key.isDown(38)) {
if (this.hitTest(_root.tobbyMC)) {
if ((((_root.itemList[7] == 1) && (_root.itemList[8] == 1)) && (_root.itemList[9] == 1)) && (_root.itemList[10] == 1)) {
this.mesNum = 45;
} else {
this.mesNum = 40;
}
_root.attachMovie("Win_NPCmes", "Win_noFoundMC", 1000);
_root.Win_noFoundMC._x = 320;
_root.Win_noFoundMC._y = 240;
_root.Win_noFoundMC.mesNum = this.mesNum;
_root.Win_noFoundMC.backThis = this;
if (_root.eventFlgList[this.eventName] == 0) {
this.anmMC.gotoAndStop("release");
}
_root.eventFlgList[this.eventName]++;
this.entryFlg = false;
_root.tobbyMC.switchCntrolFlg(false);
}
}
}
function setEntryFlg(nFlg) {
this.entryFlg = nFLg;
_root.tobbyMC.switchCntrolFlg(true);
}
this.eventName = "kinkoboy";
if (_root.eventFlgList[eventName] == 0) {
this.anmMC.gotoAndStop(1);
} else {
this.anmMC.gotoAndStop("released");
}
this.entryFlg = true;
Symbol 363 MovieClip Frame 3
this.checkPlayer();
this.gotoAndPlay(_currentframe - 1);
Symbol 372 MovieClip Frame 3
if (this.hitTest(_root.tobbyMC.hitDummyMC) == true) {
_root.tobbyMC.miss();
}
this.gotoAndPlay(_currentframe - 1);
Symbol 375 MovieClip Frame 1
function checkPlayer() {
if (this.entryFlg == false) {
return(undefined);
}
if (this.hitTest(_root.tobbyMC)) {
_root.attachMovie("Win_noFound", "Win_noFoundMC", 1000);
_root.Win_noFoundMC._x = 320;
_root.Win_noFoundMC._y = 240;
_root.Win_noFoundMC.mesNum = 200 + ((this.foodType - 1) * 10);
_root.Win_noFoundMC.backThis = this;
this.entryFlg = false;
_root.foodList[this.foodNum] = 1;
this._y = -1000;
_root.tobbyMC.switchCntrolFlg(false);
_root.lastlife = _root.lastlife + this.lifeUpDo;
if (185 < _root.lastlife) {
_root.lastlife = 185;
}
this.SE_kaito.start(0, 0);
}
}
function setEntryFlg(nFlg) {
_root.tobbyMC.switchCntrolFlg(true);
this.entryFlg = nFlg;
}
if (_root.foodList[this.foodNum] == 1) {
this._y = -1000;
}
this.foodMC.gotoAndStop(this.foodType * 10);
if (this.foodType == 1) {
this.lifeUpDo = 100;
}
if (this.foodType == 2) {
this.lifeUpDo = 50;
}
if (this.foodType == 3) {
this.lifeUpDo = 25;
}
this.entryFlg = true;
this.SE_kaito = new Sound(this);
this.SE_kaito.attachSound("SE_kaito");
Symbol 375 MovieClip Frame 3
this.checkPlayer();
this.gotoAndPlay(_currentframe - 1);
Symbol 381 MovieClip Frame 1
function checkPlayer() {
if (this.entryFlg == false) {
return(undefined);
}
if (key.isDown(38)) {
if (this.hitTest(_root.tobbyMC)) {
if (_root.getBomCnt == 8) {
if ((_root.itemList[1] == 0) && (_root.eventFlgList.lastkey == 0)) {
this.mesNum = 120;
} else {
this.mesNum = 130;
}
} else {
this.mesNum = 110;
}
_root.attachMovie("Win_NPCmes", "Win_noFoundMC", 1000);
_root.Win_noFoundMC._x = 320;
_root.Win_noFoundMC._y = 240;
_root.Win_noFoundMC.mesNum = this.mesNum;
_root.Win_noFoundMC.backThis = this;
if (_root.eventFlgList[this.eventName] == 0) {
this.anmMC.gotoAndStop("release");
}
_root.eventFlgList[this.eventName]++;
this.entryFlg = false;
_root.tobbyMC.switchCntrolFlg(false);
}
}
}
function setEntryFlg(nFlg) {
this.entryFlg = nFLg;
_root.tobbyMC.switchCntrolFlg(true);
}
this.eventName = "kame";
this.entryFlg = true;
Symbol 381 MovieClip Frame 3
this.checkPlayer();
this.gotoAndPlay(_currentframe - 1);
Symbol 385 MovieClip Frame 1
_root.inRoomFlg = true;
_root.sceneInit();
Symbol 385 MovieClip Frame 3
if ((_root.eleInflg == false) && (_root.stairsInFlg == false)) {
_root.tobbyMC.switchCntrolFlg(true);
}
this.stop();
Symbol 386 MovieClip Frame 2
if (this.hitTest(_root.tobbyMC)) {
this.gotoAndPlay("close");
} else {
this.gotoAndPlay(_currentframe - 1);
}
Symbol 386 MovieClip Frame 6
_root.inRoomFlg = false;
var nx = _root.doorData_xList.pop();
var ny = _root.doorData_yList.pop();
var fn = _root.doorData_fnList.pop();
_root.tobbyMC.setLoc(nx, ny);
_root.tobbyMC.jumpFlg = false;
_root.gotoAndPlay(fn);
this.stop();
Instance of Symbol 297 MovieClip in Symbol 389 MovieClip Frame 1
onClipEvent (load) {
SceneLabelName = "sr2";
LocFlipVFlg = false;
LocFlipHFlg = true;
nx = 0;
ny = 0;
}
Symbol 389 MovieClip Frame 3
this.stop();
Symbol 391 MovieClip Frame 3
this.stop();
Symbol 393 MovieClip Frame 1
_root.inRoomFlg = true;
Symbol 393 MovieClip Frame 3
this.stop();
Symbol 397 MovieClip Frame 2
if (_root.tobbyMC.visibleFalseFlg == true) {
this._x = _root.tobbyMC._x;
this._y = _root.tobbyMC._y;
this.gotoAndPlay(_currentframe - 1);
}
Symbol 397 MovieClip Frame 4
if (_root.itemList[2] == true) {
this.gotoAndPlay(10);
} else {
this.stop();
}
Symbol 397 MovieClip Frame 10
this._x = _root.tobbyMC._x;
this._y = _root.tobbyMC._y;
Symbol 397 MovieClip Frame 11
this._x = _root.tobbyMC._x;
this._y = _root.tobbyMC._y;
if (_root.tobbyMC.visibleFalseFlg == false) {
this.gotoAndPlay(_currentframe - 1);
} else {
this.gotoAndPlay(1);
}
Symbol 406 MovieClip Frame 1
function checkPlayer() {
if (this.entryFlg == false) {
return(false);
}
if (_root.itemList[2] == 0) {
return(false);
}
if (key.isDown(38)) {
if (this.hitTest(_root.tobbyMC)) {
this.entryFlg = false;
_root.eventFlgList.er3 = 1;
return(true);
}
}
return(false);
}
function setEntryFlg(nFlg) {
this.entryFlg = nFLg;
}
if (_root.eventFlgList.er3 == 0) {
this.entryFlg = true;
} else {
this.entryFlg = false;
this.gotoAndStop("onStop");
}
Symbol 406 MovieClip Frame 3
if (this.checkPlayer()) {
this.gotoAndPlay("on");
} else {
this.gotoAndPlay(_currentframe - 1);
}
Symbol 406 MovieClip Frame 15
_root.yamiMC._visible = false;
Symbol 406 MovieClip Frame 29
this.stop();
Symbol 409 MovieClip Frame 1
function checkPlayer() {
if (this.entryFlg == false) {
return(undefined);
}
if (key.isDown(38)) {
if (this.hitTest(_root.tobbyMC)) {
if (_root.itemList[3] == 0) {
this.mesNum = 60;
} else {
this.mesNum = 65;
}
_root.attachMovie("Win_NPCmes", "Win_noFoundMC", 1000);
_root.Win_noFoundMC._x = 320;
_root.Win_noFoundMC._y = 240;
_root.Win_noFoundMC.mesNum = this.mesNum;
_root.Win_noFoundMC.backThis = this;
if (_root.eventFlgList[this.eventName] == 0) {
this.anmMC.gotoAndStop("release");
}
_root.eventFlgList[this.eventName]++;
this.entryFlg = false;
_root.tobbyMC.switchCntrolFlg(false);
}
}
}
function setEntryFlg(nFlg) {
this.entryFlg = nFLg;
_root.tobbyMC.switchCntrolFlg(true);
}
this.eventName = "boyss0";
if (_root.eventFlgList[eventName] == 0) {
this.anmMC.gotoAndStop(1);
} else {
this.anmMC.gotoAndStop("released");
}
this.entryFlg = true;
Symbol 409 MovieClip Frame 3
this.checkPlayer();
this.gotoAndPlay(_currentframe - 1);
Symbol 412 MovieClip Frame 3
this.stop();
Symbol 414 MovieClip Frame 1
function checkPlayer() {
if (this.entryFlg == false) {
return(undefined);
}
if (key.isDown(38)) {
if (this.hitTest(_root.tobbyMC)) {
_root.attachMovie("Win_KinkoEvent", "EventMC", 1000);
_root.EventMC._x = 320;
_root.EventMC._y = 240;
_root.EventMC.mesNum = 50;
_root.EventMC.backThis = this;
_root.tobbyMC.switchCntrolFlg(false);
_root.pauseFlg = true;
this.entryFlg = false;
}
}
}
function setEntryFlg(nFlg) {
_root.tobbyMC.switchCntrolFlg(true);
_root.pauseFlg = false;
this.entryFlg = true;
}
this.entryFlg = true;
if (_root.eventFlgList.kinko == 1) {
this.gotoAndPlay("open");
}
Symbol 414 MovieClip Frame 3
this.checkPlayer();
this.gotoAndPlay(_currentframe - 1);
Symbol 414 MovieClip Frame 6
_root.eventFlgList.kinko = 1;
this.stop();
Symbol 415 MovieClip Frame 1
function checkPlayer() {
if (this.entryFlg == false) {
return(undefined);
}
if (_root.BomBakuhaFlg == true) {
return(undefined);
}
if (key.isDown(38)) {
if (this.hitTest(_root.tobbyMC)) {
_root.attachMovie("Win_BossMes", "Win_noFoundMC", 1000);
_root.Win_noFoundMC._x = 320;
_root.Win_noFoundMC._y = 240;
_root.Win_noFoundMC.mesNum = 50;
_root.Win_noFoundMC.backThis = this;
_root.tobbyMC.switchCntrolFlg(false);
_root.pauseFlg = true;
this.entryFlg = false;
}
}
}
function setEntryFlg(nFlg) {
_root.tobbyMC.switchCntrolFlg(true);
_root.pauseFlg = false;
}
this.entryFlg = true;
Symbol 415 MovieClip Frame 3
this.checkPlayer();
this.gotoAndPlay(_currentframe - 1);
Symbol 422 MovieClip Frame 9
this.gotoAndPlay(1);
Symbol 422 MovieClip Frame 25
this.gotoAndPlay(1);
Symbol 422 MovieClip Frame 30
this.stop();
Symbol 423 MovieClip Frame 1
function entry() {
this.entryFlg = true;
this.procStat = 1;
}
function main() {
if (_root.pauseFlg == true) {
return(undefined);
}
if (this.procStat == 1) {
this.enter();
}
if (this.procStat == 2) {
this.workLR();
this.hammer();
}
if (this.procStat == 10) {
this.fall();
}
}
function enter() {
this.adx = (320 - this.px) / 10;
this.px = this.px + this.adx;
if (Math.abs(this.adx) < 0.1) {
this.procStat = 0;
_root.attachMovie("Win_BullMes", "WinMC", 1000);
_root.WinMC._x = 320;
_root.WinMC._y = 180;
}
}
function fight() {
_root.tobbyMC.switchCntrolFlg(true);
this.adx = -5;
this.procStat = 2;
_root.bgmMC.startBGM();
}
function workLR() {
if ((this.px < 50) || (590 < this.px)) {
this.adx = -this.adx;
this._xscale = -this._xscale;
}
this.px = this.px + this.adx;
}
function hammer() {
if (this.hammerDcnt == 30) {
this.entryHammer();
this.hammerDcnt = 0;
this.SE_poi.start();
}
this.hammerDcnt++;
}
function entryHammer() {
newName = "h" + String(this.hammerCnt);
_root.attachMovie("hammer", newName, this.hammerCnt + 100);
_root[newName]._x = this.px;
_root[newName]._y = this.py;
_root[newName].adx = this.adx;
_root[newName].ady = -10;
this.hammerCnt++;
}
function fall() {
this.py = this.py + this.ady;
this.ady = this.ady + 0.5;
if (600 < this.py) {
this.procStat = 0;
_root.gotoAndPlay("clear");
}
}
function hitBom() {
_root.bossLife = _root.bossLife - 30;
if (0 < _root.bossLife) {
this.waruMC.gotoAndPlay("jump");
} else {
_root.bgmMC.stopBGM();
_root.bossLife = 0;
_root.tobbyMC.setMuteki();
_root.BomBakuhaFlg = true;
this.ady = -10;
this.procStat = 10;
this.waruMC.gotoAndStop("fall");
}
}
this.entryFlg = false;
this.procNum = 0;
this.px = this._x;
this.py = this._y;
this.adx = 0;
this.ady = 0;
this.hammerDCnt = 0;
this.hammerCnt = 0;
this.itaCnt = 3;
this._xscale = -100;
this.SE_poi = new Sound(this);
this.SE_poi.attachSound("SE_poi");
this.entry();
Symbol 423 MovieClip Frame 3
this.main();
this._x = this.px;
this._y = this.py;
this.gotoAndPlay(_currentframe - 1);
Symbol 425 MovieClip Frame 3
this.barMC._width = _root.BossLife;
this.gotoAndPlay(_currentframe - 1);