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.gMode = "normal";
trace(this.gMode);
this.debugMode = false;
this.KeyPlayFlg = false;
this.SE_hiku = new Sound(this);
this.SE_hiku.attachSound("SE_hiku");
this.SE_tobu = new Sound(this);
this.SE_tobu.attachSound("SE_tobu");
this.SE_pata = new Sound(this);
this.SE_pata.attachSound("SE_pata");
this.SE_poi = new Sound(this);
this.SE_poi.attachSound("SE_poi");
this.SE_death = new Sound(this);
this.SE_death.attachSound("SE_death");
this.SE_kaito = new Sound(this);
this.SE_kaito.attachSound("SE_kaito");
this.SE_naguru = new Sound(this);
this.SE_naguru.attachSound("SE_naguru");
this.SE_po = new Sound(this);
this.SE_po.attachSound("SE_po");
this.SE_ng2 = new Sound(this);
this.SE_ng2.attachSound("SE_ng2");
this.gotoAndPlay("gameInit");
Frame 30
this.gScore = 0;
this.gLastPlayer = 3;
this.gPlayFlg = false;
this.getHosekiCnt = 0;
this.gFloorNum = 1;
this.gScrollY = 0;
this.gotoAndPlay("title");
Frame 40
this.stop();
Instance of Symbol 114 MovieClip in Frame 40
onClipEvent (keyDown) {
var Lastkey = key.getCode();
if (LastKey == 16) {
_root.KeyPlayFlg = !_root.KeyPlayFlg;
}
}
Instance of Symbol 117 MovieClip in Frame 40
/* no clip actions */
Frame 50
this.stop();
Instance of Symbol 147 MovieClip in Frame 50
onClipEvent (keyDown) {
this.play();
}
Frame 60
this.stop();
Instance of Symbol 224 MovieClip "numMainScoreMC" in Frame 70
//component parameters
onClipEvent (initialize) {
keta = 7;
disp0Flg = true;
numName = "number";
}
Frame 71
this.stop();
Frame 80
this.stop();
Instance of Symbol 229 MovieClip in Frame 80
onClipEvent (keyDown) {
var Lastkey = key.getCode();
if (LastKey == 87) {
_root.gotoAndPlay("gameInit");
}
}
Frame 90
this.stop();
Frame 100
this.stop();
Instance of Symbol 111 MovieClip in Frame 100
//component parameters
onClipEvent (initialize) {
FadeFrm = 30;
mode = false;
stayFlg = false;
jumpLabelName = "ending";
}
Frame 110
this.gStageNum++;
if (this.gStageNum > 3) {
this.gotoAndPlay("ending");
} else {
this.gotoAndPlay("gameIn");
}
Symbol 19 MovieClip Frame 1
_parent.stop();
this.startTime = getTimer();
Symbol 19 MovieClip Frame 3
if (this.stayTime <= (getTimer() - this.startTime)) {
_parent.play();
this.stop();
} else {
this.gotoAndPlay(_currentframe - 1);
}
Instance of Symbol 19 MovieClip in Symbol 20 MovieClip [Win_floor] Frame 9
//component parameters
onClipEvent (initialize) {
stayTime = 750;
}
Symbol 20 MovieClip [Win_floor] Frame 19
this.unloadMovie();
Symbol 22 MovieClip [hammer] Frame 2
this._x = this._x + this.adx;
this._y = this._y + this.ady;
this._rotation = this._rotation + 30;
this.ady = this.ady + 0.5;
if (this._y > 500) {
this.unloadMovie();
}
if (this.hitTest(_root.TobbyMC.hitdummyMC) == true) {
_root.TobbyMC.miss();
}
this.gotoAndPlay(_currentframe - 1);
Symbol 33 MovieClip [number] Frame 1
this.stop();
Symbol 33 MovieClip [number] Frame 2
this.stop();
Symbol 33 MovieClip [number] Frame 3
this.stop();
Symbol 33 MovieClip [number] Frame 4
this.stop();
Symbol 33 MovieClip [number] Frame 5
this.stop();
Symbol 33 MovieClip [number] Frame 6
this.stop();
Symbol 33 MovieClip [number] Frame 7
this.stop();
Symbol 33 MovieClip [number] Frame 8
this.stop();
Symbol 33 MovieClip [number] Frame 9
this.stop();
Symbol 33 MovieClip [number] Frame 10
this.stop();
Symbol 38 MovieClip Frame 9
var versionNum = getVersion().slice(4, 5);
trace(versionNum);
if (Number(versionNum) >= 6) {
this.gotoAndPlay("ok");
} else {
this.gotoAndPlay("ng");
}
Symbol 38 MovieClip Frame 19
this.stop();
_parent.gotoAndPlay("loading");
Symbol 38 MovieClip Frame 25
this.stop();
Symbol 45 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 45 MovieClip Frame 2
this.gotoAndPlay(_currentframe - 1);
Symbol 45 MovieClip Frame 5
this.bar._width = 300;
Symbol 45 MovieClip Frame 19
_root.gotoAndPlay("init");
Symbol 49 Button
on (release) {
this.play();
this.storyMC.play();
}
on (press) {
this.play();
this.storyMC.play();
}
Symbol 52 Button
on (release) {
_root.gotoAndPlay("inst");
}
Symbol 55 Button
on (press) {
_root.gStageNum = 1;
_root.gotoAndplay("gameIn");
}
Symbol 57 Button
on (press) {
_root.gStageNum = 2;
_root.gotoAndplay("gameIn");
}
Symbol 59 Button
on (press) {
_root.gStageNum = 3;
_root.gotoAndplay("gameIn");
}
Symbol 61 Button
on (press) {
_root.gStageNum = 4;
_root.gotoAndplay("gameIn");
}
Symbol 63 Button
on (press) {
_root.gStageNum = 5;
_root.gotoAndplay("gameIn");
}
Symbol 65 Button
on (press) {
_root.gStageNum = 6;
_root.gotoAndplay("gameIn");
}
Symbol 67 Button
on (press) {
_root.gStageNum = 7;
_root.gotoAndplay("gameIn");
}
Symbol 69 Button
on (press) {
_root.gStageNum = 8;
_root.gotoAndplay("gameIn");
}
Symbol 71 Button
on (press) {
_root.gStageNum = 9;
_root.gotoAndplay("gameIn");
}
Symbol 73 Button
on (press) {
_root.gStageNum = 10;
_root.gotoAndplay("gameIn");
}
Symbol 75 Button
on (press) {
_root.gotoAndplay("ending");
}
Symbol 77 Button
on (press) {
_root.getStarList = [1, 1, 1, 1, 1, 1, 1, 1, 1, 1];
_root.gotoAndplay("ending");
}
Symbol 78 MovieClip Frame 1
if (_root.debugMode == false) {
this._visible = false;
} else {
this._visible = true;
}
Symbol 78 MovieClip Frame 2
if (_root.debugMode == false) {
this._visible = false;
} else {
this._visible = true;
}
this.gotoAndPlay(_currentframe - 1);
Symbol 103 MovieClip Frame 4
this.gotoAndPlay(1);
Symbol 103 MovieClip Frame 13
this.gotoAndPlay(10);
Symbol 103 MovieClip Frame 23
this.gotoAndPlay(20);
Symbol 103 MovieClip Frame 33
this.gotoAndPlay(30);
Symbol 103 MovieClip Frame 93
if (_parent.dx < 0) {
_parent.px = _parent.px + 160;
} else {
_parent.px = _parent.px - 160;
}
_parent._x = _parent.px;
this.gotoAndPlay("frontWithLady");
_parent.play();
Symbol 110 MovieClip Frame 1
this.stop();
Instance of Symbol 84 MovieClip in Symbol 110 MovieClip Frame 2
onClipEvent (mouseDown) {
_parent.gotoAndPlay("skip");
}
Symbol 110 MovieClip Frame 70
_parent.play();
this.stop();
Symbol 111 MovieClip Frame 1
if (this.mode == false) {
this.alphaRate = 0;
this.gotoAndPlay("out");
} else {
this.alphaRate = 100;
this.gotoAndPlay("in");
}
Symbol 111 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 111 MovieClip Frame 4
if (this.stayFlg == false) {
_parent.gotoAndPlay(this.jumpLabelName);
}
this.stop();
Symbol 111 MovieClip Frame 11
this.alphaRate = this.alphaRate + (100 / this.FadeFrm);
if (this.alphaRate > 100) {
this.alphaRate = 100;
this.gotoAndPlay(_currentframe + 1);
} else {
this.gotoAndPlay(_currentframe - 1);
}
this._alpha = this.alphaRate;
Symbol 111 MovieClip Frame 12
if (this.stayFlg == false) {
_parent.gotoAndPlay(this.jumpLabelName);
}
this.stop();
Instance of Symbol 78 MovieClip in Symbol 114 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 111 MovieClip in Symbol 114 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
FadeFrm = 15;
mode = true;
stayFlg = false;
jumpLabelName = "disp";
}
Symbol 114 MovieClip Frame 5
this.stop();
Instance of Symbol 113 MovieClip in Symbol 114 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 114 MovieClip Frame 6
this.stop();
Symbol 114 MovieClip Frame 11
this.stop();
Instance of Symbol 111 MovieClip in Symbol 114 MovieClip Frame 11
//component parameters
onClipEvent (initialize) {
FadeFrm = 15;
mode = false;
stayFlg = false;
jumpLabelName = "fin";
}
Symbol 114 MovieClip Frame 12
_root.gotoAndPlay("gameIn");
Symbol 121 Button
on (release) {
this.play();
}
Symbol 147 MovieClip Frame 1
this.stop();
Instance of Symbol 111 MovieClip in Symbol 147 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
FadeFrm = 15;
mode = true;
stayFlg = false;
jumpLabelName = "disp";
}
Symbol 147 MovieClip Frame 6
this.stop();
Symbol 147 MovieClip Frame 10
this.stop();
Instance of Symbol 111 MovieClip in Symbol 147 MovieClip Frame 10
//component parameters
onClipEvent (initialize) {
FadeFrm = 15;
mode = false;
stayFlg = false;
jumpLabelName = "fin";
}
Symbol 147 MovieClip Frame 11
_root.gotoAndPlay("title");
Symbol 166 MovieClip Frame 19
if (_root.gScore < 20000) {
this.stop();
}
Symbol 166 MovieClip Frame 40
if (_root.gScore < 30000) {
this.stop();
}
Symbol 166 MovieClip Frame 60
if (_root.gScore < 32036) {
this.stop();
}
Symbol 166 MovieClip Frame 80
if (_root.gScore < 33536) {
this.stop();
}
Symbol 166 MovieClip Frame 110
this.stop();
Symbol 169 MovieClip Frame 1
this.stop();
Instance of Symbol 111 MovieClip in Symbol 169 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
FadeFrm = 30;
mode = true;
stayFlg = false;
jumpLabelName = "in";
}
Symbol 169 MovieClip Frame 43
this.stop();
Instance of Symbol 111 MovieClip in Symbol 169 MovieClip Frame 43
//component parameters
onClipEvent (initialize) {
FadeFrm = 30;
mode = false;
stayFlg = false;
jumpLabelName = "inEnd";
}
Symbol 169 MovieClip Frame 69
this.stop();
Instance of Symbol 111 MovieClip in Symbol 169 MovieClip Frame 69
//component parameters
onClipEvent (initialize) {
FadeFrm = 30;
mode = true;
stayFlg = false;
jumpLabelName = "end2";
}
Instance of Symbol 19 MovieClip in Symbol 169 MovieClip Frame 72
//component parameters
onClipEvent (initialize) {
stayTime = 2000;
}
Instance of Symbol 19 MovieClip in Symbol 169 MovieClip Frame 120
//component parameters
onClipEvent (initialize) {
stayTime = 2000;
}
Instance of Symbol 19 MovieClip in Symbol 169 MovieClip Frame 135
//component parameters
onClipEvent (initialize) {
stayTime = 2000;
}
Symbol 169 MovieClip Frame 136
this.stop();
Instance of Symbol 111 MovieClip in Symbol 169 MovieClip Frame 136
//component parameters
onClipEvent (initialize) {
FadeFrm = 120;
mode = false;
stayFlg = false;
jumpLabelName = "fin";
}
Symbol 169 MovieClip Frame 137
_root.gotoAndPlay("init");
Symbol 175 MovieClip Frame 1
this.stop();
Symbol 175 MovieClip Frame 5
this.stop();
Symbol 175 MovieClip Frame 10
this.stop();
Symbol 175 MovieClip Frame 15
this.stop();
Symbol 175 MovieClip Frame 25
this.gotoAndStop(1);
Symbol 175 MovieClip Frame 34
this.gotoAndPlay(_currentframe - 3);
Symbol 175 MovieClip Frame 40
this.stop();
Symbol 176 MovieClip Frame 1
function main() {
if (this.procStat == 1) {
this.move();
}
if (this.procStat == 2) {
this.fly();
}
if (this.procStat == 3) {
this.fusenin();
}
if (this.procStat == 4) {
this.missFall();
}
}
function move() {
this.px = (_root.currentPachinko.px + _root.currentPachinko.dodaiMC.px) - _root.BaseX;
this.py = ((_root.currentPachinko.py + _root.currentPachinko.dodaiMC.py) - _root.BaseY) - 15;
if (this.mutekiCnt <= 0) {
this.anmMC.gotoAndStop("stand");
} else {
this.mutekiCnt--;
}
}
function fire(ax, ay) {
if (this.procStat == 4) {
return(undefined);
}
this.mutekiCnt = 0;
this.kizetuFlg = false;
this.adx = ax * 0.85;
this.ady = ay * 0.85;
this.procStat = 2;
}
function fly() {
if (this.px < 20) {
this.px = 20;
this.adx = -this.adx;
_root.SE_naguru.start();
}
if (this.px > 620) {
this.px = 620;
this.adx = -this.adx;
_root.SE_naguru.start();
}
if (this.py > 500) {
_root.SE_ng2.start();
this.py = 600;
this.procStat = 0;
_root.gotoAndPlay("miss");
}
this.ady = this.ady + 0.8;
this.adx = this.adx * 0.98;
this.px = this.px + this.adx;
this.py = this.py + this.ady;
if (this.ady < -1) {
this.anmMC.gotoAndStop("jump");
} else if (this.ady > 4) {
this.anmMC.gotoAndStop("fall");
} else {
this.anmMC.gotoAndStop("top");
}
}
function readyFusenIn() {
this.mutekiCnt = 90;
this.kizetuFlg = true;
this.ady = -5;
this.py = 600;
this.px = _root.currentPachinko._x - _root.BaseX;
this.angle = 0;
this.anmMC.gotoAndPlay("top");
_root.balloonMC.entry();
this.procStat = 3;
}
function LandingOK() {
this.adx = 0;
this.ady = 0;
this.angle = 0;
this.kizetuFlg = false;
if (this.mutekiCnt > 0) {
this.anmMC.gotoAndPlay("muteki");
} else {
this.anmMC.gotoAndPlay("landing");
}
this.procStat = 1;
}
function fusenin() {
this.py = this.py + this.ady;
if (this.py < ((_root.currentPachinko._y - _root.BaseY) - 50)) {
this.procStat = 2;
this.adx = 0;
this.ady = 0;
_root.currentPachinko.stat = "Catching";
this.kizetuFlg = false;
_root.gPlayFlg = true;
_root.balloonMC.entry2();
}
}
function missFall() {
this.ady = this.ady + 0.5;
this.py = this.py + this.ady;
this.angle = this.angle + 60;
if (this.py > 500) {
this.py = 600;
this.procStat = 0;
_root.gPlayFlg = false;
_root.gotoAndPlay("miss");
}
}
function miss() {
if ((this.kizetuFlg == true) || (this.mutekiCnt > 0)) {
return(undefined);
}
_root.gScore = _root.gScore - 500;
if (_root.gScore < 0) {
_root.gScore = 0;
}
_root.numMainScoreMC.dispNum(_root.gScore);
this.anmMC.gotoAndStop("miss");
_root.SE_death.start();
this.kizetuFlg = true;
this.adx = 0;
this.ady = (-this.ady) * 0.5;
this.procStat = 4;
}
function refrectH(nx) {
if (this.kizetuFlg == true) {
return(undefined);
}
this.adx = -this.adx;
if (this.adx > 0) {
this.px = nx + 38;
} else {
this.px = nx - 38;
}
_root.SE_naguru.start();
}
function refrectV() {
if (this.kizetuFlg == true) {
return(undefined);
}
this.ady = -this.ady;
this.py = this.py + (this.ady / 2);
_root.SE_naguru.start();
}
function refrectF(nax, nay, narx, nary) {
if (this.kizetuFlg == true) {
return(undefined);
}
this.adx = nax;
this.ady = nay;
this.px = this.px + (narx * 10);
this.py = this.py + (nary * 10);
_root.SE_po.start();
}
function hitBoss() {
this.adx = -this.adx;
this.ady = (-this.ady) * 0.2;
_root.SE_naguru.start();
}
this.adx = 0;
this.ady = 0;
this.angle = 0;
_root.gPlayFlg = true;
this.procStat = 1;
this.kizetuFlg = false;
this.mutekiCnt = 0;
Symbol 176 MovieClip Frame 3
this.main();
this._x = this.px;
this._y = this.py;
this._rotation = this.angle;
this.gotoAndPlay(_currentframe - 1);
Symbol 178 MovieClip Frame 1
function init() {
this.px = 0;
this.py = 0;
this._x = 0;
this._y = 0;
}
function main() {
if (_parent.currentPachinkoFlg == true) {
if (_parent.stat == "set") {
this.hiku();
}
if (_parent.stat == "biyon") {
this.biyon();
}
if (_parent.stat == "Catching") {
this.LandingCheck();
}
if (_parent.stat == "biyon2") {
this.biyonLanding();
}
} else {
if (_parent.stat == "biyon") {
this.biyon();
}
if (_parent.stat == "stayCatch") {
this.LandingCheck();
}
}
}
function hiku() {
this.px = _root._xmouse - _parent._x;
this.py = _root._ymouse - _parent.stageY;
if (this.px < -60) {
this.px = -60;
}
if (this.px > 60) {
this.px = 60;
}
if (this.py < 0) {
this.py = 0;
}
if (this.py > 80) {
this.py = 80;
}
}
function fire() {
if (_parent.stat != "set") {
return(undefined);
}
_root.SE_tobu.start(0, 1);
var dx = (this._x - 0);
var dy = (this._y - 0);
var r = Math.atan2(dy, dx);
var k = (r / (Math.PI/180));
v = Math.sqrt((dx * dx) + (dy * dy)) / 2.5;
var ax = ((-Math.cos((k * Math.PI) / 180)) * v);
var ay = ((-Math.sin((k * Math.PI) / 180)) * v);
_root.tobbyMC.fire(ax, ay);
_parent.stat = "biyon";
this.biyonList = [[(-dx) / 3, (-dy) / 3], [0, 0], [dx / 4, dy / 4], [dx / 3, dy / 3], [0, 0], [(-dx) / 6, (-dy) / 6], [(-dx) / 5, (-dy) / 5], [0, 0], [dx / 7, dy / 7], [dx / 6, dy / 6], [0, 0], [(-dx) / 8, (-dy) / 8], [(-dx) / 7, (-dy) / 7], [0, 0], [dx / 8, dy / 8], [0, 0], [(-dx) / 9, (-dy) / 9], [0, 0], [dx / 10, dy / 10], [(-dx) / 15, (-dx) / 15], [dx / 20, dy / 20], [0, 0]];
this.pCnt = 0;
}
function biyon() {
this.px = this.biyonList[this.pCnt][0];
this.py = this.biyonList[this.pCnt][1];
this.pCnt++;
if (this.pCnt >= this.biyonList.length) {
_parent.stat = "Catching";
}
this.LandingCheck();
}
function LandingCheck() {
if (_root.tobbyMC.ady < 0) {
return(undefined);
}
if (this.hitTest(_root.tobbyMC.hitDummyMC) == true) {
_root.SE_pata.start();
nx = _root.tobbyMC.adx;
ny = _root.tobbyMC.ady;
this.biyonList = [[(-nx) / 2, -5], [0, 0], [nx / 3, 3], [0, 0], [nx / 4, -2], [0, 0]];
this.pCnt = 0;
_parent.setCurrent();
_root.tobbyMC.landingOK();
_parent.stat = "biyon2";
}
}
function biyonLanding() {
this.px = this.biyonList[this.pCnt][0];
this.py = this.biyonList[this.pCnt][1];
this.pCnt++;
if (this.pCnt >= this.biyonList.length) {
_parent.stat = "standby";
}
}
this.px = this._x;
this.py = this._y;
this.onPress = function () {
if (_parent.currentPachinkoFlg == true) {
if (_root.gPlayFlg == true) {
if (_parent.stat == "standby") {
_parent.SitenMC.gotoAndStop("kotei");
_parent.stat = "set";
}
}
}
};
this.onRelease = function () {
if (_root.gPlayFlg == true) {
this.fire();
_parent.SitenMC.gotoAndStop("free");
}
};
this.onReleaseOutside = function () {
if (_root.gPlayFlg == true) {
this.fire();
_parent.SitenMC.gotoAndStop("free");
}
};
Symbol 178 MovieClip Frame 3
if (_parent.entryFlg == true) {
this.main();
}
this._x = this.px;
this._y = this.py;
this.gotoAndPlay(_currentframe - 1);
Symbol 181 MovieClip Frame 1
this.stop();
Symbol 181 MovieClip Frame 5
this.stop();
Symbol 182 MovieClip Frame 1
function main() {
if (this.currentPachinkoFlg == true) {
if (this.stat != "set") {
this.move();
}
this.drawLine();
}
this.stageY = this.py - _root.baseY;
this.stageX = this.px - _root.baseX;
if ((this.stageY < 0) || (this.stageY > 480)) {
this.entryFlg = false;
this._visible = false;
} else {
this.entryFlg = true;
this._visible = true;
}
}
function move() {
this.px = this.px + ((_root._xmouse - this.px) / 4);
if (this.px < this.leftEage) {
this.px = this.leftEage;
}
if (this.px > this.rightEage) {
this.px = this.rightEage;
}
}
function drawLine() {
this.clear();
this.lineStyle(1, 545189);
this.moveTo(-40, 0);
this.lineTo(this.dodaiMC._x, this.dodaiMC._y);
this.lineTo(40, 0);
}
function setCurrent() {
this.currentPachinkoFlg = true;
if (_root.currentPachinko != this) {
_root.currentPachinko.unSetCurrent();
if ((this.floorInFlg != 0) && (this.dispFloorWinFlg == false)) {
_root.gFloorNum = this.floorInFlg;
_root.attachMovie("Win_floor", "win_floorMC", 1000);
_root.win_floorMC._x = 320;
_root.win_floorMC._y = 200;
this.dispFloorWinFlg = true;
}
if (this.endPachiFlg == true) {
_parent.entryMapScroll(_root.baseY, 10);
} else {
_parent.entryMapScroll(380 - this.stageY, 10);
}
}
_root.currentPachinko = this;
}
function unSetCurrent() {
this.dodaiMC.init();
this.drawLine();
this.stat = "stayCatch";
this.currentPachinkoFlg = false;
}
this.dispFloorWinFlg = false;
this.entryFlg = false;
this.px = this._x;
this.py = this._y;
this.drawLine();
if (this.startPachiFlg == true) {
this.stat = "standby";
this.currentPachinkoFlg = true;
_root.currentPachinko = this;
} else {
this.stat = "stayCatch";
this.currentPachinkoFlg = false;
}
Symbol 182 MovieClip Frame 3
this.main();
this._x = this.px;
this._y = this.py;
this.gotoAndPlay(_currentframe - 1);
Symbol 187 MovieClip Frame 40
this.gotoAndPlay(1);
Symbol 187 MovieClip Frame 44
_parent.unEntry();
this.stop();
Symbol 188 MovieClip Frame 1
function main() {
this.stageY = this.py - _root.baseY;
this.stageX = this.px - _root.baseX;
if (this.getFlg == false) {
if ((this.stageY < 0) || (this.stageY > 480)) {
this.entryFlg = false;
this._visible = false;
} else {
this.entryFlg = true;
this._visible = true;
}
if (this.entryFlg == true) {
this.hitCheck();
}
}
}
function hitCheck() {
if (this.hitTest(_root.tobbyMC.hitDummyMC) == true) {
_root.SE_kaito.start();
_root.getHosekiCnt++;
_root.gScore = _root.gScore + 1048;
_root.numMainScoreMC.dispNum(_root.gScore);
if (_root.getHosekiCnt >= 10) {
_root.LifeItemMC.entry();
_root.getHosekiCnt = 0;
}
this.entryFlg = false;
this.getFlg = true;
this.AnmMC.gotoAndPlay("kieru");
}
}
function unEntry() {
this._visible = false;
}
this.px = this._x;
this.py = this._y;
this.anmMC.gotoAndPlay(_root.randomInt(40));
this._visible = false;
this.entryFlg = false;
this.getFlg = false;
Symbol 188 MovieClip Frame 3
this.main();
this._x = this.px;
this._y = this.py;
this.gotoAndPlay(_currentframe - 1);
Symbol 190 MovieClip Frame 2
this.stageY = this._y - _root.baseY;
this.stageX = this._x - _root.baseX;
if ((this.stageY > 0) && (this.stageY < 480)) {
this._visible = true;
if (this.hitTest(_root.tobbyMC.hitDummyMC) == true) {
_root.tobbyMC.miss();
}
} else {
this._visible = false;
}
this.gotoAndPlay(_currentframe - 1);
Symbol 193 MovieClip Frame 2
if (_parent.hitTest(_root.tobbyMC) == true) {
_root.tobbyMC.refrectH(_parent._x);
}
this.gotoAndPlay(_currentframe - 1);
Symbol 196 MovieClip Frame 2
this.stageY = this._y - _root.baseY;
this.stageX = this._x - _root.baseX;
if ((this.stageY > 0) && (this.stageY < 480)) {
this._visible = true;
if (this.hitTest(_root.tobbyMC.hitdummyMC) == true) {
_root.tobbyMC.miss();
}
} else {
this._visible = false;
}
this.gotoAndPlay(_currentframe - 1);
Symbol 197 MovieClip Frame 1
this.gotoAndStop(30);
Symbol 197 MovieClip Frame 10
this.stop();
Symbol 197 MovieClip Frame 20
this.stop();
Symbol 197 MovieClip Frame 30
this.stop();
Symbol 197 MovieClip Frame 40
this.stop();
Symbol 198 MovieClip Frame 1
this.itaNum = 3;
Symbol 198 MovieClip Frame 3
if (this.hitTest(_root.tobbyMC) == true) {
_root.tobbyMC.refrectV();
this.itaNum--;
if (this.itaNum == 0) {
this.itaMC.gotoAndStop(40);
} else {
this.itaMC.gotoAndStop(this.itaNum * 10);
}
}
this.gotoAndPlay(_currentframe - 1);
Symbol 200 MovieClip Frame 1
function hitCheck() {
if (this.hitTest(_root.tobbyMC) == true) {
var dx = (this._x - _root.tobbyMC._x);
var dy = ((this._y - _root.baseY) - _root.tobbyMC._y);
var r = Math.atan2(dy, dx);
var k = (r / (Math.PI/180));
v = Math.sqrt((_root.tobbyMC.adx * _root.tobbyMC.adx) + (_root.tobbyMC.ady * _root.tobbyMC.ady)) * 0.75;
var ax = (Math.cos((k * Math.PI) / 180) + 0.2);
var ay = Math.sin((k * Math.PI) / 180);
var adx = (ax * v);
var ady = (ay * v);
_root.tobbyMC.refrectF(-adx, -ady, -ax, -ay);
}
}
function areaCheck() {
this.stageY = this._y - _root.baseY;
this.stageX = this._x - _root.baseX;
if ((this.stageY > 0) && (this.stageY < 480)) {
this._visible = true;
} else {
this._visible = false;
}
}
this._visible = false;
Symbol 200 MovieClip Frame 3
this.areaCheck();
if (this._visible == true) {
this.hitCheck();
}
this.gotoAndPlay(_currentframe - 1);
Symbol 202 MovieClip Frame 2
this.stageY = this._y - _root.baseY;
this.stageX = this._x - _root.baseX;
if ((this.stageY > 0) && (this.stageY < 480)) {
this._visible = true;
if (this.hitTest(_root.tobbyMC.hitDummyMC) == true) {
_root.tobbyMC.miss();
}
} else {
this._visible = false;
}
this.gotoAndPlay(_currentframe - 1);
Symbol 208 MovieClip Frame 1
trace("entwaru");
trace(_root.gMode);
if (_root.gMode == "skip") {
trace("skipIntro");
this.gotoAndStop("stay");
} else {
trace("intro_start");
this.gotoAndPlay("story");
}
Symbol 208 MovieClip Frame 5
this.stop();
Symbol 208 MovieClip Frame 41
_root.bossMC.entry();
this.stop();
Symbol 208 MovieClip Frame 139
trace("introEnd");
_root.mapMC.entryMapScroll2(-2400, 50);
this.gotoAndStop("stay");
Symbol 212 MovieClip Frame 1
function entryMapScroll(r, speed) {
this.scrollSpeed = speed;
this.scrollDistance = r;
this.scrolledDistance = 0;
this.procStat = 1;
}
function entryMapScroll2(r, speed) {
this.scrollSpeed = speed;
this.scrollDistance = r;
this.scrolledDistance = 0;
this.procStat = 2;
}
function MapScroll() {
var dy = ((this.scrollDistance - this.scrolledDistance) / this.scrollSpeed);
if (dy > 100) {
dy = 100;
}
this.py = this.py + dy;
_root.gScrollY = dy;
_root.baseX = -this.px;
_root.baseY = -this.py;
this.scrolledDistance = this.scrolledDistance + dy;
if (Math.abs(dy) < 0.1) {
this.procStat = 0;
if (this.py > -1) {
this.bossCraneMC.gotoAndPlay("out");
_root.gScrollY = 0;
}
}
}
function MapScroll2() {
var dy = ((this.scrollDistance - this.scrolledDistance) / this.scrollSpeed);
if (dy < -100) {
dy = -100;
}
if (dy > -5) {
dy = -5;
}
this.scrolledDistance = this.scrolledDistance + dy;
if (this.scrolledDistance <= this.scrollDistance) {
dy = this.scrolledDistance - this.scrollDistance;
_root.attachMovie("Win_floor", "win_floorMC", 1000);
_root.win_floorMC._x = 320;
_root.win_floorMC._y = 200;
this.procStat = 0;
}
this.py = this.py + dy;
_root.gScrollY = dy;
_root.baseX = -this.px;
_root.baseY = -this.py;
}
this.px = 0;
if (_root.gMode == "skip") {
this.py = -2400;
} else {
this.py = 0;
}
_root.baseX = -this.px;
_root.baseY = -this.py;
this.procStat = 0;
Instance of Symbol 182 MovieClip in Symbol 212 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
startPachiFlg = true;
endPachiFlg = false;
leftEage = 30;
rightEage = 610;
floorInFlg = 0;
}
Instance of Symbol 182 MovieClip in Symbol 212 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
startPachiFlg = false;
endPachiFlg = false;
leftEage = 30;
rightEage = 610;
floorInFlg = 0;
}
Instance of Symbol 182 MovieClip in Symbol 212 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
startPachiFlg = false;
endPachiFlg = true;
leftEage = 30;
rightEage = 610;
floorInFlg = 0;
}
Instance of Symbol 182 MovieClip in Symbol 212 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
startPachiFlg = false;
endPachiFlg = false;
leftEage = 30;
rightEage = 610;
floorInFlg = 0;
}
Instance of Symbol 182 MovieClip in Symbol 212 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
startPachiFlg = false;
endPachiFlg = false;
leftEage = 30;
rightEage = 610;
floorInFlg = 0;
}
Instance of Symbol 182 MovieClip in Symbol 212 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
startPachiFlg = false;
endPachiFlg = false;
leftEage = 30;
rightEage = 610;
floorInFlg = 0;
}
Instance of Symbol 182 MovieClip in Symbol 212 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
startPachiFlg = false;
endPachiFlg = false;
leftEage = 30;
rightEage = 220;
floorInFlg = 0;
}
Instance of Symbol 182 MovieClip in Symbol 212 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
startPachiFlg = false;
endPachiFlg = false;
leftEage = 420;
rightEage = 610;
floorInFlg = 0;
}
Instance of Symbol 182 MovieClip in Symbol 212 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
startPachiFlg = false;
endPachiFlg = false;
leftEage = 30;
rightEage = 610;
floorInFlg = 0;
}
Instance of Symbol 182 MovieClip "last1" in Symbol 212 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
startPachiFlg = false;
endPachiFlg = false;
leftEage = 30;
rightEage = 610;
floorInFlg = 6;
}
Instance of Symbol 182 MovieClip in Symbol 212 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
startPachiFlg = false;
endPachiFlg = false;
leftEage = 10;
rightEage = 610;
floorInFlg = 5;
}
Instance of Symbol 182 MovieClip in Symbol 212 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
startPachiFlg = false;
endPachiFlg = false;
leftEage = 30;
rightEage = 610;
floorInFlg = 0;
}
Instance of Symbol 182 MovieClip in Symbol 212 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
startPachiFlg = false;
endPachiFlg = false;
leftEage = 30;
rightEage = 610;
floorInFlg = 2;
}
Instance of Symbol 182 MovieClip in Symbol 212 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
startPachiFlg = false;
endPachiFlg = false;
leftEage = 30;
rightEage = 610;
floorInFlg = 3;
}
Instance of Symbol 182 MovieClip in Symbol 212 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
startPachiFlg = false;
endPachiFlg = false;
leftEage = 30;
rightEage = 610;
floorInFlg = 4;
}
Instance of Symbol 182 MovieClip in Symbol 212 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
startPachiFlg = false;
endPachiFlg = false;
leftEage = 30;
rightEage = 610;
floorInFlg = 0;
}
Instance of Symbol 182 MovieClip in Symbol 212 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
startPachiFlg = false;
endPachiFlg = false;
leftEage = 30;
rightEage = 610;
floorInFlg = 0;
}
Symbol 212 MovieClip Frame 3
if (this.procStat == 1) {
this.MapScroll();
}
if (this.procStat == 2) {
this.MapScroll2();
}
this._x = this.px;
this._y = this.py;
this.gotoAndPlay(_currentframe - 1);
Symbol 215 MovieClip Frame 1
this.stop();
Symbol 215 MovieClip Frame 10
this.stop();
Symbol 217 MovieClip Frame 1
function main() {
if (this.procStat == 1) {
this.up();
}
if (this.procStat == 2) {
this.up2();
}
}
function entry() {
this.himoMC.gotoAndStop("standby");
this._visible = true;
this.procStat = 1;
}
function entry2() {
this.himoMC.gotoAndStop("free");
this.procStat = 2;
}
function up() {
this.px = _root.tobbyMC._x;
this.py = _root.tobbyMC._y;
}
function up2() {
this.py = this.py - 10;
if (this.py < -10) {
this.procStat = 0;
this._visible = false;
}
}
this.px = 0;
this.py = -1000;
this.procStat = 0;
this._visible = false;
Symbol 217 MovieClip Frame 3
this.main();
this._x = this.px;
this._y = this.py;
this.gotoAndPlay(_currentframe - 1);
Symbol 218 MovieClip Frame 1
this.gotoAndStop(30);
Symbol 218 MovieClip Frame 10
this.stop();
Symbol 218 MovieClip Frame 20
this.stop();
Symbol 218 MovieClip Frame 30
this.stop();
Symbol 218 MovieClip Frame 40
this.stop();
Symbol 219 MovieClip Frame 9
this.gotoAndPlay(1);
Symbol 219 MovieClip Frame 25
this.gotoAndPlay(1);
Symbol 219 MovieClip Frame 30
this.stop();
Symbol 220 MovieClip Frame 1
function entry() {
this.entryFlg = true;
this.procStat = 1;
}
function main() {
if (this.procStat == 1) {
this.enter();
}
if (this.procStat == 2) {
this.workLR();
this.hammer();
this.hitCheck();
}
if (this.procStat == 10) {
this.fall();
}
}
function enter() {
this.adx = (320 - this.px) / 10;
this.px = this.px + this.adx;
if (this.adx < 0.1) {
this.procStat = 2;
this.adx = 5;
}
}
function workLR() {
if ((this.px < 50) || (this.px > 590)) {
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.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++;
_root.SE_poi.start();
}
function hitCheck() {
if (this.hitTest(_root.tobbyMC) == true) {
if (_root.tobbyMC.ady < 0) {
_root.tobbyMC.hitBoss();
this.itaCnt--;
if (this.itaCnt != 0) {
this.itaMC.gotoAndStop(this.itaCnt * 10);
this.waruMC.gotoAndPlay("jump");
} else {
this.ady = -10;
this.procStat = 10;
this.itaMC.gotoAndStop(40);
this.waruMC.gotoAndStop("fall");
}
}
}
}
function fall() {
this.py = this.py + this.ady;
this.ady = this.ady + 0.5;
if (this.py > 500) {
this.procStat = 0;
_root.gotoAndPlay("clear");
}
}
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;
Symbol 220 MovieClip Frame 3
this.main();
this._x = this.px;
this._y = this.py;
this.gotoAndPlay(_currentframe - 1);
Symbol 222 MovieClip Frame 1
function entry() {
if (this.entryFlg == true) {
return(undefined);
}
this.px = 320;
this.py = -80;
this._visible = true;
this.entryFlg = true;
}
function unEntry() {
this.entryFlg = false;
this._visible = false;
this.py = 1000;
this._y = 1000;
}
function main() {
var d = (Math.cos((this.Angle * Math.PI) / 180) * this.amp);
this.px = this.px + d;
this.py = this.py + 2;
this.py = this.py + _root.gScrollY;
this.Angle = this.Angle + this.speed;
this.Angle = this.Angle % 360;
if (this.py > 500) {
this.unEntry();
}
if (this.hitTest(_root.tobbyMC)) {
_root.gLastPlayer++;
_root.SE_kaito.start();
if (_root.gLastPlayer > 9) {
_root.gLastPlayer = 9;
}
this.unEntry();
}
}
this.angle = 0;
this.amp = 10;
this.speed = 5;
this.entryFlg = false;
this._visible = false;
Symbol 222 MovieClip Frame 3
if (this.entryFlg == true) {
this.main();
}
this._x = this.px;
this._y = this.py;
this.gotoAndPlay(_currentframe - 1);
Symbol 224 MovieClip Frame 1
function dispNum(num) {
var t = num;
var d = 10;
i = 0;
while (i < this.keta) {
var k = ((t % d) / (d / 10));
eval ("this.n" + String(i + 1)).gotoAndStop(k + 1);
t = t - (t % d);
d = d * 10;
i++;
}
}
i = 0;
while (i < (this.keta - 1)) {
MCname = "n" + String(i + 2);
this.attachMovie("number", MCname, i + 2);
this[MCname]._x = -15 - (15 * i);
this[MCname]._y = 0;
i++;
}
Symbol 224 MovieClip Frame 5
this.gotoAndPlay(_currentframe - 1);
Symbol 229 MovieClip Frame 2
this.gotoAndPlay(_currentframe - 1);
Symbol 236 Button
on (release) {
this.continueFlg = true;
this.play();
}
Symbol 237 Button
on (release) {
this.continueFlg = false;
this.play();
}
Instance of Symbol 19 MovieClip in Symbol 241 MovieClip Frame 6
//component parameters
onClipEvent (initialize) {
stayTime = 1500;
}
Symbol 241 MovieClip Frame 12
_root.gLastPlayer--;
if (_root.gLastPlayer == 0) {
this.gotoAndPlay("gameover");
}
Symbol 241 MovieClip Frame 20
_root.tobbyMC.readyFusenIn();
_root.gotoAndPlay("main");
this.stop();
Instance of Symbol 19 MovieClip in Symbol 241 MovieClip Frame 26
//component parameters
onClipEvent (initialize) {
stayTime = 500;
}
Instance of Symbol 19 MovieClip in Symbol 241 MovieClip Frame 35
//component parameters
onClipEvent (initialize) {
stayTime = 1500;
}
Instance of Symbol 19 MovieClip in Symbol 241 MovieClip Frame 43
//component parameters
onClipEvent (initialize) {
stayTime = 500;
}
Instance of Symbol 240 MovieClip "keySelecterMC" in Symbol 241 MovieClip Frame 49
onClipEvent (load) {
if (_root.KeyPlayFlg == false) {
this._visible = false;
}
_parent.continueFlg = true;
}
onClipEvent (keyDown) {
if (_root.KeyPlayFlg == true) {
var Lastkey = key.getCode();
if (LastKey == 37) {
this._x = -110;
_parent.continueFlg = true;
}
var Lastkey = key.getCode();
if (LastKey == 39) {
this._x = 20;
_parent.continueFlg = false;
}
if ((LastKey == 13) || (LastKey == 32)) {
_parent.play();
}
}
}
Symbol 241 MovieClip Frame 50
this.stop();
Symbol 241 MovieClip Frame 65
if (this.continueFlg == true) {
_root.gLastPlayer = 3;
_root.tobbyMC.readyFusenIn();
_root.gScore = 0;
_root.numMainScoreMC.dispNum(_root.gScore);
_root.gotoAndPlay("gameIn");
} else {
_root.gotoAndPlay("gameInit");
}