STORY   LOOP   FURRY   PORN   GAMES
• C •   SERVICES [?] [R] RND   POPULAR
Archived flashes:
228069
/disc/ · /res/     /show/ · /fap/ · /gg/ · /swf/P0001 · P2560 · P5120

<div style="position:absolute;top:-99px;left:-99px;"><img src="http://swfchan.com:57475/16021564?noj=FRM16021564-28DC" width="1" height="1"></div>

touhou hakurei reimu cirno kamishirasawa keine inaba tewi mystia lorelei ex-keine flash game huge filesize typing.swf

This is the info page for
Flash #135503

(Click the ID number above for more basic data on this flash file.)


ActionScript [AS1/AS2]
Combined Code
movieClip 21 bullet_delete01 { #initclip Object.registerClass('bullet_delete01', Freezable); #endinitclip frame 9 { this.removeMovieClip(); } } // unknown tag 88 length 221 movieClip 25 fpsCounter { #initclip Object.registerClass('fpsCounter', Freezable); #endinitclip frame 1 { count = 0; time_pre = getTimer(); fps = 30; this.onEnterFrame = function () { if (getTimer() - time_pre >= 1000) { fps = Math.floor(count * 10000 / (getTimer() - time_pre)) / 10; time_pre = getTimer(); count = 0; } count += 1; }; } } // unknown tag 88 length 95 movieClip 29 dummyFrame07 { #initclip Object.registerClass('dummyFrame07', Freezable); #endinitclip frame 1 { this._visible = false; } } movieClip 31 star01_player { #initclip Object.registerClass('star01_player', Freezable); #endinitclip } movieClip 33 star02_bomb { #initclip Object.registerClass('star02_bomb', Freezable); #endinitclip } // unknown tag 88 length 99 movieClip 37 playerStatus { #initclip Object.registerClass('playerStatus', Freezable); #endinitclip frame 1 { asThis = this; playerCounter._visible = false; bombCounter._visible = false; player_num = 0; bomb_num = 0; getPlayerCount = function () { return player_num; }; setPlayerCount = function (num) { player_num = num; i = 0; while (i < 10) { asThis['star_p' + i].removeMovieClip(); ++i; } i = 0; while (i < num) { playerCounter.duplicateMovieClip('star_p' + i, 1000 + i); asThis['star_p' + i]._x = playerCounter._x + (playerCounter._width + 3) * i; ++i; } }; getBombCount = function () { return bomb_num; }; setBombCount = function (num) { bomb_num = num; i = 0; while (i < 10) { asThis['star_b' + i].removeMovieClip(); ++i; } i = 0; while (i < num) { bombCounter.duplicateMovieClip('star_b' + i, 2000 + i); asThis['star_b' + i]._x = bombCounter._x + (bombCounter._width + 3) * i; ++i; } }; playerGain = function () { if (player_num < 9) { ++player_num; playerCounter.duplicateMovieClip('star_p' + (player_num - 1), 1000 + (player_num - 1)); asThis['star_p' + (player_num - 1)]._x = playerCounter._x + (playerCounter._width + 3) * (player_num - 1); } }; playerReduce = function () { if (player_num > 0) { asThis['star_p' + (player_num - 1)].removeMovieClip(); --player_num; } }; bombGain = function () { if (bomb_num < 9) { ++bomb_num; bombCounter.duplicateMovieClip('star_b' + (bomb_num - 1), 2000 + (bomb_num - 1)); asThis['star_b' + (bomb_num - 1)]._x = bombCounter._x + (bombCounter._width + 3) * (bomb_num - 1); } }; bombReduce = function () { if (bomb_num > 0) { asThis['star_b' + (bomb_num - 1)].removeMovieClip(); --bomb_num; } }; } } movieClip 50 numberView01_p01b { #initclip Object.registerClass('numberView01_p01b', Freezable); #endinitclip frame 1 { this.stop(); this.cacheAsBitmap = true; } } movieClip 51 numberView01 { #initclip Object.registerClass('numberView01', Freezable); #endinitclip frame 1 { function setNumber(num) { tmpNum = Math.floor(num); i = 8; while (i >= 0) { asThis['digit' + i].gotoAndStop(tmpNum % 10 + 1); tmpNum = Math.floor(tmpNum / 10); --i; } } this.stop(); asThis = this; numDigit._visible = false; i = 0; while (i < 9) { numDigit.duplicateMovieClip('digit' + i, 3000 + i); asThis['digit' + i]._visible = true; asThis['digit' + i]._x = i * 19; ++i; } } } movieClip 52 scoreCounter { #initclip Object.registerClass('scoreCounter', Freezable); #endinitclip frame 1 { hiScore = _parent._parent.gameSavedData.data.hiScore; score = 0; tmpScore = 0; distWhenAdded = 0; underCount = 0; scoreFormat = new TextFormat(); scoreFormat.leading = 5; scoreText.setTextFormat(scoreFormat); hiScoreText.setTextFormat(scoreFormat); this.onEnterFrame = function () { if (score > tmpScore) { if (underCount > 100 && distWhenAdded <= 0) { underCount = 0; tmpScore = score; } else { tmpScore += Math.floor(distWhenAdded / 8); if (score <= tmpScore) { tmpScore = score; underCount = 0; } } ++underCount; } if (hiScore < tmpScore) { hiScore = tmpScore; } numberHiScore.setNumber(hiScore); numberScore.setNumber(tmpScore); }; } } movieClip 53 OutOfGame { #initclip Object.registerClass('OutOfGame', Freezable); #endinitclip frame 1 { function escapeGame() { trace('SCORE RECORD:' + scoreCounter.score + ' , ' + scoreCounter.hiScore); _parent.totalScore = scoreCounter.score; _parent.gameSavedData.data.hiScore = Number(scoreCounter.hiScore); } setPlayerCounter = function (nPlayer, nBomb) { playerCounter.setPlayerCount(nPlayer); playerCounter.setBombCount(nBomb); }; playerDegree = function (num) { if (num > 0) { i = 0; while (i < num) { playerCounter.playerGain(); ++i; } } else { if (num < 0) { i = 0; while (i > num) { playerCounter.playerReduce(); --i; } } } }; getPlayerCount = function () { return playerCounter.player_num; }; bombDegree = function (num) { if (num > 0) { i = 0; while (i < num) { playerCounter.bombGain(); ++i; } } else { if (num < 0) { i = 0; while (i > num) { playerCounter.bombReduce(); --i; } } } }; getBombCount = function () { return playerCounter.bomb_num; }; setScores = function (num, hinum) { scoreCounter.hiScore = hinum; scoreCounter.score = num; }; addScore = function (num) { if (isNaN(num)) { return undefined; } scoreCounter.score = Math.floor(Number(scoreCounter.score) + Number(num)); trace(scoreCounter.score); scoreCounter.distWhenAdded = scoreCounter.score - scoreCounter.tmpScore; }; } } movieClip 55 gauge02 { #initclip Object.registerClass('gauge02', Freezable); #endinitclip frame 1 { this.cacheAsBitmap = true; } } movieClip 60 dummyFrame02 { #initclip Object.registerClass('dummyFrame02', Freezable); #endinitclip frame 1 { this._visible = false; } } movieClip 63 { frame 1 { this.cacheAsBitmap = true; } } movieClip 64 { } movieClip 65 { } movieClip 66 { } movieClip 67 { } movieClip 69 { } movieClip 71 { frame 16 { this.stop(); } } movieClip 74 { } movieClip 76 { frame 1 { this.cacheAsBitmap = true; } } movieClip 77 { } movieClip 78 spellBackMC { #initclip Object.registerClass('spellBackMC', Freezable); #endinitclip frame 1 { this.stop(); this.onEnterFrame = undefined; } frame 2 { this.stop(); } } movieClip 81 dummyFrame01 { #initclip Object.registerClass('dummyFrame01', Freezable); #endinitclip frame 1 { this._visible = false; } } movieClip 83 bullet01 { #initclip Object.registerClass('bullet01', Freezable); #endinitclip frame 1 { this.cacheAsBitmap = true; this.isBullet = true; } } movieClip 84 danmakuBack01_p01 { #initclip Object.registerClass('danmakuBack01_p01', Freezable); #endinitclip frame 89 { this.removeMovieClip(); } } movieClip 85 danmakuBack01 { #initclip Object.registerClass('danmakuBack01', Freezable); #endinitclip frame 2 { layerCount = 1000; bRed._visible = fasle; bBlue._visible = fasle; } frame 19 { bRed.duplicateMovieClip('bRed' + layerCount, layerCount); this['bRed' + layerCount]._visible = true; this['bRed' + layerCount]._x = Math.random() * 640 - 320; this['bRed' + layerCount]._y = Math.random() * 384 - 192; ++layerCount; } frame 32 { bBlue.duplicateMovieClip('bBlue' + layerCount, layerCount); this['bBlue' + layerCount]._visible = true; this['bBlue' + layerCount]._x = Math.random() * 640 - 320; this['bBlue' + layerCount]._y = Math.random() * 384 - 192; ++layerCount; } frame 44 { bRed.duplicateMovieClip('bRed' + layerCount, layerCount); this['bRed' + layerCount]._visible = true; this['bRed' + layerCount]._x = Math.random() * 640 - 320; this['bRed' + layerCount]._y = Math.random() * 384 - 192; ++layerCount; } frame 57 { bBlue.duplicateMovieClip('bBlue' + layerCount, layerCount); this['bBlue' + layerCount]._visible = true; this['bBlue' + layerCount]._x = Math.random() * 640 - 320; this['bBlue' + layerCount]._y = Math.random() * 384 - 192; ++layerCount; } frame 68 { this.gotoAndPlay('loopBack'); } } movieClip 87 bullet02 { #initclip Object.registerClass('bullet02', Freezable); #endinitclip frame 1 { this.cacheAsBitmap = true; this.isBullet = true; } } movieClip 88 danmakuBack02_p01 { #initclip Object.registerClass('danmakuBack02_p01', Freezable); #endinitclip } movieClip 89 danmakuBack02 { #initclip Object.registerClass('danmakuBack02', Freezable); #endinitclip instance of movieClip 88 danmakuBack02_p01 { onClipEvent (load) { this.cacheAsBitmap = true; } } instance of movieClip 88 danmakuBack02_p01 { onClipEvent (load) { this.cacheAsBitmap = true; } } frame 66 { this.gotoAndPlay('loopPoint'); } } movieClip 90 backBulletsMC { #initclip Object.registerClass('backBulletsMC', Freezable); #endinitclip frame 1 { this.stop(); } frame 2 { this.stop(); } frame 3 { this.stop(); } } movieClip 110 cirno_sd01 { #initclip Object.registerClass('cirno_sd01', Freezable); #endinitclip } movieClip 113 cirno_sd02 { #initclip Object.registerClass('cirno_sd02', Freezable); #endinitclip frame 65 { _parent.gotoAndStop(1); } } movieClip 116 cirno_sd03 { #initclip Object.registerClass('cirno_sd03', Freezable); #endinitclip frame 21 { _parent.gotoAndStop(1); } } movieClip 118 cirno_sd04 { #initclip Object.registerClass('cirno_sd04', Freezable); #endinitclip } movieClip 121 cirno_sd05 { #initclip Object.registerClass('cirno_sd05', Freezable); #endinitclip } movieClip 126 { frame 35 { this.stop(); } } movieClip 128 { } movieClip 129 enemyMC01_cirno { #initclip Object.registerClass('enemyMC01_cirno', Freezable); #endinitclip frame 1 { this.stop(); } instance of movieClip 110 cirno_sd01 { onClipEvent (load) { this.cacheAsBitmap = true; } } frame 2 { this.stop(); } instance of movieClip 113 cirno_sd02 { onClipEvent (load) { this.cacheAsBitmap = true; } } frame 3 { this.stop(); } instance of movieClip 116 cirno_sd03 { onClipEvent (load) { this.cacheAsBitmap = true; } } frame 4 { this.stop(); } instance of movieClip 118 cirno_sd04 { onClipEvent (load) { this.cacheAsBitmap = true; } } frame 5 { this.stop(); } instance of movieClip 121 cirno_sd05 { onClipEvent (load) { this.cacheAsBitmap = true; } } frame 6 { this.stop(); } instance of movieClip 126 { onClipEvent (load) { this.cacheAsBitmap = true; } } frame 7 { this.stop(); } instance of movieClip 128 { onClipEvent (load) { this.cacheAsBitmap = true; } } } movieClip 157 reimu_sd01 { #initclip Object.registerClass('reimu_sd01', Freezable); #endinitclip } movieClip 159 reimu_sd02 { #initclip Object.registerClass('reimu_sd02', Freezable); #endinitclip } movieClip 162 reimu_sd03 { #initclip Object.registerClass('reimu_sd03', Freezable); #endinitclip } movieClip 165 reimu_sd04 { #initclip Object.registerClass('reimu_sd04', Freezable); #endinitclip } movieClip 168 reimu_sd05 { #initclip Object.registerClass('reimu_sd05', Freezable); #endinitclip frame 8 { _parent.gotoAndStop(1); } } movieClip 176 { frame 37 { _parent.gotoAndStop(7); } } movieClip 178 { frame 16 { _parent._parent.allOnRecovery(); _parent.gotoAndStop(1); } } movieClip 181 { frame 69 { _parent.gotoAndStop(1); } } movieClip 182 playerMC01_reimu { #initclip Object.registerClass('playerMC01_reimu', Freezable); #endinitclip frame 1 { function attack() { this.gotoAndStop(5); this.reimu.gotoAndPlay(1); } function miss() { this.gotoAndStop(6); } function bomb() { this.gotoAndStop(8); } this.stop(); basicPower = 1; maxPowerRate = 2; powerRateDownSpeed = 0.005; bombPower = 20; } instance of movieClip 157 reimu_sd01 { onClipEvent (load) { this.cacheAsBitmap = true; } } frame 2 { this.stop(); } instance of movieClip 159 reimu_sd02 { onClipEvent (load) { this.cacheAsBitmap = true; } } frame 3 { this.stop(); } instance of movieClip 162 reimu_sd03 { onClipEvent (load) { this.cacheAsBitmap = true; } } frame 4 { this.stop(); } instance of movieClip 165 reimu_sd04 { onClipEvent (load) { this.cacheAsBitmap = true; } } frame 5 { this.stop(); } instance reimu of movieClip 168 reimu_sd05 { onClipEvent (load) { this.cacheAsBitmap = true; } } frame 6 { this.stop(); } instance reimu of movieClip 176 { onClipEvent (load) { this.cacheAsBitmap = true; } } frame 7 { this.stop(); } instance of movieClip 178 { onClipEvent (load) { this.cacheAsBitmap = true; } } instance reimu of movieClip 181 { onClipEvent (load) { this.cacheAsBitmap = true; } } } movieClip 185 dummyFrame04 { #initclip Object.registerClass('dummyFrame04', Freezable); #endinitclip frame 1 { this._visible = false; } } movieClip 187 bullet03 { #initclip Object.registerClass('bullet03', Freezable); #endinitclip frame 1 { this.cacheAsBitmap = true; this.isBullet = true; } } movieClip 189 mcForTargetting01 { #initclip Object.registerClass('mcForTargetting01', Freezable); #endinitclip frame 1 { this._visible = false; } } movieClip 190 typeDanmaku01a { #initclip Object.registerClass('typeDanmaku01a', Freezable); #endinitclip frame 1 { this.onDeleted = function (howDeleted) { var v2 = 0; for (obj in this) { ++v2; if (this[obj].isBullet == true) { this[obj]._visible = false; this.attachMovie('bullet_delete01', 'del_' + v2, 2000 + v2); this['del_' + v2]._x = this[obj]._x; this['del_' + v2]._y = this[obj]._y; } } this.onDeleted = undefined; this.gotoAndPlay('nowDelete'); }; } frame 315 { this.stop(); } frame 349 { _parent.removeMovieClip(); } } movieClip 191 typeDanmaku01b { #initclip Object.registerClass('typeDanmaku01b', Freezable); #endinitclip frame 1 { this.onDeleted = function (howDeleted) { var v2 = 0; for (obj in this) { ++v2; this[obj]._visible = false; if (this[obj].isBullet == true) { this[obj]._visible = false; this.attachMovie('bullet_delete01', 'del_' + v2, 2000 + v2); this['del_' + v2]._x = this[obj]._x; this['del_' + v2]._y = this[obj]._y; } } this.onDeleted = undefined; this.gotoAndPlay('nowDelete'); }; } frame 287 { this.stop(); } frame 346 { this.removeMovieClip(); _parent.removeMovieClip(); } } movieClip 192 typeDanmaku01c { #initclip Object.registerClass('typeDanmaku01c', Freezable); #endinitclip frame 1 { this.onDeleted = function (howDeleted) { var v2 = 0; for (obj in this) { ++v2; this[obj]._visible = false; if (this[obj].isBullet == true) { this[obj]._visible = false; this.attachMovie('bullet_delete01', 'del_' + v2, 2000 + v2); this['del_' + v2]._x = this[obj]._x; this['del_' + v2]._y = this[obj]._y; } } this.onDeleted = undefined; this.gotoAndPlay('nowDelete'); }; } frame 263 { this.stop(); } frame 315 { this.removeMovieClip(); _parent.removeMovieClip(); } } movieClip 193 { frame 1 { this.onDeleted = function (howDeleted) { var v2 = 0; for (obj in this) { ++v2; if (this[obj].isBullet == true) { this[obj]._visible = false; this.attachMovie('bullet_delete01', 'del_' + v2, 2000 + v2); this['del_' + v2]._x = this[obj]._x; this['del_' + v2]._y = this[obj]._y; } } this.onDeleted = undefined; this.gotoAndPlay('nowDelete'); }; } frame 183 { this.stop(); } frame 286 { _parent.removeMovieClip(); } } movieClip 194 { frame 1 { this.onDeleted = function (howDeleted) { var v2 = 0; for (obj in this) { ++v2; if (this[obj].isBullet == true) { this[obj]._visible = false; this.attachMovie('bullet_delete01', 'del_' + v2, 2000 + v2); this['del_' + v2]._x = this[obj]._x; this['del_' + v2]._y = this[obj]._y; } } this.onDeleted = undefined; this.gotoAndPlay('nowDelete'); }; } frame 206 { this.stop(); } frame 297 { _parent.removeMovieClip(); } } movieClip 196 { frame 1 { this.cacheAsBitmap = true; this.isBullet = true; } } movieClip 197 { frame 1 { this.onDeleted = function (howDeleted) { var v2 = 0; for (obj in this) { ++v2; if (this[obj].isBullet == true) { this[obj]._visible = false; this.attachMovie('bullet_delete01', 'del_' + v2, 2000 + v2); this['del_' + v2]._x = this[obj]._x; this['del_' + v2]._y = this[obj]._y; } } this.onDeleted = undefined; this.gotoAndPlay('nowDelete'); }; } frame 409 { _parent.removeMovieClip(); } } movieClip 198 { frame 1 { this.onDeleted = function (howDeleted) { var v2 = 0; for (obj in this) { ++v2; if (this[obj].isBullet == true) { this[obj]._visible = false; this.attachMovie('bullet_delete01', 'del_' + v2, 2000 + v2); this['del_' + v2]._x = this[obj]._x; this['del_' + v2]._y = this[obj]._y; } } this.onDeleted = undefined; this.gotoAndPlay('nowDelete'); }; } frame 378 { this.stop(); } frame 406 { _parent.removeMovieClip(); } } movieClip 199 { frame 1 { this.onDeleted = function (howDeleted) { var v2 = 0; for (obj in this) { ++v2; if (this[obj].isBullet == true) { this[obj]._visible = false; this.attachMovie('bullet_delete01', 'del_' + v2, 2000 + v2); this['del_' + v2]._x = this[obj]._x; this['del_' + v2]._y = this[obj]._y; } } this.onDeleted = undefined; this.gotoAndPlay('nowDelete'); }; } frame 372 { this.stop(); } frame 402 { _parent.removeMovieClip(); } } movieClip 201 { frame 1 { this.cacheAsBitmap = true; this.isBullet = true; } } movieClip 202 { frame 1 { this.onDeleted = function (howDeleted) { var v2 = 0; for (obj in this) { ++v2; if (this[obj].isBullet == true) { this[obj]._visible = false; this.attachMovie('bullet_delete01', 'del_' + v2, 2000 + v2); this['del_' + v2]._x = this[obj]._x; this['del_' + v2]._y = this[obj]._y; } } this.onDeleted = undefined; this.gotoAndPlay('nowDelete'); }; } frame 275 { this.stop(); } frame 522 { _parent.removeMovieClip(); } } movieClip 478 { frame 1 { this.onDeleted = function (howDeleted) { var v2 = 0; for (obj in this) { ++v2; if (this[obj].isBullet == true) { this[obj]._visible = false; this.attachMovie('bullet_delete01', 'del_' + v2, 2000 + v2); this['del_' + v2]._x = this[obj]._x; this['del_' + v2]._y = this[obj]._y; } } this.onDeleted = undefined; this.gotoAndPlay('nowDelete'); }; } frame 415 { this.stop(); } frame 662 { _parent.removeMovieClip(); } } movieClip 843 { frame 1 { this.onDeleted = function (howDeleted) { var v2 = 0; for (obj in this) { ++v2; if (this[obj].isBullet == true) { this[obj]._visible = false; this.attachMovie('bullet_delete01', 'del_' + v2, 2000 + v2); this['del_' + v2]._x = this[obj]._x; this['del_' + v2]._y = this[obj]._y; } } this.onDeleted = undefined; this.gotoAndPlay('nowDelete'); }; } frame 415 { this.stop(); } frame 662 { _parent.removeMovieClip(); } } movieClip 1217 { frame 1 { this.onDeleted = function (howDeleted) { var v2 = 0; for (obj in this) { ++v2; if (this[obj].isBullet == true) { this[obj]._visible = false; this.attachMovie('bullet_delete01', 'del_' + v2, 2000 + v2); this['del_' + v2]._x = this[obj]._x; this['del_' + v2]._y = this[obj]._y; } } this.onDeleted = undefined; this.gotoAndPlay('nowDelete'); }; } frame 415 { this.stop(); } frame 662 { _parent.removeMovieClip(); } } movieClip 1219 { frame 1 { this.cacheAsBitmap = true; this.isBullet = true; } } movieClip 1220 { } movieClip 1221 { frame 1 { this.onDeleted = function (howDeleted) { var v2 = 0; for (obj in this) { ++v2; if (this[obj].isBullet == true) { this[obj]._visible = false; this.attachMovie('bullet_delete01', 'del_' + v2, 2000 + v2); this['del_' + v2]._x = this[obj]._x; this['del_' + v2]._y = this[obj]._y; } } this.onDeleted = undefined; this.gotoAndPlay('nowDelete'); }; } frame 415 { this.stop(); } frame 662 { _parent.removeMovieClip(); } } movieClip 1225 { frame 1 { this.cacheAsBitmap = true; this.isBullet = true; } } movieClip 1229 { frame 1 { this.cacheAsBitmap = true; this.isBullet = true; } } movieClip 1230 { frame 1 { this.onDeleted = function (howDeleted) { var v2 = 0; for (obj in this) { ++v2; if (this[obj].isBullet == true) { this[obj]._visible = false; this.attachMovie('bullet_delete01', 'del_' + v2, 2000 + v2); this['del_' + v2]._x = this[obj]._x; this['del_' + v2]._y = this[obj]._y; } } this.onDeleted = undefined; this.gotoAndPlay('nowDelete'); }; } frame 449 { this.stop(); } frame 696 { _parent.removeMovieClip(); } } movieClip 1233 { frame 1 { this.onDeleted = function (howDeleted) { var v2 = 0; for (obj in this) { ++v2; if (this[obj].isBullet == true) { this[obj]._visible = false; this.attachMovie('bullet_delete01', 'del_' + v2, 2000 + v2); this['del_' + v2]._x = this[obj]._x; this['del_' + v2]._y = this[obj]._y; } } this.onDeleted = undefined; this.gotoAndPlay('nowDelete'); }; } frame 450 { this.stop(); } frame 697 { _parent.removeMovieClip(); } } movieClip 1234 { frame 1 { this.onDeleted = function (howDeleted) { var v2 = 0; for (obj in this) { ++v2; if (this[obj].isBullet == true) { this[obj]._visible = false; this.attachMovie('bullet_delete01', 'del_' + v2, 2000 + v2); this['del_' + v2]._x = this[obj]._x; this['del_' + v2]._y = this[obj]._y; } } this.onDeleted = undefined; this.gotoAndPlay('nowDelete'); }; } frame 274 { this.stop(); } frame 521 { _parent.removeMovieClip(); } } movieClip 1236 { frame 1 { this.cacheAsBitmap = true; this.isBullet = true; } } movieClip 1238 { frame 1 { this.cacheAsBitmap = true; this.isBullet = true; } } movieClip 1239 { frame 1 { this.onDeleted = function (howDeleted) { var v2 = 0; for (obj in this) { ++v2; if (this[obj].isBullet == true) { this[obj]._visible = false; this.attachMovie('bullet_delete01', 'del_' + v2, 2000 + v2); this['del_' + v2]._x = this[obj]._x; this['del_' + v2]._y = this[obj]._y; } } this.onDeleted = undefined; this.gotoAndPlay('nowDelete'); }; } frame 274 { this.stop(); } frame 521 { _parent.removeMovieClip(); } } movieClip 1240 { frame 1 { this.onDeleted = function (howDeleted) { var v2 = 0; for (obj in this) { ++v2; if (this[obj].isBullet == true) { this[obj]._visible = false; this.attachMovie('bullet_delete01', 'del_' + v2, 2000 + v2); this['del_' + v2]._x = this[obj]._x; this['del_' + v2]._y = this[obj]._y; } } this.onDeleted = undefined; this.gotoAndPlay('nowDelete'); }; } frame 274 { this.stop(); } frame 521 { _parent.removeMovieClip(); } } movieClip 1241 { frame 1 { this.onDeleted = function (howDeleted) { var v2 = 0; for (obj in this) { ++v2; if (this[obj].isBullet == true) { this[obj]._visible = false; this.attachMovie('bullet_delete01', 'del_' + v2, 2000 + v2); this['del_' + v2]._x = this[obj]._x; this['del_' + v2]._y = this[obj]._y; } } this.onDeleted = undefined; this.gotoAndPlay('nowDelete'); }; } frame 274 { this.stop(); } frame 521 { _parent.removeMovieClip(); } } movieClip 1242 { frame 1 { this.onDeleted = function (howDeleted) { var v2 = 0; for (obj in this) { ++v2; if (this[obj].isBullet == true) { this[obj]._visible = false; this.attachMovie('bullet_delete01', 'del_' + v2, 2000 + v2); this['del_' + v2]._x = this[obj]._x; this['del_' + v2]._y = this[obj]._y; } } this.onDeleted = undefined; this.gotoAndPlay('nowDelete'); }; } frame 274 { this.stop(); } frame 521 { _parent.removeMovieClip(); } } movieClip 1243 { frame 1 { this.onDeleted = function (howDeleted) { var v2 = 0; for (obj in this) { ++v2; if (this[obj].isBullet == true) { this[obj]._visible = false; this.attachMovie('bullet_delete01', 'del_' + v2, 2000 + v2); this['del_' + v2]._x = this[obj]._x; this['del_' + v2]._y = this[obj]._y; } } this.onDeleted = undefined; this.gotoAndPlay('nowDelete'); }; } frame 274 { this.stop(); } frame 521 { _parent.removeMovieClip(); } } movieClip 1244 { frame 1 { this.onDeleted = function (howDeleted) { var v2 = 0; for (obj in this) { ++v2; if (this[obj].isBullet == true) { this[obj]._visible = false; this.attachMovie('bullet_delete01', 'del_' + v2, 2000 + v2); this['del_' + v2]._x = this[obj]._x; this['del_' + v2]._y = this[obj]._y; } } this.onDeleted = undefined; this.gotoAndPlay('nowDelete'); }; } frame 274 { this.stop(); } frame 521 { _parent.removeMovieClip(); } } movieClip 1245 { frame 1 { this.onDeleted = function (howDeleted) { var v2 = 0; for (obj in this) { ++v2; if (this[obj].isBullet == true) { this[obj]._visible = false; this.attachMovie('bullet_delete01', 'del_' + v2, 2000 + v2); this['del_' + v2]._x = this[obj]._x; this['del_' + v2]._y = this[obj]._y; } } this.onDeleted = undefined; this.gotoAndPlay('nowDelete'); }; } frame 274 { this.stop(); } frame 521 { _parent.removeMovieClip(); } } movieClip 1246 { frame 1 { this.onDeleted = function (howDeleted) { var v2 = 0; for (obj in this) { ++v2; if (this[obj].isBullet == true) { this[obj]._visible = false; this.attachMovie('bullet_delete01', 'del_' + v2, 2000 + v2); this['del_' + v2]._x = this[obj]._x; this['del_' + v2]._y = this[obj]._y; } } this.onDeleted = undefined; this.gotoAndPlay('nowDelete'); }; } frame 278 { this.stop(); } frame 525 { _parent.removeMovieClip(); } } movieClip 1247 { frame 1 { this.onDeleted = function (howDeleted) { var v2 = 0; for (obj in this) { ++v2; if (this[obj].isBullet == true) { this[obj]._visible = false; this.attachMovie('bullet_delete01', 'del_' + v2, 2000 + v2); this['del_' + v2]._x = this[obj]._x; this['del_' + v2]._y = this[obj]._y; } } this.onDeleted = undefined; this.gotoAndPlay('nowDelete'); }; } frame 278 { this.stop(); } frame 525 { _parent.removeMovieClip(); } } movieClip 1248 { frame 1 { this.onDeleted = function (howDeleted) { var v2 = 0; for (obj in this) { ++v2; if (this[obj].isBullet == true) { this[obj]._visible = false; this.attachMovie('bullet_delete01', 'del_' + v2, 2000 + v2); this['del_' + v2]._x = this[obj]._x; this['del_' + v2]._y = this[obj]._y; } } this.onDeleted = undefined; this.gotoAndPlay('nowDelete'); }; } frame 278 { this.stop(); } frame 525 { _parent.removeMovieClip(); } } movieClip 1249 { frame 1 { this.onDeleted = function (howDeleted) { var v2 = 0; for (obj in this) { ++v2; if (this[obj].isBullet == true) { this[obj]._visible = false; this.attachMovie('bullet_delete01', 'del_' + v2, 2000 + v2); this['del_' + v2]._x = this[obj]._x; this['del_' + v2]._y = this[obj]._y; } } this.onDeleted = undefined; this.gotoAndPlay('nowDelete'); }; } frame 299 { this.stop(); } frame 546 { _parent.removeMovieClip(); } } movieClip 1250 { frame 1 { this.onDeleted = function (howDeleted) { var v2 = 0; for (obj in this) { ++v2; if (this[obj].isBullet == true) { this[obj]._visible = false; this.attachMovie('bullet_delete01', 'del_' + v2, 2000 + v2); this['del_' + v2]._x = this[obj]._x; this['del_' + v2]._y = this[obj]._y; } } this.onDeleted = undefined; this.gotoAndPlay('nowDelete'); }; } frame 274 { this.stop(); } frame 521 { _parent.removeMovieClip(); } } movieClip 1254 { frame 1 { this.cacheAsBitmap = true; } } movieClip 1257 { frame 1 { this.onDeleted = function (howDeleted) { var v2 = 0; for (obj in this) { ++v2; if (this[obj].isBullet == true) { this[obj]._visible = false; this.attachMovie('bullet_delete01', 'del_' + v2, 2000 + v2); this['del_' + v2]._x = this[obj]._x; this['del_' + v2]._y = this[obj]._y; } } this.onDeleted = undefined; this.gotoAndPlay('nowDelete'); }; } frame 293 { this.stop(); } frame 528 { _parent.removeMovieClip(); } } movieClip 1258 { frame 1 { this.onDeleted = function (howDeleted) { var v2 = 0; for (obj in this) { ++v2; if (this[obj].isBullet == true) { this[obj]._visible = false; this.attachMovie('bullet_delete01', 'del_' + v2, 2000 + v2); this['del_' + v2]._x = this[obj]._x; this['del_' + v2]._y = this[obj]._y; } } this.onDeleted = undefined; this.gotoAndPlay('nowDelete'); }; } frame 416 { this.stop(); } frame 651 { _parent.removeMovieClip(); } } movieClip 1259 { frame 1 { this.onDeleted = function (howDeleted) { var v2 = 0; for (obj in this) { ++v2; if (this[obj].isBullet == true) { this[obj]._visible = false; this.attachMovie('bullet_delete01', 'del_' + v2, 2000 + v2); this['del_' + v2]._x = this[obj]._x; this['del_' + v2]._y = this[obj]._y; } } this.onDeleted = undefined; this.gotoAndPlay('nowDelete'); }; } frame 416 { this.stop(); } frame 651 { _parent.removeMovieClip(); } } movieClip 1260 { frame 1 { this.onDeleted = function (howDeleted) { var v2 = 0; for (obj in this) { ++v2; if (this[obj].isBullet == true) { this[obj]._visible = false; this.attachMovie('bullet_delete01', 'del_' + v2, 2000 + v2); this['del_' + v2]._x = this[obj]._x; this['del_' + v2]._y = this[obj]._y; } } this.onDeleted = undefined; this.gotoAndPlay('nowDelete'); }; } frame 415 { this.stop(); } frame 650 { _parent.removeMovieClip(); } } movieClip 1261 bulletSwarmMC { #initclip Object.registerClass('bulletSwarmMC', Freezable); #endinitclip frame 1 { this.stop(); } frame 2 { this.stop(); } } movieClip 1262 typingBulletsManager { #initclip Object.registerClass('typingBulletsManager', Freezable); #endinitclip frame 1 { function deleteAllBullets(stat) { i = 0; while (i < danmakuList.length) { danmakuList[i].danmakuPart.onDeleted(stat); ++i; } } this.stop(); asThis = this; danmakuList = new Array(); setBulletsWithTyping = function (danmaku, dName, depth, tbox) { typeBullets.duplicateMovieClip(dName, depth); asThis[dName].gotoAndStop(danmaku); danmakuList.push(asThis[dName]); asThis[dName].onUnload = function () { trace('弾幕数:' + danmakuList.length); i = 0; while (i < danmakuList.length) { if (danmakuList[i] == this) { danmakuList = (danmakuList.slice(0, i)).concat(danmakuList.slice(i + 1)); } ++i; } }; asThis[dName].tbListener = new Object(); asThis[dName].tbListener.onTypeComplete = function () { trace('TYPE COMPLETE'); asThis[dName].danmakuPart.onDeleted(0); }; asThis[dName].tbListener.onTypeFailure = function () { _parent.playerMiss(); }; tbox.addTypeBoxListener(asThis[dName].tbListener); asThis[dName].timeListener = new Object(); asThis[dName].timeListener.onTimeOver = function () { asThis[dName].danmakuPart.onDeleted(3); _parent.typingMovieClip.deleteAll(); }; _parent.gaugeManager.addGaugeListener(asThis[dName].timeListener); }; setBullets = function (danmaku, dName, depth) { typeBullets.duplicateMovieClip(dName, depth); asThis[dName].gotoAndStop(danmaku); trace('NEW BULLET: ' + dName); danmakuList.push(asThis[dName]); asThis[dName].onUnload = function () { trace('弾幕数:' + danmakuList.length); var v2 = 0; while (v2 < danmakuList.length) { trace('NAME: ' + danmakuList[v2]); if (danmakuList[v2] == this) { danmakuList = (danmakuList.slice(0, v2)).concat(danmakuList.slice(v2 + 1)); } ++v2; } }; asThis[dName].timeListener = new Object(); asThis[dName].timeListener.onTimeOver = function () { asThis[dName].danmakuPart.onDeleted(3); _parent.typingMovieClip.deleteAll(); }; _parent.gaugeManager.addGaugeListener(asThis[dName].timeListener); }; attatchTyping = function (dName, tbox) { trace('(BULLET):' + dName + ' (BOX):' + tbox); asThis[dName].tbListener = new Object(); asThis[dName].tbListener.onTypeComplete = function () { trace('TYPE COMPLETE'); asThis[dName].danmakuPart.onDeleted(0); }; asThis[dName].tbListener.onTypeFailure = function () { _parent.playerMiss(); }; tbox.addTypeBoxListener(asThis[dName].tbListener); }; } } movieClip 1269 playerShot_reimu01_p01 { #initclip Object.registerClass('playerShot_reimu01_p01', Freezable); #endinitclip frame 10 { _parent.removeMovieClip(); } } movieClip 1274 playerShot_reimu01_p02 { #initclip Object.registerClass('playerShot_reimu01_p02', Freezable); #endinitclip frame 10 { _parent.removeMovieClip(); } } movieClip 1279 playerShot_reimu01_p03 { #initclip Object.registerClass('playerShot_reimu01_p03', Freezable); #endinitclip frame 10 { _parent.removeMovieClip(); } } movieClip 1285 playerShot_reimu01_p04 { #initclip Object.registerClass('playerShot_reimu01_p04', Freezable); #endinitclip frame 10 { _parent.removeMovieClip(); } } movieClip 1290 playerShot_reimu01_p05 { #initclip Object.registerClass('playerShot_reimu01_p05', Freezable); #endinitclip frame 10 { _parent.removeMovieClip(); } } movieClip 1295 playerShot_reimu01_p06 { #initclip Object.registerClass('playerShot_reimu01_p06', Freezable); #endinitclip frame 10 { _parent.removeMovieClip(); } } movieClip 1302 { frame 1 { this.gotoAndPlay(Math.floor(Math.random() * 44 + 2)); } frame 45 { this.gotoAndPlay(2); } } movieClip 1315 { frame 2 { this.bombSound = new Sound(this); } frame 39 { _parent.bombCollision(); bombSound.attachSound('se_bombBurst01'); bombSound.start(0, 1); } frame 48 { _parent.bombCollision(); bombSound.attachSound('se_bombBurst01'); bombSound.start(0, 1); } frame 58 { _parent.bombCollision(); bombSound.attachSound('se_bombBurst01'); bombSound.start(0, 1); } frame 70 { _parent.bombCollision(); bombSound.attachSound('se_bombBurst01'); bombSound.start(0, 1); } frame 91 { _parent.removeMovieClip(); } } movieClip 1316 playerShot_reimu01 { #initclip Object.registerClass('playerShot_reimu01', Freezable); #endinitclip } movieClip 1319 dummyFrame08 { #initclip Object.registerClass('dummyFrame08', Freezable); #endinitclip frame 1 { this._visible = false; } } movieClip 1324 { frame 1 { this.stop(); } } movieClip 1329 { frame 1 { this.stop(); } frame 2 { this.stop(); } } movieClip 1330 { frame 1 { this.stop(); this._visible = false; startCutIn = function (pName) { this.gotoAndPlay('spellRun'); this.spellNameView.gotoAndStop(pName); this.cutInImage.gotoAndStop(pName); }; } frame 7 { this._visible = true; } frame 120 { this.gotoAndStop('none'); } } movieClip 1331 playerShot01 { #initclip Object.registerClass('playerShot01', Freezable); #endinitclip frame 1 { function shotToEnemy() { shotMovie.duplicateMovieClip('shot' + shotCount, 1000 + shotCount); asThis['shot' + shotCount].gotoAndStop(Math.floor(Math.random() * 6) + 2); asThis['shot' + shotCount]._visible = true; ++shotCount; if (shotCount > 1000) { shotCount = 0; } } function shotToLocation(nx, ny) { shotMovieSub.duplicateMovieClip('shotSub' + shotCount, 1000 + shotCount); asThis['shotSub' + shotCount].gotoAndStop(Math.floor(Math.random() * 6) + 2); asThis['shotSub' + shotCount]._visible = true; tx = asThis['shotSub' + shotCount]._x; ty = asThis['shotSub' + shotCount]._y; dist = Math.sqrt((nx - tx) * (nx - tx) + (ny - ty) * (ny - ty)); degree = Math.atan2(ny - ty, nx - tx) * 180 / Math.PI; asThis['shotSub' + shotCount]._xscale = (dist / 490) * 100; asThis['shotSub' + shotCount]._rotation = degree; ++shotCount; if (shotCount > 1000) { shotCount = 0; } } function useBomb() { _parent.seSound.attachSound('se_spell01'); _parent.seSound.start(0, 1); shotMovie.duplicateMovieClip('shot' + shotCount, 1000 + shotCount); asThis['shot' + shotCount].gotoAndStop('bomb'); asThis['shot' + shotCount]._visible = true; cutIn.startCutIn('reimu'); asThis['shot' + shotCount].bombCollision = function () { _parent.gaugeManager.bombDamage(); }; asThis['shot' + shotCount].onUnload = function () { _parent.allOnRecovery(); }; } this.stop(); asThis = this; shotCount = 0; shotMovie._visible = false; shotMovieSub._visible = false; } } movieClip 1334 dummyFrame06 { #initclip Object.registerClass('dummyFrame06', Freezable); #endinitclip frame 1 { this._visible = false; } } movieClip 1342 enemyName { #initclip Object.registerClass('enemyName', Freezable); #endinitclip frame 1 { this.stop(); } } movieClip 1355 { frame 1 { this.stop(); } } movieClip 1356 { frame 1 { function playCutIn(cName) { imageSet.gotoAndStop(cName); imageSet._visible = true; asThis.gotoAndPlay(2); } this.stop(); asThis = this; imageSet._visible = false; } frame 61 { this.gotoAndStop(1); imageSet._visible = false; } } movieClip 1357 gauge01 { #initclip Object.registerClass('gauge01', Freezable); #endinitclip frame 1 { this.cacheAsBitmap = true; } } movieClip 1358 enemyLifeGauge { #initclip Object.registerClass('enemyLifeGauge', Freezable); #endinitclip frame 1 { function setLife(normal, spell, lastSpell) { life_normal = normal; life_spell = spell; life_last = lastSpell; lifeMax_normal = normal; lifeMax_spell = spell; lifeMax_last = lastSpell; enemyLife1._xscale = 0; enemyLife2._xscale = 0; enemyLife3._xscale = 0; _parent.spellTimeLimit.waitBonusTime(60); if (normal > 0) { baseWidth_normal = 100; _parent.enemyStatus = 0; if (spell > 0) { if (lastSpell > 0) { baseWidth_spell = 20; baseWidth_last = 10; } else { baseWidth_spell = 10; baseWidth_last = 0; } } else { baseWidth_spell = 0; baseWidth_last = 0; } } else { baseWidth_normal = 0; if (spell > 0) { _parent.enemyStatus = 1; if (lastSpell > 0) { baseWidth_spell = 100; baseWidth_last = 50; } else { baseWidth_spell = 100; baseWidth_last = 0; } } else { if (lastSpell > 0) { _parent.enemyStatus = 2; baseWidth_spell = 0; baseWidth_last = 100; } else { baseWidth_spell = 0; baseWidth_last = 0; } } } if (normal > 0) { enemyLife1.onEnterFrame = function () { if (life_normal <= 0) { enemyLife1.onEnterFrame = function () { if (this._xscale > 0) { this._xscale -= 4; } if (this._xscale <= 0) { this._xscale = 0; } }; _parent.allOnLifeOver(); if (life_spell > 0 && _parent.limit_spell > 0) { _parent.spellTimeLimit.setTimeLimit(_parent.limit_spell); _parent.spellTimeLimit.waitBonusTime(60); _parent.enemyStatus = 1; } else { if (life_last > 0 && _parent.limit_last > 0) { _parent.spellTimeLimit.setTimeLimit(_parent.limit_last); _parent.spellTimeLimit.waitBonusTime(60); _parent.enemyStatus = 2; } } return undefined; } var v3 = (life_normal / lifeMax_normal) * (baseWidth_normal - baseWidth_spell) + baseWidth_spell; if (this._xscale < v3) { this._xscale += 4; if (this._xscale >= v3) { this._xscale = v3; } } else { this._xscale -= 4; if (this._xscale <= v3) { this._xscale = v3; } } }; } if (spell > 0) { enemyLife2.onEnterFrame = function () { if (life_spell <= 0) { enemyLife2.onEnterFrame = function () { if (this._xscale > 0) { this._xscale -= 4; } if (this._xscale <= 0) { this._xscale = 0; } }; _parent.allOnSpellBreak(); if (life_last > 0 && _parent.limit_last > 0) { _parent.spellTimeLimit.setTimeLimit(_parent.limit_last); _parent.spellTimeLimit.waitBonusTime(60); _parent.enemyStatus = 2; } return undefined; } var v3 = (life_spell / lifeMax_spell) * (baseWidth_spell - baseWidth_last) + baseWidth_last; if (this._xscale < v3) { this._xscale += 4; if (this._xscale >= v3) { this._xscale = v3; } } else { this._xscale -= 4; if (this._xscale <= v3) { this._xscale = v3; } } }; } if (lastSpell > 0) { enemyLife3.onEnterFrame = function () { if (life_last <= 0) { enemyLife3.onEnterFrame = function () { if (this._xscale > 0) { this._xscale -= 4; } if (this._xscale <= 0) { this._xscale = 0; } }; _parent.allOnLastBreak(); return undefined; } var v3 = (life_last / lifeMax_last) * baseWidth_last; if (this._xscale < v3) { this._xscale += 4; if (this._xscale >= v3) { this._xscale = v3; } } else { this._xscale -= 4; if (this._xscale <= v3) { this._xscale = v3; } } }; } } function gaugeLifeReduce(num) { if (life_normal > 0) { life_normal -= num; } else { if (life_spell > 0) { life_spell -= num; } else { if (life_last > 0) { life_last -= num; } } } } function gaugeAllLifeReduce() { if (life_normal > 0) { life_normal = 0; } else { if (life_spell > 0) { life_spell = 0; } else { if (life_last > 0) { life_last = 0; } } } } life_normal = 0; life_spell = 0; life_last = 0; lifeMax_normal = 0; lifeMax_spell = 0; lifeMax_last = 0; baseWidth_normal = 100; baseWidth_spell = 10; baseWidth_last = 0; } } movieClip 1359 cardCounter { #initclip Object.registerClass('cardCounter', Freezable); #endinitclip frame 1 { copyList = new Array(); countGauge._visible = false; asThis = this; setCardNumber = function (num) { var v1; v1 = 0; while (v1 < num) { countGauge.duplicateMovieClip('cardLeft' + v1, 1000 + v1); copyList.push('cardLeft' + v1); asThis['cardLeft' + v1]._x = (countGauge._width + 5) * v1 / num; asThis['cardLeft' + v1]._xscale = 100 / num; asThis['cardLeft' + v1]._visible = true; ++v1; } }; spellBreak = function () { if (copyList.length > 0) { asThis[copyList.pop()].removeMovieClip(); } i = 0; while (i < copyList.length) { asThis[copyList[i]]._x = (countGauge._width + 5) * i / copyList.length; asThis[copyList[i]]._xscale = 100 / copyList.length; asThis[copyList[i]]._visible = true; ++i; } }; } } movieClip 1361 gauge03 { #initclip Object.registerClass('gauge03', Freezable); #endinitclip frame 1 { this.cacheAsBitmap = true; } } movieClip 1363 powerGauge { #initclip Object.registerClass('powerGauge', Freezable); #endinitclip frame 1 { function setGauge(rate) { countGauge._xscale = rate * 100; } this.stop(); this.setGauge(0); } } // unknown tag 88 length 151 movieClip 1368 pointGauge { #initclip Object.registerClass('pointGauge', Freezable); #endinitclip frame 1 { smallFormat = new TextFormat(); smallFormat.size = 18; this.onEnterFrame = function () { rateStr = '' + Math.floor(_parent.pointRate_value) + '.' + Math.floor(_parent.pointRate_value * 10) % 10 + Math.floor(_parent.pointRate_value * 100) % 10; pointRateText.setTextFormat(rateStr.length - 2, rateStr.length, smallFormat); }; } } // unknown tag 88 length 216 movieClip 1371 timer { #initclip Object.registerClass('timer', Freezable); #endinitclip frame 1 { function setTimeLimit(num) { asThis._visible = true; timeLeft = Number(num); timeFirst = timeLeft; timeSet = true; countFrame = 0; _parent.inTime = true; timeText.setTextFormat(formatBlue); timeStr = String(Math.floor(timeLeft)); if (num < 10) { tmiStr = '0' + tmieStr; } this.onEnterFrame = function () { if (timeSet) { if (wait_val <= 0) { ++countFrame; _parent.timeGoes = true; if (countFrame >= 30) { --timeLeft; countFrame = 0; if (timeLeft < 0) { _parent.allOnTimeOver(); this.onEnterFrame = undefined; timeLeft = 0; this.timeSet = false; this.countFrame = 0; _parent.inTime = false; _parent.enemyLifeZero(); } else { timeStr = String(Math.floor(timeLeft)); if (timeLeft < 10) { timeStr = '0' + timeStr; timeSound.attachSound('se_time01'); timeSound.setVolume(100 - timeLeft * 10); timeSound.start(0, 1); } } if (timeLeft > 9) { timeText.setTextFormat(formatBlue); } else { if (timeLeft > 3) { timeText.setTextFormat(formatPurple); } else { timeText.setTextFormat(formatRed); } } } if (waitBonus_val <= 0) { if (_parent.enemyStatus == 1) { _parent.tmpSpellBonus -= Math.floor(_parent.spellBonus * 9 / 10 / (timeFirst - 1) * 30); } if (_parent.enemyStatus == 2) { _parent.tmpLastBonus -= Math.floor(_parent.lastBonus * 9 / 10 / (timeFirst - 1) * 30); } } else { --waitBonus_val; } } else { --wait_val; } } }; } function waitTime(num) { wait_val = num; if (wait_val > 0) { _parent.timeGoes = false; } } function waitBonusTime(num) { waitBonus_val = num; } this._visible = false; this.timeLeft = 0; this.timeSet = false; this.countFrame = 0; this.timeStr = '00'; this.timeFirst = 0; asThis = this; formatBlue = new TextFormat(); formatPurple = new TextFormat(); formatRed = new TextFormat(); formatBlue.color = 9340665; formatPurple.color = 13056248; formatRed.color = 16724325; timeSound = new Sound(this); wait_val = 0; waitBonus_val = 0; } } movieClip 1383 numberView03_p01 { #initclip Object.registerClass('numberView03_p01', Freezable); #endinitclip frame 1 { this.stop(); this.cacheAsBitmap = true; } } movieClip 1385 numberView03_p02 { #initclip Object.registerClass('numberView03_p02', Freezable); #endinitclip } movieClip 1386 numberView03 { #initclip Object.registerClass('numberView03', Freezable); #endinitclip frame 1 { function init() { i = 0; while (i < 8) { numDigit.duplicateMovieClip('digit' + i, 3000 + i); asThis['digit' + i]._visible = true; asThis['digit' + i]._x = (8 - i - 1) * 11; ++i; } textFailed._visible = false; } function setNumber(num) { tmpNum = Math.floor(num); i = 0; while (i < 8) { asThis['digit' + i].gotoAndStop(tmpNum % 10 + 1); tmpNum = Math.floor(tmpNum / 10); ++i; } } function spellFailed() { i = 0; while (i < 8) { asThis['digit' + i]._visible = false; ++i; } textFailed._visible = true; } this.stop(); asThis = this; numDigit._visible = false; this.init(); } } // unknown tag 88 length 211 movieClip 1389 { } movieClip 1403 spellNameText { #initclip Object.registerClass('spellNameText', Freezable); #endinitclip frame 1 { this.stop(); } } movieClip 1404 { frame 1 { function setSpellName(str) { spellNameText.gotoAndStop(str); } function spellStart() { spellNameBase.bonusView.setNumber(_parent.tmpSpellBonus); spellNameBase.historyCountSuc.setNumber(_parent.spellHistory); spellNameBase.historyCountAll.setNumber(_parent.spellHistoryAll); spellNameBase.bonusView.init(); spellNameBase.onEnterFrame = function () { if (_parent.spellNoMiss == false) { this.bonusView.spellFailed(); this.onEnterFrame = undefined; } if (_parent.enemyStatus == 1) { this.bonusView.setNumber(_parent.tmpSpellBonus); } else { if (_parent.enemyStatus == 2) { this.bonusView.setNumber(_parent.tmpLastBonus); } } }; this._visible = true; asThis.gotoAndPlay(2); } function spellEnd() { this.gotoAndPlay('spellEnd'); } this._visible = false; this.stop(); asThis = this; } frame 64 { this.stop(); } frame 81 { this.stop(); } } movieClip 1411 { frame 1 { this._visible = false; this.stop(); bonusFailed = function () { this._visible = true; this.gotoAndPlay('noBonus'); }; bonusSuccess = function (num) { this._visible = true; this.bonusNum = num; this.gotoAndPlay('getBonus'); }; } frame 2 { this._visible = true; } frame 45 { this.gotoAndStop('none'); } frame 50 { this._visible = true; } frame 99 { this.gotoAndStop('none'); } } movieClip 1412 gaugeManager { #initclip Object.registerClass('gaugeManager', Freezable); #endinitclip frame 1 { function setSpellCard(life, time, lifeSpell, timeSpell, lifeLast, timeLast) { spellNoMiss = true; enemyLifeGauge.setLife(life, lifeSpell, lifeLast); limit_normal = time; limit_spell = timeSpell; limit_last = timeLast; if (life > 0) { spellTimeLimit.setTimeLimit(limit_normal); } else { if (lifeSpell > 0) { spellTimeLimit.setTimeLimit(limit_spell); } else { if (lifeLast > 0) { spellTimeLimit.setTimeLimit(limit_last); } } } cardCounter.spellBreak(); } function enemyDamage(damage) { enemyLifeGauge.gaugeLifeReduce(damage * power_value * 0.5); } function bombDamage() { enemyLifeGauge.gaugeLifeReduce(10); } function enemyLifeZero() { enemyLifeGauge.gaugeAllLifeReduce(); } function setSpellCardTotal(num) { cardCounter.setCardNumber(num); } function showEnemyStatus(eName) { enemyName._visible = true; enemyName.gotoAndStop(eName); enemyLifeGauge._visible = true; cardCounter._visible = true; } function typeMissed() { pointRate_value = (pointRate_value - 1) / 2 + 1; } function powerGain(num) { power_value += _parent.player.basicPower * num * 0.02; if (power_value > _parent.player.basicPower * _parent.player.maxPowerRate) { power_value = _parent.player.basicPower * _parent.player.maxPowerRate; } powerDown_count = 20; } function setPowerWait(tf) { if (tf == true || tf == false) { pointDown_waiting = tf; } } function pointRateGain(num) { pointRate_value += num * power_value * 0.01; if (pointRate_value > 100) { pointRate_value = 99.99; } } function getPointRate() { return pointRate_value; } function resetPowerAndPoint() { pointRate_value = 1; power_value = _parent.player.basicPower; } function spellFailure() { spellNoMiss = false; } function setSpellCardStatus(sName, bonus, cutInName, isDurable) { spell_id = sName; spellBonus = bonus; tmpSpellBonus = bonus; spellCutIn = cutInName; if (isDurable == true) { spell_durable = true; } else { spell_durable = false; } if (enemyLifeGauge.life_normal <= 0) { runSpellCard(); } else { lifeListener = new Object(); lifeListener.onLifeOver = function () { trace('RunSpellCard'); runSpellCard(); }; addGaugeListener(lifeListener); } } function setLastSpellStatus(sName, bonus, cutInName, isDurable) { last_id = sName; lastBonus = bonus; tmpLastBonus = bonus; lastCutIn = cutInName; if (isDurable == true) { last_durable = true; } else { last_durable = false; } if (enemyLifeGauge.life_normal <= 0 && enemyLifeGauge.life_spell <= 0) { runLastSpell(); } else { lifeListener = new Object(); lifeListener.onSpellBreak = function () { runLastSpell(); }; addGaugeListener(lifeListener); } } function runSpellCard() { _parent.seSound.attachSound('se_spell01'); _parent.seSound.start(0, 1); trace('スペルカード'); spellNoMiss = true; if (spell_durable != true) { breakListener = new Object(); breakListener.onSpellBreak = function () { trace('SpellBreak'); if (inTime && spellNoMiss) { takeBonus(tmpSpellBonus); } else { noBonus(); } spellNameView.spellEnd(); }; addGaugeListener(breakListener); } else { breakListener = new Object(); breakListener.onSpellBreak = function () { if (spellNoMiss) { takeBonus(tmpSpellBonus); } else { noBonus(); } spellNameView.spellEnd(); }; addGaugeListener(breakListener); } cutIn.playCutIn(spellCutIn); spellNameView.setSpellName(spell_id); spellNameView.spellStart(); } function runLastSpell() { _parent.seSound.attachSound('se_spell01'); _parent.seSound.start(0, 1); trace('ラストカード'); spellNoMiss = true; if (last_durable != true) { breakListener = new Object(); breakListener.onLastBreak = function () { if (inTime && spellNoMiss) { takeBonus(tmpSpellBonus); } else { noBonus(); } spellNameView.spellEnd(); }; addGaugeListener(breakListener); } else { breakListener = new Object(); breakListener.onLastBreak = function () { if (spellNoMiss) { takeBonus(tmpSpellBonus); } else { noBonus(); } spellNameView.spellEnd(); }; addGaugeListener(breakListener); } cutIn.playCutIn(lastCutIn); spellNameView.setSpellName(last_id); spellNameView.spellStart(); } function subInit() { spellNoMiss = true; inTime = true; limit_normal = 0; limit_spell = 0; limit_last = 0; timeGoes = true; spell_id = ''; spellBonus = 0; spellHistory = 0; spellHistoryAll = 0; spellCutIn = ''; spell_durable = false; tmpSpellBonus = 0; last_id = ''; lastBonus = 0; lastHistory = 0; lastHistoryAll = 0; lastCutIn = ''; last_durable = false; tmpLastBonus = 0; enemyStatus = 0; } function endInit() { enemyName._visible = false; enemyLifeGauge._visible = false; cardCounter._visible = false; spellTimeLimit._visible = false; } function takeBonus(bNum) { bonusResult.bonusSuccess(bNum); _parent._parent.outerFrame.addScore(bNum); } function noBonus() { bonusResult.bonusFailed(); } function allOnTimeOver() { i = 0; while (i < gaugeListenerList.length) { gaugeListenerList[i].onTimeOver(); ++i; } } function allOnLifeOver() { i = 0; while (i < gaugeListenerList.length) { gaugeListenerList[i].onLifeOver(); ++i; } } function allOnSpellBreak() { i = 0; while (i < gaugeListenerList.length) { gaugeListenerList[i].onSpellBreak(); ++i; } } function allOnLastBreak() { i = 0; while (i < gaugeListenerList.length) { gaugeListenerList[i].onLastBreak(); ++i; } } enemyName._visible = false; enemyLifeGauge._visible = false; cardCounter._visible = false; power_value = _parent.player.basicPower; if (_parent._parent.prePointRate == undefined) { pointRate_value = 1; } else { pointRate_value = _parent._parent.prePointRate; } powerDown_count = 0; pointDown_waiting = false; spellNoMiss = true; inTime = true; limit_normal = 0; limit_spell = 0; limit_last = 0; timeGoes = true; spell_id = ''; spellBonus = 0; spellHistory = 0; spellHistoryAll = 0; spellCutIn = ''; spell_durable = false; tmpSpellBonus = 0; last_id = ''; lastBonus = 0; lastHistory = 0; lastHistoryAll = 0; lastCutIn = ''; last_durable = false; tmpLastBonus = 0; enemyStatus = 0; this.onEnterFrame = function () { if (!pointDown_waiting && _parent.typingMovieClip.getBoxCount() > 0) { if (powerDown_count <= 0) { power_value -= _parent.player.basicPower * _parent.player.powerRateDownSpeed; if (power_value < _parent.player.basicPower) { power_value = _parent.player.basicPower; } } else { --powerDown_count; } } powerGauge.setGauge((power_value - _parent.player.basicPower) / (_parent.player.maxPowerRate - 1) * _parent.player.basicPower); }; gaugeListenerList = new Array(); addGaugeListener = function (obj) { gaugeListenerList.push(obj); }; removeGaugeListener = function (obj) { var v1; v1 = 0; while (v1 < gaugeListenerList.length) { if (gaugeListenerList[v1] == obj) { gaugeListenerList = (gaugeListenerList.slice(0, v1)).concat(gaugeListenerList.slice(v1 + 1)); break; } ++v1; } }; removeAllGaugeListener = function () { gaugeListenerList = new Array(); }; } } movieClip 1414 typeBox_frame { #initclip Object.registerClass('typeBox_frame', Freezable); #endinitclip frame 1 { this.cacheAsBitmap = true; } } movieClip 1416 typeBox_base { #initclip Object.registerClass('typeBox_base', Freezable); #endinitclip frame 1 { this.cacheAsBitmap = true; } } // unknown tag 88 length 138 // unknown tag 88 length 137 movieClip 1424 typeBox01 { #initclip Object.registerClass('typeBox01', Freezable); #endinitclip frame 1 { function typeComplete() { this.gotoAndPlay('boxDelete'); this.onTypeComplete(); } this.stop(); } frame 11 { this.stop(); } frame 41 { this.stop(); this.removeMovieClip(); } } movieClip 1426 { frame 1 { this.cacheAsBitmap = true; } } movieClip 1428 mask_typeBox02 { #initclip Object.registerClass('mask_typeBox02', Freezable); #endinitclip } movieClip 1430 typeBox_frame2 { #initclip Object.registerClass('typeBox_frame2', Freezable); #endinitclip frame 1 { this.cacheAsBitmap = true; } } movieClip 1434 mystiaShadow01 { #initclip Object.registerClass('mystiaShadow01', Freezable); #endinitclip } movieClip 1445 numberView02_p01 { #initclip Object.registerClass('numberView02_p01', Freezable); #endinitclip frame 1 { this.stop(); this.cacheAsBitmap = true; } } movieClip 1446 numberView02 { #initclip Object.registerClass('numberView02', Freezable); #endinitclip frame 1 { function setNumber(num) { tmpNum = Math.floor(num); digitCount = (String(tmpNum)).length; trace('得点:' + tmpNum); i = 0; while (i < digitCount) { if (num > 100000) { numDigit2.duplicateMovieClip('digit' + i, 3000 + i); } else { numDigit.duplicateMovieClip('digit' + i, 3000 + i); } asThis['digit' + i]._visible = true; asThis['digit' + i]._x = ((digitCount - 1) / 2 - i) * 20; asThis['digit' + i].gotoAndStop(tmpNum % 10 + 1); tmpNum = Math.floor(tmpNum / 10); asThis['digit' + i].count = 0; asThis['digit' + i].onEnterFrame = function () { this._y -= 2; ++this.count; if (this.count > 10) { this._alpha -= 8; } if (this.count > 40) { this.removeMovieClip(); } }; ++i; } } this.stop(); asThis = this; numDigit._visible = false; numDigit2._visible = false; digitList = new Array(); } } movieClip 1448 mahoujin_p01 { #initclip Object.registerClass('mahoujin_p01', Freezable); #endinitclip } movieClip 1449 mahoujinforType01 { #initclip Object.registerClass('mahoujinforType01', Freezable); #endinitclip } movieClip 1452 typingTarget01 { #initclip Object.registerClass('typingTarget01', Freezable); #endinitclip frame 1 { this.stop(); this.charTyped = ''; asThis = this; keyTyped = function (c) { charTyped = c.toUpperCase(); asThis.gotoAndPlay('typed'); }; } frame 2 { this._visible = true; } frame 5 { this.gotoAndStop('none'); } } movieClip 1456 typeBox02 { #initclip Object.registerClass('typeBox02', Freezable); #endinitclip frame 1 { function typeComplete() { this.gotoAndPlay('boxDelete'); this.onEnterFrame = undefined; this.onEnterFrameWithBullets = undefined; i = 0; while (i < typeBoxListenerList.length) { typeBoxListenerList[i].onTypeComplete(); ++i; } } function deleted() { this.onEnterFrame = undefined; this.onEnterFrameWithBullets = undefined; this.removeMovieClip(); } function typed(cAscii, stat) { typingTarget._visible = true; typingTarget._x = typeText_alp._x; typingTarget.keyTyped(String.fromCharCode(cAscii)); if (stat == 2) { typingTarget.mahoujin._visible = false; } } this.stop(); } instance tb_mask of movieClip 1428 mask_typeBox02 { } instance typingTarget of movieClip 1452 typingTarget01 { onClipEvent (load) { this._visible = false; } } frame 61 { this.stop(); this.removeMovieClip(); } } movieClip 1462 { frame 1 { function typeComplete() { this.gotoAndPlay('boxDelete'); this.onEnterFrame = undefined; this.onEnterFrameWithBullets = undefined; i = 0; while (i < typeBoxListenerList.length) { typeBoxListenerList[i].onTypeComplete(); ++i; } } function deleted() { this.onEnterFrame = undefined; this.onEnterFrameWithBullets = undefined; this.removeMovieClip(); } function typed(cAscii, stat) { typingTarget._visible = true; typingTarget._x = typeText_alp._x; typingTarget.keyTyped(String.fromCharCode(cAscii)); if (stat == 2) { typingTarget.mahoujin._visible = false; } } this.stop(); } instance typingTarget of movieClip 1452 typingTarget01 { onClipEvent (load) { this._visible = false; } } frame 61 { this.stop(); this.removeMovieClip(); } } movieClip 1465 dummyFrame03 { #initclip Object.registerClass('dummyFrame03', Freezable); #endinitclip frame 1 { this._visible = false; } } movieClip 1466 mc_typing { #initclip Object.registerClass('mc_typing', Freezable); #endinitclip frame 1 { function createTypeBox01(insName, depth, str_jpn, yomi) { typeBox01.duplicateMovieClip(insName, depth); this[insName]._visible = true; this.boxNameArray.push(insName); this[insName].t_word = new TypingWord(); this[insName].t_word.setYomiString(yomi); this[insName].typeText_jpn.autoSize = 'center'; this[insName].typeText_alp.autoSize = 'right'; this[insName].typeText_jpn.text = str_jpn; this[insName].typeText_alp.text = this[insName].t_word.getRomanString(); this[insName].typeText_alp._x = -(this[insName].typeText_alp._width / 2); var v3 = this[insName].typeText_alp._width; if (v3 < this[insName].typeText_jpn._width) { v3 = this[insName].typeText_jpn._width; } this[insName].tb_base._width = v3 + 40; this[insName].tb_frame._width = v3 + 40; } function createTypeBox02(insName, depth, str_jpn, yomi, startFrame, limitFrame) { typeBox02.duplicateMovieClip(insName, depth); this[insName]._visible = true; this.boxNameArray.push(insName); this[insName].t_word = new TypingWord(); this[insName].t_word.setYomiString(yomi); this[insName].typeText_jpn.autoSize = 'center'; this[insName].typeText_alp.autoSize = 'right'; this[insName].typeText_jpn.text = str_jpn; this[insName].typeText_alp.text = this[insName].t_word.getRomanString(); this[insName].typeText_alp._x = -(this[insName].typeText_alp._width / 2); var v3 = this[insName].typeText_alp._width; if (v3 < this[insName].typeText_jpn._width) { v3 = this[insName].typeText_jpn._width; } this[insName].tb_base._width = v3 + 40; this[insName].tb_frame._width = v3 + 40; this[insName].tb_frameRed._width = v3 + 40; this[insName].tb_mask._width = 0; this[insName].tb_mask.maxW = v3 + 40; this[insName].tb_mask._x = -this[insName].tb_mask.maxW / 2; this[insName].count = 0; this[insName].onEnterFrame = function () { ++this.count; if (this.count > startFrame) { if (this.count < limitFrame) { this.tb_mask._width = this.tb_mask.maxW * (this.count - startFrame) / (limitFrame - startFrame); } else { deleteAll(); typeTarget = ''; } } this.onEnterFrameWithBullets(); }; } function createTypeBox03(insName, depth, wsList, startFrame, limitFrame) { typeBox02.duplicateMovieClip(insName, depth); this[insName]._visible = true; this.boxNameArray.push(insName); this[insName]._isTypeBox = true; this[insName].t_word = new TypingWord2(); var v5 = wsList.getRandomExcept(getInitialString()); this[insName].t_word.setYomiString(v5.yomi, wsList.getRule()); this[insName].typeText_jpn.autoSize = 'center'; this[insName].typeText_alp.autoSize = 'right'; this[insName].typeText_jpn.text = v5.word; this[insName].typeText_alp.text = this[insName].t_word.getRomanString(); this[insName].typeText_alp._x = -(this[insName].typeText_alp._width / 2); var v4 = this[insName].typeText_alp._width; if (v4 < this[insName].typeText_jpn._width) { v4 = this[insName].typeText_jpn._width; } this[insName].tb_base._width = v4 + 40; this[insName].tb_frame._width = v4 + 40; this[insName].tb_frameRed._width = v4 + 40; this[insName].tb_mask._width = 0; this[insName].tb_mask.maxW = v4 + 40; this[insName].tb_mask._x = -this[insName].tb_mask.maxW / 2; this[insName].mystiaShadow1._visible = false; this[insName].mystiaShadow2._visible = false; this[insName].count = 0; this[insName].getFrameLeft = function () { if (this.count > startFrame) { return Number(limitFrame) - this.count; } else { return limitFrame - startFrame; } }; this[insName].onEnterFrame = function () { ++this.count; if (this.count > startFrame) { if (this.count < limitFrame) { this.tb_mask._width = this.tb_mask.maxW * (this.count - startFrame) / (limitFrame - startFrame); } else { trace('MISS'); deleteAll(); typeTarget = ''; i = 0; while (i < this.typeBoxListenerList.length) { this.typeBoxListenerList[i].onTypeFailure(); ++i; } _parent.playerMiss(); } } this.onEnterFrameWithBullets(); }; this[insName].typeBoxListenerList = new Array(); this[insName].addTypeBoxListener = function (obj) { this.typeBoxListenerList.push(obj); }; this[insName].removeTypeBoxListener = function (obj) { i = 0; while (i < typeBoxListenerList.length) { if (obj == typeBoxListenerList[i]) { this.typeBoxListenerList = (this.typeBoxListenerList.slice(0, i)).concat(this.typeBoxListenerList.slice(i + 1)); return 1; } ++i; } return 0; }; } function createTypeBox_mystia(insName, depth, wsList, startFrame, limitFrame) { typeBox02.duplicateMovieClip(insName, depth); this[insName]._visible = true; this.boxNameArray.push(insName); this[insName]._isTypeBox = true; this[insName].t_word = new TypingWord2(); var v5 = wsList.getRandomExcept(getInitialString()); this[insName].t_word.setYomiString(v5.yomi, wsList.getRule()); this[insName].typeText_jpn.autoSize = 'center'; this[insName].typeText_alp.autoSize = 'right'; this[insName].typeText_jpn.text = v5.word; this[insName].typeText_alp.text = this[insName].t_word.getRomanString(); this[insName].typeText_alp._x = -(this[insName].typeText_alp._width / 2); var v4 = this[insName].typeText_alp._width; if (v4 < this[insName].typeText_jpn._width) { v4 = this[insName].typeText_jpn._width; } this[insName].tb_base._width = v4 + 40; this[insName].tb_frame._width = v4 + 40; this[insName].tb_frameRed._width = v4 + 40; this[insName].tb_mask._width = 0; this[insName].tb_mask.maxW = v4 + 40; this[insName].tb_mask._x = -this[insName].tb_mask.maxW / 2; this[insName].mystiaShadow1._visible = true; this[insName].mystiaShadow2._visible = true; this[insName].mystiaShadow1._x = this[insName].typeText_alp._x + this[insName].typeText_alp._width + 5; this[insName].shadowWidthBase1 = this[insName].typeText_alp._width; this[insName].mystiaShadow1.onEnterFrame = function () { this._width = this._parent.typeText_alp._width; }; this[insName].mystiaShadow2._x = this[insName].typeText_jpn._x + this[insName].typeText_jpn._width + 5; this[insName].shadowWidthBase2 = this[insName].typeText_jpn._width; this[insName].mystiaShadow2.onEnterFrame = function () { this._width = (this._parent.typeText_alp._width / this._parent.shadowWidthBase1) * this._parent.shadowWidthBase2; }; this[insName].count = 0; this[insName].getFrameLeft = function () { if (this.count > startFrame) { return Number(limitFrame) - this.count; } else { return limitFrame - startFrame; } }; this[insName].onEnterFrame = function () { ++this.count; if (this.count > startFrame) { if (this.count < limitFrame) { this.tb_mask._width = this.tb_mask.maxW * (this.count - startFrame) / (limitFrame - startFrame); } else { trace('MISS'); deleteAll(); typeTarget = ''; i = 0; while (i < this.typeBoxListenerList.length) { this.typeBoxListenerList[i].onTypeFailure(); ++i; } _parent.playerMiss(); } } this.onEnterFrameWithBullets(); }; this[insName].typeBoxListenerList = new Array(); this[insName].addTypeBoxListener = function (obj) { this.typeBoxListenerList.push(obj); }; this[insName].removeTypeBoxListener = function (obj) { i = 0; while (i < typeBoxListenerList.length) { if (obj == typeBoxListenerList[i]) { this.typeBoxListenerList = (this.typeBoxListenerList.slice(0, i)).concat(this.typeBoxListenerList.slice(i + 1)); return 1; } ++i; } return 0; }; } function createTypeBox_noLimit(insName, depth, word, yomi, rule) { typeBox03.duplicateMovieClip(insName, depth); this[insName]._visible = true; this.boxNameArray.push(insName); this[insName]._isTypeBox = true; this[insName].t_word = new TypingWord2(); this[insName].t_word.setYomiString(yomi, rule); this[insName].typeText_jpn.autoSize = 'center'; this[insName].typeText_alp.autoSize = 'right'; this[insName].typeText_jpn.text = word; this[insName].typeText_alp.text = this[insName].t_word.getRomanString(); this[insName].typeText_alp._x = -(this[insName].typeText_alp._width / 2); var v3 = this[insName].typeText_alp._width; if (v3 < this[insName].typeText_jpn._width) { v3 = this[insName].typeText_jpn._width; } this[insName].tb_base._width = v3 + 40; this[insName].tb_frame._width = v3 + 40; this[insName].tb_frameRed._width = v3 + 40; this[insName].typeBoxListenerList = new Array(); this[insName].addTypeBoxListener = function (obj) { this.typeBoxListenerList.push(obj); }; this[insName].removeTypeBoxListener = function (obj) { i = 0; while (i < typeBoxListenerList.length) { if (obj == typeBoxListenerList[i]) { this.typeBoxListenerList = (this.typeBoxListenerList.slice(0, i)).concat(this.typeBoxListenerList.slice(i + 1)); return 1; } ++i; } return 0; }; } function getInitialString() { var v1 = ''; i = 0; while (i < asThis.boxNameArray.length) { v1 = v1.concat((asThis[boxNameArray[i]].t_word.getRomanString()).charAt(0)); ++i; } return v1; } function deleteAll() { i = 0; while (i < boxNameArray.length) { if (asThis[boxNameArray[i]].deleted != undefined) { asThis[boxNameArray[i]].deleted(); } else { asThis[boxNameArray[i]].removeMovieClip(); } ++i; } typeTarget = ''; boxNameArray = new Array(); } function getBoxCount() { return boxNameArray.length; } var boxNameArray = new Array(); var typeTarget = ''; var typeCount = 0; typeBox01._visible = false; typeBox02._visible = false; typeBox03._visible = false; typingListener = new Array(); addTypingListener = function (obj) { typingListener.push(obj); }; removeTypingListener = function (obj) { i = 0; while (i < typingListener.length) { if (typingListener[i] == obj) { typingListener = (typingListener.slice(0, i)).concat(typingListener.slice(i + 1)); break; } ++i; } }; removeAllTypingListener = function () { typingListener = new Array(); }; asThis = this; keyListener = new Object(); keyListener.onKeyDown = function () { if (!this._frozen && _parent.playerStatus == 0) { if (Key.isDown(13)) { _parent.playerBomb(); return undefined; } if (Key.getCode() == 16) { return undefined; } _parent.player.attack(); if (typeTarget == '') { var v3; var v4 = 0; var v5 = ''; v3 = 0; while (v3 < asThis.boxNameArray.length) { v5 = (asThis[boxNameArray[v3]].t_word.getRomanString()).charAt(0); if (v5 == (String.fromCharCode(Key.getAscii())).toUpperCase()) { trace('Typed (Same Capital)'); _parent.seSound.attachSound('se_shot03'); _parent.seSound.start(0, 1); v4 = asThis[boxNameArray[v3]].t_word.charTyped(Key.getAscii()); if (_parent.gaugeManager.spell_durable == true && _parent.gaugeManager.enemyStatus == 1 || _parent.gaugeManager.enemyStatus == 3) { _parent.playerShot.shotToLocation(asThis[boxNameArray[v3]]._x, asThis[boxNameArray[v3]]._y); } else { if (_parent.gaugeManager.last_durable == true && _parent.gaugeManager.enemyStatus == 2) { _parent.playerShot.shotToLocation(asThis[boxNameArray[v3]]._x, asThis[boxNameArray[v3]]._y); } else { _parent.playerShot.shotToEnemy(); } } ++typeCount; _parent.gaugeManager.powerGain(1); _parent.gaugeManager.pointRateGain(1); _parent._parent.outerFrame.addScore(10 * _parent.gaugeManager.getPointRate()); typeTarget = boxNameArray[v3]; asThis[typeTarget].typeText_alp.text = asThis[typeTarget].t_word.getRomanString(); asThis[typeTarget].typed(Key.getAscii(), v4); if (v4 == 2) { _parent.gaugeManager.enemyDamage(typeCount); tmpPoint = 10 * _parent.gaugeManager.getPointRate() * asThis[typeTarget].getFrameLeft() * typeCount; _parent._parent.outerFrame.addScore(tmpPoint); asThis[typeTarget].pointView.setNumber(tmpPoint); typeCount = 0; asThis[typeTarget].typeComplete(); boxNameArray = (boxNameArray.slice(0, v3)).concat(boxNameArray.slice(v3 + 1)); typeTarget = ''; if (boxNameArray.length == 0) { k = 0; while (k < typingListener.length) { typingListener[k].onAllTypingComplete(); ++k; } } } return undefined; } ++v3; } v3 = 0; while (v3 < asThis.boxNameArray.length) { v4 = asThis[boxNameArray[v3]].t_word.charTyped(Key.getAscii()); if (v4 > 0) { _parent.seSound.attachSound('se_shot03'); _parent.seSound.start(0, 1); if (_parent.gaugeManager.spell_durable == true && _parent.gaugeManager.enemyStatus == 1 || _parent.gaugeManager.enemyStatus == 3) { _parent.playerShot.shotToLocation(asThis[boxNameArray[v3]]._x, asThis[boxNameArray[v3]]._y); } else { if (_parent.gaugeManager.last_durable == true && _parent.gaugeManager.enemyStatus == 2) { _parent.playerShot.shotToLocation(asThis[boxNameArray[v3]]._x, asThis[boxNameArray[v3]]._y); } else { _parent.playerShot.shotToEnemy(); } } ++typeCount; _parent.gaugeManager.powerGain(1); _parent.gaugeManager.pointRateGain(1); _parent._parent.outerFrame.addScore(10 * _parent.gaugeManager.getPointRate()); typeTarget = boxNameArray[v3]; asThis[typeTarget].typeText_alp.text = asThis[typeTarget].t_word.getRomanString(); asThis[typeTarget].typed(Key.getAscii(), v4); if (v4 == 2) { _parent.gaugeManager.enemyDamage(typeCount); tmpPoint = 10 * _parent.gaugeManager.getPointRate() * asThis[typeTarget].getFrameLeft() * typeCount; _parent._parent.outerFrame.addScore(tmpPoint); asThis[typeTarget].pointView.setNumber(tmpPoint); typeCount = 0; asThis[typeTarget].typeComplete(); boxNameArray = (boxNameArray.slice(0, v3)).concat(boxNameArray.slice(v3 + 1)); typeTarget = ''; if (boxNameArray.length == 0) { k = 0; while (k < typingListener.length) { typingListener[k].onAllTypingComplete(); ++k; } } } break; } else { _parent.seSound.attachSound('se_shot02'); _parent.seSound.start(0, 1); if (boxNameArray.length == 0) { _parent.gaugeManager.typeMissed(); } _parent.playerShot.shotToLocation(700, 80); } ++v3; } } else { var v4 = asThis[typeTarget].t_word.charTyped(Key.getAscii()); if (v4 > 0) { _parent.seSound.attachSound('se_shot03'); _parent.seSound.start(0, 1); if (_parent.gaugeManager.spell_durable == true && _parent.gaugeManager.enemyStatus == 1 || _parent.gaugeManager.enemyStatus == 3) { _parent.playerShot.shotToLocation(asThis[typeTarget]._x, asThis[typeTarget]._y); } else { if (_parent.gaugeManager.last_durable == true && _parent.gaugeManager.enemyStatus == 2) { _parent.playerShot.shotToLocation(asThis[typeTarget]._x, asThis[typeTarget]._y); } else { _parent.playerShot.shotToEnemy(); } } ++typeCount; _parent.gaugeManager.powerGain(1); _parent.gaugeManager.pointRateGain(1); _parent._parent.outerFrame.addScore(10 * _parent.gaugeManager.getPointRate()); asThis[typeTarget].typeText_alp.text = asThis[typeTarget].t_word.getRomanString(); asThis[typeTarget].typed(Key.getAscii(), v4); if (v4 == 2) { _parent.gaugeManager.takeDamage(typeCount); tmpPoint = 10 * _parent.gaugeManager.getPointRate() * asThis[typeTarget].getFrameLeft() * typeCount; _parent._parent.outerFrame.addScore(tmpPoint); asThis[typeTarget].pointView.setNumber(tmpPoint); typeCount = 0; asThis[typeTarget].typeComplete(); var v3 = 0; while (v3 < boxNameArray.length) { if (boxNameArray[v3] == typeTarget) { boxNameArray = (new Array()).concat(boxNameArray.slice(0, v3), boxNameArray.slice(v3 + 1)); } ++v3; } typeTarget = ''; if (boxNameArray.length == 0) { k = 0; while (k < typingListener.length) { typingListener[k].onAllTypingComplete(); ++k; } } } } else { _parent.seSound.attachSound('se_shot02'); _parent.seSound.start(0, 1); _parent.gaugeManager.typeMissed(); _parent.playerShot.shotToLocation(700, 80); } } } }; this.onUnload = function () { Key.removeListener(keyListener); }; Key.addListener(keyListener); } } movieClip 1468 mask01 { #initclip Object.registerClass('mask01', Freezable); #endinitclip } movieClip 1472 { } // unknown tag 88 length 56 // unknown tag 88 length 55 movieClip 1484 text_anyKey { #initclip Object.registerClass('text_anyKey', Freezable); #endinitclip } movieClip 1485 stageStart01 { #initclip Object.registerClass('stageStart01', Freezable); #endinitclip frame 110 { this.stop(); } } // unknown tag 88 length 95 movieClip 1500 dummyFrame05 { #initclip Object.registerClass('dummyFrame05', Freezable); #endinitclip frame 1 { this._visible = false; } } movieClip 1501 spellCard_cirno01 { #initclip Object.registerClass('spellCard_cirno01', Freezable); #endinitclip frame 1 { sCount = 0; asThis = this; _parent.gaugeManager.setSpellCard(100, 30, 100, 40, 0, 0); _parent.gaugeManager.setSpellCardStatus('cirno01', 300000, 'cirno', false); _parent.gaugeManager.showEnemyStatus('cirno'); spellListener = new Object(); spellListener.onLifeOver = function () { asThis.gotoAndPlay('spell1'); _parent.spellBack.gotoAndStop('cirno'); _parent.typingMovieClip.deleteAll(); _parent.typingBulletsManager.deleteAllBullets(1); }; spellListener.onSpellBreak = function () { asThis.gotoAndPlay('spellEnd'); _parent.spellBack.gotoAndStop('none'); _parent.typingMovieClip.deleteAll(); _parent.typingBulletsManager.deleteAllBullets(1); }; _parent.gaugeManager.addGaugeListener(spellListener); } frame 2 { asThis = this; _parent.enemy.gotoAndStop(3); tListener = new Object(); tListener.onAllTypingComplete = function () { asThis.gotoAndPlay('allComplete1'); }; _parent.typingMovieClip.addTypingListener(tListener); gListener = new Object(); gListener.onRecovery = function () { asThis.gotoAndPlay('allComplete1'); }; _parent.addGameListener(gListener); } frame 8 { ++sCount; _parent.typingMovieClip.createTypeBox03('t_iceFall' + sCount, 10000 - sCount, _parent.wordList_cirno01, 80, 260); _parent.typingBulletsManager.setBulletsWithTyping('cirno01c', 'iceFall' + sCount, 5000 - sCount, _parent.typingMovieClip['t_iceFall' + sCount]); listener1 = new Object(); listener1.onTypeComplete = function () { _parent.gaugeManager.enemyDamage(10); }; _parent.typingMovieClip['t_iceFall' + sCount].addTypeBoxListener(listener1); _parent.typingMovieClip['t_iceFall' + sCount].targ = _parent.typingBulletsManager['iceFall' + sCount].danmakuPart; _parent.typingMovieClip['t_iceFall' + sCount].onEnterFrameWithBullets = function () { this.locBounds = this.targ.boxLocation.getBounds(this._parent); this._x = (this.locBounds.xMax + this.locBounds.xMin) / 2; this._y = (this.locBounds.yMax + this.locBounds.yMin) / 2; }; } frame 10 { ++sCount; _parent.typingMovieClip.createTypeBox03('t_iceFall' + sCount, 10000 - sCount, _parent.wordList_cirno01, 118, 285); _parent.typingBulletsManager.setBulletsWithTyping('cirno01b', 'iceFall' + sCount, 5000 - sCount, _parent.typingMovieClip['t_iceFall' + sCount]); listener2 = new Object(); listener2.onTypeComplete = function () { _parent.gaugeManager.enemyDamage(10); }; _parent.typingMovieClip['t_iceFall' + sCount].addTypeBoxListener(listener2); _parent.typingMovieClip['t_iceFall' + sCount].targ = _parent.typingBulletsManager['iceFall' + sCount].danmakuPart; _parent.typingMovieClip['t_iceFall' + sCount].onEnterFrameWithBullets = function () { this.locBounds = this.targ.boxLocation.getBounds(this._parent); this._x = (this.locBounds.xMax + this.locBounds.xMin) / 2; this._y = (this.locBounds.yMax + this.locBounds.yMin) / 2; }; } frame 12 { ++sCount; _parent.typingMovieClip.createTypeBox03('t_iceFall' + sCount, 10000 - sCount, _parent.wordList_cirno01, 147, 314); _parent.typingBulletsManager.setBulletsWithTyping('cirno01a', 'iceFall' + sCount, 5000 - sCount, _parent.typingMovieClip['t_iceFall' + sCount]); listener3 = new Object(); listener3.onTypeComplete = function () { _parent.gaugeManager.enemyDamage(10); }; _parent.typingMovieClip['t_iceFall' + sCount].addTypeBoxListener(listener3); _parent.typingMovieClip['t_iceFall' + sCount].targ = _parent.typingBulletsManager['iceFall' + sCount].danmakuPart; _parent.typingMovieClip['t_iceFall' + sCount].onEnterFrameWithBullets = function () { this.locBounds = this.targ.boxLocation.getBounds(this._parent); this._x = (this.locBounds.xMax + this.locBounds.xMin) / 2; this._y = (this.locBounds.yMax + this.locBounds.yMin) / 2; }; } frame 14 { this.stop(); } frame 15 { _parent.typingMovieClip.removeTypingListener(tListener); _parent.removeGameListener(gListener); } frame 16 { this.gotoAndPlay('firstFrame'); } frame 30 { _parent.enemy.gotoAndStop(1); tListener = new Object(); tListener.onAllTypingComplete = function () { asThis.gotoAndPlay('allComplete2'); }; _parent.typingMovieClip.addTypingListener(tListener); gListener = new Object(); gListener.onRecovery = function () { asThis.gotoAndPlay('allComplete2'); }; _parent.addGameListener(gListener); } frame 31 { _parent.enemy.gotoAndStop(2); } frame 81 { ++sCount; _parent.typingMovieClip.createTypeBox03('t_iceFall' + sCount, 10000 - sCount, _parent.wordList_cirno01, 0, 180); _parent.typingBulletsManager.setBulletsWithTyping('cirno02a', 'iceFall' + sCount, 5000 - sCount, _parent.typingMovieClip['t_iceFall' + sCount]); listener1 = new Object(); listener1.onTypeComplete = function () { _parent.gaugeManager.enemyDamage(10); }; _parent.typingMovieClip['t_iceFall' + sCount].addTypeBoxListener(listener1); _parent.typingMovieClip['t_iceFall' + sCount].targ = _parent.typingBulletsManager['iceFall' + sCount].danmakuPart; _parent.typingMovieClip['t_iceFall' + sCount].onEnterFrameWithBullets = function () { this.locBounds = this.targ.boxLocation.getBounds(this._parent); this._x = (this.locBounds.xMax + this.locBounds.xMin) / 2; this._y = (this.locBounds.yMax + this.locBounds.yMin) / 2; }; } frame 84 { ++sCount; _parent.typingMovieClip.createTypeBox03('t_iceFall' + sCount, 10000 - sCount, _parent.wordList_cirno01, 0, 200); _parent.typingBulletsManager.setBulletsWithTyping('cirno02b', 'iceFall' + sCount, 5000 - sCount, _parent.typingMovieClip['t_iceFall' + sCount]); listener2 = new Object(); listener2.onTypeComplete = function () { _parent.gaugeManager.enemyDamage(10); }; _parent.typingMovieClip['t_iceFall' + sCount].addTypeBoxListener(listener2); _parent.typingMovieClip['t_iceFall' + sCount].targ = _parent.typingBulletsManager['iceFall' + sCount].danmakuPart; _parent.typingMovieClip['t_iceFall' + sCount].onEnterFrameWithBullets = function () { this.locBounds = this.targ.boxLocation.getBounds(this._parent); this._x = (this.locBounds.xMax + this.locBounds.xMin) / 2; this._y = (this.locBounds.yMax + this.locBounds.yMin) / 2; }; } frame 86 { this.stop(); } frame 99 { _parent.typingMovieClip.removeTypingListener(tListener); _parent.removeGameListener(gListener); } frame 100 { this.gotoAndPlay('spell1'); } frame 125 { _parent.play(); } frame 191 { this.gotoAndPlay('firstFrame'); } } movieClip 1502 { frame 1 { sCount = 0; asThis = this; _parent.gaugeManager.setSpellCard(0, 0, 0, 0, 100, 45); _parent.gaugeManager.setLastSpellStatus('cirno02', 500000, 'cirno', false); _parent.gaugeManager.showEnemyStatus('cirno'); _parent.spellBack.gotoAndStop('cirno'); spellListener = new Object(); spellListener.onLastBreak = function () { asThis.gotoAndPlay('spellEnd'); _parent.spellBack.gotoAndStop('none'); _parent.typingMovieClip.deleteAll(); _parent.typingBulletsManager.deleteAllBullets(1); }; _parent.gaugeManager.addGaugeListener(spellListener); } frame 2 { _parent.enemy.gotoAndStop(1); tListener = new Object(); tListener.onAllTypingComplete = function () { asThis.gotoAndPlay('allComplete2'); }; _parent.typingMovieClip.addTypingListener(tListener); gListener = new Object(); gListener.onRecovery = function () { asThis.gotoAndPlay('allComplete2'); }; _parent.addGameListener(gListener); } frame 3 { _parent.enemy.gotoAndStop(2); } frame 53 { ++sCount; _parent.typingBulletsManager.setBullets('cirno03a', 'pFreeze' + sCount, 5000 - sCount); } frame 58 { ++sCount; _parent.typingBulletsManager.setBullets('cirno03b', 'pFreeze' + sCount, 5000 - sCount); } frame 63 { ++sCount; _parent.typingBulletsManager.setBullets('cirno03c', 'pFreeze' + sCount, 5000 - sCount); } frame 78 { i = 0; while (i < 3) { _parent.typingMovieClip.createTypeBox03('t_pFreeze' + (sCount - i), 10000 - (sCount - i), _parent.wordList_cirno03, 100, 350); _parent.typingBulletsManager.attatchTyping('pFreeze' + (sCount - i), _parent.typingMovieClip['t_pFreeze' + (sCount - i)]); asThis['listener' + i] = new Object(); asThis['listener' + i].onTypeComplete = function () { _parent.gaugeManager.enemyDamage(10); }; _parent.typingMovieClip['t_pFreeze' + (sCount - i)].addTypeBoxListener(asThis['listener' + i]); _parent.typingMovieClip['t_pFreeze' + (sCount - i)].targ = _parent.typingBulletsManager['pFreeze' + (sCount - i)].danmakuPart; _parent.typingMovieClip['t_pFreeze' + (sCount - i)].onEnterFrameWithBullets = function () { this.locBounds = this.targ.boxLocation.getBounds(this._parent); this._x = (this.locBounds.xMax + this.locBounds.xMin) / 2; this._y = (this.locBounds.yMax + this.locBounds.yMin) / 2; }; ++i; } } frame 79 { this.stop(); } frame 80 { _parent.typingMovieClip.removeTypingListener(tListener); _parent.removeGameListener(gListener); } frame 81 { this.gotoAndPlay('spell1'); } frame 107 { _parent.play(); } frame 178 { this.gotoAndPlay('firstFrame'); } } // unknown tag 88 length 148 movieClip 1515 { frame 48 { this.stop(); } } movieClip 1518 gameStage01 { #initclip Object.registerClass('gameStage01', Freezable); #endinitclip frame 1 { function addGameListener(obj) { gameListenerList.push(obj); } function removeGameListener(obj) { i = 0; while (i < gameListenerList.length) { if (gameListenerList[i] == obj) { gameListenerList = (gameListenerList.slice(0, i)).concat(gameListenerList.slice(i + 1)); } ++i; } } function removeAllGameListener() { gameListenerList = new Array(); } function allOnMiss() { i = 0; while (i < gameListenerList.length) { gameListenerList[i].onMiss(); ++i; } } function allOnRecovery() { trace('Recovery'); playerStatus = 0; i = 0; while (i < gameListenerList.length) { gameListenerList[i].onRecovery(); ++i; } } function allOnBomb() { i = 0; while (i < gameListenerList.length) { gameListenerList[i].onBomb(); ++i; } } function allOnGameOver() { i = 0; while (i < gameListenerList.length) { gameListenerList[i].onGameOver(); ++i; } } function playerMiss() { playerStatus = 1; fCount = 0; this.onEnterFrame = function () { if (playerStatus == 1) { ++fCount; if (fCount == 1) { seSound.attachSound('miss01'); seSound.start(0, 1); } if (fCount == 4) { player.miss(); typingMovieClip.deleteAll(); typingBulletsManager.deleteAllBullets(1); gaugeManager.spellFailure(); gaugeManager.resetPowerAndPoint(); if (_parent.outerFrame.getPlayerCount() <= 0) { gameOver(); } else { _parent.outerFrame.playerDegree(-1); _parent.outerFrame.setPlayerCounter(_parent.outerFrame.getPlayerCount(), 3); } allOnMiss(); } if (fCount > 4) { typingMovieClip.deleteAll(); typingBulletsManager.deleteAllBullets(1); } } else { this.onEnterFrame = undefined; } }; } function playerBomb() { if (_parent.outerFrame.getBombCount() > 0) { playerStatus = 2; player.bomb(); playerShot.useBomb(); typingMovieClip.deleteAll(); typingBulletsManager.deleteAllBullets(2); gaugeManager.spellFailure(); _parent.outerFrame.bombDegree(-1); fCount = 0; this.onEnterFrame = function () { if (playerStatus == 2) { ++fCount; if (fCount % 10 == 0) { typingMovieClip.deleteAll(); typingBulletsManager.deleteAllBullets(2); } } else { this.onEnterFrame = undefined; } }; } allOnBomb(); } function startGame() { playerStatus = 0; } function stopGame() { playerStatus = 4; } function gameOver() { _parent.outerFrame.escapeGame(); _parent.gotoAndPlay('gameover'); } asThis = this; KeyL_anyKeyToPlay = new Object(); KeyL_anyKeyToPlay.onKeyDown = function () { asThis.play(); Key.removeListener(KeyL_anyKeyToPlay); }; this.onUnload = function () { Key.removeListener(KeyL_anyKeyToPlay); }; typingMovieClip._visible = false; player._visible = false; enemy._visible = false; backBullets._visible = false; spellBack._visible = false; bgmSound = new Sound(_parent); bgmSound.stop(); bgmSound.attachSound('koimusume'); bgmSound.start(0, 10); seSound = new Sound(this); seSound.stop(); playerStatus = 4; fCount = 0; var gameListenerList = new Array(); } frame 12 { this.stop(); Key.addListener(KeyL_anyKeyToPlay); } frame 13 { typingMovieClip._visible = true; player._visible = true; enemy._visible = true; backBullets._visible = true; spellBack._visible = true; var wordList_cirno01 = new TypingWordList(); wordList_cirno01.initRule(_parent.tRule); wordList_cirno01.addWordSetDefault(TypingWordList.CIRNO_01A); wordList_cirno03 = new TypingWordList(); wordList_cirno03.initRule(_parent.tRule); wordList_cirno03.addWordSetDefault(TypingWordList.CIRNO_03A); } frame 47 { enemy.gotoAndStop(5); } frame 50 { this.stop(); Key.addListener(KeyL_anyKeyToPlay); } frame 51 { enemy.gotoAndStop(1); } frame 59 { player.gotoAndStop(2); } frame 62 { this.stop(); Key.addListener(KeyL_anyKeyToPlay); } frame 71 { enemy.gotoAndStop(7); } frame 74 { this.stop(); Key.addListener(KeyL_anyKeyToPlay); } frame 75 { enemy.gotoAndStop(1); } frame 83 { player.gotoAndStop(4); } frame 86 { this.stop(); Key.addListener(KeyL_anyKeyToPlay); } frame 94 { enemy.gotoAndStop(4); } frame 96 { this.stop(); Key.addListener(KeyL_anyKeyToPlay); } frame 104 { enemy.gotoAndStop(5); } frame 106 { this.stop(); Key.addListener(KeyL_anyKeyToPlay); } frame 107 { enemy.gotoAndStop(1); } frame 115 { player.gotoAndStop(2); } frame 117 { this.stop(); Key.addListener(KeyL_anyKeyToPlay); } frame 118 { player.gotoAndStop(1); enemy.gotoAndStop(1); } frame 125 { startGame(); gaugeManager.setSpellCardTotal(2); } frame 126 { this.stop(); } frame 138 { this.stop(); } frame 139 { seSound.attachSound('se_enemyDefeat01'); seSound.start(0, 1); gaugeManager.endInit(); playerStatus = 4; enemy.gotoAndStop(6); } frame 198 { player.gotoAndStop(2); } frame 200 { this.stop(); Key.addListener(KeyL_anyKeyToPlay); } frame 222 { this.stop(); _parent.prePointRate = gaugeManager.pointRate_value; _parent.gotoAndPlay('reimu_stage02'); } } frame 1 { bgmSound = new Sound(this); bgmSound.stop(); bgmSound.attachSound('eternal'); bgmSound.start(0, 1); bgmSound.onSoundComplete = function () { bgmSound.start(0, 1); }; gameSavedData = SharedObject.getLocal('typing'); if (gameSavedData.data.hiScore == undefined) { gameSavedData.data.hiScore = 0; } } movieClip 2146 __Packages.TypingRule { #initclip if (!_global.TypingRule) { var v1 = function () {}; _global.TypingRule = v1; var v2 = v1.prototype; v2.setRule = function (kana, ruleNum) { if (kana == 'し') { if (ruleNum == 0 || ruleNum == 1) { this.rule_si = ruleNum; switch (ruleNum) { case 0: this.romanList_custom[11] = ['si', 'shi']; break; case 1: this.romanList_custom[11] = ['shi', 'si']; } return 1; } } if (kana == 'ち') { if (ruleNum == 0 || ruleNum == 1) { this.rule_ti = ruleNum; switch (ruleNum) { case 0: this.romanList_custom[16] = ['ti', 'chi']; break; case 1: this.romanList_custom[16] = ['chi', 'ti']; } return 1; } } if (kana == 'つ') { if (ruleNum == 0 || ruleNum == 1) { this.rule_tu = ruleNum; switch (ruleNum) { case 0: this.romanList_custom[17] = ['tu', 'tsu']; break; case 1: this.romanList_custom[17] = ['tsu', 'tu']; } return 1; } } if (kana == 'ふ') { if (ruleNum == 0 || ruleNum == 1) { this.rule_hu = ruleNum; switch (ruleNum) { case 0: this.romanList_custom[27] = ['hu', 'fu']; break; case 1: this.romanList_custom[27] = ['fu', 'hu']; } return 1; } } if (kana == 'ん') { if (ruleNum == 0 || ruleNum == 1) { this.rule_n = ruleNum; switch (ruleNum) { case 0: this.romanList_custom[45] = ['n', 'nn']; break; case 1: this.romanList_custom[45] = ['nn', 'n']; } return 1; } } if (kana == 'じ') { if (ruleNum == 0 || ruleNum == 1) { this.rule_zi = ruleNum; switch (ruleNum) { case 0: this.romanList_custom[52] = ['zi', 'ji']; break; case 1: this.romanList_custom[52] = ['ji', 'zi']; } return 1; } } if (kana == 'しゃ') { if (ruleNum == 0 || ruleNum == 1) { this.rule_sya = ruleNum; switch (ruleNum) { case 0: this.romanList_custom[74] = ['sya', 'sha']; this.romanList_custom[75] = ['syu', 'shu']; this.romanList_custom[76] = ['sye', 'she']; this.romanList_custom[77] = ['syo', 'sho']; break; case 1: this.romanList_custom[74] = ['sha', 'sya']; this.romanList_custom[75] = ['shu', 'syu']; this.romanList_custom[76] = ['she', 'sye']; this.romanList_custom[77] = ['sho', 'syo']; } return 1; } } if (kana == 'ちゃ') { if (ruleNum == 0 || ruleNum == 1) { this.rule_tya = ruleNum; switch (ruleNum) { case 0: this.romanList_custom[78] = ['tya', 'cha']; this.romanList_custom[79] = ['tyu', 'chu']; this.romanList_custom[80] = ['tye', 'che']; this.romanList_custom[81] = ['tyo', 'cho']; break; case 1: this.romanList_custom[78] = ['cha', 'tya']; this.romanList_custom[79] = ['chu', 'tyu']; this.romanList_custom[80] = ['che', 'tye']; this.romanList_custom[81] = ['cho', 'tyo']; } return 1; } } if (kana == 'じゃ') { if (ruleNum == 0 || ruleNum == 1 || ruleNum == 2) { this.rule_zya = ruleNum; switch (ruleNum) { case 0: this.romanList_custom[97] = ['zya', 'ja', 'jya']; this.romanList_custom[98] = ['zyu', 'ju', 'jyu']; this.romanList_custom[99] = ['zye', 'je', 'jye']; this.romanList_custom[100] = ['zyo', 'jo', 'jyo']; break; case 1: this.romanList_custom[97] = ['ja', 'jya', 'zya']; this.romanList_custom[98] = ['ju', 'jyu', 'zyu']; this.romanList_custom[99] = ['je', 'jye', 'zye']; this.romanList_custom[100] = ['jo', 'jyo', 'zyo']; break; case 2: this.romanList_custom[97] = ['jya', 'ja', 'zya']; this.romanList_custom[98] = ['jyu', 'ju', 'zyu']; this.romanList_custom[99] = ['jye', 'je', 'zye']; this.romanList_custom[100] = ['jyo', 'jo', 'zyo']; } return 1; } } if (kana == 'ぁ') { if (ruleNum == 0 || ruleNum == 1) { this.rule_la = ruleNum; switch (ruleNum) { case 0: this.romanList_custom[111] = ['la', 'xa']; this.romanList_custom[112] = ['li', 'xi']; this.romanList_custom[113] = ['lu', 'xu']; this.romanList_custom[114] = ['le', 'xe']; this.romanList_custom[115] = ['lo', 'xo']; break; case 1: this.romanList_custom[111] = ['xa', 'la']; this.romanList_custom[112] = ['xi', 'li']; this.romanList_custom[113] = ['xu', 'lu']; this.romanList_custom[114] = ['xe', 'le']; this.romanList_custom[115] = ['xo', 'lo']; } return 1; } } if (kana == 'ゃ') { if (ruleNum == 0 || ruleNum == 1) { this.rule_lya = ruleNum; switch (ruleNum) { case 0: this.romanList_custom[116] = ['lya', 'xya']; this.romanList_custom[117] = ['lyu', 'xyu']; this.romanList_custom[118] = ['lyo', 'xyo']; break; case 1: this.romanList_custom[116] = ['xya', 'lya']; this.romanList_custom[117] = ['xyu', 'lyu']; this.romanList_custom[118] = ['xyo', 'lyo']; } return 1; } } if (kana == 'っ') { if (ruleNum == 0 || ruleNum == 1) { this.rule_ltu = ruleNum; switch (ruleNum) { case 0: this.romanSokuonList_custom = ['ltu', 'xtu', 'ltsu', 'xtsu']; break; case 1: this.romanSokuonList_custom = ['xtu', 'ltu', 'ltsu', 'xtsu']; break; case 2: this.romanSokuonList_custom = ['ltsu', 'xtsu', 'xtu', 'ltu']; break; case 3: this.romanSokuonList_custom = ['xtsu', 'ltsu', 'xtu', 'ltu']; } return 1; } } return 0; }; v2.getRule = function (kana) { if (kana == 'し') { return this.rule_si; } if (kana == 'ち') { return this.rule_ti; } if (kana == 'つ') { return this.rule_tu; } if (kana == 'ふ') { return this.rule_hu; } if (kana == 'ん') { return this.rule_n; } if (kana == 'じ') { return this.rule_zi; } if (kana == 'しゃ') { return this.rule_sya; } if (kana == 'ちゃ') { return this.rule_tya; } if (kana == 'じゃ') { return this.rule_zya; } if (kana == 'ぁ') { return this.rule_la; } if (kana == 'ゃ') { return this.rule_lya; } if (kana == 'っ') { return this.rule_ltu; } return -1; }; v2.rule_si = 0; v2.rule_ti = 0; v2.rule_tu = 0; v2.rule_hu = 0; v2.rule_n = 0; v2.rule_zi = 0; v2.rule_sya = 0; v2.rule_tya = 0; v2.rule_zya = 0; v2.rule_la = 0; v2.rule_lya = 0; v2.rule_ltu = 0; v2.yomiList_custom = ['あ', 'い', 'う', 'え', 'お', 'か', 'き', 'く', 'け', 'こ', 'さ', 'し', 'す', 'せ', 'そ', 'た', 'ち', 'つ', 'て', 'と', 'な', 'に', 'ぬ', 'ね', 'の', 'は', 'ひ', 'ふ', 'へ', 'ほ', 'ま', 'み', 'む', 'め', 'も', 'や', 'ゆ', 'よ', 'ら', 'り', 'る', 'れ', 'ろ', 'わ', 'を', 'ん', 'が', 'ぎ', 'ぐ', 'げ', 'ご', 'ざ', 'じ', 'ず', 'ぜ', 'ぞ', 'だ', 'ぢ', 'づ', 'で', 'ど', 'ば', 'び', 'ぶ', 'べ', 'ぼ', 'ぱ', 'ぴ', 'ぷ', 'ぺ', 'ぽ', 'きゃ', 'きゅ', 'きょ', 'しゃ', 'しゅ', 'しぇ', 'しょ', 'ちゃ', 'ちゅ', 'ちぇ', 'ちょ', 'にゃ', 'にゅ', 'にょ', 'ひゃ', 'ひゅ', 'ひょ', 'みゃ', 'みゅ', 'みょ', 'りゃ', 'りゅ', 'りょ', 'ぎゃ', 'ぎゅ', 'ぎょ', 'じゃ', 'じゅ', 'じぇ', 'じょ', 'ぢゃ', 'ぢゅ', 'ぢぇ', 'ぢょ', 'びゃ', 'びゅ', 'びょ', 'ぴゃ', 'ぴゅ', 'ぴょ', 'ぁ', 'ぃ', 'ぅ', 'ぇ', 'ぉ', 'ゃ', 'ゅ', 'ょ', 'ふぁ', 'ふぃ', 'ふぇ', 'ふぉ', 'ヴぁ', 'ヴぃ', 'ヴ', 'ヴぇ', 'ヴぉ', 'うぃ', 'うぇ', 'んあ', 'んい', 'んう', 'んえ', 'んお', 'んな', 'んに', 'んぬ', 'んね', 'んの', 'んにゃ', 'んにゅ', 'んにょ', 'ー', '、', '。', '!', '?']; v2.romanList_custom = [['a'], ['i'], ['u'], ['e'], ['o'], ['ka'], ['ki'], ['ku'], ['ke'], ['ko'], ['sa'], ['si', 'shi'], ['su'], ['se'], ['so'], ['ta'], ['ti', 'chi'], ['tu', 'tsu'], ['te'], ['to'], ['na'], ['ni'], ['nu'], ['ne'], ['no'], ['ha'], ['hi'], ['hu', 'fu'], ['he'], ['ho'], ['ma'], ['mi'], ['mu'], ['me'], ['mo'], ['ya'], ['yu'], ['yo'], ['ra'], ['ri'], ['ru'], ['re'], ['ro'], ['wa'], ['wo'], ['n', 'nn'], ['ga'], ['gi'], ['gu'], ['ge'], ['go'], ['za'], ['zi', 'ji'], ['zu'], ['ze'], ['zo'], ['da'], ['di'], ['du'], ['de'], ['do'], ['ba'], ['bi'], ['bu'], ['be'], ['bo'], ['pa'], ['pi'], ['pu'], ['pe'], ['po'], ['kya'], ['kyu'], ['kyo'], ['sya', 'sha'], ['syu', 'shu'], ['sye', 'she'], ['syo', 'sho'], ['tya', 'cha'], ['tyu', 'chu'], ['tye', 'che'], ['tyo', 'cho'], ['nya'], ['nyu'], ['nyo'], ['hya'], ['hyu'], ['hyo'], ['mya'], ['myu'], ['myo'], ['rya'], ['ryu'], ['ryo'], ['gya'], ['gyu'], ['gyo'], ['zya', 'ja', 'jya'], ['zyu', 'ju', 'jyu'], ['zye', 'je', 'jye'], ['zyo', 'jo', 'jyo'], ['dya'], ['dyu'], ['dye'], ['dyo'], ['bya'], ['byu'], ['byo'], ['pya'], ['pyu'], ['pyo'], ['la', 'xa'], ['li', 'xi'], ['lu', 'xu'], ['le', 'xe'], ['lo', 'xo'], ['lya', 'xya'], ['lyu', 'xyu'], ['lyo', 'xyo'], ['fa'], ['fi'], ['fe'], ['fo'], ['va'], ['vi'], ['vu'], ['ve'], ['vo'], ['wi'], ['we'], ['nna'], ['nni'], ['nnu'], ['nne'], ['nno'], ['nnna'], ['nnni'], ['nnnu'], ['nnne'], ['nnno'], ['nnnya'], ['nnnyu'], ['nnnyo'], ['-'], [','], ['.'], ['!'], ['?']]; v2.romanSokuonList_custom = ['ltu', 'xtu', 'ltsu', 'xtsu']; ASSetPropFlags(_global.TypingRule.prototype, null, 1); } #endinitclip } movieClip 2147 __Packages.TypingWord { #initclip if (!_global.TypingWord) { var v1 = function () {}; _global.TypingWord = v1; var v2 = v1.prototype; v2.setYomiString = function (yomi) { this.reg_word = new Array(); var v2 = new Array(); v2.push(yomi.charAt(0)); var v4; v4 = 1; while (v4 < yomi.length) { var v6 = yomi.charAt(v4); var v8 = yomi.charAt(v4 - 1); if (v8 == 'っ' && TypingWord.LIST_AFTER_SOKUON.indexOf(v6) >= 0) { v2[v2.length - 1] = v2[v2.length - 1].concat(v6); } else { if (v8 == 'ん' && TypingWord.LIST_AFTER_NN.indexOf(v6) >= 0) { v2[v2.length - 1] = v2[v2.length - 1].concat(v6); } else { if (TypingWord.LIST_YOUON_SECOND.indexOf(v6) >= 0 && TypingWord.LIST_YOUON_FIRST.indexOf(v8) >= 0) { v2[v2.length - 1] = v2[v2.length - 1].concat(v6); } else { if (TypingWord.LIST_YE_SECOND.indexOf(v6) >= 0 && TypingWord.LIST_YE_FIRST.indexOf(v8) >= 0) { v2[v2.length - 1] = v2[v2.length - 1].concat(v6); } else { if (TypingWord.LIST_SMALL.indexOf(v6) >= 0 && TypingWord.LIST_BEFORE_SMALL.indexOf(v8) >= 0) { v2[v2.length - 1] = v2[v2.length - 1].concat(v6); } else { if (TypingWord.LIST_WIWE_SECOND.indexOf(v6) >= 0 && v8 == 'う') { v2[v2.length - 1] = v2[v2.length - 1].concat(v6); } else { v2.push(v6); } } } } } } ++v4; } v4 = 0; while (v4 < v2.length) { trace(v2[v4]); ++v4; } v4 = 0; while (v4 < v2.length) { var v3; if (v2[v4].charAt(0) == 'っ') { if (v2[v4].length == 1) { this.reg_word.push(['ltu', 'xtu', 'ltsu', 'xtsu']); } else { v3 = 0; while (v3 < TypingWord.PAIR_LIST_TYPING_YOMI.length) { if (v2[v4].slice(1) == TypingWord.PAIR_LIST_TYPING_YOMI[v3]) { var v5; var v7 = new Array(); v5 = 0; while (v5 < TypingWord.PAIR_LIST_TYPING_YOMI[v3].length) { v7.push((TypingWord.PAIR_LIST_TYPING_ROMAN[v3][v5].charAt(0)).concat(TypingWord.PAIR_LIST_TYPING_ROMAN[v3][v5])); ++v5; } this.reg_word.push(v7); break; } ++v3; } } } else { v3 = 0; while (v3 < TypingWord.PAIR_LIST_TYPING_YOMI.length) { if (v2[v4] == TypingWord.PAIR_LIST_TYPING_YOMI[v3]) { this.reg_word.push((new Array()).concat(TypingWord.PAIR_LIST_TYPING_ROMAN[v3])); break; } ++v3; } } if (v3 == TypingWord.PAIR_LIST_TYPING_YOMI.length) { this.reg_word.push([v2[v4].toLowerCase()]); } ++v4; } }; v2.getRomanString = function () { var v2; var v3 = ''; v2 = 0; while (v2 < this.reg_word.length) { v3 = v3.concat(this.reg_word[v2][0]); ++v2; } return v3.toUpperCase(); }; v2.charTyped = function (cAscii) { var v5; var v3 = 0; v5 = 0; while (v5 < this.reg_word[0].length) { if (this.reg_word[0][v5] == '' && this.reg_word.length > 1) { var v2; v2 = 0; while (v2 < this.reg_word[1].length) { if (this.reg_word[1][v2].charAt(0) == String.fromCharCode(cAscii)) { v3 = 1; } ++v2; } if (v3 == 1) { v2 = 0; while (v2 < this.reg_word[1].length) { if (this.reg_word[1][v2].charAt(0) == String.fromCharCode(cAscii)) { this.reg_word[1][v2] = this.reg_word[1][v2].slice(1); } else { this.reg_word[1] = (this.reg_word[1].slice(0, v2)).concat(this.reg_word[1].slice(v2 + 1)); --v2; } ++v2; } this.reg_word = this.reg_word.slice(1); v2 = 0; while (v2 < this.reg_word[0].length) { if (this.reg_word[0][v2] == '' && this.reg_word.length <= 1) { v3 = 2; break; } ++v2; } return v3; } } else { if (this.reg_word[0][v5].charAt(0) == String.fromCharCode(cAscii)) { v3 = 1; } } ++v5; } if (v3 == 1) { var v2 = 0; while (v2 < this.reg_word[0].length) { if (this.reg_word[0][v2].charAt(0) == String.fromCharCode(cAscii)) { this.reg_word[0][v2] = this.reg_word[0][v2].slice(1); } else { this.reg_word[0] = (this.reg_word[0].slice(0, v2)).concat(this.reg_word[0].slice(v2 + 1)); --v2; } ++v2; } v2 = 0; while (v2 < this.reg_word[0].length) { if (this.reg_word[0][v2] == '' && this.reg_word.length <= 1) { v3 = 2; break; } ++v2; } } return v3; }; v1.LIST_AFTER_SOKUON = 'かきくけこさしすせそたちつてとはひふへほまみむめもやゆよらりるれろわをがぎぐげござじずぜぞだぢづでどばびぶべぼぱぴぷぺぽヴ'; v1.LIST_AFTER_NN = 'あいうえおなにぬねの'; v1.LIST_YOUON_SECOND = 'ゃゅょ'; v1.LIST_YOUON_FIRST = 'きしちにひみりぎじぢびぴ'; v1.LIST_YE_SECOND = 'ぇ'; v1.LIST_YE_FIRST = 'しちじぢ'; v1.LIST_BEFORE_SMALL = 'ヴふ'; v1.LIST_SMALL = 'ぁぃぅぇぉ'; v1.LIST_WIWE_SECOND = 'ぃぇ'; v1.PAIR_LIST_TYPING_YOMI = ['あ', 'い', 'う', 'え', 'お', 'か', 'き', 'く', 'け', 'こ', 'さ', 'し', 'す', 'せ', 'そ', 'た', 'ち', 'つ', 'て', 'と', 'な', 'に', 'ぬ', 'ね', 'の', 'は', 'ひ', 'ふ', 'へ', 'ほ', 'ま', 'み', 'む', 'め', 'も', 'や', 'ゆ', 'よ', 'ら', 'り', 'る', 'れ', 'ろ', 'わ', 'を', 'ん', 'が', 'ぎ', 'ぐ', 'げ', 'ご', 'ざ', 'じ', 'ず', 'ぜ', 'ぞ', 'だ', 'ぢ', 'づ', 'で', 'ど', 'ば', 'び', 'ぶ', 'べ', 'ぼ', 'ぱ', 'ぴ', 'ぷ', 'ぺ', 'ぽ', 'きゃ', 'きゅ', 'きょ', 'しゃ', 'しゅ', 'しぇ', 'しょ', 'ちゃ', 'ちゅ', 'ちぇ', 'ちょ', 'にゃ', 'にゅ', 'にょ', 'ひゃ', 'ひゅ', 'ひょ', 'みゃ', 'みゅ', 'みょ', 'りゃ', 'りゅ', 'りょ', 'ぎゃ', 'ぎゅ', 'ぎょ', 'じゃ', 'じゅ', 'じぇ', 'じょ', 'ぢゃ', 'ぢゅ', 'ぢぇ', 'ぢょ', 'びゃ', 'びゅ', 'びょ', 'ぴゃ', 'ぴゅ', 'ぴょ', 'ぁ', 'ぃ', 'ぅ', 'ぇ', 'ぉ', 'ゃ', 'ゅ', 'ょ', 'ふぁ', 'ふぃ', 'ふぇ', 'ふぉ', 'ヴぁ', 'ヴぃ', 'ヴ', 'ヴぇ', 'ヴぉ', 'うぃ', 'うぇ', 'んあ', 'んい', 'んう', 'んえ', 'んお', 'んな', 'んに', 'んぬ', 'んね', 'んの', 'んにゃ', 'んにゅ', 'んにょ', 'ー', '、', '。', '!', '?']; v1.PAIR_LIST_TYPING_ROMAN = [['a'], ['i'], ['u'], ['e'], ['o'], ['ka'], ['ki'], ['ku'], ['ke'], ['ko'], ['sa'], ['si', 'shi'], ['su'], ['se'], ['so'], ['ta'], ['ti', 'chi'], ['tu', 'tsu'], ['te'], ['to'], ['na'], ['ni'], ['nu'], ['ne'], ['no'], ['ha'], ['hi'], ['hu', 'fu'], ['he'], ['ho'], ['ma'], ['mi'], ['mu'], ['me'], ['mo'], ['ya'], ['yu'], ['yo'], ['ra'], ['ri'], ['ru'], ['re'], ['ro'], ['wa'], ['wo'], ['n', 'nn'], ['ga'], ['gi'], ['gu'], ['ge'], ['go'], ['za'], ['zi', 'ji'], ['zu'], ['ze'], ['zo'], ['da'], ['di'], ['du'], ['de'], ['do'], ['ba'], ['bi'], ['bu'], ['be'], ['bo'], ['pa'], ['pi'], ['pu'], ['pe'], ['po'], ['kya'], ['kyu'], ['kyo'], ['sya', 'sha'], ['syu', 'shu'], ['sye', 'she'], ['syo', 'sho'], ['tya', 'cha'], ['tyu', 'chu'], ['tye', 'che'], ['tyo', 'cho'], ['nya'], ['nyu'], ['nyo'], ['hya'], ['hyu'], ['hyo'], ['mya'], ['myu'], ['myo'], ['rya'], ['ryu'], ['ryo'], ['gya'], ['gyu'], ['gyo'], ['zya', 'ja', 'jya'], ['zyu', 'ju', 'jyu'], ['zye', 'je', 'jye'], ['zyo', 'jo', 'jyo'], ['dya'], ['dyu'], ['dye'], ['dyo'], ['bya'], ['byu'], ['byo'], ['pya'], ['pyu'], ['pyo'], ['la', 'xa'], ['li', 'xi'], ['lu', 'xu'], ['le', 'xe'], ['lo', 'xo'], ['lya', 'xya'], ['lyu', 'xyu'], ['lyo', 'xyo'], ['fa'], ['fi'], ['fe'], ['fo'], ['va'], ['vi'], ['vu'], ['ve'], ['vo'], ['wi'], ['we'], ['nna'], ['nni'], ['nnu'], ['nne'], ['nno'], ['nnna'], ['nnni'], ['nnnu'], ['nnne'], ['nnno'], ['nnnya'], ['nnnyu'], ['nnnyo'], ['-'], [','], ['.'], ['!'], ['?']]; v2.reg_word = new Array(); ASSetPropFlags(_global.TypingWord.prototype, null, 1); } #endinitclip } movieClip 2148 __Packages.TypingWord2 { #initclip if (!_global.TypingWord2) { var v1 = function () {}; _global.TypingWord2 = v1; var v2 = v1.prototype; v2.setYomiString = function (yomi, rule) { this.reg_word = new Array(); var v2 = new Array(); v2.push(yomi.charAt(0)); var v6; v6 = 1; while (v6 < yomi.length) { var v7 = yomi.charAt(v6); var v9 = yomi.charAt(v6 - 1); if (v9 == 'っ' && TypingWord2.LIST_AFTER_SOKUON.indexOf(v7) >= 0) { v2[v2.length - 1] = v2[v2.length - 1].concat(v7); } else { if (v9 == 'ん' && TypingWord2.LIST_AFTER_NN.indexOf(v7) >= 0) { v2[v2.length - 1] = v2[v2.length - 1].concat(v7); } else { if (TypingWord2.LIST_YOUON_SECOND.indexOf(v7) >= 0 && TypingWord2.LIST_YOUON_FIRST.indexOf(v9) >= 0) { v2[v2.length - 1] = v2[v2.length - 1].concat(v7); } else { if (TypingWord2.LIST_YE_SECOND.indexOf(v7) >= 0 && TypingWord2.LIST_YE_FIRST.indexOf(v9) >= 0) { v2[v2.length - 1] = v2[v2.length - 1].concat(v7); } else { if (TypingWord2.LIST_SMALL.indexOf(v7) >= 0 && TypingWord2.LIST_BEFORE_SMALL.indexOf(v9) >= 0) { v2[v2.length - 1] = v2[v2.length - 1].concat(v7); } else { if (TypingWord2.LIST_WIWE_SECOND.indexOf(v7) >= 0 && v9 == 'う') { v2[v2.length - 1] = v2[v2.length - 1].concat(v7); } else { v2.push(v7); } } } } } } ++v6; } v6 = 0; while (v6 < v2.length) { var v3; if (v2[v6].charAt(0) == 'っ') { if (v2[v6].length == 1) { this.reg_word.push(rule.romanSokuonList_custom); } else { v3 = 0; while (v3 < rule.yomiList_custom.length) { if (v2[v6].slice(1) == rule.yomiList_custom[v3]) { var v5; var v8 = new Array(); v5 = 0; while (v5 < rule.romanList_custom[v3].length) { v8.push((rule.romanList_custom[v3][v5].charAt(0)).concat(rule.romanList_custom[v3][v5])); ++v5; } this.reg_word.push(v8); break; } ++v3; } } } else { v3 = 0; while (v3 < rule.yomiList_custom.length) { if (v2[v6] == rule.yomiList_custom[v3]) { this.reg_word.push((new Array()).concat(rule.romanList_custom[v3])); break; } ++v3; } } if (v3 == rule.yomiList_custom.length) { this.reg_word.push([v2[v6].toLowerCase()]); } ++v6; } }; v2.getRomanString = function () { var v2; var v3 = ''; v2 = 0; while (v2 < this.reg_word.length) { v3 = v3.concat(this.reg_word[v2][0]); ++v2; } return v3.toUpperCase(); }; v2.charTyped = function (cAscii) { var v5; var v3 = 0; v5 = 0; while (v5 < this.reg_word[0].length) { if (this.reg_word[0][v5] == '' && this.reg_word.length > 1 && v3 == 0) { if (this.reg_word[1][0] == 'nn' && String.fromCharCode(cAscii) == 'n') { this.reg_word[1] = ['n', '']; this.reg_word = this.reg_word.slice(1); return 1; } var v2; v2 = 0; while (v2 < this.reg_word[1].length) { if (this.reg_word[1][v2].charAt(0) == String.fromCharCode(cAscii)) { v3 = 1; } ++v2; } if (v3 == 1) { v2 = 0; while (v2 < this.reg_word[1].length) { if (this.reg_word[1][v2].charAt(0) == String.fromCharCode(cAscii)) { this.reg_word[1][v2] = this.reg_word[1][v2].slice(1); } else { this.reg_word[1] = (this.reg_word[1].slice(0, v2)).concat(this.reg_word[1].slice(v2 + 1)); --v2; } ++v2; } this.reg_word = this.reg_word.slice(1); v2 = 0; while (v2 < this.reg_word[0].length) { if (this.reg_word[0][v2] == '' && this.reg_word.length <= 1) { v3 = 2; break; } ++v2; } return v3; } } else { if (this.reg_word[0][v5] != '' && this.reg_word[0][v5].charAt(0) == String.fromCharCode(cAscii)) { v3 = 1; } } ++v5; } if (v3 == 1) { if (this.reg_word[0][0] == 'nn' && String.fromCharCode(cAscii) == 'n') { if (this.reg_word.length <= 1) { this.reg_word[0] = ['n']; } return 1; } var v2 = 0; while (v2 < this.reg_word[0].length) { if (this.reg_word[0][v2].charAt(0) == String.fromCharCode(cAscii)) { this.reg_word[0][v2] = this.reg_word[0][v2].slice(1); } else { this.reg_word[0] = (this.reg_word[0].slice(0, v2)).concat(this.reg_word[0].slice(v2 + 1)); --v2; } ++v2; } v2 = 0; while (v2 < this.reg_word[0].length) { if (this.reg_word[0][v2] == '' && this.reg_word.length <= 1) { v3 = 2; break; } ++v2; } } return v3; }; v1.LIST_AFTER_SOKUON = 'かきくけこさしすせそたちつてとはひふへほまみむめもやゆよらりるれろわをがぎぐげござじずぜぞだぢづでどばびぶべぼぱぴぷぺぽヴ'; v1.LIST_AFTER_NN = 'あいうえおなにぬねの'; v1.LIST_YOUON_SECOND = 'ゃゅょ'; v1.LIST_YOUON_FIRST = 'きしちにひみりぎじぢびぴ'; v1.LIST_YE_SECOND = 'ぇ'; v1.LIST_YE_FIRST = 'しちじぢ'; v1.LIST_BEFORE_SMALL = 'ヴふ'; v1.LIST_SMALL = 'ぁぃぅぇぉ'; v1.LIST_WIWE_SECOND = 'ぃぇ'; v2.reg_word = new Array(); ASSetPropFlags(_global.TypingWord2.prototype, null, 1); } #endinitclip } movieClip 2149 __Packages.TypingWordList { #initclip if (!_global.TypingWordList) { var v1 = function () {}; _global.TypingWordList = v1; var v2 = v1.prototype; v2.initRule = function (rule) { var v2 = 0; this.mainList = new Array(); this.loadedRule = rule; this.indexList = new Array(37); this.wordTotal = 0; v2 = 0; while (v2 < this.indexList.length) { this.indexList[v2] = new Array(); ++v2; } }; v2.addWordSetDefault = function (spellNum) { this.listNumber = spellNum; switch (spellNum) { case TypingWordList.CIRNO_00A: this.addWordSet('風神', 'ふうじん'); this.addWordSet('廃人', 'はいじん'); break; case TypingWordList.CIRNO_01A: this.addWordSet('氷', 'こおり'); this.addWordSet('つらら', 'つらら'); this.addWordSet('かまくら', 'かまくら'); this.addWordSet('アイス', 'あいす'); this.addWordSet('雹', 'ひょう'); this.addWordSet('真冬', 'まふゆ'); this.addWordSet('冷たい', 'つめたい'); this.addWordSet('冷気', 'れいき'); this.addWordSet('寒波', 'かんぱ'); this.addWordSet('冷やす', 'ひやす'); this.addWordSet('粉雪', 'こなゆき'); this.addWordSet('結晶', 'けっしょう'); this.addWordSet('白雪', 'しらゆき'); this.addWordSet('スノボ', 'すのぼ'); this.addWordSet('雪見', 'ゆきみ'); this.addWordSet('凍結', 'とうけつ'); this.addWordSet('吹雪', 'ふぶき'); this.addWordSet('新雪', 'しんせつ'); this.addWordSet('だるま', 'だるま'); this.addWordSet('滑る', 'すべる'); this.addWordSet('あたい', 'あたい'); this.addWordSet('最強', 'さいきょう'); this.addWordSet('きゅう', 'きゅう'); this.addWordSet('しもやけ', 'しもやけ'); this.addWordSet('凍傷', 'とうしょう'); this.addWordSet('妖精', 'ようせい'); this.addWordSet('英吉利', 'いぎりす'); this.addWordSet('冷凍', 'れいとう'); this.addWordSet('解凍', 'かいとう'); this.addWordSet('冷房', 'れいぼう'); this.addWordSet('ゲレンデ', 'げれんで'); this.addWordSet('溶ける', 'とける'); this.addWordSet('蛙', 'かえる'); this.addWordSet('迷子', 'まいご'); this.addWordSet('湖', 'みずうみ'); this.addWordSet('真っ白', 'まっしろ'); this.addWordSet('おバカ', 'おばか'); this.addWordSet('大ちゃん', 'だいちゃん'); this.addWordSet('冷え冷え', 'ひえびえ'); this.addWordSet('氷嚢', 'ひょうのう'); this.addWordSet('大雪', 'おおゆき'); this.addWordSet('ゆきんこ', 'ゆきんこ'); this.addWordSet('冷夏', 'れいか'); this.addWordSet('流氷', 'りゅうひょう'); this.addWordSet('チルド', 'ちるど'); this.addWordSet('北風', 'きたかぜ'); this.addWordSet('白岩', 'しろいわ'); this.addWordSet('悪ガキ', 'わるがき'); this.addWordSet('いたずら', 'いたずら'); this.addWordSet('エルフ', 'えるふ'); this.addWordSet('おてんば', 'おてんば'); this.addWordSet('少女', 'しょうじょ'); this.addWordSet('冷笑', 'れいしょう'); this.addWordSet('遊び場', 'あそびば'); this.addWordSet('飛行', 'ひこう'); this.addWordSet('季節', 'きせつ'); this.addWordSet('活躍', 'かつやく'); this.addWordSet('降雪', 'こうせつ'); this.addWordSet('サンタ', 'さんた'); this.addWordSet('白銀', 'はくぎん'); this.addWordSet('越冬', 'えっとう'); this.addWordSet('マイナス', 'まいなす'); break; case TypingWordList.CIRNO_02A: this.addWordSet('氷づけ', 'こおりづけ'); this.addWordSet('冬将軍', 'ふゆしょうぐん'); this.addWordSet('寒い季節', 'さむいきせつ'); this.addWordSet('寒空の下', 'さむぞらのした'); this.addWordSet('氷点下', 'ひょうてんか'); this.addWordSet('冷凍蜜柑', 'れいとうみかん'); this.addWordSet('雪合戦', 'ゆきがっせん'); this.addWordSet('氷の妖精', 'こおりのようせい'); this.addWordSet('妖精のせい', 'ようせいのせい'); this.addWordSet('冷奴', 'ひややっこ'); break; case TypingWordList.CIRNO_03A: this.addWordSet('ウィンター', 'うぃんたー'); this.addWordSet('オブジェ', 'おぶじぇ'); this.addWordSet('カーリング', 'かーりんぐ'); this.addWordSet('ガールズ', 'がーるず'); this.addWordSet('クールガイ', 'くーるがい'); this.addWordSet('クーラー', 'くーらー'); this.addWordSet('クリスマス', 'くりすます'); this.addWordSet('クリーム', 'くりーむ'); this.addWordSet('コールド', 'こーるど'); this.addWordSet('グリズリー', 'ぐりずりー'); this.addWordSet('シャーベット', 'しゃーべっと'); this.addWordSet('シュプール', 'しゅぷーる'); this.addWordSet('ショート', 'しょーと'); this.addWordSet('スイーツ', 'すいーつ'); this.addWordSet('スキー板', 'すきーいた'); this.addWordSet('スケート', 'すけーと'); this.addWordSet('スノーマン', 'すのーまん'); this.addWordSet('ダイヤモンド', 'だいやもんど'); this.addWordSet('チョコアイス', 'ちょこあいす'); this.addWordSet('ツンドラ', 'つんどら'); this.addWordSet('バーボン', 'ばーぼん'); this.addWordSet('ヒマラヤ', 'ひまらや'); this.addWordSet('ビール瓶', 'びーるびん'); this.addWordSet('フィヨルド', 'ふぃよるど'); this.addWordSet('フリーズ', 'ふりーず'); this.addWordSet('ブリザード', 'ぶりざーど'); this.addWordSet('フルーツ', 'ふるーつ'); this.addWordSet('ヘキサゴン', 'へきさごん'); this.addWordSet('ペンション', 'ぺんしょん'); this.addWordSet('リーダー', 'りーだー'); this.addWordSet('レディース', 'れでぃーす'); this.addWordSet('ワカサギ', 'わかさぎ'); break; case TypingWordList.TEI_01A: this.addWordSet('トラップ', 'とらっぷ'); this.addWordSet('詐欺師', 'さぎし'); this.addWordSet('トランプ', 'とらんぷ'); this.addWordSet('ポーカー', 'ぽーかー'); this.addWordSet('ババ抜き', 'ばばぬき'); this.addWordSet('麻雀', 'まーじゃん'); this.addWordSet('インサイダー', 'いんさいだー'); this.addWordSet('ねずみ講', 'ねずみこう'); this.addWordSet('お餅', 'おもち'); this.addWordSet('嘘つき', 'うそつき'); this.addWordSet('ほら吹き', 'ほらふき'); this.addWordSet('保険金', 'ほけんきん'); this.addWordSet('オレオレ', 'おれおれ'); this.addWordSet('振込み', 'ふりこみ'); this.addWordSet('イカサマ', 'いかさま'); this.addWordSet('不意打ち', 'ふいうち'); this.addWordSet('すり替え', 'すりかえ'); this.addWordSet('取引', 'とりひき'); this.addWordSet('騙す', 'だます'); this.addWordSet('ライアー', 'らいあー'); this.addWordSet('踏み倒す', 'ふみたおす'); this.addWordSet('カード詐欺', 'かーどさぎ'); this.addWordSet('借金', 'しゃっきん'); this.addWordSet('儲ける', 'もうける'); this.addWordSet('ありがたい', 'ありがたい'); this.addWordSet('政策', 'せいさく'); this.addWordSet('政治屋', 'せいじや'); this.addWordSet('奪い取る', 'うばいとる'); this.addWordSet('孔明', 'こうめい'); this.addWordSet('落とし穴', 'おとしあな'); this.addWordSet('釣りでした', 'つりでした'); this.addWordSet('なんてね', 'なんてね'); this.addWordSet('四月馬鹿', 'しがつばか'); this.addWordSet('マルチ', 'まるち'); this.addWordSet('脱税', 'だつぜい'); this.addWordSet('サバを読む', 'さばをよむ'); this.addWordSet('水増し', 'みずまし'); this.addWordSet('底上げ', 'そこあげ'); this.addWordSet('大仕掛け', 'おおじかけ'); this.addWordSet('滞納', 'たいのう'); this.addWordSet('パチモン', 'ぱちもん'); this.addWordSet('ニセモノ', 'にせもの'); this.addWordSet('贋作', 'がんさく'); this.addWordSet('宝石', 'ほうせき'); this.addWordSet('賽銭', 'さいせん'); this.addWordSet('狼', 'おおかみ'); this.addWordSet('因幡', 'いなば'); this.addWordSet('優曇華', 'うどんげ'); this.addWordSet('ウサギ', 'うさぎ'); this.addWordSet('餅つき', 'もちつき'); this.addWordSet('お月様', 'おつきさま'); this.addWordSet('竹林', 'ちくりん'); this.addWordSet('幸運', 'こううん'); this.addWordSet('ラッキー', 'らっきー'); this.addWordSet('幸せ', 'しあわせ'); this.addWordSet('犯人', 'はんにん'); this.addWordSet('口八丁', 'くちはっちょう'); this.addWordSet('手八丁', 'てはっちょう'); this.addWordSet('二枚舌', 'にまいじた'); this.addWordSet('泥棒', 'どろぼう'); this.addWordSet('先払い', 'さきばらい'); this.addWordSet('世渡り', 'よわたり'); this.addWordSet('クローバー', 'くろーばー'); break; case TypingWordList.TEI_02A: this.addWordSet('すたこらさっさだぜ。', 'すたこらさっさだぜ。'); this.addWordSet('あばよ、とっつぁん!', 'あばよ、とっつぁん!'); this.addWordSet('いい夢見ろよ!', 'いいゆめみろよ!'); this.addWordSet('次いってみよう!', 'つぎいってみよう!'); this.addWordSet('勇者はにげだした!', 'ゆうしゃはにげだした!'); this.addWordSet('捕まえてみろ!', 'つかまえてみろ!'); this.addWordSet('アルカトラズ', 'あるかとらず'); this.addWordSet('うっそぴょん!', 'うっそぴょん!'); this.addWordSet('お宝はいただいた。', 'おたからはいただいた。'); this.addWordSet('華麗なる脱走', 'かれいなるだっそう'); this.addWordSet('因幡の素兎', 'いなばのしろうさぎ'); this.addWordSet('こりゃ失礼。', 'こりゃしつれい。'); this.addWordSet('つかまってたまるか!', 'つかまってたまるか!'); this.addWordSet('じゃあね、バイバイ。', 'じゃあね、ばいばい。'); this.addWordSet('ざまあみやがれ!', 'ざまあみやがれ!'); break; case TypingWordList.TEI_03A: this.addWordSet('嘘ついてごめん', 'うそついてごめん'); this.addWordSet('ほんとすいません', 'ほんとすいません'); this.addWordSet('口は災いの元', 'くちはわざわいのもと'); this.addWordSet('謹んでお詫び', 'つつしんでおわび'); this.addWordSet('心から謝罪', 'こころからしゃざい'); this.addWordSet('謝罪会見', 'しゃざいかいけん'); this.addWordSet('もう二度としません', 'もうにどとしません'); this.addWordSet('許してください', 'ゆるしてください'); this.addWordSet('後悔してます', 'こうかいしてます'); this.addWordSet('つい出来心で', 'ついできごころで'); this.addWordSet('魔が差したんです', 'まがさしたんです'); break; case TypingWordList.TEI_03B: this.addWordSet('正直者は損', 'しょうじきものはそん'); this.addWordSet('騙されるのが悪い', 'だまされるのがわるい'); this.addWordSet('嘘八百並べる', 'うそはっぴゃくならべる'); this.addWordSet('世の中甘くない', 'よのなかあまくない'); this.addWordSet('ニセモノ蔓延る', 'にせものはびこる'); this.addWordSet('自分が一番', 'じぶんがいちばん'); this.addWordSet('みんな馬鹿だね', 'みんなばかだね'); this.addWordSet('楽して稼ごう', 'らくしてかせごう'); this.addWordSet('豪遊生活', 'ごうゆうせいかつ'); this.addWordSet('遊んで暮らせる', 'あそんでくらせる'); this.addWordSet('何が悪いのさ', 'なにがわるいのさ'); this.addWordSet('ついてなかったね', 'ついてなかったね'); this.addWordSet('みんな私のもの', 'みんなわたしのもの'); break; case TypingWordList.TEI_04A: this.addWordSet('ツバメ返し、ぶっこぬき', 'つばめがえし、ぶっこぬき'); this.addWordSet('天和、九蓮宝燈', 'てんほう、ちゅうれんぽうとう'); this.addWordSet('メンタンピンツモドラ1', 'めんたんぴんつもどら1'); this.addWordSet('ツモ、42000オール', 'つも、42000おーる'); this.addWordSet('東一局一本場', 'とんいっきょくいっぽんば'); this.addWordSet('南二局五本場', 'なんいっきょくごほんば'); this.addWordSet('これぞ博打。これぞ麻雀。', 'これぞばくち。これぞまーじゃん。'); this.addWordSet('四暗刻単騎待ち', 'すーあんこうたんきまち'); this.addWordSet('国士無双13面待ち', 'こくしむそう13めんまち'); this.addWordSet('悪いな、それだ。ロン。', 'わるいな、それだ。ろん。'); this.addWordSet('必殺、中ビーム!', 'ひっさつ、ちゅんびーむ!'); this.addWordSet('あのヒラ卓でいいか?', 'あのひらたくでいいか?'); this.addWordSet('すまん、代走お願い', 'すまん、だいそうおねがい'); this.addWordSet('コーヒー、アリアリで。', 'こーひー、ありありで。'); this.addWordSet('青天井で行こうか', 'あおてんじょうでいこうか'); this.addWordSet('符が乗って満貫だな', 'ふがのってまんがんだな'); this.addWordSet('筒子の染めでいくか。', 'ぴんずのそめでいくか。'); this.addWordSet('ザンクオールで逆転終了', 'ざんくおーるでぎゃくてんしゅうりょう'); this.addWordSet('8000、16000', '8000、16000'); this.addWordSet('おやっぱね18000', 'おやっぱね18000'); this.addWordSet('フリテンオープンリーチ', 'ふりてんおーぷんりーち'); break; case TypingWordList.KEINE_01A: this.addWordSet('江戸', 'えど'); this.addWordSet('平安', 'へいあん'); this.addWordSet('室山', 'むろやま'); this.addWordSet('奈良', 'なら'); this.addWordSet('弥生', 'やよい'); this.addWordSet('土器', 'どき'); this.addWordSet('鏡', 'かがみ'); this.addWordSet('剣', 'けん'); this.addWordSet('玉', 'たま'); this.addWordSet('帝', 'みかど'); this.addWordSet('文', 'ふみ'); this.addWordSet('武士', 'ぶし'); this.addWordSet('戦', 'いくさ'); this.addWordSet('国土', 'こくど'); this.addWordSet('銃', 'じゅう'); this.addWordSet('乱', 'らん'); this.addWordSet('過去', 'かこ'); this.addWordSet('暦', 'こよみ'); this.addWordSet('里', 'さと'); this.addWordSet('俳句', 'はいく'); this.addWordSet('埴輪', 'はにわ'); this.addWordSet('出土', 'しゅつど'); this.addWordSet('倭国', 'わこく'); this.addWordSet('三国', 'さんごく'); this.addWordSet('戦国', 'せんごく'); this.addWordSet('大和', 'やまと'); this.addWordSet('天下', 'てんか'); this.addWordSet('源氏', 'げんじ'); this.addWordSet('平家', 'へいけ'); this.addWordSet('論語', 'ろんご'); this.addWordSet('故事', 'こじ'); this.addWordSet('学問', 'がくもん'); this.addWordSet('郷里', 'きょうり'); this.addWordSet('武蔵', 'むさし'); this.addWordSet('小次郎', 'こじろう'); this.addWordSet('王妃', 'おうひ'); this.addWordSet('天皇', 'てんのう'); this.addWordSet('富士', 'ふじ'); this.addWordSet('薩摩', 'さつま'); this.addWordSet('土佐', 'とさ'); this.addWordSet('藩士', 'はんし'); this.addWordSet('浪人', 'ろうにん'); this.addWordSet('流罪', 'るざい'); this.addWordSet('都', 'みやこ'); this.addWordSet('大器', 'たいき'); this.addWordSet('史学', 'しがく'); this.addWordSet('歴史', 'れきし'); this.addWordSet('城下', 'じょうか'); this.addWordSet('城', 'しろ'); this.addWordSet('寺', 'てら'); this.addWordSet('明治', 'めいじ'); this.addWordSet('幕府', 'ばくふ'); this.addWordSet('町', 'まち'); this.addWordSet('村', 'むら'); this.addWordSet('都市', 'とし'); this.addWordSet('英雄', 'えいゆう'); this.addWordSet('戦犯', 'せんぱん'); this.addWordSet('遺跡', 'いせき'); this.addWordSet('土偶', 'どぐう'); this.addWordSet('卑弥呼', 'ひみこ'); this.addWordSet('謀反', 'むほん'); this.addWordSet('蒙古', 'もうこ'); this.addWordSet('神風', 'かみかぜ'); this.addWordSet('皇帝', 'こうてい'); this.addWordSet('后', 'きさき'); this.addWordSet('貴族', 'きぞく'); this.addWordSet('和歌', 'わか'); this.addWordSet('武家', 'ぶけ'); this.addWordSet('摂政', 'せっしょう'); this.addWordSet('関白', 'かんぱく'); this.addWordSet('外交', 'がいこう'); this.addWordSet('戦後', 'せんご'); this.addWordSet('遺産', 'いさん'); this.addWordSet('古墳', 'こふん'); this.addWordSet('儒教', 'じゅきょう'); this.addWordSet('仏像', 'ぶつぞう'); this.addWordSet('寺院', 'じいん'); this.addWordSet('会津', 'あいづ'); this.addWordSet('京', 'きょう'); this.addWordSet('鎌倉', 'かまくら'); break; case TypingWordList.KEINE_02A: this.addWordSet('645年、大化の改新', '645ねん、たいかのかいしん'); this.addWordSet('710年、平城京', '710ねん、へいじょうきょう'); this.addWordSet('794年、平安京', '794ねん、へいあんきょう'); this.addWordSet('894年、遣唐使廃止', '894ねん、けんとうしはいし'); this.addWordSet('939年、平将門の乱', '939ねん、たいらのまさかどのらん'); this.addWordSet('1156年、保元の乱', '1156ねん、ほうげんのらん'); this.addWordSet('1159年、平治の乱', '1159ねん、へいじのらん'); this.addWordSet('1192年、鎌倉幕府', '1192ねん、かまくらばくふ'); this.addWordSet('1221年、承久の乱', '1221ねん、じょうきゅうのらん'); this.addWordSet('1232年、御成敗式目', '1232ねん、ごせいばいしきもく'); this.addWordSet('1467年、応仁の乱', '1467ねん、おうにんのらん'); this.addWordSet('1543年、鉄砲伝来', '1543ねん、てっぽうでんらい'); this.addWordSet('1560年、桶狭間の戦い', '1560ねん、おけはざまのたたかい'); this.addWordSet('1582年、本能寺の変', '1582ねん、ほんのうじのへん'); this.addWordSet('1600年、関ヶ原の戦い', '1600ねん、せきがはらのたたかい'); this.addWordSet('1603年、江戸幕府', '1603ねん、えどばくふ'); this.addWordSet('1637年、島原の乱', '1637ねん、しまばらのらん'); this.addWordSet('1774年、解体新書', '1774ねん、かいたいしんしょ'); this.addWordSet('1841年、天保の改革', '1841ねん、てんぽうのかいかく'); this.addWordSet('1853年、黒船来航', '1853ねん、くろふねらいこう'); break; case TypingWordList.KEINE_03A: this.addWordSet('黄金の剣', 'おうごんのつるぎ'); this.addWordSet('エクスカリバー', 'えくすかりばー'); this.addWordSet('檜の棒', 'ひのきのぼう'); this.addWordSet('ライトセイバー', 'らいとせいばー'); this.addWordSet('トライデント', 'とらいでんと'); this.addWordSet('諸刃の剣', 'もろはのけん'); this.addWordSet('伝説の剣', 'でんせつのつるぎ'); this.addWordSet('ドラゴンバスター', 'どらごんばすたー'); this.addWordSet('ホーリーランス', 'ほーりーらんす'); this.addWordSet('名刀正宗', 'めいとうまさむね'); this.addWordSet('草薙剣', 'くさなぎのつるぎ'); this.addWordSet('なまくらの刀', 'なまくらのかたな'); this.addWordSet('鬼の金棒', 'おにのかなぼう'); this.addWordSet('銀の刃', 'しろがねのやいば'); this.addWordSet('妖刀村正', 'ようとうむらまさ'); this.addWordSet('斬鉄剣', 'ざんてつけん'); this.addWordSet('村雨丸', 'むらさめまる'); this.addWordSet('銅の剣', 'どうのつるぎ'); this.addWordSet('木刀と竹刀', 'ぼくとうとしない'); this.addWordSet('ゲイボルグ', 'げいぼるぐ'); this.addWordSet('フラガラッハ', 'ふらがらっは'); this.addWordSet('天叢雲', 'あめのむらくも'); this.addWordSet('天之尾羽張', 'あめのおはばり'); this.addWordSet('十束剣', 'とつかのつるぎ'); this.addWordSet('青龍偃月刀', 'せいりゅうえんげつとう'); this.addWordSet('降妖宝杖', 'ごうようほうじょう'); this.addWordSet('物干し竿', 'ものほしざお'); this.addWordSet('ミスティルティン', 'みすてぃるてぃん'); this.addWordSet('レーヴァテイン', 'れーヴぁていん'); break; case TypingWordList.KEINE_04A: this.addWordSet('ライジングサン', 'らいじんぐさん'); this.addWordSet('明けの明星', 'あけのみょうじょう'); this.addWordSet('宵の明星', 'よいのみょうじょう'); this.addWordSet('ベテルギウス', 'べてるぎうす'); this.addWordSet('アンタレス', 'あんたれす'); this.addWordSet('北極星', 'ほっきょくせい'); this.addWordSet('真夏の太陽', 'まなつのたいよう'); this.addWordSet('蛍の光', 'ほたるのひかり'); this.addWordSet('プロミネンス', 'ぷろみねんす'); this.addWordSet('マーキュリー', 'まーきゅりー'); this.addWordSet('ハレー彗星', 'はれーすいせい'); this.addWordSet('流星群', 'りゅうせいぐん'); this.addWordSet('ジュピター', 'じゅぴたー'); this.addWordSet('小惑星', 'しょうわくせい'); this.addWordSet('アンドロメダ', 'あんどろめだ'); this.addWordSet('アルタイル', 'あるたいる'); this.addWordSet('織姫と彦星', 'おりひめとひこぼし'); this.addWordSet('北斗七星', 'ほくとしちせい'); this.addWordSet('フラッシュライト', 'ふらっしゅらいと'); this.addWordSet('アルコールランプ', 'あるこーるらんぷ'); this.addWordSet('ネオンサイン', 'ねおんさいん'); this.addWordSet('レーザービーム', 'れーざーびーむ'); this.addWordSet('遠赤外線', 'えんせきがいせん'); this.addWordSet('まばゆい光', 'まばゆいひかり'); this.addWordSet('満天の星', 'まんてんのほし'); break; case TypingWordList.KEINE_05A: this.addWordSet('SFアニメーション', 'SFあにめーしょん'); this.addWordSet('宇宙へと旅に出る', 'うちゅうへとたびにでる'); this.addWordSet('月面移住計画', 'げつめんいじゅうけいかく'); this.addWordSet('火星の地球化', 'かせいのちきゅうか'); this.addWordSet('テラフォーミング', 'てらふぉーみんぐ'); this.addWordSet('宇宙ステーション', 'うちゅうすてーしょん'); this.addWordSet('輝夜、強制送還', 'かぐや、きょうせいそうかん'); this.addWordSet('H2ロケット打ち上げ', 'H2ろけっとうちあげ'); this.addWordSet('ユビキタス社会', 'ゆびきたすしゃかい'); this.addWordSet('Web2.0', 'WEB2.0'); this.addWordSet('ロボット三原則', 'ろぼっとさんげんそく'); this.addWordSet('地球外生命体', 'ちきゅうがいせいめいたい'); this.addWordSet('癌特効薬開発', 'がんとっこうやくかいはつ'); this.addWordSet('22世紀のロボット', '22せいきのろぼっと'); this.addWordSet('クローン人間誕生', 'くろーんにんげんたんじょう'); this.addWordSet('空飛ぶ自動車', 'そらとぶじどうしゃ'); this.addWordSet('戦争の無い世界', 'せんそうのないせかい'); this.addWordSet('恋するアンドロイド', 'こいするあんどろいど'); this.addWordSet('世紀の発明品', 'せいきのはつめいひん'); this.addWordSet('時空間転移装置', 'じくうかんてんいそうち'); this.addWordSet('タイムパラドックス', 'たいむぱらどっくす'); this.addWordSet('次世代に刻む歴史', 'じせだいにきざむれきし'); this.addWordSet('サハラ大森林', 'さはらだいしんりん'); this.addWordSet('家族宇宙旅行', 'かぞくうちゅうりょこう'); this.addWordSet('石油代替エネルギー', 'せきゆだいたいえねるぎー'); this.addWordSet('未来への第一歩', 'みらいへのだいいっぽ'); this.addWordSet('受け継がれる遺志', 'うけつがれるいし'); this.addWordSet('歴史的大発見', 'れきしてきだいはっけん'); break; case TypingWordList.KEINE_06A: this.addWordSet('博麗霊夢', 'はくれいれいむ'); this.addWordSet('霧雨魔理沙', 'きりさめまりさ'); this.addWordSet('宵闇のルーミア', 'よいやみのるーみあ'); this.addWordSet('氷の妖精チルノ', 'こおりのようせいちるの'); this.addWordSet('紅美鈴', 'ほんめいりん'); this.addWordSet('パチュリーノーレッジ', 'ぱちゅりーのーれっじ'); this.addWordSet('十六夜咲夜', 'いざよいさくや'); this.addWordSet('レミリアスカーレット', 'れみりあすかーれっと'); this.addWordSet('フランドールスカーレット', 'ふらんどーるすかーれっと'); this.addWordSet('レティホワイトロック', 'れてぃほわいとろっく'); this.addWordSet('式の式、橙', 'しきのしき、ちぇん'); this.addWordSet('アリスマーガトロイド', 'ありすまーがとろいど'); this.addWordSet('リリーホワイト', 'りりーほわいと'); this.addWordSet('ルナサプリズムリバー', 'るなさぷりずむりばー'); this.addWordSet('メルランプリズムリバー', 'めるらんぷりずむりばー'); this.addWordSet('リリカプリズムリバー', 'りりかぷりずむりばー'); this.addWordSet('レイラプリズムリバー', 'れいらぷりずむりばー'); this.addWordSet('魂魄妖夢', 'こんぱくようむ'); this.addWordSet('魂魄妖忌', 'こんぱくようき'); this.addWordSet('西行寺幽々子', 'さいぎょうじゆゆこ'); this.addWordSet('式神、八雲藍', 'しきがみ、やくもらん'); this.addWordSet('スキマ妖怪八雲紫', 'すきまようかいやくもゆかり'); this.addWordSet('リグルナイトバグ', 'りぐるないとばぐ'); this.addWordSet('ミスティアローレライ', 'みすてぃあろーれらい'); this.addWordSet('上白沢慧音', 'かみしらさわけいね'); this.addWordSet('因幡てゐ', 'いなばてうぃ'); this.addWordSet('鈴仙優曇華院イナバ', 'れいせんうどんげいんいなば'); this.addWordSet('八意永琳', 'やごころえいりん'); this.addWordSet('蓬莱山輝夜', 'ほうらいさんかぐや'); this.addWordSet('藤原妹紅', 'ふじわらのもこう'); this.addWordSet('秋静葉と穣子', 'あきしずはとみのりこ'); this.addWordSet('鍵山雛', 'かぎやまひな'); this.addWordSet('河城にとり', 'かわしろにとり'); this.addWordSet('犬走椛', 'いぬばしりもみじ'); this.addWordSet('射命丸文', 'しゃめいまるあや'); this.addWordSet('東風谷早苗', 'こちやさなえ'); this.addWordSet('八坂神奈子', 'やさかかなこ'); this.addWordSet('洩矢諏訪子', 'もりやすわこ'); this.addWordSet('森近霖之助', 'もりちかりんのすけ'); this.addWordSet('伊吹萃香', 'いぶきすいか'); this.addWordSet('メディスンメランコリー', 'めでぃすんめらんこりー'); this.addWordSet('風見幽香', 'かざみゆうか'); this.addWordSet('小野塚小町', 'おのづかこまち'); this.addWordSet('四季映姫ヤマザナドゥ', 'しきえいきやまざなどぅ'); break; case TypingWordList.MYSTIA_00A: this.addWordSet('暗闇', 'くらやみ'); this.addWordSet('真っ暗', 'まっくら'); this.addWordSet('ダークネス', 'だーくねす'); this.addWordSet('シャドー', 'しゃどー'); this.addWordSet('黒色', 'くろいろ'); this.addWordSet('闇夜', 'やみよ'); this.addWordSet('宵闇', 'よいやみ'); this.addWordSet('盲目', 'もうもく'); this.addWordSet('鳥目', 'とりめ'); this.addWordSet('見えない', 'みえない'); break; case TypingWordList.MYSTIA_01A: this.addWordSet('○', 'まる'); this.addWordSet('×', 'ばつ'); this.addWordSet('零', 'ぜろ'); this.addWordSet('愛', 'あい'); this.addWordSet('映', 'えい'); this.addWordSet('凹', 'おう'); this.addWordSet('凸', 'とつ'); this.addWordSet('金', 'きん'); this.addWordSet('白', 'しろ'); this.addWordSet('水', 'みず'); this.addWordSet('韻', 'いん'); this.addWordSet('禄', 'ろく'); this.addWordSet('才', 'さい'); this.addWordSet('民', 'たみ'); this.addWordSet('解', 'かい'); this.addWordSet('大', 'だい'); this.addWordSet('陣', 'じん'); this.addWordSet('層', 'そう'); this.addWordSet('肉', 'にく'); this.addWordSet('鳥', 'とり'); this.addWordSet('盤', 'ばん'); this.addWordSet('将', 'しょう'); this.addWordSet('熟', 'じゅく'); this.addWordSet('凶', 'きょう'); this.addWordSet('円', 'えん'); this.addWordSet('算', 'さん'); this.addWordSet('凛', 'りん'); this.addWordSet('十', 'じゅう'); this.addWordSet('任', 'にん'); this.addWordSet('念', 'ねん'); this.addWordSet('胚', 'はい'); this.addWordSet('福', 'ふく'); this.addWordSet('丙', 'へい'); this.addWordSet('甲', 'こう'); this.addWordSet('乙', 'おつ'); this.addWordSet('法', 'ほう'); this.addWordSet('銘', 'めい'); this.addWordSet('森', 'もり'); this.addWordSet('訳', 'やく'); this.addWordSet('勇', 'ゆう'); this.addWordSet('妖', 'よう'); this.addWordSet('腋', 'わき'); this.addWordSet('霊', 'れい'); this.addWordSet('粕', 'かす'); this.addWordSet('段', 'だん'); this.addWordSet('雨', 'あめ'); this.addWordSet('風', 'かぜ'); this.addWordSet('芯', 'しん'); this.addWordSet('楼', 'ろう'); this.addWordSet('刻', 'こく'); this.addWordSet('豪', 'ごう'); this.addWordSet('爆', 'ばく'); this.addWordSet('銀', 'ぎん'); this.addWordSet('瓶', 'びん'); this.addWordSet('π', 'ぱい'); this.addWordSet('行', 'ぎょう'); this.addWordSet('列', 'れつ'); this.addWordSet('内', 'うち'); this.addWordSet('外', 'そと'); this.addWordSet('升', 'ます'); this.addWordSet('累', 'るい'); this.addWordSet('運', 'うん'); this.addWordSet('萬', 'まん'); this.addWordSet('銅', 'どう'); break; case TypingWordList.MYSTIA_01B: this.addWordSet('ガンガン', 'がんがん'); this.addWordSet('バンバン', 'ばんばん'); this.addWordSet('ドンドン', 'どんどん'); this.addWordSet('ギューン', 'ぎゅーん'); this.addWordSet('ブーン', 'ぶーん'); this.addWordSet('ジャバジャバ', 'じゃばじゃば'); this.addWordSet('リンリン', 'りんりん'); this.addWordSet('ドッカーン', 'どっかーん'); this.addWordSet('スイスイ', 'すいすい'); this.addWordSet('バリバリ', 'ばりばり'); this.addWordSet('ビリビリ', 'びりびり'); this.addWordSet('ズキズキ', 'ずきずき'); this.addWordSet('ビンビン', 'びんびん'); this.addWordSet('キーン', 'きーん'); this.addWordSet('シャキーン', 'しゃきーん'); this.addWordSet('サラサラ', 'さらさら'); this.addWordSet('ヌルヌル', 'ぬるぬる'); this.addWordSet('クルクル', 'くるくる'); this.addWordSet('トントン', 'とんとん'); this.addWordSet('ドキドキ', 'どきどき'); this.addWordSet('プルプル', 'ぷるぷる'); this.addWordSet('パンパン', 'ぱんぱん'); this.addWordSet('シャンシャン', 'しゃんしゃん'); this.addWordSet('コンコン', 'こんこん'); this.addWordSet('スヤスヤ', 'すやすや'); this.addWordSet('チュドーン', 'ちゅどーん'); this.addWordSet('ギンギン', 'ぎんぎん'); break; case TypingWordList.MYSTIA_02A: this.addWordSet('弾幕', 'だんまく'); this.addWordSet('グレイズ', 'ぐれいず'); this.addWordSet('お札', 'おふだ'); this.addWordSet('かすり', 'かすり'); this.addWordSet('結界', 'けっかい'); this.addWordSet('スペル', 'すぺる'); this.addWordSet('神主', 'かんぬし'); this.addWordSet('ショット', 'しょっと'); this.addWordSet('神社', 'じんじゃ'); this.addWordSet('写真', 'しゃしん'); this.addWordSet('ナイフ', 'ないふ'); this.addWordSet('敵機', 'てっき'); this.addWordSet('雑魚', 'ざこ'); this.addWordSet('散らし', 'ちらし'); this.addWordSet('誘導', 'ゆうどう'); this.addWordSet('詰み', 'つみ'); this.addWordSet('ボム', 'ぼむ'); this.addWordSet('喰らう', 'くらう'); this.addWordSet('被弾', 'ひだん'); this.addWordSet('回避', 'かいひ'); this.addWordSet('弾', 'たま'); this.addWordSet('森羅', 'しんら'); this.addWordSet('時間', 'じかん'); this.addWordSet('決死', 'けっし'); this.addWordSet('紅魔', 'こうま'); this.addWordSet('蓬莱', 'ほうらい'); this.addWordSet('人形', 'にんぎょう'); this.addWordSet('厄日', 'やくび'); this.addWordSet('運命', 'うんめい'); this.addWordSet('破壊', 'はかい'); this.addWordSet('永遠', 'えいえん'); this.addWordSet('薬', 'くすり'); this.addWordSet('幸運', 'こううん'); this.addWordSet('狂気', 'きょうき'); this.addWordSet('歌う', 'うたう'); this.addWordSet('蛍', 'ほたる'); this.addWordSet('気孔', 'きこう'); this.addWordSet('冷気', 'れいき'); this.addWordSet('寒波', 'かんぱ'); this.addWordSet('春です', 'はるです'); this.addWordSet('パシリ', 'ぱしり'); this.addWordSet('刀', 'かたな'); this.addWordSet('死霊', 'しりょう'); this.addWordSet('風神', 'ふうじん'); this.addWordSet('乾', 'いぬい'); this.addWordSet('ケロケロ', 'けろけろ'); this.addWordSet('もやし', 'もやし'); this.addWordSet('先生', 'せんせい'); this.addWordSet('不死身', 'ふじみ'); this.addWordSet('豊穣', 'ほうじょう'); this.addWordSet('暗闇', 'くらやみ'); this.addWordSet('騒霊', 'そうれい'); break; case TypingWordList.MYSTIA_03A: this.addWordSet('⑨', 'まるきゅう'); this.addWordSet('紅美鈴', 'ちゅうごく'); this.addWordSet('赤眼催眠', 'まいんどしぇいかー'); this.addWordSet('月兎遠隔催眠術', 'てれめすめりずむ'); this.addWordSet('蓬莱NEET', 'ほうらいneet'); this.addWordSet('輝夜と妹紅たん', 'てるよともこたん'); this.addWordSet('凱風快晴', 'ふじやまヴぉるけいの'); this.addWordSet('すごいよ!PAD長', 'すごいよ!padちょう'); this.addWordSet('射命丸ッ!!!!!', 'しゃめいまるっ!!!!!'); this.addWordSet('2Pカラー早苗', '2pからーさなえ'); this.addWordSet('素裸天狐', 'すっぱてんこー'); this.addWordSet('ゆゆことみょん', 'ゆゆことみょん'); this.addWordSet('お値段以上', 'おねだんいじょう'); this.addWordSet('リリーブラック', 'りりーぶらっく'); this.addWordSet('ルナシューター', 'るなしゅーたー'); this.addWordSet('って、けーねが言ってた', 'って、けーねがいってた'); this.addWordSet('めるぽ。ガッ!!!', 'めるぽ。がっ!!!'); this.addWordSet('東方求聞史紀', 'とうほうぐもんしき'); this.addWordSet('えーりん!えーりん!', 'えーりん!えーりん!'); this.addWordSet('アルコール度数95%', 'あるこーるどすう95%'); break; case TypingWordList.MYSTIA_05A: this.addWordSet('少女綺想曲', 'しょうじょきそうきょく'); this.addWordSet('恋色マスタースパーク', 'こいいろますたーすぱーく'); this.addWordSet('幽雅に咲かせ、墨染の桜', 'ゆうがにさかせ、すみぞめのさくら'); this.addWordSet('明治十七年の上海アリス', 'めいじじゅうななねんのしゃんはいありす'); this.addWordSet('ツェペシュの幼き末裔', 'つぇぺしゅのおさなきまつえい'); this.addWordSet('ヴワル魔法図書館', 'ヴわるまほうとしょかん'); this.addWordSet('メイドと血の懐中時計', 'めいどとちのかいちゅうどけい'); this.addWordSet('ティアオイエツォン', 'てぃあおいえつぉん'); this.addWordSet('広有射怪鳥事', 'ひろありけちょうをいること'); this.addWordSet('東方妖怪小町', 'とうほうようかいこまち'); this.addWordSet('ヴォヤージュ1969', 'ヴぉやーじゅ1969'); this.addWordSet('月まで届け、不死の煙', 'つきまでとどけ、ふしのけむり'); this.addWordSet('御伽の国の鬼が島', 'おとぎのくにのおにがしま'); this.addWordSet('お宇佐さまの素い幡', 'おうささまのしろいはた'); this.addWordSet('六十年目の東方裁判', 'ろくじゅうねんめのとうほうさいばん'); this.addWordSet('レトロスペクティブ京都', 'れとろすぺくてぃぶきょうと'); this.addWordSet('稲田姫様に叱られるから', 'いなだひめさまにしかられるから'); this.addWordSet('運命のダークサイド', 'うんめいのだーくさいど'); this.addWordSet('芥川龍之介の河童', 'あくたがわりゅうのすけのかっぱ'); this.addWordSet('おてんば恋娘の冒険', 'おてんばこいむすめのぼうけん'); this.addWordSet('人の形弄びし少女', 'ひとのかたちもてあそびししょうじょ'); this.addWordSet('蠢々秋月', 'しゅんしゅんしゅうげつ'); this.addWordSet('遠野幻想物語', 'とおのげんそうものがたり'); this.addWordSet('上海紅茶館', 'しゃんはいこうちゃかん'); this.addWordSet('シンデレラケージ', 'しんでれらけーじ'); this.addWordSet('東方妖怪小町', 'とうほうようかいこまち'); this.addWordSet('ヴォヤージュ1970', 'ヴぉやーじゅ1970'); this.addWordSet('エクステンドアッシュ', 'えくすてんどあっしゅ'); this.addWordSet('クリスタライズシルバー', 'くりすたらいずしるばー'); this.addWordSet('U.N.オーエンは彼女なのか?', 'u.n.おーえんはかのじょなのか?'); this.addWordSet('亡き王女の為のセプテット', 'なきおうじょのためのせぷてっと'); break; case TypingWordList.MYSTIA_04A: this.addWordSet('さあ、歌いましょう。', 'さあ、うたいましょう。'); this.addWordSet('今宵は宴会よ', 'こよいはえんかいよ'); this.addWordSet('みなさん、ご一緒に。', 'みなさん、ごいっしょに。'); this.addWordSet('楽しい音楽の時間', 'たのしいおんがくのじかん'); this.addWordSet('霊も騒ぎ出す夜', 'れいもさわぎだすよる'); this.addWordSet('どうして会えないの?', 'どうしてあえないの?'); this.addWordSet('一人は寂しいよ', 'ひとりはさみしいよ'); this.addWordSet('早くあなたに会いたい', 'はやくあなたにあいたい'); this.addWordSet('ラブラブ男女の歌', 'らぶらぶだんじょのうた'); this.addWordSet('ツンデレ女の子', 'つんでれおんなのこ'); this.addWordSet('私のジャスティス', 'わたしのじゃすてぃす'); this.addWordSet('これが私の行く道', 'これがわたしのいくみち'); this.addWordSet('ベストヒットソング', 'べすとひっとそんぐ'); this.addWordSet('あなたのために歌います', 'あなたのためにうたいます'); this.addWordSet('今夜はあなただけのもの', 'こんやはあなただけのも'); this.addWordSet('お願い、食べないで!', 'おねがい、たべないで!'); this.addWordSet('新しい恋にいきるわ', 'あたらしいこいにいきるわ'); this.addWordSet('つらいときにそばにいて', 'つらいときにそばにいて'); this.addWordSet('君のところへ行くよ', 'きみのところへいくよ'); this.addWordSet('いつまでも忘れない', 'いつまでもわすれない'); this.addWordSet('いったい誰が殺した!', 'いったいだれがころした!'); this.addWordSet('鮮やかな景色だね', 'あざやかなけしきだね'); this.addWordSet('信じられない話', 'しんじられないはなし'); this.addWordSet('電波ゆんゆんソング', 'でんぱゆんゆんそんぐ'); this.addWordSet('飲め!歌え!踊れ!', 'のめ!うたえ!おどれ!'); this.addWordSet('そんなこと言っても無理', 'そんなこといってもむり'); this.addWordSet('ごっすんごっすんごっすん', 'ごっすんごっすんごっすん'); break; default: } }; v2.addWordSet = function (w, ym) { var v3 = new Object(); var v5 = new TypingWord2(); var v2 = new Number(); var v4 = 'A'.charCodeAt(0); var v8 = 'Z'.charCodeAt(0); var v6 = '0'.charCodeAt(0); var v7 = '9'.charCodeAt(0); v3 = {'word': w, 'yomi': ym}; v5.setYomiString(ym.slice(0, 2), this.loadedRule); v2 = (v5.getRomanString()).charCodeAt(0); if (v2 >= v4 && v2 <= v8) { this.indexList[v2 - v4].push(v3); trace(((((String.fromCharCode(v2)).concat(': ')).concat(this.indexList[v2 - v4].length)).concat('-')).concat(v2 - v4)); } else { if (v2 >= v6 && v2 <= v7) { this.indexList[v2 - v6 + 26].push(v3); } else { this.indexList[36].push(v3); } } ++this.wordTotal; }; v2.resetWordSet = function () { this.mainList = new Array(); }; v2.getRandomExcept = function (str) { var v7 = 'A'.charCodeAt(0); var v13 = 'Z'.charCodeAt(0); var v10 = '0'.charCodeAt(0); var v12 = '9'.charCodeAt(0); var v6 = 0; var v8 = new Number(this.wordTotal); var v3 = new Array(); v6 = 0; while (v6 < str.length) { var v4 = str.charCodeAt(v6); if (v4 >= v7 && v4 <= v13) { v8 -= this.indexList[v4 - v7].length; v3.push(v4 - v7); } else { if (v4 >= v10 && v4 <= v12) { v8 -= this.indexList[v4 - v10 + 26].length; v3.push(v4 - v10 + 26); } else { v8 -= this.indexList[36].length; v3.push(36); } } ++v6; } if (v8 <= 0) { trace('All Done-->reset List'); this.addWordSetDefault(this.listNumber); v8 = new Number(this.wordTotal); v3 = new Array(); v6 = 0; while (v6 < str.length) { v4 = str.charCodeAt(v6); if (v4 >= v7 && v4 <= v13) { v8 -= this.indexList[v4 - v7].length; v3.push(v4 - v7); } else { if (v4 >= v10 && v4 <= v12) { v8 -= this.indexList[v4 - v10 + 26].length; v3.push(v4 - v7 + 26); } else { v8 -= this.indexList[36].length; v3.push(36); } } ++v6; } } if (v8 <= 0) { return {'word': 'もうないよ', 'yomi': 'もうないよ'}; } else { var v2 = 0; var v5 = 0; var v14 = {'word': 'もうないよ', 'yomi': 'もうないよ'}; var v9 = Math.floor(Math.random() * v8); v2 = 0; while (v2 < this.indexList.length) { v5 = 0; while (v5 < v3.length) { if (v3[v5] == v2) { break; } ++v5; } if (v3[v5] == v2) { } else { if (v9 >= this.indexList[v2].length) { v9 -= this.indexList[v2].length; trace((('INDEX'.concat(v2)).concat(': ')).concat(v9)); } else { v14 = this.indexList[v2][v9]; this.indexList[v2] = (this.indexList[v2].slice(0, v9)).concat(this.indexList[v2].slice(v9 + 1)); --this.wordTotal; break; } } ++v2; } return v14; } }; v2.getRule = function () { return this.loadedRule; }; v2.mainList = new Array(); v2.indexList = new Array(37); v2.wordTotal = 0; v2.listNumber = 0; v1.CIRNO_00A = 0; v1.CIRNO_01A = 1; v1.CIRNO_02A = 2; v1.CIRNO_03A = 3; v1.TEI_01A = 4; v1.TEI_02A = 5; v1.TEI_03A = 6; v1.TEI_03B = 7; v1.TEI_04A = 8; v1.KEINE_01A = 9; v1.KEINE_02A = 10; v1.KEINE_03A = 11; v1.KEINE_04A = 12; v1.KEINE_05A = 13; v1.KEINE_06A = 14; v1.MYSTIA_00A = 15; v1.MYSTIA_01A = 16; v1.MYSTIA_01B = 17; v1.MYSTIA_02A = 18; v1.MYSTIA_03A = 19; v1.MYSTIA_04A = 20; v1.MYSTIA_05A = 21; ASSetPropFlags(_global.TypingWordList.prototype, null, 1); } #endinitclip } movieClip 2150 __Packages.Freezable { #initclip if (!_global.Freezable) { var v1 = function () { super(); }; _global.Freezable = v1; _global.Freezable extends MovieClip; var v2 = v1.prototype; v2.stop = function () { super.stop(); this._playing = false; }; v2.play = function () { if (!this._frozen) { super.play(); } this._playing = true; }; v2.gotoAndStop = function (obj) { super.gotoAndStop(obj); this._playing = false; }; v2.gotoAndPlay = function (obj) { if (!this._frozen) { super.gotoAndPlay(obj); } this._playing = true; }; v2.freeze = function () { if (!this._frozen) { super.stop(); this.frozenEnterFrame = this.onEnterFrame; this.onEnterFrame = undefined; this._frozen = true; var v3; for (var v4 in this) { v3 = this[v4]; v3.freeze(); } } }; v2.unfreeze = function () { if (this._frozen) { if (this._playing == true) { super.play(); } this.onEnterFrame = this.frozenEnterFrame; this.frozenEnterFrame = undefined; this._frozen = false; var v3; for (var v4 in this) { v3 = this[v4]; v3.unfreeze(); } } }; v2._frozen = false; v2._playing = true; v2.frozenEnterFrame = undefined; ASSetPropFlags(_global.Freezable.prototype, null, 1); } #endinitclip } frame 2 { tRule = new TypingRule(); k = 0; while (k < Key._listeners.length) { trace('[KEY LISTENER] ' + Key._listeners[k]); ++k; } } // unknown tag 88 length 67 // unknown tag 88 length 123 frame 64 { this.stop(); } // unknown tag 88 length 56 button 1533 { on (release) { this.selectedScene = 'characterSelect'; this.play(); } } button 1535 { on (release) { _parent.gotoAndPlay('optionMenu'); } } button 1537 { on (release) { _root.gotoAndPlay('endMovie'); } } movieClip 1538 { frame 18 { this.stop(); } frame 34 { _parent.gotoAndPlay(this.selectedScene); this.stop(); } } movieClip 1542 { frame 1 { this.cacheAsBitmap = true; } } movieClip 1544 { frame 1 { this.cacheAsBitmap = true; } } // unknown tag 88 length 95 movieClip 1549 { } movieClip 1550 { } // unknown tag 88 length 58 movieClip 1557 { frame 13 { this.stop(); asThis = this; typingMovieClip.createTypeBox_noLimit('nameReimu', 3000, '博麗霊夢', 'はくれいれいむ', _parent.tRule); playerStatus = 0; typingMovieClip.nameReimu._x = -160; typingMovieClip.nameReimu._y = 60; listener1 = new Object(); listener1.onTypeComplete = function () { asThis.gotoAndPlay('reimu'); }; typingMovieClip.nameReimu.addTypeBoxListener(listener1); } frame 86 { _parent.gotoAndPlay('gameReimu'); this.stop(); } frame 87 { typingMovieClip.nameReimu.onEnterFrame = function () { this._x -= 10; if (this._x < -500) { this.removeMovieClip(); } }; } frame 153 { _parent.gotoAndPlay('gameMarisa'); this.stop(); } } frame 76 { this.stop(); } button 1652 { on (release) { this.nextFrame(); _parent.tmpRule.setRule('し', 1); } } button 1653 { on (release) { this.gotoAndStop(2); _parent.tmpRule.setRule('し', 0); } } movieClip 1655 { frame 1 { this.stop(); this.gotoAndStop(_parent.tmpRule.getRule('し') + 2); } } button 1657 { on (release) { this.nextFrame(); _parent.tmpRule.setRule('つ', 1); } } button 1658 { on (release) { this.gotoAndStop(2); _parent.tmpRule.setRule('つ', 0); } } movieClip 1660 { frame 1 { this.stop(); this.gotoAndStop(_parent.tmpRule.getRule('つ') + 2); } } button 1662 { on (release) { this.nextFrame(); _parent.tmpRule.setRule('ふ', 1); } } button 1663 { on (release) { this.gotoAndStop(2); _parent.tmpRule.setRule('ふ', 0); } } movieClip 1665 { frame 1 { this.stop(); this.gotoAndStop(_parent.tmpRule.getRule('ふ') + 2); } } button 1667 { on (release) { this.nextFrame(); _parent.tmpRule.setRule('ん', 1); } } button 1668 { on (release) { this.gotoAndStop(2); _parent.tmpRule.setRule('ん', 0); } } movieClip 1670 { frame 1 { this.stop(); this.gotoAndStop(_parent.tmpRule.getRule('ん') + 2); } } button 1673 { on (release) { this.gotoAndStop(4); _parent._parent.tRule = tmpRule; } } button 1675 { on (release) { this.nextFrame(); _parent._parent.tRule = tmpRule; } } button 1678 { on (release) { _parent._parent.gameSavedData.data.ruleSaved = tmpRule; _parent._parent.gotoAndPlay('titleMenu'); _parent._parent.tRule = tmpRule; } } // unknown tag 88 length 146 button 1757 { on (release) { this.nextFrame(); _parent.tmpRule.setRule('じ', 1); } } button 1758 { on (release) { this.gotoAndStop(2); _parent.tmpRule.setRule('じ', 0); } } movieClip 1760 { frame 1 { this.stop(); this.gotoAndStop(_parent.tmpRule.getRule('じ') + 2); } } button 1765 { on (release) { this.nextFrame(); _parent.tmpRule.setRule('しゃ', 1); } } button 1766 { on (release) { this.gotoAndStop(2); _parent.tmpRule.setRule('しゃ', 0); } } movieClip 1771 { frame 1 { this.stop(); this.gotoAndStop(_parent.tmpRule.getRule('しゃ') + 2); } } button 1776 { on (release) { this.nextFrame(); _parent.tmpRule.setRule('ちゃ', 1); } } button 1777 { on (release) { this.gotoAndStop(2); _parent.tmpRule.setRule('ちゃ', 0); } } movieClip 1782 { frame 1 { this.stop(); this.gotoAndStop(_parent.tmpRule.getRule('ちゃ') + 2); } } button 1783 { on (release) { this.prevFrame(); _parent._parent.tRule = tmpRule; } } button 1848 { on (release) { this.nextFrame(); _parent.tmpRule.setRule('ぁ', 1); } } button 1849 { on (release) { this.gotoAndStop(2); _parent.tmpRule.setRule('ぁ', 0); } } movieClip 1855 { frame 1 { this.stop(); this.gotoAndStop(_parent.tmpRule.getRule('ぁ') + 2); } } button 1860 { on (release) { this.nextFrame(); _parent.tmpRule.setRule('じゃ', 1); } } button 1861 { on (release) { this.nextFrame(); _parent.tmpRule.setRule('じゃ', 2); } } button 1866 { on (release) { this.gotoAndStop(2); _parent.tmpRule.setRule('じゃ', 0); } } movieClip 1871 { frame 1 { this.stop(); this.gotoAndStop(_parent.tmpRule.getRule('じゃ') + 2); } } button 1875 { on (release) { this.nextFrame(); _parent.tmpRule.setRule('ゃ', 1); } } button 1876 { on (release) { this.gotoAndStop(2); _parent.tmpRule.setRule('ゃ', 0); } } movieClip 1880 { frame 1 { this.stop(); this.gotoAndStop(_parent.tmpRule.getRule('ゃ') + 2); } } button 1898 { on (release) { this.nextFrame(); _parent.tmpRule.setRule('っ', 1); } } button 1899 { on (release) { this.nextFrame(); _parent.tmpRule.setRule('っ', 2); } } button 1901 { on (release) { this.nextFrame(); _parent.tmpRule.setRule('っ', 3); } } button 1903 { on (release) { this.gotoAndStop(2); _parent.tmpRule.setRule('っ', 4); } } movieClip 1905 { frame 1 { this.stop(); this.gotoAndStop(_parent.tmpRule.getRule('っ') + 2); } } button 1906 { on (release) { this.gotoAndStop(1); _parent._parent.tRule = tmpRule; } } movieClip 1908 { frame 1 { this.stop(); tmpRule = new TypingRule(); tmpRule = _parent._parent.tRule; trace(tmpRule.getRule('し')); } } movieClip 1910 { } movieClip 1911 { } movieClip 1912 { frame 1 { this.stop(); asThis = this; } frame 19 { typingMovieClip.nameMarisa.onEnterFrame = function () { this._x += 10; if (this._x > 500) { this.removeMovieClip(); } }; } frame 55 { _parent.gotoAndPlay('gameReimu'); this.stop(); } frame 56 { typingMovieClip.nameReimu.onEnterFrame = function () { this._x -= 10; if (this._x < -500) { this.removeMovieClip(); } }; } frame 92 { _parent.gotoAndPlay('gameMarisa'); this.stop(); } } frame 106 { this.stop(); } movieClip 1914 { frame 1 { this; onEnterFrame = function () { vol = _parent.bgmSound.getVolume(); if (vol <= 0) { this.onEnterFrame = undefined; _parent.bgmSound.stop(); _parent.bgmSound.setVolume(100); } else { --vol; _parent.bgmSound.setVolume(vol); } }; } frame 168 { this.stop(); _parent.play(); } } frame 132 { this.stop(); } frame 142 { this.stop(); outerFrame.setPlayerCounter(2, 3); } movieClip 1943 { } movieClip 1946 { } movieClip 1950 { } movieClip 1953 { } movieClip 1954 { frame 16 { _parent.gotoAndStop(1); } } movieClip 1957 { frame 40 { _parent.gotoAndStop(1); } } movieClip 1959 { frame 40 { this.stop(); } } movieClip 1960 { frame 1 { this.stop(); } instance of movieClip 1943 { onClipEvent (load) { this.cacheAsBitmap = true; } } instance of movieClip 1946 { onClipEvent (load) { this.cacheAsBitmap = true; } } instance of movieClip 1950 { onClipEvent (load) { this.cacheAsBitmap = true; } } instance of movieClip 1953 { onClipEvent (load) { this.cacheAsBitmap = true; } } instance of movieClip 1954 { onClipEvent (load) { this.cacheAsBitmap = true; } } instance of movieClip 1957 { onClipEvent (load) { this.cacheAsBitmap = true; } } instance of movieClip 1959 { onClipEvent (load) { this.cacheAsBitmap = true; } } } movieClip 1961 { } movieClip 1964 { frame 1 { this.cacheAsBitmap = true; } } movieClip 1967 { frame 110 { this.stop(); } } movieClip 1977 { frame 1 { sCount = 0; asThis = this; _parent.gaugeManager.setSpellCard(100, 30, 100, 50, 0, 0); _parent.gaugeManager.setSpellCardStatus('tei01', 800000, 'tei', false); _parent.gaugeManager.showEnemyStatus('tei'); spellListener = new Object(); spellListener.onLifeOver = function () { asThis.gotoAndPlay('spell1'); _parent.spellBack.gotoAndStop('tei'); _parent.typingMovieClip.deleteAll(); _parent.typingBulletsManager.deleteAllBullets(1); }; spellListener.onSpellBreak = function () { asThis.gotoAndPlay('spellEnd'); _parent.spellBack.gotoAndStop('none'); _parent.typingMovieClip.deleteAll(); _parent.typingBulletsManager.deleteAllBullets(1); }; _parent.gaugeManager.addGaugeListener(spellListener); } frame 2 { asThis = this; _parent.enemy.gotoAndStop(5); tListener = new Object(); tListener.onAllTypingComplete = function () { asThis.gotoAndPlay('allComplete1'); }; _parent.typingMovieClip.addTypingListener(tListener); gListener = new Object(); gListener.onRecovery = function () { asThis.gotoAndPlay('allComplete1'); }; _parent.addGameListener(gListener); } frame 8 { ++sCount; _parent.typingMovieClip.createTypeBox03('t_tei_normal' + sCount, 10000 - sCount, _parent.wordList_tei01, 35, 240); _parent.typingBulletsManager.setBulletsWithTyping('tei01a', 'tei_normal' + sCount, 5000 - sCount, _parent.typingMovieClip['t_tei_normal' + sCount]); listener1 = new Object(); listener1.onTypeComplete = function () { _parent.gaugeManager.enemyDamage(10); }; _parent.typingMovieClip['t_tei_normal' + sCount].addTypeBoxListener(listener1); _parent.typingMovieClip['t_tei_normal' + sCount].targ = _parent.typingBulletsManager['tei_normal' + sCount].danmakuPart; _parent.typingMovieClip['t_tei_normal' + sCount].onEnterFrameWithBullets = function () { this.locBounds = this.targ.boxLocation.getBounds(this._parent); this._x = (this.locBounds.xMax + this.locBounds.xMin) / 2; this._y = (this.locBounds.yMax + this.locBounds.yMin) / 2; }; } frame 9 { ++sCount; _parent.typingMovieClip.createTypeBox03('t_tei_normal' + sCount, 10000 - sCount, _parent.wordList_tei01, 35, 240); _parent.typingBulletsManager.setBulletsWithTyping('tei01b', 'tei_normal' + sCount, 5000 - sCount, _parent.typingMovieClip['t_tei_normal' + sCount]); listener1 = new Object(); listener1.onTypeComplete = function () { _parent.gaugeManager.enemyDamage(10); }; _parent.typingMovieClip['t_tei_normal' + sCount].addTypeBoxListener(listener1); _parent.typingMovieClip['t_tei_normal' + sCount].targ = _parent.typingBulletsManager['tei_normal' + sCount].danmakuPart; _parent.typingMovieClip['t_tei_normal' + sCount].onEnterFrameWithBullets = function () { this.locBounds = this.targ.boxLocation.getBounds(this._parent); this._x = (this.locBounds.xMax + this.locBounds.xMin) / 2; this._y = (this.locBounds.yMax + this.locBounds.yMin) / 2; }; } frame 14 { this.stop(); } frame 15 { _parent.typingMovieClip.removeTypingListener(tListener); _parent.removeGameListener(gListener); } frame 16 { this.gotoAndPlay('firstFrame'); } frame 30 { _parent.enemy.gotoAndStop(6); tListener = new Object(); tListener.onAllTypingComplete = function () { asThis.gotoAndPlay('allComplete2'); }; _parent.typingMovieClip.addTypingListener(tListener); gListener = new Object(); gListener.onRecovery = function () { asThis.gotoAndPlay('allComplete2'); }; _parent.addGameListener(gListener); } frame 31 { ++sCount; _parent.typingMovieClip.createTypeBox03('t_escape' + sCount, 10000 - sCount, _parent.wordList_tei02, 35, 295); _parent.typingBulletsManager.setBulletsWithTyping('tei02a', 'escape' + sCount, 5000 - sCount, _parent.typingMovieClip['t_escape' + sCount]); listener1 = new Object(); listener1.onTypeComplete = function () { _parent.gaugeManager.enemyDamage(10); }; _parent.typingMovieClip['t_escape' + sCount].addTypeBoxListener(listener1); _parent.typingMovieClip['t_escape' + sCount].targ = _parent.typingBulletsManager['escape' + sCount].danmakuPart; _parent.typingMovieClip['t_escape' + sCount].onEnterFrameWithBullets = function () { this.locBounds = this.targ.boxLocation.getBounds(this._parent); this._x = (this.locBounds.xMax + this.locBounds.xMin) / 2; this._y = (this.locBounds.yMax + this.locBounds.yMin) / 2; }; } frame 60 { this.stop(); } frame 73 { _parent.typingMovieClip.removeTypingListener(tListener); _parent.removeGameListener(gListener); } frame 74 { this.gotoAndPlay('spell1'); } frame 99 { _parent.play(); } frame 165 { this.gotoAndPlay('firstFrame'); } } movieClip 1978 { frame 1 { sCount = 0; asThis = this; _parent.gaugeManager.setSpellCard(100, 30, 100, 50, 0, 0); _parent.gaugeManager.setSpellCardStatus('tei02', 800000, 'tei', false); _parent.gaugeManager.showEnemyStatus('tei'); spellListener = new Object(); spellListener.onLifeOver = function () { asThis.gotoAndPlay('spell1'); _parent.spellBack.gotoAndStop('tei'); _parent.typingMovieClip.deleteAll(); _parent.typingBulletsManager.deleteAllBullets(1); }; spellListener.onSpellBreak = function () { asThis.gotoAndPlay('spellEnd'); _parent.spellBack.gotoAndStop('none'); _parent.typingMovieClip.deleteAll(); _parent.typingBulletsManager.deleteAllBullets(1); }; _parent.gaugeManager.addGaugeListener(spellListener); } frame 2 { asThis = this; _parent.enemy.gotoAndStop(5); tListener = new Object(); tListener.onAllTypingComplete = function () { asThis.gotoAndPlay('allComplete1'); }; _parent.typingMovieClip.addTypingListener(tListener); gListener = new Object(); gListener.onRecovery = function () { asThis.gotoAndPlay('allComplete1'); }; _parent.addGameListener(gListener); } frame 8 { ++sCount; _parent.typingMovieClip.createTypeBox03('t_tei_normal' + sCount, 10000 - sCount, _parent.wordList_tei01, 35, 240); _parent.typingBulletsManager.setBulletsWithTyping('tei01a', 'tei_normal' + sCount, 5000 - sCount, _parent.typingMovieClip['t_tei_normal' + sCount]); listener1 = new Object(); listener1.onTypeComplete = function () { _parent.gaugeManager.enemyDamage(10); }; _parent.typingMovieClip['t_tei_normal' + sCount].addTypeBoxListener(listener1); _parent.typingMovieClip['t_tei_normal' + sCount].targ = _parent.typingBulletsManager['tei_normal' + sCount].danmakuPart; _parent.typingMovieClip['t_tei_normal' + sCount].onEnterFrameWithBullets = function () { this.locBounds = this.targ.boxLocation.getBounds(this._parent); this._x = (this.locBounds.xMax + this.locBounds.xMin) / 2; this._y = (this.locBounds.yMax + this.locBounds.yMin) / 2; }; } frame 9 { ++sCount; _parent.typingMovieClip.createTypeBox03('t_tei_normal' + sCount, 10000 - sCount, _parent.wordList_tei01, 35, 240); _parent.typingBulletsManager.setBulletsWithTyping('tei01b', 'tei_normal' + sCount, 5000 - sCount, _parent.typingMovieClip['t_tei_normal' + sCount]); listener1 = new Object(); listener1.onTypeComplete = function () { _parent.gaugeManager.enemyDamage(10); }; _parent.typingMovieClip['t_tei_normal' + sCount].addTypeBoxListener(listener1); _parent.typingMovieClip['t_tei_normal' + sCount].targ = _parent.typingBulletsManager['tei_normal' + sCount].danmakuPart; _parent.typingMovieClip['t_tei_normal' + sCount].onEnterFrameWithBullets = function () { this.locBounds = this.targ.boxLocation.getBounds(this._parent); this._x = (this.locBounds.xMax + this.locBounds.xMin) / 2; this._y = (this.locBounds.yMax + this.locBounds.yMin) / 2; }; } frame 14 { this.stop(); } frame 15 { _parent.typingMovieClip.removeTypingListener(tListener); _parent.removeGameListener(gListener); } frame 16 { this.gotoAndPlay('firstFrame'); } frame 30 { _parent.enemy.gotoAndStop(6); tListener = new Object(); tListener.onAllTypingComplete = function () { asThis.gotoAndPlay('allComplete2'); }; _parent.typingMovieClip.addTypingListener(tListener); gListener = new Object(); gListener.onRecovery = function () { asThis.gotoAndPlay('allComplete2'); }; _parent.addGameListener(gListener); } frame 31 { ++sCount; _parent.typingMovieClip.createTypeBox03('t_kusuri' + sCount, 10000 - sCount, _parent.wordList_tei03, 35, 400); _parent.typingBulletsManager.setBulletsWithTyping('tei03a', 'kusuri' + sCount, 5000 - sCount, _parent.typingMovieClip['t_kusuri' + sCount]); listener1 = new Object(); listener1.onTypeComplete = function () { _parent.gaugeManager.enemyDamage(10); }; _parent.typingMovieClip['t_kusuri' + sCount].addTypeBoxListener(listener1); _parent.typingMovieClip['t_kusuri' + sCount].targ = _parent.typingBulletsManager['kusuri' + sCount].danmakuPart; _parent.typingMovieClip['t_kusuri' + sCount].onEnterFrameWithBullets = function () { this.locBounds = this.targ.boxLocation.getBounds(this._parent); this._x = (this.locBounds.xMax + this.locBounds.xMin) / 2; this._y = (this.locBounds.yMax + this.locBounds.yMin) / 2; }; } frame 32 { ++sCount; _parent.typingMovieClip.createTypeBox03('t_kusuri' + sCount, 10000 - sCount, _parent.wordList_tei04, 35, 400); _parent.typingBulletsManager.setBulletsWithTyping('tei03b', 'kusuri' + sCount, 5000 - sCount, _parent.typingMovieClip['t_kusuri' + sCount]); listener1 = new Object(); listener1.onTypeComplete = function () { _parent.gaugeManager.enemyDamage(10); }; _parent.typingMovieClip['t_kusuri' + sCount].addTypeBoxListener(listener1); _parent.typingMovieClip['t_kusuri' + sCount].targ = _parent.typingBulletsManager['kusuri' + sCount].danmakuPart; _parent.typingMovieClip['t_kusuri' + sCount].onEnterFrameWithBullets = function () { this.locBounds = this.targ.boxLocation.getBounds(this._parent); this._x = (this.locBounds.xMax + this.locBounds.xMin) / 2; this._y = (this.locBounds.yMax + this.locBounds.yMin) / 2; }; } frame 60 { this.stop(); } frame 73 { _parent.typingMovieClip.removeTypingListener(tListener); _parent.removeGameListener(gListener); } frame 74 { this.gotoAndPlay('spell1'); } frame 99 { _parent.play(); } frame 165 { this.gotoAndPlay('firstFrame'); } } movieClip 1979 { frame 1 { sCount = 0; asThis = this; _parent.gaugeManager.setSpellCard(0, 0, 0, 0, 100, 45); _parent.gaugeManager.setLastSpellStatus('tei03', 920000, 'tei', false); _parent.gaugeManager.showEnemyStatus('tei'); _parent.spellBack.gotoAndStop('tei'); spellListener = new Object(); spellListener.onLastBreak = function () { asThis.gotoAndPlay('spellEnd'); _parent.spellBack.gotoAndStop('none'); _parent.typingMovieClip.deleteAll(); _parent.typingBulletsManager.deleteAllBullets(1); }; _parent.gaugeManager.addGaugeListener(spellListener); } frame 2 { _parent.enemy.gotoAndStop(1); tListener = new Object(); tListener.onAllTypingComplete = function () { asThis.gotoAndPlay('allComplete2'); }; _parent.typingMovieClip.addTypingListener(tListener); gListener = new Object(); gListener.onRecovery = function () { asThis.gotoAndPlay('allComplete2'); }; _parent.addGameListener(gListener); } frame 3 { this.stop(); _parent.enemy.gotoAndStop(6); ++sCount; _parent.typingMovieClip.createTypeBox03('t_touhai' + sCount, 10000 - sCount, _parent.wordList_tei05, 35, 320); _parent.typingBulletsManager.setBulletsWithTyping('tei04a', 'touhai' + sCount, 5000 - sCount, _parent.typingMovieClip['t_touhai' + sCount]); listener1 = new Object(); listener1.onTypeComplete = function () { _parent.gaugeManager.enemyDamage(10); }; _parent.typingMovieClip['t_touhai' + sCount].addTypeBoxListener(listener1); _parent.typingMovieClip['t_touhai' + sCount].targ = _parent.typingBulletsManager['touhai' + sCount].danmakuPart; _parent.typingMovieClip['t_touhai' + sCount].onEnterFrameWithBullets = function () { this.locBounds = this.targ.boxLocation.getBounds(this._parent); this._x = (this.locBounds.xMax + this.locBounds.xMin) / 2; this._y = (this.locBounds.yMax + this.locBounds.yMin) / 2; }; } frame 78 { i = 0; while (i < 3) { _parent.typingMovieClip.createTypeBox03('t_pFreeze' + (sCount - i), 10000 - (sCount - i), _parent.wordList_cirno03, 100, 350); _parent.typingBulletsManager.attatchTyping('pFreeze' + (sCount - i), _parent.typingMovieClip['t_pFreeze' + (sCount - i)]); asThis['listener' + i] = new Object(); asThis['listener' + i].onTypeComplete = function () { _parent.gaugeManager.enemyDamage(10); }; _parent.typingMovieClip['t_pFreeze' + (sCount - i)].addTypeBoxListener(asThis['listener' + i]); _parent.typingMovieClip['t_pFreeze' + (sCount - i)].targ = _parent.typingBulletsManager['pFreeze' + (sCount - i)].danmakuPart; _parent.typingMovieClip['t_pFreeze' + (sCount - i)].onEnterFrameWithBullets = function () { this.locBounds = this.targ.boxLocation.getBounds(this._parent); this._x = (this.locBounds.xMax + this.locBounds.xMin) / 2; this._y = (this.locBounds.yMax + this.locBounds.yMin) / 2; }; ++i; } } frame 79 { this.stop(); } frame 80 { _parent.typingMovieClip.removeTypingListener(tListener); _parent.removeGameListener(gListener); } frame 81 { this.gotoAndPlay('spell1'); } frame 107 { _parent.play(); } frame 178 { this.gotoAndPlay('firstFrame'); } } movieClip 1983 { frame 1 { function addGameListener(obj) { gameListenerList.push(obj); } function removeGameListener(obj) { i = 0; while (i < gameListenerList.length) { if (gameListenerList[i] == obj) { gameListenerList = (gameListenerList.slice(0, i)).concat(gameListenerList.slice(i + 1)); } ++i; } } function removeAllGameListener() { gameListenerList = new Array(); } function allOnMiss() { i = 0; while (i < gameListenerList.length) { gameListenerList[i].onMiss(); ++i; } } function allOnRecovery() { trace('Recovery'); playerStatus = 0; i = 0; while (i < gameListenerList.length) { gameListenerList[i].onRecovery(); ++i; } } function allOnBomb() { i = 0; while (i < gameListenerList.length) { gameListenerList[i].onBomb(); ++i; } } function allOnGameOver() { i = 0; while (i < gameListenerList.length) { gameListenerList[i].onGameOver(); ++i; } } function playerMiss() { playerStatus = 1; fCount = 0; this.onEnterFrame = function () { if (playerStatus == 1) { ++fCount; if (fCount == 1) { seSound.attachSound('miss01'); seSound.start(0, 1); } if (fCount == 4) { player.miss(); typingMovieClip.deleteAll(); typingBulletsManager.deleteAllBullets(1); gaugeManager.spellFailure(); gaugeManager.resetPowerAndPoint(); if (_parent.outerFrame.getPlayerCount() <= 0) { gameOver(); } else { _parent.outerFrame.playerDegree(-1); _parent.outerFrame.setPlayerCounter(_parent.outerFrame.getPlayerCount(), 3); } allOnMiss(); } if (fCount > 4) { typingMovieClip.deleteAll(); typingBulletsManager.deleteAllBullets(1); } } else { this.onEnterFrame = undefined; } }; } function playerBomb() { if (_parent.outerFrame.getBombCount() > 0) { playerStatus = 2; player.bomb(); playerShot.useBomb(); typingMovieClip.deleteAll(); typingBulletsManager.deleteAllBullets(2); gaugeManager.spellFailure(); _parent.outerFrame.bombDegree(-1); fCount = 0; this.onEnterFrame = function () { if (playerStatus == 2) { ++fCount; if (fCount % 10 == 0) { typingMovieClip.deleteAll(); typingBulletsManager.deleteAllBullets(2); } } else { this.onEnterFrame = undefined; } }; } allOnBomb(); } function startGame() { playerStatus = 0; } function stopGame() { playerStatus = 4; } function gameOver() { _parent.outerFrame.escapeGame(); _parent.gotoAndPlay('gameover'); } asThis = this; KeyL_anyKeyToPlay = new Object(); KeyL_anyKeyToPlay.onKeyDown = function () { asThis.play(); Key.removeListener(KeyL_anyKeyToPlay); }; this.onUnload = function () { Key.removeListener(KeyL_anyKeyToPlay); }; typingMovieClip._visible = false; player._visible = false; enemy._visible = false; backBullets._visible = false; spellBack._visible = false; bgmSound = new Sound(_parent); bgmSound.stop(); bgmSound.attachSound('cinderella'); bgmSound.start(0, 10); seSound = new Sound(this); seSound.stop(); playerStatus = 4; fCount = 0; var gameListenerList = new Array(); } frame 12 { this.stop(); Key.addListener(KeyL_anyKeyToPlay); } frame 13 { typingMovieClip._visible = true; player._visible = true; enemy._visible = true; backBullets._visible = true; spellBack._visible = true; var wordList_tei01 = new TypingWordList(); wordList_tei01.initRule(_parent.tRule); wordList_tei01.addWordSetDefault(TypingWordList.TEI_01A); wordList_tei02 = new TypingWordList(); wordList_tei02.initRule(_parent.tRule); wordList_tei02.addWordSetDefault(TypingWordList.TEI_02A); wordList_tei03 = new TypingWordList(); wordList_tei03.initRule(_parent.tRule); wordList_tei03.addWordSetDefault(TypingWordList.TEI_03A); wordList_tei04 = new TypingWordList(); wordList_tei04.initRule(_parent.tRule); wordList_tei04.addWordSetDefault(TypingWordList.TEI_03B); wordList_tei05 = new TypingWordList(); wordList_tei05.initRule(_parent.tRule); wordList_tei05.addWordSetDefault(TypingWordList.TEI_04A); } frame 47 { enemy.gotoAndStop(2); } frame 50 { this.stop(); Key.addListener(KeyL_anyKeyToPlay); } frame 51 { enemy.gotoAndStop(1); } frame 59 { player.gotoAndStop(4); } frame 62 { this.stop(); Key.addListener(KeyL_anyKeyToPlay); } frame 71 { enemy.gotoAndStop(3); } frame 74 { this.stop(); Key.addListener(KeyL_anyKeyToPlay); } frame 83 { player.gotoAndStop(2); } frame 86 { this.stop(); Key.addListener(KeyL_anyKeyToPlay); } frame 93 { enemy.gotoAndStop(4); } frame 96 { this.stop(); Key.addListener(KeyL_anyKeyToPlay); } frame 102 { player.gotoAndStop(4); } frame 105 { this.stop(); Key.addListener(KeyL_anyKeyToPlay); } frame 106 { player.gotoAndStop(1); enemy.gotoAndStop(1); } frame 120 { startGame(); gaugeManager.setSpellCardTotal(3); } frame 121 { this.stop(); } frame 133 { this.stop(); } frame 146 { this.stop(); } frame 147 { seSound.attachSound('se_enemyDefeat01'); seSound.start(0, 1); gaugeManager.endInit(); enemy.gotoAndStop(7); } frame 185 { player.gotoAndStop(2); } frame 189 { this.stop(); Key.addListener(KeyL_anyKeyToPlay); } frame 199 { this.stop(); Key.addListener(KeyL_anyKeyToPlay); } frame 217 { this.stop(); _parent.prePointRate = gaugeManager.pointRate_value; _parent.gotoAndPlay('reimu_stage03'); } } frame 152 { this.stop(); } movieClip 2005 { } movieClip 2007 { } movieClip 2009 { } movieClip 2011 { } movieClip 2014 { frame 69 { this.gotoAndPlay('loopFrame'); } } movieClip 2032 { frame 26 { _parent.gotoAndStop(7); } } movieClip 2033 { frame 35 { this.gotoAndPlay('loopFrame'); } } movieClip 2034 { } movieClip 2036 { frame 30 { this.stop(); } } movieClip 2037 { frame 1 { this.stop(); } instance of movieClip 2005 { onClipEvent (load) { this.cacheAsBitmap = true; } } instance of movieClip 2007 { onClipEvent (load) { this.cacheAsBitmap = true; } } instance of movieClip 2009 { onClipEvent (load) { this.cacheAsBitmap = true; } } instance of movieClip 2011 { onClipEvent (load) { this.cacheAsBitmap = true; } } instance of movieClip 2014 { onClipEvent (load) { this.cacheAsBitmap = true; } } instance of movieClip 2032 { onClipEvent (load) { this.cacheAsBitmap = true; } } instance of movieClip 2033 { onClipEvent (load) { this.cacheAsBitmap = true; } } instance of movieClip 2034 { onClipEvent (load) { this.cacheAsBitmap = true; } } instance of movieClip 2036 { onClipEvent (load) { this.cacheAsBitmap = true; } } } movieClip 2038 { } movieClip 2041 { } movieClip 2044 { frame 110 { this.stop(); } } movieClip 2057 { frame 1 { sCount = 0; asThis = this; _parent.gaugeManager.setSpellCard(150, 30, 100, 50, 0, 0); _parent.gaugeManager.setSpellCardStatus('keine01', 850000, 'keine', false); _parent.gaugeManager.showEnemyStatus('keine'); spellListener = new Object(); spellListener.onLifeOver = function () { asThis.gotoAndPlay('spell1'); _parent.spellBack.gotoAndStop('keine'); _parent.typingMovieClip.deleteAll(); _parent.typingBulletsManager.deleteAllBullets(1); }; spellListener.onSpellBreak = function () { asThis.gotoAndPlay('spellEnd'); _parent.spellBack.gotoAndStop('none'); _parent.typingMovieClip.deleteAll(); _parent.typingBulletsManager.deleteAllBullets(1); }; _parent.gaugeManager.addGaugeListener(spellListener); } frame 2 { asThis = this; _parent.enemy.gotoAndStop(5); tListener = new Object(); tListener.onAllTypingComplete = function () { asThis.gotoAndPlay('allComplete1'); }; _parent.typingMovieClip.addTypingListener(tListener); gListener = new Object(); gListener.onRecovery = function () { asThis.gotoAndPlay('allComplete1'); }; _parent.addGameListener(gListener); } frame 8 { ++sCount; _parent.typingMovieClip.createTypeBox03('t_keine_normal' + sCount, 10000 - sCount, _parent.wordList_keine01, 35, 270); _parent.typingBulletsManager.setBulletsWithTyping('keine01a', 'keine_normal' + sCount, 5000 - sCount, _parent.typingMovieClip['t_keine_normal' + sCount]); listener1 = new Object(); listener1.onTypeComplete = function () { _parent.gaugeManager.enemyDamage(10); }; _parent.typingMovieClip['t_keine_normal' + sCount].addTypeBoxListener(listener1); _parent.typingMovieClip['t_keine_normal' + sCount].targ = _parent.typingBulletsManager['keine_normal' + sCount].danmakuPart; _parent.typingMovieClip['t_keine_normal' + sCount].onEnterFrameWithBullets = function () { this.locBounds = this.targ.boxLocation.getBounds(this._parent); this._x = (this.locBounds.xMax + this.locBounds.xMin) / 2; this._y = (this.locBounds.yMax + this.locBounds.yMin) / 2; }; ++sCount; _parent.typingMovieClip.createTypeBox03('t_keine_normal' + sCount, 10000 - sCount, _parent.wordList_keine01, 35, 270); _parent.typingBulletsManager.setBulletsWithTyping('keine01b', 'keine_normal' + sCount, 5000 - sCount, _parent.typingMovieClip['t_keine_normal' + sCount]); listener1 = new Object(); listener1.onTypeComplete = function () { _parent.gaugeManager.enemyDamage(10); }; _parent.typingMovieClip['t_keine_normal' + sCount].addTypeBoxListener(listener1); _parent.typingMovieClip['t_keine_normal' + sCount].targ = _parent.typingBulletsManager['keine_normal' + sCount].danmakuPart; _parent.typingMovieClip['t_keine_normal' + sCount].onEnterFrameWithBullets = function () { this.locBounds = this.targ.boxLocation.getBounds(this._parent); this._x = (this.locBounds.xMax + this.locBounds.xMin) / 2; this._y = (this.locBounds.yMax + this.locBounds.yMin) / 2; }; ++sCount; _parent.typingMovieClip.createTypeBox03('t_keine_normal' + sCount, 10000 - sCount, _parent.wordList_keine01, 35, 230); _parent.typingBulletsManager.setBulletsWithTyping('keine01c', 'keine_normal' + sCount, 5000 - sCount, _parent.typingMovieClip['t_keine_normal' + sCount]); listener1 = new Object(); listener1.onTypeComplete = function () { _parent.gaugeManager.enemyDamage(10); }; _parent.typingMovieClip['t_keine_normal' + sCount].addTypeBoxListener(listener1); _parent.typingMovieClip['t_keine_normal' + sCount].targ = _parent.typingBulletsManager['keine_normal' + sCount].danmakuPart; _parent.typingMovieClip['t_keine_normal' + sCount].onEnterFrameWithBullets = function () { this.locBounds = this.targ.boxLocation.getBounds(this._parent); this._x = (this.locBounds.xMax + this.locBounds.xMin) / 2; this._y = (this.locBounds.yMax + this.locBounds.yMin) / 2; }; ++sCount; _parent.typingMovieClip.createTypeBox03('t_keine_normal' + sCount, 10000 - sCount, _parent.wordList_keine01, 35, 230); _parent.typingBulletsManager.setBulletsWithTyping('keine01d', 'keine_normal' + sCount, 5000 - sCount, _parent.typingMovieClip['t_keine_normal' + sCount]); listener1 = new Object(); listener1.onTypeComplete = function () { _parent.gaugeManager.enemyDamage(10); }; _parent.typingMovieClip['t_keine_normal' + sCount].addTypeBoxListener(listener1); _parent.typingMovieClip['t_keine_normal' + sCount].targ = _parent.typingBulletsManager['keine_normal' + sCount].danmakuPart; _parent.typingMovieClip['t_keine_normal' + sCount].onEnterFrameWithBullets = function () { this.locBounds = this.targ.boxLocation.getBounds(this._parent); this._x = (this.locBounds.xMax + this.locBounds.xMin) / 2; this._y = (this.locBounds.yMax + this.locBounds.yMin) / 2; }; } frame 14 { this.stop(); } frame 15 { _parent.typingMovieClip.removeTypingListener(tListener); _parent.removeGameListener(gListener); _parent.enemy.gotoAndStop(1); } frame 16 { this.gotoAndPlay('firstFrame'); } frame 30 { _parent.enemy.gotoAndStop(5); tListener = new Object(); tListener.onAllTypingComplete = function () { asThis.gotoAndPlay('allComplete2'); }; _parent.typingMovieClip.addTypingListener(tListener); gListener = new Object(); gListener.onRecovery = function () { asThis.gotoAndPlay('allComplete2'); }; _parent.addGameListener(gListener); } frame 31 { ++sCount; _parent.typingMovieClip.createTypeBox03('t_masakado' + sCount, 10000 - sCount, _parent.wordList_keine02, 35, 295); _parent.typingBulletsManager.setBulletsWithTyping('keine02a', 'masakado' + sCount, 5000 - sCount, _parent.typingMovieClip['t_masakado' + sCount]); listener1 = new Object(); listener1.onTypeComplete = function () { _parent.gaugeManager.enemyDamage(10); }; _parent.typingMovieClip['t_masakado' + sCount].addTypeBoxListener(listener1); _parent.typingMovieClip['t_masakado' + sCount].targ = _parent.typingBulletsManager['masakado' + sCount].danmakuPart; _parent.typingMovieClip['t_masakado' + sCount].onEnterFrameWithBullets = function () { this.locBounds = this.targ.boxLocation.getBounds(this._parent); this._x = (this.locBounds.xMax + this.locBounds.xMin) / 2; this._y = (this.locBounds.yMax + this.locBounds.yMin) / 2; }; } frame 60 { this.stop(); } frame 73 { _parent.typingMovieClip.removeTypingListener(tListener); _parent.removeGameListener(gListener); _parent.enemy.gotoAndStop(1); } frame 74 { this.gotoAndPlay('spell1'); } frame 99 { _parent.play(); } frame 165 { this.gotoAndPlay('firstFrame'); } } movieClip 2058 { frame 1 { sCount = 0; asThis = this; _parent.gaugeManager.setSpellCard(150, 30, 150, 50, 0, 0); _parent.gaugeManager.setSpellCardStatus('keine02', 850000, 'keine', false); _parent.gaugeManager.showEnemyStatus('keine'); spellListener = new Object(); spellListener.onLifeOver = function () { asThis.gotoAndPlay('spell1'); _parent.spellBack.gotoAndStop('keine'); _parent.typingMovieClip.deleteAll(); _parent.typingBulletsManager.deleteAllBullets(1); }; spellListener.onSpellBreak = function () { asThis.gotoAndPlay('spellEnd'); _parent.spellBack.gotoAndStop('none'); _parent.typingMovieClip.deleteAll(); _parent.typingBulletsManager.deleteAllBullets(1); }; _parent.gaugeManager.addGaugeListener(spellListener); } frame 2 { asThis = this; _parent.enemy.gotoAndStop(5); tListener = new Object(); tListener.onAllTypingComplete = function () { asThis.gotoAndPlay('allComplete1'); }; _parent.typingMovieClip.addTypingListener(tListener); gListener = new Object(); gListener.onRecovery = function () { asThis.gotoAndPlay('allComplete1'); }; _parent.addGameListener(gListener); } frame 8 { ++sCount; _parent.typingMovieClip.createTypeBox03('t_keine_normal' + sCount, 10000 - sCount, _parent.wordList_keine01, 35, 270); _parent.typingBulletsManager.setBulletsWithTyping('keine01a', 'keine_normal' + sCount, 5000 - sCount, _parent.typingMovieClip['t_keine_normal' + sCount]); listener1 = new Object(); listener1.onTypeComplete = function () { _parent.gaugeManager.enemyDamage(10); }; _parent.typingMovieClip['t_keine_normal' + sCount].addTypeBoxListener(listener1); _parent.typingMovieClip['t_keine_normal' + sCount].targ = _parent.typingBulletsManager['keine_normal' + sCount].danmakuPart; _parent.typingMovieClip['t_keine_normal' + sCount].onEnterFrameWithBullets = function () { this.locBounds = this.targ.boxLocation.getBounds(this._parent); this._x = (this.locBounds.xMax + this.locBounds.xMin) / 2; this._y = (this.locBounds.yMax + this.locBounds.yMin) / 2; }; ++sCount; _parent.typingMovieClip.createTypeBox03('t_keine_normal' + sCount, 10000 - sCount, _parent.wordList_keine01, 35, 270); _parent.typingBulletsManager.setBulletsWithTyping('keine01b', 'keine_normal' + sCount, 5000 - sCount, _parent.typingMovieClip['t_keine_normal' + sCount]); listener1 = new Object(); listener1.onTypeComplete = function () { _parent.gaugeManager.enemyDamage(10); }; _parent.typingMovieClip['t_keine_normal' + sCount].addTypeBoxListener(listener1); _parent.typingMovieClip['t_keine_normal' + sCount].targ = _parent.typingBulletsManager['keine_normal' + sCount].danmakuPart; _parent.typingMovieClip['t_keine_normal' + sCount].onEnterFrameWithBullets = function () { this.locBounds = this.targ.boxLocation.getBounds(this._parent); this._x = (this.locBounds.xMax + this.locBounds.xMin) / 2; this._y = (this.locBounds.yMax + this.locBounds.yMin) / 2; }; ++sCount; _parent.typingMovieClip.createTypeBox03('t_keine_normal' + sCount, 10000 - sCount, _parent.wordList_keine01, 35, 230); _parent.typingBulletsManager.setBulletsWithTyping('keine01c', 'keine_normal' + sCount, 5000 - sCount, _parent.typingMovieClip['t_keine_normal' + sCount]); listener1 = new Object(); listener1.onTypeComplete = function () { _parent.gaugeManager.enemyDamage(10); }; _parent.typingMovieClip['t_keine_normal' + sCount].addTypeBoxListener(listener1); _parent.typingMovieClip['t_keine_normal' + sCount].targ = _parent.typingBulletsManager['keine_normal' + sCount].danmakuPart; _parent.typingMovieClip['t_keine_normal' + sCount].onEnterFrameWithBullets = function () { this.locBounds = this.targ.boxLocation.getBounds(this._parent); this._x = (this.locBounds.xMax + this.locBounds.xMin) / 2; this._y = (this.locBounds.yMax + this.locBounds.yMin) / 2; }; ++sCount; _parent.typingMovieClip.createTypeBox03('t_keine_normal' + sCount, 10000 - sCount, _parent.wordList_keine01, 35, 230); _parent.typingBulletsManager.setBulletsWithTyping('keine01d', 'keine_normal' + sCount, 5000 - sCount, _parent.typingMovieClip['t_keine_normal' + sCount]); listener1 = new Object(); listener1.onTypeComplete = function () { _parent.gaugeManager.enemyDamage(10); }; _parent.typingMovieClip['t_keine_normal' + sCount].addTypeBoxListener(listener1); _parent.typingMovieClip['t_keine_normal' + sCount].targ = _parent.typingBulletsManager['keine_normal' + sCount].danmakuPart; _parent.typingMovieClip['t_keine_normal' + sCount].onEnterFrameWithBullets = function () { this.locBounds = this.targ.boxLocation.getBounds(this._parent); this._x = (this.locBounds.xMax + this.locBounds.xMin) / 2; this._y = (this.locBounds.yMax + this.locBounds.yMin) / 2; }; } frame 14 { this.stop(); } frame 15 { _parent.typingMovieClip.removeTypingListener(tListener); _parent.removeGameListener(gListener); _parent.enemy.gotoAndStop(1); } frame 16 { this.gotoAndPlay('firstFrame'); } frame 30 { _parent.enemy.gotoAndStop(5); tListener = new Object(); tListener.onAllTypingComplete = function () { asThis.gotoAndPlay('allComplete2'); }; _parent.typingMovieClip.addTypingListener(tListener); gListener = new Object(); gListener.onRecovery = function () { asThis.gotoAndPlay('allComplete2'); }; _parent.addGameListener(gListener); } frame 31 { ++sCount; _parent.typingMovieClip.createTypeBox03('t_jingi' + sCount, 10000 - sCount, _parent.wordList_keine03, 35, 315); _parent.typingBulletsManager.setBulletsWithTyping('keine03a', 'jingi' + sCount, 5000 - sCount, _parent.typingMovieClip['t_jingi' + sCount]); listener1 = new Object(); listener1.onTypeComplete = function () { _parent.gaugeManager.enemyDamage(10); }; _parent.typingMovieClip['t_jingi' + sCount].addTypeBoxListener(listener1); _parent.typingMovieClip['t_jingi' + sCount].targ = _parent.typingBulletsManager['jingi' + sCount].danmakuPart; _parent.typingMovieClip['t_jingi' + sCount].onEnterFrameWithBullets = function () { this.locBounds = this.targ.boxLocation.getBounds(this._parent); this._x = (this.locBounds.xMax + this.locBounds.xMin) / 2; this._y = (this.locBounds.yMax + this.locBounds.yMin) / 2; }; } frame 32 { ++sCount; _parent.typingMovieClip.createTypeBox03('t_jingi' + sCount, 10000 - sCount, _parent.wordList_keine03, 35, 315); _parent.typingBulletsManager.setBulletsWithTyping('keine03b', 'jingi' + sCount, 5000 - sCount, _parent.typingMovieClip['t_jingi' + sCount]); listener1 = new Object(); listener1.onTypeComplete = function () { _parent.gaugeManager.enemyDamage(10); }; _parent.typingMovieClip['t_jingi' + sCount].addTypeBoxListener(listener1); _parent.typingMovieClip['t_jingi' + sCount].targ = _parent.typingBulletsManager['jingi' + sCount].danmakuPart; _parent.typingMovieClip['t_jingi' + sCount].onEnterFrameWithBullets = function () { this.locBounds = this.targ.boxLocation.getBounds(this._parent); this._x = (this.locBounds.xMax + this.locBounds.xMin) / 2; this._y = (this.locBounds.yMax + this.locBounds.yMin) / 2; }; } frame 60 { this.stop(); } frame 73 { _parent.typingMovieClip.removeTypingListener(tListener); _parent.removeGameListener(gListener); _parent.enemy.gotoAndStop(1); } frame 74 { this.gotoAndPlay('spell1'); } frame 99 { _parent.play(); } frame 165 { this.gotoAndPlay('firstFrame'); } } movieClip 2059 { frame 1 { sCount = 0; asThis = this; _parent.gaugeManager.setSpellCard(0, 0, 150, 50, 150, 60); _parent.gaugeManager.setSpellCardStatus('keine03', 850000, 'keine', false); _parent.gaugeManager.setLastSpellStatus('keine04', 1000000, 'kimokeine', false); _parent.gaugeManager.showEnemyStatus('keine'); spellListener = new Object(); _parent.spellBack.gotoAndStop('keine'); spellListener.onSpellBreak = function () { asThis.gotoAndPlay('spellEnd'); _parent.spellBack.gotoAndStop('keine'); _parent.typingMovieClip.deleteAll(); _parent.typingBulletsManager.deleteAllBullets(1); }; spellListener.onLastBreak = function () { asThis.gotoAndPlay('lastSpellEnd'); _parent.spellBack.gotoAndStop('none'); _parent.typingMovieClip.deleteAll(); _parent.typingBulletsManager.deleteAllBullets(1); }; _parent.gaugeManager.addGaugeListener(spellListener); } frame 5 { _parent.enemy.gotoAndStop(5); tListener = new Object(); tListener.onAllTypingComplete = function () { asThis.gotoAndPlay('allComplete1'); }; _parent.typingMovieClip.addTypingListener(tListener); gListener = new Object(); gListener.onRecovery = function () { asThis.gotoAndPlay('allComplete1'); }; _parent.addGameListener(gListener); } frame 6 { ++sCount; _parent.typingMovieClip.createTypeBox03('t_densetsu' + sCount, 10000 - sCount, _parent.wordList_keine06, 0, 210); _parent.typingBulletsManager.setBulletsWithTyping('keine04a', 'densetsu' + sCount, 5000 - sCount, _parent.typingMovieClip['t_densetsu' + sCount]); listener1 = new Object(); listener1.onTypeComplete = function () { _parent.gaugeManager.enemyDamage(10); }; _parent.typingMovieClip['t_densetsu' + sCount].addTypeBoxListener(listener1); _parent.typingMovieClip['t_densetsu' + sCount].targ = _parent.typingBulletsManager['densetsu' + sCount].danmakuPart; _parent.typingMovieClip['t_densetsu' + sCount].onEnterFrameWithBullets = function () { this.locBounds = this.targ.boxLocation.getBounds(this._parent); this._x = (this.locBounds.xMax + this.locBounds.xMin) / 2; this._y = (this.locBounds.yMax + this.locBounds.yMin) / 2; }; } frame 35 { this.stop(); } frame 48 { _parent.typingMovieClip.removeTypingListener(tListener); _parent.removeGameListener(gListener); _parent.enemy.gotoAndStop(1); } frame 49 { this.gotoAndPlay('spell1'); } frame 99 { _parent.enemy.gotoAndStop(1); } frame 111 { _parent.enemy.gotoAndStop(6); } frame 137 { _parent.enemy.gotoAndStop(7); tListener = new Object(); tListener.onAllTypingComplete = function () { asThis.gotoAndPlay('allComplete2'); }; _parent.typingMovieClip.addTypingListener(tListener); gListener = new Object(); gListener.onRecovery = function () { asThis.gotoAndPlay('allComplete2'); }; _parent.addGameListener(gListener); } frame 138 { this.stop(); ++sCount; _parent.typingMovieClip.createTypeBox03('t_next' + sCount, 10000 - sCount, _parent.wordList_keine05, 35, 265); _parent.typingBulletsManager.setBulletsWithTyping('keine05a', 'next' + sCount, 5000 - sCount, _parent.typingMovieClip['t_next' + sCount]); listener1 = new Object(); listener1.onTypeComplete = function () { _parent.gaugeManager.enemyDamage(10); }; _parent.typingMovieClip['t_next' + sCount].addTypeBoxListener(listener1); _parent.typingMovieClip['t_next' + sCount].targ = _parent.typingBulletsManager['next' + sCount].danmakuPart; _parent.typingMovieClip['t_next' + sCount].onEnterFrameWithBullets = function () { this.locBounds = this.targ.boxLocation.getBounds(this._parent); this._x = (this.locBounds.xMax + this.locBounds.xMin) / 2; this._y = (this.locBounds.yMax + this.locBounds.yMin) / 2; }; } frame 213 { i = 0; while (i < 3) { _parent.typingMovieClip.createTypeBox03('t_pFreeze' + (sCount - i), 10000 - (sCount - i), _parent.wordList_cirno03, 100, 350); _parent.typingBulletsManager.attatchTyping('pFreeze' + (sCount - i), _parent.typingMovieClip['t_pFreeze' + (sCount - i)]); asThis['listener' + i] = new Object(); asThis['listener' + i].onTypeComplete = function () { _parent.gaugeManager.enemyDamage(10); }; _parent.typingMovieClip['t_pFreeze' + (sCount - i)].addTypeBoxListener(asThis['listener' + i]); _parent.typingMovieClip['t_pFreeze' + (sCount - i)].targ = _parent.typingBulletsManager['pFreeze' + (sCount - i)].danmakuPart; _parent.typingMovieClip['t_pFreeze' + (sCount - i)].onEnterFrameWithBullets = function () { this.locBounds = this.targ.boxLocation.getBounds(this._parent); this._x = (this.locBounds.xMax + this.locBounds.xMin) / 2; this._y = (this.locBounds.yMax + this.locBounds.yMin) / 2; }; ++i; } } frame 214 { this.stop(); } frame 215 { _parent.typingMovieClip.removeTypingListener(tListener); _parent.removeGameListener(gListener); _parent.enemy.gotoAndStop(8); } frame 216 { this.gotoAndPlay('spell2'); } frame 242 { _parent.play(); } frame 313 { this.gotoAndPlay('firstFrame'); } } movieClip 2063 { frame 1 { function addGameListener(obj) { gameListenerList.push(obj); } function removeGameListener(obj) { i = 0; while (i < gameListenerList.length) { if (gameListenerList[i] == obj) { gameListenerList = (gameListenerList.slice(0, i)).concat(gameListenerList.slice(i + 1)); } ++i; } } function removeAllGameListener() { gameListenerList = new Array(); } function allOnMiss() { i = 0; while (i < gameListenerList.length) { gameListenerList[i].onMiss(); ++i; } } function allOnRecovery() { trace('Recovery'); playerStatus = 0; i = 0; while (i < gameListenerList.length) { gameListenerList[i].onRecovery(); ++i; } } function allOnBomb() { i = 0; while (i < gameListenerList.length) { gameListenerList[i].onBomb(); ++i; } } function allOnGameOver() { i = 0; while (i < gameListenerList.length) { gameListenerList[i].onGameOver(); ++i; } } function playerMiss() { playerStatus = 1; fCount = 0; this.onEnterFrame = function () { if (playerStatus == 1) { ++fCount; if (fCount == 1) { seSound.attachSound('miss01'); seSound.start(0, 1); } if (fCount == 4) { player.miss(); typingMovieClip.deleteAll(); typingBulletsManager.deleteAllBullets(1); gaugeManager.spellFailure(); gaugeManager.resetPowerAndPoint(); if (_parent.outerFrame.getPlayerCount() <= 0) { gameOver(); } else { _parent.outerFrame.playerDegree(-1); _parent.outerFrame.setPlayerCounter(_parent.outerFrame.getPlayerCount(), 3); } allOnMiss(); } if (fCount > 4) { typingMovieClip.deleteAll(); typingBulletsManager.deleteAllBullets(1); } } else { this.onEnterFrame = undefined; } }; } function playerBomb() { if (_parent.outerFrame.getBombCount() > 0) { playerStatus = 2; player.bomb(); playerShot.useBomb(); typingMovieClip.deleteAll(); typingBulletsManager.deleteAllBullets(2); gaugeManager.spellFailure(); _parent.outerFrame.bombDegree(-1); fCount = 0; this.onEnterFrame = function () { if (playerStatus == 2) { ++fCount; if (fCount % 10 == 0) { typingMovieClip.deleteAll(); typingBulletsManager.deleteAllBullets(2); } } else { this.onEnterFrame = undefined; } }; } allOnBomb(); } function startGame() { playerStatus = 0; } function stopGame() { playerStatus = 4; } function gameOver() { _parent.outerFrame.escapeGame(); _parent.gotoAndPlay('gameover'); } asThis = this; KeyL_anyKeyToPlay = new Object(); KeyL_anyKeyToPlay.onKeyDown = function () { asThis.play(); Key.removeListener(KeyL_anyKeyToPlay); }; this.onUnload = function () { Key.removeListener(KeyL_anyKeyToPlay); }; typingMovieClip._visible = false; player._visible = false; enemy._visible = false; backBullets._visible = false; spellBack._visible = false; bgmSound = new Sound(_parent); bgmSound.stop(); bgmSound.attachSound('asia'); bgmSound.start(0, 10); seSound = new Sound(this); seSound.stop(); playerStatus = 4; fCount = 0; var gameListenerList = new Array(); } frame 12 { this.stop(); Key.addListener(KeyL_anyKeyToPlay); } frame 13 { typingMovieClip._visible = true; player._visible = true; enemy._visible = true; backBullets._visible = true; spellBack._visible = true; var wordList_keine01 = new TypingWordList(); wordList_keine01.initRule(_parent.tRule); wordList_keine01.addWordSetDefault(TypingWordList.KEINE_01A); var wordList_keine02 = new TypingWordList(); wordList_keine02.initRule(_parent.tRule); wordList_keine02.addWordSetDefault(TypingWordList.KEINE_02A); var wordList_keine03 = new TypingWordList(); wordList_keine03.initRule(_parent.tRule); wordList_keine03.addWordSetDefault(TypingWordList.KEINE_03A); var wordList_keine05 = new TypingWordList(); wordList_keine05.initRule(_parent.tRule); wordList_keine05.addWordSetDefault(TypingWordList.KEINE_05A); var wordList_keine06 = new TypingWordList(); wordList_keine06.initRule(_parent.tRule); wordList_keine06.addWordSetDefault(TypingWordList.KEINE_06A); } frame 47 { enemy.gotoAndStop(2); } frame 50 { this.stop(); Key.addListener(KeyL_anyKeyToPlay); } frame 51 { enemy.gotoAndStop(1); } frame 59 { player.gotoAndStop(2); } frame 62 { this.stop(); Key.addListener(KeyL_anyKeyToPlay); } frame 63 { player.gotoAndStop(1); } frame 70 { this.stop(); Key.addListener(KeyL_anyKeyToPlay); } frame 77 { enemy.gotoAndStop(4); } frame 80 { this.stop(); Key.addListener(KeyL_anyKeyToPlay); } frame 89 { player.gotoAndStop(3); } frame 92 { this.stop(); Key.addListener(KeyL_anyKeyToPlay); } frame 99 { enemy.gotoAndStop(4); } frame 102 { this.stop(); Key.addListener(KeyL_anyKeyToPlay); } frame 107 { enemy.gotoAndStop(3); } frame 109 { this.stop(); Key.addListener(KeyL_anyKeyToPlay); } frame 114 { player.gotoAndStop(4); } frame 117 { this.stop(); Key.addListener(KeyL_anyKeyToPlay); } frame 118 { player.gotoAndStop(1); enemy.gotoAndStop(1); } frame 132 { startGame(); gaugeManager.setSpellCardTotal(3); } frame 133 { this.stop(); } frame 134 { enemy.gotoAndStop(1); } frame 145 { this.stop(); } frame 146 { enemy.gotoAndStop(1); } frame 180 { this.stop(); } frame 181 { seSound.attachSound('se_enemyDefeat01'); seSound.start(0, 1); gaugeManager.endInit(); enemy.gotoAndStop(9); playerStatus = 4; } frame 222 { this.stop(); Key.addListener(KeyL_anyKeyToPlay); } frame 229 { player.gotoAndStop(3); } frame 232 { this.stop(); Key.addListener(KeyL_anyKeyToPlay); } frame 251 { this.stop(); _parent.prePointRate = gaugeManager.pointRate_value; _parent.gotoAndPlay('reimu_stage04'); } } frame 164 { this.stop(); } movieClip 2089 { } movieClip 2093 { } movieClip 2095 { } movieClip 2097 { frame 33 { _parent.gotoAndStop(1); } } movieClip 2099 { frame 19 { this.gotoAndPlay('loop'); } } movieClip 2100 { frame 1 { this.stop(); } instance of movieClip 2089 { onClipEvent (load) { this.cacheAsBitmap = true; } } instance of movieClip 2093 { onClipEvent (load) { this.cacheAsBitmap = true; } } instance of movieClip 2095 { onClipEvent (load) { this.cacheAsBitmap = true; } } instance of movieClip 2097 { onClipEvent (load) { this.cacheAsBitmap = true; } } instance of movieClip 2099 { onClipEvent (load) { this.cacheAsBitmap = true; } } instance of movieClip 2089 { onClipEvent (load) { this.cacheAsBitmap = true; } } } movieClip 2101 { frame 1 { sCount = 0; asThis = this; } frame 2 { tListener = new Object(); tListener.onAllTypingComplete = function () { asThis.gotoAndPlay('allComplete1'); }; _parent.typingMovieClip.addTypingListener(tListener); gListener = new Object(); gListener.onRecovery = function () { asThis.gotoAndPlay('allComplete1'); }; _parent.addGameListener(gListener); } frame 11 { ++sCount; _parent.typingMovieClip.createTypeBox03('t_mystia00' + sCount, 10000 - sCount, _parent.wordList_mystia00, 0, 120); _parent.typingBulletsManager.setBulletsWithTyping('mystia00a', 'mystia00' + sCount, 5000 - sCount, _parent.typingMovieClip['t_mystia00' + sCount]); listener1 = new Object(); listener1.onTypeComplete = function () { _parent.gaugeManager.enemyDamage(10); }; _parent.typingMovieClip['t_mystia00' + sCount].addTypeBoxListener(listener1); _parent.typingMovieClip['t_mystia00' + sCount].targ = _parent.typingBulletsManager['mystia00' + sCount].danmakuPart; _parent.typingMovieClip['t_mystia00' + sCount].onEnterFrameWithBullets = function () { this.locBounds = this.targ.boxLocation.getBounds(this._parent); this._x = (this.locBounds.xMax + this.locBounds.xMin) / 2; this._y = (this.locBounds.yMax + this.locBounds.yMin) / 2; }; } frame 26 { ++sCount; _parent.typingMovieClip.createTypeBox03('t_mystia00' + sCount, 10000 - sCount, _parent.wordList_mystia00, 0, 120); _parent.typingBulletsManager.setBulletsWithTyping('mystia00b', 'mystia00' + sCount, 5000 - sCount, _parent.typingMovieClip['t_mystia00' + sCount]); listener1 = new Object(); listener1.onTypeComplete = function () { _parent.gaugeManager.enemyDamage(10); }; _parent.typingMovieClip['t_mystia00' + sCount].addTypeBoxListener(listener1); _parent.typingMovieClip['t_mystia00' + sCount].targ = _parent.typingBulletsManager['mystia00' + sCount].danmakuPart; _parent.typingMovieClip['t_mystia00' + sCount].onEnterFrameWithBullets = function () { this.locBounds = this.targ.boxLocation.getBounds(this._parent); this._x = (this.locBounds.xMax + this.locBounds.xMin) / 2; this._y = (this.locBounds.yMax + this.locBounds.yMin) / 2; }; } frame 36 { this.stop(); } frame 37 { _parent.typingMovieClip.removeTypingListener(tListener); _parent.removeGameListener(gListener); } frame 51 { _parent.play(); } } movieClip 2109 { } movieClip 2111 { } movieClip 2114 { frame 146 { this.stop(); } } movieClip 2130 { frame 1 { sCount = 0; asThis = this; _parent.gaugeManager.setSpellCard(150, 30, 150, 60, 0, 0); _parent.gaugeManager.setSpellCardStatus('mystia01', 1200000, 'mystia', false); _parent.gaugeManager.showEnemyStatus('mystia'); spellListener = new Object(); spellListener.onLifeOver = function () { asThis.gotoAndPlay('spell1'); _parent.spellBack.gotoAndStop('mystia'); _parent.typingMovieClip.deleteAll(); _parent.typingBulletsManager.deleteAllBullets(1); }; spellListener.onSpellBreak = function () { asThis.gotoAndPlay('spellEnd'); _parent.spellBack.gotoAndStop('none'); _parent.typingMovieClip.deleteAll(); _parent.typingBulletsManager.deleteAllBullets(1); }; _parent.gaugeManager.addGaugeListener(spellListener); } frame 2 { asThis = this; _parent.enemy.gotoAndStop(4); _parent.typingMovieClip.removeTypingListener(tListener); _parent.removeGameListener(gListener); gListener = new Object(); gListener.onRecovery = function () { asThis.gotoAndPlay('allComplete1'); }; _parent.addGameListener(gListener); } frame 8 { ++sCount; _parent.typingMovieClip.createTypeBox03('t_mystia_normal' + sCount, 10000 - sCount, _parent.wordList_mystia01, 0, 95); _parent.typingBulletsManager.setBulletsWithTyping('mystia01a', 'mystia_normal' + sCount, 5000 - sCount, _parent.typingMovieClip['t_mystia_normal' + sCount]); listener1 = new Object(); listener1.onTypeComplete = function () { _parent.gaugeManager.enemyDamage(10); }; _parent.typingMovieClip['t_mystia_normal' + sCount].addTypeBoxListener(listener1); _parent.typingMovieClip['t_mystia_normal' + sCount].targ = _parent.typingBulletsManager['mystia_normal' + sCount].danmakuPart; _parent.typingMovieClip['t_mystia_normal' + sCount].onEnterFrameWithBullets = function () { this.locBounds = this.targ.boxLocation.getBounds(this._parent); this._x = (this.locBounds.xMax + this.locBounds.xMin) / 2; this._y = (this.locBounds.yMax + this.locBounds.yMin) / 2; }; } frame 21 { tListener = new Object(); tListener.onAllTypingComplete = function () { asThis.gotoAndPlay('allComplete1'); }; _parent.typingMovieClip.addTypingListener(tListener); ++sCount; _parent.typingMovieClip.createTypeBox03('t_mystia_normal' + sCount, 10000 - sCount, _parent.wordList_mystia01, 0, 95); _parent.typingBulletsManager.setBulletsWithTyping('mystia01b', 'mystia_normal' + sCount, 5000 - sCount, _parent.typingMovieClip['t_mystia_normal' + sCount]); listener1 = new Object(); listener1.onTypeComplete = function () { _parent.gaugeManager.enemyDamage(10); }; _parent.typingMovieClip['t_mystia_normal' + sCount].addTypeBoxListener(listener1); _parent.typingMovieClip['t_mystia_normal' + sCount].targ = _parent.typingBulletsManager['mystia_normal' + sCount].danmakuPart; _parent.typingMovieClip['t_mystia_normal' + sCount].onEnterFrameWithBullets = function () { this.locBounds = this.targ.boxLocation.getBounds(this._parent); this._x = (this.locBounds.xMax + this.locBounds.xMin) / 2; this._y = (this.locBounds.yMax + this.locBounds.yMin) / 2; }; } frame 37 { this.stop(); } frame 38 { _parent.typingMovieClip.removeTypingListener(tListener); _parent.removeGameListener(gListener); _parent.enemy.gotoAndStop(1); } frame 39 { this.gotoAndPlay('firstFrame'); } frame 53 { _parent.enemy.gotoAndStop(5); _parent.typingMovieClip.removeTypingListener(tListener); _parent.removeGameListener(gListener); gListener = new Object(); gListener.onRecovery = function () { asThis.gotoAndPlay('allComplete2'); }; _parent.addGameListener(gListener); } frame 54 { ++sCount; _parent.typingMovieClip.createTypeBox03('t_houkou' + sCount, 10000 - sCount, _parent.wordList_mystia02, 60, 110); _parent.typingBulletsManager.setBulletsWithTyping('mystia02a', 'houkou' + sCount, 5000 - sCount, _parent.typingMovieClip['t_houkou' + sCount]); listener1 = new Object(); listener1.onTypeComplete = function () { _parent.gaugeManager.enemyDamage(10); }; _parent.typingMovieClip['t_houkou' + sCount].addTypeBoxListener(listener1); _parent.typingMovieClip['t_houkou' + sCount].targ = _parent.typingBulletsManager['houkou' + sCount].danmakuPart; _parent.typingMovieClip['t_houkou' + sCount].onEnterFrameWithBullets = function () { this.locBounds = this.targ.boxLocation.getBounds(this._parent); this._x = (this.locBounds.xMax + this.locBounds.xMin) / 2; this._y = (this.locBounds.yMax + this.locBounds.yMin) / 2; }; } frame 84 { tListener = new Object(); tListener.onAllTypingComplete = function () { asThis.gotoAndPlay('allComplete2'); }; _parent.typingMovieClip.addTypingListener(tListener); ++sCount; _parent.typingMovieClip.createTypeBox03('t_houkou' + sCount, 10000 - sCount, _parent.wordList_mystia02, 60, 110); _parent.typingBulletsManager.setBulletsWithTyping('mystia02b', 'houkou' + sCount, 5000 - sCount, _parent.typingMovieClip['t_houkou' + sCount]); listener1 = new Object(); listener1.onTypeComplete = function () { _parent.gaugeManager.enemyDamage(10); }; _parent.typingMovieClip['t_houkou' + sCount].addTypeBoxListener(listener1); _parent.typingMovieClip['t_houkou' + sCount].targ = _parent.typingBulletsManager['houkou' + sCount].danmakuPart; _parent.typingMovieClip['t_houkou' + sCount].onEnterFrameWithBullets = function () { this.locBounds = this.targ.boxLocation.getBounds(this._parent); this._x = (this.locBounds.xMax + this.locBounds.xMin) / 2; this._y = (this.locBounds.yMax + this.locBounds.yMin) / 2; }; } frame 98 { this.stop(); } frame 128 { _parent.typingMovieClip.removeTypingListener(tListener); _parent.removeGameListener(gListener); _parent.enemy.gotoAndStop(1); } frame 129 { this.gotoAndPlay('spell1'); } frame 154 { _parent.play(); } frame 220 { this.gotoAndPlay('firstFrame'); } } movieClip 2131 { frame 1 { sCount = 0; asThis = this; _parent.gaugeManager.setSpellCard(150, 30, 150, 50, 0, 0); _parent.gaugeManager.setSpellCardStatus('mystia02', 850000, 'mystia', false); _parent.gaugeManager.showEnemyStatus('mystia'); spellListener = new Object(); spellListener.onLifeOver = function () { asThis.gotoAndPlay('spell1'); _parent.spellBack.gotoAndStop('mystia'); _parent.typingMovieClip.deleteAll(); _parent.typingBulletsManager.deleteAllBullets(1); }; spellListener.onSpellBreak = function () { asThis.gotoAndPlay('spellEnd'); _parent.spellBack.gotoAndStop('none'); _parent.typingMovieClip.deleteAll(); _parent.typingBulletsManager.deleteAllBullets(1); }; _parent.gaugeManager.addGaugeListener(spellListener); } frame 2 { asThis = this; _parent.enemy.gotoAndStop(4); _parent.typingMovieClip.removeTypingListener(tListener); _parent.removeGameListener(gListener); gListener = new Object(); gListener.onRecovery = function () { asThis.gotoAndPlay('allComplete1'); }; _parent.addGameListener(gListener); } frame 8 { ++sCount; _parent.typingMovieClip.createTypeBox03('t_mystia_normal' + sCount, 10000 - sCount, _parent.wordList_mystia01, 0, 95); _parent.typingBulletsManager.setBulletsWithTyping('mystia01a', 'mystia_normal' + sCount, 5000 - sCount, _parent.typingMovieClip['t_mystia_normal' + sCount]); listener1 = new Object(); listener1.onTypeComplete = function () { _parent.gaugeManager.enemyDamage(10); }; _parent.typingMovieClip['t_mystia_normal' + sCount].addTypeBoxListener(listener1); _parent.typingMovieClip['t_mystia_normal' + sCount].targ = _parent.typingBulletsManager['mystia_normal' + sCount].danmakuPart; _parent.typingMovieClip['t_mystia_normal' + sCount].onEnterFrameWithBullets = function () { this.locBounds = this.targ.boxLocation.getBounds(this._parent); this._x = (this.locBounds.xMax + this.locBounds.xMin) / 2; this._y = (this.locBounds.yMax + this.locBounds.yMin) / 2; }; } frame 21 { tListener = new Object(); tListener.onAllTypingComplete = function () { asThis.gotoAndPlay('allComplete1'); }; _parent.typingMovieClip.addTypingListener(tListener); ++sCount; _parent.typingMovieClip.createTypeBox03('t_mystia_normal' + sCount, 10000 - sCount, _parent.wordList_mystia01, 0, 95); _parent.typingBulletsManager.setBulletsWithTyping('mystia01b', 'mystia_normal' + sCount, 5000 - sCount, _parent.typingMovieClip['t_mystia_normal' + sCount]); listener1 = new Object(); listener1.onTypeComplete = function () { _parent.gaugeManager.enemyDamage(10); }; _parent.typingMovieClip['t_mystia_normal' + sCount].addTypeBoxListener(listener1); _parent.typingMovieClip['t_mystia_normal' + sCount].targ = _parent.typingBulletsManager['mystia_normal' + sCount].danmakuPart; _parent.typingMovieClip['t_mystia_normal' + sCount].onEnterFrameWithBullets = function () { this.locBounds = this.targ.boxLocation.getBounds(this._parent); this._x = (this.locBounds.xMax + this.locBounds.xMin) / 2; this._y = (this.locBounds.yMax + this.locBounds.yMin) / 2; }; } frame 37 { this.stop(); } frame 38 { _parent.typingMovieClip.removeTypingListener(tListener); _parent.removeGameListener(gListener); _parent.enemy.gotoAndStop(1); } frame 39 { this.gotoAndPlay('firstFrame'); } frame 53 { _parent.enemy.gotoAndStop(5); tListener = new Object(); tListener.onAllTypingComplete = function () { asThis.gotoAndPlay('allComplete2'); }; _parent.typingMovieClip.addTypingListener(tListener); gListener = new Object(); gListener.onRecovery = function () { asThis.gotoAndPlay('allComplete2'); }; _parent.addGameListener(gListener); } frame 54 { ++sCount; _parent.typingMovieClip.createTypeBox03('t_dokuga' + sCount, 10000 - sCount, _parent.wordList_mystia03, 0, 189); _parent.typingBulletsManager.setBulletsWithTyping('mystia03a', 'dokuga' + sCount, 5000 - sCount, _parent.typingMovieClip['t_dokuga' + sCount]); listener1 = new Object(); listener1.onTypeComplete = function () { _parent.gaugeManager.enemyDamage(10); }; _parent.typingMovieClip['t_dokuga' + sCount].addTypeBoxListener(listener1); _parent.typingMovieClip['t_dokuga' + sCount].targ = _parent.typingBulletsManager['dokuga' + sCount].danmakuPart; _parent.typingMovieClip['t_dokuga' + sCount].onEnterFrameWithBullets = function () { this.locBounds = this.targ.boxLocation.getBounds(this._parent); this._x = (this.locBounds.xMax + this.locBounds.xMin) / 2; this._y = (this.locBounds.yMax + this.locBounds.yMin) / 2; }; } frame 83 { this.stop(); } frame 96 { _parent.typingMovieClip.removeTypingListener(tListener); _parent.removeGameListener(gListener); _parent.enemy.gotoAndStop(1); } frame 97 { this.gotoAndPlay('spell1'); } frame 122 { _parent.play(); } frame 188 { this.gotoAndPlay('firstFrame'); } } movieClip 2132 { frame 1 { sCount = 0; asThis = this; _parent.gaugeManager.setSpellCard(150, 45, 150, 50, 0, 0); _parent.gaugeManager.setSpellCardStatus('mystia03', 1400000, 'mystia', false); _parent.gaugeManager.showEnemyStatus('mystia'); spellListener = new Object(); spellListener.onLifeOver = function () { asThis.gotoAndPlay('spell1'); _parent.spellBack.gotoAndStop('mystia'); _parent.typingMovieClip.deleteAll(); _parent.typingBulletsManager.deleteAllBullets(1); }; spellListener.onSpellBreak = function () { asThis.gotoAndPlay('spellEnd'); _parent.spellBack.gotoAndStop('none'); _parent.typingMovieClip.deleteAll(); _parent.typingBulletsManager.deleteAllBullets(1); }; _parent.gaugeManager.addGaugeListener(spellListener); } frame 2 { asThis = this; _parent.enemy.gotoAndStop(4); _parent.typingMovieClip.removeTypingListener(tListener); _parent.removeGameListener(gListener); gListener = new Object(); gListener.onRecovery = function () { asThis.gotoAndPlay('allComplete1'); }; _parent.addGameListener(gListener); } frame 8 { ++sCount; _parent.typingMovieClip.createTypeBox03('t_mystia_normal' + sCount, 10000 - sCount, _parent.wordList_mystia01, 0, 95); _parent.typingBulletsManager.setBulletsWithTyping('mystia01a', 'mystia_normal' + sCount, 5000 - sCount, _parent.typingMovieClip['t_mystia_normal' + sCount]); listener1 = new Object(); listener1.onTypeComplete = function () { _parent.gaugeManager.enemyDamage(10); }; _parent.typingMovieClip['t_mystia_normal' + sCount].addTypeBoxListener(listener1); _parent.typingMovieClip['t_mystia_normal' + sCount].targ = _parent.typingBulletsManager['mystia_normal' + sCount].danmakuPart; _parent.typingMovieClip['t_mystia_normal' + sCount].onEnterFrameWithBullets = function () { this.locBounds = this.targ.boxLocation.getBounds(this._parent); this._x = (this.locBounds.xMax + this.locBounds.xMin) / 2; this._y = (this.locBounds.yMax + this.locBounds.yMin) / 2; }; } frame 21 { ++sCount; _parent.typingMovieClip.createTypeBox03('t_mystia_normal' + sCount, 10000 - sCount, _parent.wordList_mystia01, 0, 95); _parent.typingBulletsManager.setBulletsWithTyping('mystia01b', 'mystia_normal' + sCount, 5000 - sCount, _parent.typingMovieClip['t_mystia_normal' + sCount]); listener1 = new Object(); listener1.onTypeComplete = function () { _parent.gaugeManager.enemyDamage(10); }; _parent.typingMovieClip['t_mystia_normal' + sCount].addTypeBoxListener(listener1); _parent.typingMovieClip['t_mystia_normal' + sCount].targ = _parent.typingBulletsManager['mystia_normal' + sCount].danmakuPart; _parent.typingMovieClip['t_mystia_normal' + sCount].onEnterFrameWithBullets = function () { this.locBounds = this.targ.boxLocation.getBounds(this._parent); this._x = (this.locBounds.xMax + this.locBounds.xMin) / 2; this._y = (this.locBounds.yMax + this.locBounds.yMin) / 2; }; } frame 53 { _parent.enemy.gotoAndStop(4); } frame 60 { tListener = new Object(); tListener.onAllTypingComplete = function () { asThis.gotoAndPlay('allComplete1'); }; _parent.typingMovieClip.addTypingListener(tListener); ++sCount; _parent.typingMovieClip.createTypeBox03('t_mystia_normal' + sCount, 10000 - sCount, _parent.wordList_mystia01b, 60, 200); _parent.typingBulletsManager.setBulletsWithTyping('mystia01c', 'mystia_normal' + sCount, 5000 - sCount, _parent.typingMovieClip['t_mystia_normal' + sCount]); listener1 = new Object(); listener1.onTypeComplete = function () { _parent.gaugeManager.enemyDamage(10); }; _parent.typingMovieClip['t_mystia_normal' + sCount].addTypeBoxListener(listener1); _parent.typingMovieClip['t_mystia_normal' + sCount].targ = _parent.typingBulletsManager['mystia_normal' + sCount].danmakuPart; _parent.typingMovieClip['t_mystia_normal' + sCount].onEnterFrameWithBullets = function () { this.locBounds = this.targ.boxLocation.getBounds(this._parent); this._x = (this.locBounds.xMax + this.locBounds.xMin) / 2; this._y = (this.locBounds.yMax + this.locBounds.yMin) / 2; }; ++sCount; _parent.typingMovieClip.createTypeBox03('t_mystia_normal' + sCount, 10000 - sCount, _parent.wordList_mystia01b, 60, 210); _parent.typingBulletsManager.setBulletsWithTyping('mystia01d', 'mystia_normal' + sCount, 5000 - sCount, _parent.typingMovieClip['t_mystia_normal' + sCount]); listener1 = new Object(); listener1.onTypeComplete = function () { _parent.gaugeManager.enemyDamage(10); }; _parent.typingMovieClip['t_mystia_normal' + sCount].addTypeBoxListener(listener1); _parent.typingMovieClip['t_mystia_normal' + sCount].targ = _parent.typingBulletsManager['mystia_normal' + sCount].danmakuPart; _parent.typingMovieClip['t_mystia_normal' + sCount].onEnterFrameWithBullets = function () { this.locBounds = this.targ.boxLocation.getBounds(this._parent); this._x = (this.locBounds.xMax + this.locBounds.xMin) / 2; this._y = (this.locBounds.yMax + this.locBounds.yMin) / 2; }; ++sCount; _parent.typingMovieClip.createTypeBox03('t_mystia_normal' + sCount, 10000 - sCount, _parent.wordList_mystia01b, 60, 210); _parent.typingBulletsManager.setBulletsWithTyping('mystia01e', 'mystia_normal' + sCount, 5000 - sCount, _parent.typingMovieClip['t_mystia_normal' + sCount]); listener1 = new Object(); listener1.onTypeComplete = function () { _parent.gaugeManager.enemyDamage(10); }; _parent.typingMovieClip['t_mystia_normal' + sCount].addTypeBoxListener(listener1); _parent.typingMovieClip['t_mystia_normal' + sCount].targ = _parent.typingBulletsManager['mystia_normal' + sCount].danmakuPart; _parent.typingMovieClip['t_mystia_normal' + sCount].onEnterFrameWithBullets = function () { this.locBounds = this.targ.boxLocation.getBounds(this._parent); this._x = (this.locBounds.xMax + this.locBounds.xMin) / 2; this._y = (this.locBounds.yMax + this.locBounds.yMin) / 2; }; } frame 71 { this.stop(); } frame 72 { _parent.typingMovieClip.removeTypingListener(tListener); _parent.removeGameListener(gListener); _parent.enemy.gotoAndStop(1); } frame 73 { this.gotoAndPlay('firstFrame'); } frame 87 { _parent.enemy.gotoAndStop(5); tListener = new Object(); tListener.onAllTypingComplete = function () { asThis.gotoAndPlay('allComplete2'); }; _parent.typingMovieClip.addTypingListener(tListener); gListener = new Object(); gListener.onRecovery = function () { asThis.gotoAndPlay('allComplete2'); }; _parent.addGameListener(gListener); } frame 88 { ++sCount; _parent.typingMovieClip.createTypeBox_mystia('t_chorus' + sCount, 10000 - sCount, _parent.wordList_mystia04, 30, 291); _parent.typingBulletsManager.setBulletsWithTyping('mystia04a', 'chorus' + sCount, 5000 - sCount, _parent.typingMovieClip['t_chorus' + sCount]); listener1 = new Object(); listener1.onTypeComplete = function () { _parent.gaugeManager.enemyDamage(10); }; _parent.typingMovieClip['t_chorus' + sCount].addTypeBoxListener(listener1); _parent.typingMovieClip['t_chorus' + sCount].targ = _parent.typingBulletsManager['chorus' + sCount].danmakuPart; _parent.typingMovieClip['t_chorus' + sCount].onEnterFrameWithBullets = function () { this.locBounds = this.targ.boxLocation.getBounds(this._parent); this._x = (this.locBounds.xMax + this.locBounds.xMin) / 2; this._y = (this.locBounds.yMax + this.locBounds.yMin) / 2; }; } frame 117 { this.stop(); } frame 130 { _parent.typingMovieClip.removeTypingListener(tListener); _parent.removeGameListener(gListener); _parent.enemy.gotoAndStop(1); } frame 131 { this.gotoAndPlay('spell1'); } frame 156 { _parent.play(); } frame 222 { this.gotoAndPlay('firstFrame'); } } movieClip 2133 { frame 1 { sCount = 0; asThis = this; _parent.gaugeManager.setSpellCard(0, 0, 0, 0, 200, 80); _parent.gaugeManager.setLastSpellStatus('mystia04', 2000000, 'mystiaDark', false); _parent.gaugeManager.showEnemyStatus('mystia'); spellListener = new Object(); _parent.spellBack.gotoAndStop('mystia'); spellListener.onLastBreak = function () { asThis.gotoAndPlay('lastSpellEnd'); _parent.spellBack.gotoAndStop('none'); _parent.typingMovieClip.deleteAll(); _parent.typingBulletsManager.deleteAllBullets(1); }; _parent.gaugeManager.addGaugeListener(spellListener); } frame 5 { _parent.enemy.gotoAndStop(5); _parent.typingMovieClip.removeTypingListener(tListener); _parent.removeGameListener(gListener); gListener = new Object(); gListener.onRecovery = function () { asThis.gotoAndPlay('allComplete1'); }; _parent.addGameListener(gListener); } frame 6 { ++sCount; _parent.typingMovieClip.createTypeBox_mystia('t_utasika' + sCount, 10000 - sCount, _parent.wordList_mystia05, 0, 255); _parent.typingBulletsManager.setBulletsWithTyping('mystia05a', 'utasika' + sCount, 5000 - sCount, _parent.typingMovieClip['t_utasika' + sCount]); listener1 = new Object(); listener1.onTypeComplete = function () { _parent.gaugeManager.enemyDamage(10); }; _parent.typingMovieClip['t_utasika' + sCount].addTypeBoxListener(listener1); _parent.typingMovieClip['t_utasika' + sCount].targ = _parent.typingBulletsManager['utasika' + sCount].danmakuPart; _parent.typingMovieClip['t_utasika' + sCount].onEnterFrameWithBullets = function () { this.locBounds = this.targ.boxLocation.getBounds(this._parent); this._x = (this.locBounds.xMax + this.locBounds.xMin) / 2; this._y = (this.locBounds.yMax + this.locBounds.yMin) / 2; }; } frame 99 { ++sCount; _parent.typingMovieClip.createTypeBox_mystia('t_utasika' + sCount, 10000 - sCount, _parent.wordList_mystia05, 0, 255); _parent.typingBulletsManager.setBulletsWithTyping('mystia05b', 'utasika' + sCount, 5000 - sCount, _parent.typingMovieClip['t_utasika' + sCount]); listener1 = new Object(); listener1.onTypeComplete = function () { _parent.gaugeManager.enemyDamage(10); }; _parent.typingMovieClip['t_utasika' + sCount].addTypeBoxListener(listener1); _parent.typingMovieClip['t_utasika' + sCount].targ = _parent.typingBulletsManager['utasika' + sCount].danmakuPart; _parent.typingMovieClip['t_utasika' + sCount].onEnterFrameWithBullets = function () { this.locBounds = this.targ.boxLocation.getBounds(this._parent); this._x = (this.locBounds.xMax + this.locBounds.xMin) / 2; this._y = (this.locBounds.yMax + this.locBounds.yMin) / 2; }; } frame 179 { tListener = new Object(); tListener.onAllTypingComplete = function () { asThis.gotoAndPlay('allComplete1'); }; _parent.typingMovieClip.addTypingListener(tListener); ++sCount; _parent.typingMovieClip.createTypeBox_mystia('t_utasika' + sCount, 10000 - sCount, _parent.wordList_mystia05, 0, 255); _parent.typingBulletsManager.setBulletsWithTyping('mystia05c', 'utasika' + sCount, 5000 - sCount, _parent.typingMovieClip['t_utasika' + sCount]); listener1 = new Object(); listener1.onTypeComplete = function () { _parent.gaugeManager.enemyDamage(10); }; _parent.typingMovieClip['t_utasika' + sCount].addTypeBoxListener(listener1); _parent.typingMovieClip['t_utasika' + sCount].targ = _parent.typingBulletsManager['utasika' + sCount].danmakuPart; _parent.typingMovieClip['t_utasika' + sCount].onEnterFrameWithBullets = function () { this.locBounds = this.targ.boxLocation.getBounds(this._parent); this._x = (this.locBounds.xMax + this.locBounds.xMin) / 2; this._y = (this.locBounds.yMax + this.locBounds.yMin) / 2; }; } frame 185 { this.stop(); } frame 198 { _parent.typingMovieClip.removeTypingListener(tListener); _parent.removeGameListener(gListener); _parent.enemy.gotoAndStop(1); } frame 199 { this.gotoAndPlay('spell1'); } frame 249 { _parent.enemy.gotoAndStop(1); } frame 261 { _parent.enemy.gotoAndStop(6); } frame 287 { _parent.enemy.gotoAndStop(7); tListener = new Object(); tListener.onAllTypingComplete = function () { asThis.gotoAndPlay('allComplete2'); }; _parent.typingMovieClip.addTypingListener(tListener); gListener = new Object(); gListener.onRecovery = function () { asThis.gotoAndPlay('allComplete2'); }; _parent.addGameListener(gListener); } frame 288 { this.stop(); ++sCount; _parent.typingMovieClip.createTypeBox03('t_next' + sCount, 10000 - sCount, _parent.wordList_keine05, 35, 265); _parent.typingBulletsManager.setBulletsWithTyping('keine05a', 'next' + sCount, 5000 - sCount, _parent.typingMovieClip['t_next' + sCount]); listener1 = new Object(); listener1.onTypeComplete = function () { _parent.gaugeManager.enemyDamage(10); }; _parent.typingMovieClip['t_next' + sCount].addTypeBoxListener(listener1); _parent.typingMovieClip['t_next' + sCount].targ = _parent.typingBulletsManager['next' + sCount].danmakuPart; _parent.typingMovieClip['t_next' + sCount].onEnterFrameWithBullets = function () { this.locBounds = this.targ.boxLocation.getBounds(this._parent); this._x = (this.locBounds.xMax + this.locBounds.xMin) / 2; this._y = (this.locBounds.yMax + this.locBounds.yMin) / 2; }; } frame 363 { i = 0; while (i < 3) { _parent.typingMovieClip.createTypeBox03('t_pFreeze' + (sCount - i), 10000 - (sCount - i), _parent.wordList_cirno03, 100, 350); _parent.typingBulletsManager.attatchTyping('pFreeze' + (sCount - i), _parent.typingMovieClip['t_pFreeze' + (sCount - i)]); asThis['listener' + i] = new Object(); asThis['listener' + i].onTypeComplete = function () { _parent.gaugeManager.enemyDamage(10); }; _parent.typingMovieClip['t_pFreeze' + (sCount - i)].addTypeBoxListener(asThis['listener' + i]); _parent.typingMovieClip['t_pFreeze' + (sCount - i)].targ = _parent.typingBulletsManager['pFreeze' + (sCount - i)].danmakuPart; _parent.typingMovieClip['t_pFreeze' + (sCount - i)].onEnterFrameWithBullets = function () { this.locBounds = this.targ.boxLocation.getBounds(this._parent); this._x = (this.locBounds.xMax + this.locBounds.xMin) / 2; this._y = (this.locBounds.yMax + this.locBounds.yMin) / 2; }; ++i; } } frame 364 { this.stop(); } frame 365 { _parent.typingMovieClip.removeTypingListener(tListener); _parent.removeGameListener(gListener); _parent.enemy.gotoAndStop(8); } frame 366 { this.gotoAndPlay('spell2'); } frame 392 { _parent.play(); } frame 463 { this.gotoAndPlay('firstFrame'); } } movieClip 2134 { frame 1 { function addGameListener(obj) { gameListenerList.push(obj); } function removeGameListener(obj) { i = 0; while (i < gameListenerList.length) { if (gameListenerList[i] == obj) { gameListenerList = (gameListenerList.slice(0, i)).concat(gameListenerList.slice(i + 1)); } ++i; } } function removeAllGameListener() { gameListenerList = new Array(); } function allOnMiss() { i = 0; while (i < gameListenerList.length) { gameListenerList[i].onMiss(); ++i; } } function allOnRecovery() { trace('Recovery'); playerStatus = 0; i = 0; while (i < gameListenerList.length) { gameListenerList[i].onRecovery(); ++i; } } function allOnBomb() { i = 0; while (i < gameListenerList.length) { gameListenerList[i].onBomb(); ++i; } } function allOnGameOver() { i = 0; while (i < gameListenerList.length) { gameListenerList[i].onGameOver(); ++i; } } function playerMiss() { playerStatus = 1; fCount = 0; this.onEnterFrame = function () { if (playerStatus == 1) { ++fCount; if (fCount == 1) { seSound.attachSound('miss01'); seSound.start(0, 1); } if (fCount == 4) { player.miss(); typingMovieClip.deleteAll(); typingBulletsManager.deleteAllBullets(1); gaugeManager.spellFailure(); gaugeManager.resetPowerAndPoint(); if (_parent.outerFrame.getPlayerCount() <= 0) { gameOver(); } else { _parent.outerFrame.playerDegree(-1); _parent.outerFrame.setPlayerCounter(_parent.outerFrame.getPlayerCount(), 3); } allOnMiss(); } if (fCount > 4) { typingMovieClip.deleteAll(); typingBulletsManager.deleteAllBullets(1); } } else { this.onEnterFrame = undefined; } }; } function playerBomb() { if (_parent.outerFrame.getBombCount() > 0) { playerStatus = 2; player.bomb(); playerShot.useBomb(); typingMovieClip.deleteAll(); typingBulletsManager.deleteAllBullets(2); gaugeManager.spellFailure(); _parent.outerFrame.bombDegree(-1); fCount = 0; this.onEnterFrame = function () { if (playerStatus == 2) { ++fCount; if (fCount % 10 == 0) { typingMovieClip.deleteAll(); typingBulletsManager.deleteAllBullets(2); } } else { this.onEnterFrame = undefined; } }; } allOnBomb(); } function startGame() { playerStatus = 0; } function stopGame() { playerStatus = 4; } function gameOver() { _parent.outerFrame.escapeGame(); _parent.gotoAndPlay('gameover'); } asThis = this; KeyL_anyKeyToPlay = new Object(); KeyL_anyKeyToPlay.onKeyDown = function () { asThis.play(); Key.removeListener(KeyL_anyKeyToPlay); }; this.onUnload = function () { Key.removeListener(KeyL_anyKeyToPlay); }; typingMovieClip._visible = false; player._visible = false; enemy._visible = false; backBullets._visible = false; spellBack._visible = false; bgmSound = new Sound(_parent); bgmSound.stop(); seSound = new Sound(this); seSound.stop(); playerStatus = 4; fCount = 0; var gameListenerList = new Array(); } frame 2 { typingMovieClip._visible = true; player._visible = true; enemy._visible = true; backBullets._visible = true; spellBack._visible = true; var wordList_mystia00 = new TypingWordList(); wordList_mystia00.initRule(_parent.tRule); wordList_mystia00.addWordSetDefault(TypingWordList.MYSTIA_00A); var wordList_mystia01 = new TypingWordList(); wordList_mystia01.initRule(_parent.tRule); wordList_mystia01.addWordSetDefault(TypingWordList.MYSTIA_01A); var wordList_mystia01b = new TypingWordList(); wordList_mystia01b.initRule(_parent.tRule); wordList_mystia01b.addWordSetDefault(TypingWordList.MYSTIA_01B); var wordList_mystia02 = new TypingWordList(); wordList_mystia02.initRule(_parent.tRule); wordList_mystia02.addWordSetDefault(TypingWordList.MYSTIA_02A); var wordList_mystia03 = new TypingWordList(); wordList_mystia03.initRule(_parent.tRule); wordList_mystia03.addWordSetDefault(TypingWordList.MYSTIA_03A); var wordList_mystia04 = new TypingWordList(); wordList_mystia04.initRule(_parent.tRule); wordList_mystia04.addWordSetDefault(TypingWordList.MYSTIA_04A); var wordList_mystia05 = new TypingWordList(); wordList_mystia05.initRule(_parent.tRule); wordList_mystia05.addWordSetDefault(TypingWordList.MYSTIA_05A); enemy.gotoAndStop('ready'); gaugeManager.enemyStatus = 3; } frame 33 { playerStatus = 0; } frame 34 { this.stop(); } frame 35 { playerStatus = 4; gaugeManager.enemyStatus = 3; } frame 43 { player.gotoAndStop(2); } frame 46 { this.stop(); Key.addListener(KeyL_anyKeyToPlay); } frame 52 { player.gotoAndStop(3); } frame 55 { this.stop(); Key.addListener(KeyL_anyKeyToPlay); } frame 56 { player.gotoAndStop(1); } frame 65 { this.stop(); Key.addListener(KeyL_anyKeyToPlay); } frame 75 { this.stop(); Key.addListener(KeyL_anyKeyToPlay); } frame 86 { bgmSound.attachSound('utasika'); bgmSound.start(0, 10); } frame 138 { this.stop(); Key.addListener(KeyL_anyKeyToPlay); enemy.gotoAndStop(1); } frame 165 { player.gotoAndStop(3); } frame 168 { this.stop(); Key.addListener(KeyL_anyKeyToPlay); } frame 169 { player.gotoAndStop(1); } frame 175 { enemy.gotoAndStop(3); } frame 178 { this.stop(); Key.addListener(KeyL_anyKeyToPlay); } frame 185 { enemy.gotoAndStop(3); } frame 188 { this.stop(); Key.addListener(KeyL_anyKeyToPlay); } frame 189 { enemy.gotoAndStop(1); } frame 197 { player.gotoAndStop(2); } frame 200 { this.stop(); Key.addListener(KeyL_anyKeyToPlay); } frame 207 { enemy.gotoAndStop(3); } frame 210 { this.stop(); Key.addListener(KeyL_anyKeyToPlay); } frame 216 { player.gotoAndStop(4); } frame 218 { this.stop(); Key.addListener(KeyL_anyKeyToPlay); } frame 224 { enemy.gotoAndStop(1); } frame 227 { this.stop(); Key.addListener(KeyL_anyKeyToPlay); } frame 233 { player.gotoAndStop(2); } frame 236 { this.stop(); Key.addListener(KeyL_anyKeyToPlay); } frame 242 { enemy.gotoAndStop(2); } frame 245 { this.stop(); Key.addListener(KeyL_anyKeyToPlay); } frame 250 { player.gotoAndStop(3); enemy.gotoAndStop(3); } frame 254 { this.stop(); Key.addListener(KeyL_anyKeyToPlay); } frame 255 { player.gotoAndStop(1); enemy.gotoAndStop(1); } frame 265 { startGame(); gaugeManager.setSpellCardTotal(4); } frame 266 { this.stop(); } frame 267 { enemy.gotoAndStop(1); } frame 278 { this.stop(); } frame 279 { enemy.gotoAndStop(1); } frame 289 { this.stop(); } frame 290 { enemy.gotoAndStop(1); } frame 300 { this.stop(); } frame 301 { seSound.attachSound('se_enemyDefeat01'); seSound.start(0, 1); gaugeManager.endInit(); enemy.gotoAndStop(9); playerStatus = 4; this.onEnterFrame = function () { if (bgmSound.getVolume() > 0) { bgmSound.setVolume(bgmSound.getVolume() - 5); } else { bgmSound.stop(); bgmSound.setVolume(100); } }; } frame 371 { this.stop(); _parent.prePointRate = gaugeManager.pointRate_value; _parent.outerFrame.escapeGame(); _parent.gotoAndPlay('ending'); } } frame 177 { this.stop(); } frame 197 { _root.getSpellCard('miya_atogaki', '後書「東方言霊祭」'); _root.getSpellCard('miya_spell1', '紅葉「秋の椛と渓谷の滝」'); _root.getSpellCard('miya_spell2', '集結「エネミーズ・カットイン」'); } // unknown tag 88 length 143 // unknown tag 88 length 214 movieClip 2143 { frame 1 { asThis = this; bgmSound = new Sound(_parent); bgmSound.stop(); bgmSound.setVolume(100); bgmSound.attachSound('fallfall'); bgmSound.start(0, 1); KeyL_anyKeyToPlay = new Object(); KeyL_anyKeyToPlay.onKeyDown = function () { asThis.play(); Key.removeListener(KeyL_anyKeyToPlay); }; this.onUnload = function () { Key.removeListener(KeyL_anyKeyToPlay); }; } frame 629 { finalScore = _parent.totalScore; } frame 630 { this.stop(); Key.addListener(KeyL_anyKeyToPlay); } frame 634 { this.onEnterFrame = function () { if (bgmSound.getVolume() > 0) { bgmSound.setVolume(bgmSound.getVolume() - 5); } else { bgmSound.stop(); bgmSound.setVolume(100); } }; } frame 695 { bgmSound.stop(); bgmSound.setVolume(100); bgmSound.attachSound('eternal'); bgmSound.start(0, 1); bgmSound.onSoundComplete = function () { bgmSound.start(0, 1); }; _parent.gotoAndPlay('titleMenu'); } } frame 198 { this.stop(); outerFrame.setPlayerCounter(2, 3); var pauseStatus = 0; this.onEnterFrame = function () { if (pauseStatus == 0 || pauseStatus == 1) { if (Key.isDown(27)) { trace('ESC: '); if (pauseStatus == 0) { stageCirno.freeze(); pauseStatus = 1; } else { stageCirno.unfreeze(); pauseStatus = 0; } } } }; Key.addListener(escListener); } frame 220 { _root.getSpellCard('miya_atogaki', '後書「東方言霊祭」'); } movieClip 2145 { frame 1 { asThis = this; bgmSound = new Sound(_parent); bgmSound.stop(); bgmSound.setVolume(100); KeyL_anyKeyToPlay = new Object(); KeyL_anyKeyToPlay.onKeyDown = function () { asThis.play(); Key.removeListener(KeyL_anyKeyToPlay); }; this.onUnload = function () { Key.removeListener(KeyL_anyKeyToPlay); }; } frame 43 { this.stop(); Key.addListener(KeyL_anyKeyToPlay); } frame 47 { this.onEnterFrame = function () { bgmSound.setVolume(bgmSound.getVolume() - 5); }; } frame 108 { bgmSound.stop(); bgmSound.setVolume(100); bgmSound.attachSound('eternal'); bgmSound.start(0, 1); bgmSound.onSoundComplete = function () { bgmSound.start(0, 1); }; _parent.gotoAndPlay('titleMenu'); } } frame 221 { this.stop(); outerFrame.setPlayerCounter(2, 3); var pauseStatus = 0; this.onEnterFrame = function () { if (pauseStatus == 0 || pauseStatus == 1) { if (Key.isDown(27)) { trace('ESC: '); if (pauseStatus == 0) { stageCirno.freeze(); pauseStatus = 1; } else { stageCirno.unfreeze(); pauseStatus = 0; } } } }; Key.addListener(escListener); }




http://swfchan.com/28/135503/info.shtml
Created: 20/11 -2018 08:57:48 Last modified: 20/11 -2018 08:57:48 Server time: 28/04 -2024 11:11:22