Frame 1
this.stop();
Frame 10
this.stop();
Frame 20
function randomInt(maxNum) {
var _local1 = Math.random() * maxNum;
if (_local1 == 0) {
_local1 = 1;
} else {
_local1 = Math.ceil(_local1);
}
return(_local1);
}
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 122 MovieClip in Frame 40
onClipEvent (keyDown) {
var Lastkey = key.getCode();
if (LastKey == 16) {
_root.KeyPlayFlg = !_root.KeyPlayFlg;
}
}
Instance of Symbol 125 MovieClip in Frame 40
/* no clip actions */
Frame 50
this.stop();
Instance of Symbol 155 MovieClip in Frame 50
onClipEvent (keyDown) {
this.play();
}
Frame 60
this.stop();
Instance of Symbol 232 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 237 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 119 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 112 Button
on (release) {
getURL ("http://www.toshiba.co.jp/index_j.htm", "_blank");
}
Symbol 113 Button
on (release) {
getURL ("http://www.toshiba.co.jp/digital/index_j.htm", "_blank");
}
Symbol 114 Button
on (release) {
getURL ("http://www.toshiba.co.jp/c_right/index_j.htm", "_blank");
}
Symbol 119 MovieClip Frame 1
if (this.mode == false) {
this.alphaRate = 0;
this.gotoAndPlay("out");
} else {
this.alphaRate = 100;
this.gotoAndPlay("in");
}
Symbol 119 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 119 MovieClip Frame 4
if (this.stayFlg == false) {
_parent.gotoAndPlay(this.jumpLabelName);
}
this.stop();
Symbol 119 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 119 MovieClip Frame 12
if (this.stayFlg == false) {
_parent.gotoAndPlay(this.jumpLabelName);
}
this.stop();
Instance of Symbol 78 MovieClip in Symbol 122 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 119 MovieClip in Symbol 122 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
FadeFrm = 15;
mode = true;
stayFlg = false;
jumpLabelName = "disp";
}
Symbol 122 MovieClip Frame 5
this.stop();
Instance of Symbol 121 MovieClip in Symbol 122 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 122 MovieClip Frame 6
this.stop();
Symbol 122 MovieClip Frame 11
this.stop();
Instance of Symbol 119 MovieClip in Symbol 122 MovieClip Frame 11
//component parameters
onClipEvent (initialize) {
FadeFrm = 15;
mode = false;
stayFlg = false;
jumpLabelName = "fin";
}
Symbol 122 MovieClip Frame 12
_root.gotoAndPlay("gameIn");
Symbol 129 Button
on (release) {
this.play();
}
Symbol 155 MovieClip Frame 1
this.stop();
Instance of Symbol 119 MovieClip in Symbol 155 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
FadeFrm = 15;
mode = true;
stayFlg = false;
jumpLabelName = "disp";
}
Symbol 155 MovieClip Frame 6
this.stop();
Symbol 155 MovieClip Frame 10
this.stop();
Instance of Symbol 119 MovieClip in Symbol 155 MovieClip Frame 10
//component parameters
onClipEvent (initialize) {
FadeFrm = 15;
mode = false;
stayFlg = false;
jumpLabelName = "fin";
}
Symbol 155 MovieClip Frame 11
_root.gotoAndPlay("title");
Symbol 174 MovieClip Frame 19
if (_root.gScore < 20000) {
this.stop();
}
Symbol 174 MovieClip Frame 40
if (_root.gScore < 30000) {
this.stop();
}
Symbol 174 MovieClip Frame 60
if (_root.gScore < 32036) {
this.stop();
}
Symbol 174 MovieClip Frame 80
if (_root.gScore < 33536) {
this.stop();
}
Symbol 174 MovieClip Frame 110
this.stop();
Symbol 177 MovieClip Frame 1
this.stop();
Instance of Symbol 119 MovieClip in Symbol 177 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
FadeFrm = 30;
mode = true;
stayFlg = false;
jumpLabelName = "in";
}
Symbol 177 MovieClip Frame 43
this.stop();
Instance of Symbol 119 MovieClip in Symbol 177 MovieClip Frame 43
//component parameters
onClipEvent (initialize) {
FadeFrm = 30;
mode = false;
stayFlg = false;
jumpLabelName = "inEnd";
}
Symbol 177 MovieClip Frame 69
this.stop();
Instance of Symbol 119 MovieClip in Symbol 177 MovieClip Frame 69
//component parameters
onClipEvent (initialize) {
FadeFrm = 30;
mode = true;
stayFlg = false;
jumpLabelName = "end2";
}
Instance of Symbol 19 MovieClip in Symbol 177 MovieClip Frame 72
//component parameters
onClipEvent (initialize) {
stayTime = 2000;
}
Instance of Symbol 19 MovieClip in Symbol 177 MovieClip Frame 120
//component parameters
onClipEvent (initialize) {
stayTime = 2000;
}
Instance of Symbol 19 MovieClip in Symbol 177 MovieClip Frame 135
//component parameters
onClipEvent (initialize) {
stayTime = 2000;
}
Symbol 177 MovieClip Frame 136
this.stop();
Instance of Symbol 119 MovieClip in Symbol 177 MovieClip Frame 136
//component parameters
onClipEvent (initialize) {
FadeFrm = 120;
mode = false;
stayFlg = false;
jumpLabelName = "fin";
}
Symbol 177 MovieClip Frame 137
_root.gotoAndPlay("init");
Symbol 183 MovieClip Frame 1
this.stop();
Symbol 183 MovieClip Frame 5
this.stop();
Symbol 183 MovieClip Frame 10
this.stop();
Symbol 183 MovieClip Frame 15
this.stop();
Symbol 183 MovieClip Frame 25
this.gotoAndStop(1);
Symbol 183 MovieClip Frame 34
this.gotoAndPlay(_currentframe - 3);
Symbol 183 MovieClip Frame 40
this.stop();
Symbol 184 MovieClip Frame 1
function main() {
var _local1 = this;
if (_local1.procStat == 1) {
_local1.move();
}
if (_local1.procStat == 2) {
_local1.fly();
}
if (_local1.procStat == 3) {
_local1.fusenin();
}
if (_local1.procStat == 4) {
_local1.missFall();
}
}
function move() {
var _local1 = _root;
var _local2 = this;
_local2.px = (_local1.currentPachinko.px + _local1.currentPachinko.dodaiMC.px) - _local1.BaseX;
_local2.py = ((_local1.currentPachinko.py + _local1.currentPachinko.dodaiMC.py) - _local1.BaseY) - 15;
if (_local2.mutekiCnt <= 0) {
_local2.anmMC.gotoAndStop("stand");
} else {
_local2.mutekiCnt--;
}
}
function fire(ax, ay) {
var _local1 = this;
if (_local1.procStat == 4) {
} else {
_local1.mutekiCnt = 0;
_local1.kizetuFlg = false;
_local1.adx = ax * 0.85;
_local1.ady = ay * 0.85;
_local1.procStat = 2;
}
}
function fly() {
var _local1 = this;
var _local2 = _root;
if (_local1.px < 20) {
_local1.px = 20;
_local1.adx = -_local1.adx;
_local2.SE_naguru.start();
}
if (_local1.px > 620) {
_local1.px = 620;
_local1.adx = -_local1.adx;
_local2.SE_naguru.start();
}
if (_local1.py > 500) {
_local2.SE_ng2.start();
_local1.py = 600;
_local1.procStat = 0;
_local2.gotoAndPlay("miss");
}
_local1.ady = _local1.ady + 0.8;
_local1.adx = _local1.adx * 0.98;
_local1.px = _local1.px + _local1.adx;
_local1.py = _local1.py + _local1.ady;
if (_local1.ady < -1) {
_local1.anmMC.gotoAndStop("jump");
} else if (_local1.ady > 4) {
_local1.anmMC.gotoAndStop("fall");
} else {
_local1.anmMC.gotoAndStop("top");
}
}
function readyFusenIn() {
var _local1 = this;
var _local2 = _root;
_local1.mutekiCnt = 90;
_local1.kizetuFlg = true;
_local1.ady = -5;
_local1.py = 600;
_local1.px = _local2.currentPachinko._x - _local2.BaseX;
_local1.angle = 0;
_local1.anmMC.gotoAndPlay("top");
_local2.balloonMC.entry();
_local1.procStat = 3;
}
function LandingOK() {
var _local1 = this;
_local1.adx = 0;
_local1.ady = 0;
_local1.angle = 0;
_local1.kizetuFlg = false;
if (_local1.mutekiCnt > 0) {
_local1.anmMC.gotoAndPlay("muteki");
} else {
_local1.anmMC.gotoAndPlay("landing");
}
_local1.procStat = 1;
}
function fusenin() {
var _local1 = this;
var _local2 = _root;
_local1.py = _local1.py + _local1.ady;
if (_local1.py < ((_local2.currentPachinko._y - _local2.BaseY) - 50)) {
_local1.procStat = 2;
_local1.adx = 0;
_local1.ady = 0;
_local2.currentPachinko.stat = "Catching";
_local1.kizetuFlg = false;
_local2.gPlayFlg = true;
_local2.balloonMC.entry2();
}
}
function missFall() {
var _local1 = this;
_local1.ady = _local1.ady + 0.5;
_local1.py = _local1.py + _local1.ady;
_local1.angle = _local1.angle + 60;
if (_local1.py > 500) {
_local1.py = 600;
_local1.procStat = 0;
_root.gPlayFlg = false;
_root.gotoAndPlay("miss");
}
}
function miss() {
var _local1 = this;
var _local2 = _root;
if ((_local1.kizetuFlg == true) || (_local1.mutekiCnt > 0)) {
} else {
_local2.gScore = _local2.gScore - 500;
if (_local2.gScore < 0) {
_local2.gScore = 0;
}
_local2.numMainScoreMC.dispNum(_local2.gScore);
_local1.anmMC.gotoAndStop("miss");
_local2.SE_death.start();
_local1.kizetuFlg = true;
_local1.adx = 0;
_local1.ady = (-_local1.ady) * 0.5;
_local1.procStat = 4;
}
}
function refrectH(nx) {
var _local1 = this;
if (_local1.kizetuFlg == true) {
} else {
_local1.adx = -_local1.adx;
if (_local1.adx > 0) {
_local1.px = nx + 38;
} else {
_local1.px = nx - 38;
}
_root.SE_naguru.start();
}
}
function refrectV() {
var _local1 = this;
if (_local1.kizetuFlg == true) {
} else {
_local1.ady = -_local1.ady;
_local1.py = _local1.py + (_local1.ady / 2);
_root.SE_naguru.start();
}
}
function refrectF(nax, nay, narx, nary) {
var _local1 = this;
if (_local1.kizetuFlg == true) {
} else {
_local1.adx = nax;
_local1.ady = nay;
_local1.px = _local1.px + (narx * 10);
_local1.py = _local1.py + (nary * 10);
_root.SE_po.start();
}
}
function hitBoss() {
var _local1 = this;
_local1.adx = -_local1.adx;
_local1.ady = (-_local1.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 184 MovieClip Frame 3
this.main();
this._x = this.px;
this._y = this.py;
this._rotation = this.angle;
this.gotoAndPlay(_currentframe - 1);
Symbol 186 MovieClip Frame 1
function init() {
var _local1 = this;
_local1.px = 0;
_local1.py = 0;
_local1._x = 0;
_local1._y = 0;
}
function main() {
var _local1 = _parent;
var _local2 = this;
if (_local1.currentPachinkoFlg == true) {
if (_local1.stat == "set") {
_local2.hiku();
}
if (_local1.stat == "biyon") {
_local2.biyon();
}
if (_local1.stat == "Catching") {
_local2.LandingCheck();
}
if (_local1.stat == "biyon2") {
_local2.biyonLanding();
}
} else {
if (_local1.stat == "biyon") {
_local2.biyon();
}
if (_local1.stat == "stayCatch") {
_local2.LandingCheck();
}
}
}
function hiku() {
var _local1 = this;
_local1.px = _root._xmouse - _parent._x;
_local1.py = _root._ymouse - _parent.stageY;
if (_local1.px < -60) {
_local1.px = -60;
}
if (_local1.px > 60) {
_local1.px = 60;
}
if (_local1.py < 0) {
_local1.py = 0;
}
if (_local1.py > 80) {
_local1.py = 80;
}
}
function fire() {
var _local3 = this;
if (_parent.stat != "set") {
} else {
_root.SE_tobu.start(0, 1);
var _local1 = _local3._x - 0;
var _local2 = _local3._y - 0;
var r = Math.atan2(_local2, _local1);
var k = (r / (Math.PI/180));
v = Math.sqrt((_local1 * _local1) + (_local2 * _local2)) / 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";
_local3.biyonList = [[(-_local1) / 3, (-_local2) / 3], [0, 0], [_local1 / 4, _local2 / 4], [_local1 / 3, _local2 / 3], [0, 0], [(-_local1) / 6, (-_local2) / 6], [(-_local1) / 5, (-_local2) / 5], [0, 0], [_local1 / 7, _local2 / 7], [_local1 / 6, _local2 / 6], [0, 0], [(-_local1) / 8, (-_local2) / 8], [(-_local1) / 7, (-_local2) / 7], [0, 0], [_local1 / 8, _local2 / 8], [0, 0], [(-_local1) / 9, (-_local2) / 9], [0, 0], [_local1 / 10, _local2 / 10], [(-_local1) / 15, (-_local1) / 15], [_local1 / 20, _local2 / 20], [0, 0]];
_local3.pCnt = 0;
}
}
function biyon() {
var _local1 = this;
_local1.px = _local1.biyonList[_local1.pCnt][0];
_local1.py = _local1.biyonList[_local1.pCnt][1];
_local1.pCnt++;
if (_local1.pCnt >= _local1.biyonList.length) {
_parent.stat = "Catching";
}
_local1.LandingCheck();
}
function LandingCheck() {
var _local1 = _root;
var _local2 = this;
if (_local1.tobbyMC.ady < 0) {
} else if (_local2.hitTest(_local1.tobbyMC.hitDummyMC) == true) {
_local1.SE_pata.start();
nx = _local1.tobbyMC.adx;
ny = _local1.tobbyMC.ady;
_local2.biyonList = [[(-nx) / 2, -5], [0, 0], [nx / 3, 3], [0, 0], [nx / 4, -2], [0, 0]];
_local2.pCnt = 0;
_parent.setCurrent();
_local1.tobbyMC.landingOK();
_parent.stat = "biyon2";
}
}
function biyonLanding() {
var _local1 = this;
_local1.px = _local1.biyonList[_local1.pCnt][0];
_local1.py = _local1.biyonList[_local1.pCnt][1];
_local1.pCnt++;
if (_local1.pCnt >= _local1.biyonList.length) {
_parent.stat = "standby";
}
}
this.px = this._x;
this.py = this._y;
this.onPress = function () {
var _local1 = _parent;
if (_local1.currentPachinkoFlg == true) {
if (_root.gPlayFlg == true) {
if (_local1.stat == "standby") {
_local1.SitenMC.gotoAndStop("kotei");
_local1.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 186 MovieClip Frame 3
if (_parent.entryFlg == true) {
this.main();
}
this._x = this.px;
this._y = this.py;
this.gotoAndPlay(_currentframe - 1);
Symbol 189 MovieClip Frame 1
this.stop();
Symbol 189 MovieClip Frame 5
this.stop();
Symbol 190 MovieClip Frame 1
function main() {
var _local1 = this;
if (_local1.currentPachinkoFlg == true) {
if (_local1.stat != "set") {
_local1.move();
}
_local1.drawLine();
}
_local1.stageY = _local1.py - _root.baseY;
_local1.stageX = _local1.px - _root.baseX;
if ((_local1.stageY < 0) || (_local1.stageY > 480)) {
_local1.entryFlg = false;
_local1._visible = false;
} else {
_local1.entryFlg = true;
_local1._visible = true;
}
}
function move() {
var _local1 = this;
_local1.px = _local1.px + ((_root._xmouse - _local1.px) / 4);
if (_local1.px < _local1.leftEage) {
_local1.px = _local1.leftEage;
}
if (_local1.px > _local1.rightEage) {
_local1.px = _local1.rightEage;
}
}
function drawLine() {
var _local1 = this;
_local1.clear();
_local1.lineStyle(1, 545189);
_local1.moveTo(-40, 0);
_local1.lineTo(_local1.dodaiMC._x, _local1.dodaiMC._y);
_local1.lineTo(40, 0);
}
function setCurrent() {
var _local1 = this;
var _local2 = _root;
_local1.currentPachinkoFlg = true;
if (_local2.currentPachinko != _local1) {
_local2.currentPachinko.unSetCurrent();
if ((_local1.floorInFlg != 0) && (_local1.dispFloorWinFlg == false)) {
_local2.gFloorNum = _local1.floorInFlg;
_local2.attachMovie("Win_floor", "win_floorMC", 1000);
_local2.win_floorMC._x = 320;
_local2.win_floorMC._y = 200;
_local1.dispFloorWinFlg = true;
}
if (_local1.endPachiFlg == true) {
_parent.entryMapScroll(_local2.baseY, 10);
} else {
_parent.entryMapScroll(380 - _local1.stageY, 10);
}
}
_local2.currentPachinko = _local1;
}
function unSetCurrent() {
var _local1 = this;
_local1.dodaiMC.init();
_local1.drawLine();
_local1.stat = "stayCatch";
_local1.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 190 MovieClip Frame 3
this.main();
this._x = this.px;
this._y = this.py;
this.gotoAndPlay(_currentframe - 1);
Symbol 195 MovieClip Frame 40
this.gotoAndPlay(1);
Symbol 195 MovieClip Frame 44
_parent.unEntry();
this.stop();
Symbol 196 MovieClip Frame 1
function main() {
var _local1 = this;
_local1.stageY = _local1.py - _root.baseY;
_local1.stageX = _local1.px - _root.baseX;
if (_local1.getFlg == false) {
if ((_local1.stageY < 0) || (_local1.stageY > 480)) {
_local1.entryFlg = false;
_local1._visible = false;
} else {
_local1.entryFlg = true;
_local1._visible = true;
}
if (_local1.entryFlg == true) {
_local1.hitCheck();
}
}
}
function hitCheck() {
var _local1 = _root;
var _local2 = this;
if (_local2.hitTest(_local1.tobbyMC.hitDummyMC) == true) {
_local1.SE_kaito.start();
_local1.getHosekiCnt++;
_local1.gScore = _local1.gScore + 1048;
_local1.numMainScoreMC.dispNum(_local1.gScore);
if (_local1.getHosekiCnt >= 10) {
_local1.LifeItemMC.entry();
_local1.getHosekiCnt = 0;
}
_local2.entryFlg = false;
_local2.getFlg = true;
_local2.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 196 MovieClip Frame 3
this.main();
this._x = this.px;
this._y = this.py;
this.gotoAndPlay(_currentframe - 1);
Symbol 198 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 201 MovieClip Frame 2
if (_parent.hitTest(_root.tobbyMC) == true) {
_root.tobbyMC.refrectH(_parent._x);
}
this.gotoAndPlay(_currentframe - 1);
Symbol 204 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 205 MovieClip Frame 1
this.gotoAndStop(30);
Symbol 205 MovieClip Frame 10
this.stop();
Symbol 205 MovieClip Frame 20
this.stop();
Symbol 205 MovieClip Frame 30
this.stop();
Symbol 205 MovieClip Frame 40
this.stop();
Symbol 206 MovieClip Frame 1
this.itaNum = 3;
Symbol 206 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 208 MovieClip Frame 1
function hitCheck() {
var _local1 = _root;
if (this.hitTest(_local1.tobbyMC) == true) {
var dx = (this._x - _local1.tobbyMC._x);
var dy = ((this._y - _local1.baseY) - _local1.tobbyMC._y);
var r = Math.atan2(dy, dx);
var k = (r / (Math.PI/180));
v = Math.sqrt((_local1.tobbyMC.adx * _local1.tobbyMC.adx) + (_local1.tobbyMC.ady * _local1.tobbyMC.ady)) * 0.75;
var _local3 = Math.cos((k * Math.PI) / 180) + 0.2;
var _local2 = Math.sin((k * Math.PI) / 180);
var adx = (_local3 * v);
var ady = (_local2 * v);
_local1.tobbyMC.refrectF(-adx, -ady, -_local3, -_local2);
}
}
function areaCheck() {
var _local1 = this;
_local1.stageY = _local1._y - _root.baseY;
_local1.stageX = _local1._x - _root.baseX;
if ((_local1.stageY > 0) && (_local1.stageY < 480)) {
_local1._visible = true;
} else {
_local1._visible = false;
}
}
this._visible = false;
Symbol 208 MovieClip Frame 3
this.areaCheck();
if (this._visible == true) {
this.hitCheck();
}
this.gotoAndPlay(_currentframe - 1);
Symbol 210 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 216 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 216 MovieClip Frame 5
this.stop();
Symbol 216 MovieClip Frame 41
_root.bossMC.entry();
this.stop();
Symbol 216 MovieClip Frame 139
trace("introEnd");
_root.mapMC.entryMapScroll2(-2400, 50);
this.gotoAndStop("stay");
Symbol 220 MovieClip Frame 1
function entryMapScroll(r, speed) {
var _local1 = this;
_local1.scrollSpeed = speed;
_local1.scrollDistance = r;
_local1.scrolledDistance = 0;
_local1.procStat = 1;
}
function entryMapScroll2(r, speed) {
var _local1 = this;
_local1.scrollSpeed = speed;
_local1.scrollDistance = r;
_local1.scrolledDistance = 0;
_local1.procStat = 2;
}
function MapScroll() {
var _local1 = this;
var _local3 = _root;
var _local2 = (_local1.scrollDistance - _local1.scrolledDistance) / _local1.scrollSpeed;
if (_local2 > 100) {
_local2 = 100;
}
_local1.py = _local1.py + _local2;
_local3.gScrollY = _local2;
_local3.baseX = -_local1.px;
_local3.baseY = -_local1.py;
_local1.scrolledDistance = _local1.scrolledDistance + _local2;
if (Math.abs(_local2) < 0.1) {
_local1.procStat = 0;
if (_local1.py > -1) {
_local1.bossCraneMC.gotoAndPlay("out");
_local3.gScrollY = 0;
}
}
}
function MapScroll2() {
var _local1 = this;
var _local3 = _root;
var _local2 = (_local1.scrollDistance - _local1.scrolledDistance) / _local1.scrollSpeed;
if (_local2 < -100) {
_local2 = -100;
}
if (_local2 > -5) {
_local2 = -5;
}
_local1.scrolledDistance = _local1.scrolledDistance + _local2;
if (_local1.scrolledDistance <= _local1.scrollDistance) {
_local2 = _local1.scrolledDistance - _local1.scrollDistance;
_local3.attachMovie("Win_floor", "win_floorMC", 1000);
_local3.win_floorMC._x = 320;
_local3.win_floorMC._y = 200;
_local1.procStat = 0;
}
_local1.py = _local1.py + _local2;
_local3.gScrollY = _local2;
_local3.baseX = -_local1.px;
_local3.baseY = -_local1.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 190 MovieClip in Symbol 220 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
startPachiFlg = true;
endPachiFlg = false;
leftEage = 30;
rightEage = 610;
floorInFlg = 0;
}
Instance of Symbol 190 MovieClip in Symbol 220 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
startPachiFlg = false;
endPachiFlg = false;
leftEage = 30;
rightEage = 610;
floorInFlg = 0;
}
Instance of Symbol 190 MovieClip in Symbol 220 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
startPachiFlg = false;
endPachiFlg = true;
leftEage = 30;
rightEage = 610;
floorInFlg = 0;
}
Instance of Symbol 190 MovieClip in Symbol 220 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
startPachiFlg = false;
endPachiFlg = false;
leftEage = 30;
rightEage = 610;
floorInFlg = 0;
}
Instance of Symbol 190 MovieClip in Symbol 220 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
startPachiFlg = false;
endPachiFlg = false;
leftEage = 30;
rightEage = 610;
floorInFlg = 0;
}
Instance of Symbol 190 MovieClip in Symbol 220 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
startPachiFlg = false;
endPachiFlg = false;
leftEage = 30;
rightEage = 610;
floorInFlg = 0;
}
Instance of Symbol 190 MovieClip in Symbol 220 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
startPachiFlg = false;
endPachiFlg = false;
leftEage = 30;
rightEage = 220;
floorInFlg = 0;
}
Instance of Symbol 190 MovieClip in Symbol 220 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
startPachiFlg = false;
endPachiFlg = false;
leftEage = 420;
rightEage = 610;
floorInFlg = 0;
}
Instance of Symbol 190 MovieClip in Symbol 220 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
startPachiFlg = false;
endPachiFlg = false;
leftEage = 30;
rightEage = 610;
floorInFlg = 0;
}
Instance of Symbol 190 MovieClip "last1" in Symbol 220 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
startPachiFlg = false;
endPachiFlg = false;
leftEage = 30;
rightEage = 610;
floorInFlg = 6;
}
Instance of Symbol 190 MovieClip in Symbol 220 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
startPachiFlg = false;
endPachiFlg = false;
leftEage = 10;
rightEage = 610;
floorInFlg = 5;
}
Instance of Symbol 190 MovieClip in Symbol 220 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
startPachiFlg = false;
endPachiFlg = false;
leftEage = 30;
rightEage = 610;
floorInFlg = 0;
}
Instance of Symbol 190 MovieClip in Symbol 220 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
startPachiFlg = false;
endPachiFlg = false;
leftEage = 30;
rightEage = 610;
floorInFlg = 2;
}
Instance of Symbol 190 MovieClip in Symbol 220 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
startPachiFlg = false;
endPachiFlg = false;
leftEage = 30;
rightEage = 610;
floorInFlg = 3;
}
Instance of Symbol 190 MovieClip in Symbol 220 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
startPachiFlg = false;
endPachiFlg = false;
leftEage = 30;
rightEage = 610;
floorInFlg = 4;
}
Instance of Symbol 190 MovieClip in Symbol 220 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
startPachiFlg = false;
endPachiFlg = false;
leftEage = 30;
rightEage = 610;
floorInFlg = 0;
}
Instance of Symbol 190 MovieClip in Symbol 220 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
startPachiFlg = false;
endPachiFlg = false;
leftEage = 30;
rightEage = 610;
floorInFlg = 0;
}
Symbol 220 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 223 MovieClip Frame 1
this.stop();
Symbol 223 MovieClip Frame 10
this.stop();
Symbol 225 MovieClip Frame 1
function main() {
var _local1 = this;
if (_local1.procStat == 1) {
_local1.up();
}
if (_local1.procStat == 2) {
_local1.up2();
}
}
function entry() {
var _local1 = this;
_local1.himoMC.gotoAndStop("standby");
_local1._visible = true;
_local1.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() {
var _local1 = this;
_local1.py = _local1.py - 10;
if (_local1.py < -10) {
_local1.procStat = 0;
_local1._visible = false;
}
}
this.px = 0;
this.py = -1000;
this.procStat = 0;
this._visible = false;
Symbol 225 MovieClip Frame 3
this.main();
this._x = this.px;
this._y = this.py;
this.gotoAndPlay(_currentframe - 1);
Symbol 226 MovieClip Frame 1
this.gotoAndStop(30);
Symbol 226 MovieClip Frame 10
this.stop();
Symbol 226 MovieClip Frame 20
this.stop();
Symbol 226 MovieClip Frame 30
this.stop();
Symbol 226 MovieClip Frame 40
this.stop();
Symbol 227 MovieClip Frame 9
this.gotoAndPlay(1);
Symbol 227 MovieClip Frame 25
this.gotoAndPlay(1);
Symbol 227 MovieClip Frame 30
this.stop();
Symbol 228 MovieClip Frame 1
function entry() {
this.entryFlg = true;
this.procStat = 1;
}
function main() {
var _local1 = this;
if (_local1.procStat == 1) {
_local1.enter();
}
if (_local1.procStat == 2) {
_local1.workLR();
_local1.hammer();
_local1.hitCheck();
}
if (_local1.procStat == 10) {
_local1.fall();
}
}
function enter() {
var _local1 = this;
_local1.adx = (320 - _local1.px) / 10;
_local1.px = _local1.px + _local1.adx;
if (_local1.adx < 0.1) {
_local1.procStat = 2;
_local1.adx = 5;
}
}
function workLR() {
var _local1 = this;
if ((_local1.px < 50) || (_local1.px > 590)) {
_local1.adx = -_local1.adx;
_local1._xscale = -_local1._xscale;
}
_local1.px = _local1.px + _local1.adx;
}
function hammer() {
var _local1 = this;
if (_local1.hammerDcnt == 30) {
_local1.entryHammer();
_local1.hammerDcnt = 0;
}
_local1.hammerDcnt++;
}
function entryHammer() {
var _local1 = this;
var _local2 = _root;
newName = "h" + String(_local1.hammerCnt);
_local2.attachMovie("hammer", newName, _local1.hammerCnt + 100);
_local2[newName]._x = _local1.px;
_local2[newName]._y = _local1.py;
_local2[newName].adx = _local1.adx;
_local2[newName].ady = -10;
_local1.hammerCnt++;
_local2.SE_poi.start();
}
function hitCheck() {
var _local1 = this;
var _local2 = _root;
if (_local1.hitTest(_local2.tobbyMC) == true) {
if (_local2.tobbyMC.ady < 0) {
_local2.tobbyMC.hitBoss();
_local1.itaCnt--;
if (_local1.itaCnt != 0) {
_local1.itaMC.gotoAndStop(_local1.itaCnt * 10);
_local1.waruMC.gotoAndPlay("jump");
} else {
_local1.ady = -10;
_local1.procStat = 10;
_local1.itaMC.gotoAndStop(40);
_local1.waruMC.gotoAndStop("fall");
}
}
}
}
function fall() {
var _local1 = this;
_local1.py = _local1.py + _local1.ady;
_local1.ady = _local1.ady + 0.5;
if (_local1.py > 500) {
_local1.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 228 MovieClip Frame 3
this.main();
this._x = this.px;
this._y = this.py;
this.gotoAndPlay(_currentframe - 1);
Symbol 230 MovieClip Frame 1
function entry() {
var _local1 = this;
if (_local1.entryFlg == true) {
} else {
_local1.px = 320;
_local1.py = -80;
_local1._visible = true;
_local1.entryFlg = true;
}
}
function unEntry() {
var _local1 = this;
_local1.entryFlg = false;
_local1._visible = false;
_local1.py = 1000;
_local1._y = 1000;
}
function main() {
var _local1 = this;
var _local2 = _root;
var _local3 = Math.cos((_local1.Angle * Math.PI) / 180) * _local1.amp;
_local1.px = _local1.px + _local3;
_local1.py = _local1.py + 2;
_local1.py = _local1.py + _local2.gScrollY;
_local1.Angle = _local1.Angle + _local1.speed;
_local1.Angle = _local1.Angle % 360;
if (_local1.py > 500) {
_local1.unEntry();
}
if (_local1.hitTest(_local2.tobbyMC)) {
_local2.gLastPlayer++;
_local2.SE_kaito.start();
if (_local2.gLastPlayer > 9) {
_local2.gLastPlayer = 9;
}
_local1.unEntry();
}
}
this.angle = 0;
this.amp = 10;
this.speed = 5;
this.entryFlg = false;
this._visible = false;
Symbol 230 MovieClip Frame 3
if (this.entryFlg == true) {
this.main();
}
this._x = this.px;
this._y = this.py;
this.gotoAndPlay(_currentframe - 1);
Symbol 232 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 232 MovieClip Frame 5
this.gotoAndPlay(_currentframe - 1);
Symbol 237 MovieClip Frame 2
this.gotoAndPlay(_currentframe - 1);
Symbol 244 Button
on (release) {
this.continueFlg = true;
this.play();
}
Symbol 245 Button
on (release) {
this.continueFlg = false;
this.play();
}
Instance of Symbol 19 MovieClip in Symbol 249 MovieClip Frame 6
//component parameters
onClipEvent (initialize) {
stayTime = 1500;
}
Symbol 249 MovieClip Frame 12
_root.gLastPlayer--;
if (_root.gLastPlayer == 0) {
this.gotoAndPlay("gameover");
}
Symbol 249 MovieClip Frame 20
_root.tobbyMC.readyFusenIn();
_root.gotoAndPlay("main");
this.stop();
Instance of Symbol 19 MovieClip in Symbol 249 MovieClip Frame 26
//component parameters
onClipEvent (initialize) {
stayTime = 500;
}
Instance of Symbol 19 MovieClip in Symbol 249 MovieClip Frame 35
//component parameters
onClipEvent (initialize) {
stayTime = 1500;
}
Instance of Symbol 19 MovieClip in Symbol 249 MovieClip Frame 43
//component parameters
onClipEvent (initialize) {
stayTime = 500;
}
Instance of Symbol 248 MovieClip "keySelecterMC" in Symbol 249 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 249 MovieClip Frame 50
this.stop();
Symbol 249 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");
}