Frame 1
this.stop();
Instance of Symbol 164 MovieClip in Frame 1
/* no clip actions */
Frame 10
this.stop();
Frame 20
Frame 21
function dispGetScore(nScore, nx, ny, nComboFlg) {
var _local1 = _root;
var _local2 = "gs" + String(_local1.depthGetScore);
if (nComboFlg) {
var _local3 = nScore * this.comboCnt;
this.comboCnt++;
} else {
var _local3 = nScore;
}
_local1.attachMovie("getScore", _local2, _local1.depthGetScore);
_local1[_local2]._x = nx;
_local1[_local2]._y = ny;
_local1[_local2].getScore = _local3;
_local1.depthGetScore++;
this.score = this.score + _local3;
}
function clearAllMC() {
this.dummyMC.removeMovieClip();
this.tobbyMC.removeMovieClip();
}
function initMovie() {
var _local1 = this;
_local1.stageNum = 1;
_local1.life = 150;
_local1.pauseFlg = false;
_local1.instWindowFlg = false;
_local1.returnWindowFlg = false;
}
function initGame() {
var _local1 = this;
_local1.depthStep = 1;
_local1.depthsStepDummy = 50000;
_local1.depthEnemy = 60000;
_local1.depthTobby = 80000 /* 0x013880 */;
_local1.depthParts = 90000 /* 0x015F90 */;
_local1.depthWindow = 100000 /* 0x0186A0 */;
_local1.gScrollY = 0;
}
function pauseOn() {
this.pauseFlg = true;
}
function pauseOff() {
this.pauseFlg = false;
}
function randomInt(maxNum) {
var _local1 = Math.random() * maxNum;
if (_local1 == 0) {
_local1 = 1;
} else {
_local1 = Math.ceil(_local1);
}
return(_local1);
}
Frame 22
this.SE_item = new Sound(this);
this.SE_item.attachSound("SE_item");
this.SE_over = new Sound(this);
this.SE_over.attachSound("SE_over");
this.SE_jump = new Sound(this);
this.SE_jump.attachSound("SE_jump");
this.SE_damage1 = new Sound(this);
this.SE_damage1.attachSound("SE_damage1");
this.SE_damage2 = new Sound(this);
this.SE_damage2.attachSound("SE_damage2");
this.SE_kaidan = new Sound(this);
this.SE_kaidan.attachSound("SE_kaidan");
this.SE_setsekiban = new Sound(this);
this.SE_setsekiban.attachSound("SE_setsekiban");
this.SE_don = new Sound(this);
this.SE_don.attachSound("SE_don");
this.SE_sekibanng = new Sound(this);
this.SE_sekibanng.attachSound("SE_sekibanng");
this.SE_toge = new Sound(this);
this.SE_toge.attachSound("SE_toge");
this.SE_karasu1 = new Sound(this);
this.SE_karasu1.attachSound("SE_karasu1");
this.SE_karasu2 = new Sound(this);
this.SE_karasu2.attachSound("SE_karasu2");
this.SE_furiko = new Sound(this);
this.SE_furiko.attachSound("SE_furiko");
Frame 23
this.mapList = [[1, 1, 1, 1, 1, 1, -1, -3, -1, -1, 1, 3, 1, -1, -1, -3, -1, -1, 1, 1, 1, 3, 3, 1, 3, 1, -1, -3, -5, -3, 3, 1, 1, -3, -1, -5, -1, -3, 1, 2], [1, 1, 1, -4, -1, -1, -1, 1, 1, 1, -1, -3, -1, -1, -1, 3, 4, 3, 1, 1, -3, 1, -1, 1, 3, -3, -1, -1, -1, 3, 1, 3, -1, -1, 1, -3, -3, 3, 1, 2], [1, 1, 3, 1, 6, 1, 1, 3, -1, -6, -1, -1, -6, -3, -5, -6, -6, -3, -1, 6, -3, -6, 5, 1, 6, -3, -6, -1, 5, 1, 3, 6, -5, -6, -6, 3, 1, 1, 1, 2], [1, 3, 3, 1, -3, -1, -3, 3, 1, 3, -3, -1, -3, -3, 6, 6, 1, 3, 6, 1, 3, -5, -1, -3, -3, 1, 1, -4, -3, -4, -1, -3, -4, -5, -1, -6, 1, 1, 6, 2], [1, -3, 3, -1, 3, -4, 3, 1, 3, 1, -4, -3, -6, -3, -3, -6, -3, 5, 6, -3, 1, -6, 6, -5, -3, -3, 3, -5, 3, -4, 3, 3, 4, 3, 3, 6, 6, 6, 6, 2]];
Frame 24
function startEntry() {
var _local1 = this;
_local1.stepXlist = [];
_local1.directFlgBak = 1;
_local1.stepPtr = 0;
_local1.stepSetMapX = 3;
var _local2 = 12;
var _local3 = 400;
_local1.entryStep(_local2, _local3);
}
function entryStep(nSetCnt, nSetBaseY) {
var _local1 = this;
if (_local1.stepPtr > _local1.finishStepCnt) {
return(false);
}
i = 0;
while (i < nSetCnt) {
var d = _local1.mapList[_local1.stageNum - 1][_local1.stepPtr];
var sd = (d % 10);
if (sd < 0) {
var _local3 = -1;
} else {
var _local3 = 1;
}
if (_local3 != _local1.directFlgBak) {
_local1.stepSetMapX = _local1.stepSetMapX + _local1.directFlgBak;
} else {
_local1.stepSetMapX = _local1.stepSetMapX + _local3;
}
_local1.directFlgBak = _local3;
var idName = ("step" + String(Math.abs(sd)));
var _local2 = "step" + String(_local1.stepPtr);
_root.dummyMC.attachMovie(idName, _local2, _local1.depthStep++);
_root.dummyMC[_local2]._x = (_local1.stepSetMapX * _local1.stepWidth) + 50;
_root.dummyMC[_local2]._y = nSetBaseY - (_local1.stepHeight * i);
_root.dummyMC[_local2].stepPtr = _local1.stepPtr;
_local1.stepPtr++;
_local1.stepXlist.push(_local1.stepSetMapX);
i++;
}
return(undefined);
}
this.initMovie();
this.initGame();
this.stepWidth = 40;
this.stepHeight = 40;
Frame 25
this.initGame();
this.initMovie();
this.gotoAndPlay("title");
Frame 30
this.gameStat = "title";
this.stop();
Frame 31
this.attachMovie("fadeBlackScr", "fadeMC", this.depthWindow++);
this.fadeMC._x = 320;
this.fadeMC._y = 260;
this.fadeMC.gotoAndPlay("fadeOut");
this.stop();
Frame 32
Frame 40
this.gameStat = "stageInit";
this.finishStepCnt = this.mapList[this.stageNum - 1].length - 1;
this.attachMovie("dummy", "dummyMC", _root.depthStepDummy);
this.dummyMC._x = 0;
this.dummyMC._y = 0;
this.attachMovie("tobby", "tobbyMC", _root.depthTobby);
this.tobbyMC._x = 100;
this.tobbyMC._y = 400;
this.tobbyMC._visible = false;
this.dummyMC.attachMovie("entrance", "entranceMC", _root.depthStep++);
this.dummyMC.entranceMC._x = 10;
this.dummyMC.entranceMC._y = 400;
this.startEntry();
this.dummyMC.attachMovie("life", "lifeMC", this.depthParts++);
this.dummyMC.lifeMC._x = 70;
this.dummyMC.lifeMC._y = 70;
Frame 41
this.fadeMC.gotoAndPlay("fadein");
this.stop();
Frame 42
this.attachMovie("windowStageIn", "windowMC", _root.depthwindow++);
this.windowMC._x = 320;
this.windowMC._y = 240;
this.stop();
Frame 50
this.gameStat = "main";
this.stop();
Instance of Symbol 195 MovieClip in Frame 50
onClipEvent (keyDown) {
var Lastkey = key.getCode();
_root.tobbyMC.entryJump(LastKey);
}
onClipEvent (keyUp) {
_parent.tobbyMC.pkeyUp();
}
Frame 59
this.attachMovie("fadeBlackScr", "fadeMC", this.depthWindow++);
this.fadeMC._x = 320;
this.fadeMC._y = 260;
this.fadeMC.gotoAndPlay("fadeOut");
this.stop();
Frame 60
this.clearAllMC();
Frame 61
this.fadeMC.gotoAndPlay("fadein");
this.stop();
Frame 62
this.stop();
Frame 63
this.attachMovie("fadeBlackScr", "fadeMC", this.depthWindow++);
this.fadeMC._x = 320;
this.fadeMC._y = 260;
this.fadeMC.gotoAndPlay("fadeOut");
this.stop();
Frame 64
this.stageNum++;
if (this.stageNum > 5) {
this.gotoAndPlay("ending");
} else {
this.initGame();
this.gotoAndPlay("stageInit");
}
Frame 70
this.gameStat = "continue";
this.attachMovie("continue", "windowMC", _root.depthwindow++);
this.windowMC._x = 320;
this.windowMC._y = 260;
this.stop();
Frame 71
this.attachMovie("fadeBlackScr", "fadeMC", this.depthWindow++);
this.fadeMC._x = 320;
this.fadeMC._y = 260;
this.fadeMC.gotoAndPlay("fadeOut");
this.stop();
Frame 72
this.clearAllMC();
this.initGame();
this.life = 150;
this.gotoAndPlay("stageInit");
Frame 90
this.gameStat = "gameover";
this.attachMovie("gameover", "gameoverMC", _root.depthwindow++);
this.gameoverMC._x = 320;
this.gameoverMC._y = 260;
this.stop();
Frame 92
this.clearAllMC();
this.initGame();
this.initMovie();
this.gameoverMC.removeMovieClip();
this.gotoAndPlay("title");
Frame 100
this.gameStat = "ending";
this.fadeMC.gotoAndPlay("fadein");
this.stop();
Frame 101
this.stop();
Frame 102
this.attachMovie("fadeBlackScr", "fadeMC", this.depthWindow++);
this.fadeMC._x = 320;
this.fadeMC._y = 260;
this.fadeMC.gotoAndPlay("fadeOut");
this.stop();
Frame 105
this.fadeMC.gotoAndPlay("fadein");
this.stop();
Frame 106
this.stop();
Frame 110
this.gameStat = "inst";
this.stop();
Instance of Symbol 150 MovieClip [inst] "instMC" in Frame 110
onClipEvent (load) {
this.gotoAndStop(2);
}
Symbol 18 MovieClip [fadeBlackScr] Frame 6
_root.play();
this.removeMovieClip();
Symbol 18 MovieClip [fadeBlackScr] Frame 26
_root.play();
this.stop();
Symbol 22 Button
on (release) {
_root.returnWindowFlg = false;
_root.pauseOff();
this.removeMovieClip();
}
on (rollOver) {
_root.SE_over.start(0, 0);
}
Symbol 24 Button
on (release) {
_root.SE_clock.stop();
_root.pauseOff();
_root.clearAllMC();
_root.initGame();
_root.initMovie();
_root.gotoAndPlay("title");
this.removeMovieClip();
}
on (rollOver) {
_root.SE_over.start(0, 0);
}
Symbol 26 MovieClip [winReturn] Frame 1
this.stop();
Symbol 31 Button
on (release) {
_root.play();
this.removeMovieClip();
}
Symbol 32 Button
on (release) {
_root.gotoAndPlay("gameover");
this.removeMovieClip();
}
Symbol 33 MovieClip [continue] Frame 5
this.stop();
Symbol 38 MovieClip [windowStageIn] Frame 15
_root.play();
this.removeMovieClip();
this.stop();
Symbol 40 MovieClip [gameover] Frame 60
_root.play();
this.stop();
Symbol 42 MovieClip [step6] Frame 1
function main() {
var _local1 = this;
if (_root.pauseFlg) {
} else {
_local1._y = _local1._y + _root.gScrollY;
if (_local1._y >= 500) {
_local1.removeMovieClip();
}
}
}
var nName = ("enemy" + String(_root.depthEnemy));
_root.dummyMC.attachMovie("hand", nName, _root.depthEnemy++);
_root.dummyMC[nName]._x = this._x;
_root.dummyMC[nName]._y = this._y;
_root.dummyMC[nName].ptr = this.stepPtr;
Symbol 42 MovieClip [step6] Frame 3
this.main();
this.gotoAndPlay(_currentframe - 1);
Symbol 43 MovieClip [step5] Frame 1
function main() {
var _local1 = this;
if (_root.pauseFlg) {
} else {
_local1._y = _local1._y + _root.gScrollY;
if (_local1._y >= 500) {
_local1.removeMovieClip();
}
}
}
var nName = ("enemy" + String(_root.depthEnemy));
_root.dummyMC.attachMovie("karasu", nName, _root.depthEnemy++);
_root.dummyMC[nName]._x = -40;
_root.dummyMC[nName]._y = -40;
Symbol 43 MovieClip [step5] Frame 3
this.main();
this.gotoAndPlay(_currentframe - 1);
Symbol 44 MovieClip [step4] Frame 1
function main() {
var _local1 = this;
if (_root.pauseFlg) {
} else {
_local1._y = _local1._y + _root.gScrollY;
if (_local1._y >= 500) {
_local1.removeMovieClip();
}
}
}
var nName = ("enemy" + String(_root.depthEnemy));
_root.dummyMC.attachMovie("furiko", nName, _root.depthEnemy++);
_root.dummyMC[nName]._x = this._x + 20;
_root.dummyMC[nName]._y = this._y - 180;
Symbol 44 MovieClip [step4] Frame 3
this.main();
this.gotoAndPlay(_currentframe - 1);
Symbol 47 MovieClip Frame 1
function main() {
var _local1 = this;
var _local3 = _root;
if (_local3.pauseFlg) {
} else if (_local1.waitCnt > 0) {
_local1.waitCnt--;
} else {
var _local2 = _local1.dyList[_local1.dyPtr];
_local1._y = _local1._y + _local2;
if (_local2 == 0) {
if (_local1.hitTest(_local3.tobbyMC.anmMC.hitMC)) {
_local3.tobbyMC.hit(20);
}
}
_local1.dyPtr++;
if (_local1.dyPtr > _local1.dyList.length) {
_local1.dyPtr = 0;
_local1.waitCnt = 15;
}
}
}
this.dyList = [-20, -8, -4, -2, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 4, 8, 20];
this.dyPtr = 0;
this.waitCnt = 0;
Symbol 47 MovieClip Frame 3
this.main();
this.gotoAndPlay(_currentframe - 1);
Symbol 48 MovieClip [step3] Frame 1
function main() {
var _local1 = this;
if (_root.pauseFlg) {
} else {
_local1._y = _local1._y + _root.gScrollY;
if (_local1._y >= 500) {
_local1.removeMovieClip();
}
}
}
Symbol 48 MovieClip [step3] Frame 3
this.main();
this.gotoAndPlay(_currentframe - 1);
Symbol 49 MovieClip [step1] Frame 3
this._y = this._y + _root.gScrollY;
if (this._y >= 500) {
this.removeMovieClip();
}
this.gotoAndPlay(_currentframe - 1);
Symbol 78 MovieClip Frame 8
this.gotoAndPlay("standby");
Symbol 78 MovieClip Frame 16
this.stop();
Symbol 78 MovieClip Frame 37
this.gotoAndPlay("walk");
Symbol 78 MovieClip Frame 43
this.gotoAndPlay("run");
Symbol 78 MovieClip Frame 55
this.gotoAndPlay("standby");
Symbol 78 MovieClip Frame 60
this.stop();
Symbol 79 MovieClip [tobby] Frame 1
function pkeyDown(nKey) {
}
function pKeyUp() {
}
function main() {
var _local1 = this;
if (_root.pauseFlg) {
} else {
if (_local1.mutekiCnt > 0) {
_local1._visible = _local1.mutekiCnt % 2;
_local1.mutekiCnt--;
}
switch (_local1.stat) {
case "jump" :
_local1.jump();
return;
case "walkIn" :
_local1.walkIn();
return;
case "walkout" :
_local1.walkOut();
return;
case "death" :
_local1.death();
}
}
}
function entryJump(nKey) {
var _local1 = this;
var _local2 = _root;
var _local3 = nKey;
if ((_local3 != 37) && (_local3 != 39)) {
} else if (_local2.pauseFlg) {
} else if ((_local1.stat != "standby") && (_local1.stat != "jump")) {
} else if (_local1.stat != "jump") {
var d = _local2.mapList[_local2.stageNum - 1][_local1.stepPtr];
if (d < 0) {
if (_local3 != 37) {
_local1.anmMC.gotoAndPlay("koke");
_local1.hit(2);
return;
}
// unexpected jump
}
if (_local3 != 39) {
_local1.anmMC.gotoAndPlay("koke");
_local1.hit(2);
} else if (_local1.stat == "jump") {
if (_local1.ptr < 5) {
return;
}
var r = _local1.jumpEndProc(true);
var d = _local2.mapList[_local2.stageNum - 1][_local1.stepPtr];
if (d < 0) {
if (_local3 != 37) {
_local1.stat = "standby";
_local1.anmMC.gotoAndPlay("standby");
return;
}
} else if (_local3 != 39) {
_local1.stat = "standby";
_local1.anmMC.gotoAndPlay("standby");
} else if (r != "jump") {
} else {
_local1.stat = "jump";
var d = _local2.mapList[_local2.stageNum - 1][_local1.stepPtr];
if (d < 0) {
_local1.dxDirect = -1;
} else {
_local1.dxDirect = 1;
}
_local1.ptr = 0;
_local1.anmMC.gotoAndPlay("jump");
}
if (r != "jump") {
} else {
_local1.stat = "jump";
var d = _local2.mapList[_local2.stageNum - 1][_local1.stepPtr];
if (d < 0) {
_local1.dxDirect = -1;
} else {
_local1.dxDirect = 1;
}
_local1.ptr = 0;
_local1.anmMC.gotoAndPlay("jump");
}
} else {
_local1.stat = "jump";
var d = _local2.mapList[_local2.stageNum - 1][_local1.stepPtr];
if (d < 0) {
_local1.dxDirect = -1;
} else {
_local1.dxDirect = 1;
}
_local1.ptr = 0;
_local1.anmMC.gotoAndPlay("jump");
}
} else if (_local1.stat == "jump") {
if (_local1.ptr < 5) {
return;
}
var r = _local1.jumpEndProc(true);
var d = _local2.mapList[_local2.stageNum - 1][_local1.stepPtr];
if (d < 0) {
if (_local3 != 37) {
_local1.stat = "standby";
_local1.anmMC.gotoAndPlay("standby");
return;
}
} else if (_local3 != 39) {
_local1.stat = "standby";
_local1.anmMC.gotoAndPlay("standby");
} else if (r != "jump") {
} else {
_local1.stat = "jump";
var d = _local2.mapList[_local2.stageNum - 1][_local1.stepPtr];
if (d < 0) {
_local1.dxDirect = -1;
} else {
_local1.dxDirect = 1;
}
_local1.ptr = 0;
_local1.anmMC.gotoAndPlay("jump");
}
if (r != "jump") {
} else {
_local1.stat = "jump";
var d = _local2.mapList[_local2.stageNum - 1][_local1.stepPtr];
if (d < 0) {
_local1.dxDirect = -1;
} else {
_local1.dxDirect = 1;
}
_local1.ptr = 0;
_local1.anmMC.gotoAndPlay("jump");
}
} else {
_local1.stat = "jump";
var d = _local2.mapList[_local2.stageNum - 1][_local1.stepPtr];
if (d < 0) {
_local1.dxDirect = -1;
} else {
_local1.dxDirect = 1;
}
_local1.ptr = 0;
_local1.anmMC.gotoAndPlay("jump");
}
}
function jump() {
var _local1 = this;
if (_local1.stepPtr > 1) {
_root.gScrollY = _local1.jumpDyList[_local1.ptr];
} else {
_local1.py = _local1.py - _local1.jumpDyList[_local1.ptr];
}
_local1.px = _local1.px + (_local1.dxList[_local1.ptr] * _local1.dxDirect);
if (_local1.ptr == 3) {
_root.SE_jump.start(0, 0);
}
_local1.ptr++;
if (_local1.ptr > _local1.jumpDyList.length) {
_local1.jumpEndProc(false);
}
}
function jumpEndProc(canselflg) {
var _local1 = this;
var _local2 = _root;
_local2.gScrollY = 0;
_local1.stepPtr++;
if (_local1.stepPtr == _local2.finishStepCnt) {
_local2.gameStat = "clear";
_local1.walkCnt = 20;
_local1.stat = "walkout";
_local1.anmMC.gotoAndPlay("walk");
} else {
if (canselflg == false) {
_local1.stat = "standby";
_local1.anmMC.gotoAndPlay("standby");
} else {
_local1.stat = "jump";
}
var _local3 = _local2.mapList[_local2.stageNum - 1][_local1.stepPtr];
if (_local3 < 0) {
_local1._xscale = -100;
} else {
_local1._xscale = 100;
}
if (_local1.stepPtr > 3) {
var nSetCnt = 1;
var nSetBaseY = 0;
_local2.entryStep(nSetCnt, nSetBaseY);
}
}
return(_local1.stat);
}
function moveLR() {
if (key.isDown(37)) {
} else if (key.isDown(39)) {
}
}
function inStage() {
var _local1 = this;
_local1._visible = true;
_local1.stat = "walkIn";
_local1.anmMC.gotoAndPlay("walk");
}
function OutStage() {
this.removeMovieClip();
}
function walkIn() {
var _local1 = this;
_local1.px = _local1.px + 4;
if (_local1.px > 230) {
_local1.px = 230;
_local1.stat = "standby";
_local1.anmMC.gotoAndPlay("standby");
}
}
function walkOut() {
var _local1 = this;
_local1.px = _local1.px + 4;
if (_local1.walkCnt == 0) {
_local1.stat = "fin";
_local1.anmMC.gotoAndPlay("standby");
var _local2 = "step" + String(_root.finishStepCnt);
_root.dummyMC[_local2].openDoor();
} else {
_local1.walkCnt--;
}
}
function hit(ndamage) {
var _local1 = _root;
var _local2 = this;
var _local3 = ndamage;
if (_local2.mutekiCnt > 0) {
return(false);
}
if (_local2.stat == "death") {
return(false);
}
if (_local3 > 20) {
_local1.SE_damage1.start(0, 0);
} else if (_local3 > 5) {
_local1.SE_damage2.start(0, 0);
} else {
_local1.SE_damage1.start(0, 0);
}
_local1.life = _local1.life - ((_local3 + _local1.stageNum) - 1);
if (_local1.life < 0) {
_local1.life = 0;
_local1.gScrollY = 0;
_local2.stat = "death";
_local2.pdy = -20;
_local2.anmMC.gotoAndStop("death");
}
_local1.dummyMC.lifeMC.setLife(_local1.life);
if (_local3 > 5) {
_local2.mutekiCnt = 30;
}
return(true);
}
function death() {
var _local1 = this;
_local1.py = _local1.py + _local1.pdy;
_local1.pdy = _local1.pdy + 4;
_local1._rotation = _local1._rotation + 60;
if (_local1.py > 550) {
_root.gotoAndPlay("continue");
_local1.removeMovieClip();
}
}
this.px = 120;
this.py = 400;
this.stat = "standby";
this.jumpDyList = [0, 26, 9, 5, 0, 0];
this.dxList = [0, 14, 13, 13, 0, 0];
this.stepPtr = 0;
this.mutekiCnt = 0;
Symbol 79 MovieClip [tobby] Frame 3
this.main();
this._x = this.px;
this._y = this.py;
this.gotoAndPlay(_currentframe - 1);
Symbol 90 MovieClip Frame 3
this.gotoAndPlay(1);
Symbol 91 MovieClip [step2] Frame 1
function openDoor() {
this.gotoAndPlay("enter");
}
function main() {
var _local1 = this;
if (_root.pauseFlg) {
} else {
_local1._y = _local1._y + _root.gScrollY;
if (_local1._y >= 500) {
_local1.removeMovieClip();
}
}
}
Symbol 91 MovieClip [step2] Frame 3
this.main();
this.gotoAndPlay(_currentframe - 1);
Symbol 91 MovieClip [step2] Frame 21
_root.tobbyMC.outStage();
Symbol 91 MovieClip [step2] Frame 40
_root.gotoAndPlay("clear");
this.stop();
Symbol 93 MovieClip [entrance] Frame 1
function main() {
var _local1 = this;
if (_root.pauseFlg) {
} else {
_local1._y = _local1._y + _root.gScrollY;
if (_local1._y >= 580) {
_local1.removeMovieClip();
}
}
}
Symbol 93 MovieClip [entrance] Frame 21
_root.tobbyMC.inStage();
Symbol 93 MovieClip [entrance] Frame 49
this.main();
this.gotoAndPlay(_currentframe - 1);
Symbol 94 MovieClip [dummy] Frame 1
this.stop();
Symbol 103 MovieClip [itemGold] Frame 1
function main() {
if (!(this.stat === "fall")) {
} else {
this.fall();
}
}
function fall() {
var _local1 = this;
_local1.pdy = _local1.pdy + 2;
_local1.py = _local1.py + _local1.pdy;
if (_local1.py > 400) {
_local1.py = 400;
_local1.pdy = _local1.pdy * -0.8;
}
}
this.anmMC.gotoAndStop(this.alphabet);
this.px = this._x;
this.py = this._y;
this.stat = "fall";
this.pdy = 0;
Symbol 103 MovieClip [itemGold] Frame 3
this.main();
this._x = this.px;
this._y = this.py;
this.gotoAndPlay(_currentframe - 1);
Symbol 112 MovieClip [life] Frame 1
function setLife(n) {
this.lifeBarMC._width = n;
}
this.setLife(_root.life);
this.stop();
Symbol 120 MovieClip Frame 1
function main() {
var _local1 = this;
var _local2 = _root;
if (_local2.pauseFlg) {
} else {
var _local3 = Math.cos((_local1.r2 * Math.PI) / 180) * 40;
_local1.r = (_local1.r + 10) % 360;
if ((_local1.r == 90) || (_local1.r == 270)) {
_local2.SE_furiko.start(0, 0);
}
if (_local1.r > 180) {
_local1.r2 = 180 - (_local1.r % 180);
} else {
_local1.r2 = _local1.r;
}
_local1._rotation = _local3;
if (_local1.hitMC.hitTest(_local2.tobbyMC.anmMC.hitMC)) {
_local2.tobbyMC.hit(40);
}
}
}
this.r = 0;
Symbol 120 MovieClip Frame 3
this.main();
this.gotoAndPlay(_currentframe - 1);
Symbol 122 MovieClip [furiko] Frame 1
function main() {
var _local1 = this;
if (_root.pauseFlg) {
} else {
_local1._y = _local1._y + _root.gScrollY;
if (_local1._y >= 500) {
_local1.removeMovieClip();
}
}
}
Symbol 122 MovieClip [furiko] Frame 3
this.main();
this.gotoAndPlay(_currentframe - 1);
Symbol 126 MovieClip Frame 6
this.gotoAndPlay(1);
Symbol 126 MovieClip Frame 15
this.gotoAndPlay(10);
Symbol 127 MovieClip [karasu] Frame 1
function main() {
var _local1 = this;
if (_root.pauseFlg) {
} else {
switch (_local1.stat) {
case "flyin" :
_local1.flyIn();
return;
case "flyOut" :
_local1.flyOut();
}
}
}
function flyIn() {
var _local1 = this;
var _local2 = _root;
if (_local1._x < _local2.tobbyMC._x) {
_local1.hosei = 40;
} else {
_local1.hosei = 20;
}
var _local3 = ((_local2.tobbyMC._x + _local1.hosei) - _local1._x) / 20;
var dy = ((80 - _local1.py) / 10);
_local1.px = _local1.px + _local3;
_local1.py = _local1.py + dy;
if (_local3 > 0) {
_local1._xscale = -100;
} else {
_local1._xscale = 100;
}
if ((Math.abs(_local3) < 2) && (Math.abs(dy) < 1)) {
nName = "tam" + String(_local2.depthEnemy);
_local2.dummyMC.attachMovie("tama", nName, _local2.depthenemy++);
_local2.dummyMC[nName]._x = _local1._x;
_local2.dummyMC[nName]._y = _local1._y + 30;
_local2.dummyMC[nName]._xscale = _local1._xscale;
_local1.anmMC.gotoAndPlay("tamanashi");
_local1.stat = "flyOut";
_local2.SE_karasu1.start(0, 0);
}
}
function flyOut() {
var _local1 = this;
_local1.py = _local1.py - 2;
if (_local1.py < -40) {
_local1.removeMovieClip();
}
}
this.stat = "flyin";
this.px = this._x;
this.py = this._y;
Symbol 127 MovieClip [karasu] Frame 3
this.main();
this._x = this.px;
this._y = this.py;
this.gotoAndPlay(_currentframe - 1);
Symbol 128 MovieClip [tama] Frame 1
function main() {
var _local1 = this;
var _local3 = _root;
if (_local3.pauseFlg) {
} else {
_local1._y = _local1._y + _local1.pdy;
_local1._x = _local1._x + _local1.pdx;
if (_local1.hitTest(_local3.tobbyMC.anmMC.hitMC)) {
var _local2 = _local3.tobbyMC.hit(25);
if (_local2) {
_local1.pdy = -10;
_local1.pdx = 2;
}
}
if (_local1._y > 500) {
_local1.removeMovieClip();
}
_local1.pdy = _local1.pdy + 2;
}
}
this.pdy = 0;
this.pdx = 0;
Symbol 128 MovieClip [tama] Frame 3
this.main();
this.gotoAndPlay(_currentframe - 1);
Symbol 131 MovieClip [hand] Frame 1
function main() {
var _local1 = this;
if (_root.pauseFlg) {
} else {
_local1._y = _local1._y + _root.gScrollY;
if (_local1._y >= 500) {
_local1.removeMovieClip();
}
switch (_local1.stat) {
case "inStage" :
_local1.inStage();
return;
case "don" :
_local1.don();
return;
case "outStage" :
_local1.outStage();
}
}
}
function inStage() {
var _local1 = this;
_local1._alpha = _local1._alpha + 10;
if (_local1._alpha >= 100) {
_local1.stat = "don";
_local1.dyPtr = 0;
}
}
function don() {
var _local1 = this;
var _local2 = _root;
_local1.anmMC._y = _local1.anmMC._y + _local1.dyList[_local1.dyPtr];
_local1.dyPtr++;
if (_local1.dyPtr == 7) {
_local2.SE_don.start(0, 0);
}
if (_local1.dyPtr > 5) {
if (_local1.hitTest(_local2.tobbyMC.anmMC.hitMC)) {
_local2.tobbyMC.hit(30);
}
}
if (_local1.dyPtr > _local1.dyList.length) {
_local1.stat = "outStage";
}
}
function outStage() {
var _local1 = this;
_local1._alpha = _local1._alpha - 10;
if (_local1._alpha <= 0) {
_local1.setNext();
_local1.stat = "inStage";
}
}
function setNext() {
var _local1 = this;
_local1.anmMC._y = -80;
_local1._y = _local1._y + 80;
_local1._alpha = 0;
_local1.ptr = _local1.ptr - 2;
if (_local1.ptr < 0) {
_local1.removeMovieClip();
} else {
_local1._x = (_root.stepXlist[_local1.ptr] * _root.stepWidth) + 50;
}
}
this.stat = "inStage";
this._alpha = 0;
this.dyList = [0, 1, 2, 4, 8, 16, 32, 20, 0, 0, 0, 0, 0, 0, 0, 0];
this.dyPtr = 0;
Symbol 131 MovieClip [hand] Frame 3
this.main();
this.gotoAndPlay(_currentframe - 1);
Symbol 148 Button
on (press) {
_root.instWindowFlg = false;
_root.pauseOff();
_root.instMC.removeMovieClip();
}
on (rollOver) {
_root.SE_over.start(0, 0);
}
Symbol 149 Button
on (press) {
_root.SE_item.start(0, 0);
_root.gotoAndPlay("title");
}
on (rollOver) {
_root.SE_over.start(0, 0);
}
Symbol 150 MovieClip [inst] Frame 1
this.stop();
Symbol 150 MovieClip [inst] Frame 2
this.stop();
Symbol 156 MovieClip Frame 9
var versionNum = getVersion().slice(4, 5);
trace(versionNum);
if (Number(versionNum) >= 6) {
this.gotoAndPlay("ok");
} else {
this.gotoAndPlay("ng");
}
Symbol 156 MovieClip Frame 19
_parent.gotoAndPlay("loading");
this.stop();
Symbol 156 MovieClip Frame 25
this.stop();
Symbol 161 Button
on (press) {
if (_root.gameStat != "main") {
return(undefined);
}
if (_root.returnWindowFlg) {
return(undefined);
}
if (_root.pauseFlg) {
_root.pauseOff();
_root.instMC.removeMovieClip();
_root.instWindowFlg = false;
} else {
_root.pauseOn();
_root.attachMovie("inst", "instMC", _root.depthWindow++);
_root.instMC._x = 320;
_root.instMC._y = 260;
_root.instWindowFlg = true;
}
}
Symbol 163 Button
on (press) {
if (_root.instWindowFlg) {
return(undefined);
}
if (_root.gameStat != "main") {
return(undefined);
}
if (_root.pauseFlg) {
_root.pauseOff();
_root.winReturnMC.removeMovieClip();
_root.returnWindowFlg = false;
} else {
_root.pauseOn();
_root.attachMovie("winReturn", "winReturnMC", _root.depthWindow++);
_root.winReturnMC._x = 320;
_root.winReturnMC._y = 260;
_root.returnWindowFlg = true;
}
}
Symbol 164 MovieClip Frame 1
this.swapDepths(1000000);
this.stop();
Symbol 170 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 170 MovieClip Frame 2
this.gotoAndPlay(_currentframe - 1);
Symbol 170 MovieClip Frame 5
this.bar._width = 300;
Symbol 170 MovieClip Frame 19
_root.gotoAndPlay("init");
Symbol 181 Button
on (press) {
_root.SE_item.start(0, 0);
_root.gotoAndPlay("inst");
}
on (rollOver) {
_root.SE_over.start(0, 0);
}
Symbol 183 Button
on (release) {
_root.SE_item.start(0, 0);
_root.play();
}
on (rollOver) {
_root.SE_over.start(0, 0);
}
Symbol 187 Button
on (release) {
getURL ("http://www.toshiba.co.jp/index_j.htm", "_blank");
}
Symbol 188 Button
on (release) {
getURL ("http://www.toshiba.co.jp/digital/index_j.htm", "_blank");
}
Symbol 189 Button
on (release) {
getURL ("http://www.toshiba.co.jp/c_right/index_j.htm", "_blank");
}
Symbol 192 MovieClip Frame 1
this.groundMC.setMask(this.mask01MC);
Symbol 192 MovieClip Frame 2
this.stop();
Symbol 195 MovieClip Frame 1
this.stop();
Symbol 212 MovieClip Frame 1
Symbol 215 MovieClip Frame 1
this.stop();
Symbol 215 MovieClip Frame 25
var sList = [4, 2, 5, 1, 3];
nLabel = "s" + String(sList[_root.stageNum - 1]);
this.sekibanMC.gotoAndStop(nlabel);
Symbol 215 MovieClip Frame 37
_parent.tobbyMC.entrywalk2();
Symbol 215 MovieClip Frame 42
var sList = [4, 2, 5, 1, 3];
nLabel = "s" + String(sList[_root.stageNum - 1]);
this.sekibanMC.gotoAndStop(nlabel);
Symbol 215 MovieClip Frame 70
this.stop();
Symbol 216 MovieClip Frame 1
function main() {
var _local1 = this;
switch (_local1.stat) {
case "walk1" :
_local1.walk1();
return;
case "walk2" :
_local1.walk2();
}
}
function walk1() {
var _local1 = this;
_local1.px = _local1.px + 8;
if (_local1.px >= _local1.targetPx) {
_local1.px = _local1.targetPx;
_local1.stat = "standby";
_local1.anmMC.gotoAndPlay("standby");
_parent.boxMC.play();
}
}
function entrywalk2() {
var _local1 = this;
_local1.stat = "walk2";
_local1.anmMC.gotoAndPlay("walk");
_parent.stat = "walk";
_local1.targetPx = 680;
}
function walk2() {
var _local1 = this;
_local1.px = _local1.px + 8;
if (_local1.px >= _local1.targetPx) {
_local1.px = _local1.targetPx;
_local1.stat = "standby";
_local1.anmMC.gotoAndPlay("standby");
_root.play();
}
}
this.stat = "walk1";
this.anmMC.gotoAndPlay("walk");
this.px = 40;
this.py = 400;
this.targetPx = 290;
Symbol 216 MovieClip Frame 3
this.main();
this._x = this.px;
this._y = this.py;
this.gotoAndPlay(_currentframe - 1);
Symbol 218 MovieClip Frame 1
function Entryfall(n) {
var _local1 = this;
_root.se_kaidan.start(0, 0);
_local1.entryFlg = true;
_local1.num = n;
_local1.targetY = 400 + (n * 15);
_local1.play();
}
function fall() {
var _local1 = this;
if (_local1.entryFlg == false) {
}
_local1.pdy = _local1.pdy + 1;
_local1.py = _local1.py + _local1.pdy;
if (_local1.py >= _local1.targetY) {
_local1.py = _local1.targetY;
_local1.entryFlg = false;
if (_local1.num == 6) {
_parent.gotoAndStop("fin");
}
_local1.stop();
}
}
this.px = this._x;
this.py = this._y;
this.pdy = 0;
this.EntryFlg = false;
this.stop();
Symbol 218 MovieClip Frame 3
this.fall();
this._x = this.px;
this._y = this.py;
if (this.entryFlg) {
this.gotoAndPlay(_currentframe - 1);
} else {
this.stop();
}
Symbol 223 MovieClip Frame 1
this.stop();
Symbol 224 MovieClip Frame 1
function main() {
var _local1 = this;
switch (_local1.stat) {
case "walk1" :
_local1.walk1();
return;
case "walkNext" :
_local1.walkNext();
return;
case "walkRetry" :
_local1.walkRetry();
return;
case "walkdown" :
_local1.walkdown();
}
}
function walk1() {
var _local1 = this;
_local1.px = _local1.px + 8;
if (_local1.px >= _local1.targetPx) {
_local1.px = _local1.targetPx;
_local1.stat = "standby";
_local1.anmMC.gotoAndPlay("standby");
_parent.stat = "setOK";
_parent.itemwindowMC._visible = true;
}
}
function setItem(nItemNum) {
var _local1 = this;
_parent.stat = "check";
_local1.setCntPtr++;
_local1.setItemList.push(nItemNum);
if (_local1.setCntPtr < 5) {
_local1.entrywalkNext();
} else {
var clearFlg = true;
i = 0;
while (i < _local1.setItemList.length) {
if (_local1.setItemList[i] != (i + 1)) {
clearFlg = false;
}
i++;
}
if (clearflg) {
_local1._xscale = -100;
_parent.gotoAndplay("clear");
} else {
i = 0;
while (i < _local1.setItemList.length) {
var _local3 = _local1.setItemList[i];
var _local2 = "seki" + String(_local3);
_parent.itemwindowMC[_local2].reset(i);
i++;
}
_local1.setCntPtr = 0;
_local1.setItemList = [];
_local1.targetPx = 260;
_local1.stat = "walkRetry";
_local1.anmMC.gotoAndPlay("walk");
_parent.stat = "walk";
_root.SE_sekibanng.start(0, 0);
}
}
}
function hoseix() {
var _local1 = this;
_local1.px = _local1.px + 16;
if (_local1.px > 410) {
_local1.px = 410;
}
}
function entrywalkNext() {
var _local1 = this;
_local1.stat = "walkNext";
_local1.targetPx = 260 + ofsXList[_local1.setCntPtr];
_local1.anmMC.gotoAndPlay("walk");
_parent.stat = "walk";
}
function walkNext() {
var _local1 = this;
_local1.px = _local1.px + 8;
if (_local1.px >= _local1.targetPx) {
_local1.px = _local1.targetPx;
_local1.stat = "standby";
_local1.anmMC.gotoAndPlay("standby");
_parent.stat = "setOK";
}
}
function walkRetry() {
var _local1 = this;
_local1.px = _local1.px + -8;
if (_local1.px <= _local1.targetPx) {
_local1.px = _local1.targetPx;
_local1.stat = "standby";
_local1.anmMC.gotoAndPlay("standby");
_parent.stat = "setOK";
}
}
function entrywalkDown() {
var _local1 = this;
_local1.stat = "walkdown";
_local1._xscale = -100;
_local1.anmMC.gotoAndPlay("walk");
_local1.walkCnt = 0;
_local1.targetPx = 0;
}
function walkDown() {
var _local1 = this;
_local1.px = _local1.px + -8;
if (_local1.walkCnt == 4) {
_root.SE_jump.start(0, 0);
_local1.py = _local1.py + 15;
_local1.walkCnt = 0;
} else {
_local1.walkCnt++;
}
if (_local1.px <= _local1.targetPx) {
_local1.px = _local1.targetPx;
_local1.stat = "standby";
_local1.anmMC.gotoAndPlay("standby");
trace("\u968E\u6BB5\u4E0B\u308A\u307E\u3057\u305F");
_root.gotoAndPlay("e1fin");
}
}
function takeItem(nItemNum) {
this.itemMC.gotoAndStop("s" + String(nItemNum));
}
function releaseItem() {
this.itemMC.gotoAndStop(1);
}
this.stat = "walk1";
this.anmMC.gotoAndPlay("walk");
this.px = 40;
this.py = 400;
this.ofsXList = [0, 26, 49, 84, 120];
this.setCntPtr = 0;
this.targetPx = 262;
this.setItemList = [];
Symbol 224 MovieClip Frame 3
this.main();
this._x = this.px;
this._y = this.py;
this.gotoAndPlay(_currentframe - 1);
Symbol 227 MovieClip Frame 1
function reset(n) {
var _local1 = this;
_local1.setFlg = false;
_local1.px = _local1._x;
_local1.py = _local1._y;
var _local3 = [-2, -1, 0, 1, 2];
_local1.pdx = _local3[n];
var _local2 = [-10, -11, -12, -11, -10];
_local1.pdy = _local2[n];
_local1.play();
}
function fall() {
var _local1 = this;
_local1.pdy = _local1.pdy + 4;
_local1.px = _local1.px + _local1.pdx;
_local1.py = _local1.py + _local1.pdy;
if (_local1.py >= 400) {
_local1.py = 400;
_local1.pdy = _local1.pdy * -0.8;
}
_local1._alpha = _local1._alpha - 5;
if (_local1._alpha <= 0) {
_local1._alpha = 100;
_local1.px = _local1.initX;
_local1.py = _local1.initY;
_local1.gotoAndStop(2);
}
}
this.initx = this._x;
this.inity = this._y;
this.setFlg = false;
nLabel = "s" + String(this.itemNum);
this.anmMC.gotoAndStop(nlabel);
this.onRollOver = function () {
var _local1 = this;
if (_local1.setFlg) {
} else {
_local1._alpha = 50;
_parent._parent.tobbyMC.takeItem(_local1.itemNum);
_root.SE_over.start(0, 0);
}
};
this.onRollOut = function () {
if (this.setFlg) {
return(undefined);
}
this._alpha = 100;
_parent._parent.tobbyMC.releaseItem();
};
this.onPress = function () {
var _local1 = this;
var _local2 = _parent;
if (_local1.setFlg) {
} else if (_local2._parent.stat != "setOK") {
} else {
_local2._parent.tobbyMC.releaseItem();
_local1._alpha = 100;
_local1._y = 340;
_local1._x = _local2._parent.tobbyMC._x;
_local2._parent.tobbyMC.setItem(_local1.itemNum);
_local1.setFlg = true;
_root.SE_setsekiban.start(0, 0);
}
};
this.stop();
Symbol 227 MovieClip Frame 4
this.fall();
this._x = this.px;
this._y = this.py;
this.gotoAndPlay(_currentframe - 1);
Symbol 228 MovieClip Frame 1
function baseclear() {
this.gotoAndStop("baseClear");
}
this._visible = false;
this.stop();
Instance of Symbol 227 MovieClip "seki1" in Symbol 228 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
itemNum = 1;
}
Instance of Symbol 227 MovieClip "seki2" in Symbol 228 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
itemNum = 2;
}
Instance of Symbol 227 MovieClip "seki3" in Symbol 228 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
itemNum = 3;
}
Instance of Symbol 227 MovieClip "seki4" in Symbol 228 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
itemNum = 4;
}
Instance of Symbol 227 MovieClip "seki5" in Symbol 228 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
itemNum = 5;
}
Symbol 228 MovieClip Frame 5
this.stop();
Symbol 229 MovieClip Frame 1
this.stat = "standby";
this.SE_dinari = new Sound(this);
this.SE_dinari.attachSound("SE_dinari");
this.stop();
Symbol 229 MovieClip Frame 10
this.bCnt = 1;
this.waitCnt = 0;
this.itemWindowMC.baseClear();
this.SE_dinari.start(0, 1000);
Symbol 229 MovieClip Frame 12
if ((this.bCnt < 7) && (this.waitCnt == 15)) {
var mcName = ("b" + String(this.bCnt));
this[mcName].entryFall(this.bCnt);
this.waitCnt = 0;
this.bCnt++;
} else {
this.waitCnt++;
}
this.tobbyMC.hoseix();
this._x = _root.randomInt(5) - 3;
this._y = _root.randomInt(5) - 3;
this.gotoAndPlay(_currentframe - 1);
Symbol 229 MovieClip Frame 20
this.tobbyMC.entrywalkdown();
this.SE_dinari.stop();
this.stop();
Symbol 229 MovieClip Frame 24
_root.play();
this.stop();
Symbol 233 MovieClip Frame 1
function main() {
if (!(this.stat === "walkdown")) {
} else {
this.walkdown();
}
}
function walkDown() {
var _local1 = this;
_local1.px = _local1.px + -8;
if (_local1.walkCnt == 4) {
_root.SE_jump.start(0, 0);
_local1.py = _local1.py + 15;
_local1.walkCnt = 0;
} else {
_local1.walkCnt++;
}
if (_local1.px <= -180) {
_local1.px = -180;
_local1.stat = "standby";
_parent.tobby2MC.entrywalkDown();
}
}
this.stat = "walkdown";
this.anmMC.gotoAndPlay("walk");
this.px = this._x;
this.py = this._y;
this.walkCnt = 0;
Symbol 233 MovieClip Frame 3
this.main();
this._x = this.px;
this._y = this.py;
this.gotoAndPlay(_currentframe - 1);
Symbol 235 MovieClip Frame 1
var n = _root.randomInt(10);
this.gotoAndPlay(n + 1);
Symbol 235 MovieClip Frame 21
this.gotoAndPlay(2);
Symbol 248 MovieClip Frame 1
this.stop();
Symbol 248 MovieClip Frame 17
this.gotoAndPlay("run");
Symbol 248 MovieClip Frame 23
this.gotoAndPlay("urep");
Symbol 249 MovieClip Frame 1
this.stop();
Symbol 249 MovieClip Frame 35
this.anmMC.gotoAndStop(5);
Symbol 249 MovieClip Frame 59
this.anmMC.gotoAndPlay("urep");
Symbol 249 MovieClip Frame 89
this.anmMC.gotoAndPlay("run");
Symbol 249 MovieClip Frame 100
_parent.gotoAndPlay("next");
_parent.tobby2MC.entrywalk();
this.stop();
Symbol 250 MovieClip Frame 1
function main() {
var _local1 = this;
switch (_local1.stat) {
case "walk" :
_local1.walk();
return;
case "walkdown" :
_local1.walkdown();
}
}
function entrywalkDown() {
this.stat = "walkdown";
this.bullWaitCnt = 0;
}
function walkDown() {
var _local1 = this;
_local1.px = _local1.px + 8;
if (_local1.walkCnt == 4) {
_root.SE_jump.start(0, 0);
_local1.py = _local1.py + 15;
_local1.walkCnt = 0;
_local1.bullWaitCnt++;
} else {
_local1.walkCnt++;
}
if (_local1.px >= 230) {
_local1.px = 230;
_local1.stat = "standby";
_local1.anmMC.gotoAndPlay("standby");
}
if (_local1.bullWaitCnt == 1) {
_parent.bullMC.gotoAndPlay(2);
}
}
function entryWalk() {
this.stat = "walk";
this.anmMC.gotoAndPlay("walk");
}
function walk() {
this.px = this.px + 8;
}
this.stat = "standby";
this.anmMC.gotoAndPlay("walk");
this.px = this._x;
this.py = this._y;
this.walkCnt = 0;
Symbol 250 MovieClip Frame 3
this.main();
this._x = this.px;
this._y = this.py;
this.gotoAndPlay(_currentframe - 1);
Symbol 253 MovieClip Frame 1
_parent.stop();
this.startTime = getTimer();
Symbol 253 MovieClip Frame 3
if (this.stayTime <= (getTimer() - this.startTime)) {
_parent.play();
this.stop();
} else {
this.gotoAndPlay(_currentframe - 1);
}
Symbol 256 MovieClip Frame 1
function main() {
var _local1 = this;
switch (_local1.stat) {
case "run1" :
_local1.run1();
return;
case "urep" :
_local1.urep();
return;
case "run2" :
_local1.run2();
}
}
function entry() {
this.stat = "run1";
this.anmMC.gotoAndPlay("run");
}
function run1() {
var _local1 = this;
_local1._x = _local1._x + 8;
if (_local1._x > 320) {
_local1.stat = "urep";
_local1.anmMC.gotoAndPlay("urep");
_local1.waitCnt = 0;
_local1._xscale = -100;
_parent.tobbyMC.entry();
}
}
function urep() {
var _local1 = this;
if (_local1.waitCnt >= 30) {
_local1.stat = "run2";
_local1.anmMC.gotoAndPlay("run");
_local1._xscale = 100;
} else {
_local1.waitCnt++;
}
}
function run2() {
this._x = this._x + 8;
}
this.stat = "standby";
Symbol 256 MovieClip Frame 3
this.main();
this.gotoAndPlay(_currentframe - 1);
Symbol 257 MovieClip Frame 1
function main() {
if (!(this.stat === "run1")) {
} else {
this.run1();
}
}
function entry() {
this.stat = "run1";
this.anmMC.gotoAndPlay("run");
}
function run1() {
this._x = this._x + 8;
if (this._x > 660) {
_parent.gotoAndPlay("omakeFin");
}
}
this.stat = "standby";
Symbol 257 MovieClip Frame 3
this.main();
this.gotoAndPlay(_currentframe - 1);
Symbol 258 MovieClip Frame 1
this.stop();
Instance of Symbol 253 MovieClip in Symbol 258 MovieClip Frame 49
//component parameters
onClipEvent (initialize) {
stayTime = 2000;
}
Instance of Symbol 253 MovieClip in Symbol 258 MovieClip Frame 68
//component parameters
onClipEvent (initialize) {
stayTime = 4000;
}
Symbol 258 MovieClip Frame 90
this.bullMC.entry();
this.stop();
Symbol 258 MovieClip Frame 110
_root.initGame();
_root.initMovie();
_root.gotoAndPlay("title");
this.stop();