Frame 5
this.gotoAndPlay(10);
Frame 9
stop();
Frame 11
function init() {
gotoAndStop ("stPoint");
me.init();
scoreBord.init();
}
function reStart() {
init();
i = 1;
while (i < 6) {
this["sm" + i].senbei.init();
i++;
}
gameStart();
}
function gameStart() {
this.bgmSys.bgmSound.start(0, 100);
this.bgmSys.bgmSound.setVolume(50);
this.me.swOn();
i = 1;
while (i < 6) {
this["sm" + i].senbei.yakiStart();
i++;
}
this.gotoAndStop("main");
}
function gameOver() {
i = 1;
while (i < 6) {
this["sm" + i].senbei.yakiStop();
i++;
}
me.init();
this.gotoAndStop("gameOver");
}
firstTime = true;
init();
Instance of Symbol 80 MovieClip "me" in Frame 11
onClipEvent (load) {
function init() {
nomSW = false;
movSw = false;
}
function SwOn() {
movSw = true;
}
function reSet() {
this.kao.gotoAndStop("normal");
}
function udeStay() {
this.ude.gotoAndStop("normal");
this.ude.udeStay.gotoAndStop("ready");
}
function udeReset() {
this.ude.gotoAndStop("normal");
}
function ugoki(movPt) {
if (movPt == 0) {
this.kao.gotoAndStop("seGet");
this.ude.gotoAndPlay("seGet");
} else if (movPt == 1) {
this.kao.gotoAndStop("good");
this.ude.gotoAndPlay("seGet");
} else if (movPt == 2) {
this.kao.gotoAndStop("bad");
this.ude.gotoAndPlay("seGet");
} else if (movPt == 3) {
this.kao.gotoAndPlay("soBad");
this.ude.gotoAndPlay("seGet");
}
}
init();
}
onClipEvent (enterFrame) {
if (movSw) {
if (nomSW) {
if (10 >= Math.abs(movPoint - this._x)) {
nomSW = false;
this._x = movPoint;
} else if (this._x < movPoint) {
this._x = this._x + 7;
} else if (movPoint < this._x) {
this._x = this._x - 7;
}
if (yureCnt == 3) {
this.myBody.wkUp();
this.ude.wkUp();
this.kao.wkDown();
} else if (yureCnt == 6) {
this.myBody.wkDown();
this.ude.wkDown();
this.kao.wkUp();
yureCnt = 0;
}
yureCnt = yureCnt + 1;
}
}
}
onClipEvent (mouseMove) {
if (movSw) {
nomSW = true;
movPoint = _root._xmouse;
if (movPoint < 65) {
movPoint = 65;
} else if (340 < movPoint) {
movPoint = 340;
}
}
}
Instance of Symbol 164 MovieClip "scoreBord" in Frame 11
onClipEvent (load) {
function init() {
nowPoint = 0;
missPoint = 0;
scFlg = false;
gentenSw = false;
gentenPoint = 0;
}
function getPoint(gPot) {
nowPoint = nowPoint + gPot;
if (nowPoint < 0) {
nowPoint = 0;
}
if (gPot == 0) {
missCount();
}
}
function missCount() {
missPoint = missPoint + 1;
if (missPoint == 3) {
_parent.gameOver();
}
}
init();
}
Instance of Symbol 165 MovieClip "bgmSys" in Frame 11
onClipEvent (load) {
bgmSound = new Sound(this);
bgmSound.attachSound("bgm");
}
Instance of Symbol 165 MovieClip "koukaSys" in Frame 11
onClipEvent (load) {
bakuSound = new Sound(this);
bakuSound.attachSound("baku");
moeSound = new Sound(this);
moeSound.attachSound("moe");
okeSound = new Sound(this);
okeSound.attachSound("oke");
booSound = new Sound(this);
booSound.attachSound("boo");
karanSound = new Sound(this);
karanSound.attachSound("karan");
hashiSound = new Sound(this);
hashiSound.attachSound("hashi");
clickSound = new Sound(this);
clickSound.attachSound("click");
clickSound.setVolume(20);
}
Instance of Symbol 165 MovieClip "mainSys" in Frame 11
onClipEvent (load) {
function init() {
hantenFlg = false;
}
function gameOver() {
}
init();
}
onClipEvent (enterFrame) {
}
Instance of Symbol 167 MovieClip "sButton" in Frame 11
onClipEvent (mouseUp) {
_parent.koukaSys.clickSound.start();
_parent.koukaSys.clickSound.setVolume(60);
_parent.gameStart();
}
Instance of Symbol 10 MovieClip "endSys" in Frame 16
onClipEvent (load) {
function touroku() {
loadVariables ("./EndGame.asp", this, "POST");
}
score = _parent.scoreBord.nowPoint;
gameid = senbeiv01;
}
Instance of Symbol 169 MovieClip "gameOver" in Frame 16
onClipEvent (load) {
_root.bgmSys.bgmSound.stop();
_root.timer.timerSound.stop();
}
Instance of Symbol 188 MovieClip "endSc" in Frame 16
/* no clip actions */
Symbol 18 Button
on (release) {
getURL ("http://www.macromedia.com/shockwave/download/download.cgi?Lang=Japanese&P5_Language=Japanese&?P1_Prod_Version=ShockwaveFlash", "_blank");
}
Symbol 21 MovieClip Frame 1
function setBar(gLoaded) {
_width = (oneStep * gLoaded);
}
oneStep = _width / 100;
Symbol 22 MovieClip Frame 1
loaded = _root.getBytesLoaded();
total = _root.getBytesTotal();
if (loaded >= total) {
_root.play();
} else {
loadP = (loaded / total) * 100;
gLoaded = Math.round(loadP);
Bar.setbar(gLoaded);
_root.stop();
}
Instance of Symbol 21 MovieClip "Bar" in Symbol 22 MovieClip Frame 1
onClipEvent (enterFrame) {
setProperty("this", _xscale , gLoaded);
}
Symbol 22 MovieClip Frame 2
this.gotoAndPlay(1);
Instance of Symbol 61 MovieClip "udeStay" in Symbol 62 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop("stay");
}
Symbol 62 MovieClip Frame 5
this.gotoAndStop(1);
Instance of Symbol 67 MovieClip "me01" in Symbol 68 MovieClip Frame 1
onClipEvent (load) {
this.stop();
}
onClipEvent (enterFrame) {
kyoro = Math.floor(Math.random() * 50);
if (kyoro == 1) {
this.gotoAndStop(2);
} else if (kyoro == 2) {
this.gotoAndStop(3);
} else {
this.gotoAndStop(1);
}
}
Symbol 70 MovieClip Frame 6
_parent._parent.reSet();
this.stop();
Symbol 73 MovieClip Frame 21
_parent._parent.reSet();
this.stop();
Symbol 77 MovieClip Frame 25
_parent._parent.reSet();
this.stop();
Instance of Symbol 68 MovieClip in Symbol 79 MovieClip Frame 1
onClipEvent (load) {
this.stop();
}
onClipEvent (enterFrame) {
kyoro = Math.floor(Math.random() * 50);
if (kyoro == 1) {
this.nextFrame();
}
}
Symbol 79 MovieClip Frame 11
this.gotoAndStop("bad");
Instance of Symbol 56 MovieClip "myBody" in Symbol 80 MovieClip Frame 1
onClipEvent (load) {
function wkUp() {
this._y = defY - 3;
}
function wkDown() {
this._y = defY;
}
defY = this._y;
}
Instance of Symbol 62 MovieClip "ude" in Symbol 80 MovieClip Frame 1
onClipEvent (load) {
function wkUp() {
this._y = defY - 3;
}
function wkDown() {
this._y = defY;
}
defY = this._y;
this.stop();
}
Instance of Symbol 79 MovieClip "kao" in Symbol 80 MovieClip Frame 1
onClipEvent (load) {
function wkUp() {
this._y = defY - 2;
}
function wkDown() {
this._y = defY;
}
defY = this._y;
this.stop();
}
Symbol 85 Button
on (release) {
if (yakiSw && (_parent._parent.me.nomSw == false)) {
men = false;
_parent._parent.me.ugoki(0);
gotoAndPlay ("TurnOtoU");
}
}
on (rollOver) {
buttonFlg = true;
}
on (rollOut) {
buttonFlg = false;
}
Symbol 91 Button
on (release) {
if (yakiSw && (_parent._parent.me.nomSw == false)) {
men = false;
_parent._parent.me.ugoki(0);
gotoAndPlay ("TurnOtoU2");
}
}
on (rollOver) {
buttonFlg = true;
}
on (rollOut) {
buttonFlg = false;
}
Symbol 98 MovieClip Frame 35
this.gotoAndPlay(1);
Symbol 99 Button
on (release) {
if (yakiSw && (_parent._parent.me.nomSw == false)) {
_parent._parent.koukaSys.hashiSound.start();
_parent._parent.koukaSys.hashiSound.setVolume(20);
_parent._parent.me.ugoki(3);
gotoAndPlay ("get5");
}
}
on (rollOver) {
buttonFlg = true;
}
on (rollOut) {
buttonFlg = false;
}
Symbol 106 Button
on (release) {
if (yakiSw && (_parent._parent.me.nomSw == false)) {
_parent._parent.koukaSys.hashiSound.start();
_parent._parent.koukaSys.hashiSound.setVolume(20);
_parent._parent.me.ugoki(2);
gotoAndPlay ("get2");
}
}
on (rollOver) {
buttonFlg = true;
}
on (rollOut) {
buttonFlg = false;
}
Symbol 110 Button
on (release) {
if (yakiSw && (_parent._parent.me.nomSw == false)) {
_parent._parent.koukaSys.hashiSound.start();
_parent._parent.koukaSys.hashiSound.setVolume(20);
_parent._parent.me.ugoki(1);
gotoAndPlay ("get3");
}
}
on (rollOver) {
buttonFlg = true;
}
on (rollOut) {
buttonFlg = false;
}
Symbol 113 Button
on (release) {
if (yakiSw && (_parent._parent.me.nomSw == false)) {
_parent._parent.koukaSys.hashiSound.start();
_parent._parent.koukaSys.hashiSound.setVolume(20);
_parent._parent.me.ugoki(2);
gotoAndPlay ("get4");
}
}
on (rollOver) {
buttonFlg = true;
}
on (rollOut) {
buttonFlg = false;
}
Symbol 116 MovieClip Frame 35
this.gotoAndPlay(1);
Symbol 117 Button
on (release) {
if (yakiSw && (_parent._parent.me.nomSw == false)) {
_parent._parent.koukaSys.hashiSound.start();
_parent._parent.koukaSys.hashiSound.setVolume(20);
_parent._parent.me.ugoki(3);
gotoAndPlay ("get6");
}
}
on (rollOver) {
buttonFlg = true;
}
on (rollOut) {
buttonFlg = false;
}
Symbol 120 MovieClip Frame 3
_parent._parent._parent.koukaSys.karanSound.start();
_parent._parent._parent.koukaSys.karanSound.setVolume(60);
Symbol 120 MovieClip Frame 4
stop();
Symbol 123 MovieClip Frame 3
_parent._parent._parent.koukaSys.karanSound.start();
_parent._parent._parent.koukaSys.karanSound.setVolume(60);
Symbol 123 MovieClip Frame 4
stop();
Symbol 134 MovieClip Frame 1
_parent._parent._parent.koukaSys.moeSound.start();
_parent._parent._parent.koukaSys.moeSound.setVolume(40);
Symbol 134 MovieClip Frame 22
_parent._parent._parent.koukaSys.bakuSound.start();
_parent._parent._parent.koukaSys.bakuSound.setVolume(50);
Symbol 134 MovieClip Frame 37
_parent._parent._parent.mainSys.getPoint(-40);
Symbol 134 MovieClip Frame 59
_parent._parent._parent.koukaSys.karanSound.start();
_parent._parent._parent.koukaSys.karanSound.setVolume(60);
Symbol 134 MovieClip Frame 60
_parent._parent._parent.koukaSys.karanSound.start();
_parent._parent._parent.koukaSys.karanSound.setVolume(60);
Symbol 134 MovieClip Frame 63
_parent._parent._parent.koukaSys.karanSound.start();
_parent._parent._parent.koukaSys.karanSound.setVolume(60);
Symbol 134 MovieClip Frame 64
_parent.newSanma();
stop();
Symbol 137 MovieClip Frame 2
_parent._parent._parent.koukaSys.booSound.start();
_parent._parent._parent.koukaSys.booSound.setVolume(30);
Symbol 137 MovieClip Frame 21
_parent._parent._parent.scoreBord.getPoint(0);
this.gotoAndStop(1);
Symbol 140 MovieClip Frame 24
_parent._parent._parent.koukaSys.booSound.start();
_parent._parent._parent.koukaSys.booSound.setVolume(30);
Symbol 140 MovieClip Frame 42
_parent._parent._parent.scoreBord.getPoint(-10);
Symbol 140 MovieClip Frame 65
_parent._parent._parent.koukaSys.karanSound.start();
_parent._parent._parent.koukaSys.karanSound.setVolume(60);
Symbol 140 MovieClip Frame 66
_parent._parent._parent.koukaSys.karanSound.start();
_parent._parent._parent.koukaSys.karanSound.setVolume(60);
Symbol 140 MovieClip Frame 69
_parent._parent._parent.koukaSys.karanSound.start();
_parent._parent._parent.koukaSys.karanSound.setVolume(60);
Symbol 140 MovieClip Frame 70
_parent.newSanma();
stop();
Symbol 143 MovieClip Frame 24
_parent._parent._parent.koukaSys.okeSound.start();
_parent._parent._parent.koukaSys.okeSound.setVolume(40);
Symbol 143 MovieClip Frame 42
_parent._parent._parent.scoreBord.getPoint(100);
Symbol 143 MovieClip Frame 65
_parent._parent._parent.koukaSys.karanSound.start();
_parent._parent._parent.koukaSys.karanSound.setVolume(60);
Symbol 143 MovieClip Frame 66
_parent._parent._parent.koukaSys.karanSound.start();
_parent._parent._parent.koukaSys.karanSound.setVolume(60);
Symbol 143 MovieClip Frame 69
_parent._parent._parent.koukaSys.karanSound.start();
_parent._parent._parent.koukaSys.karanSound.setVolume(60);
Symbol 143 MovieClip Frame 70
_parent.newSanma();
stop();
Symbol 151 MovieClip Frame 24
_parent._parent._parent.koukaSys.okeSound.start();
_parent._parent._parent.koukaSys.okeSound.setVolume(40);
Symbol 151 MovieClip Frame 42
_parent._parent._parent.scoreBord.getPoint(20);
Symbol 151 MovieClip Frame 65
_parent._parent._parent.koukaSys.karanSound.start();
_parent._parent._parent.koukaSys.karanSound.setVolume(60);
Symbol 151 MovieClip Frame 66
_parent._parent._parent.koukaSys.karanSound.start();
_parent._parent._parent.koukaSys.karanSound.setVolume(60);
Symbol 151 MovieClip Frame 69
_parent._parent._parent.koukaSys.karanSound.start();
_parent._parent._parent.koukaSys.karanSound.setVolume(60);
Symbol 151 MovieClip Frame 70
_parent.newSanma();
stop();
Symbol 154 MovieClip Frame 24
_parent._parent._parent.koukaSys.booSound.start();
_parent._parent._parent.koukaSys.booSound.setVolume(30);
Symbol 154 MovieClip Frame 42
_parent._parent._parent.scoreBord.getPoint(-20);
Symbol 154 MovieClip Frame 65
_parent._parent._parent.koukaSys.karanSound.start();
_parent._parent._parent.koukaSys.karanSound.setVolume(60);
Symbol 154 MovieClip Frame 66
_parent._parent._parent.koukaSys.karanSound.start();
_parent._parent._parent.koukaSys.karanSound.setVolume(60);
Symbol 154 MovieClip Frame 69
_parent._parent._parent.koukaSys.karanSound.start();
_parent._parent._parent.koukaSys.karanSound.setVolume(60);
Symbol 154 MovieClip Frame 70
_parent.newSanma();
stop();
Symbol 155 MovieClip Frame 24
_parent._parent._parent.koukaSys.booSound.start();
_parent._parent._parent.koukaSys.booSound.setVolume(30);
Symbol 155 MovieClip Frame 42
_parent._parent._parent.scoreBord.getPoint(-20);
Symbol 155 MovieClip Frame 65
_parent._parent._parent.koukaSys.karanSound.start();
_parent._parent._parent.koukaSys.karanSound.setVolume(60);
Symbol 155 MovieClip Frame 66
_parent._parent._parent.koukaSys.karanSound.start();
_parent._parent._parent.koukaSys.karanSound.setVolume(60);
Symbol 155 MovieClip Frame 69
_parent._parent._parent.koukaSys.karanSound.start();
_parent._parent._parent.koukaSys.karanSound.setVolume(60);
Symbol 155 MovieClip Frame 70
_parent.newSanma();
stop();
Symbol 156 MovieClip Frame 1
function check() {
if (men == true) {
if (yakiLv >= 1200) {
gotoAndPlay ("lvl5");
} else if (yakiLv >= 900) {
gotoAndPlay ("lvl4");
} else if (yakiLv >= 600) {
gotoAndPlay ("lvl3");
} else if (yakiLv >= 300) {
gotoAndPlay ("lvl2");
} else if (300 >= yakiLv) {
gotoAndPlay ("lvl1");
}
} else if (men == false) {
if (yakiUraLv >= 1200) {
gotoAndPlay ("lvlu5");
} else if (yakiUraLv >= 900) {
gotoAndPlay ("lvlu4");
} else if (yakiUraLv >= 600) {
gotoAndPlay ("lvlu3");
} else if (yakiUraLv >= 300) {
gotoAndPlay ("lvlu2");
} else if (300 >= yakiUraLv) {
gotoAndPlay ("lvlu1");
}
}
}
Symbol 156 MovieClip Frame 2
check();
Symbol 156 MovieClip Frame 6
gotoAndPlay ("lvl1");
Symbol 156 MovieClip Frame 7
check();
Symbol 156 MovieClip Frame 11
gotoAndPlay ("lvl2");
Symbol 156 MovieClip Frame 12
check();
Symbol 156 MovieClip Frame 16
gotoAndPlay ("lvl3");
Symbol 156 MovieClip Frame 17
check();
Symbol 156 MovieClip Frame 21
gotoAndPlay ("lvl4");
Symbol 156 MovieClip Frame 26
gotoAndPlay ("kogeO");
Symbol 156 MovieClip Frame 30
check();
Symbol 156 MovieClip Frame 34
gotoAndPlay ("lvlu1");
Symbol 156 MovieClip Frame 35
check();
Symbol 156 MovieClip Frame 39
gotoAndPlay ("lvlu2");
Symbol 156 MovieClip Frame 40
check();
Symbol 156 MovieClip Frame 44
gotoAndPlay ("lvlu3");
Symbol 156 MovieClip Frame 45
check();
Symbol 156 MovieClip Frame 49
gotoAndPlay ("lvlu4");
Symbol 156 MovieClip Frame 54
gotoAndPlay ("kogeO");
Symbol 156 MovieClip Frame 61
check();
Symbol 156 MovieClip Frame 67
check();
Symbol 156 MovieClip Frame 73
stop();
Symbol 156 MovieClip Frame 80
stop();
Symbol 156 MovieClip Frame 86
stop();
Symbol 156 MovieClip Frame 92
stop();
Symbol 156 MovieClip Frame 98
stop();
Symbol 156 MovieClip Frame 105
stop();
Symbol 156 MovieClip Frame 113
stop();
Instance of Symbol 156 MovieClip "senbei" in Symbol 157 MovieClip Frame 1
onClipEvent (load) {
function init() {
this.gotoAndStop(1);
buttonFlg = false;
udeFlg = false;
startTime = 0;
men = true;
nanido = 1;
yakiLv = 0;
yakiUraLv = 0;
yakiSw = false;
fCount = 0;
fLv = Math.floor(Math.random() * 5) + nanido;
}
function nanidoUp() {
nanido = nanido + 1;
}
function newSanma() {
yakiLv = 0;
yakiUraLv = 0;
men = true;
gotoAndPlay ("lvl1");
}
function yakiStop() {
yakiSw = false;
}
function yakiStart() {
startTime = getTimer();
yakiSw = true;
gotoAndPlay ("lvl1");
}
function fire() {
fCount = fCount + 1;
if (fCount >= 50) {
fCount = 0;
fLv = Math.floor(Math.random() * 5) + nanido;
}
}
function yaki() {
if (men == true) {
yakiLv = yakiLv + fLv;
} else if (men == false) {
yakiUraLv = yakiUraLv + fLv;
}
}
init();
}
onClipEvent (enterFrame) {
if (yakiSw) {
if ((_parent.hitTest(_root._xmouse, _root._ymouse, true) && (_parent._parent.me.nomSw == false)) && (buttonFlg)) {
if (udeFlg == false) {
udeFlg = true;
_parent._parent.me.udeStay();
}
} else if (udeFlg == true) {
buttonFlg = false;
udeFlg = false;
_parent._parent.me.udeReset();
}
fire();
yaki();
nowTime = Math.floor((getTimer() - startTime) / 1000);
if (nowTime == 20) {
startTime = getTimer();
nanido = nanido + 1;
}
}
}
Symbol 171 Button
on (release) {
koukaSys.clickSound.start();
koukaSys.clickSound.setVolume(60);
this.endSys.touroku();
this.nextFrame();
}
Symbol 173 Button
on (release) {
koukaSys.clickSound.start();
koukaSys.clickSound.setVolume(60);
this.reStart();
}
Instance of Symbol 187 MovieClip "sc" in Symbol 188 MovieClip Frame 1
onClipEvent (load) {
finScore = _parent._parent.scoreBord.nowPoint;
scoreNum10000 = Math.floor(finScore / 10000);
scoreNum1000 = Math.floor((finScore - (scoreNum10000 * 10000)) / 1000);
scoreNum100 = Math.floor((finScore - ((scoreNum10000 * 10000) + (scoreNum1000 * 1000))) / 100);
scoreNum10 = Math.floor((finScore - (((scoreNum10000 * 10000) + (scoreNum1000 * 1000)) + (scoreNum100 * 100))) / 10);
scoreNum1 = Math.floor(finScore - ((((scoreNum10000 * 10000) + (scoreNum1000 * 1000)) + (scoreNum100 * 100)) + (scoreNum10 * 10)));
if (scoreNum10000 == 0) {
this.kazu10000.gotoAndStop(11);
this._x = this._x - 40;
_parent._x = _parent._x + 20;
if (scoreNum1000 == 0) {
this.kazu1000.gotoAndStop(11);
this._x = this._x - 40;
_parent._x = _parent._x + 20;
if (scoreNum100 == 0) {
this.kazu100.gotoAndStop(11);
this._x = this._x - 40;
_parent._x = _parent._x + 20;
if (scoreNum10 == 0) {
this.kazu10.gotoAndStop(11);
this._x = this._x - 40;
_parent._x = _parent._x + 20;
} else {
this.kazu10.gotoAndStop(scoreNum10 + 1);
}
} else {
this.kazu100.gotoAndStop(scoreNum100 + 1);
this.kazu10.gotoAndStop(scoreNum10 + 1);
}
} else {
this.kazu1000.gotoAndStop(scoreNum1000 + 1);
this.kazu100.gotoAndStop(scoreNum100 + 1);
this.kazu10.gotoAndStop(scoreNum10 + 1);
}
} else {
this.kazu10000.gotoAndStop(scoreNum10000 + 1);
this.kazu1000.gotoAndStop(scoreNum1000 + 1);
this.kazu100.gotoAndStop(scoreNum100 + 1);
this.kazu10.gotoAndStop(scoreNum10 + 1);
}
this.kazu1.gotoAndStop(scoreNum1 + 1);
}