Frame 1
stop();
_root.pass = 0;
_root.second = 0;
_root.seconds = 0;
_root.rak = 0;
_root.d = 0;
_root.luf = 0;
_root.hik = 0;
_root.hika = 0;
_root.diac = 0;
_root.nad = 0;
_root.nadbon = 0;
_root.nadag = 0;
_root.total = 0;
Instance of Symbol 13 MovieClip in Frame 1
onClipEvent (enterFrame) {
loaded = Math.floor((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
_root.Val = loaded + "%";
this._width = loaded;
if (loaded == 100) {
_root.gotoAndPlay("title");
}
}
Frame 2
gotoAndPlay (1);
Frame 3
stop();
Instance of Symbol 21 MovieClip in Frame 3
/* no clip actions */
Instance of Symbol 23 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (_root.nug == 2) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
if (_root.nug == 3) {
_root.score = _root.score + Math.floor(_root.bonus / _root.fp);
_root.gotoAndStop("clear");
}
}
Instance of Symbol 25 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (_root.nug == 1) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
}
Instance of Symbol 27 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (_root.nug == 0) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.tou = 100;
_root.nug = _root.nug + 1;
_root.ballh = _root.ballh + 1;
if (_root.ballh == 1) {
_root.ball = 1;
_root.ballh = _root.ballh + 1;
}
}
}
Frame 4
stop();
Instance of Symbol 50 MovieClip "bura" in Frame 4
onClipEvent (enterFrame) {
if (_root.nug == 1) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
}
Instance of Symbol 52 MovieClip "pan" in Frame 4
onClipEvent (enterFrame) {
if (_root.nug == 2) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
if (_root.nug == 3) {
_root.score = _root.score + Math.floor(_root.bonus / _root.fp);
_root.gotoAndStop("clear2");
}
}
Instance of Symbol 54 MovieClip "fuku" in Frame 4
onClipEvent (enterFrame) {
if (_root.nug == 0) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.tou = 100;
_root.nug = _root.nug + 1;
_root.ballh = _root.ballh + 1;
if (_root.ballh == 1) {
_root.ball = 1;
_root.ballh = _root.ballh + 1;
}
}
}
Frame 5
stop();
Instance of Symbol 63 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (_root.nug == 0) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
if (_root.nug == 1) {
_root.score = _root.score + Math.floor(_root.bonus / _root.fp);
_root.gotoAndStop("clear10");
}
}
Frame 6
stop();
Instance of Symbol 71 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (_root.nug == 2) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
if (_root.nug == 3) {
_root.score = _root.score + Math.floor(_root.bonus / _root.fp);
_root.gotoAndStop("clear3");
}
}
Instance of Symbol 73 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (_root.nug == 1) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
}
Instance of Symbol 75 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (_root.nug == 0) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.tou = 100;
_root.nug = _root.nug + 1;
_root.ballh = _root.ballh + 1;
if (_root.ballh == 1) {
_root.ball = 1;
_root.ballh = _root.ballh + 1;
}
}
}
Frame 7
stop();
Instance of Symbol 82 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (_root.nug == 1) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
}
Instance of Symbol 84 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (_root.nug == 2) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
if (_root.nug == 3) {
_root.score = _root.score + Math.floor(_root.bonus / _root.fp);
_root.gotoAndStop("clear4");
}
}
Instance of Symbol 86 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (_root.nug == 0) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.tou = 100;
_root.nug = _root.nug + 1;
_root.ballh = _root.ballh + 1;
if (_root.ballh == 1) {
_root.ball = 1;
_root.ballh = _root.ballh + 1;
}
}
}
Frame 8
stop();
Frame 9
stop();
Instance of Symbol 106 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (_root.nug == 2) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
if (_root.nug == 3) {
_root.score = _root.score + Math.floor(_root.bonus / _root.fp);
_root.gotoAndStop("clear11");
}
}
Instance of Symbol 108 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (_root.nug == 1) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
}
Instance of Symbol 110 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (_root.nug == 0) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.tou = 100;
_root.nug = _root.nug + 1;
_root.ballh = _root.ballh + 1;
if (_root.ballh == 1) {
_root.ball = 1;
_root.ballh = _root.ballh + 1;
}
}
}
Frame 10
stop();
Instance of Symbol 118 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (_root.nug == 2) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
if (_root.nug == 3) {
_root.score = _root.score + Math.floor(_root.bonus / _root.fp);
_root.gotoAndStop("clear6");
}
}
Instance of Symbol 120 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (_root.nug == 1) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
}
Instance of Symbol 122 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (_root.nug == 0) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.tou = 100;
_root.nug = _root.nug + 1;
_root.ballh = _root.ballh + 1;
if (_root.ballh == 1) {
_root.ball = 1;
_root.ballh = _root.ballh + 1;
}
}
}
Frame 11
stop();
Instance of Symbol 129 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (_root.nug == 2) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
if (_root.nug == 3) {
_root.score = _root.score + Math.floor(_root.bonus / _root.fp);
_root.gotoAndStop("clear7");
}
}
Instance of Symbol 131 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (_root.nug == 1) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
}
Instance of Symbol 133 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (_root.nug == 0) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.tou = 100;
_root.nug = _root.nug + 1;
_root.ballh = _root.ballh + 1;
if (_root.ballh == 1) {
_root.ball = 1;
_root.ballh = _root.ballh + 1;
}
}
}
Frame 12
stop();
Instance of Symbol 141 MovieClip in Frame 12
onClipEvent (enterFrame) {
if (_root.nug == 2) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
if (_root.nug == 3) {
_root.score = _root.score + Math.floor(_root.bonus / _root.fp);
_root.gotoAndStop("clear8");
}
}
Instance of Symbol 143 MovieClip in Frame 12
onClipEvent (enterFrame) {
if (_root.nug == 1) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
}
Instance of Symbol 145 MovieClip in Frame 12
onClipEvent (enterFrame) {
if (_root.nug == 0) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.tou = 100;
_root.nug = _root.nug + 1;
_root.ballh = _root.ballh + 1;
if (_root.ballh == 1) {
_root.ball = 1;
_root.ballh = _root.ballh + 1;
}
}
}
Frame 13
stop();
Instance of Symbol 152 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (_root.nug == 2) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
if (_root.nug == 3) {
_root.score = _root.score + Math.floor(_root.bonus / _root.fp);
_root.gotoAndStop("clear9");
}
}
Instance of Symbol 154 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (_root.nug == 1) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
}
Frame 14
stop();
Frame 15
stop();
Instance of Symbol 170 MovieClip in Frame 15
on (press) {
_root.rak = _root.rak + 1;
}
Frame 16
stop();
Frame 17
stop();
Instance of Symbol 194 MovieClip in Frame 17
onClipEvent (enterFrame) {
if (_root.nug == 2) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
if (_root.nug == 3) {
_root.score = _root.score + Math.floor(_root.bonus / _root.fp);
_root.d = 1;
_root.gotoAndStop("clear15");
}
}
Instance of Symbol 196 MovieClip in Frame 17
onClipEvent (enterFrame) {
if (_root.nug == 1) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
}
Instance of Symbol 198 MovieClip in Frame 17
onClipEvent (enterFrame) {
if (_root.nug == 0) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.tou = 100;
_root.nug = _root.nug + 1;
_root.ballh = _root.ballh + 1;
if (_root.ballh == 1) {
_root.ball = 1;
_root.ballh = _root.ballh + 1;
}
}
}
Frame 18
stop();
Instance of Symbol 204 MovieClip in Frame 18
onClipEvent (enterFrame) {
if (_root.nug == 2) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
if (_root.nug == 3) {
_root.score = _root.score + Math.floor(_root.bonus / _root.fp);
_root.gotoAndStop("clear16");
}
}
Instance of Symbol 206 MovieClip in Frame 18
onClipEvent (enterFrame) {
if (_root.nug == 1) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
}
Instance of Symbol 208 MovieClip in Frame 18
onClipEvent (enterFrame) {
if (_root.nug == 0) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.tou = 100;
_root.nug = _root.nug + 1;
_root.ballh = _root.ballh + 1;
if (_root.ballh == 1) {
_root.ball = 1;
_root.ballh = _root.ballh + 1;
}
}
}
Frame 19
stop();
Instance of Symbol 204 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (_root.nug == 2) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
if (_root.nug == 3) {
_root.score = _root.score + Math.floor(_root.bonus / _root.fp);
_root.gotoAndStop("clear17");
}
}
Instance of Symbol 216 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (_root.nug == 0) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.tou = 100;
_root.nug = _root.nug + 1;
_root.ballh = _root.ballh + 1;
if (_root.ballh == 1) {
_root.ball = 1;
_root.ballh = _root.ballh + 1;
}
}
}
Instance of Symbol 218 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (_root.nug == 1) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
}
Frame 20
stop();
Frame 21
stop();
Instance of Symbol 237 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (_root.nug == 2) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
if (_root.nug == 3) {
_root.score = _root.score + Math.floor(_root.bonus / _root.fp);
_root.pass = 1;
_root.gotoAndStop("clear19");
}
}
Instance of Symbol 239 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (_root.nug == 1) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
}
Instance of Symbol 241 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (_root.nug == 0) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.tou = 100;
_root.nug = _root.nug + 1;
_root.ballh = _root.ballh + 1;
if (_root.ballh == 1) {
_root.ball = 1;
_root.ballh = _root.ballh + 1;
}
}
}
Frame 22
stop();
Frame 23
stop();
Instance of Symbol 257 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (_root.nug == 2) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
if (_root.nug == 3) {
_root.score = _root.score + Math.floor(_root.bonus / _root.fp);
_root.pass = 1;
_root.gotoAndStop("clear21");
}
}
Instance of Symbol 259 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (_root.nug == 1) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
}
Instance of Symbol 261 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (_root.nug == 0) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.tou = 100;
_root.nug = _root.nug + 1;
_root.ballh = _root.ballh + 1;
if (_root.ballh == 1) {
_root.ball = 1;
_root.ballh = _root.ballh + 1;
}
}
}
Frame 24
stop();
Instance of Symbol 266 MovieClip in Frame 24
onClipEvent (enterFrame) {
if (_root.nug == 2) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
if (_root.nug == 3) {
_root.score = _root.score + Math.floor(_root.bonus / _root.fp);
_root.pass = 1;
_root.gotoAndStop("clear20");
}
}
Frame 25
stop();
Frame 26
stop();
Frame 27
stop();
Frame 28
stop();
Instance of Symbol 315 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.nug == 2) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
if (_root.nug == 3) {
_root.score = _root.score + Math.floor(_root.bonus / _root.fp);
_root.pass = 1;
_root.gotoAndStop("clear26");
}
}
Instance of Symbol 317 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.nug == 1) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
}
Instance of Symbol 319 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.nug == 0) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.tou = 100;
_root.nug = _root.nug + 1;
_root.ballh = _root.ballh + 1;
if (_root.ballh == 1) {
_root.ball = 1;
_root.ballh = _root.ballh + 1;
}
}
}
Frame 29
stop();
Instance of Symbol 326 MovieClip in Frame 29
onClipEvent (enterFrame) {
if (_root.nug == 2) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
if (_root.nug == 3) {
_root.score = _root.score + Math.floor(_root.bonus / _root.fp);
_root.pass = 1;
_root.gotoAndStop("clear27");
}
}
Instance of Symbol 328 MovieClip in Frame 29
onClipEvent (enterFrame) {
if (_root.nug == 1) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
}
Instance of Symbol 330 MovieClip in Frame 29
onClipEvent (enterFrame) {
if (_root.nug == 0) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.tou = 100;
_root.nug = _root.nug + 1;
_root.ballh = _root.ballh + 1;
if (_root.ballh == 1) {
_root.ball = 1;
_root.ballh = _root.ballh + 1;
}
}
}
Instance of Symbol 340 MovieClip in Frame 30
onClipEvent (enterFrame) {
if (_root.nug == 2) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
if (_root.nug == 3) {
_root.score = _root.score + Math.floor(_root.bonus / _root.fp);
_root.pass = 1;
_root.gotoAndStop("clear28");
}
}
Instance of Symbol 342 MovieClip in Frame 30
onClipEvent (enterFrame) {
if (_root.nug == 1) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
}
Instance of Symbol 344 MovieClip in Frame 30
onClipEvent (enterFrame) {
if (_root.nug == 0) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.tou = 100;
_root.nug = _root.nug + 1;
_root.ballh = _root.ballh + 1;
if (_root.ballh == 1) {
_root.ball = 1;
_root.ballh = _root.ballh + 1;
}
}
}
Instance of Symbol 353 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (_root.nug == 2) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
if (_root.nug == 3) {
_root.score = _root.score + Math.floor(_root.bonus / _root.fp);
_root.pass = 1;
_root.gotoAndStop("clear29");
}
}
Instance of Symbol 355 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (_root.nug == 1) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
}
Instance of Symbol 357 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (_root.nug == 0) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.tou = 100;
_root.nug = _root.nug + 1;
_root.ballh = _root.ballh + 1;
if (_root.ballh == 1) {
_root.ball = 1;
_root.ballh = _root.ballh + 1;
}
}
}
Instance of Symbol 364 MovieClip in Frame 32
onClipEvent (enterFrame) {
if (_root.nug == 2) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
if (_root.nug == 3) {
_root.score = _root.score + Math.floor(_root.bonus / _root.fp);
_root.pass = 1;
_root.passw = "PASS:NandA";
_root.gotoAndStop("clear30");
}
}
Instance of Symbol 366 MovieClip in Frame 32
onClipEvent (enterFrame) {
if (_root.nug == 1) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
}
Instance of Symbol 368 MovieClip in Frame 32
onClipEvent (enterFrame) {
if (_root.nug == 0) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.tou = 100;
_root.nug = _root.nug + 1;
_root.ballh = _root.ballh + 1;
if (_root.ballh == 1) {
_root.ball = 1;
_root.ballh = _root.ballh + 1;
}
}
}
Frame 34
gotoAndPlay (1);
Frame 35
stop();
Instance of Symbol 398 MovieClip in Frame 35
onClipEvent (enterFrame) {
if ((_root.cha == 1) & (_root.coin == 1)) {
_root.gotoAndStop("diap");
}
}
Instance of Symbol 403 MovieClip in Frame 35
onClipEvent (load) {
fr = 40;
time = 1000;
time_count = 0;
old_timer = getTimer();
fps = (fr + "/") + fr;
}
onClipEvent (enterFrame) {
time_count = time_count + 1;
if ((getTimer() - old_timer) >= time) {
fps = (Math.floor((time_count * 1000) / (getTimer() - old_timer)) + "/") + fr;
_root.fp = Math.floor((time_count * 1000) / (getTimer() - old_timer));
old_timer = getTimer();
time_count = 0;
}
}
Frame 36
stop();
Instance of Symbol 406 MovieClip in Frame 36
onClipEvent (enterFrame) {
if ((_root.cha == 1) & (_root.coin == 1)) {
_root.gotoAndStop("rakua");
}
}
Frame 37
stop();
_quality = "MEDIUM";
stopAllSounds();
_root.ctimer = 0;
_root.hpc = 1;
_root.hpbon = 0;
_root.cha = 0;
_root.fp = 40;
_root.coin = 0;
_root.bo = 1;
_root.gou = 0;
_root.bonush = 0;
_root.bai = 1;
_root.ballh = 0;
_root.bonus = 0;
_root.score = 0;
_root.ball = 0;
_root.shi = 0;
_root.hp = 100;
_root.tou = 100;
_root.nug = 0;
Instance of Symbol 426 MovieClip in Frame 37
onClipEvent (enterFrame) {
_root.seconds = _root.seconds + 1;
if (_root.seconds > 40) {
_root.seconds = 0;
_root.second = _root.second + 1;
if (_root.second > 59) {
_root.second = 0;
}
}
}
Frame 38
stop();
Instance of Symbol 21 MovieClip in Frame 38
/* no clip actions */
Instance of Symbol 23 MovieClip in Frame 38
onClipEvent (enterFrame) {
if (_root.nug == 2) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
}
Instance of Symbol 25 MovieClip in Frame 38
onClipEvent (enterFrame) {
if (_root.nug == 1) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
}
Instance of Symbol 27 MovieClip in Frame 38
onClipEvent (enterFrame) {
if (_root.nug == 0) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.tou = 100;
_root.nug = _root.nug + 1;
}
}
Instance of Symbol 434 MovieClip "kabe" in Frame 38
onClipEvent (enterFrame) {
if (_root.coin == 0) {
_root.kabe._visible = true;
}
if (_root.coin == 1) {
_root.kabe._visible = false;
}
}
Frame 39
Mouse.hide();
stop();
Instance of Symbol 21 MovieClip in Frame 39
onClipEvent (enterFrame) {
if (_root.nug == 1) {
gotoAndStop (2);
}
if (_root.nug == 2) {
gotoAndStop (3);
}
if (_root.nug == 3) {
gotoAndStop (4);
}
}
Instance of Symbol 23 MovieClip in Frame 39
onClipEvent (enterFrame) {
if (_root.nug == 2) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
if (_root.nug == 3) {
_root.score = _root.score + Math.floor(_root.bonus / _root.fp);
_root.pass = 1;
_root.gotoAndStop("clear");
}
}
Instance of Symbol 25 MovieClip in Frame 39
onClipEvent (enterFrame) {
if (_root.nug == 1) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
}
Instance of Symbol 27 MovieClip in Frame 39
onClipEvent (enterFrame) {
if (_root.nug == 0) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.tou = 100;
_root.nug = _root.nug + 1;
_root.ballh = _root.ballh + 1;
if (_root.ballh == 1) {
_root.ball = 1;
_root.ballh = _root.ballh + 1;
}
}
}
Instance of Symbol 438 MovieClip in Frame 39
onClipEvent (enterFrame) {
if (_root.nug == 1) {
if (_root.bonush == 0) {
_root.score = _root.score + _root.bonus;
play();
}
}
if (_root.nug == 2) {
if (_root.bonush == 1) {
_root.score = _root.score + _root.bonus;
play();
}
}
if (_root.nug == 3) {
stop();
}
}
Instance of Symbol 440 MovieClip in Frame 39
onClipEvent (enterFrame) {
_xscale = _root.hp;
_root.hp = _root.hp + 0.27;
_root.hp = _root.hp - ((45 - _root.fp) / 100);
if (_root.hp > 100) {
_root.hp = 100;
}
}
Instance of Symbol 453 MovieClip "game" in Frame 39
onClipEvent (load) {
_root.tama = 0;
_root.comboh = 0;
_root.combo = 0;
_root.bo = 0;
_root.exbonus = 0;
_root.sx = 0;
_root.sy = 0;
_root.bonush = 0;
_root.bai = 1;
_root.ballh = 0;
_root.bonus = 0;
_root.score = 0;
_root.ball = 0;
_root.shi = 0;
_root.hp = 100;
_root.tou = 100;
_root.nug = 0;
g = 0;
tno = 0;
tint = 21;
tcnt = 0;
_root.score = 0;
sword_mc._visible = false;
se = new Sound();
se1 = new Sound();
se2 = new Sound();
se3 = new Sound();
se3.attachSound("go");
se.attachSound("se_sword");
se1.attachSound("se_sword1");
se2.attachSound("miss");
}
onClipEvent (enterFrame) {
function tamaPos(tmc) {
switch (Math.floor(g)) {
case 0 :
tmc._x = 400;
tmc._y = Math.random() * 400;
tmc.deg = (Math.random() * 90) + 135;
return;
case 1 :
tmc._x = Math.random() * 400;
tmc._y = 400;
tmc.deg = (Math.random() * 90) + 225;
return;
case 2 :
tmc._x = 0;
tmc._y = Math.random() * 400;
tmc.deg = (Math.random() * 90) + 315;
return;
case 3 :
tmc._x = Math.random() * 400;
tmc._y = 0;
tmc.deg = (Math.random() * 90) + 45;
}
}
function tamaEvent() {
this._rotation = this._rotation + 0;
this._x = this._x + (this.speed * Math.cos((Math.PI/180) * this.deg));
this._y = this._y + (this.speed * Math.sin((Math.PI/180) * this.deg));
if (!this.hit_flag) {
if (sword_mc._visible && (this.hitTest(sword_mc))) {
this.deg = _rotation;
this.speed = 20;
this.hit_flag = true;
if (_root.comboh == 1) {
_root.combo = _root.combo + 1;
}
_root.score = _root.score + ((Math.floor(101 - _root.hp) * _root.bai) * _root.combo);
_root.bonus = _root.bonus + ((Math.floor(101 - _root.hp) * _root.bai) * _root.combo);
tint = tint + 0.07;
_root.tou = _root.tou - 2;
_root.score = _root.score + (_root.fp * _root.bai);
_root.bonus = _root.bonus + (_root.fp * _root.bai);
if (_root.fp > 39) {
_root.score = _root.score + ((50 * _root.bai) * _root.combo);
_root.bonus = _root.bonus + (50 * _root.bai);
}
_root.bonus = _root.bonus - (42 - _root.fp);
if (_root.bonus < 0) {
_root.bonus = 0;
}
if (_root.ball == 1) {
_root.exbonus = _root.exbonus + ((Math.floor(101 - _root.hp) * _root.bai) * _root.combo);
}
se.start();
} else if (this.hitTest(_x, _y, false)) {
_root.hp = _root.hp - 20;
_root.hpc = _root.hpc + 0.01;
if (_root.fp < 35) {
_root.hp = _root.hp - 10;
}
se2.start();
_root.bonus = _root.bonus - ((42 - _root.fp) * 100);
if (_root.bonus < 0) {
_root.bonus = 0;
}
if (_root.hp < 0) {
_root.shi = 1;
se3.start();
_root.gotoAndStop("over");
}
if (_root.shi == 0) {
if ((_root.nug == 0) & (_root.tou == 100)) {
_root.tou = 100;
}
_root.tou = _root.tou + 0;
if (_root.tou > 100) {
_root.nug = _root.nug - 1;
_root.tou = 0;
}
}
}
}
if (((((this._x < 0) || (this._x > Stage.width)) || (this._y < 0)) || (this._y > Stage.height)) || (_root._currentframe == "game")) {
_root.tama = _root.tama - 1;
this.removeMovieClip();
}
}
if (_root.fp < 20) {
_root.gotoAndStop("omoi");
}
vx = (_root._xmouse - _x) / 4;
vy = (_root._ymouse - _y) / 4;
_x = (_x + vx);
_y = (_y + vy);
_root.sx = _x;
_root.sy = _y;
if ((Math.abs(vx) > 1) || (Math.abs(vy) > 1)) {
_rotation = ((Math.atan2(vy, vx) * 180) / Math.PI);
}
if (sword_mc._visible) {
sword_mc._rotation = sword_mc._rotation + 20;
if (sword_mc._rotation == 180) {
sword_mc._rotation = 0;
_root.comboh = 0;
_root.combo = 0;
_root.hp = _root.hp - 7;
if (_root.hp < 0) {
se3.start();
_root.gotoAndStop("over");
}
sword_mc._visible = false;
}
if (sword_mc._rotation == 20) {
se1.start();
}
}
if ((++tcnt) > tint) {
if (_root.tama < 5) {
tmc = _root.attachMovie("Tama", "tama" + tno, tno);
_root.tama = _root.tama + 1;
tmc.speed = random(12) + 4;
if (_root.fp < 30) {
tmc.speed = tmc.speed + 3;
}
tmc.hit_flag = false;
tamaPos(tmc);
tmc.onEnterFrame = tamaEvent;
if ((++tno) > 1000) {
tno = 0;
}
}
tcnt = 0;
}
tint = tint - 0.005;
if (tint < 1) {
tint = 1;
}
_root.tint = tint;
g = random(4);
if (_x < 40) {
_x = 40;
}
if (_x > 360) {
_x = 360;
}
if (_y < 40) {
_y = 40;
}
if (_y > 360) {
_y = 360;
}
if (_root.hp < 0) {
se3.start();
_root.gotoAndStop("over");
}
}
onClipEvent (mouseDown) {
_root.comboh = 1;
sword_mc._visible = true;
}
Instance of Symbol 11 MovieClip [kai] "kai" in Frame 39
onClipEvent (enterFrame) {
if (_root.ball == 0) {
_root.kai._visible = false;
}
if (_root.ball == 1) {
_root.kai._visible = true;
_root.bai = 2;
}
}
on (keyPress "<Space>") {
if (_root.ball == 1) {
_root.kai._visible = false;
_root.hp = _root.hp + 100;
if (_root.hp > 100) {
_root.hp = 100;
}
_root.ball = 0;
_root.bai = 1;
}
}
Frame 40
Mouse.show();
_quality = "HIGH";
stop();
Instance of Symbol 456 MovieClip in Frame 40
onClipEvent (enterFrame) {
_x = _root.sx;
_y = _root.sy;
}
Instance of Symbol 460 MovieClip "spb" in Frame 40
onClipEvent (enterFrame) {
_root.spb._visible = false;
if (_root.bo == 1) {
_root.spb._visible = true;
play();
}
}
on (keyPress "<Space>") {
if (_root.bo == 1) {
_root.gotoAndStop("check");
}
}
Instance of Symbol 463 MovieClip in Frame 40
onClipEvent (enterFrame) {
if (_root.fp < 20) {
_root.gotoAndStop("omoi");
}
}
Frame 41
_root.coin = 0;
_root.pass = 0;
_root.nug = 0;
_root.score = 0;
gotoAndPlay (1);
Frame 42
Mouse.show();
_quality = "HIGH";
stop();
Instance of Symbol 21 MovieClip in Frame 42
onClipEvent (mouseDown) {
play();
}
Instance of Symbol 460 MovieClip "spb" in Frame 42
onClipEvent (enterFrame) {
_root.spb._visible = false;
if (_root.bo == 1) {
_root.spb._visible = true;
play();
}
}
on (keyPress "<Space>") {
if (_root.bo == 1) {
stopAllSounds();
_root.gotoAndStop("cbonus");
}
}
Instance of Symbol 473 MovieClip in Frame 42
onClipEvent (enterFrame) {
if (_root.pass == 1) {
play();
}
}
Frame 43
stop();
Instance of Symbol 50 MovieClip "bura" in Frame 43
onClipEvent (enterFrame) {
if (_root.nug == 1) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
}
Instance of Symbol 52 MovieClip "pan" in Frame 43
onClipEvent (enterFrame) {
if (_root.nug == 2) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
}
Instance of Symbol 54 MovieClip "fuku" in Frame 43
onClipEvent (enterFrame) {
if (_root.nug == 0) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.tou = 100;
_root.nug = _root.nug + 1;
}
}
Frame 44
Mouse.hide();
stop();
Instance of Symbol 48 MovieClip in Frame 44
onClipEvent (enterFrame) {
if (_root.nug == 1) {
gotoAndStop (2);
}
if (_root.nug == 2) {
gotoAndStop (3);
}
if (_root.nug == 3) {
gotoAndStop (4);
}
}
Instance of Symbol 50 MovieClip "bura" in Frame 44
onClipEvent (enterFrame) {
if (_root.nug == 1) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
}
Instance of Symbol 52 MovieClip "pan" in Frame 44
onClipEvent (enterFrame) {
if (_root.nug == 2) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
if (_root.nug == 3) {
_root.score = _root.score + Math.floor(_root.bonus / _root.fp);
_root.pass = 1;
_root.gotoAndStop("clear2");
}
}
Instance of Symbol 54 MovieClip "fuku" in Frame 44
onClipEvent (enterFrame) {
if (_root.nug == 0) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.tou = 100;
_root.nug = _root.nug + 1;
_root.ballh = _root.ballh + 1;
if (_root.ballh == 1) {
_root.ball = 1;
_root.ballh = _root.ballh + 1;
}
}
}
Instance of Symbol 438 MovieClip in Frame 44
onClipEvent (enterFrame) {
if (_root.nug == 1) {
if (_root.bonush == 0) {
_root.score = _root.score + _root.bonus;
play();
}
}
if (_root.nug == 2) {
if (_root.bonush == 1) {
_root.score = _root.score + _root.bonus;
play();
}
}
if (_root.nug == 3) {
stop();
}
}
Instance of Symbol 440 MovieClip in Frame 44
onClipEvent (enterFrame) {
_xscale = _root.hp;
_root.hp = _root.hp + 0.27;
_root.hp = _root.hp - ((45 - _root.fp) / 100);
if (_root.hp > 100) {
_root.hp = 100;
}
}
Instance of Symbol 453 MovieClip "game" in Frame 44
onClipEvent (load) {
_root.tama = 0;
_root.comboh = 0;
_root.combo = 0;
_root.bo = 0;
_root.exbonus = 0;
_root.sx = 0;
_root.sy = 0;
_root.bonush = 0;
_root.bai = 1;
_root.ballh = 0;
_root.bonus = 0;
_root.score = 0;
_root.ball = 0;
_root.shi = 0;
_root.hp = 100;
_root.tou = 100;
_root.nug = 0;
g = 0;
tno = 0;
tint = 21;
tcnt = 0;
_root.score = 0;
sword_mc._visible = false;
se = new Sound();
se1 = new Sound();
se2 = new Sound();
se3 = new Sound();
se3.attachSound("go");
se.attachSound("se_sword");
se1.attachSound("se_sword1");
se2.attachSound("miss");
}
onClipEvent (enterFrame) {
function tamaPos(tmc) {
switch (Math.floor(g)) {
case 0 :
tmc._x = 400;
tmc._y = Math.random() * 400;
tmc.deg = (Math.random() * 90) + 135;
return;
case 1 :
tmc._x = Math.random() * 400;
tmc._y = 400;
tmc.deg = (Math.random() * 90) + 225;
return;
case 2 :
tmc._x = 0;
tmc._y = Math.random() * 400;
tmc.deg = (Math.random() * 90) + 315;
return;
case 3 :
tmc._x = Math.random() * 400;
tmc._y = 0;
tmc.deg = (Math.random() * 90) + 45;
}
}
function tamaEvent() {
this._rotation = this._rotation + 0;
this._x = this._x + (this.speed * Math.cos((Math.PI/180) * this.deg));
this._y = this._y + (this.speed * Math.sin((Math.PI/180) * this.deg));
if (!this.hit_flag) {
if (sword_mc._visible && (this.hitTest(sword_mc))) {
this.deg = _rotation;
this.speed = 20;
this.hit_flag = true;
if (_root.comboh == 1) {
_root.combo = _root.combo + 1;
}
_root.score = _root.score + ((Math.floor(101 - _root.hp) * _root.bai) * _root.combo);
_root.bonus = _root.bonus + ((Math.floor(101 - _root.hp) * _root.bai) * _root.combo);
tint = tint + 0.07;
_root.tou = _root.tou - 2;
_root.score = _root.score + (_root.fp * _root.bai);
_root.bonus = _root.bonus + (_root.fp * _root.bai);
if (_root.fp > 39) {
_root.score = _root.score + ((50 * _root.bai) * _root.combo);
_root.bonus = _root.bonus + (50 * _root.bai);
}
_root.bonus = _root.bonus - (42 - _root.fp);
if (_root.bonus < 0) {
_root.bonus = 0;
}
if (_root.ball == 1) {
_root.exbonus = _root.exbonus + ((Math.floor(101 - _root.hp) * _root.bai) * _root.combo);
}
se.start();
} else if (this.hitTest(_x, _y, false)) {
_root.hp = _root.hp - 20;
_root.hpc = _root.hpc + 0.01;
if (_root.fp < 35) {
_root.hp = _root.hp - 10;
}
se2.start();
_root.bonus = _root.bonus - ((42 - _root.fp) * 100);
if (_root.bonus < 0) {
_root.bonus = 0;
}
if (_root.hp < 0) {
_root.shi = 1;
se3.start();
_root.gotoAndStop("over2");
}
if (_root.shi == 0) {
if ((_root.nug == 0) & (_root.tou == 100)) {
_root.tou = 100;
}
_root.tou = _root.tou + 0;
if (_root.tou > 100) {
_root.nug = _root.nug - 1;
_root.tou = 0;
}
}
}
}
if (((((this._x < 0) || (this._x > Stage.width)) || (this._y < 0)) || (this._y > Stage.height)) || (_root._currentframe == "game2")) {
_root.tama = _root.tama - 1;
this.removeMovieClip();
}
}
if (_root.fp < 20) {
_root.gotoAndStop("omoi");
}
vx = (_root._xmouse - _x) / 4;
vy = (_root._ymouse - _y) / 4;
_x = (_x + vx);
_y = (_y + vy);
_root.sx = _x;
_root.sy = _y;
if ((Math.abs(vx) > 1) || (Math.abs(vy) > 1)) {
_rotation = ((Math.atan2(vy, vx) * 180) / Math.PI);
}
if (sword_mc._visible) {
sword_mc._rotation = sword_mc._rotation + 20;
if (sword_mc._rotation == 180) {
sword_mc._rotation = 0;
_root.comboh = 0;
_root.combo = 0;
_root.hp = _root.hp - 7;
if (_root.hp < 0) {
se3.start();
_root.gotoAndStop("over2");
}
sword_mc._visible = false;
}
if (sword_mc._rotation == 20) {
se1.start();
}
}
if ((++tcnt) > tint) {
if (_root.tama < 5) {
tmc = _root.attachMovie("Tama", "tama" + tno, tno);
_root.tama = _root.tama + 1;
tmc.speed = random(12) + 4;
if (_root.fp < 30) {
tmc.speed = tmc.speed + 3;
}
tmc.hit_flag = false;
tamaPos(tmc);
tmc.onEnterFrame = tamaEvent;
if ((++tno) > 1000) {
tno = 0;
}
}
tcnt = 0;
}
tint = tint - 0.005;
if (tint < 1) {
tint = 1;
}
_root.tint = tint;
g = random(4);
if (_x < 40) {
_x = 40;
}
if (_x > 360) {
_x = 360;
}
if (_y < 40) {
_y = 40;
}
if (_y > 360) {
_y = 360;
}
if (_root.hp < 0) {
se3.start();
_root.gotoAndStop("over2");
}
}
onClipEvent (mouseDown) {
_root.comboh = 1;
sword_mc._visible = true;
}
Instance of Symbol 11 MovieClip [kai] "kai" in Frame 44
onClipEvent (enterFrame) {
if (_root.ball == 0) {
_root.kai._visible = false;
}
if (_root.ball == 1) {
_root.kai._visible = true;
_root.bai = 2;
}
}
on (keyPress "<Space>") {
if (_root.ball == 1) {
_root.kai._visible = false;
_root.hp = _root.hp + 100;
if (_root.hp > 100) {
_root.hp = 100;
}
_root.ball = 0;
_root.bai = 1;
}
}
Frame 45
Mouse.show();
_quality = "HIGH";
stop();
Instance of Symbol 456 MovieClip in Frame 45
onClipEvent (load) {
vx = _root._xmouse;
vy = _root._ymouse;
}
onClipEvent (enterFrame) {
_x = vx;
_y = vy;
}
Instance of Symbol 460 MovieClip "spb" in Frame 45
onClipEvent (enterFrame) {
_root.spb._visible = false;
if (_root.bo == 1) {
_root.spb._visible = true;
play();
}
}
on (keyPress "<Space>") {
if (_root.bo == 1) {
_root.gotoAndStop("check");
}
}
Instance of Symbol 463 MovieClip in Frame 45
onClipEvent (enterFrame) {
if (_root.fp < 20) {
_root.gotoAndStop("omoi");
}
}
Frame 46
_root.coin = 0;
_root.pass = 0;
_root.nug = 0;
_root.score = 0;
gotoAndPlay (1);
Frame 47
Mouse.show();
_quality = "HIGH";
stop();
Instance of Symbol 48 MovieClip in Frame 47
onClipEvent (mouseDown) {
play();
}
Instance of Symbol 460 MovieClip "spb" in Frame 47
onClipEvent (enterFrame) {
_root.spb._visible = false;
if (_root.bo == 1) {
_root.spb._visible = true;
play();
}
}
on (keyPress "<Space>") {
stopAllSounds();
if (_root.bo == 1) {
_root.gotoAndStop("cbonus");
}
}
Instance of Symbol 490 MovieClip in Frame 47
onClipEvent (enterFrame) {
if (_root.pass == 1) {
play();
}
}
Frame 48
_root.coin = 0;
_root.pass = 0;
_root.nug = 0;
_root.score = 0;
gotoAndPlay (1);
Frame 49
stopAllSounds();
_root.score = 0;
Mouse.show();
stop();
Frame 50
gotoAndPlay (1);
Frame 51
stop();
Instance of Symbol 502 MovieClip in Frame 51
onClipEvent (enterFrame) {
if (_root.nug == 2) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
}
Instance of Symbol 505 MovieClip in Frame 51
onClipEvent (enterFrame) {
if (_root.nug == 1) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
}
Instance of Symbol 508 MovieClip in Frame 51
onClipEvent (enterFrame) {
if (_root.nug == 0) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.tou = 100;
_root.nug = _root.nug + 1;
_root.ballh = _root.ballh + 1;
if (_root.ballh == 1) {
_root.ball = 1;
_root.ballh = _root.ballh + 1;
}
}
}
Instance of Symbol 453 MovieClip "game" in Frame 51
onClipEvent (load) {
_root.tama = 0;
_root.bonush = 0;
_root.bai = 1;
_root.ballh = 0;
_root.bonus = 0;
_root.score = 0;
_root.ball = 0;
_root.shi = 0;
_root.hp = 100;
_root.tou = 100;
_root.nug = 0;
g = 0;
tno = 0;
tint = 0;
tcnt = 0;
_root.score = 0;
sword_mc._visible = false;
se = new Sound();
se1 = new Sound();
se.attachSound("se_sword");
se1.attachSound("se_sword1");
}
onClipEvent (enterFrame) {
function tamaPos(tmc) {
switch (Math.floor(g)) {
case 0 :
tmc._x = 400;
tmc._y = Math.random() * 400;
tmc.deg = (Math.random() * 90) + 135;
return;
case 1 :
tmc._x = Math.random() * 400;
tmc._y = 400;
tmc.deg = (Math.random() * 90) + 225;
return;
case 2 :
tmc._x = 0;
tmc._y = Math.random() * 400;
tmc.deg = (Math.random() * 90) + 315;
return;
case 3 :
tmc._x = Math.random() * 400;
tmc._y = 0;
tmc.deg = (Math.random() * 90) + 45;
}
}
function tamaEvent() {
this._rotation = this._rotation + 0;
this._x = this._x + (this.speed * Math.cos((Math.PI/180) * this.deg));
this._y = this._y + (this.speed * Math.sin((Math.PI/180) * this.deg));
if (!this.hit_flag) {
if (sword_mc._visible && (this.hitTest(sword_mc))) {
this.deg = _rotation;
this.speed = 20;
this.hit_flag = true;
_root.score = _root.score + (Math.floor(101 - _root.hp) * _root.bai);
_root.bonus = _root.bonus + (Math.floor(101 - _root.hp) * _root.bai);
_root.tou = _root.tou - 2;
if (_root.fp > 37) {
_root.score = _root.score + (10 * _root.bai);
_root.bonus = _root.bonus + (10 * _root.bai);
}
_root.bonus = _root.bonus - (40 - _root.fp);
if (_root.bonus < 0) {
_root.bonus = 0;
}
se.start();
} else if (this.hitTest(_x, _y, false)) {
_root.hp = _root.hp - 0;
_root.bonus = 0;
if (_root.hp < 0) {
_root.shi = 1;
_root.gotoAndStop("over");
}
if (_root.shi == 0) {
if ((_root.nug == 0) & (_root.tou == 100)) {
_root.tou = 100;
}
_root.tou = _root.tou + 0;
if (_root.tou > 100) {
_root.nug = _root.nug - 1;
_root.tou = 0;
}
}
}
}
if (((((this._x < 0) || (this._x > Stage.width)) || (this._y < 0)) || (this._y > Stage.height)) || (_root._currentframe == "fpstest")) {
_root.tama = _root.tama - 1;
this.removeMovieClip();
}
}
if (_root.nug == 3) {
_root.pass = 1;
_root.gotoAndStop("fpsclear");
}
vx = (_root._xmouse - _x) / 4;
vy = (_root._ymouse - _y) / 4;
_x = (_x + vx);
_y = (_y + vy);
if ((Math.abs(vx) > 1) || (Math.abs(vy) > 1)) {
_rotation = ((Math.atan2(vy, vx) * 180) / Math.PI);
}
if (sword_mc._visible) {
sword_mc._rotation = sword_mc._rotation + 20;
if (sword_mc._rotation == 180) {
sword_mc._rotation = 0;
_root.hp = _root.hp - 0;
if (_root.hp < 0) {
_root.gotoAndStop("over");
}
sword_mc._visible = false;
}
if (sword_mc._rotation == 20) {
se1.start();
}
}
if ((++tcnt) > tint) {
tmc = _root.attachMovie("Tama", "tama" + tno, tno);
_root.tama = _root.tama + 1;
tmc.speed = random(10) + 4;
tmc.hit_flag = false;
tamaPos(tmc);
tmc.onEnterFrame = tamaEvent;
if ((++tno) > 1000) {
tno = 0;
}
tcnt = 0;
}
tint = tint - 0.005;
if (tint < 7) {
tint = 7;
}
_root.tint = tint;
g = random(4);
if (_x < 40) {
_x = 40;
}
if (_x > 360) {
_x = 360;
}
if (_y < 40) {
_y = 40;
}
if (_y > 360) {
_y = 360;
}
}
onClipEvent (mouseDown) {
sword_mc._visible = true;
}
Instance of Symbol 403 MovieClip in Frame 51
onClipEvent (load) {
fr = 40;
time = 1000;
time_count = 0;
old_timer = getTimer();
fps = (fr + "/") + fr;
}
onClipEvent (enterFrame) {
time_count = time_count + 1;
if ((getTimer() - old_timer) >= time) {
fps = (Math.floor((time_count * 1000) / (getTimer() - old_timer)) + "/") + fr;
_root.fp = Math.floor((time_count * 1000) / (getTimer() - old_timer));
old_timer = getTimer();
if (_root.fp > 40) {
_root.fp = 40;
}
time_count = 0;
}
}
Frame 52
stop();
Instance of Symbol 518 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (_root.pass == 1) {
play();
}
}
Frame 53
gotoAndPlay (1);
Frame 54
stop();
_quality = "HIGH";
Instance of Symbol 440 MovieClip in Frame 54
/* no clip actions */
Frame 55
stop();
Frame 56
stop();
Frame 57
stop();
Frame 58
stop();
Frame 59
play();
if (_root.pass == 1) {
_root.hpbon = Math.round(100000 / _root.hpc);
_root.gou = _root.gou + _root.hpbon;
_root.gou = _root.gou + (_root.exbonus * _root.bai);
if (_root.ball == 1) {
_root.gou = _root.gou + 100000;
}
_root.score = _root.score + _root.gou;
_root.pass = 0;
}
Instance of Symbol 11 MovieClip [kai] "kai" in Frame 59
onClipEvent (enterFrame) {
if (_root.ball == 0) {
_root.kai._visible = false;
}
if (_root.ball == 1) {
_root.kai._visible = true;
_root.bai = 2;
}
}
Frame 60
_root.pass = 0;
Instance of Symbol 570 MovieClip "bs" in Frame 83
onClipEvent (enterFrame) {
_root.bs._visible = false;
if (_root.ball == 1) {
_root.bs._visible = true;
}
}
Frame 127
stop();
Mouse.show();
Frame 128
gotoAndPlay (1);
Frame 129
_root.total = _root.total + _root.score;
CGIFile = "hibs.cgi?" + Math.floor(Math.random() * 1000);
myLoadVars = new LoadVars();
myLoadVars.onLoad = function (success) {
rank_in = false;
i = 0;
while (i < 10) {
if (Number(myLoadVars["score" + i]) < score) {
rank_in = true;
}
i++;
}
if (rank_in == true) {
gotoAndStop (130);
} else {
stopAllSounds();
gotoAndStop (131);
}
};
myLoadVars.load(CGIFile);
stop();
Frame 130
stop();
_quality = "HIGH";
send_btn.onRelease = function () {
stopAllSounds();
gotoAndPlay (131);
};
Frame 131
_quality = "HIGH";
CGIFile = "hibs.cgi?" + Math.floor(Math.random() * 1000);
mySaveVars = new LoadVars();
mySaveVars.score = score;
mySaveVars.playername = playername;
myLoadVars = new LoadVars();
myLoadVars.onLoad = function (success) {
rankingdata = "";
i = 0;
while (i < 10) {
tname = "rname" + (i + 1);
eval (tname).text = myLoadVars["name" + i];
tname = "rscore" + (i + 1);
eval (tname).text = myLoadVars["score" + i];
i++;
}
};
mySaveVars.sendAndLoad(CGIFile, myLoadVars, "POST");
stop();
Frame 133
_root.coin = 0;
_root.pass = 0;
_root.nug = 0;
_root.score = 0;
gotoAndPlay (1);
Frame 134
stop();
Instance of Symbol 650 MovieClip in Frame 134
onClipEvent (enterFrame) {
_root.ctimer = _root.ctimer + 1;
if (_root.ctimer == 1000) {
_root.luf = 1;
_root.gotoAndStop("lufir");
}
}
Instance of Symbol 403 MovieClip in Frame 134
onClipEvent (load) {
fr = 40;
time = 1000;
time_count = 0;
old_timer = getTimer();
fps = (fr + "/") + fr;
}
onClipEvent (enterFrame) {
time_count = time_count + 1;
if ((getTimer() - old_timer) >= time) {
fps = (Math.floor((time_count * 1000) / (getTimer() - old_timer)) + "/") + fr;
_root.fp = Math.floor((time_count * 1000) / (getTimer() - old_timer));
old_timer = getTimer();
time_count = 0;
}
}
Frame 135
Mouse.hide();
stop();
Instance of Symbol 71 MovieClip in Frame 135
onClipEvent (enterFrame) {
if (_root.nug == 2) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
if (_root.nug == 3) {
_root.score = _root.score + Math.floor(_root.bonus / _root.fp);
_root.pass = 1;
_root.gotoAndStop("clear3");
}
}
Instance of Symbol 73 MovieClip in Frame 135
onClipEvent (enterFrame) {
if (_root.nug == 1) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
}
Instance of Symbol 75 MovieClip in Frame 135
onClipEvent (enterFrame) {
if (_root.nug == 0) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.tou = 100;
_root.nug = _root.nug + 1;
_root.ballh = _root.ballh + 1;
if (_root.ballh == 1) {
_root.ball = 1;
_root.ballh = _root.ballh + 1;
}
}
}
Instance of Symbol 438 MovieClip in Frame 135
onClipEvent (enterFrame) {
if (_root.nug == 1) {
if (_root.bonush == 0) {
_root.score = _root.score + _root.bonus;
play();
}
}
if (_root.nug == 2) {
if (_root.bonush == 1) {
_root.score = _root.score + _root.bonus;
play();
}
}
if (_root.nug == 3) {
stop();
}
}
Instance of Symbol 440 MovieClip in Frame 135
onClipEvent (enterFrame) {
_xscale = _root.hp;
_root.hp = _root.hp + 0.27;
_root.hp = _root.hp - ((45 - _root.fp) / 100);
if (_root.hp > 100) {
_root.hp = 100;
}
}
Instance of Symbol 453 MovieClip "game" in Frame 135
onClipEvent (load) {
_root.tama = 0;
_root.comboh = 0;
_root.combo = 0;
_root.bo = 0;
_root.exbonus = 0;
_root.sx = 0;
_root.sy = 0;
_root.bonush = 0;
_root.bai = 1;
_root.ballh = 0;
_root.bonus = 0;
_root.score = 0;
_root.ball = 0;
_root.shi = 0;
_root.hp = 100;
_root.tou = 100;
_root.nug = 0;
g = 0;
tno = 0;
tint = 21;
tcnt = 0;
_root.score = 0;
sword_mc._visible = false;
se = new Sound();
se1 = new Sound();
se2 = new Sound();
se3 = new Sound();
se3.attachSound("go");
se.attachSound("se_sword");
se1.attachSound("se_sword1");
se2.attachSound("miss");
}
onClipEvent (enterFrame) {
function tamaPos(tmc) {
switch (Math.floor(g)) {
case 0 :
tmc._x = 400;
tmc._y = Math.random() * 400;
tmc.deg = (Math.random() * 90) + 135;
return;
case 1 :
tmc._x = Math.random() * 400;
tmc._y = 400;
tmc.deg = (Math.random() * 90) + 225;
return;
case 2 :
tmc._x = 0;
tmc._y = Math.random() * 400;
tmc.deg = (Math.random() * 90) + 315;
return;
case 3 :
tmc._x = Math.random() * 400;
tmc._y = 0;
tmc.deg = (Math.random() * 90) + 45;
}
}
function tamaEvent() {
this._rotation = this._rotation + 0;
this._x = this._x + (this.speed * Math.cos((Math.PI/180) * this.deg));
this._y = this._y + (this.speed * Math.sin((Math.PI/180) * this.deg));
if (!this.hit_flag) {
if (sword_mc._visible && (this.hitTest(sword_mc))) {
this.deg = _rotation;
this.speed = 20;
this.hit_flag = true;
if (_root.comboh == 1) {
_root.combo = _root.combo + 1;
}
_root.score = _root.score + ((Math.floor(101 - _root.hp) * _root.bai) * _root.combo);
_root.bonus = _root.bonus + ((Math.floor(101 - _root.hp) * _root.bai) * _root.combo);
tint = tint + 0.07;
_root.tou = _root.tou - 2;
_root.score = _root.score + (_root.fp * _root.bai);
_root.bonus = _root.bonus + (_root.fp * _root.bai);
if (_root.fp > 39) {
_root.score = _root.score + ((50 * _root.bai) * _root.combo);
_root.bonus = _root.bonus + (50 * _root.bai);
}
_root.bonus = _root.bonus - (42 - _root.fp);
if (_root.bonus < 0) {
_root.bonus = 0;
}
if (_root.ball == 1) {
_root.exbonus = _root.exbonus + ((Math.floor(101 - _root.hp) * _root.bai) * _root.combo);
}
se.start();
} else if (this.hitTest(_x, _y, false)) {
_root.hp = _root.hp - 20;
_root.hpc = _root.hpc + 0.01;
if (_root.fp < 35) {
_root.hp = _root.hp - 10;
}
se2.start();
_root.bonus = _root.bonus - ((42 - _root.fp) * 100);
if (_root.bonus < 0) {
_root.bonus = 0;
}
if (_root.hp < 0) {
_root.shi = 1;
se3.start();
_root.gotoAndStop("over3");
}
if (_root.shi == 0) {
if ((_root.nug == 0) & (_root.tou == 100)) {
_root.tou = 100;
}
_root.tou = _root.tou + 0;
if (_root.tou > 100) {
_root.nug = _root.nug - 1;
_root.tou = 0;
}
}
}
}
if (((((this._x < 0) || (this._x > Stage.width)) || (this._y < 0)) || (this._y > Stage.height)) || (_root._currentframe == "game3")) {
_root.tama = _root.tama - 1;
this.removeMovieClip();
}
}
if (_root.fp < 20) {
_root.gotoAndStop("omoi");
}
vx = (_root._xmouse - _x) / 4;
vy = (_root._ymouse - _y) / 4;
_x = (_x + vx);
_y = (_y + vy);
_root.sx = _x;
_root.sy = _y;
if ((Math.abs(vx) > 1) || (Math.abs(vy) > 1)) {
_rotation = ((Math.atan2(vy, vx) * 180) / Math.PI);
}
if (sword_mc._visible) {
sword_mc._rotation = sword_mc._rotation + 20;
if (sword_mc._rotation == 180) {
sword_mc._rotation = 0;
_root.comboh = 0;
_root.combo = 0;
_root.hp = _root.hp - 7;
if (_root.hp < 0) {
se3.start();
_root.gotoAndStop("over3");
}
sword_mc._visible = false;
}
if (sword_mc._rotation == 20) {
se1.start();
}
}
if ((++tcnt) > tint) {
if (_root.tama < 5) {
tmc = _root.attachMovie("Tama", "tama" + tno, tno);
_root.tama = _root.tama + 1;
tmc.speed = random(12) + 4;
if (_root.fp < 30) {
tmc.speed = tmc.speed + 3;
}
tmc.hit_flag = false;
tamaPos(tmc);
tmc.onEnterFrame = tamaEvent;
if ((++tno) > 1000) {
tno = 0;
}
}
tcnt = 0;
}
tint = tint - 0.005;
if (tint < 1) {
tint = 1;
}
_root.tint = tint;
g = random(4);
if (_x < 40) {
_x = 40;
}
if (_x > 360) {
_x = 360;
}
if (_y < 40) {
_y = 40;
}
if (_y > 360) {
_y = 360;
}
if (_root.hp < 0) {
se3.start();
_root.gotoAndStop("over3");
}
}
onClipEvent (mouseDown) {
_root.comboh = 1;
sword_mc._visible = true;
}
Instance of Symbol 11 MovieClip [kai] "kai" in Frame 135
onClipEvent (enterFrame) {
if (_root.ball == 0) {
_root.kai._visible = false;
}
if (_root.ball == 1) {
_root.kai._visible = true;
_root.bai = 2;
}
}
on (keyPress "<Space>") {
if (_root.ball == 1) {
_root.kai._visible = false;
_root.hp = _root.hp + 100;
if (_root.hp > 100) {
_root.hp = 100;
}
_root.ball = 0;
_root.bai = 1;
}
}
Frame 136
Mouse.show();
_quality = "HIGH";
stop();
Instance of Symbol 456 MovieClip in Frame 136
onClipEvent (enterFrame) {
_x = _root.sx;
_y = _root.sy;
}
Instance of Symbol 460 MovieClip "spb" in Frame 136
onClipEvent (enterFrame) {
_root.spb._visible = false;
if (_root.bo == 1) {
_root.spb._visible = true;
play();
}
}
on (keyPress "<Space>") {
if (_root.bo == 1) {
_root.gotoAndStop("check");
}
}
Instance of Symbol 463 MovieClip in Frame 136
onClipEvent (enterFrame) {
if (_root.fp < 20) {
_root.gotoAndStop("omoi");
}
}
Frame 137
gotoAndPlay (1);
Frame 138
Mouse.show();
_quality = "HIGH";
stop();
Instance of Symbol 460 MovieClip "spb" in Frame 138
onClipEvent (enterFrame) {
_root.spb._visible = false;
if (_root.bo == 1) {
_root.spb._visible = true;
play();
}
}
on (keyPress "<Space>") {
stopAllSounds();
if (_root.bo == 1) {
_root.gotoAndStop("cbonus");
}
}
Instance of Symbol 663 MovieClip in Frame 138
onClipEvent (enterFrame) {
if (_root.pass == 1) {
play();
}
}
Frame 140
stop();
Frame 141
Mouse.hide();
stop();
Instance of Symbol 82 MovieClip in Frame 141
onClipEvent (enterFrame) {
if (_root.nug == 1) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
}
Instance of Symbol 84 MovieClip in Frame 141
onClipEvent (enterFrame) {
if (_root.nug == 2) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
if (_root.nug == 3) {
_root.score = _root.score + Math.floor(_root.bonus / _root.fp);
_root.pass = 1;
_root.gotoAndStop("clear4");
}
}
Instance of Symbol 86 MovieClip in Frame 141
onClipEvent (enterFrame) {
if (_root.nug == 0) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.tou = 100;
_root.nug = _root.nug + 1;
_root.ballh = _root.ballh + 1;
if (_root.ballh == 1) {
_root.ball = 1;
_root.ballh = _root.ballh + 1;
}
}
}
Instance of Symbol 438 MovieClip in Frame 141
onClipEvent (enterFrame) {
if (_root.nug == 1) {
if (_root.bonush == 0) {
_root.score = _root.score + _root.bonus;
play();
}
}
if (_root.nug == 2) {
if (_root.bonush == 1) {
_root.score = _root.score + _root.bonus;
play();
}
}
if (_root.nug == 3) {
stop();
}
}
Instance of Symbol 440 MovieClip in Frame 141
onClipEvent (enterFrame) {
_xscale = _root.hp;
_root.hp = _root.hp + 0.27;
_root.hp = _root.hp - ((45 - _root.fp) / 100);
if (_root.hp > 100) {
_root.hp = 100;
}
}
Instance of Symbol 453 MovieClip "game" in Frame 141
onClipEvent (load) {
_root.tama = 0;
_root.comboh = 0;
_root.combo = 0;
_root.bo = 0;
_root.exbonus = 0;
_root.sx = 0;
_root.sy = 0;
_root.bonush = 0;
_root.bai = 1;
_root.ballh = 0;
_root.bonus = 0;
_root.score = 0;
_root.ball = 0;
_root.shi = 0;
_root.hp = 100;
_root.tou = 100;
_root.nug = 0;
g = 0;
tno = 0;
tint = 21;
tcnt = 0;
_root.score = 0;
sword_mc._visible = false;
se = new Sound();
se1 = new Sound();
se2 = new Sound();
se3 = new Sound();
se3.attachSound("go");
se.attachSound("se_sword");
se1.attachSound("se_sword1");
se2.attachSound("miss");
}
onClipEvent (enterFrame) {
function tamaPos(tmc) {
switch (Math.floor(g)) {
case 0 :
tmc._x = 400;
tmc._y = Math.random() * 400;
tmc.deg = (Math.random() * 90) + 135;
return;
case 1 :
tmc._x = Math.random() * 400;
tmc._y = 400;
tmc.deg = (Math.random() * 90) + 225;
return;
case 2 :
tmc._x = 0;
tmc._y = Math.random() * 400;
tmc.deg = (Math.random() * 90) + 315;
return;
case 3 :
tmc._x = Math.random() * 400;
tmc._y = 0;
tmc.deg = (Math.random() * 90) + 45;
}
}
function tamaEvent() {
this._rotation = this._rotation + 0;
this._x = this._x + (this.speed * Math.cos((Math.PI/180) * this.deg));
this._y = this._y + (this.speed * Math.sin((Math.PI/180) * this.deg));
if (!this.hit_flag) {
if (sword_mc._visible && (this.hitTest(sword_mc))) {
this.deg = _rotation;
this.speed = 20;
this.hit_flag = true;
if (_root.comboh == 1) {
_root.combo = _root.combo + 1;
}
_root.score = _root.score + ((Math.floor(101 - _root.hp) * _root.bai) * _root.combo);
_root.bonus = _root.bonus + ((Math.floor(101 - _root.hp) * _root.bai) * _root.combo);
tint = tint + 0.07;
_root.tou = _root.tou - 2;
_root.score = _root.score + (_root.fp * _root.bai);
_root.bonus = _root.bonus + (_root.fp * _root.bai);
if (_root.fp > 39) {
_root.score = _root.score + ((50 * _root.bai) * _root.combo);
_root.bonus = _root.bonus + (50 * _root.bai);
}
_root.bonus = _root.bonus - (42 - _root.fp);
if (_root.bonus < 0) {
_root.bonus = 0;
}
if (_root.ball == 1) {
_root.exbonus = _root.exbonus + ((Math.floor(101 - _root.hp) * _root.bai) * _root.combo);
}
se.start();
} else if (this.hitTest(_x, _y, false)) {
_root.hp = _root.hp - 20;
_root.hpc = _root.hpc + 0.01;
if (_root.fp < 35) {
_root.hp = _root.hp - 10;
}
se2.start();
_root.bonus = _root.bonus - ((42 - _root.fp) * 100);
if (_root.bonus < 0) {
_root.bonus = 0;
}
if (_root.hp < 0) {
_root.shi = 1;
se3.start();
_root.gotoAndStop("over4");
}
if (_root.shi == 0) {
if ((_root.nug == 0) & (_root.tou == 100)) {
_root.tou = 100;
}
_root.tou = _root.tou + 0;
if (_root.tou > 100) {
_root.nug = _root.nug - 1;
_root.tou = 0;
}
}
}
}
if (((((this._x < 0) || (this._x > Stage.width)) || (this._y < 0)) || (this._y > Stage.height)) || (_root._currentframe == "game4")) {
_root.tama = _root.tama - 1;
this.removeMovieClip();
}
}
if (_root.fp < 20) {
_root.gotoAndStop("omoi");
}
vx = (_root._xmouse - _x) / 4;
vy = (_root._ymouse - _y) / 4;
_x = (_x + vx);
_y = (_y + vy);
_root.sx = _x;
_root.sy = _y;
if ((Math.abs(vx) > 1) || (Math.abs(vy) > 1)) {
_rotation = ((Math.atan2(vy, vx) * 180) / Math.PI);
}
if (sword_mc._visible) {
sword_mc._rotation = sword_mc._rotation + 20;
if (sword_mc._rotation == 180) {
sword_mc._rotation = 0;
_root.comboh = 0;
_root.combo = 0;
_root.hp = _root.hp - 7;
if (_root.hp < 0) {
se3.start();
_root.gotoAndStop("over4");
}
sword_mc._visible = false;
}
if (sword_mc._rotation == 20) {
se1.start();
}
}
if ((++tcnt) > tint) {
if (_root.tama < 5) {
tmc = _root.attachMovie("Tama", "tama" + tno, tno);
_root.tama = _root.tama + 1;
tmc.speed = random(12) + 4;
if (_root.fp < 30) {
tmc.speed = tmc.speed + 3;
}
tmc.hit_flag = false;
tamaPos(tmc);
tmc.onEnterFrame = tamaEvent;
if ((++tno) > 1000) {
tno = 0;
}
}
tcnt = 0;
}
tint = tint - 0.005;
if (tint < 1) {
tint = 1;
}
_root.tint = tint;
g = random(4);
if (_x < 40) {
_x = 40;
}
if (_x > 360) {
_x = 360;
}
if (_y < 40) {
_y = 40;
}
if (_y > 360) {
_y = 360;
}
if (_root.hp < 0) {
se3.start();
_root.gotoAndStop("over4");
}
}
onClipEvent (mouseDown) {
_root.comboh = 1;
sword_mc._visible = true;
}
Instance of Symbol 11 MovieClip [kai] "kai" in Frame 141
onClipEvent (enterFrame) {
if (_root.ball == 0) {
_root.kai._visible = false;
}
if (_root.ball == 1) {
_root.kai._visible = true;
_root.bai = 2;
}
}
on (keyPress "<Space>") {
if (_root.ball == 1) {
_root.kai._visible = false;
_root.hp = _root.hp + 100;
if (_root.hp > 100) {
_root.hp = 100;
}
_root.ball = 0;
_root.bai = 1;
}
}
Frame 142
Mouse.show();
_quality = "HIGH";
stop();
Instance of Symbol 456 MovieClip in Frame 142
onClipEvent (enterFrame) {
_x = _root.sx;
_y = _root.sy;
}
Instance of Symbol 460 MovieClip "spb" in Frame 142
onClipEvent (enterFrame) {
_root.spb._visible = false;
if (_root.bo == 1) {
_root.spb._visible = true;
play();
}
}
on (keyPress "<Space>") {
if (_root.bo == 1) {
_root.gotoAndStop("check");
}
}
Instance of Symbol 463 MovieClip in Frame 142
onClipEvent (enterFrame) {
if (_root.fp < 20) {
_root.gotoAndStop("omoi");
}
}
Frame 143
gotoAndPlay (1);
Frame 144
Mouse.show();
_quality = "HIGH";
stop();
Instance of Symbol 460 MovieClip "spb" in Frame 144
onClipEvent (enterFrame) {
_root.spb._visible = false;
if (_root.bo == 1) {
_root.spb._visible = true;
play();
}
}
on (keyPress "<Space>") {
if (_root.bo == 1) {
stopAllSounds();
_root.gotoAndStop("cbonus");
}
}
Instance of Symbol 680 MovieClip in Frame 144
onClipEvent (enterFrame) {
if (_root.pass == 1) {
play();
}
}
Frame 145
_root.coin = 0;
_root.pass = 0;
_root.nug = 0;
_root.score = 0;
gotoAndPlay (1);
Frame 146
stop();
Frame 147
Mouse.hide();
stop();
Instance of Symbol 95 MovieClip in Frame 147
onClipEvent (enterFrame) {
if (_root.nug == 2) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
if (_root.nug == 3) {
_root.score = _root.score + Math.floor(_root.bonus / _root.fp);
_root.pass = 1;
_root.gotoAndStop("clear5");
}
}
Instance of Symbol 97 MovieClip in Frame 147
onClipEvent (enterFrame) {
if (_root.nug == 1) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
}
Instance of Symbol 99 MovieClip in Frame 147
onClipEvent (enterFrame) {
if (_root.nug == 0) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.tou = 100;
_root.nug = _root.nug + 1;
_root.ballh = _root.ballh + 1;
if (_root.ballh == 1) {
_root.ball = 1;
_root.ballh = _root.ballh + 1;
}
}
}
Instance of Symbol 438 MovieClip in Frame 147
onClipEvent (enterFrame) {
if (_root.nug == 1) {
if (_root.bonush == 0) {
_root.score = _root.score + _root.bonus;
play();
}
}
if (_root.nug == 2) {
if (_root.bonush == 1) {
_root.score = _root.score + _root.bonus;
play();
}
}
if (_root.nug == 3) {
stop();
}
}
Instance of Symbol 440 MovieClip in Frame 147
onClipEvent (enterFrame) {
_xscale = _root.hp;
_root.hp = _root.hp + 0.27;
_root.hp = _root.hp - ((45 - _root.fp) / 100);
if (_root.hp > 100) {
_root.hp = 100;
}
}
Instance of Symbol 453 MovieClip "game" in Frame 147
onClipEvent (load) {
_root.tama = 0;
_root.comboh = 0;
_root.combo = 0;
_root.bo = 0;
_root.exbonus = 0;
_root.sx = 0;
_root.sy = 0;
_root.bonush = 0;
_root.bai = 1;
_root.ballh = 0;
_root.bonus = 0;
_root.score = 0;
_root.ball = 0;
_root.shi = 0;
_root.hp = 100;
_root.tou = 100;
_root.nug = 0;
g = 0;
tno = 0;
tint = 21;
tcnt = 0;
_root.score = 0;
sword_mc._visible = false;
se = new Sound();
se1 = new Sound();
se2 = new Sound();
se3 = new Sound();
se3.attachSound("go");
se.attachSound("se_sword");
se1.attachSound("se_sword1");
se2.attachSound("miss");
}
onClipEvent (enterFrame) {
function tamaPos(tmc) {
switch (Math.floor(g)) {
case 0 :
tmc._x = 400;
tmc._y = Math.random() * 400;
tmc.deg = (Math.random() * 90) + 135;
return;
case 1 :
tmc._x = Math.random() * 400;
tmc._y = 400;
tmc.deg = (Math.random() * 90) + 225;
return;
case 2 :
tmc._x = 0;
tmc._y = Math.random() * 400;
tmc.deg = (Math.random() * 90) + 315;
return;
case 3 :
tmc._x = Math.random() * 400;
tmc._y = 0;
tmc.deg = (Math.random() * 90) + 45;
}
}
function tamaEvent() {
this._rotation = this._rotation + 0;
this._x = this._x + (this.speed * Math.cos((Math.PI/180) * this.deg));
this._y = this._y + (this.speed * Math.sin((Math.PI/180) * this.deg));
if (!this.hit_flag) {
if (sword_mc._visible && (this.hitTest(sword_mc))) {
this.deg = _rotation;
this.speed = 20;
this.hit_flag = true;
if (_root.comboh == 1) {
_root.combo = _root.combo + 1;
}
_root.score = _root.score + ((Math.floor(101 - _root.hp) * _root.bai) * _root.combo);
_root.bonus = _root.bonus + ((Math.floor(101 - _root.hp) * _root.bai) * _root.combo);
tint = tint + 0.07;
_root.tou = _root.tou - 2;
_root.score = _root.score + (_root.fp * _root.bai);
_root.bonus = _root.bonus + (_root.fp * _root.bai);
if (_root.fp > 39) {
_root.score = _root.score + ((50 * _root.bai) * _root.combo);
_root.bonus = _root.bonus + (50 * _root.bai);
}
_root.bonus = _root.bonus - (42 - _root.fp);
if (_root.bonus < 0) {
_root.bonus = 0;
}
if (_root.ball == 1) {
_root.exbonus = _root.exbonus + ((Math.floor(101 - _root.hp) * _root.bai) * _root.combo);
}
se.start();
} else if (this.hitTest(_x, _y, false)) {
_root.hp = _root.hp - 20;
_root.hpc = _root.hpc + 0.01;
if (_root.fp < 35) {
_root.hp = _root.hp - 10;
}
se2.start();
_root.bonus = _root.bonus - ((42 - _root.fp) * 100);
if (_root.bonus < 0) {
_root.bonus = 0;
}
if (_root.hp < 0) {
_root.shi = 1;
se3.start();
_root.gotoAndStop("over5");
}
if (_root.shi == 0) {
if ((_root.nug == 0) & (_root.tou == 100)) {
_root.tou = 100;
}
_root.tou = _root.tou + 0;
if (_root.tou > 100) {
_root.nug = _root.nug - 1;
_root.tou = 0;
}
}
}
}
if (((((this._x < 0) || (this._x > Stage.width)) || (this._y < 0)) || (this._y > Stage.height)) || (_root._currentframe == "game5")) {
_root.tama = _root.tama - 1;
this.removeMovieClip();
}
}
if (_root.fp < 20) {
_root.gotoAndStop("omoi");
}
vx = (_root._xmouse - _x) / 4;
vy = (_root._ymouse - _y) / 4;
_x = (_x + vx);
_y = (_y + vy);
_root.sx = _x;
_root.sy = _y;
if ((Math.abs(vx) > 1) || (Math.abs(vy) > 1)) {
_rotation = ((Math.atan2(vy, vx) * 180) / Math.PI);
}
if (sword_mc._visible) {
sword_mc._rotation = sword_mc._rotation + 20;
if (sword_mc._rotation == 180) {
sword_mc._rotation = 0;
_root.comboh = 0;
_root.combo = 0;
_root.hp = _root.hp - 7;
if (_root.hp < 0) {
se3.start();
_root.gotoAndStop("over5");
}
sword_mc._visible = false;
}
if (sword_mc._rotation == 20) {
se1.start();
}
}
if ((++tcnt) > tint) {
if (_root.tama < 5) {
tmc = _root.attachMovie("Tama", "tama" + tno, tno);
_root.tama = _root.tama + 1;
tmc.speed = random(12) + 4;
if (_root.fp < 30) {
tmc.speed = tmc.speed + 3;
}
tmc.hit_flag = false;
tamaPos(tmc);
tmc.onEnterFrame = tamaEvent;
if ((++tno) > 1000) {
tno = 0;
}
}
tcnt = 0;
}
tint = tint - 0.005;
if (tint < 1) {
tint = 1;
}
_root.tint = tint;
g = random(4);
if (_x < 40) {
_x = 40;
}
if (_x > 360) {
_x = 360;
}
if (_y < 40) {
_y = 40;
}
if (_y > 360) {
_y = 360;
}
if (_root.hp < 0) {
se3.start();
_root.gotoAndStop("over5");
}
}
onClipEvent (mouseDown) {
_root.comboh = 1;
sword_mc._visible = true;
}
Instance of Symbol 11 MovieClip [kai] "kai" in Frame 147
onClipEvent (enterFrame) {
if (_root.ball == 0) {
_root.kai._visible = false;
}
if (_root.ball == 1) {
_root.kai._visible = true;
_root.bai = 2;
}
}
on (keyPress "<Space>") {
if (_root.ball == 1) {
_root.kai._visible = false;
_root.hp = _root.hp + 100;
if (_root.hp > 100) {
_root.hp = 100;
}
_root.ball = 0;
_root.bai = 1;
}
}
Frame 148
Mouse.show();
_quality = "HIGH";
stop();
Instance of Symbol 456 MovieClip in Frame 148
onClipEvent (enterFrame) {
_x = _root.sx;
_y = _root.sy;
}
Instance of Symbol 460 MovieClip "spb" in Frame 148
onClipEvent (enterFrame) {
_root.spb._visible = false;
if (_root.bo == 1) {
_root.spb._visible = true;
play();
}
}
on (keyPress "<Space>") {
if (_root.bo == 1) {
_root.gotoAndStop("check");
}
}
Instance of Symbol 463 MovieClip in Frame 148
onClipEvent (enterFrame) {
if (_root.fp < 20) {
_root.gotoAndStop("omoi");
}
}
Frame 149
gotoAndPlay (1);
Frame 150
Mouse.show();
_quality = "HIGH";
stop();
Instance of Symbol 460 MovieClip "spb" in Frame 150
onClipEvent (enterFrame) {
_root.spb._visible = false;
if (_root.bo == 1) {
_root.spb._visible = true;
play();
}
}
on (keyPress "<Space>") {
if (_root.bo == 1) {
stopAllSounds();
_root.gotoAndStop("cbonus");
}
}
Instance of Symbol 695 MovieClip in Frame 150
onClipEvent (enterFrame) {
if (_root.pass == 1) {
play();
}
}
Frame 151
_root.coin = 0;
_root.pass = 0;
_root.nug = 0;
_root.score = 0;
gotoAndPlay (1);
Frame 152
stop();
Frame 153
Mouse.hide();
stop();
Instance of Symbol 118 MovieClip in Frame 153
onClipEvent (enterFrame) {
if (_root.nug == 2) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
if (_root.nug == 3) {
_root.score = _root.score + Math.floor(_root.bonus / _root.fp);
_root.pass = 1;
_root.gotoAndStop("clear6");
}
}
Instance of Symbol 120 MovieClip in Frame 153
onClipEvent (enterFrame) {
if (_root.nug == 1) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
}
Instance of Symbol 122 MovieClip in Frame 153
onClipEvent (enterFrame) {
if (_root.nug == 0) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.tou = 100;
_root.nug = _root.nug + 1;
_root.ballh = _root.ballh + 1;
if (_root.ballh == 1) {
_root.ball = 1;
_root.ballh = _root.ballh + 1;
}
}
}
Instance of Symbol 438 MovieClip in Frame 153
onClipEvent (enterFrame) {
if (_root.nug == 1) {
if (_root.bonush == 0) {
_root.score = _root.score + _root.bonus;
play();
}
}
if (_root.nug == 2) {
if (_root.bonush == 1) {
_root.score = _root.score + _root.bonus;
play();
}
}
if (_root.nug == 3) {
stop();
}
}
Instance of Symbol 440 MovieClip in Frame 153
onClipEvent (enterFrame) {
_xscale = _root.hp;
_root.hp = _root.hp + 0.27;
_root.hp = _root.hp - ((45 - _root.fp) / 100);
if (_root.hp > 100) {
_root.hp = 100;
}
}
Instance of Symbol 453 MovieClip "game" in Frame 153
onClipEvent (load) {
_root.tama = 0;
_root.comboh = 0;
_root.combo = 0;
_root.bo = 0;
_root.exbonus = 0;
_root.sx = 0;
_root.sy = 0;
_root.bonush = 0;
_root.bai = 1;
_root.ballh = 0;
_root.bonus = 0;
_root.score = 0;
_root.ball = 0;
_root.shi = 0;
_root.hp = 100;
_root.tou = 100;
_root.nug = 0;
g = 0;
tno = 0;
tint = 21;
tcnt = 0;
_root.score = 0;
sword_mc._visible = false;
se = new Sound();
se1 = new Sound();
se2 = new Sound();
se3 = new Sound();
se3.attachSound("go");
se.attachSound("se_sword");
se1.attachSound("se_sword1");
se2.attachSound("miss");
}
onClipEvent (enterFrame) {
function tamaPos(tmc) {
switch (Math.floor(g)) {
case 0 :
tmc._x = 400;
tmc._y = Math.random() * 400;
tmc.deg = (Math.random() * 90) + 135;
return;
case 1 :
tmc._x = Math.random() * 400;
tmc._y = 400;
tmc.deg = (Math.random() * 90) + 225;
return;
case 2 :
tmc._x = 0;
tmc._y = Math.random() * 400;
tmc.deg = (Math.random() * 90) + 315;
return;
case 3 :
tmc._x = Math.random() * 400;
tmc._y = 0;
tmc.deg = (Math.random() * 90) + 45;
}
}
function tamaEvent() {
this._rotation = this._rotation + 0;
this._x = this._x + (this.speed * Math.cos((Math.PI/180) * this.deg));
this._y = this._y + (this.speed * Math.sin((Math.PI/180) * this.deg));
if (!this.hit_flag) {
if (sword_mc._visible && (this.hitTest(sword_mc))) {
this.deg = _rotation;
this.speed = 20;
this.hit_flag = true;
if (_root.comboh == 1) {
_root.combo = _root.combo + 1;
}
_root.score = _root.score + ((Math.floor(101 - _root.hp) * _root.bai) * _root.combo);
_root.bonus = _root.bonus + ((Math.floor(101 - _root.hp) * _root.bai) * _root.combo);
tint = tint + 0.07;
_root.tou = _root.tou - 2;
_root.score = _root.score + (_root.fp * _root.bai);
_root.bonus = _root.bonus + (_root.fp * _root.bai);
if (_root.fp > 39) {
_root.score = _root.score + ((50 * _root.bai) * _root.combo);
_root.bonus = _root.bonus + (50 * _root.bai);
}
_root.bonus = _root.bonus - (42 - _root.fp);
if (_root.bonus < 0) {
_root.bonus = 0;
}
if (_root.ball == 1) {
_root.exbonus = _root.exbonus + ((Math.floor(101 - _root.hp) * _root.bai) * _root.combo);
}
se.start();
} else if (this.hitTest(_x, _y, false)) {
_root.hp = _root.hp - 20;
_root.hpc = _root.hpc + 0.01;
if (_root.fp < 35) {
_root.hp = _root.hp - 10;
}
se2.start();
_root.bonus = _root.bonus - ((42 - _root.fp) * 100);
if (_root.bonus < 0) {
_root.bonus = 0;
}
if (_root.hp < 0) {
_root.shi = 1;
se3.start();
_root.gotoAndStop("over6");
}
if (_root.shi == 0) {
if ((_root.nug == 0) & (_root.tou == 100)) {
_root.tou = 100;
}
_root.tou = _root.tou + 0;
if (_root.tou > 100) {
_root.nug = _root.nug - 1;
_root.tou = 0;
}
}
}
}
if (((((this._x < 0) || (this._x > Stage.width)) || (this._y < 0)) || (this._y > Stage.height)) || (_root._currentframe == "game6")) {
_root.tama = _root.tama - 1;
this.removeMovieClip();
}
}
if (_root.fp < 20) {
_root.gotoAndStop("omoi");
}
vx = (_root._xmouse - _x) / 4;
vy = (_root._ymouse - _y) / 4;
_x = (_x + vx);
_y = (_y + vy);
_root.sx = _x;
_root.sy = _y;
if ((Math.abs(vx) > 1) || (Math.abs(vy) > 1)) {
_rotation = ((Math.atan2(vy, vx) * 180) / Math.PI);
}
if (sword_mc._visible) {
sword_mc._rotation = sword_mc._rotation + 20;
if (sword_mc._rotation == 180) {
sword_mc._rotation = 0;
_root.comboh = 0;
_root.combo = 0;
_root.hp = _root.hp - 7;
if (_root.hp < 0) {
se3.start();
_root.gotoAndStop("over6");
}
sword_mc._visible = false;
}
if (sword_mc._rotation == 20) {
se1.start();
}
}
if ((++tcnt) > tint) {
if (_root.tama < 5) {
tmc = _root.attachMovie("Tama", "tama" + tno, tno);
_root.tama = _root.tama + 1;
tmc.speed = random(12) + 4;
if (_root.fp < 30) {
tmc.speed = tmc.speed + 3;
}
tmc.hit_flag = false;
tamaPos(tmc);
tmc.onEnterFrame = tamaEvent;
if ((++tno) > 1000) {
tno = 0;
}
}
tcnt = 0;
}
tint = tint - 0.005;
if (tint < 1) {
tint = 1;
}
_root.tint = tint;
g = random(4);
if (_x < 40) {
_x = 40;
}
if (_x > 360) {
_x = 360;
}
if (_y < 40) {
_y = 40;
}
if (_y > 360) {
_y = 360;
}
if (_root.hp < 0) {
se3.start();
_root.gotoAndStop("over6");
}
}
onClipEvent (mouseDown) {
_root.comboh = 1;
sword_mc._visible = true;
}
Instance of Symbol 11 MovieClip [kai] "kai" in Frame 153
onClipEvent (enterFrame) {
if (_root.ball == 0) {
_root.kai._visible = false;
}
if (_root.ball == 1) {
_root.kai._visible = true;
_root.bai = 2;
}
}
on (keyPress "<Space>") {
if (_root.ball == 1) {
_root.kai._visible = false;
_root.hp = _root.hp + 100;
if (_root.hp > 100) {
_root.hp = 100;
}
_root.ball = 0;
_root.bai = 1;
}
}
Frame 154
Mouse.show();
_quality = "HIGH";
stop();
Instance of Symbol 456 MovieClip in Frame 154
onClipEvent (enterFrame) {
_x = _root.sx;
_y = _root.sy;
}
Instance of Symbol 460 MovieClip "spb" in Frame 154
onClipEvent (enterFrame) {
_root.spb._visible = false;
if (_root.bo == 1) {
_root.spb._visible = true;
play();
}
}
on (keyPress "<Space>") {
if (_root.bo == 1) {
_root.gotoAndStop("check");
}
}
Instance of Symbol 463 MovieClip in Frame 154
onClipEvent (enterFrame) {
if (_root.fp < 20) {
_root.gotoAndStop("omoi");
}
}
Frame 155
gotoAndPlay (1);
Frame 156
Mouse.show();
_quality = "HIGH";
stop();
Instance of Symbol 460 MovieClip "spb" in Frame 156
onClipEvent (enterFrame) {
_root.spb._visible = false;
if (_root.bo == 1) {
_root.spb._visible = true;
play();
}
}
on (keyPress "<Space>") {
if (_root.bo == 1) {
stopAllSounds();
_root.gotoAndStop("cbonus");
}
}
Instance of Symbol 712 MovieClip in Frame 156
onClipEvent (enterFrame) {
if (_root.pass == 1) {
play();
}
}
Frame 157
_root.coin = 0;
_root.pass = 0;
_root.nug = 0;
_root.score = 0;
gotoAndPlay (1);
Frame 158
stop();
Instance of Symbol 129 MovieClip in Frame 158
onClipEvent (enterFrame) {
if (_root.nug == 2) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
if (_root.nug == 3) {
_root.score = _root.score + Math.floor(_root.bonus / _root.fp);
_root.gotoAndStop("clear7");
}
}
Instance of Symbol 131 MovieClip in Frame 158
onClipEvent (enterFrame) {
if (_root.nug == 1) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
}
Instance of Symbol 133 MovieClip in Frame 158
onClipEvent (enterFrame) {
if (_root.nug == 0) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.tou = 100;
_root.nug = _root.nug + 1;
_root.ballh = _root.ballh + 1;
if (_root.ballh == 1) {
_root.ball = 1;
_root.ballh = _root.ballh + 1;
}
}
}
Frame 159
Mouse.hide();
stop();
Instance of Symbol 129 MovieClip in Frame 159
onClipEvent (enterFrame) {
if (_root.nug == 2) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
if (_root.nug == 3) {
_root.score = _root.score + Math.floor(_root.bonus / _root.fp);
_root.pass = 1;
_root.gotoAndStop("clear7");
}
}
Instance of Symbol 131 MovieClip in Frame 159
onClipEvent (enterFrame) {
if (_root.nug == 1) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
}
Instance of Symbol 133 MovieClip in Frame 159
onClipEvent (enterFrame) {
if (_root.nug == 0) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.tou = 100;
_root.nug = _root.nug + 1;
_root.ballh = _root.ballh + 1;
if (_root.ballh == 1) {
_root.ball = 1;
_root.ballh = _root.ballh + 1;
}
}
}
Instance of Symbol 438 MovieClip in Frame 159
onClipEvent (enterFrame) {
if (_root.nug == 1) {
if (_root.bonush == 0) {
_root.score = _root.score + _root.bonus;
play();
}
}
if (_root.nug == 2) {
if (_root.bonush == 1) {
_root.score = _root.score + _root.bonus;
play();
}
}
if (_root.nug == 3) {
stop();
}
}
Instance of Symbol 440 MovieClip in Frame 159
onClipEvent (enterFrame) {
_xscale = _root.hp;
_root.hp = _root.hp + 0.27;
_root.hp = _root.hp - ((45 - _root.fp) / 100);
if (_root.hp > 100) {
_root.hp = 100;
}
}
Instance of Symbol 453 MovieClip "game" in Frame 159
onClipEvent (load) {
_root.tama = 0;
_root.comboh = 0;
_root.combo = 0;
_root.bo = 0;
_root.exbonus = 0;
_root.sx = 0;
_root.sy = 0;
_root.bonush = 0;
_root.bai = 1;
_root.ballh = 0;
_root.bonus = 0;
_root.score = 0;
_root.ball = 0;
_root.shi = 0;
_root.hp = 100;
_root.tou = 100;
_root.nug = 0;
g = 0;
tno = 0;
tint = 21;
tcnt = 0;
_root.score = 0;
sword_mc._visible = false;
se = new Sound();
se1 = new Sound();
se2 = new Sound();
se3 = new Sound();
se3.attachSound("go");
se.attachSound("se_sword");
se1.attachSound("se_sword1");
se2.attachSound("miss");
}
onClipEvent (enterFrame) {
function tamaPos(tmc) {
switch (Math.floor(g)) {
case 0 :
tmc._x = 400;
tmc._y = Math.random() * 400;
tmc.deg = (Math.random() * 90) + 135;
return;
case 1 :
tmc._x = Math.random() * 400;
tmc._y = 400;
tmc.deg = (Math.random() * 90) + 225;
return;
case 2 :
tmc._x = 0;
tmc._y = Math.random() * 400;
tmc.deg = (Math.random() * 90) + 315;
return;
case 3 :
tmc._x = Math.random() * 400;
tmc._y = 0;
tmc.deg = (Math.random() * 90) + 45;
}
}
function tamaEvent() {
this._rotation = this._rotation + 0;
this._x = this._x + (this.speed * Math.cos((Math.PI/180) * this.deg));
this._y = this._y + (this.speed * Math.sin((Math.PI/180) * this.deg));
if (!this.hit_flag) {
if (sword_mc._visible && (this.hitTest(sword_mc))) {
this.deg = _rotation;
this.speed = 20;
this.hit_flag = true;
if (_root.comboh == 1) {
_root.combo = _root.combo + 1;
}
_root.score = _root.score + ((Math.floor(101 - _root.hp) * _root.bai) * _root.combo);
_root.bonus = _root.bonus + ((Math.floor(101 - _root.hp) * _root.bai) * _root.combo);
tint = tint + 0.07;
_root.tou = _root.tou - 2;
_root.score = _root.score + (_root.fp * _root.bai);
_root.bonus = _root.bonus + (_root.fp * _root.bai);
if (_root.fp > 39) {
_root.score = _root.score + ((50 * _root.bai) * _root.combo);
_root.bonus = _root.bonus + (50 * _root.bai);
}
_root.bonus = _root.bonus - (42 - _root.fp);
if (_root.bonus < 0) {
_root.bonus = 0;
}
if (_root.ball == 1) {
_root.exbonus = _root.exbonus + ((Math.floor(101 - _root.hp) * _root.bai) * _root.combo);
}
se.start();
} else if (this.hitTest(_x, _y, false)) {
_root.hp = _root.hp - 20;
_root.hpc = _root.hpc + 0.01;
if (_root.fp < 35) {
_root.hp = _root.hp - 10;
}
se2.start();
_root.bonus = _root.bonus - ((42 - _root.fp) * 100);
if (_root.bonus < 0) {
_root.bonus = 0;
}
if (_root.hp < 0) {
_root.shi = 1;
se3.start();
_root.gotoAndStop("over7");
}
if (_root.shi == 0) {
if ((_root.nug == 0) & (_root.tou == 100)) {
_root.tou = 100;
}
_root.tou = _root.tou + 0;
if (_root.tou > 100) {
_root.nug = _root.nug - 1;
_root.tou = 0;
}
}
}
}
if (((((this._x < 0) || (this._x > Stage.width)) || (this._y < 0)) || (this._y > Stage.height)) || (_root._currentframe == "game7")) {
_root.tama = _root.tama - 1;
this.removeMovieClip();
}
}
if (_root.fp < 20) {
_root.gotoAndStop("omoi");
}
vx = (_root._xmouse - _x) / 4;
vy = (_root._ymouse - _y) / 4;
_x = (_x + vx);
_y = (_y + vy);
_root.sx = _x;
_root.sy = _y;
if ((Math.abs(vx) > 1) || (Math.abs(vy) > 1)) {
_rotation = ((Math.atan2(vy, vx) * 180) / Math.PI);
}
if (sword_mc._visible) {
sword_mc._rotation = sword_mc._rotation + 20;
if (sword_mc._rotation == 180) {
sword_mc._rotation = 0;
_root.comboh = 0;
_root.combo = 0;
_root.hp = _root.hp - 7;
if (_root.hp < 0) {
se3.start();
_root.gotoAndStop("over7");
}
sword_mc._visible = false;
}
if (sword_mc._rotation == 20) {
se1.start();
}
}
if ((++tcnt) > tint) {
if (_root.tama < 5) {
tmc = _root.attachMovie("Tama", "tama" + tno, tno);
_root.tama = _root.tama + 1;
tmc.speed = random(12) + 4;
if (_root.fp < 30) {
tmc.speed = tmc.speed + 3;
}
tmc.hit_flag = false;
tamaPos(tmc);
tmc.onEnterFrame = tamaEvent;
if ((++tno) > 1000) {
tno = 0;
}
}
tcnt = 0;
}
tint = tint - 0.005;
if (tint < 1) {
tint = 1;
}
_root.tint = tint;
g = random(4);
if (_x < 40) {
_x = 40;
}
if (_x > 360) {
_x = 360;
}
if (_y < 40) {
_y = 40;
}
if (_y > 360) {
_y = 360;
}
if (_root.hp < 0) {
se3.start();
_root.gotoAndStop("over7");
}
}
onClipEvent (mouseDown) {
_root.comboh = 1;
sword_mc._visible = true;
}
Instance of Symbol 11 MovieClip [kai] "kai" in Frame 159
onClipEvent (enterFrame) {
if (_root.ball == 0) {
_root.kai._visible = false;
}
if (_root.ball == 1) {
_root.kai._visible = true;
_root.bai = 2;
}
}
on (keyPress "<Space>") {
if (_root.ball == 1) {
_root.kai._visible = false;
_root.hp = _root.hp + 100;
if (_root.hp > 100) {
_root.hp = 100;
}
_root.ball = 0;
_root.bai = 1;
}
}
Frame 160
Mouse.show();
_quality = "HIGH";
stop();
Instance of Symbol 456 MovieClip in Frame 160
onClipEvent (enterFrame) {
_x = _root.sx;
_y = _root.sy;
}
Instance of Symbol 460 MovieClip "spb" in Frame 160
onClipEvent (enterFrame) {
_root.spb._visible = false;
if (_root.bo == 1) {
_root.spb._visible = true;
play();
}
}
on (keyPress "<Space>") {
if (_root.bo == 1) {
_root.gotoAndStop("check");
}
}
Instance of Symbol 463 MovieClip in Frame 160
onClipEvent (enterFrame) {
if (_root.fp < 20) {
_root.gotoAndStop("omoi");
}
}
Frame 161
gotoAndPlay (1);
Frame 162
Mouse.show();
_quality = "HIGH";
stop();
Instance of Symbol 460 MovieClip "spb" in Frame 162
onClipEvent (enterFrame) {
_root.spb._visible = false;
if (_root.bo == 1) {
_root.spb._visible = true;
play();
}
}
on (keyPress "<Space>") {
if (_root.bo == 1) {
stopAllSounds();
_root.gotoAndStop("cbonus");
}
}
Instance of Symbol 726 MovieClip in Frame 162
onClipEvent (enterFrame) {
if (_root.pass == 1) {
play();
}
}
Frame 163
_root.coin = 0;
_root.pass = 0;
_root.nug = 0;
_root.score = 0;
gotoAndPlay (1);
Frame 164
stop();
Frame 165
Mouse.hide();
stop();
Instance of Symbol 141 MovieClip in Frame 165
onClipEvent (enterFrame) {
if (_root.nug == 2) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
if (_root.nug == 3) {
_root.score = _root.score + Math.floor(_root.bonus / _root.fp);
_root.pass = 1;
_root.gotoAndStop("clear8");
}
}
Instance of Symbol 143 MovieClip in Frame 165
onClipEvent (enterFrame) {
if (_root.nug == 1) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
}
Instance of Symbol 145 MovieClip in Frame 165
onClipEvent (enterFrame) {
if (_root.nug == 0) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.tou = 100;
_root.nug = _root.nug + 1;
_root.ballh = _root.ballh + 1;
if (_root.ballh == 1) {
_root.ball = 1;
_root.ballh = _root.ballh + 1;
}
}
}
Instance of Symbol 440 MovieClip in Frame 165
onClipEvent (enterFrame) {
_xscale = _root.hp;
_root.hp = _root.hp + 0.27;
_root.hp = _root.hp - ((45 - _root.fp) / 100);
if (_root.hp > 100) {
_root.hp = 100;
}
}
Instance of Symbol 438 MovieClip in Frame 165
onClipEvent (enterFrame) {
if (_root.nug == 1) {
if (_root.bonush == 0) {
_root.score = _root.score + _root.bonus;
play();
}
}
if (_root.nug == 2) {
if (_root.bonush == 1) {
_root.score = _root.score + _root.bonus;
play();
}
}
if (_root.nug == 3) {
stop();
}
}
Instance of Symbol 453 MovieClip "game" in Frame 165
onClipEvent (load) {
_root.tama = 0;
_root.comboh = 0;
_root.combo = 0;
_root.bo = 0;
_root.exbonus = 0;
_root.sx = 0;
_root.sy = 0;
_root.bonush = 0;
_root.bai = 1;
_root.ballh = 0;
_root.bonus = 0;
_root.score = 0;
_root.ball = 0;
_root.shi = 0;
_root.hp = 100;
_root.tou = 100;
_root.nug = 0;
g = 0;
tno = 0;
tint = 21;
tcnt = 0;
_root.score = 0;
sword_mc._visible = false;
se = new Sound();
se1 = new Sound();
se2 = new Sound();
se3 = new Sound();
se3.attachSound("go");
se.attachSound("se_sword");
se1.attachSound("se_sword1");
se2.attachSound("miss");
}
onClipEvent (enterFrame) {
function tamaPos(tmc) {
switch (Math.floor(g)) {
case 0 :
tmc._x = 400;
tmc._y = Math.random() * 400;
tmc.deg = (Math.random() * 90) + 135;
return;
case 1 :
tmc._x = Math.random() * 400;
tmc._y = 400;
tmc.deg = (Math.random() * 90) + 225;
return;
case 2 :
tmc._x = 0;
tmc._y = Math.random() * 400;
tmc.deg = (Math.random() * 90) + 315;
return;
case 3 :
tmc._x = Math.random() * 400;
tmc._y = 0;
tmc.deg = (Math.random() * 90) + 45;
}
}
function tamaEvent() {
this._rotation = this._rotation + 0;
this._x = this._x + (this.speed * Math.cos((Math.PI/180) * this.deg));
this._y = this._y + (this.speed * Math.sin((Math.PI/180) * this.deg));
if (!this.hit_flag) {
if (sword_mc._visible && (this.hitTest(sword_mc))) {
this.deg = _rotation;
this.speed = 20;
this.hit_flag = true;
if (_root.comboh == 1) {
_root.combo = _root.combo + 1;
}
_root.score = _root.score + ((Math.floor(101 - _root.hp) * _root.bai) * _root.combo);
_root.bonus = _root.bonus + ((Math.floor(101 - _root.hp) * _root.bai) * _root.combo);
tint = tint + 0.07;
_root.tou = _root.tou - 2;
_root.score = _root.score + (_root.fp * _root.bai);
_root.bonus = _root.bonus + (_root.fp * _root.bai);
if (_root.fp > 39) {
_root.score = _root.score + ((50 * _root.bai) * _root.combo);
_root.bonus = _root.bonus + (50 * _root.bai);
}
_root.bonus = _root.bonus - (42 - _root.fp);
if (_root.bonus < 0) {
_root.bonus = 0;
}
if (_root.ball == 1) {
_root.exbonus = _root.exbonus + ((Math.floor(101 - _root.hp) * _root.bai) * _root.combo);
}
se.start();
} else if (this.hitTest(_x, _y, false)) {
_root.hp = _root.hp - 20;
_root.hpc = _root.hpc + 0.01;
if (_root.fp < 35) {
_root.hp = _root.hp - 10;
}
se2.start();
_root.bonus = _root.bonus - ((42 - _root.fp) * 100);
if (_root.bonus < 0) {
_root.bonus = 0;
}
if (_root.hp < 0) {
_root.shi = 1;
se3.start();
_root.gotoAndStop("over8");
}
if (_root.shi == 0) {
if ((_root.nug == 0) & (_root.tou == 100)) {
_root.tou = 100;
}
_root.tou = _root.tou + 0;
if (_root.tou > 100) {
_root.nug = _root.nug - 1;
_root.tou = 0;
}
}
}
}
if (((((this._x < 0) || (this._x > Stage.width)) || (this._y < 0)) || (this._y > Stage.height)) || (_root._currentframe == "game8")) {
_root.tama = _root.tama - 1;
this.removeMovieClip();
}
}
if (_root.fp < 20) {
_root.gotoAndStop("omoi");
}
vx = (_root._xmouse - _x) / 4;
vy = (_root._ymouse - _y) / 4;
_x = (_x + vx);
_y = (_y + vy);
_root.sx = _x;
_root.sy = _y;
if ((Math.abs(vx) > 1) || (Math.abs(vy) > 1)) {
_rotation = ((Math.atan2(vy, vx) * 180) / Math.PI);
}
if (sword_mc._visible) {
sword_mc._rotation = sword_mc._rotation + 20;
if (sword_mc._rotation == 180) {
sword_mc._rotation = 0;
_root.comboh = 0;
_root.combo = 0;
_root.hp = _root.hp - 7;
if (_root.hp < 0) {
se3.start();
_root.gotoAndStop("over8");
}
sword_mc._visible = false;
}
if (sword_mc._rotation == 20) {
se1.start();
}
}
if ((++tcnt) > tint) {
if (_root.tama < 5) {
tmc = _root.attachMovie("Tama", "tama" + tno, tno);
_root.tama = _root.tama + 1;
tmc.speed = random(12) + 4;
if (_root.fp < 30) {
tmc.speed = tmc.speed + 3;
}
tmc.hit_flag = false;
tamaPos(tmc);
tmc.onEnterFrame = tamaEvent;
if ((++tno) > 1000) {
tno = 0;
}
}
tcnt = 0;
}
tint = tint - 0.005;
if (tint < 1) {
tint = 1;
}
_root.tint = tint;
g = random(4);
if (_x < 40) {
_x = 40;
}
if (_x > 360) {
_x = 360;
}
if (_y < 40) {
_y = 40;
}
if (_y > 360) {
_y = 360;
}
if (_root.hp < 0) {
se3.start();
_root.gotoAndStop("over8");
}
}
onClipEvent (mouseDown) {
_root.comboh = 1;
sword_mc._visible = true;
}
Instance of Symbol 11 MovieClip [kai] "kai" in Frame 165
onClipEvent (enterFrame) {
if (_root.ball == 0) {
_root.kai._visible = false;
}
if (_root.ball == 1) {
_root.kai._visible = true;
_root.bai = 2;
}
}
on (keyPress "<Space>") {
if (_root.ball == 1) {
_root.kai._visible = false;
_root.hp = _root.hp + 100;
if (_root.hp > 100) {
_root.hp = 100;
}
_root.ball = 0;
_root.bai = 1;
}
}
Frame 166
Mouse.show();
_quality = "HIGH";
stop();
Instance of Symbol 456 MovieClip in Frame 166
onClipEvent (enterFrame) {
_x = _root.sx;
_y = _root.sy;
}
Instance of Symbol 460 MovieClip "spb" in Frame 166
onClipEvent (enterFrame) {
_root.spb._visible = false;
if (_root.bo == 1) {
_root.spb._visible = true;
play();
}
}
on (keyPress "<Space>") {
if (_root.bo == 1) {
_root.gotoAndStop("check");
}
}
Instance of Symbol 463 MovieClip in Frame 166
onClipEvent (enterFrame) {
if (_root.fp < 20) {
_root.gotoAndStop("omoi");
}
}
Frame 167
gotoAndPlay (1);
Frame 168
Mouse.show();
_quality = "HIGH";
stop();
Instance of Symbol 460 MovieClip "spb" in Frame 168
onClipEvent (enterFrame) {
_root.spb._visible = false;
if (_root.bo == 1) {
_root.spb._visible = true;
play();
}
}
on (keyPress "<Space>") {
if (_root.bo == 1) {
stopAllSounds();
_root.gotoAndStop("cbonus");
}
}
Instance of Symbol 740 MovieClip in Frame 168
onClipEvent (enterFrame) {
if (_root.pass == 1) {
play();
}
}
Frame 169
_root.coin = 0;
_root.pass = 0;
_root.nug = 0;
_root.score = 0;
gotoAndPlay (1);
Frame 170
stop();
Frame 171
Mouse.hide();
stop();
Instance of Symbol 152 MovieClip in Frame 171
onClipEvent (enterFrame) {
if (_root.nug == 2) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
if (_root.nug == 3) {
_root.score = _root.score + Math.floor(_root.bonus / _root.fp);
_root.pass = 1;
_root.gotoAndStop("clear9");
}
}
Instance of Symbol 154 MovieClip in Frame 171
onClipEvent (enterFrame) {
if (_root.nug == 1) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
}
Instance of Symbol 145 MovieClip in Frame 171
onClipEvent (enterFrame) {
if (_root.nug == 0) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.tou = 100;
_root.nug = _root.nug + 1;
_root.ballh = _root.ballh + 1;
if (_root.ballh == 1) {
_root.ball = 1;
_root.ballh = _root.ballh + 1;
}
}
}
Instance of Symbol 440 MovieClip in Frame 171
onClipEvent (enterFrame) {
_xscale = _root.hp;
_root.hp = _root.hp + 0.27;
_root.hp = _root.hp - ((45 - _root.fp) / 100);
if (_root.hp > 100) {
_root.hp = 100;
}
}
Instance of Symbol 438 MovieClip in Frame 171
onClipEvent (enterFrame) {
if (_root.nug == 1) {
if (_root.bonush == 0) {
_root.score = _root.score + _root.bonus;
play();
}
}
if (_root.nug == 2) {
if (_root.bonush == 1) {
_root.score = _root.score + _root.bonus;
play();
}
}
if (_root.nug == 3) {
stop();
}
}
Instance of Symbol 453 MovieClip "game" in Frame 171
onClipEvent (load) {
_root.tama = 0;
_root.comboh = 0;
_root.combo = 0;
_root.bo = 0;
_root.exbonus = 0;
_root.sx = 0;
_root.sy = 0;
_root.bonush = 0;
_root.bai = 1;
_root.ballh = 0;
_root.bonus = 0;
_root.score = 0;
_root.ball = 0;
_root.shi = 0;
_root.hp = 100;
_root.tou = 100;
_root.nug = 0;
g = 0;
tno = 0;
tint = 21;
tcnt = 0;
_root.score = 0;
sword_mc._visible = false;
se = new Sound();
se1 = new Sound();
se2 = new Sound();
se3 = new Sound();
se3.attachSound("go");
se.attachSound("se_sword");
se1.attachSound("se_sword1");
se2.attachSound("miss");
}
onClipEvent (enterFrame) {
function tamaPos(tmc) {
switch (Math.floor(g)) {
case 0 :
tmc._x = 400;
tmc._y = Math.random() * 400;
tmc.deg = (Math.random() * 90) + 135;
return;
case 1 :
tmc._x = Math.random() * 400;
tmc._y = 400;
tmc.deg = (Math.random() * 90) + 225;
return;
case 2 :
tmc._x = 0;
tmc._y = Math.random() * 400;
tmc.deg = (Math.random() * 90) + 315;
return;
case 3 :
tmc._x = Math.random() * 400;
tmc._y = 0;
tmc.deg = (Math.random() * 90) + 45;
}
}
function tamaEvent() {
this._rotation = this._rotation + 0;
this._x = this._x + (this.speed * Math.cos((Math.PI/180) * this.deg));
this._y = this._y + (this.speed * Math.sin((Math.PI/180) * this.deg));
if (!this.hit_flag) {
if (sword_mc._visible && (this.hitTest(sword_mc))) {
this.deg = _rotation;
this.speed = 20;
this.hit_flag = true;
if (_root.comboh == 1) {
_root.combo = _root.combo + 1;
}
_root.score = _root.score + ((Math.floor(101 - _root.hp) * _root.bai) * _root.combo);
_root.bonus = _root.bonus + ((Math.floor(101 - _root.hp) * _root.bai) * _root.combo);
tint = tint + 0.07;
_root.tou = _root.tou - 2;
_root.score = _root.score + (_root.fp * _root.bai);
_root.bonus = _root.bonus + (_root.fp * _root.bai);
if (_root.fp > 39) {
_root.score = _root.score + ((50 * _root.bai) * _root.combo);
_root.bonus = _root.bonus + (50 * _root.bai);
}
_root.bonus = _root.bonus - (42 - _root.fp);
if (_root.bonus < 0) {
_root.bonus = 0;
}
if (_root.ball == 1) {
_root.exbonus = _root.exbonus + ((Math.floor(101 - _root.hp) * _root.bai) * _root.combo);
}
se.start();
} else if (this.hitTest(_x, _y, false)) {
_root.hp = _root.hp - 20;
_root.hpc = _root.hpc + 0.01;
if (_root.fp < 35) {
_root.hp = _root.hp - 10;
}
se2.start();
_root.bonus = _root.bonus - ((42 - _root.fp) * 100);
if (_root.bonus < 0) {
_root.bonus = 0;
}
if (_root.hp < 0) {
_root.shi = 1;
se3.start();
_root.gotoAndStop("over9");
}
if (_root.shi == 0) {
if ((_root.nug == 0) & (_root.tou == 100)) {
_root.tou = 100;
}
_root.tou = _root.tou + 0;
if (_root.tou > 100) {
_root.nug = _root.nug - 1;
_root.tou = 0;
}
}
}
}
if (((((this._x < 0) || (this._x > Stage.width)) || (this._y < 0)) || (this._y > Stage.height)) || (_root._currentframe == "game9")) {
_root.tama = _root.tama - 1;
this.removeMovieClip();
}
}
if (_root.fp < 20) {
_root.gotoAndStop("omoi");
}
vx = (_root._xmouse - _x) / 4;
vy = (_root._ymouse - _y) / 4;
_x = (_x + vx);
_y = (_y + vy);
_root.sx = _x;
_root.sy = _y;
if ((Math.abs(vx) > 1) || (Math.abs(vy) > 1)) {
_rotation = ((Math.atan2(vy, vx) * 180) / Math.PI);
}
if (sword_mc._visible) {
sword_mc._rotation = sword_mc._rotation + 20;
if (sword_mc._rotation == 180) {
sword_mc._rotation = 0;
_root.comboh = 0;
_root.combo = 0;
_root.hp = _root.hp - 7;
if (_root.hp < 0) {
se3.start();
_root.gotoAndStop("over9");
}
sword_mc._visible = false;
}
if (sword_mc._rotation == 20) {
se1.start();
}
}
if ((++tcnt) > tint) {
if (_root.tama < 5) {
tmc = _root.attachMovie("Tama", "tama" + tno, tno);
_root.tama = _root.tama + 1;
tmc.speed = random(12) + 4;
if (_root.fp < 30) {
tmc.speed = tmc.speed + 3;
}
tmc.hit_flag = false;
tamaPos(tmc);
tmc.onEnterFrame = tamaEvent;
if ((++tno) > 1000) {
tno = 0;
}
}
tcnt = 0;
}
tint = tint - 0.005;
if (tint < 1) {
tint = 1;
}
_root.tint = tint;
g = random(4);
if (_x < 40) {
_x = 40;
}
if (_x > 360) {
_x = 360;
}
if (_y < 40) {
_y = 40;
}
if (_y > 360) {
_y = 360;
}
if (_root.hp < 0) {
se3.start();
_root.gotoAndStop("over9");
}
}
onClipEvent (mouseDown) {
_root.comboh = 1;
sword_mc._visible = true;
}
Instance of Symbol 11 MovieClip [kai] "kai" in Frame 171
onClipEvent (enterFrame) {
if (_root.ball == 0) {
_root.kai._visible = false;
}
if (_root.ball == 1) {
_root.kai._visible = true;
_root.bai = 2;
}
}
on (keyPress "<Space>") {
if (_root.ball == 1) {
_root.kai._visible = false;
_root.hp = _root.hp + 100;
if (_root.hp > 100) {
_root.hp = 100;
}
_root.ball = 0;
_root.bai = 1;
}
}
Frame 172
Mouse.show();
_quality = "HIGH";
stop();
Instance of Symbol 456 MovieClip in Frame 172
onClipEvent (enterFrame) {
_x = _root.sx;
_y = _root.sy;
}
Instance of Symbol 460 MovieClip "spb" in Frame 172
onClipEvent (enterFrame) {
_root.spb._visible = false;
if (_root.bo == 1) {
_root.spb._visible = true;
play();
}
}
on (keyPress "<Space>") {
if (_root.bo == 1) {
_root.gotoAndStop("check");
}
}
Instance of Symbol 463 MovieClip in Frame 172
onClipEvent (enterFrame) {
if (_root.fp < 20) {
_root.gotoAndStop("omoi");
}
}
Frame 173
gotoAndPlay (1);
Frame 174
Mouse.show();
_quality = "HIGH";
stop();
Instance of Symbol 460 MovieClip "spb" in Frame 174
onClipEvent (enterFrame) {
_root.spb._visible = false;
if (_root.bo == 1) {
_root.spb._visible = true;
play();
}
}
on (keyPress "<Space>") {
if (_root.bo == 1) {
stopAllSounds();
_root.gotoAndStop("cbonus");
}
}
Instance of Symbol 755 MovieClip in Frame 174
onClipEvent (enterFrame) {
if (_root.pass == 1) {
play();
}
}
Frame 175
_root.coin = 0;
_root.pass = 0;
_root.nug = 0;
_root.score = 0;
gotoAndPlay (1);
Frame 176
stop();
_root.cha = 0;
_root.fp = 40;
_root.bo = 1;
_root.gou = 0;
_root.bonush = 0;
_root.bai = 1;
_root.ballh = 0;
_root.bonus = 0;
_root.score = 0;
_root.ball = 0;
_root.shi = 0;
_root.hp = 100;
_root.tou = 100;
_root.nug = 0;
Frame 177
Mouse.hide();
stop();
Instance of Symbol 61 MovieClip in Frame 177
onClipEvent (enterFrame) {
if (_root.nug == 1) {
gotoAndStop (2);
}
}
Instance of Symbol 63 MovieClip in Frame 177
onClipEvent (enterFrame) {
if (_root.nug == 0) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
if (_root.nug > 1) {
_root.score = _root.score + Math.floor(_root.bonus / _root.fp);
_root.pass = 1;
_root.gotoAndStop("clear10");
}
}
Instance of Symbol 438 MovieClip in Frame 177
onClipEvent (enterFrame) {
if (_root.nug == 1) {
if (_root.bonush == 0) {
_root.score = _root.score + _root.bonus;
play();
}
}
if (_root.nug == 2) {
if (_root.bonush == 1) {
_root.score = _root.score + _root.bonus;
play();
}
}
if (_root.nug == 3) {
stop();
}
}
Instance of Symbol 440 MovieClip in Frame 177
onClipEvent (enterFrame) {
_xscale = _root.hp;
_root.hp = _root.hp + 0.27;
_root.hp = _root.hp - ((45 - _root.fp) / 100);
if (_root.hp > 100) {
_root.hp = 100;
}
}
Instance of Symbol 453 MovieClip "game10" in Frame 177
onClipEvent (load) {
_root.tama = 0;
_root.comboh = 0;
_root.combo = 0;
_root.bo = 0;
_root.exbonus = 0;
_root.sx = 0;
_root.sy = 0;
_root.bonush = 0;
_root.bai = 1;
_root.ballh = 0;
_root.bonus = 0;
_root.score = 0;
_root.ball = 0;
_root.shi = 0;
_root.hp = 100;
_root.tou = 100;
_root.nug = 0;
g = 0;
tno = 0;
tint = 0;
tcnt = 0;
_root.score = 0;
sword_mc._visible = false;
se = new Sound();
se1 = new Sound();
se2 = new Sound();
se3 = new Sound();
se3.attachSound("go");
se.attachSound("se_sword");
se1.attachSound("se_sword1");
se2.attachSound("miss");
}
onClipEvent (enterFrame) {
function tamaPos(tmc) {
switch (Math.floor(g)) {
case 0 :
tmc._x = 400;
tmc._y = Math.random() * 400;
tmc.deg = (Math.random() * 90) + 135;
return;
case 1 :
tmc._x = Math.random() * 400;
tmc._y = 400;
tmc.deg = (Math.random() * 90) + 225;
return;
case 2 :
tmc._x = 0;
tmc._y = Math.random() * 400;
tmc.deg = (Math.random() * 90) + 315;
return;
case 3 :
tmc._x = Math.random() * 400;
tmc._y = 0;
tmc.deg = (Math.random() * 90) + 45;
}
}
function tamaEvent() {
this._rotation = this._rotation + 0;
this._x = this._x + (this.speed * Math.cos((Math.PI/180) * this.deg));
this._y = this._y + (this.speed * Math.sin((Math.PI/180) * this.deg));
if (!this.hit_flag) {
if (sword_mc._visible && (this.hitTest(sword_mc))) {
this.deg = _rotation;
this.speed = 20;
this.hit_flag = true;
if (_root.comboh == 1) {
_root.combo = _root.combo + 1;
}
_root.score = _root.score + ((Math.floor(101 - _root.hp) * _root.bai) * _root.combo);
_root.bonus = _root.bonus + ((Math.floor(101 - _root.hp) * _root.bai) * _root.combo);
tint = tint + 0.07;
_root.tou = _root.tou - 2;
_root.score = _root.score + (_root.fp * _root.bai);
_root.bonus = _root.bonus + (_root.fp * _root.bai);
if (_root.fp > 39) {
_root.score = _root.score + ((50 * _root.bai) * _root.combo);
_root.bonus = _root.bonus + (50 * _root.bai);
}
_root.bonus = _root.bonus - (42 - _root.fp);
if (_root.bonus < 0) {
_root.bonus = 0;
}
if (_root.ball == 1) {
_root.exbonus = _root.exbonus + ((Math.floor(101 - _root.hp) * _root.bai) * _root.combo);
}
se.start();
} else if (this.hitTest(_x, _y, false)) {
_root.hp = _root.hp - 20;
_root.hpc = _root.hpc + 0.01;
if (_root.fp < 35) {
_root.hp = _root.hp - 10;
}
se2.start();
_root.bonus = _root.bonus - ((42 - _root.fp) * 100);
if (_root.bonus < 0) {
_root.bonus = 0;
}
if (_root.hp < 0) {
_root.shi = 1;
se3.start();
_root.gotoAndStop("over10");
}
if (_root.shi == 0) {
if ((_root.nug == 0) & (_root.tou == 100)) {
_root.tou = 100;
}
_root.tou = _root.tou + 0;
if (_root.tou > 100) {
_root.nug = _root.nug - 1;
_root.tou = 0;
}
}
}
}
if (((((this._x < 0) || (this._x > Stage.width)) || (this._y < 0)) || (this._y > Stage.height)) || (_root._currentframe == "game10")) {
_root.tama = _root.tama - 1;
this.removeMovieClip();
}
}
if (_root.fp < 20) {
_root.gotoAndStop("omoi");
}
vx = (_root._xmouse - _x) / 4;
vy = (_root._ymouse - _y) / 4;
_x = (_x + vx);
_y = (_y + vy);
_root.sx = _x;
_root.sy = _y;
if ((Math.abs(vx) > 1) || (Math.abs(vy) > 1)) {
_rotation = ((Math.atan2(vy, vx) * 180) / Math.PI);
}
if (sword_mc._visible) {
sword_mc._rotation = sword_mc._rotation + 20;
if (sword_mc._rotation == 180) {
sword_mc._rotation = 0;
_root.comboh = 0;
_root.combo = 0;
_root.hp = _root.hp - 7;
if (_root.hp < 0) {
se3.start();
_root.gotoAndStop("over10");
}
sword_mc._visible = false;
}
if (sword_mc._rotation == 20) {
se1.start();
}
}
if ((++tcnt) > tint) {
if (_root.tama < 5) {
tmc = _root.attachMovie("Tama", "tama" + tno, tno);
_root.tama = _root.tama + 1;
tmc.speed = random(12) + 4;
if (_root.fp < 30) {
tmc.speed = tmc.speed + 3;
}
tmc.hit_flag = false;
tamaPos(tmc);
tmc.onEnterFrame = tamaEvent;
if ((++tno) > 1000) {
tno = 0;
}
}
tcnt = 0;
}
tint = tint - 0.005;
if (tint < 1) {
tint = 1;
}
_root.tint = tint;
g = random(4);
if (_x < 40) {
_x = 40;
}
if (_x > 360) {
_x = 360;
}
if (_y < 40) {
_y = 40;
}
if (_y > 360) {
_y = 360;
}
if (_root.hp < 0) {
se3.start();
_root.gotoAndStop("over10");
}
}
onClipEvent (mouseDown) {
_root.comboh = 1;
sword_mc._visible = true;
}
Instance of Symbol 11 MovieClip [kai] "kai" in Frame 177
onClipEvent (enterFrame) {
if (_root.ball == 0) {
_root.kai._visible = false;
}
if (_root.ball == 1) {
_root.kai._visible = true;
_root.bai = 2;
}
}
on (keyPress "<Space>") {
if (_root.ball == 1) {
_root.kai._visible = false;
_root.hp = _root.hp + 100;
if (_root.hp > 100) {
_root.hp = 100;
}
_root.ball = 0;
_root.bai = 1;
}
}
Frame 178
Mouse.show();
_quality = "HIGH";
stop();
Instance of Symbol 456 MovieClip in Frame 178
onClipEvent (load) {
vx = _root._xmouse;
vy = _root._ymouse;
}
onClipEvent (enterFrame) {
_x = vx;
_y = vy;
}
Instance of Symbol 460 MovieClip "spb" in Frame 178
onClipEvent (enterFrame) {
_root.spb._visible = false;
if (_root.bo == 1) {
_root.spb._visible = true;
play();
}
}
on (keyPress "<Space>") {
if (_root.bo == 1) {
_root.gotoAndStop("check");
}
}
Instance of Symbol 463 MovieClip in Frame 178
onClipEvent (enterFrame) {
if (_root.fp < 20) {
_root.gotoAndStop("omoi");
}
}
Frame 179
gotoAndPlay (1);
Frame 180
Mouse.show();
_quality = "HIGH";
stop();
Instance of Symbol 61 MovieClip in Frame 180
onClipEvent (mouseDown) {
play();
}
Instance of Symbol 460 MovieClip "spb" in Frame 180
onClipEvent (enterFrame) {
_root.spb._visible = false;
if (_root.bo == 1) {
_root.spb._visible = true;
play();
}
}
on (keyPress "<Space>") {
stopAllSounds();
if (_root.bo == 1) {
_root.gotoAndStop("cbonus");
}
}
Instance of Symbol 771 MovieClip in Frame 180
onClipEvent (enterFrame) {
if (_root.pass == 1) {
play();
}
}
Frame 181
_root.coin = 0;
_root.pass = 0;
_root.nug = 0;
_root.score = 0;
gotoAndPlay (1);
Frame 182
stop();
Instance of Symbol 106 MovieClip in Frame 182
onClipEvent (enterFrame) {
if (_root.nug == 2) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
if (_root.nug == 3) {
_root.score = _root.score + Math.floor(_root.bonus / _root.fp);
_root.gotoAndStop("clear11");
}
}
Instance of Symbol 108 MovieClip in Frame 182
onClipEvent (enterFrame) {
if (_root.nug == 1) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
}
Instance of Symbol 110 MovieClip in Frame 182
onClipEvent (enterFrame) {
if (_root.nug == 0) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.tou = 100;
_root.nug = _root.nug + 1;
_root.ballh = _root.ballh + 1;
if (_root.ballh == 1) {
_root.ball = 1;
_root.ballh = _root.ballh + 1;
}
}
}
Frame 183
Mouse.hide();
stop();
Instance of Symbol 106 MovieClip in Frame 183
onClipEvent (enterFrame) {
if (_root.nug == 2) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
if (_root.nug == 3) {
_root.score = _root.score + Math.floor(_root.bonus / _root.fp);
_root.pass = 1;
_root.gotoAndStop("clear11");
}
}
Instance of Symbol 108 MovieClip in Frame 183
onClipEvent (enterFrame) {
if (_root.nug == 1) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
}
Instance of Symbol 110 MovieClip in Frame 183
onClipEvent (enterFrame) {
if (_root.nug == 0) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.tou = 100;
_root.nug = _root.nug + 1;
_root.ballh = _root.ballh + 1;
if (_root.ballh == 1) {
_root.ball = 1;
_root.ballh = _root.ballh + 1;
}
}
}
Instance of Symbol 440 MovieClip in Frame 183
onClipEvent (enterFrame) {
_xscale = _root.hp;
_root.hp = _root.hp + 0.27;
_root.hp = _root.hp - ((45 - _root.fp) / 100);
if (_root.hp > 100) {
_root.hp = 100;
}
}
Instance of Symbol 438 MovieClip in Frame 183
onClipEvent (enterFrame) {
if (_root.nug == 1) {
if (_root.bonush == 0) {
_root.score = _root.score + _root.bonus;
play();
}
}
if (_root.nug == 2) {
if (_root.bonush == 1) {
_root.score = _root.score + _root.bonus;
play();
}
}
if (_root.nug == 3) {
stop();
}
}
Instance of Symbol 453 MovieClip "game" in Frame 183
onClipEvent (load) {
_root.tama = 0;
_root.comboh = 0;
_root.combo = 0;
_root.bo = 0;
_root.exbonus = 0;
_root.sx = 0;
_root.sy = 0;
_root.bonush = 0;
_root.bai = 1;
_root.ballh = 0;
_root.bonus = 0;
_root.score = 0;
_root.ball = 0;
_root.shi = 0;
_root.hp = 100;
_root.tou = 100;
_root.nug = 0;
g = 0;
tno = 0;
tint = 21;
tcnt = 0;
_root.score = 0;
sword_mc._visible = false;
se = new Sound();
se1 = new Sound();
se2 = new Sound();
se3 = new Sound();
se3.attachSound("go");
se.attachSound("se_sword");
se1.attachSound("se_sword1");
se2.attachSound("miss");
}
onClipEvent (enterFrame) {
function tamaPos(tmc) {
switch (Math.floor(g)) {
case 0 :
tmc._x = 400;
tmc._y = Math.random() * 400;
tmc.deg = (Math.random() * 90) + 135;
return;
case 1 :
tmc._x = Math.random() * 400;
tmc._y = 400;
tmc.deg = (Math.random() * 90) + 225;
return;
case 2 :
tmc._x = 0;
tmc._y = Math.random() * 400;
tmc.deg = (Math.random() * 90) + 315;
return;
case 3 :
tmc._x = Math.random() * 400;
tmc._y = 0;
tmc.deg = (Math.random() * 90) + 45;
}
}
function tamaEvent() {
this._rotation = this._rotation + 0;
this._x = this._x + (this.speed * Math.cos((Math.PI/180) * this.deg));
this._y = this._y + (this.speed * Math.sin((Math.PI/180) * this.deg));
if (!this.hit_flag) {
if (sword_mc._visible && (this.hitTest(sword_mc))) {
this.deg = _rotation;
this.speed = 20;
this.hit_flag = true;
if (_root.comboh == 1) {
_root.combo = _root.combo + 1;
}
_root.score = _root.score + ((Math.floor(101 - _root.hp) * _root.bai) * _root.combo);
_root.bonus = _root.bonus + ((Math.floor(101 - _root.hp) * _root.bai) * _root.combo);
tint = tint + 0.07;
_root.tou = _root.tou - 2;
_root.score = _root.score + (_root.fp * _root.bai);
_root.bonus = _root.bonus + (_root.fp * _root.bai);
if (_root.fp > 39) {
_root.score = _root.score + ((50 * _root.bai) * _root.combo);
_root.bonus = _root.bonus + (50 * _root.bai);
}
_root.bonus = _root.bonus - (42 - _root.fp);
if (_root.bonus < 0) {
_root.bonus = 0;
}
if (_root.ball == 1) {
_root.exbonus = _root.exbonus + ((Math.floor(101 - _root.hp) * _root.bai) * _root.combo);
}
se.start();
} else if (this.hitTest(_x, _y, false)) {
_root.hp = _root.hp - 20;
_root.hpc = _root.hpc + 0.01;
if (_root.fp < 35) {
_root.hp = _root.hp - 10;
}
se2.start();
_root.bonus = _root.bonus - ((42 - _root.fp) * 100);
if (_root.bonus < 0) {
_root.bonus = 0;
}
if (_root.hp < 0) {
_root.shi = 1;
se3.start();
_root.gotoAndStop("over11");
}
if (_root.shi == 0) {
if ((_root.nug == 0) & (_root.tou == 100)) {
_root.tou = 100;
}
_root.tou = _root.tou + 0;
if (_root.tou > 100) {
_root.nug = _root.nug - 1;
_root.tou = 0;
}
}
}
}
if (((((this._x < 0) || (this._x > Stage.width)) || (this._y < 0)) || (this._y > Stage.height)) || (_root._currentframe == "game11")) {
_root.tama = _root.tama - 1;
this.removeMovieClip();
}
}
if (_root.fp < 20) {
_root.gotoAndStop("omoi");
}
vx = (_root._xmouse - _x) / 4;
vy = (_root._ymouse - _y) / 4;
_x = (_x + vx);
_y = (_y + vy);
_root.sx = _x;
_root.sy = _y;
if ((Math.abs(vx) > 1) || (Math.abs(vy) > 1)) {
_rotation = ((Math.atan2(vy, vx) * 180) / Math.PI);
}
if (sword_mc._visible) {
sword_mc._rotation = sword_mc._rotation + 20;
if (sword_mc._rotation == 180) {
sword_mc._rotation = 0;
_root.comboh = 0;
_root.combo = 0;
_root.hp = _root.hp - 7;
if (_root.hp < 0) {
se3.start();
_root.gotoAndStop("over11");
}
sword_mc._visible = false;
}
if (sword_mc._rotation == 20) {
se1.start();
}
}
if ((++tcnt) > tint) {
if (_root.tama < 5) {
tmc = _root.attachMovie("Tama", "tama" + tno, tno);
_root.tama = _root.tama + 1;
tmc.speed = random(12) + 4;
if (_root.fp < 30) {
tmc.speed = tmc.speed + 3;
}
tmc.hit_flag = false;
tamaPos(tmc);
tmc.onEnterFrame = tamaEvent;
if ((++tno) > 1000) {
tno = 0;
}
}
tcnt = 0;
}
tint = tint - 0.005;
if (tint < 1) {
tint = 1;
}
_root.tint = tint;
g = random(4);
if (_x < 40) {
_x = 40;
}
if (_x > 360) {
_x = 360;
}
if (_y < 40) {
_y = 40;
}
if (_y > 360) {
_y = 360;
}
if (_root.hp < 0) {
se3.start();
_root.gotoAndStop("over11");
}
}
onClipEvent (mouseDown) {
_root.comboh = 1;
sword_mc._visible = true;
}
Instance of Symbol 11 MovieClip [kai] "kai" in Frame 183
onClipEvent (enterFrame) {
if (_root.ball == 0) {
_root.kai._visible = false;
}
if (_root.ball == 1) {
_root.kai._visible = true;
_root.bai = 2;
}
}
on (keyPress "<Space>") {
if (_root.ball == 1) {
_root.kai._visible = false;
_root.hp = _root.hp + 100;
if (_root.hp > 100) {
_root.hp = 100;
}
_root.ball = 0;
_root.bai = 1;
}
}
Frame 184
Mouse.show();
_quality = "HIGH";
stop();
Instance of Symbol 456 MovieClip in Frame 184
onClipEvent (enterFrame) {
_x = _root.sx;
_y = _root.sy;
}
Instance of Symbol 460 MovieClip "spb" in Frame 184
onClipEvent (enterFrame) {
_root.spb._visible = false;
if (_root.bo == 1) {
_root.spb._visible = true;
play();
}
}
on (keyPress "<Space>") {
if (_root.bo == 1) {
_root.gotoAndStop("check");
}
}
Instance of Symbol 463 MovieClip in Frame 184
onClipEvent (enterFrame) {
if (_root.fp < 20) {
_root.gotoAndStop("omoi");
}
}
Frame 185
gotoAndPlay (1);
Frame 186
Mouse.show();
_quality = "HIGH";
stop();
Instance of Symbol 460 MovieClip "spb" in Frame 186
onClipEvent (enterFrame) {
_root.spb._visible = false;
if (_root.bo == 1) {
_root.spb._visible = true;
play();
}
}
on (keyPress "<Space>") {
if (_root.bo == 1) {
stopAllSounds();
_root.gotoAndStop("cbonus");
}
}
Instance of Symbol 785 MovieClip in Frame 186
onClipEvent (enterFrame) {
if (_root.pass == 1) {
play();
}
}
Frame 187
_root.coin = 0;
_root.pass = 0;
_root.nug = 0;
_root.score = 0;
gotoAndPlay (1);
Frame 188
stop();
Frame 189
Mouse.hide();
stop();
Instance of Symbol 161 MovieClip in Frame 189
onClipEvent (enterFrame) {
if (_root.nug == 2) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
if (_root.nug == 3) {
_root.score = _root.score + Math.floor(_root.bonus / _root.fp);
_root.pass = 1;
_root.gotoAndStop("clear12");
}
}
Instance of Symbol 163 MovieClip in Frame 189
onClipEvent (enterFrame) {
if (_root.nug == 1) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
}
Instance of Symbol 165 MovieClip in Frame 189
onClipEvent (enterFrame) {
if (_root.nug == 0) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.tou = 100;
_root.nug = _root.nug + 1;
_root.ballh = _root.ballh + 1;
if (_root.ballh == 1) {
_root.ball = 1;
_root.ballh = _root.ballh + 1;
}
}
}
Instance of Symbol 440 MovieClip in Frame 189
onClipEvent (enterFrame) {
_xscale = _root.hp;
_root.hp = _root.hp + 0.27;
_root.hp = _root.hp - ((45 - _root.fp) / 100);
if (_root.hp > 100) {
_root.hp = 100;
}
}
Instance of Symbol 438 MovieClip in Frame 189
onClipEvent (enterFrame) {
if (_root.nug == 1) {
if (_root.bonush == 0) {
_root.score = _root.score + _root.bonus;
play();
}
}
if (_root.nug == 2) {
if (_root.bonush == 1) {
_root.score = _root.score + _root.bonus;
play();
}
}
if (_root.nug == 3) {
stop();
}
}
Instance of Symbol 453 MovieClip "game" in Frame 189
onClipEvent (load) {
_root.tama = 0;
_root.comboh = 0;
_root.combo = 0;
_root.bo = 0;
_root.exbonus = 0;
_root.sx = 0;
_root.sy = 0;
_root.bonush = 0;
_root.bai = 1;
_root.ballh = 0;
_root.bonus = 0;
_root.score = 0;
_root.ball = 0;
_root.shi = 0;
_root.hp = 100;
_root.tou = 100;
_root.nug = 0;
g = 0;
tno = 0;
tint = 21;
tcnt = 0;
_root.score = 0;
sword_mc._visible = false;
se = new Sound();
se1 = new Sound();
se2 = new Sound();
se3 = new Sound();
se3.attachSound("go");
se.attachSound("se_sword");
se1.attachSound("se_sword1");
se2.attachSound("miss");
}
onClipEvent (enterFrame) {
function tamaPos(tmc) {
switch (Math.floor(g)) {
case 0 :
tmc._x = 400;
tmc._y = Math.random() * 400;
tmc.deg = (Math.random() * 90) + 135;
return;
case 1 :
tmc._x = Math.random() * 400;
tmc._y = 400;
tmc.deg = (Math.random() * 90) + 225;
return;
case 2 :
tmc._x = 0;
tmc._y = Math.random() * 400;
tmc.deg = (Math.random() * 90) + 315;
return;
case 3 :
tmc._x = Math.random() * 400;
tmc._y = 0;
tmc.deg = (Math.random() * 90) + 45;
}
}
function tamaEvent() {
this._rotation = this._rotation + 0;
this._x = this._x + (this.speed * Math.cos((Math.PI/180) * this.deg));
this._y = this._y + (this.speed * Math.sin((Math.PI/180) * this.deg));
if (!this.hit_flag) {
if (sword_mc._visible && (this.hitTest(sword_mc))) {
this.deg = _rotation;
this.speed = 20;
this.hit_flag = true;
if (_root.comboh == 1) {
_root.combo = _root.combo + 1;
}
_root.score = _root.score + ((Math.floor(101 - _root.hp) * _root.bai) * _root.combo);
_root.bonus = _root.bonus + ((Math.floor(101 - _root.hp) * _root.bai) * _root.combo);
tint = tint + 0.07;
_root.tou = _root.tou - 2;
_root.score = _root.score + (_root.fp * _root.bai);
_root.bonus = _root.bonus + (_root.fp * _root.bai);
if (_root.fp > 39) {
_root.score = _root.score + ((50 * _root.bai) * _root.combo);
_root.bonus = _root.bonus + (50 * _root.bai);
}
_root.bonus = _root.bonus - (42 - _root.fp);
if (_root.bonus < 0) {
_root.bonus = 0;
}
if (_root.ball == 1) {
_root.exbonus = _root.exbonus + ((Math.floor(101 - _root.hp) * _root.bai) * _root.combo);
}
se.start();
} else if (this.hitTest(_x, _y, false)) {
_root.hp = _root.hp - 20;
_root.hpc = _root.hpc + 0.01;
if (_root.fp < 35) {
_root.hp = _root.hp - 10;
}
se2.start();
_root.bonus = _root.bonus - ((42 - _root.fp) * 100);
if (_root.bonus < 0) {
_root.bonus = 0;
}
if (_root.hp < 0) {
_root.shi = 1;
se3.start();
_root.gotoAndStop("over12");
}
if (_root.shi == 0) {
if ((_root.nug == 0) & (_root.tou == 100)) {
_root.tou = 100;
}
_root.tou = _root.tou + 0;
if (_root.tou > 100) {
_root.nug = _root.nug - 1;
_root.tou = 0;
}
}
}
}
if (((((this._x < 0) || (this._x > Stage.width)) || (this._y < 0)) || (this._y > Stage.height)) || (_root._currentframe == "game12")) {
_root.tama = _root.tama - 1;
this.removeMovieClip();
}
}
if (_root.fp < 20) {
_root.gotoAndStop("omoi");
}
vx = (_root._xmouse - _x) / 4;
vy = (_root._ymouse - _y) / 4;
_x = (_x + vx);
_y = (_y + vy);
_root.sx = _x;
_root.sy = _y;
if ((Math.abs(vx) > 1) || (Math.abs(vy) > 1)) {
_rotation = ((Math.atan2(vy, vx) * 180) / Math.PI);
}
if (sword_mc._visible) {
sword_mc._rotation = sword_mc._rotation + 20;
if (sword_mc._rotation == 180) {
sword_mc._rotation = 0;
_root.comboh = 0;
_root.combo = 0;
_root.hp = _root.hp - 7;
if (_root.hp < 0) {
se3.start();
_root.gotoAndStop("over12");
}
sword_mc._visible = false;
}
if (sword_mc._rotation == 20) {
se1.start();
}
}
if ((++tcnt) > tint) {
if (_root.tama < 5) {
tmc = _root.attachMovie("Tama", "tama" + tno, tno);
_root.tama = _root.tama + 1;
tmc.speed = random(12) + 4;
if (_root.fp < 30) {
tmc.speed = tmc.speed + 3;
}
tmc.hit_flag = false;
tamaPos(tmc);
tmc.onEnterFrame = tamaEvent;
if ((++tno) > 1000) {
tno = 0;
}
}
tcnt = 0;
}
tint = tint - 0.005;
if (tint < 1) {
tint = 1;
}
_root.tint = tint;
g = random(4);
if (_x < 40) {
_x = 40;
}
if (_x > 360) {
_x = 360;
}
if (_y < 40) {
_y = 40;
}
if (_y > 360) {
_y = 360;
}
if (_root.hp < 0) {
se3.start();
_root.gotoAndStop("over12");
}
}
onClipEvent (mouseDown) {
_root.comboh = 1;
sword_mc._visible = true;
}
Instance of Symbol 11 MovieClip [kai] "kai" in Frame 189
onClipEvent (enterFrame) {
if (_root.ball == 0) {
_root.kai._visible = false;
}
if (_root.ball == 1) {
_root.kai._visible = true;
_root.bai = 2;
}
}
on (keyPress "<Space>") {
if (_root.ball == 1) {
_root.kai._visible = false;
_root.hp = _root.hp + 100;
if (_root.hp > 100) {
_root.hp = 100;
}
_root.ball = 0;
_root.bai = 1;
}
}
Frame 190
Mouse.show();
_quality = "HIGH";
stop();
Instance of Symbol 456 MovieClip in Frame 190
onClipEvent (enterFrame) {
_x = _root.sx;
_y = _root.sy;
}
Instance of Symbol 460 MovieClip "spb" in Frame 190
onClipEvent (enterFrame) {
_root.spb._visible = false;
if (_root.bo == 1) {
_root.spb._visible = true;
play();
}
}
on (keyPress "<Space>") {
if (_root.bo == 1) {
_root.gotoAndStop("check");
}
}
Instance of Symbol 463 MovieClip in Frame 190
onClipEvent (enterFrame) {
if (_root.fp < 20) {
_root.gotoAndStop("omoi");
}
}
Frame 191
gotoAndPlay (1);
Frame 192
Mouse.show();
_quality = "HIGH";
stop();
Instance of Symbol 460 MovieClip "spb" in Frame 192
onClipEvent (enterFrame) {
_root.spb._visible = false;
if (_root.bo == 1) {
_root.spb._visible = true;
play();
}
}
on (keyPress "<Space>") {
if (_root.bo == 1) {
stopAllSounds();
_root.gotoAndStop("cbonus");
}
}
Instance of Symbol 800 MovieClip in Frame 192
onClipEvent (enterFrame) {
if (_root.pass == 1) {
play();
}
}
Frame 193
_root.coin = 0;
_root.pass = 0;
_root.nug = 0;
_root.score = 0;
gotoAndPlay (1);
Frame 194
stop();
Frame 195
Mouse.hide();
stop();
Instance of Symbol 172 MovieClip in Frame 195
onClipEvent (enterFrame) {
if (_root.nug == 2) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
if (_root.nug == 3) {
_root.score = _root.score + Math.floor(_root.bonus / _root.fp);
_root.pass = 1;
_root.gotoAndStop("clear13");
}
}
Instance of Symbol 174 MovieClip in Frame 195
onClipEvent (enterFrame) {
if (_root.nug == 1) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
}
Instance of Symbol 176 MovieClip in Frame 195
onClipEvent (enterFrame) {
if (_root.nug == 0) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.tou = 100;
_root.nug = _root.nug + 1;
_root.ballh = _root.ballh + 1;
if (_root.ballh == 1) {
_root.ball = 1;
_root.ballh = _root.ballh + 1;
}
}
}
Instance of Symbol 440 MovieClip in Frame 195
onClipEvent (enterFrame) {
_xscale = _root.hp;
_root.hp = _root.hp + 0.27;
_root.hp = _root.hp - ((45 - _root.fp) / 100);
if (_root.hp > 100) {
_root.hp = 100;
}
}
Instance of Symbol 438 MovieClip in Frame 195
onClipEvent (enterFrame) {
if (_root.nug == 1) {
if (_root.bonush == 0) {
_root.score = _root.score + _root.bonus;
play();
}
}
if (_root.nug == 2) {
if (_root.bonush == 1) {
_root.score = _root.score + _root.bonus;
play();
}
}
if (_root.nug == 3) {
stop();
}
}
Instance of Symbol 453 MovieClip "game" in Frame 195
onClipEvent (load) {
_root.tama = 0;
_root.comboh = 0;
_root.combo = 0;
_root.bo = 0;
_root.exbonus = 0;
_root.sx = 0;
_root.sy = 0;
_root.bonush = 0;
_root.bai = 1;
_root.ballh = 0;
_root.bonus = 0;
_root.score = 0;
_root.ball = 0;
_root.shi = 0;
_root.hp = 100;
_root.tou = 100;
_root.nug = 0;
g = 0;
tno = 0;
tint = 21;
tcnt = 0;
_root.score = 0;
sword_mc._visible = false;
se = new Sound();
se1 = new Sound();
se2 = new Sound();
se3 = new Sound();
se3.attachSound("go");
se.attachSound("se_sword");
se1.attachSound("se_sword1");
se2.attachSound("miss");
}
onClipEvent (enterFrame) {
function tamaPos(tmc) {
switch (Math.floor(g)) {
case 0 :
tmc._x = 400;
tmc._y = Math.random() * 400;
tmc.deg = (Math.random() * 90) + 135;
return;
case 1 :
tmc._x = Math.random() * 400;
tmc._y = 400;
tmc.deg = (Math.random() * 90) + 225;
return;
case 2 :
tmc._x = 0;
tmc._y = Math.random() * 400;
tmc.deg = (Math.random() * 90) + 315;
return;
case 3 :
tmc._x = Math.random() * 400;
tmc._y = 0;
tmc.deg = (Math.random() * 90) + 45;
}
}
function tamaEvent() {
this._rotation = this._rotation + 0;
this._x = this._x + (this.speed * Math.cos((Math.PI/180) * this.deg));
this._y = this._y + (this.speed * Math.sin((Math.PI/180) * this.deg));
if (!this.hit_flag) {
if (sword_mc._visible && (this.hitTest(sword_mc))) {
this.deg = _rotation;
this.speed = 20;
this.hit_flag = true;
if (_root.comboh == 1) {
_root.combo = _root.combo + 1;
}
_root.score = _root.score + ((Math.floor(101 - _root.hp) * _root.bai) * _root.combo);
_root.bonus = _root.bonus + ((Math.floor(101 - _root.hp) * _root.bai) * _root.combo);
tint = tint + 0.07;
_root.tou = _root.tou - 2;
_root.score = _root.score + (_root.fp * _root.bai);
_root.bonus = _root.bonus + (_root.fp * _root.bai);
if (_root.fp > 39) {
_root.score = _root.score + ((50 * _root.bai) * _root.combo);
_root.bonus = _root.bonus + (50 * _root.bai);
}
_root.bonus = _root.bonus - (42 - _root.fp);
if (_root.bonus < 0) {
_root.bonus = 0;
}
if (_root.ball == 1) {
_root.exbonus = _root.exbonus + ((Math.floor(101 - _root.hp) * _root.bai) * _root.combo);
}
se.start();
} else if (this.hitTest(_x, _y, false)) {
_root.hp = _root.hp - 20;
_root.hpc = _root.hpc + 0.01;
if (_root.fp < 35) {
_root.hp = _root.hp - 10;
}
se2.start();
_root.bonus = _root.bonus - ((42 - _root.fp) * 100);
if (_root.bonus < 0) {
_root.bonus = 0;
}
if (_root.hp < 0) {
_root.shi = 1;
se3.start();
_root.gotoAndStop("over13");
}
if (_root.shi == 0) {
if ((_root.nug == 0) & (_root.tou == 100)) {
_root.tou = 100;
}
_root.tou = _root.tou + 0;
if (_root.tou > 100) {
_root.nug = _root.nug - 1;
_root.tou = 0;
}
}
}
}
if (((((this._x < 0) || (this._x > Stage.width)) || (this._y < 0)) || (this._y > Stage.height)) || (_root._currentframe == "game13")) {
_root.tama = _root.tama - 1;
this.removeMovieClip();
}
}
if (_root.fp < 20) {
_root.gotoAndStop("omoi");
}
vx = (_root._xmouse - _x) / 4;
vy = (_root._ymouse - _y) / 4;
_x = (_x + vx);
_y = (_y + vy);
_root.sx = _x;
_root.sy = _y;
if ((Math.abs(vx) > 1) || (Math.abs(vy) > 1)) {
_rotation = ((Math.atan2(vy, vx) * 180) / Math.PI);
}
if (sword_mc._visible) {
sword_mc._rotation = sword_mc._rotation + 20;
if (sword_mc._rotation == 180) {
sword_mc._rotation = 0;
_root.comboh = 0;
_root.combo = 0;
_root.hp = _root.hp - 7;
if (_root.hp < 0) {
se3.start();
_root.gotoAndStop("over13");
}
sword_mc._visible = false;
}
if (sword_mc._rotation == 20) {
se1.start();
}
}
if ((++tcnt) > tint) {
if (_root.tama < 5) {
tmc = _root.attachMovie("Tama", "tama" + tno, tno);
_root.tama = _root.tama + 1;
tmc.speed = random(12) + 4;
if (_root.fp < 30) {
tmc.speed = tmc.speed + 3;
}
tmc.hit_flag = false;
tamaPos(tmc);
tmc.onEnterFrame = tamaEvent;
if ((++tno) > 1000) {
tno = 0;
}
}
tcnt = 0;
}
tint = tint - 0.005;
if (tint < 1) {
tint = 1;
}
_root.tint = tint;
g = random(4);
if (_x < 40) {
_x = 40;
}
if (_x > 360) {
_x = 360;
}
if (_y < 40) {
_y = 40;
}
if (_y > 360) {
_y = 360;
}
if (_root.hp < 0) {
se3.start();
_root.gotoAndStop("over13");
}
}
onClipEvent (mouseDown) {
_root.comboh = 1;
sword_mc._visible = true;
}
Instance of Symbol 11 MovieClip [kai] "kai" in Frame 195
onClipEvent (enterFrame) {
if (_root.ball == 0) {
_root.kai._visible = false;
}
if (_root.ball == 1) {
_root.kai._visible = true;
_root.bai = 2;
}
}
on (keyPress "<Space>") {
if (_root.ball == 1) {
_root.kai._visible = false;
_root.hp = _root.hp + 100;
if (_root.hp > 100) {
_root.hp = 100;
}
_root.ball = 0;
_root.bai = 1;
}
}
Frame 196
Mouse.show();
_quality = "HIGH";
stop();
Instance of Symbol 456 MovieClip in Frame 196
onClipEvent (enterFrame) {
_x = _root.sx;
_y = _root.sy;
}
Instance of Symbol 460 MovieClip "spb" in Frame 196
onClipEvent (enterFrame) {
_root.spb._visible = false;
if (_root.bo == 1) {
_root.spb._visible = true;
play();
}
}
on (keyPress "<Space>") {
if (_root.bo == 1) {
_root.gotoAndStop("check");
}
}
Instance of Symbol 463 MovieClip in Frame 196
onClipEvent (enterFrame) {
if (_root.fp < 20) {
_root.gotoAndStop("omoi");
}
}
Frame 197
gotoAndPlay (1);
Frame 198
Mouse.show();
_quality = "HIGH";
stop();
Instance of Symbol 460 MovieClip "spb" in Frame 198
onClipEvent (enterFrame) {
_root.spb._visible = false;
if (_root.bo == 1) {
_root.spb._visible = true;
play();
}
}
on (keyPress "<Space>") {
if (_root.bo == 1) {
stopAllSounds();
_root.gotoAndStop("cbonus");
}
}
Instance of Symbol 815 MovieClip in Frame 198
onClipEvent (enterFrame) {
if (_root.pass == 1) {
play();
}
}
Frame 199
_root.coin = 0;
_root.pass = 0;
_root.nug = 0;
_root.score = 0;
gotoAndPlay (1);
Frame 200
stop();
Frame 201
Mouse.hide();
stop();
Instance of Symbol 181 MovieClip in Frame 201
onClipEvent (enterFrame) {
if (_root.nug == 2) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
if (_root.nug == 3) {
_root.score = _root.score + Math.floor(_root.bonus / _root.fp);
_root.pass = 1;
_root.gotoAndStop("clear14");
}
}
Instance of Symbol 183 MovieClip in Frame 201
onClipEvent (enterFrame) {
if (_root.nug == 1) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
}
Instance of Symbol 185 MovieClip in Frame 201
onClipEvent (enterFrame) {
if (_root.nug == 0) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.tou = 100;
_root.nug = _root.nug + 1;
_root.ballh = _root.ballh + 1;
if (_root.ballh == 1) {
_root.ball = 1;
_root.ballh = _root.ballh + 1;
}
}
}
Instance of Symbol 440 MovieClip in Frame 201
onClipEvent (enterFrame) {
_xscale = _root.hp;
_root.hp = _root.hp + 0.27;
_root.hp = _root.hp - ((45 - _root.fp) / 100);
if (_root.hp > 100) {
_root.hp = 100;
}
}
Instance of Symbol 438 MovieClip in Frame 201
onClipEvent (enterFrame) {
if (_root.nug == 1) {
if (_root.bonush == 0) {
_root.score = _root.score + _root.bonus;
play();
}
}
if (_root.nug == 2) {
if (_root.bonush == 1) {
_root.score = _root.score + _root.bonus;
play();
}
}
if (_root.nug == 3) {
stop();
}
}
Instance of Symbol 453 MovieClip "game" in Frame 201
onClipEvent (load) {
_root.tama = 0;
_root.comboh = 0;
_root.combo = 0;
_root.bo = 0;
_root.exbonus = 0;
_root.sx = 0;
_root.sy = 0;
_root.bonush = 0;
_root.bai = 1;
_root.ballh = 0;
_root.bonus = 0;
_root.score = 0;
_root.ball = 0;
_root.shi = 0;
_root.hp = 100;
_root.tou = 100;
_root.nug = 0;
g = 0;
tno = 0;
tint = 21;
tcnt = 0;
_root.score = 0;
sword_mc._visible = false;
se = new Sound();
se1 = new Sound();
se2 = new Sound();
se3 = new Sound();
se3.attachSound("go");
se.attachSound("se_sword");
se1.attachSound("se_sword1");
se2.attachSound("miss");
}
onClipEvent (enterFrame) {
function tamaPos(tmc) {
switch (Math.floor(g)) {
case 0 :
tmc._x = 400;
tmc._y = Math.random() * 400;
tmc.deg = (Math.random() * 90) + 135;
return;
case 1 :
tmc._x = Math.random() * 400;
tmc._y = 400;
tmc.deg = (Math.random() * 90) + 225;
return;
case 2 :
tmc._x = 0;
tmc._y = Math.random() * 400;
tmc.deg = (Math.random() * 90) + 315;
return;
case 3 :
tmc._x = Math.random() * 400;
tmc._y = 0;
tmc.deg = (Math.random() * 90) + 45;
}
}
function tamaEvent() {
this._rotation = this._rotation + 0;
this._x = this._x + (this.speed * Math.cos((Math.PI/180) * this.deg));
this._y = this._y + (this.speed * Math.sin((Math.PI/180) * this.deg));
if (!this.hit_flag) {
if (sword_mc._visible && (this.hitTest(sword_mc))) {
this.deg = _rotation;
this.speed = 20;
this.hit_flag = true;
if (_root.comboh == 1) {
_root.combo = _root.combo + 1;
}
_root.score = _root.score + ((Math.floor(101 - _root.hp) * _root.bai) * _root.combo);
_root.bonus = _root.bonus + ((Math.floor(101 - _root.hp) * _root.bai) * _root.combo);
tint = tint + 0.07;
_root.tou = _root.tou - 2;
_root.score = _root.score + (_root.fp * _root.bai);
_root.bonus = _root.bonus + (_root.fp * _root.bai);
if (_root.fp > 39) {
_root.score = _root.score + ((50 * _root.bai) * _root.combo);
_root.bonus = _root.bonus + (50 * _root.bai);
}
_root.bonus = _root.bonus - (42 - _root.fp);
if (_root.bonus < 0) {
_root.bonus = 0;
}
if (_root.ball == 1) {
_root.exbonus = _root.exbonus + ((Math.floor(101 - _root.hp) * _root.bai) * _root.combo);
}
se.start();
} else if (this.hitTest(_x, _y, false)) {
_root.hp = _root.hp - 20;
_root.hpc = _root.hpc + 0.01;
if (_root.fp < 35) {
_root.hp = _root.hp - 10;
}
se2.start();
_root.bonus = _root.bonus - ((42 - _root.fp) * 100);
if (_root.bonus < 0) {
_root.bonus = 0;
}
if (_root.hp < 0) {
_root.shi = 1;
se3.start();
_root.gotoAndStop("over14");
}
if (_root.shi == 0) {
if ((_root.nug == 0) & (_root.tou == 100)) {
_root.tou = 100;
}
_root.tou = _root.tou + 0;
if (_root.tou > 100) {
_root.nug = _root.nug - 1;
_root.tou = 0;
}
}
}
}
if (((((this._x < 0) || (this._x > Stage.width)) || (this._y < 0)) || (this._y > Stage.height)) || (_root._currentframe == "game14")) {
_root.tama = _root.tama - 1;
this.removeMovieClip();
}
}
if (_root.fp < 20) {
_root.gotoAndStop("omoi");
}
vx = (_root._xmouse - _x) / 4;
vy = (_root._ymouse - _y) / 4;
_x = (_x + vx);
_y = (_y + vy);
_root.sx = _x;
_root.sy = _y;
if ((Math.abs(vx) > 1) || (Math.abs(vy) > 1)) {
_rotation = ((Math.atan2(vy, vx) * 180) / Math.PI);
}
if (sword_mc._visible) {
sword_mc._rotation = sword_mc._rotation + 20;
if (sword_mc._rotation == 180) {
sword_mc._rotation = 0;
_root.comboh = 0;
_root.combo = 0;
_root.hp = _root.hp - 7;
if (_root.hp < 0) {
se3.start();
_root.gotoAndStop("over14");
}
sword_mc._visible = false;
}
if (sword_mc._rotation == 20) {
se1.start();
}
}
if ((++tcnt) > tint) {
if (_root.tama < 5) {
tmc = _root.attachMovie("Tama", "tama" + tno, tno);
_root.tama = _root.tama + 1;
tmc.speed = random(12) + 4;
if (_root.fp < 30) {
tmc.speed = tmc.speed + 3;
}
tmc.hit_flag = false;
tamaPos(tmc);
tmc.onEnterFrame = tamaEvent;
if ((++tno) > 1000) {
tno = 0;
}
}
tcnt = 0;
}
tint = tint - 0.005;
if (tint < 1) {
tint = 1;
}
_root.tint = tint;
g = random(4);
if (_x < 40) {
_x = 40;
}
if (_x > 360) {
_x = 360;
}
if (_y < 40) {
_y = 40;
}
if (_y > 360) {
_y = 360;
}
if (_root.hp < 0) {
se3.start();
_root.gotoAndStop("over14");
}
}
onClipEvent (mouseDown) {
_root.comboh = 1;
sword_mc._visible = true;
}
Instance of Symbol 11 MovieClip [kai] "kai" in Frame 201
onClipEvent (enterFrame) {
if (_root.ball == 0) {
_root.kai._visible = false;
}
if (_root.ball == 1) {
_root.kai._visible = true;
_root.bai = 2;
}
}
on (keyPress "<Space>") {
if (_root.ball == 1) {
_root.kai._visible = false;
_root.hp = _root.hp + 100;
if (_root.hp > 100) {
_root.hp = 100;
}
_root.ball = 0;
_root.bai = 1;
}
}
Frame 202
Mouse.show();
_quality = "HIGH";
stop();
Instance of Symbol 456 MovieClip in Frame 202
onClipEvent (enterFrame) {
_x = _root.sx;
_y = _root.sy;
}
Instance of Symbol 460 MovieClip "spb" in Frame 202
onClipEvent (enterFrame) {
_root.spb._visible = false;
if (_root.bo == 1) {
_root.spb._visible = true;
play();
}
}
on (keyPress "<Space>") {
if (_root.bo == 1) {
_root.gotoAndStop("check");
}
}
Instance of Symbol 463 MovieClip in Frame 202
onClipEvent (enterFrame) {
if (_root.fp < 20) {
_root.gotoAndStop("omoi");
}
}
Frame 203
gotoAndPlay (1);
Frame 204
Mouse.show();
_quality = "HIGH";
stop();
Instance of Symbol 460 MovieClip "spb" in Frame 204
onClipEvent (enterFrame) {
_root.spb._visible = false;
if (_root.bo == 1) {
_root.spb._visible = true;
play();
}
}
on (keyPress "<Space>") {
if (_root.bo == 1) {
stopAllSounds();
_root.gotoAndStop("cbonus");
}
}
Instance of Symbol 829 MovieClip in Frame 204
onClipEvent (enterFrame) {
if (_root.pass == 1) {
play();
}
}
Frame 205
_root.coin = 0;
_root.pass = 0;
_root.nug = 0;
_root.score = 0;
gotoAndPlay (1);
Frame 206
stop();
Instance of Symbol 194 MovieClip in Frame 206
onClipEvent (enterFrame) {
if (_root.nug == 2) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
if (_root.nug == 3) {
_root.score = _root.score + Math.floor(_root.bonus / _root.fp);
_root.d = 1;
_root.gotoAndStop("clear15");
}
}
Instance of Symbol 196 MovieClip in Frame 206
onClipEvent (enterFrame) {
if (_root.nug == 1) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
}
Instance of Symbol 198 MovieClip in Frame 206
onClipEvent (enterFrame) {
if (_root.nug == 0) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.tou = 100;
_root.nug = _root.nug + 1;
_root.ballh = _root.ballh + 1;
if (_root.ballh == 1) {
_root.ball = 1;
_root.ballh = _root.ballh + 1;
}
}
}
Frame 207
Mouse.hide();
stop();
Instance of Symbol 194 MovieClip in Frame 207
onClipEvent (enterFrame) {
if (_root.nug == 2) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
if (_root.nug == 3) {
_root.score = _root.score + Math.floor(_root.bonus / _root.fp);
_root.d = 1;
_root.pass = 1;
_root.gotoAndStop("clear15");
}
}
Instance of Symbol 196 MovieClip in Frame 207
onClipEvent (enterFrame) {
if (_root.nug == 1) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
}
Instance of Symbol 198 MovieClip in Frame 207
onClipEvent (enterFrame) {
if (_root.nug == 0) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.tou = 100;
_root.nug = _root.nug + 1;
_root.ballh = _root.ballh + 1;
if (_root.ballh == 1) {
_root.ball = 1;
_root.ballh = _root.ballh + 1;
}
}
}
Instance of Symbol 440 MovieClip in Frame 207
onClipEvent (enterFrame) {
_xscale = _root.hp;
_root.hp = _root.hp + 0.27;
_root.hp = _root.hp - ((45 - _root.fp) / 100);
if (_root.hp > 100) {
_root.hp = 100;
}
}
Instance of Symbol 438 MovieClip in Frame 207
onClipEvent (enterFrame) {
if (_root.nug == 1) {
if (_root.bonush == 0) {
_root.score = _root.score + _root.bonus;
play();
}
}
if (_root.nug == 2) {
if (_root.bonush == 1) {
_root.score = _root.score + _root.bonus;
play();
}
}
if (_root.nug == 3) {
stop();
}
}
Instance of Symbol 453 MovieClip "game" in Frame 207
onClipEvent (load) {
_root.tama = 0;
_root.comboh = 0;
_root.combo = 0;
_root.bo = 0;
_root.exbonus = 0;
_root.sx = 0;
_root.sy = 0;
_root.bonush = 0;
_root.bai = 1;
_root.ballh = 0;
_root.bonus = 0;
_root.score = 0;
_root.ball = 0;
_root.shi = 0;
_root.hp = 100;
_root.tou = 100;
_root.nug = 0;
g = 0;
tno = 0;
tint = 21;
tcnt = 0;
_root.score = 0;
sword_mc._visible = false;
se = new Sound();
se1 = new Sound();
se2 = new Sound();
se3 = new Sound();
se3.attachSound("go");
se.attachSound("se_sword");
se1.attachSound("se_sword1");
se2.attachSound("miss");
}
onClipEvent (enterFrame) {
function tamaPos(tmc) {
switch (Math.floor(g)) {
case 0 :
tmc._x = 400;
tmc._y = Math.random() * 400;
tmc.deg = (Math.random() * 90) + 135;
return;
case 1 :
tmc._x = Math.random() * 400;
tmc._y = 400;
tmc.deg = (Math.random() * 90) + 225;
return;
case 2 :
tmc._x = 0;
tmc._y = Math.random() * 400;
tmc.deg = (Math.random() * 90) + 315;
return;
case 3 :
tmc._x = Math.random() * 400;
tmc._y = 0;
tmc.deg = (Math.random() * 90) + 45;
}
}
function tamaEvent() {
this._rotation = this._rotation + 0;
this._x = this._x + (this.speed * Math.cos((Math.PI/180) * this.deg));
this._y = this._y + (this.speed * Math.sin((Math.PI/180) * this.deg));
if (!this.hit_flag) {
if (sword_mc._visible && (this.hitTest(sword_mc))) {
this.deg = _rotation;
this.speed = 20;
this.hit_flag = true;
if (_root.comboh == 1) {
_root.combo = _root.combo + 1;
}
_root.score = _root.score + ((Math.floor(101 - _root.hp) * _root.bai) * _root.combo);
_root.bonus = _root.bonus + ((Math.floor(101 - _root.hp) * _root.bai) * _root.combo);
tint = tint + 0.07;
_root.tou = _root.tou - 2;
_root.score = _root.score + (_root.fp * _root.bai);
_root.bonus = _root.bonus + (_root.fp * _root.bai);
if (_root.fp > 39) {
_root.score = _root.score + ((50 * _root.bai) * _root.combo);
_root.bonus = _root.bonus + (50 * _root.bai);
}
_root.bonus = _root.bonus - (42 - _root.fp);
if (_root.bonus < 0) {
_root.bonus = 0;
}
if (_root.ball == 1) {
_root.exbonus = _root.exbonus + ((Math.floor(101 - _root.hp) * _root.bai) * _root.combo);
}
se.start();
} else if (this.hitTest(_x, _y, false)) {
_root.hp = _root.hp - 20;
_root.hpc = _root.hpc + 0.01;
if (_root.fp < 35) {
_root.hp = _root.hp - 10;
}
se2.start();
_root.bonus = _root.bonus - ((42 - _root.fp) * 100);
if (_root.bonus < 0) {
_root.bonus = 0;
}
if (_root.hp < 0) {
_root.shi = 1;
se3.start();
_root.gotoAndStop("over15");
}
if (_root.shi == 0) {
if ((_root.nug == 0) & (_root.tou == 100)) {
_root.tou = 100;
}
_root.tou = _root.tou + 0;
if (_root.tou > 100) {
_root.nug = _root.nug - 1;
_root.tou = 0;
}
}
}
}
if (((((this._x < 0) || (this._x > Stage.width)) || (this._y < 0)) || (this._y > Stage.height)) || (_root._currentframe == "game15")) {
_root.tama = _root.tama - 1;
this.removeMovieClip();
}
}
if (_root.fp < 20) {
_root.gotoAndStop("omoi");
}
vx = (_root._xmouse - _x) / 4;
vy = (_root._ymouse - _y) / 4;
_x = (_x + vx);
_y = (_y + vy);
_root.sx = _x;
_root.sy = _y;
if ((Math.abs(vx) > 1) || (Math.abs(vy) > 1)) {
_rotation = ((Math.atan2(vy, vx) * 180) / Math.PI);
}
if (sword_mc._visible) {
sword_mc._rotation = sword_mc._rotation + 20;
if (sword_mc._rotation == 180) {
sword_mc._rotation = 0;
_root.comboh = 0;
_root.combo = 0;
_root.hp = _root.hp - 7;
if (_root.hp < 0) {
se3.start();
_root.gotoAndStop("over15");
}
sword_mc._visible = false;
}
if (sword_mc._rotation == 20) {
se1.start();
}
}
if ((++tcnt) > tint) {
if (_root.tama < 5) {
tmc = _root.attachMovie("Tama", "tama" + tno, tno);
_root.tama = _root.tama + 1;
tmc.speed = random(12) + 4;
if (_root.fp < 30) {
tmc.speed = tmc.speed + 3;
}
tmc.hit_flag = false;
tamaPos(tmc);
tmc.onEnterFrame = tamaEvent;
if ((++tno) > 1000) {
tno = 0;
}
}
tcnt = 0;
}
tint = tint - 0.005;
if (tint < 1) {
tint = 1;
}
_root.tint = tint;
g = random(4);
if (_x < 40) {
_x = 40;
}
if (_x > 360) {
_x = 360;
}
if (_y < 40) {
_y = 40;
}
if (_y > 360) {
_y = 360;
}
if (_root.hp < 0) {
se3.start();
_root.gotoAndStop("over15");
}
}
onClipEvent (mouseDown) {
_root.comboh = 1;
sword_mc._visible = true;
}
Instance of Symbol 11 MovieClip [kai] "kai" in Frame 207
onClipEvent (enterFrame) {
if (_root.ball == 0) {
_root.kai._visible = false;
}
if (_root.ball == 1) {
_root.kai._visible = true;
_root.bai = 2;
}
}
on (keyPress "<Space>") {
if (_root.ball == 1) {
_root.kai._visible = false;
_root.hp = _root.hp + 100;
if (_root.hp > 100) {
_root.hp = 100;
}
_root.ball = 0;
_root.bai = 1;
}
}
Frame 208
Mouse.show();
_quality = "HIGH";
stop();
Instance of Symbol 456 MovieClip in Frame 208
onClipEvent (enterFrame) {
_x = _root.sx;
_y = _root.sy;
}
Instance of Symbol 460 MovieClip "spb" in Frame 208
onClipEvent (enterFrame) {
_root.spb._visible = false;
if (_root.bo == 1) {
_root.spb._visible = true;
play();
}
}
on (keyPress "<Space>") {
if (_root.bo == 1) {
_root.gotoAndStop("check");
}
}
Instance of Symbol 463 MovieClip in Frame 208
onClipEvent (enterFrame) {
if (_root.fp < 20) {
_root.gotoAndStop("omoi");
}
}
Frame 209
gotoAndPlay (1);
Frame 210
Mouse.show();
_quality = "HIGH";
stop();
Instance of Symbol 460 MovieClip "spb" in Frame 210
onClipEvent (enterFrame) {
_root.spb._visible = false;
if (_root.bo == 1) {
_root.spb._visible = true;
play();
}
}
on (keyPress "<Space>") {
if (_root.bo == 1) {
stopAllSounds();
_root.gotoAndStop("cbonus");
}
}
Instance of Symbol 844 MovieClip in Frame 210
onClipEvent (enterFrame) {
if (_root.pass == 1) {
play();
}
}
Frame 211
_root.coin = 0;
_root.pass = 0;
_root.nug = 0;
_root.score = 0;
gotoAndPlay (1);
Frame 212
stop();
Instance of Symbol 204 MovieClip in Frame 212
onClipEvent (enterFrame) {
if (_root.nug == 2) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
if (_root.nug == 3) {
_root.score = _root.score + Math.floor(_root.bonus / _root.fp);
_root.gotoAndStop("clear16");
}
}
Instance of Symbol 206 MovieClip in Frame 212
onClipEvent (enterFrame) {
if (_root.nug == 1) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
}
Instance of Symbol 208 MovieClip in Frame 212
onClipEvent (enterFrame) {
if (_root.nug == 0) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.tou = 100;
_root.nug = _root.nug + 1;
_root.ballh = _root.ballh + 1;
if (_root.ballh == 1) {
_root.ball = 1;
_root.ballh = _root.ballh + 1;
}
}
}
Frame 213
Mouse.hide();
stop();
Instance of Symbol 204 MovieClip in Frame 213
onClipEvent (enterFrame) {
if (_root.nug == 2) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
if (_root.nug == 3) {
_root.score = _root.score + Math.floor(_root.bonus / _root.fp);
_root.pass = 1;
_root.gotoAndStop("clear16");
}
}
Instance of Symbol 206 MovieClip in Frame 213
onClipEvent (enterFrame) {
if (_root.nug == 1) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
}
Instance of Symbol 208 MovieClip in Frame 213
onClipEvent (enterFrame) {
if (_root.nug == 0) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.tou = 100;
_root.nug = _root.nug + 1;
_root.ballh = _root.ballh + 1;
if (_root.ballh == 1) {
_root.ball = 1;
_root.ballh = _root.ballh + 1;
}
}
}
Instance of Symbol 440 MovieClip in Frame 213
onClipEvent (enterFrame) {
_xscale = _root.hp;
_root.hp = _root.hp + 0.27;
_root.hp = _root.hp - ((45 - _root.fp) / 100);
if (_root.hp > 100) {
_root.hp = 100;
}
if (_root.d == 0) {
_root.hp = _root.hp - 50;
}
}
Instance of Symbol 438 MovieClip in Frame 213
onClipEvent (enterFrame) {
if (_root.nug == 1) {
if (_root.bonush == 0) {
_root.score = _root.score + _root.bonus;
play();
}
}
if (_root.nug == 2) {
if (_root.bonush == 1) {
_root.score = _root.score + _root.bonus;
play();
}
}
if (_root.nug == 3) {
stop();
}
}
Instance of Symbol 453 MovieClip "game" in Frame 213
onClipEvent (load) {
_root.tama = 0;
_root.comboh = 0;
_root.combo = 0;
_root.bo = 0;
_root.exbonus = 0;
_root.sx = 0;
_root.sy = 0;
_root.bonush = 0;
_root.bai = 1;
_root.ballh = 0;
_root.bonus = 0;
_root.score = 0;
_root.ball = 0;
_root.shi = 0;
_root.hp = 100;
_root.tou = 100;
_root.nug = 0;
g = 0;
tno = 0;
tint = 21;
tcnt = 0;
_root.score = 0;
sword_mc._visible = false;
se = new Sound();
se1 = new Sound();
se2 = new Sound();
se3 = new Sound();
se3.attachSound("go");
se.attachSound("se_sword");
se1.attachSound("se_sword1");
se2.attachSound("miss");
}
onClipEvent (enterFrame) {
function tamaPos(tmc) {
switch (Math.floor(g)) {
case 0 :
tmc._x = 400;
tmc._y = Math.random() * 400;
tmc.deg = (Math.random() * 90) + 135;
return;
case 1 :
tmc._x = Math.random() * 400;
tmc._y = 400;
tmc.deg = (Math.random() * 90) + 225;
return;
case 2 :
tmc._x = 0;
tmc._y = Math.random() * 400;
tmc.deg = (Math.random() * 90) + 315;
return;
case 3 :
tmc._x = Math.random() * 400;
tmc._y = 0;
tmc.deg = (Math.random() * 90) + 45;
}
}
function tamaEvent() {
this._rotation = this._rotation + 0;
this._x = this._x + (this.speed * Math.cos((Math.PI/180) * this.deg));
this._y = this._y + (this.speed * Math.sin((Math.PI/180) * this.deg));
if (!this.hit_flag) {
if (sword_mc._visible && (this.hitTest(sword_mc))) {
this.deg = _rotation;
this.speed = 20;
this.hit_flag = true;
if (_root.comboh == 1) {
_root.combo = _root.combo + 1;
}
_root.score = _root.score + ((Math.floor(101 - _root.hp) * _root.bai) * _root.combo);
_root.bonus = _root.bonus + ((Math.floor(101 - _root.hp) * _root.bai) * _root.combo);
tint = tint + 0.07;
_root.tou = _root.tou - 2;
_root.score = _root.score + (_root.fp * _root.bai);
_root.bonus = _root.bonus + (_root.fp * _root.bai);
if (_root.fp > 39) {
_root.score = _root.score + ((50 * _root.bai) * _root.combo);
_root.bonus = _root.bonus + (50 * _root.bai);
}
_root.bonus = _root.bonus - (42 - _root.fp);
if (_root.bonus < 0) {
_root.bonus = 0;
}
if (_root.ball == 1) {
_root.exbonus = _root.exbonus + ((Math.floor(101 - _root.hp) * _root.bai) * _root.combo);
}
se.start();
} else if (this.hitTest(_x, _y, false)) {
_root.hp = _root.hp - 20;
_root.hpc = _root.hpc + 0.01;
if (_root.fp < 35) {
_root.hp = _root.hp - 10;
}
se2.start();
_root.bonus = _root.bonus - ((42 - _root.fp) * 100);
if (_root.bonus < 0) {
_root.bonus = 0;
}
if (_root.hp < 0) {
_root.shi = 1;
se3.start();
_root.gotoAndStop("over16");
}
if (_root.shi == 0) {
if ((_root.nug == 0) & (_root.tou == 100)) {
_root.tou = 100;
}
_root.tou = _root.tou + 0;
if (_root.tou > 100) {
_root.nug = _root.nug - 1;
_root.tou = 0;
}
}
}
}
if (((((this._x < 0) || (this._x > Stage.width)) || (this._y < 0)) || (this._y > Stage.height)) || (_root._currentframe == "game16")) {
_root.tama = _root.tama - 1;
this.removeMovieClip();
}
}
if (_root.fp < 20) {
_root.gotoAndStop("omoi");
}
vx = (_root._xmouse - _x) / 4;
vy = (_root._ymouse - _y) / 4;
_x = (_x + vx);
_y = (_y + vy);
_root.sx = _x;
_root.sy = _y;
if ((Math.abs(vx) > 1) || (Math.abs(vy) > 1)) {
_rotation = ((Math.atan2(vy, vx) * 180) / Math.PI);
}
if (sword_mc._visible) {
sword_mc._rotation = sword_mc._rotation + 20;
if (sword_mc._rotation == 180) {
sword_mc._rotation = 0;
_root.comboh = 0;
_root.combo = 0;
_root.hp = _root.hp - 7;
if (_root.hp < 0) {
se3.start();
_root.gotoAndStop("over16");
}
sword_mc._visible = false;
}
if (sword_mc._rotation == 20) {
se1.start();
}
}
if ((++tcnt) > tint) {
if (_root.tama < 5) {
tmc = _root.attachMovie("Tama", "tama" + tno, tno);
_root.tama = _root.tama + 1;
tmc.speed = random(12) + 4;
if (_root.fp < 30) {
tmc.speed = tmc.speed + 3;
}
tmc.hit_flag = false;
tamaPos(tmc);
tmc.onEnterFrame = tamaEvent;
if ((++tno) > 1000) {
tno = 0;
}
}
tcnt = 0;
}
tint = tint - 0.005;
if (tint < 1) {
tint = 1;
}
_root.tint = tint;
g = random(4);
if (_x < 40) {
_x = 40;
}
if (_x > 360) {
_x = 360;
}
if (_y < 40) {
_y = 40;
}
if (_y > 360) {
_y = 360;
}
if (_root.hp < 0) {
se3.start();
_root.gotoAndStop("over16");
}
}
onClipEvent (mouseDown) {
_root.comboh = 1;
sword_mc._visible = true;
}
Instance of Symbol 11 MovieClip [kai] "kai" in Frame 213
onClipEvent (enterFrame) {
if (_root.ball == 0) {
_root.kai._visible = false;
}
if (_root.ball == 1) {
_root.kai._visible = true;
_root.bai = 2;
}
}
on (keyPress "<Space>") {
if (_root.ball == 1) {
_root.kai._visible = false;
_root.hp = _root.hp + 100;
if (_root.hp > 100) {
_root.hp = 100;
}
_root.ball = 0;
_root.bai = 1;
}
}
Frame 214
Mouse.show();
_quality = "HIGH";
stop();
Instance of Symbol 456 MovieClip in Frame 214
onClipEvent (enterFrame) {
_x = _root.sx;
_y = _root.sy;
}
Instance of Symbol 460 MovieClip "spb" in Frame 214
onClipEvent (enterFrame) {
_root.spb._visible = false;
if (_root.bo == 1) {
_root.spb._visible = true;
play();
}
}
on (keyPress "<Space>") {
if (_root.bo == 1) {
_root.gotoAndStop("check");
}
}
Instance of Symbol 463 MovieClip in Frame 214
onClipEvent (enterFrame) {
if (_root.fp < 20) {
_root.gotoAndStop("omoi");
}
}
Frame 215
gotoAndPlay (1);
Frame 216
Mouse.show();
_quality = "HIGH";
stop();
Instance of Symbol 460 MovieClip "spb" in Frame 216
onClipEvent (enterFrame) {
_root.spb._visible = false;
if (_root.bo == 1) {
_root.spb._visible = true;
play();
}
}
on (keyPress "<Space>") {
if (_root.bo == 1) {
stopAllSounds();
_root.gotoAndStop("cbonus");
}
}
Instance of Symbol 860 MovieClip in Frame 216
onClipEvent (enterFrame) {
if (_root.pass == 1) {
play();
}
}
Frame 217
_root.coin = 0;
_root.pass = 0;
_root.nug = 0;
_root.score = 0;
gotoAndPlay (1);
Frame 218
stop();
Instance of Symbol 204 MovieClip in Frame 218
onClipEvent (enterFrame) {
if (_root.nug == 2) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
if (_root.nug == 3) {
_root.score = _root.score + Math.floor(_root.bonus / _root.fp);
_root.gotoAndStop("clear17");
}
}
Instance of Symbol 216 MovieClip in Frame 218
onClipEvent (enterFrame) {
if (_root.nug == 1) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
}
Instance of Symbol 863 MovieClip in Frame 218
onClipEvent (enterFrame) {
if (_root.nug == 0) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.tou = 100;
_root.nug = _root.nug + 1;
_root.ballh = _root.ballh + 1;
if (_root.ballh == 1) {
_root.ball = 1;
_root.ballh = _root.ballh + 1;
}
}
}
Frame 219
Mouse.hide();
stop();
Instance of Symbol 204 MovieClip in Frame 219
onClipEvent (enterFrame) {
if (_root.nug == 2) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
if (_root.nug == 3) {
_root.score = _root.score + Math.floor(_root.bonus / _root.fp);
_root.pass = 1;
_root.gotoAndStop("clear17");
}
}
Instance of Symbol 863 MovieClip in Frame 219
onClipEvent (enterFrame) {
if (_root.nug == 1) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
}
Instance of Symbol 216 MovieClip in Frame 219
onClipEvent (enterFrame) {
if (_root.nug == 0) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.tou = 100;
_root.nug = _root.nug + 1;
_root.ballh = _root.ballh + 1;
if (_root.ballh == 1) {
_root.ball = 1;
_root.ballh = _root.ballh + 1;
}
}
}
Instance of Symbol 440 MovieClip in Frame 219
onClipEvent (enterFrame) {
_xscale = _root.hp;
_root.hp = _root.hp + 0.27;
_root.hp = _root.hp - ((45 - _root.fp) / 100);
if (_root.hp > 100) {
_root.hp = 100;
}
if (_root.d == 0) {
_root.hp = _root.hp - 50;
}
}
Instance of Symbol 438 MovieClip in Frame 219
onClipEvent (enterFrame) {
if (_root.nug == 1) {
if (_root.bonush == 0) {
_root.score = _root.score + _root.bonus;
play();
}
}
if (_root.nug == 2) {
if (_root.bonush == 1) {
_root.score = _root.score + _root.bonus;
play();
}
}
if (_root.nug == 3) {
stop();
}
}
Instance of Symbol 453 MovieClip "game" in Frame 219
onClipEvent (load) {
_root.tama = 0;
_root.comboh = 0;
_root.combo = 0;
_root.bo = 0;
_root.exbonus = 0;
_root.sx = 0;
_root.sy = 0;
_root.bonush = 0;
_root.bai = 1;
_root.ballh = 0;
_root.bonus = 0;
_root.score = 0;
_root.ball = 0;
_root.shi = 0;
_root.hp = 100;
_root.tou = 100;
_root.nug = 0;
g = 0;
tno = 0;
tint = 21;
tcnt = 0;
_root.score = 0;
sword_mc._visible = false;
se = new Sound();
se1 = new Sound();
se2 = new Sound();
se3 = new Sound();
se3.attachSound("go");
se.attachSound("se_sword");
se1.attachSound("se_sword1");
se2.attachSound("miss");
}
onClipEvent (enterFrame) {
function tamaPos(tmc) {
switch (Math.floor(g)) {
case 0 :
tmc._x = 400;
tmc._y = Math.random() * 400;
tmc.deg = (Math.random() * 90) + 135;
return;
case 1 :
tmc._x = Math.random() * 400;
tmc._y = 400;
tmc.deg = (Math.random() * 90) + 225;
return;
case 2 :
tmc._x = 0;
tmc._y = Math.random() * 400;
tmc.deg = (Math.random() * 90) + 315;
return;
case 3 :
tmc._x = Math.random() * 400;
tmc._y = 0;
tmc.deg = (Math.random() * 90) + 45;
}
}
function tamaEvent() {
this._rotation = this._rotation + 0;
this._x = this._x + (this.speed * Math.cos((Math.PI/180) * this.deg));
this._y = this._y + (this.speed * Math.sin((Math.PI/180) * this.deg));
if (!this.hit_flag) {
if (sword_mc._visible && (this.hitTest(sword_mc))) {
this.deg = _rotation;
this.speed = 20;
this.hit_flag = true;
if (_root.comboh == 1) {
_root.combo = _root.combo + 1;
}
_root.score = _root.score + ((Math.floor(101 - _root.hp) * _root.bai) * _root.combo);
_root.bonus = _root.bonus + ((Math.floor(101 - _root.hp) * _root.bai) * _root.combo);
tint = tint + 0.07;
_root.tou = _root.tou - 2;
_root.score = _root.score + (_root.fp * _root.bai);
_root.bonus = _root.bonus + (_root.fp * _root.bai);
if (_root.fp > 39) {
_root.score = _root.score + ((50 * _root.bai) * _root.combo);
_root.bonus = _root.bonus + (50 * _root.bai);
}
_root.bonus = _root.bonus - (42 - _root.fp);
if (_root.bonus < 0) {
_root.bonus = 0;
}
if (_root.ball == 1) {
_root.exbonus = _root.exbonus + ((Math.floor(101 - _root.hp) * _root.bai) * _root.combo);
}
se.start();
} else if (this.hitTest(_x, _y, false)) {
_root.hp = _root.hp - 20;
_root.hpc = _root.hpc + 0.01;
if (_root.fp < 35) {
_root.hp = _root.hp - 10;
}
se2.start();
_root.bonus = _root.bonus - ((42 - _root.fp) * 100);
if (_root.bonus < 0) {
_root.bonus = 0;
}
if (_root.hp < 0) {
_root.shi = 1;
se3.start();
_root.gotoAndStop("over17");
}
if (_root.shi == 0) {
if ((_root.nug == 0) & (_root.tou == 100)) {
_root.tou = 100;
}
_root.tou = _root.tou + 0;
if (_root.tou > 100) {
_root.nug = _root.nug - 1;
_root.tou = 0;
}
}
}
}
if (((((this._x < 0) || (this._x > Stage.width)) || (this._y < 0)) || (this._y > Stage.height)) || (_root._currentframe == "game17")) {
_root.tama = _root.tama - 1;
this.removeMovieClip();
}
}
if (_root.fp < 20) {
_root.gotoAndStop("omoi");
}
vx = (_root._xmouse - _x) / 4;
vy = (_root._ymouse - _y) / 4;
_x = (_x + vx);
_y = (_y + vy);
_root.sx = _x;
_root.sy = _y;
if ((Math.abs(vx) > 1) || (Math.abs(vy) > 1)) {
_rotation = ((Math.atan2(vy, vx) * 180) / Math.PI);
}
if (sword_mc._visible) {
sword_mc._rotation = sword_mc._rotation + 20;
if (sword_mc._rotation == 180) {
sword_mc._rotation = 0;
_root.comboh = 0;
_root.combo = 0;
_root.hp = _root.hp - 7;
if (_root.hp < 0) {
se3.start();
_root.gotoAndStop("over17");
}
sword_mc._visible = false;
}
if (sword_mc._rotation == 20) {
se1.start();
}
}
if ((++tcnt) > tint) {
if (_root.tama < 5) {
tmc = _root.attachMovie("Tama", "tama" + tno, tno);
_root.tama = _root.tama + 1;
tmc.speed = random(12) + 4;
if (_root.fp < 30) {
tmc.speed = tmc.speed + 3;
}
tmc.hit_flag = false;
tamaPos(tmc);
tmc.onEnterFrame = tamaEvent;
if ((++tno) > 1000) {
tno = 0;
}
}
tcnt = 0;
}
tint = tint - 0.005;
if (tint < 1) {
tint = 1;
}
_root.tint = tint;
g = random(4);
if (_x < 40) {
_x = 40;
}
if (_x > 360) {
_x = 360;
}
if (_y < 40) {
_y = 40;
}
if (_y > 360) {
_y = 360;
}
if (_root.hp < 0) {
se3.start();
_root.gotoAndStop("over17");
}
}
onClipEvent (mouseDown) {
_root.comboh = 1;
sword_mc._visible = true;
}
Instance of Symbol 11 MovieClip [kai] "kai" in Frame 219
onClipEvent (enterFrame) {
if (_root.ball == 0) {
_root.kai._visible = false;
}
if (_root.ball == 1) {
_root.kai._visible = true;
_root.bai = 2;
}
}
on (keyPress "<Space>") {
if (_root.ball == 1) {
_root.kai._visible = false;
_root.hp = _root.hp + 100;
if (_root.hp > 100) {
_root.hp = 100;
}
_root.ball = 0;
_root.bai = 1;
}
}
Frame 220
Mouse.show();
_quality = "HIGH";
stop();
Instance of Symbol 456 MovieClip in Frame 220
onClipEvent (enterFrame) {
_x = _root.sx;
_y = _root.sy;
}
Instance of Symbol 460 MovieClip "spb" in Frame 220
onClipEvent (enterFrame) {
_root.spb._visible = false;
if (_root.bo == 1) {
_root.spb._visible = true;
play();
}
}
on (keyPress "<Space>") {
if (_root.bo == 1) {
_root.gotoAndStop("check");
}
}
Instance of Symbol 463 MovieClip in Frame 220
onClipEvent (enterFrame) {
if (_root.fp < 20) {
_root.gotoAndStop("omoi");
}
}
Frame 221
gotoAndPlay (1);
Frame 222
Mouse.show();
_quality = "HIGH";
stop();
Instance of Symbol 460 MovieClip "spb" in Frame 222
onClipEvent (enterFrame) {
_root.spb._visible = false;
if (_root.bo == 1) {
_root.spb._visible = true;
play();
}
}
on (keyPress "<Space>") {
if (_root.bo == 1) {
stopAllSounds();
_root.gotoAndStop("cbonus");
}
}
Instance of Symbol 878 MovieClip in Frame 222
onClipEvent (enterFrame) {
if (_root.pass == 1) {
play();
}
}
Frame 223
_root.coin = 0;
_root.pass = 0;
_root.nug = 0;
_root.score = 0;
gotoAndPlay (1);
Frame 224
stop();
Frame 225
Mouse.hide();
stop();
Instance of Symbol 226 MovieClip in Frame 225
onClipEvent (enterFrame) {
if (_root.nug == 2) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
if (_root.nug == 3) {
_root.score = _root.score + Math.floor(_root.bonus / _root.fp);
_root.pass = 1;
_root.gotoAndStop("clear18");
}
}
Instance of Symbol 228 MovieClip in Frame 225
onClipEvent (enterFrame) {
if (_root.nug == 1) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
}
Instance of Symbol 230 MovieClip in Frame 225
onClipEvent (enterFrame) {
if (_root.nug == 0) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.tou = 100;
_root.nug = _root.nug + 1;
_root.ballh = _root.ballh + 1;
if (_root.ballh == 1) {
_root.ball = 1;
_root.ballh = _root.ballh + 1;
}
}
}
Instance of Symbol 440 MovieClip in Frame 225
onClipEvent (enterFrame) {
_xscale = _root.hp;
_root.hp = _root.hp + 0.27;
_root.hp = _root.hp - ((45 - _root.fp) / 100);
if (_root.hp > 100) {
_root.hp = 100;
}
}
Instance of Symbol 438 MovieClip in Frame 225
onClipEvent (enterFrame) {
if (_root.nug == 1) {
if (_root.bonush == 0) {
_root.score = _root.score + _root.bonus;
play();
}
}
if (_root.nug == 2) {
if (_root.bonush == 1) {
_root.score = _root.score + _root.bonus;
play();
}
}
if (_root.nug == 3) {
stop();
}
}
Instance of Symbol 453 MovieClip "game" in Frame 225
onClipEvent (load) {
_root.tama = 0;
_root.comboh = 0;
_root.combo = 0;
_root.bo = 0;
_root.exbonus = 0;
_root.sx = 0;
_root.sy = 0;
_root.bonush = 0;
_root.bai = 1;
_root.ballh = 0;
_root.bonus = 0;
_root.score = 0;
_root.ball = 0;
_root.shi = 0;
_root.hp = 100;
_root.tou = 100;
_root.nug = 0;
g = 0;
tno = 0;
tint = 21;
tcnt = 0;
_root.score = 0;
sword_mc._visible = false;
se = new Sound();
se1 = new Sound();
se2 = new Sound();
se3 = new Sound();
se3.attachSound("go");
se.attachSound("se_sword");
se1.attachSound("se_sword1");
se2.attachSound("miss");
}
onClipEvent (enterFrame) {
function tamaPos(tmc) {
switch (Math.floor(g)) {
case 0 :
tmc._x = 400;
tmc._y = Math.random() * 400;
tmc.deg = (Math.random() * 90) + 135;
return;
case 1 :
tmc._x = Math.random() * 400;
tmc._y = 400;
tmc.deg = (Math.random() * 90) + 225;
return;
case 2 :
tmc._x = 0;
tmc._y = Math.random() * 400;
tmc.deg = (Math.random() * 90) + 315;
return;
case 3 :
tmc._x = Math.random() * 400;
tmc._y = 0;
tmc.deg = (Math.random() * 90) + 45;
}
}
function tamaEvent() {
this._rotation = this._rotation + 0;
this._x = this._x + (this.speed * Math.cos((Math.PI/180) * this.deg));
this._y = this._y + (this.speed * Math.sin((Math.PI/180) * this.deg));
if (!this.hit_flag) {
if (sword_mc._visible && (this.hitTest(sword_mc))) {
this.deg = _rotation;
this.speed = 20;
this.hit_flag = true;
if (_root.comboh == 1) {
_root.combo = _root.combo + 1;
}
_root.score = _root.score + ((Math.floor(101 - _root.hp) * _root.bai) * _root.combo);
_root.bonus = _root.bonus + ((Math.floor(101 - _root.hp) * _root.bai) * _root.combo);
tint = tint + 0.07;
_root.tou = _root.tou - 2;
_root.score = _root.score + (_root.fp * _root.bai);
_root.bonus = _root.bonus + (_root.fp * _root.bai);
if (_root.fp > 39) {
_root.score = _root.score + ((50 * _root.bai) * _root.combo);
_root.bonus = _root.bonus + (50 * _root.bai);
}
_root.bonus = _root.bonus - (42 - _root.fp);
if (_root.bonus < 0) {
_root.bonus = 0;
}
if (_root.ball == 1) {
_root.exbonus = _root.exbonus + ((Math.floor(101 - _root.hp) * _root.bai) * _root.combo);
}
se.start();
} else if (this.hitTest(_x, _y, false)) {
_root.hp = _root.hp - 20;
_root.hpc = _root.hpc + 0.01;
if (_root.fp < 35) {
_root.hp = _root.hp - 10;
}
se2.start();
_root.bonus = _root.bonus - ((42 - _root.fp) * 100);
if (_root.bonus < 0) {
_root.bonus = 0;
}
if (_root.hp < 0) {
_root.shi = 1;
se3.start();
_root.gotoAndStop("over18");
}
if (_root.shi == 0) {
if ((_root.nug == 0) & (_root.tou == 100)) {
_root.tou = 100;
}
_root.tou = _root.tou + 0;
if (_root.tou > 100) {
_root.nug = _root.nug - 1;
_root.tou = 0;
}
}
}
}
if (((((this._x < 0) || (this._x > Stage.width)) || (this._y < 0)) || (this._y > Stage.height)) || (_root._currentframe == "game18")) {
_root.tama = _root.tama - 1;
this.removeMovieClip();
}
}
if (_root.fp < 20) {
_root.gotoAndStop("omoi");
}
vx = (_root._xmouse - _x) / 4;
vy = (_root._ymouse - _y) / 4;
_x = (_x + vx);
_y = (_y + vy);
_root.sx = _x;
_root.sy = _y;
if ((Math.abs(vx) > 1) || (Math.abs(vy) > 1)) {
_rotation = ((Math.atan2(vy, vx) * 180) / Math.PI);
}
if (sword_mc._visible) {
sword_mc._rotation = sword_mc._rotation + 20;
if (sword_mc._rotation == 180) {
sword_mc._rotation = 0;
_root.comboh = 0;
_root.combo = 0;
_root.hp = _root.hp - 7;
if (_root.hp < 0) {
se3.start();
_root.gotoAndStop("over18");
}
sword_mc._visible = false;
}
if (sword_mc._rotation == 20) {
se1.start();
}
}
if ((++tcnt) > tint) {
if (_root.tama < 5) {
tmc = _root.attachMovie("Tama", "tama" + tno, tno);
_root.tama = _root.tama + 1;
tmc.speed = random(12) + 4;
if (_root.fp < 30) {
tmc.speed = tmc.speed + 3;
}
tmc.hit_flag = false;
tamaPos(tmc);
tmc.onEnterFrame = tamaEvent;
if ((++tno) > 1000) {
tno = 0;
}
}
tcnt = 0;
}
tint = tint - 0.005;
if (tint < 1) {
tint = 1;
}
_root.tint = tint;
g = random(4);
if (_x < 40) {
_x = 40;
}
if (_x > 360) {
_x = 360;
}
if (_y < 40) {
_y = 40;
}
if (_y > 360) {
_y = 360;
}
if (_root.hp < 0) {
se3.start();
_root.gotoAndStop("over18");
}
}
onClipEvent (mouseDown) {
_root.comboh = 1;
sword_mc._visible = true;
}
Instance of Symbol 11 MovieClip [kai] "kai" in Frame 225
onClipEvent (enterFrame) {
if (_root.ball == 0) {
_root.kai._visible = false;
}
if (_root.ball == 1) {
_root.kai._visible = true;
_root.bai = 2;
}
}
on (keyPress "<Space>") {
if (_root.ball == 1) {
_root.kai._visible = false;
_root.hp = _root.hp + 100;
if (_root.hp > 100) {
_root.hp = 100;
}
_root.ball = 0;
_root.bai = 1;
}
}
Frame 226
Mouse.show();
_quality = "HIGH";
stop();
Instance of Symbol 456 MovieClip in Frame 226
onClipEvent (enterFrame) {
_x = _root.sx;
_y = _root.sy;
}
Instance of Symbol 460 MovieClip "spb" in Frame 226
onClipEvent (enterFrame) {
_root.spb._visible = false;
if (_root.bo == 1) {
_root.spb._visible = true;
play();
}
}
on (keyPress "<Space>") {
if (_root.bo == 1) {
_root.gotoAndStop("check");
}
}
Instance of Symbol 463 MovieClip in Frame 226
onClipEvent (enterFrame) {
if (_root.fp < 20) {
_root.gotoAndStop("omoi");
}
}
Frame 227
gotoAndPlay (1);
Frame 228
Mouse.show();
_quality = "HIGH";
stop();
Instance of Symbol 460 MovieClip "spb" in Frame 228
onClipEvent (enterFrame) {
_root.spb._visible = false;
if (_root.bo == 1) {
_root.spb._visible = true;
play();
}
}
on (keyPress "<Space>") {
if (_root.bo == 1) {
stopAllSounds();
_root.gotoAndStop("cbonus");
}
}
Instance of Symbol 892 MovieClip in Frame 228
onClipEvent (enterFrame) {
if (_root.pass == 1) {
play();
}
}
Frame 229
_root.coin = 0;
_root.pass = 0;
_root.nug = 0;
_root.score = 0;
gotoAndPlay (1);
Frame 230
stop();
Instance of Symbol 237 MovieClip in Frame 230
onClipEvent (enterFrame) {
if (_root.nug == 2) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
if (_root.nug == 3) {
_root.score = _root.score + Math.floor(_root.bonus / _root.fp);
_root.pass = 1;
_root.gotoAndStop("clear19");
}
}
Instance of Symbol 239 MovieClip in Frame 230
onClipEvent (enterFrame) {
if (_root.nug == 1) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
}
Instance of Symbol 241 MovieClip in Frame 230
onClipEvent (enterFrame) {
if (_root.nug == 0) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.tou = 100;
_root.nug = _root.nug + 1;
_root.ballh = _root.ballh + 1;
if (_root.ballh == 1) {
_root.ball = 1;
_root.ballh = _root.ballh + 1;
}
}
}
Frame 231
Mouse.hide();
stop();
Instance of Symbol 237 MovieClip in Frame 231
onClipEvent (enterFrame) {
if (_root.nug == 2) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
if (_root.nug == 3) {
_root.score = _root.score + Math.floor(_root.bonus / _root.fp);
_root.pass = 1;
_root.gotoAndStop("clear19");
}
}
Instance of Symbol 239 MovieClip in Frame 231
onClipEvent (enterFrame) {
if (_root.nug == 1) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
}
Instance of Symbol 241 MovieClip in Frame 231
onClipEvent (enterFrame) {
if (_root.nug == 0) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.tou = 100;
_root.nug = _root.nug + 1;
_root.ballh = _root.ballh + 1;
if (_root.ballh == 1) {
_root.ball = 1;
_root.ballh = _root.ballh + 1;
}
}
}
Instance of Symbol 440 MovieClip in Frame 231
onClipEvent (enterFrame) {
_xscale = _root.hp;
_root.hp = _root.hp + 0.27;
_root.hp = _root.hp - ((45 - _root.fp) / 100);
if (_root.hp > 100) {
_root.hp = 100;
}
}
Instance of Symbol 438 MovieClip in Frame 231
onClipEvent (enterFrame) {
if (_root.nug == 1) {
if (_root.bonush == 0) {
_root.score = _root.score + _root.bonus;
play();
}
}
if (_root.nug == 2) {
if (_root.bonush == 1) {
_root.score = _root.score + _root.bonus;
play();
}
}
if (_root.nug == 3) {
stop();
}
}
Instance of Symbol 453 MovieClip "game" in Frame 231
onClipEvent (load) {
_root.tama = 0;
_root.comboh = 0;
_root.combo = 0;
_root.bo = 0;
_root.exbonus = 0;
_root.sx = 0;
_root.sy = 0;
_root.bonush = 0;
_root.bai = 1;
_root.ballh = 0;
_root.bonus = 0;
_root.score = 0;
_root.ball = 0;
_root.shi = 0;
_root.hp = 100;
_root.tou = 100;
_root.nug = 0;
g = 0;
tno = 0;
tint = 21;
tcnt = 0;
_root.score = 0;
sword_mc._visible = false;
se = new Sound();
se1 = new Sound();
se2 = new Sound();
se3 = new Sound();
se3.attachSound("go");
se.attachSound("se_sword");
se1.attachSound("se_sword1");
se2.attachSound("miss");
}
onClipEvent (enterFrame) {
function tamaPos(tmc) {
switch (Math.floor(g)) {
case 0 :
tmc._x = 400;
tmc._y = Math.random() * 400;
tmc.deg = (Math.random() * 90) + 135;
return;
case 1 :
tmc._x = Math.random() * 400;
tmc._y = 400;
tmc.deg = (Math.random() * 90) + 225;
return;
case 2 :
tmc._x = 0;
tmc._y = Math.random() * 400;
tmc.deg = (Math.random() * 90) + 315;
return;
case 3 :
tmc._x = Math.random() * 400;
tmc._y = 0;
tmc.deg = (Math.random() * 90) + 45;
}
}
function tamaEvent() {
this._rotation = this._rotation + 0;
this._x = this._x + (this.speed * Math.cos((Math.PI/180) * this.deg));
this._y = this._y + (this.speed * Math.sin((Math.PI/180) * this.deg));
if (!this.hit_flag) {
if (sword_mc._visible && (this.hitTest(sword_mc))) {
this.deg = _rotation;
this.speed = 20;
this.hit_flag = true;
if (_root.comboh == 1) {
_root.combo = _root.combo + 1;
}
_root.score = _root.score + ((Math.floor(101 - _root.hp) * _root.bai) * _root.combo);
_root.bonus = _root.bonus + ((Math.floor(101 - _root.hp) * _root.bai) * _root.combo);
tint = tint + 0.07;
_root.tou = _root.tou - 2;
_root.score = _root.score + (_root.fp * _root.bai);
_root.bonus = _root.bonus + (_root.fp * _root.bai);
if (_root.fp > 39) {
_root.score = _root.score + ((50 * _root.bai) * _root.combo);
_root.bonus = _root.bonus + (50 * _root.bai);
}
_root.bonus = _root.bonus - (42 - _root.fp);
if (_root.bonus < 0) {
_root.bonus = 0;
}
if (_root.ball == 1) {
_root.exbonus = _root.exbonus + ((Math.floor(101 - _root.hp) * _root.bai) * _root.combo);
}
se.start();
} else if (this.hitTest(_x, _y, false)) {
_root.hp = _root.hp - 20;
_root.hpc = _root.hpc + 0.01;
if (_root.fp < 35) {
_root.hp = _root.hp - 10;
}
se2.start();
_root.bonus = _root.bonus - ((42 - _root.fp) * 100);
if (_root.bonus < 0) {
_root.bonus = 0;
}
if (_root.hp < 0) {
_root.shi = 1;
se3.start();
_root.gotoAndStop("over19");
}
if (_root.shi == 0) {
if ((_root.nug == 0) & (_root.tou == 100)) {
_root.tou = 100;
}
_root.tou = _root.tou + 0;
if (_root.tou > 100) {
_root.nug = _root.nug - 1;
_root.tou = 0;
}
}
}
}
if (((((this._x < 0) || (this._x > Stage.width)) || (this._y < 0)) || (this._y > Stage.height)) || (_root._currentframe == "game19")) {
_root.tama = _root.tama - 1;
this.removeMovieClip();
}
}
if (_root.fp < 20) {
_root.gotoAndStop("omoi");
}
vx = (_root._xmouse - _x) / 4;
vy = (_root._ymouse - _y) / 4;
_x = (_x + vx);
_y = (_y + vy);
_root.sx = _x;
_root.sy = _y;
if ((Math.abs(vx) > 1) || (Math.abs(vy) > 1)) {
_rotation = ((Math.atan2(vy, vx) * 180) / Math.PI);
}
if (sword_mc._visible) {
sword_mc._rotation = sword_mc._rotation + 20;
if (sword_mc._rotation == 180) {
sword_mc._rotation = 0;
_root.comboh = 0;
_root.combo = 0;
_root.hp = _root.hp - 7;
if (_root.hp < 0) {
se3.start();
_root.gotoAndStop("over19");
}
sword_mc._visible = false;
}
if (sword_mc._rotation == 20) {
se1.start();
}
}
if ((++tcnt) > tint) {
if (_root.tama < 5) {
tmc = _root.attachMovie("Tama", "tama" + tno, tno);
_root.tama = _root.tama + 1;
tmc.speed = random(12) + 4;
if (_root.fp < 30) {
tmc.speed = tmc.speed + 3;
}
tmc.hit_flag = false;
tamaPos(tmc);
tmc.onEnterFrame = tamaEvent;
if ((++tno) > 1000) {
tno = 0;
}
}
tcnt = 0;
}
tint = tint - 0.005;
if (tint < 1) {
tint = 1;
}
_root.tint = tint;
g = random(4);
if (_x < 40) {
_x = 40;
}
if (_x > 360) {
_x = 360;
}
if (_y < 40) {
_y = 40;
}
if (_y > 360) {
_y = 360;
}
if (_root.hp < 0) {
se3.start();
_root.gotoAndStop("over19");
}
}
onClipEvent (mouseDown) {
_root.comboh = 1;
sword_mc._visible = true;
}
Instance of Symbol 11 MovieClip [kai] "kai" in Frame 231
onClipEvent (enterFrame) {
if (_root.ball == 0) {
_root.kai._visible = false;
}
if (_root.ball == 1) {
_root.kai._visible = true;
_root.bai = 2;
}
}
on (keyPress "<Space>") {
if (_root.ball == 1) {
_root.kai._visible = false;
_root.hp = _root.hp + 100;
if (_root.hp > 100) {
_root.hp = 100;
}
_root.ball = 0;
_root.bai = 1;
}
}
Frame 232
Mouse.show();
_quality = "HIGH";
stop();
Instance of Symbol 456 MovieClip in Frame 232
onClipEvent (enterFrame) {
_x = _root.sx;
_y = _root.sy;
}
Instance of Symbol 460 MovieClip "spb" in Frame 232
onClipEvent (enterFrame) {
_root.spb._visible = false;
if (_root.bo == 1) {
_root.spb._visible = true;
play();
}
}
on (keyPress "<Space>") {
if (_root.bo == 1) {
_root.gotoAndStop("check");
}
}
Instance of Symbol 463 MovieClip in Frame 232
onClipEvent (enterFrame) {
if (_root.fp < 20) {
_root.gotoAndStop("omoi");
}
}
Frame 233
gotoAndPlay (1);
Frame 234
Mouse.show();
_quality = "HIGH";
stop();
Instance of Symbol 460 MovieClip "spb" in Frame 234
onClipEvent (enterFrame) {
_root.spb._visible = false;
if (_root.bo == 1) {
_root.spb._visible = true;
play();
}
}
on (keyPress "<Space>") {
if (_root.bo == 1) {
stopAllSounds();
_root.gotoAndStop("cbonus");
}
}
Instance of Symbol 908 MovieClip in Frame 234
onClipEvent (enterFrame) {
if (_root.pass == 1) {
play();
}
}
Frame 235
_root.coin = 0;
_root.pass = 0;
_root.nug = 0;
_root.score = 0;
gotoAndPlay (1);
Frame 236
stop();
Frame 237
Mouse.hide();
stop();
Instance of Symbol 248 MovieClip in Frame 237
onClipEvent (enterFrame) {
if (_root.nug == 2) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
if (_root.nug == 3) {
_root.score = _root.score + Math.floor(_root.bonus / _root.fp);
_root.pass = 1;
_root.gotoAndStop("clear20");
}
}
Instance of Symbol 250 MovieClip in Frame 237
onClipEvent (enterFrame) {
if (_root.nug == 1) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
}
Instance of Symbol 252 MovieClip in Frame 237
onClipEvent (enterFrame) {
if (_root.nug == 0) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.tou = 100;
_root.nug = _root.nug + 1;
_root.ballh = _root.ballh + 1;
if (_root.ballh == 1) {
_root.ball = 1;
_root.ballh = _root.ballh + 1;
}
}
}
Instance of Symbol 440 MovieClip in Frame 237
onClipEvent (enterFrame) {
_xscale = _root.hp;
_root.hp = _root.hp + 0.27;
_root.hp = _root.hp - ((45 - _root.fp) / 100);
if (_root.hp > 100) {
_root.hp = 100;
}
}
Instance of Symbol 438 MovieClip in Frame 237
onClipEvent (enterFrame) {
if (_root.nug == 1) {
if (_root.bonush == 0) {
_root.score = _root.score + _root.bonus;
play();
}
}
if (_root.nug == 2) {
if (_root.bonush == 1) {
_root.score = _root.score + _root.bonus;
play();
}
}
if (_root.nug == 3) {
stop();
}
}
Instance of Symbol 453 MovieClip "game" in Frame 237
onClipEvent (load) {
_root.tama = 0;
_root.comboh = 0;
_root.combo = 0;
_root.bo = 0;
_root.exbonus = 0;
_root.sx = 0;
_root.sy = 0;
_root.bonush = 0;
_root.bai = 1;
_root.ballh = 0;
_root.bonus = 0;
_root.score = 0;
_root.ball = 0;
_root.shi = 0;
_root.hp = 100;
_root.tou = 100;
_root.nug = 0;
g = 0;
tno = 0;
tint = 21;
tcnt = 0;
_root.score = 0;
sword_mc._visible = false;
se = new Sound();
se1 = new Sound();
se2 = new Sound();
se3 = new Sound();
se3.attachSound("go");
se.attachSound("se_sword");
se1.attachSound("se_sword1");
se2.attachSound("miss");
}
onClipEvent (enterFrame) {
function tamaPos(tmc) {
switch (Math.floor(g)) {
case 0 :
tmc._x = 400;
tmc._y = Math.random() * 400;
tmc.deg = (Math.random() * 90) + 135;
return;
case 1 :
tmc._x = Math.random() * 400;
tmc._y = 400;
tmc.deg = (Math.random() * 90) + 225;
return;
case 2 :
tmc._x = 0;
tmc._y = Math.random() * 400;
tmc.deg = (Math.random() * 90) + 315;
return;
case 3 :
tmc._x = Math.random() * 400;
tmc._y = 0;
tmc.deg = (Math.random() * 90) + 45;
}
}
function tamaEvent() {
this._rotation = this._rotation + 0;
this._x = this._x + (this.speed * Math.cos((Math.PI/180) * this.deg));
this._y = this._y + (this.speed * Math.sin((Math.PI/180) * this.deg));
if (!this.hit_flag) {
if (sword_mc._visible && (this.hitTest(sword_mc))) {
this.deg = _rotation;
this.speed = 20;
this.hit_flag = true;
if (_root.comboh == 1) {
_root.combo = _root.combo + 1;
}
_root.score = _root.score + ((Math.floor(101 - _root.hp) * _root.bai) * _root.combo);
_root.bonus = _root.bonus + ((Math.floor(101 - _root.hp) * _root.bai) * _root.combo);
tint = tint + 0.07;
_root.tou = _root.tou - 2;
_root.score = _root.score + (_root.fp * _root.bai);
_root.bonus = _root.bonus + (_root.fp * _root.bai);
if (_root.fp > 39) {
_root.score = _root.score + ((50 * _root.bai) * _root.combo);
_root.bonus = _root.bonus + (50 * _root.bai);
}
_root.bonus = _root.bonus - (42 - _root.fp);
if (_root.bonus < 0) {
_root.bonus = 0;
}
if (_root.ball == 1) {
_root.exbonus = _root.exbonus + ((Math.floor(101 - _root.hp) * _root.bai) * _root.combo);
}
se.start();
} else if (this.hitTest(_x, _y, false)) {
_root.hp = _root.hp - 20;
_root.hpc = _root.hpc + 0.01;
if (_root.fp < 35) {
_root.hp = _root.hp - 10;
}
se2.start();
_root.bonus = _root.bonus - ((42 - _root.fp) * 100);
if (_root.bonus < 0) {
_root.bonus = 0;
}
if (_root.hp < 0) {
_root.shi = 1;
se3.start();
_root.gotoAndStop("over20");
}
if (_root.shi == 0) {
if ((_root.nug == 0) & (_root.tou == 100)) {
_root.tou = 100;
}
_root.tou = _root.tou + 0;
if (_root.tou > 100) {
_root.nug = _root.nug - 1;
_root.tou = 0;
}
}
}
}
if (((((this._x < 0) || (this._x > Stage.width)) || (this._y < 0)) || (this._y > Stage.height)) || (_root._currentframe == "game20")) {
_root.tama = _root.tama - 1;
this.removeMovieClip();
}
}
if (_root.fp < 20) {
_root.gotoAndStop("omoi");
}
vx = (_root._xmouse - _x) / 4;
vy = (_root._ymouse - _y) / 4;
_x = (_x + vx);
_y = (_y + vy);
_root.sx = _x;
_root.sy = _y;
if ((Math.abs(vx) > 1) || (Math.abs(vy) > 1)) {
_rotation = ((Math.atan2(vy, vx) * 180) / Math.PI);
}
if (sword_mc._visible) {
sword_mc._rotation = sword_mc._rotation + 20;
if (sword_mc._rotation == 180) {
sword_mc._rotation = 0;
_root.comboh = 0;
_root.combo = 0;
_root.hp = _root.hp - 7;
if (_root.hp < 0) {
se3.start();
_root.gotoAndStop("over20");
}
sword_mc._visible = false;
}
if (sword_mc._rotation == 20) {
se1.start();
}
}
if ((++tcnt) > tint) {
if (_root.tama < 5) {
tmc = _root.attachMovie("Tama", "tama" + tno, tno);
_root.tama = _root.tama + 1;
tmc.speed = random(12) + 4;
if (_root.fp < 30) {
tmc.speed = tmc.speed + 3;
}
tmc.hit_flag = false;
tamaPos(tmc);
tmc.onEnterFrame = tamaEvent;
if ((++tno) > 1000) {
tno = 0;
}
}
tcnt = 0;
}
tint = tint - 0.005;
if (tint < 1) {
tint = 1;
}
_root.tint = tint;
g = random(4);
if (_x < 40) {
_x = 40;
}
if (_x > 360) {
_x = 360;
}
if (_y < 40) {
_y = 40;
}
if (_y > 360) {
_y = 360;
}
if (_root.hp < 0) {
se3.start();
_root.gotoAndStop("over20");
}
}
onClipEvent (mouseDown) {
_root.comboh = 1;
sword_mc._visible = true;
}
Instance of Symbol 11 MovieClip [kai] "kai" in Frame 237
onClipEvent (enterFrame) {
if (_root.ball == 0) {
_root.kai._visible = false;
}
if (_root.ball == 1) {
_root.kai._visible = true;
_root.bai = 2;
}
}
on (keyPress "<Space>") {
if (_root.ball == 1) {
_root.kai._visible = false;
_root.hp = _root.hp + 100;
if (_root.hp > 100) {
_root.hp = 100;
}
_root.ball = 0;
_root.bai = 1;
}
}
Frame 238
Mouse.show();
_quality = "HIGH";
stop();
Instance of Symbol 456 MovieClip in Frame 238
onClipEvent (enterFrame) {
_x = _root.sx;
_y = _root.sy;
}
Instance of Symbol 460 MovieClip "spb" in Frame 238
onClipEvent (enterFrame) {
_root.spb._visible = false;
if (_root.bo == 1) {
_root.spb._visible = true;
play();
}
}
on (keyPress "<Space>") {
if (_root.bo == 1) {
_root.gotoAndStop("check");
}
}
Instance of Symbol 463 MovieClip in Frame 238
onClipEvent (enterFrame) {
if (_root.fp < 20) {
_root.gotoAndStop("omoi");
}
}
Frame 239
gotoAndPlay (1);
Frame 240
Mouse.show();
_quality = "HIGH";
stop();
Instance of Symbol 460 MovieClip "spb" in Frame 240
onClipEvent (enterFrame) {
_root.spb._visible = false;
if (_root.bo == 1) {
_root.spb._visible = true;
play();
}
}
on (keyPress "<Space>") {
if (_root.bo == 1) {
stopAllSounds();
_root.gotoAndStop("cbonus");
}
}
Instance of Symbol 923 MovieClip in Frame 240
onClipEvent (enterFrame) {
if (_root.pass == 1) {
play();
}
}
Frame 241
_root.coin = 0;
_root.pass = 0;
_root.nug = 0;
_root.score = 0;
gotoAndPlay (1);
Frame 242
stop();
Frame 243
Mouse.hide();
stop();
Instance of Symbol 257 MovieClip in Frame 243
onClipEvent (enterFrame) {
if (_root.nug == 2) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
if (_root.nug == 3) {
_root.score = _root.score + Math.floor(_root.bonus / _root.fp);
_root.pass = 1;
_root.gotoAndStop("clear21");
}
}
Instance of Symbol 259 MovieClip in Frame 243
onClipEvent (enterFrame) {
if (_root.nug == 1) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
}
Instance of Symbol 261 MovieClip in Frame 243
onClipEvent (enterFrame) {
if (_root.nug == 0) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.tou = 100;
_root.nug = _root.nug + 1;
_root.ballh = _root.ballh + 1;
if (_root.ballh == 1) {
_root.ball = 1;
_root.ballh = _root.ballh + 1;
}
}
}
Instance of Symbol 440 MovieClip in Frame 243
onClipEvent (enterFrame) {
_xscale = _root.hp;
_root.hp = _root.hp + 0.27;
_root.hp = _root.hp - ((45 - _root.fp) / 100);
if (_root.hp > 100) {
_root.hp = 100;
}
}
Instance of Symbol 438 MovieClip in Frame 243
onClipEvent (enterFrame) {
if (_root.nug == 1) {
if (_root.bonush == 0) {
_root.score = _root.score + _root.bonus;
play();
}
}
if (_root.nug == 2) {
if (_root.bonush == 1) {
_root.score = _root.score + _root.bonus;
play();
}
}
if (_root.nug == 3) {
stop();
}
}
Instance of Symbol 453 MovieClip "game" in Frame 243
onClipEvent (load) {
_root.tama = 0;
_root.comboh = 0;
_root.combo = 0;
_root.bo = 0;
_root.exbonus = 0;
_root.sx = 0;
_root.sy = 0;
_root.bonush = 0;
_root.bai = 1;
_root.ballh = 0;
_root.bonus = 0;
_root.score = 0;
_root.ball = 0;
_root.shi = 0;
_root.hp = 100;
_root.tou = 100;
_root.nug = 0;
g = 0;
tno = 0;
tint = 21;
tcnt = 0;
_root.score = 0;
sword_mc._visible = false;
se = new Sound();
se1 = new Sound();
se2 = new Sound();
se3 = new Sound();
se3.attachSound("go");
se.attachSound("se_sword");
se1.attachSound("se_sword1");
se2.attachSound("miss");
}
onClipEvent (enterFrame) {
function tamaPos(tmc) {
switch (Math.floor(g)) {
case 0 :
tmc._x = 400;
tmc._y = Math.random() * 400;
tmc.deg = (Math.random() * 90) + 135;
return;
case 1 :
tmc._x = Math.random() * 400;
tmc._y = 400;
tmc.deg = (Math.random() * 90) + 225;
return;
case 2 :
tmc._x = 0;
tmc._y = Math.random() * 400;
tmc.deg = (Math.random() * 90) + 315;
return;
case 3 :
tmc._x = Math.random() * 400;
tmc._y = 0;
tmc.deg = (Math.random() * 90) + 45;
}
}
function tamaEvent() {
this._rotation = this._rotation + 0;
this._x = this._x + (this.speed * Math.cos((Math.PI/180) * this.deg));
this._y = this._y + (this.speed * Math.sin((Math.PI/180) * this.deg));
if (!this.hit_flag) {
if (sword_mc._visible && (this.hitTest(sword_mc))) {
this.deg = _rotation;
this.speed = 20;
this.hit_flag = true;
if (_root.comboh == 1) {
_root.combo = _root.combo + 1;
}
_root.score = _root.score + ((Math.floor(101 - _root.hp) * _root.bai) * _root.combo);
_root.bonus = _root.bonus + ((Math.floor(101 - _root.hp) * _root.bai) * _root.combo);
tint = tint + 0.07;
_root.tou = _root.tou - 2;
_root.score = _root.score + (_root.fp * _root.bai);
_root.bonus = _root.bonus + (_root.fp * _root.bai);
if (_root.fp > 39) {
_root.score = _root.score + ((50 * _root.bai) * _root.combo);
_root.bonus = _root.bonus + (50 * _root.bai);
}
_root.bonus = _root.bonus - (42 - _root.fp);
if (_root.bonus < 0) {
_root.bonus = 0;
}
if (_root.ball == 1) {
_root.exbonus = _root.exbonus + ((Math.floor(101 - _root.hp) * _root.bai) * _root.combo);
}
se.start();
} else if (this.hitTest(_x, _y, false)) {
_root.hp = _root.hp - 20;
_root.hpc = _root.hpc + 0.01;
if (_root.fp < 35) {
_root.hp = _root.hp - 10;
}
se2.start();
_root.bonus = _root.bonus - ((42 - _root.fp) * 100);
if (_root.bonus < 0) {
_root.bonus = 0;
}
if (_root.hp < 0) {
_root.shi = 1;
se3.start();
_root.gotoAndStop("over21");
}
if (_root.shi == 0) {
if ((_root.nug == 0) & (_root.tou == 100)) {
_root.tou = 100;
}
_root.tou = _root.tou + 0;
if (_root.tou > 100) {
_root.nug = _root.nug - 1;
_root.tou = 0;
}
}
}
}
if (((((this._x < 0) || (this._x > Stage.width)) || (this._y < 0)) || (this._y > Stage.height)) || (_root._currentframe == "game21")) {
_root.tama = _root.tama - 1;
this.removeMovieClip();
}
}
if (_root.fp < 20) {
_root.gotoAndStop("omoi");
}
vx = (_root._xmouse - _x) / 4;
vy = (_root._ymouse - _y) / 4;
_x = (_x + vx);
_y = (_y + vy);
_root.sx = _x;
_root.sy = _y;
if ((Math.abs(vx) > 1) || (Math.abs(vy) > 1)) {
_rotation = ((Math.atan2(vy, vx) * 180) / Math.PI);
}
if (sword_mc._visible) {
sword_mc._rotation = sword_mc._rotation + 20;
if (sword_mc._rotation == 180) {
sword_mc._rotation = 0;
_root.comboh = 0;
_root.combo = 0;
_root.hp = _root.hp - 7;
if (_root.hp < 0) {
se3.start();
_root.gotoAndStop("over21");
}
sword_mc._visible = false;
}
if (sword_mc._rotation == 20) {
se1.start();
}
}
if ((++tcnt) > tint) {
if (_root.tama < 5) {
tmc = _root.attachMovie("Tama", "tama" + tno, tno);
_root.tama = _root.tama + 1;
tmc.speed = random(12) + 4;
if (_root.fp < 30) {
tmc.speed = tmc.speed + 3;
}
tmc.hit_flag = false;
tamaPos(tmc);
tmc.onEnterFrame = tamaEvent;
if ((++tno) > 1000) {
tno = 0;
}
}
tcnt = 0;
}
tint = tint - 0.005;
if (tint < 1) {
tint = 1;
}
_root.tint = tint;
g = random(4);
if (_x < 40) {
_x = 40;
}
if (_x > 360) {
_x = 360;
}
if (_y < 40) {
_y = 40;
}
if (_y > 360) {
_y = 360;
}
if (_root.hp < 0) {
se3.start();
_root.gotoAndStop("over21");
}
}
onClipEvent (mouseDown) {
_root.comboh = 1;
sword_mc._visible = true;
}
Instance of Symbol 11 MovieClip [kai] "kai" in Frame 243
onClipEvent (enterFrame) {
if (_root.ball == 0) {
_root.kai._visible = false;
}
if (_root.ball == 1) {
_root.kai._visible = true;
_root.bai = 2;
}
}
on (keyPress "<Space>") {
if (_root.ball == 1) {
_root.kai._visible = false;
_root.hp = _root.hp + 100;
if (_root.hp > 100) {
_root.hp = 100;
}
_root.ball = 0;
_root.bai = 1;
}
}
Frame 244
Mouse.show();
_quality = "HIGH";
stop();
Instance of Symbol 456 MovieClip in Frame 244
onClipEvent (enterFrame) {
_x = _root.sx;
_y = _root.sy;
}
Instance of Symbol 460 MovieClip "spb" in Frame 244
onClipEvent (enterFrame) {
_root.spb._visible = false;
if (_root.bo == 1) {
_root.spb._visible = true;
play();
}
}
on (keyPress "<Space>") {
if (_root.bo == 1) {
_root.gotoAndStop("check");
}
}
Instance of Symbol 463 MovieClip in Frame 244
onClipEvent (enterFrame) {
if (_root.fp < 20) {
_root.gotoAndStop("omoi");
}
}
Frame 245
gotoAndPlay (1);
Frame 246
Mouse.show();
_quality = "HIGH";
stop();
Instance of Symbol 460 MovieClip "spb" in Frame 246
onClipEvent (enterFrame) {
_root.spb._visible = false;
if (_root.bo == 1) {
_root.spb._visible = true;
play();
}
}
on (keyPress "<Space>") {
if (_root.bo == 1) {
stopAllSounds();
_root.gotoAndStop("cbonus");
}
}
Instance of Symbol 937 MovieClip in Frame 246
onClipEvent (enterFrame) {
if (_root.pass == 1) {
play();
}
}
Frame 247
_root.coin = 0;
_root.pass = 0;
_root.nug = 0;
_root.score = 0;
gotoAndPlay (1);
Frame 248
stop();
Instance of Symbol 266 MovieClip in Frame 248
onClipEvent (enterFrame) {
if (_root.nug == 2) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
if (_root.nug == 3) {
_root.score = _root.score + Math.floor(_root.bonus / _root.fp);
_root.pass = 1;
_root.gotoAndStop("clear20");
}
}
Frame 249
Mouse.hide();
stop();
Instance of Symbol 266 MovieClip in Frame 249
onClipEvent (enterFrame) {
if (_root.nug == 2) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
if (_root.nug == 3) {
_root.score = _root.score + Math.floor(_root.bonus / _root.fp);
_root.pass = 1;
_root.gotoAndStop("clear22");
}
}
Instance of Symbol 268 MovieClip in Frame 249
onClipEvent (enterFrame) {
if (_root.nug == 1) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
}
Instance of Symbol 270 MovieClip in Frame 249
onClipEvent (enterFrame) {
if (_root.nug == 0) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.tou = 100;
_root.nug = _root.nug + 1;
_root.ballh = _root.ballh + 1;
if (_root.ballh == 1) {
_root.ball = 1;
_root.ballh = _root.ballh + 1;
}
}
}
Instance of Symbol 440 MovieClip in Frame 249
onClipEvent (enterFrame) {
_xscale = _root.hp;
_root.hp = _root.hp + 0.27;
_root.hp = _root.hp - ((45 - _root.fp) / 100);
if (_root.hp > 100) {
_root.hp = 100;
}
}
Instance of Symbol 438 MovieClip in Frame 249
onClipEvent (enterFrame) {
if (_root.nug == 1) {
if (_root.bonush == 0) {
_root.score = _root.score + _root.bonus;
play();
}
}
if (_root.nug == 2) {
if (_root.bonush == 1) {
_root.score = _root.score + _root.bonus;
play();
}
}
if (_root.nug == 3) {
stop();
}
}
Instance of Symbol 453 MovieClip "game" in Frame 249
onClipEvent (load) {
_root.tama = 0;
_root.comboh = 0;
_root.combo = 0;
_root.bo = 0;
_root.exbonus = 0;
_root.sx = 0;
_root.sy = 0;
_root.bonush = 0;
_root.bai = 1;
_root.ballh = 0;
_root.bonus = 0;
_root.score = 0;
_root.ball = 0;
_root.shi = 0;
_root.hp = 100;
_root.tou = 100;
_root.nug = 0;
g = 0;
tno = 0;
tint = 21;
tcnt = 0;
_root.score = 0;
sword_mc._visible = false;
se = new Sound();
se1 = new Sound();
se2 = new Sound();
se3 = new Sound();
se3.attachSound("go");
se.attachSound("se_sword");
se1.attachSound("se_sword1");
se2.attachSound("miss");
}
onClipEvent (enterFrame) {
function tamaPos(tmc) {
switch (Math.floor(g)) {
case 0 :
tmc._x = 400;
tmc._y = Math.random() * 400;
tmc.deg = (Math.random() * 90) + 135;
return;
case 1 :
tmc._x = Math.random() * 400;
tmc._y = 400;
tmc.deg = (Math.random() * 90) + 225;
return;
case 2 :
tmc._x = 0;
tmc._y = Math.random() * 400;
tmc.deg = (Math.random() * 90) + 315;
return;
case 3 :
tmc._x = Math.random() * 400;
tmc._y = 0;
tmc.deg = (Math.random() * 90) + 45;
}
}
function tamaEvent() {
this._rotation = this._rotation + 0;
this._x = this._x + (this.speed * Math.cos((Math.PI/180) * this.deg));
this._y = this._y + (this.speed * Math.sin((Math.PI/180) * this.deg));
if (!this.hit_flag) {
if (sword_mc._visible && (this.hitTest(sword_mc))) {
this.deg = _rotation;
this.speed = 20;
this.hit_flag = true;
if (_root.comboh == 1) {
_root.combo = _root.combo + 1;
}
_root.score = _root.score + ((Math.floor(101 - _root.hp) * _root.bai) * _root.combo);
_root.bonus = _root.bonus + ((Math.floor(101 - _root.hp) * _root.bai) * _root.combo);
tint = tint + 0.07;
_root.tou = _root.tou - 2;
_root.score = _root.score + (_root.fp * _root.bai);
_root.bonus = _root.bonus + (_root.fp * _root.bai);
if (_root.fp > 39) {
_root.score = _root.score + ((50 * _root.bai) * _root.combo);
_root.bonus = _root.bonus + (50 * _root.bai);
}
_root.bonus = _root.bonus - (42 - _root.fp);
if (_root.bonus < 0) {
_root.bonus = 0;
}
if (_root.ball == 1) {
_root.exbonus = _root.exbonus + ((Math.floor(101 - _root.hp) * _root.bai) * _root.combo);
}
se.start();
} else if (this.hitTest(_x, _y, false)) {
_root.hp = _root.hp - 20;
_root.hpc = _root.hpc + 0.01;
if (_root.fp < 35) {
_root.hp = _root.hp - 10;
}
se2.start();
_root.bonus = _root.bonus - ((42 - _root.fp) * 100);
if (_root.bonus < 0) {
_root.bonus = 0;
}
if (_root.hp < 0) {
_root.shi = 1;
se3.start();
_root.gotoAndStop("over22");
}
if (_root.shi == 0) {
if ((_root.nug == 0) & (_root.tou == 100)) {
_root.tou = 100;
}
_root.tou = _root.tou + 0;
if (_root.tou > 100) {
_root.nug = _root.nug - 1;
_root.tou = 0;
}
}
}
}
if (((((this._x < 0) || (this._x > Stage.width)) || (this._y < 0)) || (this._y > Stage.height)) || (_root._currentframe == "game22")) {
_root.tama = _root.tama - 1;
this.removeMovieClip();
}
}
if (_root.fp < 20) {
_root.gotoAndStop("omoi");
}
vx = (_root._xmouse - _x) / 4;
vy = (_root._ymouse - _y) / 4;
_x = (_x + vx);
_y = (_y + vy);
_root.sx = _x;
_root.sy = _y;
if ((Math.abs(vx) > 1) || (Math.abs(vy) > 1)) {
_rotation = ((Math.atan2(vy, vx) * 180) / Math.PI);
}
if (sword_mc._visible) {
sword_mc._rotation = sword_mc._rotation + 20;
if (sword_mc._rotation == 180) {
sword_mc._rotation = 0;
_root.comboh = 0;
_root.combo = 0;
_root.hp = _root.hp - 7;
if (_root.hp < 0) {
se3.start();
_root.gotoAndStop("over22");
}
sword_mc._visible = false;
}
if (sword_mc._rotation == 20) {
se1.start();
}
}
if ((++tcnt) > tint) {
if (_root.tama < 5) {
tmc = _root.attachMovie("Tama", "tama" + tno, tno);
_root.tama = _root.tama + 1;
tmc.speed = random(12) + 4;
if (_root.fp < 30) {
tmc.speed = tmc.speed + 3;
}
tmc.hit_flag = false;
tamaPos(tmc);
tmc.onEnterFrame = tamaEvent;
if ((++tno) > 1000) {
tno = 0;
}
}
tcnt = 0;
}
tint = tint - 0.005;
if (tint < 1) {
tint = 1;
}
_root.tint = tint;
g = random(4);
if (_x < 40) {
_x = 40;
}
if (_x > 360) {
_x = 360;
}
if (_y < 40) {
_y = 40;
}
if (_y > 360) {
_y = 360;
}
if (_root.hp < 0) {
se3.start();
_root.gotoAndStop("over22");
}
}
onClipEvent (mouseDown) {
_root.comboh = 1;
sword_mc._visible = true;
}
Instance of Symbol 11 MovieClip [kai] "kai" in Frame 249
onClipEvent (enterFrame) {
if (_root.ball == 0) {
_root.kai._visible = false;
}
if (_root.ball == 1) {
_root.kai._visible = true;
_root.bai = 2;
}
}
on (keyPress "<Space>") {
if (_root.ball == 1) {
_root.kai._visible = false;
_root.hp = _root.hp + 100;
if (_root.hp > 100) {
_root.hp = 100;
}
_root.ball = 0;
_root.bai = 1;
}
}
Frame 250
Mouse.show();
_quality = "HIGH";
stop();
Instance of Symbol 456 MovieClip in Frame 250
onClipEvent (enterFrame) {
_x = _root.sx;
_y = _root.sy;
}
Instance of Symbol 460 MovieClip "spb" in Frame 250
onClipEvent (enterFrame) {
_root.spb._visible = false;
if (_root.bo == 1) {
_root.spb._visible = true;
play();
}
}
on (keyPress "<Space>") {
if (_root.bo == 1) {
_root.gotoAndStop("check");
}
}
Instance of Symbol 463 MovieClip in Frame 250
onClipEvent (enterFrame) {
if (_root.fp < 20) {
_root.gotoAndStop("omoi");
}
}
Frame 251
gotoAndPlay (1);
Frame 252
Mouse.show();
_quality = "HIGH";
stop();
Instance of Symbol 460 MovieClip "spb" in Frame 252
onClipEvent (enterFrame) {
_root.spb._visible = false;
if (_root.bo == 1) {
_root.spb._visible = true;
play();
}
}
on (keyPress "<Space>") {
if (_root.bo == 1) {
stopAllSounds();
_root.gotoAndStop("cbonus");
}
}
Instance of Symbol 951 MovieClip in Frame 252
onClipEvent (enterFrame) {
if (_root.pass == 1) {
play();
}
}
Frame 253
_root.coin = 0;
_root.pass = 0;
_root.nug = 0;
_root.score = 0;
gotoAndPlay (1);
Frame 254
stop();
Frame 255
Mouse.hide();
stop();
Instance of Symbol 276 MovieClip in Frame 255
onClipEvent (enterFrame) {
if (_root.nug == 2) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
if (_root.nug == 3) {
_root.score = _root.score + Math.floor(_root.bonus / _root.fp);
_root.pass = 1;
_root.gotoAndStop("clear23");
}
}
Instance of Symbol 278 MovieClip in Frame 255
onClipEvent (enterFrame) {
if (_root.nug == 1) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
}
Instance of Symbol 280 MovieClip in Frame 255
onClipEvent (enterFrame) {
if (_root.nug == 0) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.tou = 100;
_root.nug = _root.nug + 1;
_root.ballh = _root.ballh + 1;
if (_root.ballh == 1) {
_root.ball = 1;
_root.ballh = _root.ballh + 1;
}
}
}
Instance of Symbol 440 MovieClip in Frame 255
onClipEvent (enterFrame) {
_xscale = _root.hp;
_root.hp = _root.hp + 0.27;
_root.hp = _root.hp - ((45 - _root.fp) / 100);
if (_root.hp > 100) {
_root.hp = 100;
}
if (_root.luf == 0) {
_root.hp = _root.hp - 50;
}
}
Instance of Symbol 438 MovieClip in Frame 255
onClipEvent (enterFrame) {
if (_root.nug == 1) {
if (_root.bonush == 0) {
_root.score = _root.score + _root.bonus;
play();
}
}
if (_root.nug == 2) {
if (_root.bonush == 1) {
_root.score = _root.score + _root.bonus;
play();
}
}
if (_root.nug == 3) {
stop();
}
}
Instance of Symbol 453 MovieClip "game" in Frame 255
onClipEvent (load) {
_root.tama = 0;
_root.comboh = 0;
_root.combo = 0;
_root.bo = 0;
_root.exbonus = 0;
_root.sx = 0;
_root.sy = 0;
_root.bonush = 0;
_root.bai = 1;
_root.ballh = 0;
_root.bonus = 0;
_root.score = 0;
_root.ball = 0;
_root.shi = 0;
_root.hp = 100;
_root.tou = 100;
_root.nug = 0;
g = 0;
tno = 0;
tint = 21;
tcnt = 0;
_root.score = 0;
sword_mc._visible = false;
se = new Sound();
se1 = new Sound();
se2 = new Sound();
se3 = new Sound();
se3.attachSound("go");
se.attachSound("se_sword");
se1.attachSound("se_sword1");
se2.attachSound("miss");
}
onClipEvent (enterFrame) {
function tamaPos(tmc) {
switch (Math.floor(g)) {
case 0 :
tmc._x = 400;
tmc._y = Math.random() * 400;
tmc.deg = (Math.random() * 90) + 135;
return;
case 1 :
tmc._x = Math.random() * 400;
tmc._y = 400;
tmc.deg = (Math.random() * 90) + 225;
return;
case 2 :
tmc._x = 0;
tmc._y = Math.random() * 400;
tmc.deg = (Math.random() * 90) + 315;
return;
case 3 :
tmc._x = Math.random() * 400;
tmc._y = 0;
tmc.deg = (Math.random() * 90) + 45;
}
}
function tamaEvent() {
this._rotation = this._rotation + 0;
this._x = this._x + (this.speed * Math.cos((Math.PI/180) * this.deg));
this._y = this._y + (this.speed * Math.sin((Math.PI/180) * this.deg));
if (!this.hit_flag) {
if (sword_mc._visible && (this.hitTest(sword_mc))) {
this.deg = _rotation;
this.speed = 20;
this.hit_flag = true;
if (_root.comboh == 1) {
_root.combo = _root.combo + 1;
}
_root.score = _root.score + ((Math.floor(101 - _root.hp) * _root.bai) * _root.combo);
_root.bonus = _root.bonus + ((Math.floor(101 - _root.hp) * _root.bai) * _root.combo);
tint = tint + 0.07;
_root.tou = _root.tou - 2;
_root.score = _root.score + (_root.fp * _root.bai);
_root.bonus = _root.bonus + (_root.fp * _root.bai);
if (_root.fp > 39) {
_root.score = _root.score + ((50 * _root.bai) * _root.combo);
_root.bonus = _root.bonus + (50 * _root.bai);
}
_root.bonus = _root.bonus - (42 - _root.fp);
if (_root.bonus < 0) {
_root.bonus = 0;
}
if (_root.ball == 1) {
_root.exbonus = _root.exbonus + ((Math.floor(101 - _root.hp) * _root.bai) * _root.combo);
}
se.start();
} else if (this.hitTest(_x, _y, false)) {
_root.hp = _root.hp - 20;
_root.hpc = _root.hpc + 0.01;
if (_root.fp < 35) {
_root.hp = _root.hp - 10;
}
se2.start();
_root.bonus = _root.bonus - ((42 - _root.fp) * 100);
if (_root.bonus < 0) {
_root.bonus = 0;
}
if (_root.hp < 0) {
_root.shi = 1;
se3.start();
_root.gotoAndStop("over23");
}
if (_root.shi == 0) {
if ((_root.nug == 0) & (_root.tou == 100)) {
_root.tou = 100;
}
_root.tou = _root.tou + 0;
if (_root.tou > 100) {
_root.nug = _root.nug - 1;
_root.tou = 0;
}
}
}
}
if (((((this._x < 0) || (this._x > Stage.width)) || (this._y < 0)) || (this._y > Stage.height)) || (_root._currentframe == "game23")) {
_root.tama = _root.tama - 1;
this.removeMovieClip();
}
}
if (_root.fp < 20) {
_root.gotoAndStop("omoi");
}
vx = (_root._xmouse - _x) / 4;
vy = (_root._ymouse - _y) / 4;
_x = (_x + vx);
_y = (_y + vy);
_root.sx = _x;
_root.sy = _y;
if ((Math.abs(vx) > 1) || (Math.abs(vy) > 1)) {
_rotation = ((Math.atan2(vy, vx) * 180) / Math.PI);
}
if (sword_mc._visible) {
sword_mc._rotation = sword_mc._rotation + 20;
if (sword_mc._rotation == 180) {
sword_mc._rotation = 0;
_root.comboh = 0;
_root.combo = 0;
_root.hp = _root.hp - 7;
if (_root.hp < 0) {
se3.start();
_root.gotoAndStop("over23");
}
sword_mc._visible = false;
}
if (sword_mc._rotation == 20) {
se1.start();
}
}
if ((++tcnt) > tint) {
if (_root.tama < 5) {
tmc = _root.attachMovie("Tama", "tama" + tno, tno);
_root.tama = _root.tama + 1;
tmc.speed = random(12) + 4;
if (_root.fp < 30) {
tmc.speed = tmc.speed + 3;
}
tmc.hit_flag = false;
tamaPos(tmc);
tmc.onEnterFrame = tamaEvent;
if ((++tno) > 1000) {
tno = 0;
}
}
tcnt = 0;
}
tint = tint - 0.005;
if (tint < 1) {
tint = 1;
}
_root.tint = tint;
g = random(4);
if (_x < 40) {
_x = 40;
}
if (_x > 360) {
_x = 360;
}
if (_y < 40) {
_y = 40;
}
if (_y > 360) {
_y = 360;
}
if (_root.hp < 0) {
se3.start();
_root.gotoAndStop("over23");
}
}
onClipEvent (mouseDown) {
_root.comboh = 1;
sword_mc._visible = true;
}
Instance of Symbol 11 MovieClip [kai] "kai" in Frame 255
onClipEvent (enterFrame) {
if (_root.ball == 0) {
_root.kai._visible = false;
}
if (_root.ball == 1) {
_root.kai._visible = true;
_root.bai = 2;
}
}
on (keyPress "<Space>") {
if (_root.ball == 1) {
_root.kai._visible = false;
_root.hp = _root.hp + 100;
if (_root.hp > 100) {
_root.hp = 100;
}
_root.ball = 0;
_root.bai = 1;
}
}
Frame 256
Mouse.show();
_root.luf = 0;
_quality = "HIGH";
stop();
Instance of Symbol 456 MovieClip in Frame 256
onClipEvent (enterFrame) {
_x = _root.sx;
_y = _root.sy;
}
Instance of Symbol 460 MovieClip "spb" in Frame 256
onClipEvent (enterFrame) {
_root.spb._visible = false;
if (_root.bo == 1) {
_root.spb._visible = true;
play();
}
}
on (keyPress "<Space>") {
if (_root.bo == 1) {
_root.gotoAndStop("check");
}
}
Instance of Symbol 463 MovieClip in Frame 256
onClipEvent (enterFrame) {
if (_root.fp < 20) {
_root.gotoAndStop("omoi");
}
}
Frame 257
gotoAndPlay (1);
Frame 258
Mouse.show();
_root.luf = 0;
_quality = "HIGH";
stop();
Instance of Symbol 460 MovieClip "spb" in Frame 258
onClipEvent (enterFrame) {
_root.spb._visible = false;
if (_root.bo == 1) {
_root.spb._visible = true;
play();
}
}
on (keyPress "<Space>") {
if (_root.bo == 1) {
stopAllSounds();
_root.gotoAndStop("cbonus");
}
}
Instance of Symbol 969 MovieClip in Frame 258
onClipEvent (enterFrame) {
if (_root.pass == 1) {
play();
}
}
Frame 259
_root.coin = 0;
_root.pass = 0;
_root.nug = 0;
_root.score = 0;
gotoAndPlay (1);
Frame 260
stop();
Frame 261
Mouse.hide();
stop();
Instance of Symbol 288 MovieClip in Frame 261
onClipEvent (enterFrame) {
if (_root.nug == 2) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
if (_root.nug == 3) {
_root.score = _root.score + Math.floor(_root.bonus / _root.fp);
_root.pass = 1;
if (_root.ball == 1) {
_root.hik = 1;
}
_root.gotoAndStop("clear24");
}
}
Instance of Symbol 290 MovieClip in Frame 261
onClipEvent (enterFrame) {
if (_root.nug == 1) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
}
Instance of Symbol 292 MovieClip in Frame 261
onClipEvent (enterFrame) {
if (_root.nug == 0) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.tou = 100;
_root.nug = _root.nug + 1;
_root.ballh = _root.ballh + 1;
if (_root.ballh == 1) {
_root.ball = 1;
_root.ballh = _root.ballh + 1;
}
}
}
Instance of Symbol 440 MovieClip in Frame 261
onClipEvent (enterFrame) {
_xscale = _root.hp;
_root.hp = _root.hp + 0.27;
_root.hp = _root.hp - ((45 - _root.fp) / 100);
if (_root.hp > 100) {
_root.hp = 100;
}
if (_root.hika == 0) {
_root.hp = _root.hp - 50;
}
}
Instance of Symbol 438 MovieClip in Frame 261
onClipEvent (enterFrame) {
if (_root.nug == 1) {
if (_root.bonush == 0) {
_root.score = _root.score + _root.bonus;
play();
}
}
if (_root.nug == 2) {
if (_root.bonush == 1) {
_root.score = _root.score + _root.bonus;
play();
}
}
if (_root.nug == 3) {
stop();
}
}
Instance of Symbol 453 MovieClip "game" in Frame 261
onClipEvent (load) {
_root.tama = 0;
_root.comboh = 0;
_root.combo = 0;
_root.bo = 0;
_root.exbonus = 0;
_root.sx = 0;
_root.sy = 0;
_root.bonush = 0;
_root.bai = 1;
_root.ballh = 0;
_root.bonus = 0;
_root.score = 0;
_root.ball = 0;
_root.shi = 0;
_root.hp = 100;
_root.tou = 100;
_root.nug = 0;
g = 0;
tno = 0;
tint = 21;
tcnt = 0;
_root.score = 0;
sword_mc._visible = false;
se = new Sound();
se1 = new Sound();
se2 = new Sound();
se3 = new Sound();
se3.attachSound("go");
se.attachSound("se_sword");
se1.attachSound("se_sword1");
se2.attachSound("miss");
}
onClipEvent (enterFrame) {
function tamaPos(tmc) {
switch (Math.floor(g)) {
case 0 :
tmc._x = 400;
tmc._y = Math.random() * 400;
tmc.deg = (Math.random() * 90) + 135;
return;
case 1 :
tmc._x = Math.random() * 400;
tmc._y = 400;
tmc.deg = (Math.random() * 90) + 225;
return;
case 2 :
tmc._x = 0;
tmc._y = Math.random() * 400;
tmc.deg = (Math.random() * 90) + 315;
return;
case 3 :
tmc._x = Math.random() * 400;
tmc._y = 0;
tmc.deg = (Math.random() * 90) + 45;
}
}
function tamaEvent() {
this._rotation = this._rotation + 0;
this._x = this._x + (this.speed * Math.cos((Math.PI/180) * this.deg));
this._y = this._y + (this.speed * Math.sin((Math.PI/180) * this.deg));
if (!this.hit_flag) {
if (sword_mc._visible && (this.hitTest(sword_mc))) {
this.deg = _rotation;
this.speed = 20;
this.hit_flag = true;
if (_root.comboh == 1) {
_root.combo = _root.combo + 1;
}
_root.score = _root.score + ((Math.floor(101 - _root.hp) * _root.bai) * _root.combo);
_root.bonus = _root.bonus + ((Math.floor(101 - _root.hp) * _root.bai) * _root.combo);
tint = tint + 0.07;
_root.tou = _root.tou - 2;
_root.score = _root.score + (_root.fp * _root.bai);
_root.bonus = _root.bonus + (_root.fp * _root.bai);
if (_root.fp > 39) {
_root.score = _root.score + ((50 * _root.bai) * _root.combo);
_root.bonus = _root.bonus + (50 * _root.bai);
}
_root.bonus = _root.bonus - (42 - _root.fp);
if (_root.bonus < 0) {
_root.bonus = 0;
}
if (_root.ball == 1) {
_root.exbonus = _root.exbonus + ((Math.floor(101 - _root.hp) * _root.bai) * _root.combo);
}
se.start();
} else if (this.hitTest(_x, _y, false)) {
_root.hp = _root.hp - 20;
_root.hpc = _root.hpc + 0.01;
if (_root.fp < 35) {
_root.hp = _root.hp - 10;
}
se2.start();
_root.bonus = _root.bonus - ((42 - _root.fp) * 100);
if (_root.bonus < 0) {
_root.bonus = 0;
}
if (_root.hp < 0) {
_root.shi = 1;
se3.start();
_root.gotoAndStop("over24");
}
if (_root.shi == 0) {
if ((_root.nug == 0) & (_root.tou == 100)) {
_root.tou = 100;
}
_root.tou = _root.tou + 0;
if (_root.tou > 100) {
_root.nug = _root.nug - 1;
_root.tou = 0;
}
}
}
}
if (((((this._x < 0) || (this._x > Stage.width)) || (this._y < 0)) || (this._y > Stage.height)) || (_root._currentframe == "game24")) {
_root.tama = _root.tama - 1;
this.removeMovieClip();
}
}
if (_root.fp < 20) {
_root.gotoAndStop("omoi");
}
vx = (_root._xmouse - _x) / 4;
vy = (_root._ymouse - _y) / 4;
_x = (_x + vx);
_y = (_y + vy);
_root.sx = _x;
_root.sy = _y;
if ((Math.abs(vx) > 1) || (Math.abs(vy) > 1)) {
_rotation = ((Math.atan2(vy, vx) * 180) / Math.PI);
}
if (sword_mc._visible) {
sword_mc._rotation = sword_mc._rotation + 20;
if (sword_mc._rotation == 180) {
sword_mc._rotation = 0;
_root.comboh = 0;
_root.combo = 0;
_root.hp = _root.hp - 7;
if (_root.hp < 0) {
se3.start();
_root.gotoAndStop("over24");
}
sword_mc._visible = false;
}
if (sword_mc._rotation == 20) {
se1.start();
}
}
if ((++tcnt) > tint) {
if (_root.tama < 5) {
tmc = _root.attachMovie("Tama", "tama" + tno, tno);
_root.tama = _root.tama + 1;
tmc.speed = random(12) + 4;
if (_root.fp < 30) {
tmc.speed = tmc.speed + 3;
}
tmc.hit_flag = false;
tamaPos(tmc);
tmc.onEnterFrame = tamaEvent;
if ((++tno) > 1000) {
tno = 0;
}
}
tcnt = 0;
}
tint = tint - 0.005;
if (tint < 1) {
tint = 1;
}
_root.tint = tint;
g = random(4);
if (_x < 40) {
_x = 40;
}
if (_x > 360) {
_x = 360;
}
if (_y < 40) {
_y = 40;
}
if (_y > 360) {
_y = 360;
}
if (_root.hp < 0) {
se3.start();
_root.gotoAndStop("over24");
}
}
onClipEvent (mouseDown) {
_root.comboh = 1;
sword_mc._visible = true;
}
Instance of Symbol 11 MovieClip [kai] "kai" in Frame 261
onClipEvent (enterFrame) {
if (_root.ball == 0) {
_root.kai._visible = false;
}
if (_root.ball == 1) {
_root.kai._visible = true;
_root.bai = 2;
}
}
on (keyPress "<Space>") {
if (_root.ball == 1) {
_root.kai._visible = false;
_root.hp = _root.hp + 100;
if (_root.hp > 100) {
_root.hp = 100;
}
_root.ball = 0;
_root.bai = 1;
}
}
Frame 262
Mouse.show();
_quality = "HIGH";
stop();
Instance of Symbol 456 MovieClip in Frame 262
onClipEvent (enterFrame) {
_x = _root.sx;
_y = _root.sy;
}
Instance of Symbol 460 MovieClip "spb" in Frame 262
onClipEvent (enterFrame) {
_root.spb._visible = false;
if (_root.bo == 1) {
_root.spb._visible = true;
play();
}
}
on (keyPress "<Space>") {
if (_root.bo == 1) {
_root.gotoAndStop("check");
}
}
Instance of Symbol 463 MovieClip in Frame 262
onClipEvent (enterFrame) {
if (_root.fp < 20) {
_root.gotoAndStop("omoi");
}
}
Frame 263
gotoAndPlay (1);
Frame 264
Mouse.show();
_quality = "HIGH";
stop();
Instance of Symbol 460 MovieClip "spb" in Frame 264
onClipEvent (enterFrame) {
_root.spb._visible = false;
if (_root.bo == 1) {
_root.spb._visible = true;
play();
}
}
on (keyPress "<Space>") {
if (_root.bo == 1) {
stopAllSounds();
_root.gotoAndStop("cbonus");
}
}
Instance of Symbol 983 MovieClip in Frame 264
onClipEvent (enterFrame) {
if (_root.pass == 1) {
play();
}
}
Frame 265
_root.coin = 0;
_root.pass = 0;
_root.nug = 0;
_root.score = 0;
gotoAndPlay (1);
Frame 266
stop();
Frame 267
Mouse.hide();
stop();
Instance of Symbol 302 MovieClip in Frame 267
onClipEvent (enterFrame) {
if (_root.nug == 2) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
if (_root.nug == 3) {
_root.score = _root.score + Math.floor(_root.bonus / _root.fp);
_root.pass = 1;
_root.gotoAndStop("clear25");
}
}
Instance of Symbol 304 MovieClip in Frame 267
onClipEvent (enterFrame) {
if (_root.nug == 1) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
}
Instance of Symbol 306 MovieClip in Frame 267
onClipEvent (enterFrame) {
if (_root.nug == 0) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.tou = 100;
_root.nug = _root.nug + 1;
_root.ballh = _root.ballh + 1;
if (_root.ballh == 1) {
_root.ball = 1;
_root.ballh = _root.ballh + 1;
}
}
}
Instance of Symbol 440 MovieClip in Frame 267
onClipEvent (enterFrame) {
_xscale = _root.hp;
_root.hp = _root.hp + 0.27;
_root.hp = _root.hp - ((45 - _root.fp) / 100);
if (_root.hp > 100) {
_root.hp = 100;
}
if (_root.hik == 0) {
_root.hp = _root.hp - 50;
}
}
Instance of Symbol 438 MovieClip in Frame 267
onClipEvent (enterFrame) {
if (_root.nug == 1) {
if (_root.bonush == 0) {
_root.score = _root.score + _root.bonus;
play();
}
}
if (_root.nug == 2) {
if (_root.bonush == 1) {
_root.score = _root.score + _root.bonus;
play();
}
}
if (_root.nug == 3) {
stop();
}
}
Instance of Symbol 453 MovieClip "game" in Frame 267
onClipEvent (load) {
_root.tama = 0;
_root.comboh = 0;
_root.combo = 0;
_root.bo = 0;
_root.exbonus = 0;
_root.sx = 0;
_root.sy = 0;
_root.bonush = 0;
_root.bai = 1;
_root.ballh = 0;
_root.bonus = 0;
_root.score = 0;
_root.ball = 0;
_root.shi = 0;
_root.hp = 100;
_root.tou = 100;
_root.nug = 0;
g = 0;
tno = 0;
tint = 21;
tcnt = 0;
_root.score = 0;
sword_mc._visible = false;
se = new Sound();
se1 = new Sound();
se2 = new Sound();
se3 = new Sound();
se3.attachSound("go");
se.attachSound("se_sword");
se1.attachSound("se_sword1");
se2.attachSound("miss");
}
onClipEvent (enterFrame) {
function tamaPos(tmc) {
switch (Math.floor(g)) {
case 0 :
tmc._x = 400;
tmc._y = Math.random() * 400;
tmc.deg = (Math.random() * 90) + 135;
return;
case 1 :
tmc._x = Math.random() * 400;
tmc._y = 400;
tmc.deg = (Math.random() * 90) + 225;
return;
case 2 :
tmc._x = 0;
tmc._y = Math.random() * 400;
tmc.deg = (Math.random() * 90) + 315;
return;
case 3 :
tmc._x = Math.random() * 400;
tmc._y = 0;
tmc.deg = (Math.random() * 90) + 45;
}
}
function tamaEvent() {
this._rotation = this._rotation + 0;
this._x = this._x + (this.speed * Math.cos((Math.PI/180) * this.deg));
this._y = this._y + (this.speed * Math.sin((Math.PI/180) * this.deg));
if (!this.hit_flag) {
if (sword_mc._visible && (this.hitTest(sword_mc))) {
this.deg = _rotation;
this.speed = 20;
this.hit_flag = true;
if (_root.comboh == 1) {
_root.combo = _root.combo + 1;
}
_root.score = _root.score + ((Math.floor(101 - _root.hp) * _root.bai) * _root.combo);
_root.bonus = _root.bonus + ((Math.floor(101 - _root.hp) * _root.bai) * _root.combo);
tint = tint + 0.07;
_root.tou = _root.tou - 2;
_root.score = _root.score + (_root.fp * _root.bai);
_root.bonus = _root.bonus + (_root.fp * _root.bai);
if (_root.fp > 39) {
_root.score = _root.score + ((50 * _root.bai) * _root.combo);
_root.bonus = _root.bonus + (50 * _root.bai);
}
_root.bonus = _root.bonus - (42 - _root.fp);
if (_root.bonus < 0) {
_root.bonus = 0;
}
if (_root.ball == 1) {
_root.exbonus = _root.exbonus + ((Math.floor(101 - _root.hp) * _root.bai) * _root.combo);
}
se.start();
} else if (this.hitTest(_x, _y, false)) {
_root.hp = _root.hp - 20;
_root.hpc = _root.hpc + 0.01;
if (_root.fp < 35) {
_root.hp = _root.hp - 10;
}
se2.start();
_root.bonus = _root.bonus - ((42 - _root.fp) * 100);
if (_root.bonus < 0) {
_root.bonus = 0;
}
if (_root.hp < 0) {
_root.shi = 1;
se3.start();
_root.gotoAndStop("over25");
}
if (_root.shi == 0) {
if ((_root.nug == 0) & (_root.tou == 100)) {
_root.tou = 100;
}
_root.tou = _root.tou + 0;
if (_root.tou > 100) {
_root.nug = _root.nug - 1;
_root.tou = 0;
}
}
}
}
if (((((this._x < 0) || (this._x > Stage.width)) || (this._y < 0)) || (this._y > Stage.height)) || (_root._currentframe == "game25")) {
_root.tama = _root.tama - 1;
this.removeMovieClip();
}
}
if (_root.fp < 20) {
_root.gotoAndStop("omoi");
}
vx = (_root._xmouse - _x) / 4;
vy = (_root._ymouse - _y) / 4;
_x = (_x + vx);
_y = (_y + vy);
_root.sx = _x;
_root.sy = _y;
if ((Math.abs(vx) > 1) || (Math.abs(vy) > 1)) {
_rotation = ((Math.atan2(vy, vx) * 180) / Math.PI);
}
if (sword_mc._visible) {
sword_mc._rotation = sword_mc._rotation + 20;
if (sword_mc._rotation == 180) {
sword_mc._rotation = 0;
_root.comboh = 0;
_root.combo = 0;
_root.hp = _root.hp - 7;
if (_root.hp < 0) {
se3.start();
_root.gotoAndStop("over25");
}
sword_mc._visible = false;
}
if (sword_mc._rotation == 20) {
se1.start();
}
}
if ((++tcnt) > tint) {
if (_root.tama < 5) {
tmc = _root.attachMovie("Tama", "tama" + tno, tno);
_root.tama = _root.tama + 1;
tmc.speed = random(12) + 4;
if (_root.fp < 30) {
tmc.speed = tmc.speed + 3;
}
tmc.hit_flag = false;
tamaPos(tmc);
tmc.onEnterFrame = tamaEvent;
if ((++tno) > 1000) {
tno = 0;
}
}
tcnt = 0;
}
tint = tint - 0.005;
if (tint < 1) {
tint = 1;
}
_root.tint = tint;
g = random(4);
if (_x < 40) {
_x = 40;
}
if (_x > 360) {
_x = 360;
}
if (_y < 40) {
_y = 40;
}
if (_y > 360) {
_y = 360;
}
if (_root.hp < 0) {
se3.start();
_root.gotoAndStop("over25");
}
}
onClipEvent (mouseDown) {
_root.comboh = 1;
sword_mc._visible = true;
}
Instance of Symbol 11 MovieClip [kai] "kai" in Frame 267
onClipEvent (enterFrame) {
if (_root.ball == 0) {
_root.kai._visible = false;
}
if (_root.ball == 1) {
_root.kai._visible = true;
_root.bai = 2;
}
}
on (keyPress "<Space>") {
if (_root.ball == 1) {
_root.kai._visible = false;
_root.hp = _root.hp + 100;
if (_root.hp > 100) {
_root.hp = 100;
}
_root.ball = 0;
_root.bai = 1;
}
}
Frame 268
Mouse.show();
_quality = "HIGH";
stop();
Instance of Symbol 456 MovieClip in Frame 268
onClipEvent (enterFrame) {
_x = _root.sx;
_y = _root.sy;
}
Instance of Symbol 460 MovieClip "spb" in Frame 268
onClipEvent (enterFrame) {
_root.spb._visible = false;
if (_root.bo == 1) {
_root.spb._visible = true;
play();
}
}
on (keyPress "<Space>") {
if (_root.bo == 1) {
_root.gotoAndStop("check");
}
}
Instance of Symbol 463 MovieClip in Frame 268
onClipEvent (enterFrame) {
if (_root.fp < 20) {
_root.gotoAndStop("omoi");
}
}
Frame 269
gotoAndPlay (1);
Frame 270
Mouse.show();
_quality = "HIGH";
stop();
Instance of Symbol 460 MovieClip "spb" in Frame 270
onClipEvent (enterFrame) {
_root.spb._visible = false;
if (_root.bo == 1) {
_root.spb._visible = true;
play();
}
}
on (keyPress "<Space>") {
if (_root.bo == 1) {
stopAllSounds();
_root.gotoAndStop("cbonus");
}
}
Instance of Symbol 997 MovieClip in Frame 270
onClipEvent (enterFrame) {
if (_root.pass == 1) {
play();
}
}
Frame 271
_root.coin = 0;
_root.pass = 0;
_root.nug = 0;
_root.score = 0;
gotoAndPlay (1);
Frame 272
stop();
Instance of Symbol 315 MovieClip in Frame 272
onClipEvent (enterFrame) {
if (_root.nug == 2) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
if (_root.nug == 3) {
_root.score = _root.score + Math.floor(_root.bonus / _root.fp);
_root.pass = 1;
_root.gotoAndStop("clear26");
}
}
Instance of Symbol 317 MovieClip in Frame 272
onClipEvent (enterFrame) {
if (_root.nug == 1) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
}
Instance of Symbol 319 MovieClip in Frame 272
onClipEvent (enterFrame) {
if (_root.nug == 0) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.tou = 100;
_root.nug = _root.nug + 1;
_root.ballh = _root.ballh + 1;
if (_root.ballh == 1) {
_root.ball = 1;
_root.ballh = _root.ballh + 1;
}
}
}
Frame 273
Mouse.hide();
stop();
Instance of Symbol 315 MovieClip in Frame 273
onClipEvent (enterFrame) {
if (_root.nug == 2) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
if (_root.nug == 3) {
_root.score = _root.score + Math.floor(_root.bonus / _root.fp);
_root.pass = 1;
_root.gotoAndStop("clear26");
}
}
Instance of Symbol 317 MovieClip in Frame 273
onClipEvent (enterFrame) {
if (_root.nug == 1) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
}
Instance of Symbol 319 MovieClip in Frame 273
onClipEvent (enterFrame) {
if (_root.nug == 0) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.tou = 100;
_root.nug = _root.nug + 1;
_root.ballh = _root.ballh + 1;
if (_root.ballh == 1) {
_root.ball = 1;
_root.ballh = _root.ballh + 1;
}
}
}
Instance of Symbol 440 MovieClip in Frame 273
onClipEvent (enterFrame) {
_xscale = _root.hp;
_root.hp = _root.hp + 0.27;
_root.hp = _root.hp - ((45 - _root.fp) / 100);
if (_root.hp > 100) {
_root.hp = 100;
}
}
Instance of Symbol 438 MovieClip in Frame 273
onClipEvent (enterFrame) {
if (_root.nug == 1) {
if (_root.bonush == 0) {
_root.score = _root.score + _root.bonus;
play();
}
}
if (_root.nug == 2) {
if (_root.bonush == 1) {
_root.score = _root.score + _root.bonus;
play();
}
}
if (_root.nug == 3) {
stop();
}
}
Instance of Symbol 453 MovieClip "game" in Frame 273
onClipEvent (load) {
_root.tama = 0;
_root.comboh = 0;
_root.combo = 0;
_root.bo = 0;
_root.exbonus = 0;
_root.sx = 0;
_root.sy = 0;
_root.bonush = 0;
_root.bai = 1;
_root.ballh = 0;
_root.bonus = 0;
_root.score = 0;
_root.ball = 0;
_root.shi = 0;
_root.hp = 100;
_root.tou = 100;
_root.nug = 0;
g = 0;
tno = 0;
tint = 21;
tcnt = 0;
_root.score = 0;
sword_mc._visible = false;
se = new Sound();
se1 = new Sound();
se2 = new Sound();
se3 = new Sound();
se3.attachSound("go");
se.attachSound("se_sword");
se1.attachSound("se_sword1");
se2.attachSound("miss");
}
onClipEvent (enterFrame) {
function tamaPos(tmc) {
switch (Math.floor(g)) {
case 0 :
tmc._x = 400;
tmc._y = Math.random() * 400;
tmc.deg = (Math.random() * 90) + 135;
return;
case 1 :
tmc._x = Math.random() * 400;
tmc._y = 400;
tmc.deg = (Math.random() * 90) + 225;
return;
case 2 :
tmc._x = 0;
tmc._y = Math.random() * 400;
tmc.deg = (Math.random() * 90) + 315;
return;
case 3 :
tmc._x = Math.random() * 400;
tmc._y = 0;
tmc.deg = (Math.random() * 90) + 45;
}
}
function tamaEvent() {
this._rotation = this._rotation + 0;
this._x = this._x + (this.speed * Math.cos((Math.PI/180) * this.deg));
this._y = this._y + (this.speed * Math.sin((Math.PI/180) * this.deg));
if (!this.hit_flag) {
if (sword_mc._visible && (this.hitTest(sword_mc))) {
this.deg = _rotation;
this.speed = 20;
this.hit_flag = true;
if (_root.comboh == 1) {
_root.combo = _root.combo + 1;
}
_root.score = _root.score + ((Math.floor(101 - _root.hp) * _root.bai) * _root.combo);
_root.bonus = _root.bonus + ((Math.floor(101 - _root.hp) * _root.bai) * _root.combo);
tint = tint + 0.07;
_root.tou = _root.tou - 2;
_root.score = _root.score + (_root.fp * _root.bai);
_root.bonus = _root.bonus + (_root.fp * _root.bai);
if (_root.fp > 39) {
_root.score = _root.score + ((50 * _root.bai) * _root.combo);
_root.bonus = _root.bonus + (50 * _root.bai);
}
_root.bonus = _root.bonus - (42 - _root.fp);
if (_root.bonus < 0) {
_root.bonus = 0;
}
if (_root.ball == 1) {
_root.exbonus = _root.exbonus + ((Math.floor(101 - _root.hp) * _root.bai) * _root.combo);
}
se.start();
} else if (this.hitTest(_x, _y, false)) {
_root.hp = _root.hp - 20;
_root.hpc = _root.hpc + 0.01;
if (_root.fp < 35) {
_root.hp = _root.hp - 10;
}
se2.start();
_root.bonus = _root.bonus - ((42 - _root.fp) * 100);
if (_root.bonus < 0) {
_root.bonus = 0;
}
if (_root.hp < 0) {
_root.shi = 1;
se3.start();
_root.gotoAndStop("over26");
}
if (_root.shi == 0) {
if ((_root.nug == 0) & (_root.tou == 100)) {
_root.tou = 100;
}
_root.tou = _root.tou + 0;
if (_root.tou > 100) {
_root.nug = _root.nug - 1;
_root.tou = 0;
}
}
}
}
if (((((this._x < 0) || (this._x > Stage.width)) || (this._y < 0)) || (this._y > Stage.height)) || (_root._currentframe == "game26")) {
_root.tama = _root.tama - 1;
this.removeMovieClip();
}
}
if (_root.fp < 20) {
_root.gotoAndStop("omoi");
}
vx = (_root._xmouse - _x) / 4;
vy = (_root._ymouse - _y) / 4;
_x = (_x + vx);
_y = (_y + vy);
_root.sx = _x;
_root.sy = _y;
if ((Math.abs(vx) > 1) || (Math.abs(vy) > 1)) {
_rotation = ((Math.atan2(vy, vx) * 180) / Math.PI);
}
if (sword_mc._visible) {
sword_mc._rotation = sword_mc._rotation + 20;
if (sword_mc._rotation == 180) {
sword_mc._rotation = 0;
_root.comboh = 0;
_root.combo = 0;
_root.hp = _root.hp - 7;
if (_root.hp < 0) {
se3.start();
_root.gotoAndStop("over26");
}
sword_mc._visible = false;
}
if (sword_mc._rotation == 20) {
se1.start();
}
}
if ((++tcnt) > tint) {
if (_root.tama < 5) {
tmc = _root.attachMovie("Tama", "tama" + tno, tno);
_root.tama = _root.tama + 1;
tmc.speed = random(12) + 4;
if (_root.fp < 30) {
tmc.speed = tmc.speed + 3;
}
tmc.hit_flag = false;
tamaPos(tmc);
tmc.onEnterFrame = tamaEvent;
if ((++tno) > 1000) {
tno = 0;
}
}
tcnt = 0;
}
tint = tint - 0.005;
if (tint < 1) {
tint = 1;
}
_root.tint = tint;
g = random(4);
if (_x < 40) {
_x = 40;
}
if (_x > 360) {
_x = 360;
}
if (_y < 40) {
_y = 40;
}
if (_y > 360) {
_y = 360;
}
if (_root.hp < 0) {
se3.start();
_root.gotoAndStop("over26");
}
}
onClipEvent (mouseDown) {
_root.comboh = 1;
sword_mc._visible = true;
}
Instance of Symbol 11 MovieClip [kai] "kai" in Frame 273
onClipEvent (enterFrame) {
if (_root.ball == 0) {
_root.kai._visible = false;
}
if (_root.ball == 1) {
_root.kai._visible = true;
_root.bai = 2;
}
}
on (keyPress "<Space>") {
if (_root.ball == 1) {
_root.kai._visible = false;
_root.hp = _root.hp + 100;
if (_root.hp > 100) {
_root.hp = 100;
}
_root.ball = 0;
_root.bai = 1;
}
}
Frame 274
Mouse.show();
_quality = "HIGH";
stop();
Instance of Symbol 456 MovieClip in Frame 274
onClipEvent (enterFrame) {
_x = _root.sx;
_y = _root.sy;
}
Instance of Symbol 460 MovieClip "spb" in Frame 274
onClipEvent (enterFrame) {
_root.spb._visible = false;
if (_root.bo == 1) {
_root.spb._visible = true;
play();
}
}
on (keyPress "<Space>") {
if (_root.bo == 1) {
_root.gotoAndStop("check");
}
}
Instance of Symbol 463 MovieClip in Frame 274
onClipEvent (enterFrame) {
if (_root.fp < 20) {
_root.gotoAndStop("omoi");
}
}
Frame 275
gotoAndPlay (1);
Frame 276
Mouse.show();
_quality = "HIGH";
stop();
Instance of Symbol 460 MovieClip "spb" in Frame 276
onClipEvent (enterFrame) {
_root.spb._visible = false;
if (_root.bo == 1) {
_root.spb._visible = true;
play();
}
}
on (keyPress "<Space>") {
if (_root.bo == 1) {
stopAllSounds();
_root.gotoAndStop("cbonus");
}
}
Instance of Symbol 1011 MovieClip in Frame 276
onClipEvent (enterFrame) {
if (_root.pass == 1) {
play();
}
}
Frame 277
_root.coin = 0;
_root.pass = 0;
_root.nug = 0;
_root.score = 0;
gotoAndPlay (1);
Frame 278
stop();
Frame 279
Mouse.hide();
stop();
Instance of Symbol 326 MovieClip in Frame 279
onClipEvent (enterFrame) {
if (_root.nug == 2) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
if (_root.nug == 3) {
_root.score = _root.score + Math.floor(_root.bonus / _root.fp);
_root.pass = 1;
_root.gotoAndStop("clear27");
}
}
Instance of Symbol 328 MovieClip in Frame 279
onClipEvent (enterFrame) {
if (_root.nug == 1) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
}
Instance of Symbol 330 MovieClip in Frame 279
onClipEvent (enterFrame) {
if (_root.nug == 0) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.tou = 100;
_root.nug = _root.nug + 1;
_root.ballh = _root.ballh + 1;
if (_root.ballh == 1) {
_root.ball = 1;
_root.ballh = _root.ballh + 1;
}
}
}
Instance of Symbol 440 MovieClip in Frame 279
onClipEvent (enterFrame) {
_xscale = _root.hp;
_root.hp = _root.hp + 0.27;
_root.hp = _root.hp - ((45 - _root.fp) / 100);
if (_root.hp > 100) {
_root.hp = 100;
}
if (_root.diac == 0) {
_root.hp = _root.hp - 50;
}
}
Instance of Symbol 438 MovieClip in Frame 279
onClipEvent (enterFrame) {
if (_root.nug == 1) {
if (_root.bonush == 0) {
_root.score = _root.score + _root.bonus;
play();
}
}
if (_root.nug == 2) {
if (_root.bonush == 1) {
_root.score = _root.score + _root.bonus;
play();
}
}
if (_root.nug == 3) {
stop();
}
}
Instance of Symbol 453 MovieClip "game" in Frame 279
onClipEvent (load) {
_root.tama = 0;
_root.comboh = 0;
_root.combo = 0;
_root.bo = 0;
_root.exbonus = 0;
_root.sx = 0;
_root.sy = 0;
_root.bonush = 0;
_root.bai = 1;
_root.ballh = 0;
_root.bonus = 0;
_root.score = 0;
_root.ball = 0;
_root.shi = 0;
_root.hp = 100;
_root.tou = 100;
_root.nug = 0;
g = 0;
tno = 0;
tint = 21;
tcnt = 0;
_root.score = 0;
sword_mc._visible = false;
se = new Sound();
se1 = new Sound();
se2 = new Sound();
se3 = new Sound();
se3.attachSound("go");
se.attachSound("se_sword");
se1.attachSound("se_sword1");
se2.attachSound("miss");
}
onClipEvent (enterFrame) {
function tamaPos(tmc) {
switch (Math.floor(g)) {
case 0 :
tmc._x = 400;
tmc._y = Math.random() * 400;
tmc.deg = (Math.random() * 90) + 135;
return;
case 1 :
tmc._x = Math.random() * 400;
tmc._y = 400;
tmc.deg = (Math.random() * 90) + 225;
return;
case 2 :
tmc._x = 0;
tmc._y = Math.random() * 400;
tmc.deg = (Math.random() * 90) + 315;
return;
case 3 :
tmc._x = Math.random() * 400;
tmc._y = 0;
tmc.deg = (Math.random() * 90) + 45;
}
}
function tamaEvent() {
this._rotation = this._rotation + 0;
this._x = this._x + (this.speed * Math.cos((Math.PI/180) * this.deg));
this._y = this._y + (this.speed * Math.sin((Math.PI/180) * this.deg));
if (!this.hit_flag) {
if (sword_mc._visible && (this.hitTest(sword_mc))) {
this.deg = _rotation;
this.speed = 20;
this.hit_flag = true;
if (_root.comboh == 1) {
_root.combo = _root.combo + 1;
}
_root.score = _root.score + ((Math.floor(101 - _root.hp) * _root.bai) * _root.combo);
_root.bonus = _root.bonus + ((Math.floor(101 - _root.hp) * _root.bai) * _root.combo);
tint = tint + 0.07;
_root.tou = _root.tou - 2;
_root.score = _root.score + (_root.fp * _root.bai);
_root.bonus = _root.bonus + (_root.fp * _root.bai);
if (_root.fp > 39) {
_root.score = _root.score + ((50 * _root.bai) * _root.combo);
_root.bonus = _root.bonus + (50 * _root.bai);
}
_root.bonus = _root.bonus - (42 - _root.fp);
if (_root.bonus < 0) {
_root.bonus = 0;
}
if (_root.ball == 1) {
_root.exbonus = _root.exbonus + ((Math.floor(101 - _root.hp) * _root.bai) * _root.combo);
}
se.start();
} else if (this.hitTest(_x, _y, false)) {
_root.hp = _root.hp - 20;
_root.hpc = _root.hpc + 0.01;
if (_root.fp < 35) {
_root.hp = _root.hp - 10;
}
se2.start();
_root.bonus = _root.bonus - ((42 - _root.fp) * 100);
if (_root.bonus < 0) {
_root.bonus = 0;
}
if (_root.hp < 0) {
_root.shi = 1;
se3.start();
_root.gotoAndStop("over27");
}
if (_root.shi == 0) {
if ((_root.nug == 0) & (_root.tou == 100)) {
_root.tou = 100;
}
_root.tou = _root.tou + 0;
if (_root.tou > 100) {
_root.nug = _root.nug - 1;
_root.tou = 0;
}
}
}
}
if (((((this._x < 0) || (this._x > Stage.width)) || (this._y < 0)) || (this._y > Stage.height)) || (_root._currentframe == "game27")) {
_root.tama = _root.tama - 1;
this.removeMovieClip();
}
}
if (_root.fp < 20) {
_root.gotoAndStop("omoi");
}
vx = (_root._xmouse - _x) / 4;
vy = (_root._ymouse - _y) / 4;
_x = (_x + vx);
_y = (_y + vy);
_root.sx = _x;
_root.sy = _y;
if ((Math.abs(vx) > 1) || (Math.abs(vy) > 1)) {
_rotation = ((Math.atan2(vy, vx) * 180) / Math.PI);
}
if (sword_mc._visible) {
sword_mc._rotation = sword_mc._rotation + 20;
if (sword_mc._rotation == 180) {
sword_mc._rotation = 0;
_root.comboh = 0;
_root.combo = 0;
_root.hp = _root.hp - 7;
if (_root.hp < 0) {
se3.start();
_root.gotoAndStop("over27");
}
sword_mc._visible = false;
}
if (sword_mc._rotation == 20) {
se1.start();
}
}
if ((++tcnt) > tint) {
if (_root.tama < 5) {
tmc = _root.attachMovie("Tama", "tama" + tno, tno);
_root.tama = _root.tama + 1;
tmc.speed = random(12) + 4;
if (_root.fp < 30) {
tmc.speed = tmc.speed + 3;
}
tmc.hit_flag = false;
tamaPos(tmc);
tmc.onEnterFrame = tamaEvent;
if ((++tno) > 1000) {
tno = 0;
}
}
tcnt = 0;
}
tint = tint - 0.005;
if (tint < 1) {
tint = 1;
}
_root.tint = tint;
g = random(4);
if (_x < 40) {
_x = 40;
}
if (_x > 360) {
_x = 360;
}
if (_y < 40) {
_y = 40;
}
if (_y > 360) {
_y = 360;
}
if (_root.hp < 0) {
se3.start();
_root.gotoAndStop("over27");
}
}
onClipEvent (mouseDown) {
_root.comboh = 1;
sword_mc._visible = true;
}
Instance of Symbol 11 MovieClip [kai] "kai" in Frame 279
onClipEvent (enterFrame) {
if (_root.ball == 0) {
_root.kai._visible = false;
}
if (_root.ball == 1) {
_root.kai._visible = true;
_root.bai = 2;
}
}
on (keyPress "<Space>") {
if (_root.ball == 1) {
_root.kai._visible = false;
_root.hp = _root.hp + 100;
if (_root.hp > 100) {
_root.hp = 100;
}
_root.ball = 0;
_root.bai = 1;
}
}
Frame 280
Mouse.show();
_quality = "HIGH";
stop();
Instance of Symbol 456 MovieClip in Frame 280
onClipEvent (enterFrame) {
_x = _root.sx;
_y = _root.sy;
}
Instance of Symbol 460 MovieClip "spb" in Frame 280
onClipEvent (enterFrame) {
_root.spb._visible = false;
if (_root.bo == 1) {
_root.spb._visible = true;
play();
}
}
on (keyPress "<Space>") {
if (_root.bo == 1) {
_root.gotoAndStop("check");
}
}
Instance of Symbol 463 MovieClip in Frame 280
onClipEvent (enterFrame) {
if (_root.fp < 20) {
_root.gotoAndStop("omoi");
}
}
Frame 281
gotoAndPlay (1);
Frame 282
Mouse.show();
_quality = "HIGH";
stop();
Instance of Symbol 460 MovieClip "spb" in Frame 282
onClipEvent (enterFrame) {
_root.spb._visible = false;
if (_root.bo == 1) {
_root.spb._visible = true;
play();
}
}
on (keyPress "<Space>") {
if (_root.bo == 1) {
stopAllSounds();
_root.gotoAndStop("cbonus");
}
}
Instance of Symbol 1026 MovieClip in Frame 282
onClipEvent (enterFrame) {
if (_root.pass == 1) {
play();
}
}
Frame 283
_root.coin = 0;
_root.pass = 0;
_root.nug = 0;
_root.score = 0;
gotoAndPlay (1);
Frame 284
stop();
Frame 285
Mouse.hide();
stop();
Instance of Symbol 340 MovieClip in Frame 285
onClipEvent (enterFrame) {
if (_root.nug == 2) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
if (_root.nug == 3) {
_root.score = _root.score + Math.floor(_root.bonus / _root.fp);
_root.pass = 1;
_root.gotoAndStop("clear28");
}
}
Instance of Symbol 342 MovieClip in Frame 285
onClipEvent (enterFrame) {
if (_root.nug == 1) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
}
Instance of Symbol 344 MovieClip in Frame 285
onClipEvent (enterFrame) {
if (_root.nug == 0) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.tou = 100;
_root.nug = _root.nug + 1;
_root.ballh = _root.ballh + 1;
if (_root.ballh == 1) {
_root.ball = 1;
_root.ballh = _root.ballh + 1;
}
}
}
Instance of Symbol 440 MovieClip in Frame 285
onClipEvent (enterFrame) {
_xscale = _root.hp;
_root.hp = _root.hp + 0.27;
_root.hp = _root.hp - ((45 - _root.fp) / 100);
if (_root.hp > 100) {
_root.hp = 100;
}
}
Instance of Symbol 438 MovieClip in Frame 285
onClipEvent (enterFrame) {
if (_root.nug == 1) {
if (_root.bonush == 0) {
_root.score = _root.score + _root.bonus;
play();
}
}
if (_root.nug == 2) {
if (_root.bonush == 1) {
_root.score = _root.score + _root.bonus;
play();
}
}
if (_root.nug == 3) {
stop();
}
}
Instance of Symbol 453 MovieClip "game" in Frame 285
onClipEvent (load) {
_root.tama = 0;
_root.comboh = 0;
_root.combo = 0;
_root.bo = 0;
_root.exbonus = 0;
_root.sx = 0;
_root.sy = 0;
_root.bonush = 0;
_root.bai = 1;
_root.ballh = 0;
_root.bonus = 0;
_root.score = 0;
_root.ball = 0;
_root.shi = 0;
_root.hp = 100;
_root.tou = 100;
_root.nug = 0;
g = 0;
tno = 0;
tint = 21;
tcnt = 0;
_root.score = 0;
sword_mc._visible = false;
se = new Sound();
se1 = new Sound();
se2 = new Sound();
se3 = new Sound();
se3.attachSound("go");
se.attachSound("se_sword");
se1.attachSound("se_sword1");
se2.attachSound("miss");
}
onClipEvent (enterFrame) {
function tamaPos(tmc) {
switch (Math.floor(g)) {
case 0 :
tmc._x = 400;
tmc._y = Math.random() * 400;
tmc.deg = (Math.random() * 90) + 135;
return;
case 1 :
tmc._x = Math.random() * 400;
tmc._y = 400;
tmc.deg = (Math.random() * 90) + 225;
return;
case 2 :
tmc._x = 0;
tmc._y = Math.random() * 400;
tmc.deg = (Math.random() * 90) + 315;
return;
case 3 :
tmc._x = Math.random() * 400;
tmc._y = 0;
tmc.deg = (Math.random() * 90) + 45;
}
}
function tamaEvent() {
this._rotation = this._rotation + 0;
this._x = this._x + (this.speed * Math.cos((Math.PI/180) * this.deg));
this._y = this._y + (this.speed * Math.sin((Math.PI/180) * this.deg));
if (!this.hit_flag) {
if (sword_mc._visible && (this.hitTest(sword_mc))) {
this.deg = _rotation;
this.speed = 20;
this.hit_flag = true;
if (_root.comboh == 1) {
_root.combo = _root.combo + 1;
}
_root.score = _root.score + ((Math.floor(101 - _root.hp) * _root.bai) * _root.combo);
_root.bonus = _root.bonus + ((Math.floor(101 - _root.hp) * _root.bai) * _root.combo);
tint = tint + 0.07;
_root.tou = _root.tou - 2;
_root.score = _root.score + (_root.fp * _root.bai);
_root.bonus = _root.bonus + (_root.fp * _root.bai);
if (_root.fp > 39) {
_root.score = _root.score + ((50 * _root.bai) * _root.combo);
_root.bonus = _root.bonus + (50 * _root.bai);
}
_root.bonus = _root.bonus - (42 - _root.fp);
if (_root.bonus < 0) {
_root.bonus = 0;
}
if (_root.ball == 1) {
_root.exbonus = _root.exbonus + ((Math.floor(101 - _root.hp) * _root.bai) * _root.combo);
}
se.start();
} else if (this.hitTest(_x, _y, false)) {
_root.hp = _root.hp - 20;
_root.hpc = _root.hpc + 0.01;
if (_root.fp < 35) {
_root.hp = _root.hp - 10;
}
se2.start();
_root.bonus = _root.bonus - ((42 - _root.fp) * 100);
if (_root.bonus < 0) {
_root.bonus = 0;
}
if (_root.hp < 0) {
_root.shi = 1;
se3.start();
_root.gotoAndStop("over28");
}
if (_root.shi == 0) {
if ((_root.nug == 0) & (_root.tou == 100)) {
_root.tou = 100;
}
_root.tou = _root.tou + 0;
if (_root.tou > 100) {
_root.nug = _root.nug - 1;
_root.tou = 0;
}
}
}
}
if (((((this._x < 0) || (this._x > Stage.width)) || (this._y < 0)) || (this._y > Stage.height)) || (_root._currentframe == "game28")) {
_root.tama = _root.tama - 1;
this.removeMovieClip();
}
}
if (_root.fp < 20) {
_root.gotoAndStop("omoi");
}
vx = (_root._xmouse - _x) / 4;
vy = (_root._ymouse - _y) / 4;
_x = (_x + vx);
_y = (_y + vy);
_root.sx = _x;
_root.sy = _y;
if ((Math.abs(vx) > 1) || (Math.abs(vy) > 1)) {
_rotation = ((Math.atan2(vy, vx) * 180) / Math.PI);
}
if (sword_mc._visible) {
sword_mc._rotation = sword_mc._rotation + 20;
if (sword_mc._rotation == 180) {
sword_mc._rotation = 0;
_root.comboh = 0;
_root.combo = 0;
_root.hp = _root.hp - 7;
if (_root.hp < 0) {
se3.start();
_root.gotoAndStop("over28");
}
sword_mc._visible = false;
}
if (sword_mc._rotation == 20) {
se1.start();
}
}
if ((++tcnt) > tint) {
if (_root.tama < 5) {
tmc = _root.attachMovie("Tama", "tama" + tno, tno);
_root.tama = _root.tama + 1;
tmc.speed = random(12) + 4;
if (_root.fp < 30) {
tmc.speed = tmc.speed + 3;
}
tmc.hit_flag = false;
tamaPos(tmc);
tmc.onEnterFrame = tamaEvent;
if ((++tno) > 1000) {
tno = 0;
}
}
tcnt = 0;
}
tint = tint - 0.005;
if (tint < 1) {
tint = 1;
}
_root.tint = tint;
g = random(4);
if (_x < 40) {
_x = 40;
}
if (_x > 360) {
_x = 360;
}
if (_y < 40) {
_y = 40;
}
if (_y > 360) {
_y = 360;
}
if (_root.hp < 0) {
se3.start();
_root.gotoAndStop("over28");
}
}
onClipEvent (mouseDown) {
_root.comboh = 1;
sword_mc._visible = true;
}
Instance of Symbol 11 MovieClip [kai] "kai" in Frame 285
onClipEvent (enterFrame) {
if (_root.ball == 0) {
_root.kai._visible = false;
}
if (_root.ball == 1) {
_root.kai._visible = true;
_root.bai = 2;
}
}
on (keyPress "<Space>") {
if (_root.ball == 1) {
_root.kai._visible = false;
_root.hp = _root.hp + 100;
if (_root.hp > 100) {
_root.hp = 100;
}
_root.ball = 0;
_root.bai = 1;
}
}
Frame 286
Mouse.show();
_quality = "HIGH";
stop();
Instance of Symbol 456 MovieClip in Frame 286
onClipEvent (enterFrame) {
_x = _root.sx;
_y = _root.sy;
}
Instance of Symbol 460 MovieClip "spb" in Frame 286
onClipEvent (enterFrame) {
_root.spb._visible = false;
if (_root.bo == 1) {
_root.spb._visible = true;
play();
}
}
on (keyPress "<Space>") {
if (_root.bo == 1) {
_root.gotoAndStop("check");
}
}
Instance of Symbol 463 MovieClip in Frame 286
onClipEvent (enterFrame) {
if (_root.fp < 20) {
_root.gotoAndStop("omoi");
}
}
Frame 287
gotoAndPlay (1);
Frame 288
Mouse.show();
_quality = "HIGH";
stop();
Instance of Symbol 460 MovieClip "spb" in Frame 288
onClipEvent (enterFrame) {
_root.spb._visible = false;
if (_root.bo == 1) {
_root.spb._visible = true;
play();
}
}
on (keyPress "<Space>") {
if (_root.bo == 1) {
stopAllSounds();
_root.gotoAndStop("cbonus");
}
}
Instance of Symbol 1040 MovieClip in Frame 288
onClipEvent (enterFrame) {
if (_root.pass == 1) {
play();
}
}
Frame 289
_root.coin = 0;
_root.pass = 0;
_root.nug = 0;
_root.score = 0;
gotoAndPlay (1);
Frame 290
stop();
Instance of Symbol 353 MovieClip in Frame 290
onClipEvent (enterFrame) {
if (_root.nug == 2) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
if (_root.nug == 3) {
_root.score = _root.score + Math.floor(_root.bonus / _root.fp);
_root.pass = 1;
_root.passw = "PASS:Lilyan";
_root.gotoAndStop("clear29");
}
}
Instance of Symbol 355 MovieClip in Frame 290
onClipEvent (enterFrame) {
if (_root.nug == 1) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
}
Instance of Symbol 357 MovieClip in Frame 290
onClipEvent (enterFrame) {
if (_root.nug == 0) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.tou = 100;
_root.nug = _root.nug + 1;
_root.ballh = _root.ballh + 1;
if (_root.ballh == 1) {
_root.ball = 1;
_root.ballh = _root.ballh + 1;
}
}
}
Frame 291
Mouse.hide();
stop();
Instance of Symbol 353 MovieClip in Frame 291
onClipEvent (enterFrame) {
if (_root.nug == 2) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
if (_root.nug == 3) {
_root.score = _root.score + Math.floor(_root.bonus / _root.fp);
_root.pass = 1;
_root.passw = "PASS:Lilyan";
_root.gotoAndStop("clear29");
}
}
Instance of Symbol 355 MovieClip in Frame 291
onClipEvent (enterFrame) {
if (_root.nug == 1) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
}
Instance of Symbol 357 MovieClip in Frame 291
onClipEvent (enterFrame) {
if (_root.nug == 0) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.tou = 100;
_root.nug = _root.nug + 1;
_root.ballh = _root.ballh + 1;
if (_root.ballh == 1) {
_root.ball = 1;
_root.ballh = _root.ballh + 1;
}
}
}
Instance of Symbol 440 MovieClip in Frame 291
onClipEvent (enterFrame) {
_xscale = _root.hp;
_root.hp = _root.hp + 0.27;
_root.hp = _root.hp - ((45 - _root.fp) / 100);
if (_root.hp > 100) {
_root.hp = 100;
}
}
Instance of Symbol 438 MovieClip in Frame 291
onClipEvent (enterFrame) {
if (_root.nug == 1) {
if (_root.bonush == 0) {
_root.score = _root.score + _root.bonus;
play();
}
}
if (_root.nug == 2) {
if (_root.bonush == 1) {
_root.score = _root.score + _root.bonus;
play();
}
}
if (_root.nug == 3) {
stop();
}
}
Instance of Symbol 453 MovieClip "game" in Frame 291
onClipEvent (load) {
_root.tama = 0;
_root.comboh = 0;
_root.combo = 0;
_root.bo = 0;
_root.exbonus = 0;
_root.sx = 0;
_root.sy = 0;
_root.bonush = 0;
_root.bai = 1;
_root.ballh = 0;
_root.bonus = 0;
_root.score = 0;
_root.ball = 0;
_root.shi = 0;
_root.hp = 100;
_root.tou = 100;
_root.nug = 0;
g = 0;
tno = 0;
tint = 21;
tcnt = 0;
_root.score = 0;
sword_mc._visible = false;
se = new Sound();
se1 = new Sound();
se2 = new Sound();
se3 = new Sound();
se3.attachSound("go");
se.attachSound("se_sword");
se1.attachSound("se_sword1");
se2.attachSound("miss");
}
onClipEvent (enterFrame) {
function tamaPos(tmc) {
switch (Math.floor(g)) {
case 0 :
tmc._x = 400;
tmc._y = Math.random() * 400;
tmc.deg = (Math.random() * 90) + 135;
return;
case 1 :
tmc._x = Math.random() * 400;
tmc._y = 400;
tmc.deg = (Math.random() * 90) + 225;
return;
case 2 :
tmc._x = 0;
tmc._y = Math.random() * 400;
tmc.deg = (Math.random() * 90) + 315;
return;
case 3 :
tmc._x = Math.random() * 400;
tmc._y = 0;
tmc.deg = (Math.random() * 90) + 45;
}
}
function tamaEvent() {
this._rotation = this._rotation + 0;
this._x = this._x + (this.speed * Math.cos((Math.PI/180) * this.deg));
this._y = this._y + (this.speed * Math.sin((Math.PI/180) * this.deg));
if (!this.hit_flag) {
if (sword_mc._visible && (this.hitTest(sword_mc))) {
this.deg = _rotation;
this.speed = 20;
this.hit_flag = true;
if (_root.comboh == 1) {
_root.combo = _root.combo + 1;
}
_root.score = _root.score + ((Math.floor(101 - _root.hp) * _root.bai) * _root.combo);
_root.bonus = _root.bonus + ((Math.floor(101 - _root.hp) * _root.bai) * _root.combo);
tint = tint + 0.07;
_root.tou = _root.tou - 2;
_root.score = _root.score + (_root.fp * _root.bai);
_root.bonus = _root.bonus + (_root.fp * _root.bai);
if (_root.fp > 39) {
_root.score = _root.score + ((50 * _root.bai) * _root.combo);
_root.bonus = _root.bonus + (50 * _root.bai);
}
_root.bonus = _root.bonus - (42 - _root.fp);
if (_root.bonus < 0) {
_root.bonus = 0;
}
if (_root.ball == 1) {
_root.exbonus = _root.exbonus + ((Math.floor(101 - _root.hp) * _root.bai) * _root.combo);
}
se.start();
} else if (this.hitTest(_x, _y, false)) {
_root.hp = _root.hp - 20;
_root.hpc = _root.hpc + 0.01;
if (_root.fp < 35) {
_root.hp = _root.hp - 10;
}
se2.start();
_root.bonus = _root.bonus - ((42 - _root.fp) * 100);
if (_root.bonus < 0) {
_root.bonus = 0;
}
if (_root.hp < 0) {
_root.shi = 1;
se3.start();
_root.gotoAndStop("over29");
}
if (_root.shi == 0) {
if ((_root.nug == 0) & (_root.tou == 100)) {
_root.tou = 100;
}
_root.tou = _root.tou + 0;
if (_root.tou > 100) {
_root.nug = _root.nug - 1;
_root.tou = 0;
}
}
}
}
if (((((this._x < 0) || (this._x > Stage.width)) || (this._y < 0)) || (this._y > Stage.height)) || (_root._currentframe == "game29")) {
_root.tama = _root.tama - 1;
this.removeMovieClip();
}
}
if (_root.fp < 20) {
_root.gotoAndStop("omoi");
}
vx = (_root._xmouse - _x) / 4;
vy = (_root._ymouse - _y) / 4;
_x = (_x + vx);
_y = (_y + vy);
_root.sx = _x;
_root.sy = _y;
if ((Math.abs(vx) > 1) || (Math.abs(vy) > 1)) {
_rotation = ((Math.atan2(vy, vx) * 180) / Math.PI);
}
if (sword_mc._visible) {
sword_mc._rotation = sword_mc._rotation + 20;
if (sword_mc._rotation == 180) {
sword_mc._rotation = 0;
_root.comboh = 0;
_root.combo = 0;
_root.hp = _root.hp - 7;
if (_root.hp < 0) {
se3.start();
_root.gotoAndStop("over29");
}
sword_mc._visible = false;
}
if (sword_mc._rotation == 20) {
se1.start();
}
}
if ((++tcnt) > tint) {
if (_root.tama < 5) {
tmc = _root.attachMovie("Tama", "tama" + tno, tno);
_root.tama = _root.tama + 1;
tmc.speed = random(12) + 4;
if (_root.fp < 30) {
tmc.speed = tmc.speed + 3;
}
tmc.hit_flag = false;
tamaPos(tmc);
tmc.onEnterFrame = tamaEvent;
if ((++tno) > 1000) {
tno = 0;
}
}
tcnt = 0;
}
tint = tint - 0.005;
if (tint < 1) {
tint = 1;
}
_root.tint = tint;
g = random(4);
if (_x < 40) {
_x = 40;
}
if (_x > 360) {
_x = 360;
}
if (_y < 40) {
_y = 40;
}
if (_y > 360) {
_y = 360;
}
if (_root.hp < 0) {
se3.start();
_root.gotoAndStop("over29");
}
}
onClipEvent (mouseDown) {
_root.comboh = 1;
sword_mc._visible = true;
}
Instance of Symbol 11 MovieClip [kai] "kai" in Frame 291
onClipEvent (enterFrame) {
if (_root.ball == 0) {
_root.kai._visible = false;
}
if (_root.ball == 1) {
_root.kai._visible = true;
_root.bai = 2;
}
}
on (keyPress "<Space>") {
if (_root.ball == 1) {
_root.kai._visible = false;
_root.hp = _root.hp + 100;
if (_root.hp > 100) {
_root.hp = 100;
}
_root.ball = 0;
_root.bai = 1;
}
}
Frame 292
Mouse.show();
_quality = "HIGH";
stop();
Instance of Symbol 456 MovieClip in Frame 292
onClipEvent (enterFrame) {
_x = _root.sx;
_y = _root.sy;
}
Instance of Symbol 460 MovieClip "spb" in Frame 292
onClipEvent (enterFrame) {
_root.spb._visible = false;
if (_root.bo == 1) {
_root.spb._visible = true;
play();
}
}
on (keyPress "<Space>") {
if (_root.bo == 1) {
_root.gotoAndStop("check");
}
}
Instance of Symbol 463 MovieClip in Frame 292
onClipEvent (enterFrame) {
if (_root.fp < 20) {
_root.gotoAndStop("omoi");
}
}
Frame 293
gotoAndPlay (1);
Frame 294
Mouse.show();
_quality = "HIGH";
stop();
Instance of Symbol 460 MovieClip "spb" in Frame 294
onClipEvent (enterFrame) {
_root.spb._visible = false;
if (_root.bo == 1) {
_root.spb._visible = true;
play();
}
}
on (keyPress "<Space>") {
if (_root.bo == 1) {
stopAllSounds();
_root.gotoAndStop("cbonus");
}
}
Frame 295
_root.coin = 0;
_root.pass = 0;
_root.nug = 0;
_root.score = 0;
gotoAndPlay (1);
Frame 296
stop();
Instance of Symbol 364 MovieClip in Frame 296
onClipEvent (enterFrame) {
if (_root.nug == 2) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
if (_root.nug == 3) {
_root.score = _root.score + Math.floor(_root.bonus / _root.fp);
_root.pass = 1;
_root.passw = "PASS:NandA";
_root.gotoAndStop("clear30");
}
}
Instance of Symbol 366 MovieClip in Frame 296
onClipEvent (enterFrame) {
if (_root.nug == 1) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
}
Instance of Symbol 368 MovieClip in Frame 296
onClipEvent (enterFrame) {
if (_root.nug == 0) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.tou = 100;
_root.nug = _root.nug + 1;
_root.ballh = _root.ballh + 1;
if (_root.ballh == 1) {
_root.ball = 1;
_root.ballh = _root.ballh + 1;
}
}
}
Frame 297
Mouse.hide();
stop();
Instance of Symbol 364 MovieClip in Frame 297
onClipEvent (enterFrame) {
if (_root.nug == 2) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
if (_root.nug == 3) {
_root.score = _root.score + Math.floor(_root.bonus / _root.fp);
_root.pass = 1;
_root.passw = "PASS:NandA";
_root.gotoAndStop("clear30");
}
}
Instance of Symbol 366 MovieClip in Frame 297
onClipEvent (enterFrame) {
if (_root.nug == 1) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
}
Instance of Symbol 368 MovieClip in Frame 297
onClipEvent (enterFrame) {
if (_root.nug == 0) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.tou = 100;
_root.nug = _root.nug + 1;
_root.ballh = _root.ballh + 1;
if (_root.ballh == 1) {
_root.ball = 1;
_root.ballh = _root.ballh + 1;
}
}
}
Instance of Symbol 440 MovieClip in Frame 297
onClipEvent (enterFrame) {
_xscale = _root.hp;
_root.hp = _root.hp + 0.27;
_root.hp = _root.hp - ((45 - _root.fp) / 100);
if (_root.hp > 100) {
_root.hp = 100;
}
}
Instance of Symbol 438 MovieClip in Frame 297
onClipEvent (enterFrame) {
if (_root.nug == 1) {
if (_root.bonush == 0) {
_root.score = _root.score + _root.bonus;
play();
}
}
if (_root.nug == 2) {
if (_root.bonush == 1) {
_root.score = _root.score + _root.bonus;
play();
}
}
if (_root.nug == 3) {
stop();
}
}
Instance of Symbol 453 MovieClip "game" in Frame 297
onClipEvent (load) {
_root.tama = 0;
_root.comboh = 0;
_root.combo = 0;
_root.bo = 0;
_root.exbonus = 0;
_root.sx = 0;
_root.sy = 0;
_root.bonush = 0;
_root.bai = 1;
_root.ballh = 0;
_root.bonus = 0;
_root.score = 0;
_root.ball = 0;
_root.shi = 0;
_root.hp = 100;
_root.tou = 100;
_root.nug = 0;
g = 0;
tno = 0;
tint = 21;
tcnt = 0;
_root.score = 0;
sword_mc._visible = false;
se = new Sound();
se1 = new Sound();
se2 = new Sound();
se3 = new Sound();
se3.attachSound("go");
se.attachSound("se_sword");
se1.attachSound("se_sword1");
se2.attachSound("miss");
}
onClipEvent (enterFrame) {
function tamaPos(tmc) {
switch (Math.floor(g)) {
case 0 :
tmc._x = 400;
tmc._y = Math.random() * 400;
tmc.deg = (Math.random() * 90) + 135;
return;
case 1 :
tmc._x = Math.random() * 400;
tmc._y = 400;
tmc.deg = (Math.random() * 90) + 225;
return;
case 2 :
tmc._x = 0;
tmc._y = Math.random() * 400;
tmc.deg = (Math.random() * 90) + 315;
return;
case 3 :
tmc._x = Math.random() * 400;
tmc._y = 0;
tmc.deg = (Math.random() * 90) + 45;
}
}
function tamaEvent() {
this._rotation = this._rotation + 0;
this._x = this._x + (this.speed * Math.cos((Math.PI/180) * this.deg));
this._y = this._y + (this.speed * Math.sin((Math.PI/180) * this.deg));
if (!this.hit_flag) {
if (sword_mc._visible && (this.hitTest(sword_mc))) {
this.deg = _rotation;
this.speed = 20;
this.hit_flag = true;
if (_root.comboh == 1) {
_root.combo = _root.combo + 1;
}
_root.score = _root.score + ((Math.floor(101 - _root.hp) * _root.bai) * _root.combo);
_root.bonus = _root.bonus + ((Math.floor(101 - _root.hp) * _root.bai) * _root.combo);
tint = tint + 0.07;
_root.tou = _root.tou - 2;
_root.score = _root.score + (_root.fp * _root.bai);
_root.bonus = _root.bonus + (_root.fp * _root.bai);
if (_root.fp > 39) {
_root.score = _root.score + ((50 * _root.bai) * _root.combo);
_root.bonus = _root.bonus + (50 * _root.bai);
}
_root.bonus = _root.bonus - (42 - _root.fp);
if (_root.bonus < 0) {
_root.bonus = 0;
}
if (_root.ball == 1) {
_root.exbonus = _root.exbonus + ((Math.floor(101 - _root.hp) * _root.bai) * _root.combo);
}
se.start();
} else if (this.hitTest(_x, _y, false)) {
_root.hp = _root.hp - 20;
_root.hpc = _root.hpc + 0.01;
if (_root.fp < 35) {
_root.hp = _root.hp - 10;
}
se2.start();
_root.bonus = _root.bonus - ((42 - _root.fp) * 100);
if (_root.bonus < 0) {
_root.bonus = 0;
}
if (_root.hp < 0) {
_root.shi = 1;
se3.start();
_root.gotoAndStop("over30");
}
if (_root.shi == 0) {
if ((_root.nug == 0) & (_root.tou == 100)) {
_root.tou = 100;
}
_root.tou = _root.tou + 0;
if (_root.tou > 100) {
_root.nug = _root.nug - 1;
_root.tou = 0;
}
}
}
}
if (((((this._x < 0) || (this._x > Stage.width)) || (this._y < 0)) || (this._y > Stage.height)) || (_root._currentframe == "game30")) {
_root.tama = _root.tama - 1;
this.removeMovieClip();
}
}
_root.nadbon = _root.bonus;
if (_root.nadbon > 32000) {
_root.nadag = 1;
}
if (_root.fp < 20) {
_root.gotoAndStop("omoi");
}
vx = (_root._xmouse - _x) / 4;
vy = (_root._ymouse - _y) / 4;
_x = (_x + vx);
_y = (_y + vy);
_root.sx = _x;
_root.sy = _y;
if ((Math.abs(vx) > 1) || (Math.abs(vy) > 1)) {
_rotation = ((Math.atan2(vy, vx) * 180) / Math.PI);
}
if (sword_mc._visible) {
sword_mc._rotation = sword_mc._rotation + 20;
if (sword_mc._rotation == 180) {
sword_mc._rotation = 0;
_root.comboh = 0;
_root.combo = 0;
_root.hp = _root.hp - 7;
if (_root.hp < 0) {
se3.start();
_root.gotoAndStop("over30");
}
sword_mc._visible = false;
}
if (sword_mc._rotation == 20) {
se1.start();
}
}
if ((++tcnt) > tint) {
if (_root.tama < 5) {
tmc = _root.attachMovie("Tama", "tama" + tno, tno);
_root.tama = _root.tama + 1;
tmc.speed = random(12) + 4;
if (_root.fp < 30) {
tmc.speed = tmc.speed + 3;
}
tmc.hit_flag = false;
tamaPos(tmc);
tmc.onEnterFrame = tamaEvent;
if ((++tno) > 1000) {
tno = 0;
}
}
tcnt = 0;
}
tint = tint - 0.005;
if (tint < 1) {
tint = 1;
}
_root.tint = tint;
g = random(4);
if (_x < 40) {
_x = 40;
}
if (_x > 360) {
_x = 360;
}
if (_y < 40) {
_y = 40;
}
if (_y > 360) {
_y = 360;
}
if (_root.hp < 0) {
se3.start();
_root.gotoAndStop("over30");
}
}
onClipEvent (mouseDown) {
_root.comboh = 1;
sword_mc._visible = true;
}
Instance of Symbol 11 MovieClip [kai] "kai" in Frame 297
onClipEvent (enterFrame) {
if (_root.ball == 0) {
_root.kai._visible = false;
}
if (_root.ball == 1) {
_root.kai._visible = true;
_root.bai = 2;
}
}
on (keyPress "<Space>") {
if (_root.ball == 1) {
_root.kai._visible = false;
_root.hp = _root.hp + 100;
if (_root.hp > 100) {
_root.hp = 100;
}
_root.ball = 0;
_root.bai = 1;
}
}
Frame 298
Mouse.show();
_quality = "HIGH";
stop();
Instance of Symbol 456 MovieClip in Frame 298
onClipEvent (enterFrame) {
_x = _root.sx;
_y = _root.sy;
}
Instance of Symbol 460 MovieClip "spb" in Frame 298
onClipEvent (enterFrame) {
_root.spb._visible = false;
if (_root.bo == 1) {
_root.spb._visible = true;
play();
}
}
on (keyPress "<Space>") {
if (_root.bo == 1) {
_root.gotoAndStop("check");
}
}
Instance of Symbol 463 MovieClip in Frame 298
onClipEvent (enterFrame) {
if (_root.fp < 20) {
_root.gotoAndStop("omoi");
}
}
Frame 299
gotoAndPlay (1);
Frame 300
Mouse.show();
_quality = "HIGH";
stop();
Instance of Symbol 460 MovieClip "spb" in Frame 300
onClipEvent (enterFrame) {
_root.spb._visible = false;
if (_root.bo == 1) {
_root.spb._visible = true;
play();
}
}
on (keyPress "<Space>") {
if (_root.bo == 1) {
stopAllSounds();
_root.gotoAndStop("cbonus");
}
}
Frame 301
_root.coin = 0;
_root.pass = 0;
_root.nug = 0;
_root.score = 0;
gotoAndPlay (1);
Frame 302
stop();
Frame 303
Mouse.hide();
stop();
Instance of Symbol 379 MovieClip in Frame 303
onClipEvent (enterFrame) {
if (_root.nug == 2) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
if (_root.nug == 3) {
_root.score = _root.score + Math.floor(_root.bonus / _root.fp);
_root.pass = 1;
_root.passw = "PASS:NaDaDa";
_root.gotoAndStop("clear31");
}
}
Instance of Symbol 381 MovieClip in Frame 303
onClipEvent (enterFrame) {
if (_root.nug == 1) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
}
Instance of Symbol 383 MovieClip in Frame 303
onClipEvent (enterFrame) {
if (_root.nug == 0) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.tou = 100;
_root.nug = _root.nug + 1;
_root.ballh = _root.ballh + 1;
if (_root.ballh == 1) {
_root.ball = 1;
_root.ballh = _root.ballh + 1;
}
}
}
Instance of Symbol 440 MovieClip in Frame 303
onClipEvent (enterFrame) {
_xscale = _root.hp;
_root.hp = _root.hp + 0.27;
_root.hp = _root.hp - ((45 - _root.fp) / 100);
if (_root.hp > 100) {
_root.hp = 100;
}
if (_root.nad == 0) {
_root.hp = _root.hp - 50;
}
}
Instance of Symbol 438 MovieClip in Frame 303
onClipEvent (enterFrame) {
if (_root.nug == 1) {
if (_root.bonush == 0) {
_root.score = _root.score + _root.bonus;
play();
}
}
if (_root.nug == 2) {
if (_root.bonush == 1) {
_root.score = _root.score + _root.bonus;
play();
}
}
if (_root.nug == 3) {
stop();
}
}
Instance of Symbol 453 MovieClip "game" in Frame 303
onClipEvent (load) {
_root.tama = 0;
_root.comboh = 0;
_root.combo = 0;
_root.bo = 0;
_root.exbonus = 0;
_root.sx = 0;
_root.sy = 0;
_root.bonush = 0;
_root.bai = 1;
_root.ballh = 0;
_root.bonus = 0;
_root.score = 0;
_root.ball = 0;
_root.shi = 0;
_root.hp = 100;
_root.tou = 100;
_root.nug = 0;
g = 0;
tno = 0;
tint = 21;
tcnt = 0;
_root.score = 0;
sword_mc._visible = false;
se = new Sound();
se1 = new Sound();
se2 = new Sound();
se3 = new Sound();
se3.attachSound("go");
se.attachSound("se_sword");
se1.attachSound("se_sword1");
se2.attachSound("miss");
}
onClipEvent (enterFrame) {
function tamaPos(tmc) {
switch (Math.floor(g)) {
case 0 :
tmc._x = 400;
tmc._y = Math.random() * 400;
tmc.deg = (Math.random() * 90) + 135;
return;
case 1 :
tmc._x = Math.random() * 400;
tmc._y = 400;
tmc.deg = (Math.random() * 90) + 225;
return;
case 2 :
tmc._x = 0;
tmc._y = Math.random() * 400;
tmc.deg = (Math.random() * 90) + 315;
return;
case 3 :
tmc._x = Math.random() * 400;
tmc._y = 0;
tmc.deg = (Math.random() * 90) + 45;
}
}
function tamaEvent() {
this._rotation = this._rotation + 0;
this._x = this._x + (this.speed * Math.cos((Math.PI/180) * this.deg));
this._y = this._y + (this.speed * Math.sin((Math.PI/180) * this.deg));
if (!this.hit_flag) {
if (sword_mc._visible && (this.hitTest(sword_mc))) {
this.deg = _rotation;
this.speed = 20;
this.hit_flag = true;
if (_root.comboh == 1) {
_root.combo = _root.combo + 1;
}
_root.score = _root.score + ((Math.floor(101 - _root.hp) * _root.bai) * _root.combo);
_root.bonus = _root.bonus + ((Math.floor(101 - _root.hp) * _root.bai) * _root.combo);
tint = tint + 0.07;
_root.tou = _root.tou - 2;
_root.score = _root.score + (_root.fp * _root.bai);
_root.bonus = _root.bonus + (_root.fp * _root.bai);
if (_root.fp > 39) {
_root.score = _root.score + ((50 * _root.bai) * _root.combo);
_root.bonus = _root.bonus + (50 * _root.bai);
}
_root.bonus = _root.bonus - (42 - _root.fp);
if (_root.bonus < 0) {
_root.bonus = 0;
}
if (_root.ball == 1) {
_root.exbonus = _root.exbonus + ((Math.floor(101 - _root.hp) * _root.bai) * _root.combo);
}
se.start();
} else if (this.hitTest(_x, _y, false)) {
_root.hp = _root.hp - 20;
_root.hpc = _root.hpc + 0.01;
if (_root.fp < 35) {
_root.hp = _root.hp - 10;
}
se2.start();
_root.bonus = _root.bonus - ((42 - _root.fp) * 100);
if (_root.bonus < 0) {
_root.bonus = 0;
}
if (_root.hp < 0) {
_root.shi = 1;
se3.start();
_root.gotoAndStop("over31");
}
if (_root.shi == 0) {
if ((_root.nug == 0) & (_root.tou == 100)) {
_root.tou = 100;
}
_root.tou = _root.tou + 0;
if (_root.tou > 100) {
_root.nug = _root.nug - 1;
_root.tou = 0;
}
}
}
}
if (((((this._x < 0) || (this._x > Stage.width)) || (this._y < 0)) || (this._y > Stage.height)) || (_root._currentframe == "game31")) {
_root.tama = _root.tama - 1;
this.removeMovieClip();
}
}
if (_root.fp < 20) {
_root.gotoAndStop("omoi");
}
vx = (_root._xmouse - _x) / 4;
vy = (_root._ymouse - _y) / 4;
_x = (_x + vx);
_y = (_y + vy);
_root.sx = _x;
_root.sy = _y;
if ((Math.abs(vx) > 1) || (Math.abs(vy) > 1)) {
_rotation = ((Math.atan2(vy, vx) * 180) / Math.PI);
}
if (sword_mc._visible) {
sword_mc._rotation = sword_mc._rotation + 20;
if (sword_mc._rotation == 180) {
sword_mc._rotation = 0;
_root.comboh = 0;
_root.combo = 0;
_root.hp = _root.hp - 7;
if (_root.hp < 0) {
se3.start();
_root.gotoAndStop("over31");
}
sword_mc._visible = false;
}
if (sword_mc._rotation == 20) {
se1.start();
}
}
if ((++tcnt) > tint) {
if (_root.tama < 5) {
tmc = _root.attachMovie("Tama", "tama" + tno, tno);
_root.tama = _root.tama + 1;
tmc.speed = random(12) + 4;
if (_root.fp < 30) {
tmc.speed = tmc.speed + 3;
}
tmc.hit_flag = false;
tamaPos(tmc);
tmc.onEnterFrame = tamaEvent;
if ((++tno) > 1000) {
tno = 0;
}
}
tcnt = 0;
}
tint = tint - 0.005;
if (tint < 1) {
tint = 1;
}
_root.tint = tint;
g = random(4);
if (_x < 40) {
_x = 40;
}
if (_x > 360) {
_x = 360;
}
if (_y < 40) {
_y = 40;
}
if (_y > 360) {
_y = 360;
}
if (_root.hp < 0) {
se3.start();
_root.gotoAndStop("over31");
}
}
onClipEvent (mouseDown) {
_root.comboh = 1;
sword_mc._visible = true;
}
Instance of Symbol 11 MovieClip [kai] "kai" in Frame 303
onClipEvent (enterFrame) {
if (_root.ball == 0) {
_root.kai._visible = false;
}
if (_root.ball == 1) {
_root.kai._visible = true;
_root.bai = 2;
}
}
on (keyPress "<Space>") {
if (_root.ball == 1) {
_root.kai._visible = false;
_root.hp = _root.hp + 100;
if (_root.hp > 100) {
_root.hp = 100;
}
_root.ball = 0;
_root.bai = 1;
}
}
Frame 304
Mouse.show();
_quality = "HIGH";
stop();
Instance of Symbol 456 MovieClip in Frame 304
onClipEvent (enterFrame) {
_x = _root.sx;
_y = _root.sy;
}
Instance of Symbol 460 MovieClip "spb" in Frame 304
onClipEvent (enterFrame) {
_root.spb._visible = false;
if (_root.bo == 1) {
_root.spb._visible = true;
play();
}
}
on (keyPress "<Space>") {
if (_root.bo == 1) {
_root.gotoAndStop("check");
}
}
Instance of Symbol 463 MovieClip in Frame 304
onClipEvent (enterFrame) {
if (_root.fp < 20) {
_root.gotoAndStop("omoi");
}
}
Frame 305
gotoAndPlay (1);
Frame 306
Mouse.show();
_quality = "HIGH";
stop();
Instance of Symbol 460 MovieClip "spb" in Frame 306
onClipEvent (enterFrame) {
_root.spb._visible = false;
if (_root.bo == 1) {
_root.spb._visible = true;
play();
}
}
on (keyPress "<Space>") {
if (_root.bo == 1) {
stopAllSounds();
_root.gotoAndStop("cbonus");
}
}
Symbol 9 MovieClip [Tama] Frame 1
t = random(3);
if (t < 3) {
gotoAndPlay (4);
}
if (t < 2) {
gotoAndPlay (2);
}
if (t < 1) {
gotoAndPlay (3);
}
Symbol 9 MovieClip [Tama] Frame 2
stop();
Symbol 9 MovieClip [Tama] Frame 3
stop();
Symbol 9 MovieClip [Tama] Frame 4
stop();
Symbol 21 MovieClip Frame 1
stop();
Symbol 21 MovieClip Frame 2
stop();
Symbol 21 MovieClip Frame 3
stop();
Symbol 21 MovieClip Frame 4
stop();
Symbol 35 Button
on (press) {
gotoAndStop (4);
}
Symbol 36 Button
on (press) {
gotoAndStop (37);
}
Symbol 48 MovieClip Frame 1
stop();
Symbol 48 MovieClip Frame 2
stop();
Symbol 48 MovieClip Frame 3
stop();
Symbol 48 MovieClip Frame 4
stop();
Symbol 56 Button
on (press) {
gotoAndStop (5);
}
Symbol 57 Button
on (press) {
gotoAndStop (3);
}
Symbol 61 MovieClip Frame 1
stop();
Symbol 61 MovieClip Frame 2
stop();
Symbol 65 Button
on (press) {
gotoAndStop (6);
}
on (keyPress "!") {
stopAllSounds();
_root.coin = 1;
gotoAndStop (176);
}
Symbol 77 Button
on (press) {
gotoAndStop (7);
}
Symbol 90 Button
on (press) {
gotoAndStop (8);
}
Symbol 91 Button
on (press) {
gotoAndStop (6);
}
Symbol 102 Button
on (press) {
gotoAndStop (9);
}
Symbol 113 Button
on (press) {
gotoAndStop (10);
}
Symbol 125 Button
on (press) {
gotoAndStop (11);
}
Symbol 135 Button
on (press) {
gotoAndStop (12);
}
Symbol 136 Button
on (press) {
gotoAndStop (10);
}
Symbol 148 Button
on (press) {
gotoAndStop (13);
}
Symbol 157 Button
on (press) {
gotoAndStop (14);
}
Symbol 168 Button
on (press) {
gotoAndStop (15);
}
Symbol 179 Button
on (press) {
gotoAndStop (16);
}
Symbol 190 Button
on (press) {
gotoAndStop (17);
}
Symbol 201 Button
on (press) {
gotoAndStop (18);
}
Symbol 202 Button
on (press) {
gotoAndStop (16);
}
Symbol 211 Button
on (press) {
if (_root.d == 1) {
stopAllSounds();
_root.coin = 1;
gotoAndPlay (212);
}
}
Symbol 214 Button
on (press) {
gotoAndStop (19);
}
Symbol 221 Button
on (press) {
if (_root.d == 1) {
stopAllSounds();
_root.coin = 1;
gotoAndPlay (218);
}
}
Symbol 222 Button
on (press) {
gotoAndStop (20);
}
Symbol 233 Button
on (press) {
gotoAndStop (21);
}
Symbol 244 Button
on (press) {
gotoAndStop (22);
}
Symbol 255 Button
on (press) {
gotoAndStop (23);
}
Symbol 263 Button
on (press) {
gotoAndStop (24);
}
Symbol 272 Button
on (press) {
gotoAndStop (25);
}
Symbol 283 Button
on (press) {
gotoAndStop (26);
}
Symbol 295 Button
on (press) {
if (_root.total > 1000000) {
_root.hika = 1;
stopAllSounds();
_root.coin = 1;
gotoAndPlay (260);
}
}
Symbol 297 Button
on (press) {
gotoAndStop (27);
}
Symbol 309 Button
on (press) {
if (_root.hik == 1) {
stopAllSounds();
_root.coin = 1;
gotoAndPlay (266);
}
}
Symbol 310 Button
on (press) {
gotoAndStop (28);
}
Symbol 322 Button
on (press) {
gotoAndStop (29);
}
Symbol 335 Button
on (press) {
if (_root.total > 3000000) {
_root.diac = 1;
stopAllSounds();
_root.coin = 1;
gotoAndPlay (278);
}
}
Symbol 337 Button
on (press) {
gotoAndStop (30);
}
Symbol 348 Button
on (press) {
gotoAndStop (31);
}
Symbol 359 Button
on (press) {
gotoAndStop (32);
}
Symbol 374 Button
on (press) {
gotoAndStop (33);
}
Symbol 390 Button
on (press) {
if (_root.nadag == 1) {
_root.nad = 1;
stopAllSounds();
_root.coin = 1;
gotoAndPlay (302);
}
}
Symbol 391 Button
on (press) {
gotoAndStop (37);
}
Instance of Symbol 21 MovieClip in Symbol 398 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 23 MovieClip in Symbol 398 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.nug == 2) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
}
Instance of Symbol 25 MovieClip in Symbol 398 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.nug == 1) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.nug = _root.nug + 1;
}
}
Instance of Symbol 27 MovieClip in Symbol 398 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.nug == 0) {
_alpha = _root.tou;
}
if (_root.tou < 0) {
_root.tou = 100;
_root.nug = _root.nug + 1;
}
}
Symbol 398 MovieClip Frame 86
_root.cha = 1;
Symbol 406 MovieClip Frame 86
_root.cha = 1;
Symbol 409 Button
on (press) {
_root.coin = 1;
cha = Math.random() * 17;
if (cha < 17) {
gotoAndPlay (296);
}
if (cha < 16) {
gotoAndPlay (290);
}
if (cha < 15) {
gotoAndPlay (284);
}
if (cha < 14) {
gotoAndPlay (272);
}
if (cha < 13) {
gotoAndPlay (248);
}
if (cha < 12) {
gotoAndPlay (242);
}
if (cha < 11) {
gotoAndPlay (236);
}
if (cha < 10) {
gotoAndPlay (230);
}
if (cha < 9) {
gotoAndPlay (224);
}
if (cha < 8) {
gotoAndPlay (206);
}
if (cha < 7) {
gotoAndPlay (194);
}
if (cha < 6) {
gotoAndPlay (188);
}
if (cha < 5.1) {
gotoAndPlay (182);
}
if (cha < 5) {
gotoAndPlay (158);
}
if (cha < 4.6) {
gotoAndPlay (164);
}
if (cha < 4.5) {
gotoAndPlay (152);
}
if (cha < 4.1) {
gotoAndPlay (170);
}
if (cha < 4) {
gotoAndPlay (146);
}
if (cha < 3) {
gotoAndPlay (134);
}
if (cha < 2) {
gotoAndPlay (43);
}
if (cha < 1) {
gotoAndPlay (38);
}
}
Symbol 411 Button
on (press) {
_root.coin = 1;
gotoAndPlay (51);
}
Symbol 413 Button
on (press) {
_root.coin = 1;
gotoAndPlay (54);
}
Symbol 420 Button
on (release) {
_quality = "LOW";
}
Symbol 421 Button
on (release) {
_quality = "HIGH";
}
Symbol 422 Button
on (release) {
_quality = "MEDIUM";
}
Symbol 423 Button
on (press) {
_root.coin = 1;
gotoAndPlay (131);
}
Symbol 428 Button
on (press) {
gotoAndPlay (3);
}
Symbol 431 Button
on (press) {
stopAllSounds();
if ((_root.second > 50) & (random(3) > 1)) {
_root.gotoAndStop("diacha");
} else {
gotoAndPlay (39);
}
}
Symbol 438 MovieClip Frame 1
stop();
Symbol 438 MovieClip Frame 22
stop();
_root.bonush = _root.bonush + 1;
Symbol 460 MovieClip Frame 1
stop();
Symbol 460 MovieClip Frame 2
stop();
Symbol 463 MovieClip Frame 151
_root.bo = 1;
stop();
Symbol 470 MovieClip Frame 1
stopAllSounds();
Symbol 470 MovieClip Frame 58
stop();
_root.bo = 1;
Symbol 473 MovieClip Frame 1
stop();
Symbol 473 MovieClip Frame 2
stop();
_root.pass = 0;
Symbol 475 Button
on (press) {
stopAllSounds();
gotoAndPlay (44);
}
Symbol 490 MovieClip Frame 1
stop();
Symbol 490 MovieClip Frame 2
stop();
_root.pass = 0;
Symbol 496 Button
on (press) {
stopAllSounds();
gotoAndPlay (37);
}
Symbol 511 Button
on (press) {
gotoAndPlay (52);
}
Symbol 518 MovieClip Frame 1
stop();
Symbol 518 MovieClip Frame 2
stop();
_root.pass = 0;
Symbol 531 Button
on (press) {
gotoAndPlay (55);
}
Symbol 532 Button
on (press) {
stopAllSounds();
gotoAndPlay (37);
}
Symbol 546 Button
on (press) {
gotoAndPlay (56);
}
Symbol 547 Button
on (press) {
stopAllSounds();
gotoAndPlay (54);
}
Symbol 553 Button
on (press) {
gotoAndPlay (57);
}
Symbol 590 Button
on (press) {
gotoAndPlay (129);
}
Symbol 610 Button
on (press) {
stopAllSounds();
gotoAndPlay (37);
}
Symbol 615 Button
on (press) {
stopAllSounds();
gotoAndPlay (37);
}
Symbol 648 Button
on (press) {
stopAllSounds();
gotoAndPlay (135);
}
Symbol 663 MovieClip Frame 1
stop();
Symbol 663 MovieClip Frame 2
stop();
_root.pass = 0;
Symbol 665 Button
on (press) {
stopAllSounds();
gotoAndPlay (141);
}
Symbol 680 MovieClip Frame 1
stop();
Symbol 680 MovieClip Frame 2
stop();
_root.pass = 0;
Symbol 682 Button
on (press) {
stopAllSounds();
gotoAndPlay (147);
}
Symbol 695 MovieClip Frame 1
stop();
Symbol 695 MovieClip Frame 2
stop();
_root.pass = 0;
Symbol 697 Button
on (press) {
stopAllSounds();
gotoAndPlay (153);
}
Symbol 712 MovieClip Frame 1
stop();
Symbol 712 MovieClip Frame 2
stop();
_root.pass = 0;
Symbol 714 Button
on (press) {
stopAllSounds();
gotoAndPlay (159);
}
Symbol 726 MovieClip Frame 1
stop();
Symbol 726 MovieClip Frame 2
stop();
_root.pass = 0;
Symbol 728 Button
on (press) {
stopAllSounds();
gotoAndPlay (165);
}
Symbol 740 MovieClip Frame 1
stop();
Symbol 740 MovieClip Frame 2
stop();
_root.pass = 0;
Symbol 743 Button
on (press) {
stopAllSounds();
gotoAndPlay (171);
}
Symbol 755 MovieClip Frame 1
stop();
Symbol 755 MovieClip Frame 2
stop();
_root.pass = 0;
Symbol 757 Button
on (press) {
stopAllSounds();
gotoAndPlay (177);
}
Symbol 771 MovieClip Frame 1
stop();
Symbol 771 MovieClip Frame 2
stop();
_root.pass = 0;
Symbol 773 Button
on (press) {
stopAllSounds();
gotoAndPlay (183);
}
Symbol 785 MovieClip Frame 1
stop();
Symbol 785 MovieClip Frame 2
stop();
_root.pass = 0;
Symbol 787 Button
on (press) {
stopAllSounds();
gotoAndPlay (189);
}
Symbol 800 MovieClip Frame 1
stop();
Symbol 800 MovieClip Frame 2
stop();
_root.pass = 0;
Symbol 802 Button
on (press) {
stopAllSounds();
if ((_root.rak > 20) & (random(3) > 1)) {
_root.gotoAndStop("rakucha");
} else {
gotoAndPlay (195);
}
}
Symbol 815 MovieClip Frame 1
stop();
Symbol 815 MovieClip Frame 2
stop();
_root.pass = 0;
Symbol 817 Button
on (press) {
stopAllSounds();
gotoAndPlay (201);
}
Symbol 829 MovieClip Frame 1
stop();
Symbol 829 MovieClip Frame 2
stop();
_root.pass = 0;
Symbol 831 Button
on (press) {
stopAllSounds();
gotoAndPlay (207);
}
Symbol 844 MovieClip Frame 1
stop();
Symbol 844 MovieClip Frame 2
stop();
_root.pass = 0;
Symbol 846 Button
on (press) {
stopAllSounds();
gotoAndPlay (213);
}
Symbol 860 MovieClip Frame 1
stop();
Symbol 860 MovieClip Frame 2
stop();
_root.pass = 0;
Symbol 865 Button
on (press) {
stopAllSounds();
gotoAndPlay (219);
}
Symbol 878 MovieClip Frame 1
stop();
Symbol 878 MovieClip Frame 2
stop();
_root.pass = 0;
Symbol 880 Button
on (press) {
stopAllSounds();
gotoAndPlay (225);
}
Symbol 892 MovieClip Frame 1
stop();
Symbol 892 MovieClip Frame 2
stop();
_root.pass = 0;
Symbol 894 Button
on (press) {
stopAllSounds();
gotoAndPlay (231);
}
Symbol 908 MovieClip Frame 1
stop();
Symbol 908 MovieClip Frame 2
stop();
_root.pass = 0;
Symbol 910 Button
on (press) {
stopAllSounds();
gotoAndPlay (237);
}
Symbol 923 MovieClip Frame 1
stop();
Symbol 923 MovieClip Frame 2
stop();
_root.pass = 0;
Symbol 925 Button
on (press) {
stopAllSounds();
gotoAndPlay (243);
}
Symbol 937 MovieClip Frame 1
stop();
Symbol 937 MovieClip Frame 2
stop();
_root.pass = 0;
Symbol 939 Button
on (press) {
stopAllSounds();
gotoAndPlay (249);
}
Symbol 951 MovieClip Frame 1
stop();
Symbol 951 MovieClip Frame 2
stop();
_root.pass = 0;
Symbol 954 MovieClip Frame 54
stop();
Symbol 956 Button
on (press) {
stopAllSounds();
gotoAndPlay (255);
}
Symbol 969 MovieClip Frame 1
stop();
Symbol 969 MovieClip Frame 2
stop();
_root.pass = 0;
Symbol 971 Button
on (press) {
stopAllSounds();
gotoAndPlay (261);
}
Symbol 983 MovieClip Frame 1
stop();
Symbol 983 MovieClip Frame 2
stop();
_root.pass = 0;
Symbol 985 Button
on (press) {
stopAllSounds();
gotoAndPlay (267);
}
Symbol 997 MovieClip Frame 1
stop();
Symbol 997 MovieClip Frame 2
stop();
_root.pass = 0;
Symbol 999 Button
on (press) {
stopAllSounds();
gotoAndPlay (273);
}
Symbol 1011 MovieClip Frame 1
stop();
Symbol 1011 MovieClip Frame 2
stop();
_root.pass = 0;
Symbol 1013 Button
on (press) {
stopAllSounds();
gotoAndPlay (279);
}
Symbol 1026 MovieClip Frame 1
stop();
Symbol 1026 MovieClip Frame 2
stop();
_root.pass = 0;
Symbol 1028 Button
on (press) {
stopAllSounds();
gotoAndPlay (285);
}
Symbol 1040 MovieClip Frame 1
stop();
Symbol 1040 MovieClip Frame 2
stop();
_root.pass = 0;
Symbol 1042 Button
on (press) {
stopAllSounds();
gotoAndPlay (291);
}
Symbol 1055 Button
on (press) {
stopAllSounds();
gotoAndPlay (297);
}
Symbol 1068 Button
on (press) {
stopAllSounds();
gotoAndPlay (303);
}