Instance of Symbol 7 MovieClip in Frame 1
onClipEvent (load) {
var nTotal = _root.getBytesTotal();
_root.stop();
}
onClipEvent (enterFrame) {
var _nParcent;
if (!blTest) {
nLoaded = _root.getBytesLoaded();
} else {
nLoaded = nLoaded + (_root.getBytesTotal() / 100);
}
_nParcent = Math.floor((nLoaded / nTotal) * 100);
_root.percent = _nParcent + "\uFF05";
_root.ins_LoadingBar.gotoAndStop(_nParcent + 1);
if (Math.floor((nLoaded / nTotal) * 100) >= 100) {
_root.gotoAndStop(2);
}
}
Frame 2
var STAGE_WIDTH = Stage.width;
var STAGE_HEIGHT = 400;
var DEPTH_OWATAMASK = 511;
var DEPTH_OWATA = 512;
var DEPTH_THIUN = 1023;
var DEPTH_STATUS = 1024;
var lstTama = new Object();
var indexTama = 0;
var startX = 400;
var startY = 344.3;
var startStageName = "X50_Y50";
var mcStage1 = Nothing;
var mcStage2 = Nothing;
var indexStage = 0;
var cntStageMove = 0;
var stageMoveX = 0;
var stageMoveY = 0;
var stageMoveOwata = 0;
var blStop = false;
var ins_statusArea = _root.attachMovie("mcStatusArea", "ins_statusArea", _root.DEPTH_STATUS, {_x:0, _y:400});
stop();
function xHitTestBlock(mcBlock, mcObject, flgHit) {
rctObj = mcObject.xGetBounds();
var objXMin = rctObj.xMin;
var objXMax = rctObj.xMax;
var objYMin = rctObj.yMin;
var objYMax = rctObj.yMax;
_pnt = {x:mcBlock._x, y:mcBlock._y};
mcBlock._parent.localToGlobal(_pnt);
var blkXMin = (_pnt.x + mcBlock.bounds.xMin);
var blkXMax = (_pnt.x + mcBlock.bounds.xMax);
var blkYMin = (_pnt.y + mcBlock.bounds.yMin);
var blkYMax = (_pnt.y + mcBlock.bounds.yMax);
if ((((objXMax >= blkXMin) && (objYMax >= blkYMin)) && (blkXMax >= objXMin)) && (blkYMax >= objYMin)) {
if (mcObject.sOnName_ != "lift") {
var myDx = (mcObject.dx - mcBlock.dx);
var myDy = (mcObject.dy - mcBlock.dy);
var hanteiLengthV = (Math.abs(myDy) + 1);
} else {
var myDx = 0;
var myDy = 0;
var hanteiLengthV = (Math.abs(mcBlock.dy) + 1);
}
if (mcBlock._visible) {
if (myDy >= 0) {
if ((objYMax - blkYMin) < hanteiLengthV) {
if (flgHit & HIT_TOP) {
mcObject.xBlockHitTop(mcBlock, blkYMin);
}
return(HIT_TOP);
}
}
if (!myDx) {
var hanteiLengthH = (8 + Math.abs(mcBlock.dx));
} else {
var hanteiLengthH = (Math.abs(myDx) + 1);
}
if ((flgHit & HIT_LEFT) && (myDx >= 0)) {
if ((objXMax - blkXMin) < hanteiLengthH) {
mcObject.xBlockHitLeft(mcBlock, blkXMin);
return(HIT_LEFT);
}
}
if ((flgHit & HIT_RIGHT) && (0 >= myDx)) {
if ((blkXMax - objXMin) < hanteiLengthH) {
mcObject.xBlockHitRight(mcBlock, blkXMax);
return(HIT_RIGHT);
}
}
}
if ((flgHit & HIT_BOTTOM) && (0 >= myDy)) {
if ((blkYMax - objYMin) < hanteiLengthV) {
mcObject.xBlockHitBottom(mcBlock, blkYMax);
return(HIT_BOTTOM);
}
}
return(15);
}
return(0);
}
var HIT_TOP = 1;
var HIT_LEFT = 2;
var HIT_RIGHT = 4;
var HIT_BOTTOM = 8;
function xOutTestArea(mcArea, mcObject) {
rctObj = mcObject.xGetBounds();
var objXMin = rctObj.xMin;
var objXMax = rctObj.xMax;
var objYMin = rctObj.yMin;
var objYMax = rctObj.yMax;
_pnt = {x:mcArea._x, y:mcArea._y};
mcBlock._parent.localToGlobal(_pnt);
var areaXMin = (_pnt.x + mcArea.bounds.xMin);
var areaXMax = (_pnt.x + mcArea.bounds.xMax);
var areaYMin = (_pnt.y + mcArea.bounds.yMin);
var areaYMax = (_pnt.y + mcArea.bounds.yMax);
if (objXMin >= areaXMin) {
if (areaXMax < objXMax) {
mcObject.xAreaOutRight(areaXMax);
}
} else {
mcObject.xAreaOutLeft(areaXMin);
}
if (objYMin >= areaYMin) {
if (areaYMax < objYMax) {
mcObject.xAreaOutBottom(areaYMax);
}
} else {
mcObject.xAreaOutTop(areaYMin);
}
}
function xAddTama(x, y, dx, dy, stageNum) {
var nameMC = ("tama" + indexTama);
lstTama[nameMC] = _root.attachMovie("mcTama", nameMC, indexTama + 3, {_x:x, _y:y, dx:dx, dy:dy});
if ((stageNum >= 1) && (4 >= stageNum)) {
lstTama[nameMC].gotoAndPlay("stage" + stageNum);
}
indexTama++;
if ((indexTama+1) >= 32) {
indexTama = 0;
}
}
function xRemoveTama(nameMC) {
lstTama[nameMC] = Nothing;
}
function xHitTestTama(mc) {
for (var nameMC in lstTama) {
var mcTama = lstTama[nameMC];
if ((mcTama != Nothing) && (mcTama.cntHitCancel == 0)) {
x = mcTama._x;
y = mcTama._y;
_pnt = {x:mc._x, y:mc._y};
mc._parent.localToGlobal(_pnt);
if ((x >= (_pnt.x + mc.bounds.xMin)) && ((_pnt.x + mc.bounds.xMax) >= x)) {
if ((y >= (_pnt.y + mc.bounds.yMin)) && ((_pnt.y + mc.bounds.yMax) >= y)) {
mc.xHitTama(mcTama);
}
}
}
}
}
function xLoadStage(nameStage, x, y) {
if (indexStage != 1) {
if (!((mcStage1 != Nothing) && (mcStage1.stageName == nameStage))) {
mcStage1 = _root.attachMovie(nameStage, "mcStage1", 1, {_x:x, _y:y, stageName:nameStage});
} else {
mcStage1._x = x;
mcStage1._y = y;
mcStage1._visible = true;
}
return(1);
}
if (!((mcStage2 != Nothing) && (mcStage2.stageName == nameStage))) {
mcStage2 = _root.attachMovie(nameStage, "mcStage2", 2, {_x:x, _y:y, stageName:nameStage});
} else {
mcStage2._x = x;
mcStage2._y = y;
mcStage2._visible = true;
}
return(2);
}
function xStageOutHantei() {
var mcStage = _root["mcStage" + indexStage];
var ret = false;
if (ins_owata._x >= 0) {
if (STAGE_WIDTH >= ins_owata._x) {
if (ins_owata._y >= 0) {
if (STAGE_HEIGHT < ins_owata._y) {
if (mcStage.stage_bottom != "nothing") {
ins_owata.enabled = false;
ins_owata.yy = ins_owata.yy - (STAGE_HEIGHT - 16);
stageMoveX = 0;
stageMoveY = -10;
cntStageMove = STAGE_HEIGHT / 10;
stageMoveOwata = ((STAGE_HEIGHT - 16) * -1) / cntStageMove;
xLoadStage(mcStage.stage_bottom, 0, STAGE_HEIGHT);
} else {
ret = true;
}
}
} else if (mcStage.stage_top != "nothing") {
ins_owata.enabled = false;
ins_owata.yy = ins_owata.yy + (STAGE_HEIGHT - 16);
stageMoveX = 0;
stageMoveY = 10;
cntStageMove = STAGE_HEIGHT / 10;
stageMoveOwata = (STAGE_HEIGHT - 16) / cntStageMove;
xLoadStage(mcStage.stage_top, 0, STAGE_HEIGHT * -1);
} else {
ret = true;
}
} else if (mcStage.stage_right != "nothing") {
ins_owata.enabled = false;
ins_owata.xx = ins_owata.xx - (STAGE_WIDTH - 16);
stageMoveX = -10;
stageMoveY = 0;
cntStageMove = STAGE_WIDTH / 10;
stageMoveOwata = ((STAGE_WIDTH - 16) * -1) / cntStageMove;
xLoadStage(mcStage.stage_right, STAGE_WIDTH, 0);
} else {
ret = true;
}
} else if (mcStage.stage_left != "nothing") {
ins_owata.enabled = false;
ins_owata.xx = ins_owata.xx + (STAGE_WIDTH - 16);
stageMoveX = 10;
stageMoveY = 0;
cntStageMove = STAGE_WIDTH / 10;
stageMoveOwata = (STAGE_WIDTH - 16) / cntStageMove;
xLoadStage(mcStage.stage_left, STAGE_WIDTH * -1, 0);
} else {
ret = true;
}
mcStage = Nothing;
return(ret);
}
function xStageMove() {
mcStage1._x = mcStage1._x + stageMoveX;
mcStage1._y = mcStage1._y + stageMoveY;
mcStage2._x = mcStage2._x + stageMoveX;
mcStage2._y = mcStage2._y + stageMoveY;
if (!stageMoveX) {
ins_owata._y = ins_owata._y + stageMoveOwata;
} else {
ins_owata._x = ins_owata._x + stageMoveOwata;
}
cntStageMove--;
if ((cntStageMove-1) == 0) {
if (indexStage != 1) {
mcStage2._visible = false;
indexStage = 1;
} else {
mcStage1._visible = false;
indexStage = 2;
}
ins_owata.sOnName = "";
ins_owata.enabled = true;
}
}
function xSwapStage() {
_root["mcStage" + indexStage].swapDepths(ins_owata.getDepth());
}
function xDokanIn() {
var flgOut = 0;
if (ins_owata._x == ins_owata.xx) {
flgOut = flgOut | 1;
} else {
if (ins_owata.xx >= ins_owata._x) {
ins_owata._x++;
} else {
ins_owata._x--;
}
if (Math.abs(ins_owata._x - ins_owata.xx) < 1) {
flgOut = flgOut | 1;
ins_owata.xx = ins_owata._x;
}
}
if (ins_owata._y == ins_owata.yy) {
flgOut = flgOut | 2;
} else {
if (ins_owata.yy >= ins_owata._y) {
ins_owata._y++;
} else {
ins_owata._y--;
}
if (Math.abs(ins_owata._y - ins_owata.yy) < 1) {
flgOut = flgOut | 2;
ins_owata.yy = ins_owata._y;
}
}
if (flgOut == 3) {
if (indexStage != 1) {
mcStage2.removeMovieClip();
mcStage2 = _root.attachMovie(ins_owata.sNextStage, "mcStage2", DEPTH_OWATA, {_x:0, _y:0, stageName:ins_owata.sNextStage});
} else {
mcStage1.removeMovieClip();
mcStage1 = _root.attachMovie(ins_owata.sNextStage, "mcStage1", DEPTH_OWATA, {_x:0, _y:0, stageName:ins_owata.sNextStage});
}
ins_owata.xx = ins_owata.dokanOutX;
ins_owata.yy = ins_owata.dokanOutY;
ins_owata.sNextStage = "";
if (ins_owata.sDeguchi == "u") {
ins_owata._x = ins_owata.xx;
ins_owata._y = ins_owata.yy + ((ins_owata.bounds.yMax - ins_owata.bounds.yMin) * 2);
} else if (ins_owata.sDeguchi == "d") {
ins_owata._x = ins_owata.xx;
ins_owata._y = ins_owata.yy - ((ins_owata.bounds.yMax - ins_owata.bounds.yMin) * 2);
} else if (ins_owata.sDeguchi == "l") {
ins_owata._x = ins_owata.xx + ((ins_owata.bounds.xMax - ins_owata.bounds.xMin) * 2);
ins_owata._y = ins_owata.yy;
ins_owata._xscale = 100;
} else if (ins_owata.sDeguchi == "r") {
ins_owata._x = ins_owata.xx - ((ins_owata.bounds.xMax - ins_owata.bounds.xMin) * 2);
ins_owata._y = ins_owata.yy;
ins_owata._xscale = -100;
}
ins_owata.sDeguchi;
ins_owata.sOnName = "dokan_out";
}
}
function xDokanOut() {
var bOut = false;
if (ins_owata._x == ins_owata.xx) {
if (ins_owata.yy >= ins_owata._y) {
ins_owata._y++;
} else {
ins_owata._y--;
}
if (Math.abs(ins_owata._y - ins_owata.yy) < 1) {
bOut = true;
}
} else {
if (ins_owata.xx >= ins_owata._x) {
ins_owata._x++;
} else {
ins_owata._x--;
}
if (Math.abs(ins_owata._x - ins_owata.xx) < 1) {
bOut = true;
}
}
if (bOut) {
ins_owata.sOnName = "";
ins_owata.enabled = true;
xSwapStage();
}
}
function xGetBoundsEx(mcParent, mc) {
if (mcParent._parent._parent != _root) {
return(xGetBoundsEx(mcParent._parent, mc));
}
var myBounds = mc.getBounds(mcParent._parent);
myBounds.xMin = myBounds.xMin - mcParent._x;
myBounds.xMax = myBounds.xMax - mcParent._x;
myBounds.yMin = myBounds.yMin - mcParent._y;
myBounds.yMax = myBounds.yMax - mcParent._y;
return(myBounds);
}
Frame 3
function xOwataStart() {
mcStage1 = _root.attachMovie(startStageName, "mcStage1", 1, {_x:0, _y:0, stageName:startStageName});
indexStage = 1;
var ins_owata = _root.attachMovie("mcOwata", "ins_owata", DEPTH_OWATA, {_x:startX, _y:startY});
}
function xRetry() {
if (mcStage1 != Nothing) {
mcStage1.removeMovieClip();
mcStage1 = Nothing;
}
if (mcStage2 != Nothing) {
mcStage2.removeMovieClip();
mcStage2 = Nothing;
}
ins_statusArea.barOwataHP.xSetBarValue(0);
ins_statusArea.barRentan.xSetBarValue(0);
ins_statusArea.barBuster.xSetBarValue(0);
ins_statusArea.barBuster.xSetColor(16777215);
ins_statusArea.tfCoin.text = "0";
xOwataStart();
}
xOwataStart();
stop();
Symbol 10 MovieClip Frame 1
stop();
Symbol 20 MovieClip [mcTama] Frame 1
var power = 1;
var bKantuu = false;
var cntHitCancel = 0;
var dyy = 0.05;
onEnterFrame = function () {
if ((((_x < 0) || (_root.STAGE_WIDTH < _x)) || (_y < 0)) || (_root.STAGE_HEIGHT < _y)) {
xRemoveThis();
return(null);
}
_x = _x + dx;
_y = _y + dy;
dy = dy + dyy;
if (cntHitCancel) {
cntHitCancel--;
}
};
function xRemoveThis() {
_root.xRemoveTama(this._name);
this.removeMovieClip();
}
Symbol 20 MovieClip [mcTama] Frame 2
power = 1;
bKantuu = false;
dyy = 0.04;
stop();
Symbol 20 MovieClip [mcTama] Frame 3
power = 2;
bKantuu = false;
dyy = 0.02;
stop();
Symbol 20 MovieClip [mcTama] Frame 4
power = 4;
bKantuu = false;
dyy = 0.01;
stop();
Symbol 20 MovieClip [mcTama] Frame 5
power = 10;
bKantuu = true;
dyy = 0;
stop();
Symbol 20 MovieClip [mcTama] Frame 6
power = 20;
bKantuu = true;
dyy = -0.09;
play();
Symbol 20 MovieClip [mcTama] Frame 12
gotoAndPlay("stage4");
Symbol 24 MovieClip Frame 1
stop();
Symbol 24 MovieClip Frame 2
play();
Symbol 24 MovieClip Frame 12
gotoAndStop("normal");
Symbol 26 MovieClip Frame 1
stop();
Symbol 26 MovieClip Frame 2
play();
Symbol 26 MovieClip Frame 9
gotoAndStop("normal");
Symbol 26 MovieClip Frame 10
play();
Symbol 26 MovieClip Frame 21
gotoAndPlay("tame");
Symbol 31 MovieClip Frame 41
var xx = _root.ins_owata._x;
Symbol 31 MovieClip Frame 42
_root.ins_owata._x = _root.ins_owata._x - 10;
Symbol 31 MovieClip Frame 43
if ((xx - _root.ins_owata._x) < 80) {
gotoAndPlay(42);
}
Symbol 31 MovieClip Frame 64
_root.ins_owata.xThiunThiun();
Symbol 32 MovieClip [mcOwata] Frame 1
var dx = 0;
var dy = 0;
var bounds = ins_hit.getBounds(_root);
bounds.xMin = bounds.xMin - _x;
bounds.xMax = bounds.xMax - _x;
bounds.yMin = bounds.yMin - _y;
bounds.yMax = bounds.yMax - _y;
var xx = _x;
var yy = _y;
var dx1 = 0;
var dy1 = 0;
var dx2 = 0;
var dy2 = 0;
var nKasoku = 1;
var nKansei = 0.75;
var nRentan = 0;
var nCoin = 0;
var bJump = false;
var cntJump = 0;
var bHitHasigo = false;
var bHitHasigo_ = false;
var sFlameName = "";
var blBuster = true;
var cntBuster = 0;
var cntSliding = 0;
var count30 = 30;
var sOnName = "";
var sOnName_ = "";
var bEnterFrame = true;
var sNextStage = "";
var dokanOutX = 0;
var dokanOutY = 0;
var sDeguchi = "";
var bWater = false;
_root.ins_statusArea.barOwataHP.xSetBarValue(100);
_root.ins_statusArea.barRentan.xSetBarValue(0);
onEnterFrame = function () {
if (!bEnterFrame) {
return(null);
}
if (_root.blStop) {
return(null);
}
if (!enabled) {
if (sOnName != "dokan_in") {
if (sOnName != "dokan_out") {
_root.xStageMove();
} else {
_root.xDokanOut();
}
} else {
_root.xDokanIn();
}
return(null);
}
if (!_root.xStageOutHantei()) {
if (!enabled) {
return(null);
}
} else {
xThiunThiun();
return(null);
}
if (!bWater) {
nHosei = 1;
} else if (!bJump) {
nHosei = 0.4;
} else {
nHosei = 0.6;
}
count30--;
if ((count30-1) == 0) {
count30 = 30;
xEnterFrame30();
}
if (Key.isDown(79)) {
gotoAndStop("stylish");
return(null);
}
if (sOnName.subString(0, 5) == "dokan") {
if (Key.isDown(65)) {
if (sOnName == "dokan_r") {
sOnName = "dokan_in";
enabled = false;
xx = _x - ((bounds.xMax - bounds.xMin) * 2);
yy = _y;
_root.xSwapStage();
dy2 = 0;
dy1 = 0;
dx2 = 0;
dx1 = 0;
return(null);
}
}
if (Key.isDown(68)) {
if (sOnName == "dokan_l") {
sOnName = "dokan_in";
enabled = false;
xx = _x + ((bounds.xMax - bounds.xMin) * 2);
yy = _y;
_root.xSwapStage();
dy2 = 0;
dy1 = 0;
dx2 = 0;
dx1 = 0;
return(null);
}
}
if (Key.isDown(87)) {
if (sOnName == "dokan_d") {
sOnName = "dokan_in";
enabled = false;
xx = _x;
yy = _y - ((bounds.yMax - bounds.yMin) * 2);
_root.xSwapStage();
dy2 = 0;
dy1 = 0;
dx2 = 0;
dx1 = 0;
return(null);
}
}
if (Key.isDown(83)) {
if (sOnName == "dokan_u") {
sOnName = "dokan_in";
enabled = false;
xx = _x;
yy = _y + ((bounds.yMax - bounds.yMin) * 2);
_root.xSwapStage();
dy2 = 0;
dy1 = 0;
dx2 = 0;
dx1 = 0;
return(null);
}
}
}
if (!Key.isDown(74)) {
blBuster = true;
if (cntBuster >= 15) {
xBusterShot(xGetBusterLevel());
ins_hand_r.gotoAndStop("normal");
_root.ins_statusArea.barBuster.xSetBarValue(0);
}
cntBuster = 0;
} else {
if (blBuster) {
ins_hand_r.gotoAndPlay("buster");
if (nRentan < 10) {
tamaStage = 0;
} else {
tamaStage = 1;
xAddRentan(-10);
}
xBusterShot(tamaStage);
blBuster = false;
}
cntBuster++;
if (cntBuster != 15) {
if (120 >= cntBuster) {
_root.ins_statusArea.barBuster.xSetBarValue(xGetBusterLevel() * 25);
// unexpected jump
}
_root.ins_statusArea.barBuster.xSetBarValue(150);
_root.ins_statusArea.barBuster.xSetColor(16711680);
xThiunThiun();
return(null);
}
ins_hand_r.gotoAndPlay("tame");
}
if (cntSliding == 0) {
if ((Key.isDown(83) && (!bJump)) && (!bHitHasigo)) {
gotoAndStop("sliding");
if (0 >= _xscale) {
if (nKasoku >= 1) {
dx1 = 10;
} else {
dx1 = 5 + (5 * nKasoku);
}
} else if (nKasoku >= 1) {
dx1 = -10;
} else {
dx1 = -5 - (5 * nKasoku);
}
cntSliding = 15;
}
} else if (0 >= cntSliding) {
cntSliding++;
} else {
cntSliding--;
if ((cntSliding-1) != 0) {
if (Math.abs(dx1) < 10) {
if (dx1 >= 0) {
dx1 = dx1 + 0.5;
} else {
dx1 = dx1 - 0.5;
}
}
} else {
gotoAndStop("stop");
dx1 = 0;
cntSliding = -3;
}
}
if (0 < cntSliding) {
if (!Key.isDown(75)) {
if (!bJump) {
cntJump = 0;
} else {
cntJump = 100;
}
} else if (cntJump >= 100) {
cntJump++;
} else {
cntJump = 100;
}
} else {
if (bHitHasigo) {
if (!Key.isDown(65)) {
if (!Key.isDown(68)) {
dx1 = 0;
} else {
dx1 = 2;
_xscale = -100;
}
} else {
dx1 = -2;
_xscale = 100;
}
if (!Key.isDown(87)) {
if (!Key.isDown(83)) {
dy1 = 0;
} else {
dy1 = 2;
}
} else {
dy1 = -2;
}
if (!((dy1 == 0) && (dx1 == 0))) {
if (sFlameName != "hasigoMove") {
gotoAndStop("hasigoMove");
}
} else if (sFlameName != "hasigo") {
gotoAndStop("hasigo");
}
} else if (!Key.isDown(65)) {
if (!Key.isDown(68)) {
if (!bJump) {
if (sFlameName != "stop") {
gotoAndStop("stop");
}
} else {
gotoAndStop("jump");
}
if (0.1 < Math.abs(dx1)) {
dx1 = dx1 * nKansei;
} else {
dx1 = 0;
}
} else {
dx1 = dx1 + nKasoku;
if (5 < dx1) {
dx1 = 5;
}
_xscale = -100;
if (!bJump) {
if (sFlameName != "move") {
gotoAndPlay("move");
}
} else {
gotoAndStop("jump");
}
}
} else {
dx1 = dx1 - nKasoku;
if (dx1 < -5) {
dx1 = -5;
}
_xscale = 100;
if (!bJump) {
if (sFlameName != "move") {
gotoAndPlay("move");
}
} else {
gotoAndStop("jump");
}
}
if (!Key.isDown(75)) {
if (!bJump) {
cntJump = 0;
} else {
cntJump = 100;
}
} else if (!bWater) {
if (cntJump >= 13) {
if ((cntJump >= 100) && (105 >= cntJump)) {
if (bJump) {
cntJump++;
} else {
dy1 = -7;
cntJump = 1;
}
}
} else {
dy1 = -7;
cntJump++;
}
} else if ((cntJump >= 100) || (cntJump == 0)) {
if ((-7 + 7) >= dy1) {
dy1 = -7;
} else {
dy1 = dy1 - 7;
}
cntJump = 12;
ins_hand_l.gotoAndPlay("swim");
}
}
_x = xx;
_y = yy;
dx = (dx1 + dx2) * nHosei;
dy = (dy1 + dy2) * nHosei;
dx2 = 0;
dy2 = 0;
xx = xx + dx;
yy = yy + dy;
dy1 = dy1 + 0.5;
if ((10 * nHosei) < dy1) {
dy1 = 10 * nHosei;
}
nKasoku = 2;
nKansei = 0.9;
bJump = true;
bHitHasigo_ = bHitHasigo;
bHitHasigo = false;
sOnName_ = sOnName;
sOnName = "";
bWater = false;
};
function xGetBusterLevel() {
num = Math.floor(cntBuster / 20);
if (4 < num) {
num = 4;
}
return(num);
}
function xBusterShot(tamaStage) {
var pnt = {x:ins_hand_r._x, y:ins_hand_r._y};
this.localToGlobal(pnt);
if (sFlameName != "sliding") {
if (0 >= _xscale) {
_root.xAddTama(pnt.x, pnt.y, 8, 0, tamaStage);
} else {
_root.xAddTama(pnt.x, pnt.y, -8, 0, tamaStage);
}
} else {
_root.xAddTama(pnt.x, pnt.y, 0, -8, tamaStage);
}
}
function xEnterFrame30() {
xAddRentan(-1);
}
function xBlockHitTop(mcBlock, bl_y_min) {
if (!bHitHasigo_) {
dy1 = 0;
bJump = false;
nKasoku = mcBlock.nKasoku;
nKansei = mcBlock.nKansei;
yy = (bl_y_min - bounds.yMax) + 0.1;
}
}
function xBlockHitLeft(mcBlock, bl_x_min) {
dx1 = 0;
xx = (bl_x_min - bounds.xMax) - 0.1;
}
function xBlockHitRight(mcBlock, bl_x_max) {
dx1 = 0;
xx = (bl_x_max - bounds.xMin) + 0.1;
}
function xBlockHitBottom(mcBlock, bl_y_max) {
dy1 = 0;
yy = (bl_y_max - bounds.yMin) + 0.1;
cntJump = 99;
}
function xGetBounds() {
bounds.yMin = ins_hit._y;
bounds.yMax = bounds.yMin + ins_hit._height;
return({xMin:xx + bounds.xMin, xMax:xx + bounds.xMax, yMin:yy + bounds.yMin, yMax:yy + bounds.yMax});
}
function xThiunThiun() {
_root.ins_statusArea.barOwataHP.xSetBarValue(0);
_root.ins_statusArea.btnReTry._visible = true;
_root.attachMovie("mcThiun", "ins_Thiun", _root.DEPTH_THIUN, {_x:_x, _y:_y});
this.removeMovieClip();
}
function xAddRentan(n) {
nRentan = nRentan + n;
if (100 >= nRentan) {
if (nRentan < 0) {
nRentan = 0;
}
} else {
nRentan = 100;
}
_root.ins_statusArea.barRentan.xSetBarValue(nRentan);
if (nRentan == 100) {
xThiunThiun();
}
}
function xAddCoin(n) {
nCoin = nCoin + n;
_root.ins_statusArea.tfCoin.text = nCoin;
}
Symbol 32 MovieClip [mcOwata] Frame 2
sFlameName = "stop";
stop();
Symbol 32 MovieClip [mcOwata] Frame 3
sFlameName = "move";
play();
Symbol 32 MovieClip [mcOwata] Frame 11
gotoAndPlay("move");
Symbol 32 MovieClip [mcOwata] Frame 12
sFlameName = "jump";
Symbol 32 MovieClip [mcOwata] Frame 13
sFlameName = "sliding";
Symbol 32 MovieClip [mcOwata] Frame 14
sFlameName = "hasigo";
Symbol 32 MovieClip [mcOwata] Frame 15
sFlameName = "hasigoMove";
play();
Symbol 32 MovieClip [mcOwata] Frame 23
gotoAndPlay("hasigoMove");
Symbol 32 MovieClip [mcOwata] Frame 24
bEnterFrame = false;
sFlameName = "stylish";
_xscale = 100;
stop();
Symbol 33 MovieClip [mcAwa] Frame 1
if (dy == eval("undefined")) {
dy = -0.4;
}
onEnterFrame = function () {
_y = _y + dy;
if (_y < _parent.bounds.yMin) {
removeMovieClip(this);
}
};
Symbol 33 MovieClip [mcAwa] Frame 26
gotoAndPlay(2);
Instance of Symbol 35 MovieClip in Symbol 36 MovieClip Frame 1
onClipEvent (load) {
var nn1;
var nn2;
var cnt = 1;
var edging = (0 / (255 * Math.PI));
if ("\u5DE6\u53F3" != "\u5DE6\u53F3") {
nn2 = this._y;
if (!(0 & 1)) {
nn1 = nn2 + 160;
} else {
nn1 = nn2 + 160;
}
} else {
nn2 = this._x;
if (!(0 & 1)) {
nn1 = nn2 + 160;
} else {
nn1 = nn2 + 160;
}
}
}
onClipEvent (enterFrame) {
var ratio = (cnt / 48);
var ratio1 = (ratio + (edging * Math.sin(Math.PI * ratio)));
var ratio2 = (1 - ratio1);
if ("\u5DE6\u53F3" != "\u5DE6\u53F3") {
this._y = (ratio2 * nn2) + (ratio1 * nn1);
} else {
this._x = (ratio2 * nn2) + (ratio1 * nn1);
}
this._alpha = 100 - (100 * ratio);
this._xscale = (100 * ratio2) + (100 * ratio1);
this._yscale = this._xscale;
if (cnt < 48) {
cnt++;
}
}
Instance of Symbol 35 MovieClip in Symbol 36 MovieClip Frame 1
onClipEvent (load) {
var nn1;
var nn2;
var cnt = 1;
var edging = (0 / (255 * Math.PI));
if ("\u5DE6\u53F3" != "\u5DE6\u53F3") {
nn2 = this._y;
if (!(0 & 1)) {
nn1 = nn2 - 160;
} else {
nn1 = nn2 - 160;
}
} else {
nn2 = this._x;
if (!(0 & 1)) {
nn1 = nn2 - 160;
} else {
nn1 = nn2 - 160;
}
}
}
onClipEvent (enterFrame) {
var ratio = (cnt / 48);
var ratio1 = (ratio + (edging * Math.sin(Math.PI * ratio)));
var ratio2 = (1 - ratio1);
if ("\u5DE6\u53F3" != "\u5DE6\u53F3") {
this._y = (ratio2 * nn2) + (ratio1 * nn1);
} else {
this._x = (ratio2 * nn2) + (ratio1 * nn1);
}
this._alpha = 100 - (100 * ratio);
this._xscale = (100 * ratio2) + (100 * ratio1);
this._yscale = this._xscale;
if (cnt < 48) {
cnt++;
}
}
Symbol 36 MovieClip Frame 48
stop();
Instance of Symbol 35 MovieClip in Symbol 37 MovieClip Frame 1
onClipEvent (load) {
var nn1;
var nn2;
var cnt = 1;
var edging = (0 / (255 * Math.PI));
if ("\u5DE6\u53F3" != "\u5DE6\u53F3") {
nn2 = this._y;
if (!(0 & 1)) {
nn1 = nn2 + 160;
} else {
nn1 = nn2 + 160;
}
} else {
nn2 = this._x;
if (!(0 & 1)) {
nn1 = nn2 + 160;
} else {
nn1 = nn2 + 160;
}
}
}
onClipEvent (enterFrame) {
var ratio = (cnt / 48);
var ratio1 = (ratio + (edging * Math.sin(Math.PI * ratio)));
var ratio2 = (1 - ratio1);
if ("\u5DE6\u53F3" != "\u5DE6\u53F3") {
this._y = (ratio2 * nn2) + (ratio1 * nn1);
} else {
this._x = (ratio2 * nn2) + (ratio1 * nn1);
}
this._alpha = 100 - (100 * ratio);
this._xscale = (100 * ratio2) + (100 * ratio1);
this._yscale = this._xscale;
if (cnt < 48) {
cnt++;
}
}
Instance of Symbol 35 MovieClip in Symbol 37 MovieClip Frame 1
onClipEvent (load) {
var nn1;
var nn2;
var cnt = 1;
var edging = (0 / (255 * Math.PI));
if ("\u5DE6\u53F3" != "\u5DE6\u53F3") {
nn2 = this._y;
if (!(0 & 1)) {
nn1 = nn2 - 160;
} else {
nn1 = nn2 - 160;
}
} else {
nn2 = this._x;
if (!(0 & 1)) {
nn1 = nn2 - 160;
} else {
nn1 = nn2 - 160;
}
}
}
onClipEvent (enterFrame) {
var ratio = (cnt / 48);
var ratio1 = (ratio + (edging * Math.sin(Math.PI * ratio)));
var ratio2 = (1 - ratio1);
if ("\u5DE6\u53F3" != "\u5DE6\u53F3") {
this._y = (ratio2 * nn2) + (ratio1 * nn1);
} else {
this._x = (ratio2 * nn2) + (ratio1 * nn1);
}
this._alpha = 100 - (100 * ratio);
this._xscale = (100 * ratio2) + (100 * ratio1);
this._yscale = this._xscale;
if (cnt < 48) {
cnt++;
}
}
Symbol 37 MovieClip Frame 48
stop();
Instance of Symbol 35 MovieClip in Symbol 38 MovieClip Frame 1
onClipEvent (load) {
var nn1;
var nn2;
var cnt = 1;
var edging = (0 / (255 * Math.PI));
if ("\u5DE6\u53F3" != "\u5DE6\u53F3") {
nn2 = this._y;
if (!(0 & 1)) {
nn1 = nn2 + 160;
} else {
nn1 = nn2 + 160;
}
} else {
nn2 = this._x;
if (!(0 & 1)) {
nn1 = nn2 + 160;
} else {
nn1 = nn2 + 160;
}
}
}
onClipEvent (enterFrame) {
var ratio = (cnt / 48);
var ratio1 = (ratio + (edging * Math.sin(Math.PI * ratio)));
var ratio2 = (1 - ratio1);
if ("\u5DE6\u53F3" != "\u5DE6\u53F3") {
this._y = (ratio2 * nn2) + (ratio1 * nn1);
} else {
this._x = (ratio2 * nn2) + (ratio1 * nn1);
}
this._alpha = 100 - (100 * ratio);
this._xscale = (100 * ratio2) + (100 * ratio1);
this._yscale = this._xscale;
if (cnt < 48) {
cnt++;
}
}
Instance of Symbol 35 MovieClip in Symbol 38 MovieClip Frame 1
onClipEvent (load) {
var nn1;
var nn2;
var cnt = 1;
var edging = (0 / (255 * Math.PI));
if ("\u5DE6\u53F3" != "\u5DE6\u53F3") {
nn2 = this._y;
if (!(0 & 1)) {
nn1 = nn2 - 160;
} else {
nn1 = nn2 - 160;
}
} else {
nn2 = this._x;
if (!(0 & 1)) {
nn1 = nn2 - 160;
} else {
nn1 = nn2 - 160;
}
}
}
onClipEvent (enterFrame) {
var ratio = (cnt / 48);
var ratio1 = (ratio + (edging * Math.sin(Math.PI * ratio)));
var ratio2 = (1 - ratio1);
if ("\u5DE6\u53F3" != "\u5DE6\u53F3") {
this._y = (ratio2 * nn2) + (ratio1 * nn1);
} else {
this._x = (ratio2 * nn2) + (ratio1 * nn1);
}
this._alpha = 100 - (100 * ratio);
this._xscale = (100 * ratio2) + (100 * ratio1);
this._yscale = this._xscale;
if (cnt < 48) {
cnt++;
}
}
Symbol 38 MovieClip Frame 48
stop();
Instance of Symbol 35 MovieClip in Symbol 39 MovieClip Frame 1
onClipEvent (load) {
var nn1;
var nn2;
var cnt = 1;
var edging = (0 / (255 * Math.PI));
if ("\u5DE6\u53F3" != "\u5DE6\u53F3") {
nn2 = this._y;
if (!(0 & 1)) {
nn1 = nn2 + 160;
} else {
nn1 = nn2 + 160;
}
} else {
nn2 = this._x;
if (!(0 & 1)) {
nn1 = nn2 + 160;
} else {
nn1 = nn2 + 160;
}
}
}
onClipEvent (enterFrame) {
var ratio = (cnt / 48);
var ratio1 = (ratio + (edging * Math.sin(Math.PI * ratio)));
var ratio2 = (1 - ratio1);
if ("\u5DE6\u53F3" != "\u5DE6\u53F3") {
this._y = (ratio2 * nn2) + (ratio1 * nn1);
} else {
this._x = (ratio2 * nn2) + (ratio1 * nn1);
}
this._alpha = 100 - (100 * ratio);
this._xscale = (100 * ratio2) + (100 * ratio1);
this._yscale = this._xscale;
if (cnt < 48) {
cnt++;
}
}
Instance of Symbol 35 MovieClip in Symbol 39 MovieClip Frame 1
onClipEvent (load) {
var nn1;
var nn2;
var cnt = 1;
var edging = (0 / (255 * Math.PI));
if ("\u5DE6\u53F3" != "\u5DE6\u53F3") {
nn2 = this._y;
if (!(0 & 1)) {
nn1 = nn2 - 160;
} else {
nn1 = nn2 - 160;
}
} else {
nn2 = this._x;
if (!(0 & 1)) {
nn1 = nn2 - 160;
} else {
nn1 = nn2 - 160;
}
}
}
onClipEvent (enterFrame) {
var ratio = (cnt / 48);
var ratio1 = (ratio + (edging * Math.sin(Math.PI * ratio)));
var ratio2 = (1 - ratio1);
if ("\u5DE6\u53F3" != "\u5DE6\u53F3") {
this._y = (ratio2 * nn2) + (ratio1 * nn1);
} else {
this._x = (ratio2 * nn2) + (ratio1 * nn1);
}
this._alpha = 100 - (100 * ratio);
this._xscale = (100 * ratio2) + (100 * ratio1);
this._yscale = this._xscale;
if (cnt < 48) {
cnt++;
}
}
Symbol 39 MovieClip Frame 48
stop();
Symbol 40 MovieClip [mcThiun] Frame 1
var snd_Thiun = new Sound(this);
snd_Thiun.attachSound("sndThiun");
snd_Thiun.start();
Symbol 40 MovieClip [mcThiun] Frame 48
stop();
Symbol 48 MovieClip Frame 1
function xSetBarValue(n) {
ins_bar._width = (this._width * n) / 100;
}
function xSetColor(new_color) {
c = new Color(ins_bar);
c.setRGB(new_color);
}
if (barColor != eval("undefined")) {
xSetColor(barColor);
}
Instance of Symbol 18 MovieClip [mcMask] "ins_bar" in Symbol 48 MovieClip Frame 1
onClipEvent (load) {
_width = 0;
}
Symbol 53 Button
on (release) {
btnReTry._visible = false;
_root.xRetry();
}
on () {
}
Symbol 54 MovieClip [mcStatusArea] Frame 1
btnReTry._visible = false;
tfCoin.textColor = 16777215 /* 0xFFFFFF */;
tfCoin._width = 0;
tfCoin.autoSize = "left";
tfCoin.text = "0";
tfVersion.bold = true;
tfVersion.text = "Ver 0.1.2\u03B2";
function xSetBarEnemy(n) {
barEnemy.xSetBarValue(n);
barEnemy.visibleCount = 30;
barEnemy._visible = true;
}
Instance of Symbol 48 MovieClip "barEnemy" in Symbol 54 MovieClip [mcStatusArea] Frame 1
onClipEvent (load) {
var barColor = 16711680;
var visibleCount = 0;
_visible = false;
}
onClipEvent (enterFrame) {
if (visibleCount) {
visibleCount--;
if ((visibleCount-1) == 0) {
_visible = false;
}
}
}
Symbol 56 MovieClip Frame 1
var dx = 0;
var dy = 0;
var bounds = _root.xGetBoundsEx(this, ins_hit);
var xx = _x;
var yy = _y;
_parent.lstEnemy.push(this);
if (sp != eval("undefined")) {
if (sp < 0) {
sp = sp * -1;
}
} else {
sp = 2;
}
if (hp == eval("undefined")) {
hp = 20;
}
hp_ = hp;
x_ = _x;
y_ = _y;
onEnterFrame = function () {
if (!_parent._visible) {
hp = hp_;
xx = x_;
_x = x_;
yy = y_;
_y = y_;
return(null);
}
if (_root.blStop) {
return(null);
}
if (!_root.ins_owata.enabled) {
return(null);
}
if ((_root.STAGE_HEIGHT + ins_hit._height) < _y) {
this.swapDepths(0);
this.removeMovieClip();
return(null);
}
_x = xx;
_y = yy;
dx = _root.ins_owata._x - xx;
if (2 >= dx) {
if (dx < -2) {
dx = sp * -1;
}
} else {
dx = sp;
}
if (0 >= dx) {
_xscale = Math.abs(_xscale) * -1;
} else {
_xscale = Math.abs(_xscale);
}
if (_root.xHitTestBlock(this, _root.ins_owata, 0)) {
_root.ins_owata.xThiunThiun();
}
_root.xHitTestTama(this);
xx = xx + dx;
yy = yy + dy;
dy = dy + 0.5;
if (10 < dy) {
dy = 10;
}
};
function xBlockHitTop(mcBlock, bl_y_min) {
dy = 0;
yy = bl_y_min - bounds.yMax;
}
function xBlockHitLeft(mcBlock, bl_x_min) {
dx = dx * -1;
}
function xBlockHitRight(mcBlock, bl_x_max) {
dx = dx * -1;
}
function xBlockHitBottom(mcBlock, bl_y_max) {
dy = 0;
}
function xGetBounds() {
_pnt = {x:xx, y:yy};
_parent.localToGlobal(_pnt);
return({xMin:_pnt.x + bounds.xMin, xMax:_pnt.x + bounds.xMax, yMin:_pnt.y + bounds.yMin, yMax:_pnt.y + bounds.yMax});
}
function xHitTama(mcTama) {
hp = hp - mcTama.power;
if (!mcTama.bKantuu) {
mcTama.xRemoveThis();
}
if (0 >= hp) {
_root.ins_statusArea.xSetBarEnemy(0);
this.swapDepths(0);
removeMovieClip(this);
} else {
_root.ins_statusArea.xSetBarEnemy((hp * 100) / hp_);
if (0 >= dx) {
dx--;
} else {
dx++;
}
}
}
Symbol 56 MovieClip Frame 9
gotoAndPlay(2);
Symbol 59 MovieClip Frame 1
if (dx == eval("undefined")) {
dx = 2;
}
var dy = 0;
var bounds = _root.xGetBoundsEx(this, ins_hit);
var xx = _x;
var yy = _y;
_parent.lstEnemy.push(this);
if (hp == eval("undefined")) {
hp = 10;
}
hp_ = hp;
x_ = _x;
y_ = _y;
dx_ = dx;
onEnterFrame = function () {
if (!_parent._visible) {
hp = hp_;
xx = x_;
_x = x_;
yy = y_;
_y = y_;
dx = dx_;
return(null);
}
if (_root.blStop) {
return(null);
}
if (!_root.ins_owata.enabled) {
return(null);
}
if (dy) {
dx = dx * -1;
xx = xx + dx;
}
_x = xx;
_y = yy;
if (0 >= dx) {
_xscale = Math.abs(_xscale);
} else {
_xscale = Math.abs(_xscale) * -1;
}
if (_root.xHitTestBlock(this, _root.ins_owata, 0)) {
_root.ins_owata.xThiunThiun();
}
_root.xHitTestTama(this);
xx = xx + dx;
yy = yy + dy;
dy = dy + 0.5;
if (10 < dy) {
dy = 10;
}
};
function xBlockHitTop(mcBlock, bl_y_min) {
dy = 0;
yy = bl_y_min - bounds.yMax;
}
function xBlockHitLeft(mcBlock, bl_x_min) {
dx = dx * -1;
xx = xx + dx;
}
function xBlockHitRight(mcBlock, bl_x_max) {
dx = dx * -1;
xx = xx + dx;
}
function xBlockHitBottom(mcBlock, bl_y_max) {
dy = 0;
}
function xGetBounds() {
_pnt = {x:xx, y:yy};
_parent.localToGlobal(_pnt);
return({xMin:_pnt.x + bounds.xMin, xMax:_pnt.x + bounds.xMax, yMin:_pnt.y + bounds.yMin, yMax:_pnt.y + bounds.yMax});
}
function xHitTama(mcTama) {
n = mcTama.power;
hp = hp - n;
if (!mcTama.bKantuu) {
mcTama.xRemoveThis();
}
if (0 >= hp) {
_root.ins_statusArea.xSetBarEnemy(0);
this.swapDepths(0);
removeMovieClip(this);
} else {
_root.ins_statusArea.xSetBarEnemy((hp * 100) / hp_);
if (0 >= dx) {
dx = dx - n;
} else {
dx = dx + n;
}
}
}
Symbol 59 MovieClip Frame 9
gotoAndPlay(2);
Symbol 60 MovieClip Frame 1
function xGetRotation(mc, r) {
if (mc != _root) {
r = xGetRotation(mc._parent, r + mc._rotation);
}
return(r);
}
result = getBounds(_root);
var r = xGetRotation(this, 0);
while (r < 0) {
r = r + 360;
}
while (360 < r) {
r = r - 360;
}
if (!((r == 0) || (r == 180))) {
if ((r == 90) || (r == 270)) {
_yscale = 1600 / (result.xMax - result.xMin);
}
} else {
_yscale = 1600 / (result.yMax - result.yMin);
}
stop();
Symbol 62 MovieClip Frame 1
var dx = 0;
var dy = 0;
var bounds = _root.xGetBoundsEx(this, ins_hit);
if (nKasoku == eval("undefined")) {
nKasoku = 1;
}
if (nKansei == eval("undefined")) {
nKansei = 0.75;
}
if (bVisible == eval("undefined")) {
bVisible = true;
}
if (flgHit == eval("undefined")) {
flgHit = ((_root.HIT_TOP | _root.HIT_LEFT) | _root.HIT_RIGHT) | _root.HIT_BOTTOM;
}
if (blKieru) {
flgHit = flgHit & 14;
}
stop();
onEnterFrame = function () {
if (!_parent._visible) {
return(null);
}
if (_root.blStop) {
return(null);
}
if (!_root.ins_owata.enabled) {
return(null);
}
if (1 < _currentframe) {
return(null);
}
if (_visible || (bVisible)) {
if (_root.xHitTestBlock(this, _root.ins_owata, flgHit) == _root.HIT_BOTTOM) {
_visible = true;
if (_visible) {
play();
}
} else if (_root.xHitTestBlock(this, _root.ins_owata, flgHit) == _root.HIT_TOP) {
if (blKieru) {
_visible = false;
}
}
_root.xHitTestBlock(this, _root.ins_owata, flgHit);
}
if (!_visible) {
return(null);
}
_parent.xHitTestBlock(this, flgHit);
_root.xHitTestTama(this);
};
function xHitTama(mcTama) {
if (!mcTama.bKantuu) {
mcTama.xRemoveThis();
}
}
Symbol 62 MovieClip Frame 21
this.swapDepths(0);
this.removeMovieClip();
Symbol 63 MovieClip Frame 1
var dx = 0;
var dy = 0;
var bounds = _root.xGetBoundsEx(this, this);
if (nKasoku == eval("undefined")) {
nKasoku = 1;
}
if (nKansei == eval("undefined")) {
nKansei = 0.75;
}
if (flgHit == eval("undefined")) {
if (_rotation == 90) {
flgHit = _root.HIT_RIGHT;
} else if (_rotation == -90) {
flgHit = _root.HIT_LEFT;
} else if (_rotation == 180) {
flgHit = _root.HIT_BOTTOM;
} else {
flgHit = _root.HIT_TOP;
}
}
stop();
onEnterFrame = function () {
if (!_parent._visible) {
return(null);
}
if (_root.blStop) {
return(null);
}
if (!_root.ins_owata.enabled) {
return(null);
}
_root.xHitTestBlock(this, _root.ins_owata, flgHit);
_parent.xHitTestBlock(this, flgHit);
};
Symbol 64 MovieClip Frame 1
var dx = 0;
var dy = 0;
var bounds = _root.xGetBoundsEx(this, ins_hit);
if (nKasoku == eval("undefined")) {
nKasoku = 1;
}
if (nKansei == eval("undefined")) {
nKansei = 0.75;
}
if (sNextStage == eval("undefined")) {
sNextStage = "";
}
if (outX == eval("undefined")) {
outX = 0;
}
if (outY == eval("undefined")) {
outY = 0;
}
if (sDeguchi == eval("undefined")) {
sDeguchi = "u";
}
var flgHit = (((_root.HIT_TOP | _root.HIT_LEFT) | _root.HIT_RIGHT) | _root.HIT_BOTTOM);
stop();
onEnterFrame = function () {
if (!_parent._visible) {
return(null);
}
if (_root.blStop) {
return(null);
}
if (!_root.ins_owata.enabled) {
return(null);
}
if (!sNextStage.length) {
_root.xHitTestBlock(this, _root.ins_owata, flgHit);
} else {
if (_root.xHitTestBlock(this, _root.ins_owata, flgHit) == _root.HIT_TOP) {
if (_rotation == 0) {
_root.ins_owata.sOnName = "dokan_u";
xSetDokanParam();
}
} else if (_root.xHitTestBlock(this, _root.ins_owata, flgHit) == _root.HIT_LEFT) {
if (_rotation == -90) {
_root.ins_owata.sOnName = "dokan_l";
xSetDokanParam();
}
} else if (_root.xHitTestBlock(this, _root.ins_owata, flgHit) == _root.HIT_RIGHT) {
if (_rotation == 90) {
_root.ins_owata.sOnName = "dokan_r";
xSetDokanParam();
}
} else if (_root.xHitTestBlock(this, _root.ins_owata, flgHit) == _root.HIT_BOTTOM) {
if (_rotation == 180) {
_root.ins_owata.sOnName = "dokan_d";
xSetDokanParam();
}
}
_root.xHitTestBlock(this, _root.ins_owata, flgHit);
}
_parent.xHitTestBlock(this, flgHit);
_root.xHitTestTama(this);
};
function xHitTama(mcTama) {
if (!mcTama.bKantuu) {
mcTama.xRemoveThis();
}
}
function xSetDokanParam() {
_root.ins_owata.sNextStage = sNextStage;
_root.ins_owata.dokanOutX = outX;
_root.ins_owata.dokanOutY = outY;
_root.ins_owata.sDeguchi = sDeguchi;
}
Symbol 65 MovieClip [X47_Y49] Frame 1
var stage_top = "nothing";
var stage_left = "nothing";
var stage_right = "X48_Y49";
var stage_bottom = "nothing";
var lstEnemy = new Array();
_root.ins_statusArea.tfStageName.text = "\u6575\u306E\u30B5\u30F3\u30D7\u30EB";
stop();
function xHitTestBlock(mcBlock, flgHit) {
if (this._visible) {
for (var nameMC in lstEnemy) {
if (lstEnemy[nameMC] != Nothing) {
_root.xHitTestBlock(mcBlock, lstEnemy[nameMC], flgHit);
}
}
}
}
Instance of Symbol 56 MovieClip in Symbol 65 MovieClip [X47_Y49] Frame 1
onClipEvent (load) {
sp = 6;
}
Instance of Symbol 59 MovieClip in Symbol 65 MovieClip [X47_Y49] Frame 1
onClipEvent (load) {
hp = 50;
}
Instance of Symbol 64 MovieClip in Symbol 65 MovieClip [X47_Y49] Frame 1
onClipEvent (load) {
sNextStage = "blackHole";
outX = _root.STAGE_WIDTH / 2;
outY = 50;
sDeguchi = "d";
}
Symbol 66 MovieClip Frame 1
if (nShift == eval("undefined")) {
nShift = 4;
}
if (bYoko == eval("undefined")) {
bYoko = false;
}
if (!bYoko) {
dx = 0;
dy = nShift;
} else {
dx = nShift;
dy = 0;
}
var bounds = _root.xGetBoundsEx(this, ins_hit);
if (nKasoku == eval("undefined")) {
nKasoku = 1;
}
if (nKansei == eval("undefined")) {
nKansei = 0.75;
}
if (flgHit == eval("undefined")) {
flgHit = ((_root.HIT_TOP | _root.HIT_LEFT) | _root.HIT_RIGHT) | _root.HIT_BOTTOM;
}
stop();
onEnterFrame = function () {
if (!_parent._visible) {
return(null);
}
if (_root.blStop) {
return(null);
}
if (!_root.ins_owata.enabled) {
return(null);
}
if (!bYoko) {
if (0 >= dy) {
if ((_y + bounds.yMax) < 0) {
_y = _root.STAGE_HEIGHT - bounds.yMin;
}
} else if (_root.STAGE_HEIGHT < (_y + bounds.yMin)) {
_y = bounds.yMax * -1;
}
} else if (0 >= dx) {
if ((_x + bounds.xMax) < 0) {
_x = _root.STAGE_WIDTH - bounds.xMin;
}
} else if (_root.STAGE_WIDTH < (_x + bounds.xMin)) {
_x = bounds.xMax * -1;
}
if (_root.xHitTestBlock(this, _root.ins_owata, flgHit) == 0) {
} else if (_root.xHitTestBlock(this, _root.ins_owata, flgHit) == _root.HIT_TOP) {
_root.ins_owata.xx = _root.ins_owata.xx + dx;
_root.ins_owata._x = _root.ins_owata._x + dx;
_root.ins_owata.yy = _root.ins_owata.yy + dy;
_root.ins_owata._y = _root.ins_owata._y + dy;
_root.ins_owata.sOnName = "lift";
} else if (_root.xHitTestBlock(this, _root.ins_owata, flgHit) == _root.HIT_LEFT) {
if (dx < 0) {
_root.ins_owata.xx = _root.ins_owata.xx + dx;
}
} else if (_root.xHitTestBlock(this, _root.ins_owata, flgHit) == _root.HIT_RIGHT) {
if (0 < dx) {
_root.ins_owata.xx = _root.ins_owata.xx + dx;
}
} else {
_root.ins_owata.yy = _root.ins_owata.yy + dy;
}
_root.xHitTestBlock(this, _root.ins_owata, flgHit);
_parent.xHitTestBlock(this, flgHit);
_root.xHitTestTama(this);
_x = _x + dx;
_y = _y + dy;
};
function xHitTama(mcTama) {
if (!mcTama.bKantuu) {
mcTama.xRemoveThis();
}
}
Symbol 68 MovieClip Frame 1
tfCaption._x = tfCaption._x - (tfCaption._width / 2);
tfCaption._y = tfCaption._y - tfCaption._height;
ins_hit._x = tfCaption._x;
ins_hit._y = tfCaption._y;
ins_hit._width = tfCaption._width;
ins_hit._height = tfCaption._height;
var bounds = _root.xGetBoundsEx(this, ins_hit);
if (_rotation) {
tfCaption._rotation = _rotation * -1;
tfCaption._x = (bounds.xMin * -1) + 1;
tfCaption._y = (bounds.yMin * -1) + 1;
}
var dx = 0;
var dy = 0;
if (nKasoku == eval("undefined")) {
nKasoku = 1;
}
if (nKansei == eval("undefined")) {
nKansei = 0.75;
}
if (flgHit == eval("undefined")) {
flgHit = _root.HIT_TOP;
}
if (hp == eval("undefined")) {
hp = 100;
}
hp_ = hp;
stop();
onEnterFrame = function () {
if (!_parent._visible) {
return(null);
}
if (_root.blStop) {
return(null);
}
if (!_root.ins_owata.enabled) {
return(null);
}
_root.xHitTestBlock(this, _root.ins_owata, flgHit);
_parent.xHitTestBlock(this, flgHit);
_root.xHitTestTama(this);
};
function xHitTama(mcTama) {
hp = hp - mcTama.power;
if (!mcTama.bKantuu) {
mcTama.xRemoveThis();
}
if (0 < hp) {
_root.ins_statusArea.xSetBarEnemy((hp * 100) / hp_);
} else {
_root.ins_statusArea.xSetBarEnemy(0);
this.swapDepths(0);
removeMovieClip(this);
}
}
Symbol 69 MovieClip [X48_Y49] Frame 1
var stage_top = "nothing";
var stage_left = "X47_Y49";
var stage_right = "X49_Y49";
var stage_bottom = "nothing";
var lstEnemy = new Array();
_root.ins_statusArea.tfStageName.text = "\u30EA\u30D5\u30C8\u306E\u30B5\u30F3\u30D7\u30EB";
stop();
function xHitTestBlock(mcBlock, flgHit) {
if (this._visible) {
for (var nameMC in lstEnemy) {
if (lstEnemy[nameMC] != Nothing) {
_root.xHitTestBlock(mcBlock, lstEnemy[nameMC], flgHit);
}
}
}
}
Instance of Symbol 66 MovieClip in Symbol 69 MovieClip [X48_Y49] Frame 1
onClipEvent (load) {
bYoko = true;
nShift = -4;
}
Instance of Symbol 66 MovieClip in Symbol 69 MovieClip [X48_Y49] Frame 1
onClipEvent (load) {
bYoko = true;
}
Instance of Symbol 66 MovieClip in Symbol 69 MovieClip [X48_Y49] Frame 1
onClipEvent (load) {
nShift = -4;
}
Instance of Symbol 68 MovieClip in Symbol 69 MovieClip [X48_Y49] Frame 1
onClipEvent (load) {
tfCaption.text = "\u30EA\u30D5\u30C8\u30B5\u30F3\u30D7\u30EB\n\u305D\u306E\uFF12";
}
Symbol 70 MovieClip Frame 1
if (dx == eval("undefined")) {
dx = 4;
}
if (dy == eval("undefined")) {
dy = 0;
}
var _dx = dx;
var _dy = dy;
var bounds = _root.xGetBoundsEx(this, ins_hit);
if (nKasoku == eval("undefined")) {
nKasoku = 1;
}
if (nKansei == eval("undefined")) {
nKansei = 0.75;
}
if (flgHit == eval("undefined")) {
flgHit = ((_root.HIT_TOP | _root.HIT_LEFT) | _root.HIT_RIGHT) | _root.HIT_BOTTOM;
}
if (nMoveCountX == eval("undefined")) {
nMoveCountX = 0;
}
if (nMoveCountY == eval("undefined")) {
nMoveCountY = 0;
}
if (nMoveFrameX == eval("undefined")) {
nMoveFrameX = 25;
}
if (nMoveFrameY == eval("undefined")) {
nMoveFrameY = 0;
}
if (stopFrameX == eval("undefined")) {
stopFrameX = 5;
}
if (stopFrameY == eval("undefined")) {
stopFrameY = 5;
}
if (nMoveCountX >= nMoveFrameX) {
dx = dx * -1;
_dx = dx * -1;
}
if (nMoveCountY >= nMoveFrameY) {
dy = dy * -1;
_dy = dy * -1;
}
stop();
onEnterFrame = function () {
if (!_parent._visible) {
return(null);
}
if (_root.blStop) {
return(null);
}
if (!_root.ins_owata.enabled) {
return(null);
}
retHit = _root.xHitTestBlock(this, _root.ins_owata, flgHit);
if (nMoveFrameX) {
if (nMoveCountX < nMoveFrameX) {
dx = _dx;
} else if ((nMoveCountX - nMoveFrameX) >= stopFrameX) {
_dx = _dx * -1;
dx = _dx;
nMoveCountX = 0;
} else {
dx = 0;
}
nMoveCountX++;
}
if (nMoveFrameY) {
if (nMoveCountY < nMoveFrameY) {
dy = _dy;
} else if ((nMoveCountY - nMoveFrameY) >= stopFrameY) {
_dy = _dy * -1;
dy = _dy;
nMoveCountY = 0;
} else {
dy = 0;
}
nMoveCountY++;
}
if (retHit == 0) {
} else if (retHit == _root.HIT_TOP) {
_root.ins_owata.xx = _root.ins_owata.xx + dx;
_root.ins_owata._x = _root.ins_owata._x + dx;
_root.ins_owata.yy = _root.ins_owata.yy + dy;
_root.ins_owata._y = _root.ins_owata._y + dy;
_root.ins_owata.sOnName = "lift";
} else if (retHit == _root.HIT_LEFT) {
if (dx < 0) {
_root.ins_owata.xx = _root.ins_owata.xx + dx;
}
} else if (retHit == _root.HIT_RIGHT) {
if (0 < dx) {
_root.ins_owata.xx = _root.ins_owata.xx + dx;
}
} else {
_root.ins_owata.yy = _root.ins_owata.yy + dy;
}
_parent.xHitTestBlock(this, flgHit);
_root.xHitTestTama(this);
_x = _x + dx;
_y = _y + dy;
};
function xHitTama(mcTama) {
if (!mcTama.bKantuu) {
mcTama.xRemoveThis();
}
}
Symbol 71 MovieClip Frame 1
if (dx == eval("undefined")) {
dx = 0;
}
if (dy == eval("undefined")) {
dy = 4;
}
var bounds = _root.xGetBoundsEx(this, ins_hit);
if (nKasoku == eval("undefined")) {
nKasoku = 1;
}
if (nKansei == eval("undefined")) {
nKansei = 0.75;
}
var _dx = dx;
var _dy = dy;
dx = 0;
dy = 0;
if (flgHit == eval("undefined")) {
flgHit = ((_root.HIT_TOP | _root.HIT_LEFT) | _root.HIT_RIGHT) | _root.HIT_BOTTOM;
}
x_ = _x;
y_ = _y;
stop();
onEnterFrame = function () {
if (!_parent._visible) {
_x = x_;
_y = y_;
return(null);
}
if (_root.blStop) {
return(null);
}
if (!_root.ins_owata.enabled) {
return(null);
}
if (_root.xHitTestBlock(this, _root.ins_owata, flgHit) == _root.HIT_TOP) {
_root.ins_owata.xx = _root.ins_owata.xx + _dx;
_root.ins_owata._x = _root.ins_owata._x + _dx;
_root.ins_owata.yy = _root.ins_owata.yy + _dy;
_root.ins_owata._y = _root.ins_owata._y + _dy;
_x = _x + _dx;
_y = _y + _dy;
}
_parent.xHitTestBlock(this, flgHit);
_root.xHitTestTama(this);
};
function xHitTama(mcTama) {
if (!mcTama.bKantuu) {
mcTama.xRemoveThis();
}
}
Symbol 72 MovieClip [X49_Y49] Frame 1
var stage_top = "nothing";
var stage_bottom = "nothing";
var stage_left = "X48_Y49";
var stage_right = "X50_Y49";
var lstEnemy = new Array();
_root.ins_statusArea.tfStageName.text = "\u30EA\u30D5\u30C8\u306E\u30B5\u30F3\u30D7\u30EB";
stop();
function xHitTestBlock(mcBlock, flgHit) {
if (this._visible) {
for (var nameMC in lstEnemy) {
if (lstEnemy[nameMC] != Nothing) {
_root.xHitTestBlock(mcBlock, lstEnemy[nameMC], flgHit);
}
}
}
}
Instance of Symbol 70 MovieClip in Symbol 72 MovieClip [X49_Y49] Frame 1
onClipEvent (load) {
dx = 19;
nMoveFrameX = 18;
stopFrameX = 30;
}
Instance of Symbol 70 MovieClip in Symbol 72 MovieClip [X49_Y49] Frame 1
onClipEvent (load) {
dx = 0;
nMoveFrameX = 0;
dy = 16;
nMoveFrameY = 12;
stopFrameY = 30;
}
Instance of Symbol 70 MovieClip in Symbol 72 MovieClip [X49_Y49] Frame 1
onClipEvent (load) {
dx = 6;
nMoveFrameX = 50;
stopFrameX = 20;
nMoveCountX = nMoveFrameX;
dy = 7;
nMoveFrameY = 20;
stopFrameY = 50;
}
Instance of Symbol 71 MovieClip in Symbol 72 MovieClip [X49_Y49] Frame 1
onClipEvent (load) {
dx = 0;
dy = -4;
}
Instance of Symbol 68 MovieClip in Symbol 72 MovieClip [X49_Y49] Frame 1
onClipEvent (load) {
tfCaption.text = "\u30EA\u30D5\u30C8\u30B5\u30F3\u30D7\u30EB\n\u305D\u306E\uFF11";
}
Symbol 75 MovieClip Frame 1
var bounds = _root.xGetBoundsEx(this, this);
var awaCount = 0;
var awaDepth = 1;
stop();
onEnterFrame = function () {
if (!_parent._visible) {
return(null);
}
if (_root.blStop) {
return(null);
}
if (!_root.ins_owata.enabled) {
return(null);
}
if (awaCount) {
awaCount--;
}
if (_root.xHitTestBlock(this, _root.ins_owata, 0)) {
_root.ins_owata.bWater = true;
if (awaCount == 0) {
var _pnt = {x:_root.ins_owata.xx, y:_root.ins_owata.yy};
globalToLocal(_pnt);
attachMovie("mcAwa", ins_awa + awaDepth, awaDepth++, {_x:_pnt.x, _y:_pnt.y, _xscale:10000 / _xscale, _yscale:10000 / _yscale});
if (10 < awaDepth) {
awaDepth = 1;
}
awaCount = 20;
}
}
};
Symbol 77 MovieClip Frame 1
if (dx == eval("undefined")) {
dx = -3;
}
if (dy == eval("undefined")) {
dy = 0;
}
var bounds = _root.xGetBoundsEx(this, ins_hit);
var xx = _x;
var yy = _y;
_parent.lstEnemy.push(this);
if (hp == eval("undefined")) {
hp = 10;
}
hp_ = hp;
x_ = _x;
y_ = _y;
onEnterFrame = function () {
if (!_parent._visible) {
hp = hp_;
xx = x_;
_x = x_;
yy = y_;
_y = y_;
return(null);
}
if (_root.blStop) {
return(null);
}
if (!_root.ins_owata.enabled) {
return(null);
}
if (mcMovable != eval("undefined")) {
_root.xOutTestArea(mcMovable, this);
}
_x = xx;
_y = yy;
if (0.5 >= dx) {
if (dx < -0.5) {
_xscale = Math.abs(_xscale);
}
} else {
_xscale = Math.abs(_xscale) * -1;
}
if (_root.xHitTestBlock(this, _root.ins_owata, 0)) {
_root.ins_owata.xThiunThiun();
}
_root.xHitTestTama(this);
dy = dy + ((Math.random() * 0.8) - 0.4);
if (2 >= dy) {
if (dy < -2) {
dy = -2;
}
} else {
dy = 2;
}
dx = dx + (Math.random() - 0.5);
if (5 >= dx) {
if (dx < -5) {
dx = -5;
}
} else {
dx = 5;
}
xx = xx + dx;
yy = yy + dy;
};
function xBlockHitTop(mcBlock, yMin) {
yy = (yMin - bounds.yMax) - 0.1;
dy = dy * -1;
}
function xBlockHitLeft(mcBlock, xMin) {
xx = (xMin - bounds.xMax) - 0.1;
dx = dx * -1;
}
function xBlockHitRight(mcBlock, xMax) {
xx = (xMax - bounds.xMin) + 0.1;
dx = dx * -1;
}
function xBlockHitBottom(mcBlock, yMax) {
yy = (yMax - bounds.yMin) + 0.1;
dy = dy * -1;
}
function xAreaOutTop(yMin) {
yy = yMin - bounds.yMin;
dy = dy * -1;
}
function xAreaOutLeft(xMin) {
xx = xMin - bounds.xMin;
dx = dx * -1;
}
function xAreaOutRight(xMax) {
xx = xMax - bounds.xMax;
dx = dx * -1;
}
function xAreaOutBottom(yMax) {
yy = yMax - bounds.yMax;
dy = dy * -1;
}
function xGetBounds() {
_pnt = {x:xx, y:yy};
_parent.localToGlobal(_pnt);
return({xMin:_pnt.x + bounds.xMin, xMax:_pnt.x + bounds.xMax, yMin:_pnt.y + bounds.yMin, yMax:_pnt.y + bounds.yMax});
}
function xHitTama(mcTama) {
hp = hp - mcTama.power;
if (!mcTama.bKantuu) {
mcTama.xRemoveThis();
}
if (0 >= hp) {
_root.ins_statusArea.xSetBarEnemy(0);
this.swapDepths(0);
removeMovieClip(this);
} else {
_root.ins_statusArea.xSetBarEnemy((hp * 100) / hp_);
if (0 >= dx) {
dx--;
} else {
dx++;
}
}
}
Symbol 79 MovieClip Frame 1
if (dx == eval("undefined")) {
dx = 0;
}
if (dy == eval("undefined")) {
dy = 0;
}
var bounds = _root.xGetBoundsEx(this, ins_hit);
var xx = _x;
var yy = _y;
onEnterFrame = function () {
if (_root.blStop) {
return(null);
}
if (!_root.ins_owata.enabled) {
return(null);
}
if (!_parent._visible) {
return(null);
}
if ((((_root.STAGE_WIDTH < (_x + bounds.xMin)) || ((_x + bounds.xMax) < 0)) || (_root.STAGE_HEIGHT < (_y + bounds.yMin))) || ((_y + bounds.yMax) < 0)) {
this.swapDepths(0);
this.removeMovieClip();
}
_x = xx;
_y = yy;
if (_root.xHitTestBlock(this, _root.ins_owata, 0)) {
_root.ins_owata.xThiunThiun();
}
if (dx) {
xx = xx + dx;
dx = dx + 0.5;
}
if (dy) {
yy = yy + dy;
dy = dy + 0.5;
}
};
Symbol 81 MovieClip Frame 1
var dx = 0;
var dy = 0;
var bounds = _root.xGetBoundsEx(this, ins_hit);
if (nKasoku == eval("undefined")) {
nKasoku = 1;
}
if (nKansei == eval("undefined")) {
nKansei = 0.75;
}
if (bVisible == eval("undefined")) {
bVisible = true;
}
var yy = _y;
var _item_dy = 0;
var _item_yy = tfItem._y;
if (tfItem.text != "") {
tfCaption.text = "\uFF1F";
tfItem._x = tfItem._x - (tfItem._width / 2);
tfItem._y = tfItem._y - (tfItem._height / 2);
}
if (flgHit == eval("undefined")) {
flgHit = ((_root.HIT_TOP | _root.HIT_LEFT) | _root.HIT_RIGHT) | _root.HIT_BOTTOM;
}
if (blKieru) {
flgHit = flgHit & 14;
}
stop();
onEnterFrame = function () {
if (!_parent._visible) {
return(null);
}
if (_root.blStop) {
return(null);
}
if (!_root.ins_owata.enabled) {
return(null);
}
if (_visible || (bVisible)) {
if (_root.xHitTestBlock(this, _root.ins_owata, flgHit) == _root.HIT_BOTTOM) {
_visible = true;
if (!dy) {
if (_y == yy) {
dy = -3;
}
} else if (0 < dy) {
dy = (dy * -1) + 1;
}
_y = _y + (dy++);
if (tfCaption.text != "") {
tfCaption.text = "";
if (tfItem.text == "\u2469") {
_root.ins_owata.xAddCoin(1);
}
_item_dy = -8;
}
} else if (_root.xHitTestBlock(this, _root.ins_owata, flgHit) == _root.HIT_TOP) {
if (blKieru) {
this.swapDepths(0);
this.removeMovieClip();
_root.xHitTestBlock(this, _root.ins_owata, flgHit);
return(null);
}
} else if (_y >= yy) {
_y = yy;
dy = 0;
} else {
_y = _y + (dy++);
}
_root.xHitTestBlock(this, _root.ins_owata, flgHit);
}
if (!_visible) {
return(null);
}
if (_item_dy < 0) {
tfItem._y = tfItem._y + _item_dy;
_item_dy = _item_dy + 0.5;
if (_item_dy >= 0) {
tfItem._y = _item_yy;
tfItem.text = "";
}
}
_parent.xHitTestBlock(this, flgHit);
_root.xHitTestTama(this);
};
function xHitTama(mcTama) {
if (!mcTama.bKantuu) {
mcTama.xRemoveThis();
}
}
Symbol 83 MovieClip Frame 1
var dx = 0;
var dy = 0;
var bounds = _root.xGetBoundsEx(this, ins_hit);
var nKasoku = 1;
var nKansei = 0.75;
stop();
onEnterFrame = function () {
if (!_parent._visible) {
return(null);
}
if (_root.blStop) {
return(null);
}
if (!_root.ins_owata.enabled) {
return(null);
}
if (_root.xHitTestBlock(this, _root.ins_owata, 0)) {
_root.ins_owata.bHitHasigo = true;
}
};
Symbol 84 MovieClip [X49_Y50] Frame 1
var stage_top = "nothing";
var stage_left = "nothing";
var stage_right = "X50_Y50";
var stage_bottom = "nothing";
var lstEnemy = new Array();
_root.ins_statusArea.tfStageName.text = "\u30B9\u30BF\u30FC\u30C8\u5730\u70B9";
stop();
function xHitTestBlock(mcBlock, flgHit) {
if (this._visible) {
for (var nameMC in lstEnemy) {
if (lstEnemy[nameMC] != Nothing) {
_root.xHitTestBlock(mcBlock, lstEnemy[nameMC], flgHit);
}
}
}
}
Instance of Symbol 77 MovieClip in Symbol 84 MovieClip [X49_Y50] Frame 1
onClipEvent (load) {
mcMovable = _parent.ins_water;
}
Instance of Symbol 77 MovieClip in Symbol 84 MovieClip [X49_Y50] Frame 1
onClipEvent (load) {
mcMovable = _parent.ins_water;
}
Instance of Symbol 77 MovieClip in Symbol 84 MovieClip [X49_Y50] Frame 1
onClipEvent (load) {
mcMovable = _parent.ins_water;
hp = 15;
}
Instance of Symbol 81 MovieClip in Symbol 84 MovieClip [X49_Y50] Frame 1
onClipEvent (load) {
_visible = false;
tfItem.text = "\u2469";
}
Instance of Symbol 81 MovieClip in Symbol 84 MovieClip [X49_Y50] Frame 1
onClipEvent (load) {
_visible = false;
tfItem.text = "\u2469";
}
Instance of Symbol 81 MovieClip in Symbol 84 MovieClip [X49_Y50] Frame 1
onClipEvent (load) {
_visible = false;
tfItem.text = "\u2469";
}
Instance of Symbol 81 MovieClip in Symbol 84 MovieClip [X49_Y50] Frame 1
onClipEvent (load) {
_visible = false;
tfItem.text = "\u2469";
}
Instance of Symbol 81 MovieClip in Symbol 84 MovieClip [X49_Y50] Frame 1
onClipEvent (load) {
_visible = false;
tfItem.text = "\u2469";
}
Instance of Symbol 81 MovieClip in Symbol 84 MovieClip [X49_Y50] Frame 1
onClipEvent (load) {
_visible = false;
tfItem.text = "\u2469";
}
Instance of Symbol 81 MovieClip in Symbol 84 MovieClip [X49_Y50] Frame 1
onClipEvent (load) {
_visible = false;
tfItem.text = "\u2469";
}
Instance of Symbol 81 MovieClip in Symbol 84 MovieClip [X49_Y50] Frame 1
onClipEvent (load) {
_visible = false;
tfItem.text = "\u2469";
}
Instance of Symbol 81 MovieClip in Symbol 84 MovieClip [X49_Y50] Frame 1
onClipEvent (load) {
_visible = false;
tfItem.text = "\u2469";
}
Instance of Symbol 81 MovieClip in Symbol 84 MovieClip [X49_Y50] Frame 1
onClipEvent (load) {
_visible = false;
tfItem.text = "\u2469";
}
Instance of Symbol 81 MovieClip in Symbol 84 MovieClip [X49_Y50] Frame 1
onClipEvent (load) {
_visible = false;
tfItem.text = "\u2469";
}
Instance of Symbol 81 MovieClip in Symbol 84 MovieClip [X49_Y50] Frame 1
onClipEvent (load) {
_visible = false;
tfItem.text = "\u2469";
}
Instance of Symbol 81 MovieClip in Symbol 84 MovieClip [X49_Y50] Frame 1
onClipEvent (load) {
_visible = false;
tfItem.text = "\u2469";
}
Instance of Symbol 81 MovieClip in Symbol 84 MovieClip [X49_Y50] Frame 1
onClipEvent (load) {
_visible = false;
tfItem.text = "\u2469";
}
Instance of Symbol 81 MovieClip in Symbol 84 MovieClip [X49_Y50] Frame 1
onClipEvent (load) {
_visible = false;
tfItem.text = "\u2469";
}
Instance of Symbol 81 MovieClip in Symbol 84 MovieClip [X49_Y50] Frame 1
onClipEvent (load) {
_visible = false;
tfItem.text = "\u2469";
}
Instance of Symbol 81 MovieClip in Symbol 84 MovieClip [X49_Y50] Frame 1
onClipEvent (load) {
_visible = false;
tfItem.text = "\u2469";
}
Instance of Symbol 81 MovieClip in Symbol 84 MovieClip [X49_Y50] Frame 1
onClipEvent (load) {
_visible = false;
tfItem.text = "\u2469";
}
Instance of Symbol 81 MovieClip in Symbol 84 MovieClip [X49_Y50] Frame 1
onClipEvent (load) {
_visible = false;
tfItem.text = "\u2469";
}
Instance of Symbol 81 MovieClip in Symbol 84 MovieClip [X49_Y50] Frame 1
onClipEvent (load) {
_visible = false;
tfItem.text = "\u2469";
}
Instance of Symbol 81 MovieClip in Symbol 84 MovieClip [X49_Y50] Frame 1
onClipEvent (load) {
_visible = false;
tfItem.text = "\u2469";
}
Symbol 85 MovieClip Frame 1
var dx = 0;
var dy = 0;
if (nKasoku == eval("undefined")) {
nKasoku = 1;
}
if (nKansei == eval("undefined")) {
nKansei = 0.75;
}
var bounds = _root.xGetBoundsEx(this, this);
if (shiftX == eval("undefined")) {
shiftX = 4;
}
if (_rotation != 180) {
if (shiftX < 0) {
shiftX = shiftX * -1;
}
} else if (0 < shiftX) {
shiftX = shiftX * -1;
}
var flgHit = _root.HIT_TOP;
onEnterFrame = function () {
if (!_parent._visible) {
return(null);
}
if (_root.blStop) {
return(null);
}
if (!_root.ins_owata.enabled) {
return(null);
}
if (_root.xHitTestBlock(this, _root.ins_owata, flgHit) == _root.HIT_TOP) {
_root.ins_owata.dx2 = shiftX;
}
_parent.xHitTestBlock(this, flgHit);
};
Symbol 85 MovieClip Frame 8
gotoAndPlay(2);
Symbol 86 MovieClip Frame 1
var dx = 0;
var dy = 0;
if (nKasoku == eval("undefined")) {
nKasoku = 0.3;
}
if (nKansei == eval("undefined")) {
nKansei = 0.99;
}
var bounds = _root.xGetBoundsEx(this, this);
if (flgHit == eval("undefined")) {
if (_rotation == 90) {
flgHit = _root.HIT_RIGHT;
} else if (_rotation == -90) {
flgHit = _root.HIT_LEFT;
} else if (_rotation == 180) {
flgHit = _root.HIT_BOTTOM;
} else {
flgHit = _root.HIT_TOP;
}
}
stop();
onEnterFrame = function () {
if (!_parent._visible) {
return(null);
}
if (_root.blStop) {
return(null);
}
if (!_root.ins_owata.enabled) {
return(null);
}
_root.xHitTestBlock(this, _root.ins_owata, flgHit);
_parent.xHitTestBlock(this, flgHit);
};
Symbol 87 MovieClip [X50_Y49] Frame 1
var stage_top = "nothing";
var stage_left = "X49_Y49";
var stage_right = "X51_Y49";
var stage_bottom = "nothing";
var lstEnemy = new Array();
_root.ins_statusArea.tfStageName.text = "\u5E8A\u30FB\u30D6\u30ED\u30C3\u30AF\u306E\u30B5\u30F3\u30D7\u30EB";
stop();
function xHitTestBlock(mcBlock, flgHit) {
if (this._visible) {
for (var nameMC in lstEnemy) {
if (lstEnemy[nameMC] != Nothing) {
_root.xHitTestBlock(mcBlock, lstEnemy[nameMC], flgHit);
}
}
}
}
Instance of Symbol 81 MovieClip in Symbol 87 MovieClip [X50_Y49] Frame 1
onClipEvent (load) {
blKieru = true;
}
Instance of Symbol 81 MovieClip in Symbol 87 MovieClip [X50_Y49] Frame 1
onClipEvent (load) {
_visible = false;
tfItem.text = "\u2469";
}
Instance of Symbol 81 MovieClip in Symbol 87 MovieClip [X50_Y49] Frame 1
onClipEvent (load) {
tfItem.text = "\u2469";
}
Instance of Symbol 86 MovieClip in Symbol 87 MovieClip [X50_Y49] Frame 1
onClipEvent (load) {
nKansei = 1;
}
Instance of Symbol 63 MovieClip in Symbol 87 MovieClip [X50_Y49] Frame 1
onClipEvent (load) {
nKasoku = 0.1;
}
Instance of Symbol 68 MovieClip in Symbol 87 MovieClip [X50_Y49] Frame 1
onClipEvent (load) {
tfCaption.text = "\u2192\n\u4E57\u308B\u3068\u6D88\u3048\u307E\u3059";
}
Instance of Symbol 68 MovieClip in Symbol 87 MovieClip [X50_Y49] Frame 1
onClipEvent (load) {
tfCaption.text = "\u2190\u898B\u3048\u306A\u3044\n\u30D6\u30ED\u30C3\u30AF\u304C\n\u3042\u308A\u307E\u3059";
}
Instance of Symbol 68 MovieClip in Symbol 87 MovieClip [X50_Y49] Frame 1
onClipEvent (load) {
tfCaption.text = "\u52D5\u304F\u5E8A";
}
Instance of Symbol 68 MovieClip in Symbol 87 MovieClip [X50_Y49] Frame 1
onClipEvent (load) {
tfCaption.text = "\u6B62\u307E\u3089\u306A\u3044";
}
Instance of Symbol 68 MovieClip in Symbol 87 MovieClip [X50_Y49] Frame 1
onClipEvent (load) {
tfCaption.text = "\u52A0\u901F\u5EA6\uFF1A\u4F4E";
}
Symbol 88 MovieClip [X50_Y50] Frame 1
var stage_top = "nothing";
var stage_left = "X49_Y50";
var stage_right = "X51_Y50";
var stage_bottom = "nothing";
var lstEnemy = new Array();
_root.ins_statusArea.tfStageName.text = "\u30B9\u30BF\u30FC\u30C8\u5730\u70B9";
stop();
function xHitTestBlock(mcBlock, flgHit) {
if (this._visible) {
for (var nameMC in lstEnemy) {
if (lstEnemy[nameMC] != Nothing) {
_root.xHitTestBlock(mcBlock, lstEnemy[nameMC], flgHit);
}
}
}
}
Instance of Symbol 68 MovieClip in Symbol 88 MovieClip [X50_Y50] Frame 1
onClipEvent (load) {
flgHit = 0;
tfCaption.text = "\u2190\u6C34";
}
Instance of Symbol 81 MovieClip in Symbol 88 MovieClip [X50_Y50] Frame 1
onClipEvent (load) {
_visible = false;
tfItem.text = "\u2469";
}
Instance of Symbol 64 MovieClip in Symbol 88 MovieClip [X50_Y50] Frame 1
onClipEvent (load) {
sNextStage = "X47_Y49";
outX = 66;
outY = 56;
sDeguchi = "r";
}
Instance of Symbol 64 MovieClip in Symbol 88 MovieClip [X50_Y50] Frame 1
onClipEvent (load) {
sNextStage = "blackHole";
outX = _root.STAGE_WIDTH / 2;
outY = 48;
sDeguchi = "d";
}
Symbol 89 MovieClip [X51_Y49] Frame 1
var stage_top = "nothing";
var stage_left = "X50_Y49";
var stage_right = "nothing";
var stage_bottom = "X51_Y50";
var lstEnemy = new Array();
_root.ins_statusArea.tfStageName.text = "\u30B9\u30BF\u30FC\u30C8\u5730\u70B9\u306E\u53F3\u4E0A";
stop();
function xHitTestBlock(mcBlock, flgHit) {
if (this._visible) {
for (var nameMC in lstEnemy) {
if (lstEnemy[nameMC] != Nothing) {
_root.xHitTestBlock(mcBlock, lstEnemy[nameMC], flgHit);
}
}
}
}
Instance of Symbol 81 MovieClip in Symbol 89 MovieClip [X51_Y49] Frame 1
onClipEvent (load) {
tfItem.text = "\u2469";
}
Instance of Symbol 81 MovieClip in Symbol 89 MovieClip [X51_Y49] Frame 1
onClipEvent (load) {
tfItem.text = "\u2469";
}
Instance of Symbol 68 MovieClip in Symbol 89 MovieClip [X51_Y49] Frame 1
onClipEvent (load) {
tfCaption.text = "\u2190\u3044\u308D\u3093\u306A\u30B5\u30F3\u30D7\u30EB";
}
Symbol 90 MovieClip [X51_Y50] Frame 1
var stage_top = "X51_Y49";
var stage_left = "X50_Y50";
var stage_right = "nothing";
var stage_bottom = "X51_Y51";
var lstEnemy = new Array();
_root.ins_statusArea.tfStageName.text = "\u30B9\u30BF\u30FC\u30C8\u5730\u70B9\u306E\u53F3";
stop();
function xHitTestBlock(mcBlock, flgHit) {
if (this._visible) {
for (var nameMC in lstEnemy) {
if (lstEnemy[nameMC] != Nothing) {
_root.xHitTestBlock(mcBlock, lstEnemy[nameMC], flgHit);
}
}
}
}
Instance of Symbol 81 MovieClip in Symbol 90 MovieClip [X51_Y50] Frame 1
onClipEvent (load) {
blKieru = true;
}
Symbol 91 MovieClip Frame 1
var lstBlock = new Array();
var myIndex = 0;
var count = 1;
var mcVisible;
stop();
onEnterFrame = function () {
if (!_parent._visible) {
return(null);
}
if (_root.blStop) {
return(null);
}
if (!_root.ins_owata.enabled) {
return(null);
}
count--;
if ((count-1)) {
return(null);
}
count = 45;
if (mcVisible != eval("undefined")) {
mcVisible._visible = false;
}
if (myIndex >= lstBlock.length) {
myIndex = 0;
}
mcVisible = lstBlock[myIndex];
mcVisible._visible = true;
myIndex++;
};
function xAddBlock(mc) {
mc._visible = false;
mc.bVisible = false;
lstBlock.push(mc);
}
Symbol 94 MovieClip Frame 1
var dx = 0;
var dy = 0;
var bounds = _root.xGetBoundsEx(this, ins_hit);
var flgHit = (((_root.HIT_TOP | _root.HIT_LEFT) | _root.HIT_RIGHT) | _root.HIT_BOTTOM);
if (hp == eval("undefined")) {
hp = 100;
}
hp_ = hp;
onEnterFrame = function () {
if (!_parent._visible) {
return(null);
}
if (_root.blStop) {
return(null);
}
if (!_root.ins_owata.enabled) {
return(null);
}
_root.xHitTestBlock(this, _root.ins_owata, flgHit);
if (this.hitTest(_root.ins_owata.ins_hit)) {
_root.ins_owata.xAddRentan(1);
}
_parent.xHitTestBlock(this, flgHit);
_root.xHitTestTama(this);
};
function xHitTama(mcTama) {
hp = hp - mcTama.power;
if (!mcTama.bKantuu) {
mcTama.xRemoveThis();
}
if (0 < hp) {
_root.ins_statusArea.xSetBarEnemy((hp * 100) / hp_);
} else {
_root.ins_statusArea.xSetBarEnemy(0);
this.swapDepths(0);
removeMovieClip(this);
}
}
Symbol 94 MovieClip Frame 14
gotoAndPlay(2);
Symbol 96 MovieClip Frame 1
var dx = 0;
var dy = 0;
var bounds = _root.xGetBoundsEx(this, this);
stop();
onEnterFrame = function () {
if (!_parent._visible) {
return(null);
}
if (_root.blStop) {
return(null);
}
if (!_root.ins_owata.enabled) {
return(null);
}
_root.xHitTestTama(this);
};
function xHitTama(mcTama) {
mcTama.dx = mcTama.dx * -1;
mcTama.dy = (mcTama.dy * -1) + ((random(200) - 100) / 100);
}
Symbol 97 MovieClip [X51_Y51] Frame 1
var stage_top = "X51_Y50";
var stage_left = "nothing";
var stage_right = "nothing";
var stage_bottom = "nothing";
var lstEnemy = new Array();
_root.ins_statusArea.tfStageName.text = "\u7DF4\u70AD\u30AA\u30D5";
stop();
function xHitTestBlock(mcBlock, flgHit) {
if (this._visible) {
for (var nameMC in lstEnemy) {
if (lstEnemy[nameMC] != Nothing) {
_root.xHitTestBlock(mcBlock, lstEnemy[nameMC], flgHit);
}
}
}
}
Instance of Symbol 81 MovieClip in Symbol 97 MovieClip [X51_Y51] Frame 1
onClipEvent (load) {
_parent.ins_blockCtrl.xAddBlock(this);
}
Instance of Symbol 81 MovieClip in Symbol 97 MovieClip [X51_Y51] Frame 1
onClipEvent (load) {
_parent.ins_blockCtrl.xAddBlock(this);
}
Instance of Symbol 81 MovieClip in Symbol 97 MovieClip [X51_Y51] Frame 1
onClipEvent (load) {
_parent.ins_blockCtrl.xAddBlock(this);
}
Instance of Symbol 68 MovieClip in Symbol 97 MovieClip [X51_Y51] Frame 1
onClipEvent (load) {
tfCaption.text = "\u7DF4\u70AD\u30AA\u30D5\u4F1A\u5834";
}
Symbol 99 MovieClip [blackHole] Frame 1
var stage_top = "nothing";
var stage_left = "nothing";
var stage_right = "nothing";
var stage_bottom = "nothing";
var lstEnemy = new Array();
_root.ins_statusArea.tfStageName.text = "\u30D6\u30E9\u30C3\u30AF\u30DB\u30FC\u30EB\uFF01";
stop();
function xHitTestBlock(mcBlock, flgHit) {
if (this._visible) {
for (var nameMC in lstEnemy) {
if (lstEnemy[nameMC] != Nothing) {
_root.xHitTestBlock(mcBlock, lstEnemy[nameMC], flgHit);
}
}
}
}
Instance of Symbol 81 MovieClip in Symbol 99 MovieClip [blackHole] Frame 1
onClipEvent (load) {
blKieru = true;
}
Instance of Symbol 81 MovieClip in Symbol 99 MovieClip [blackHole] Frame 1
onClipEvent (load) {
blKieru = true;
}
Instance of Symbol 81 MovieClip in Symbol 99 MovieClip [blackHole] Frame 1
onClipEvent (load) {
blKieru = true;
}
Instance of Symbol 81 MovieClip in Symbol 99 MovieClip [blackHole] Frame 1
onClipEvent (load) {
blKieru = true;
}
Instance of Symbol 81 MovieClip in Symbol 99 MovieClip [blackHole] Frame 1
onClipEvent (load) {
blKieru = true;
}
Instance of Symbol 81 MovieClip in Symbol 99 MovieClip [blackHole] Frame 1
onClipEvent (load) {
blKieru = true;
}
Instance of Symbol 81 MovieClip in Symbol 99 MovieClip [blackHole] Frame 1
onClipEvent (load) {
blKieru = true;
}
Instance of Symbol 81 MovieClip in Symbol 99 MovieClip [blackHole] Frame 1
onClipEvent (load) {
blKieru = true;
}
Symbol 102 Button
on (release) {
_root.play();
}
on () {
}