Combined Code
movieClip 4 {
}
movieClip 9 {
}
// unknown tag 88 length 100
movieClip 14 {
}
movieClip 19 {
frame 1 {
this._visible = false;
if (_root.initFlag != true) {
_root.initFlag = true;
_root.LC_recv = new LocalConnection();
_root.LC_send = new LocalConnection();
_global.spellCardPointList = new Array();
_global.niceShotPointList = new Array();
_global.nearMissPointList = new Array();
_global.partRoot = _root;
_global.asThis = {'bunkachouStartFrame': this.bunkachouStartFrame, 'bunkachouEndFrame': this.bunkachouEndFrame, 'bunkachouMinX': this.bunkachouMinX, 'bunkachouMaxX': this.bunkachouMaxX, 'bunkachouMinY': this.bunkachouMinY, 'bunkachouMaxY': this.bunkachouMaxY};
trace('[作å“å´] component ' + this.bunkachouStartFrame + ' - ' + this.bunkachouEndFrame);
_root.LC_recv.connect('mesopota04_mainContents');
this.stop();
_root.LC_recv.init = function () {
_root.LC_recv.playMovie = function (frame) {
trace('[LocalConnection]playMovie:' + frame);
_root.gotoAndPlay(frame);
};
_root.LC_recv.playBunkachoMovie = function () {
trace('文花帖モードEF始動');
_root.onEnterFrame = function () {
if (_root._currentframe >= asThis.bunkachouEndFrame) {
trace('文花帖モードEF終了');
_root.stop();
_root.onEnterFrame = null;
_root.LC_send.send('mesopota04_interface', 'movieEnd');
}
};
trace('[LocalConnection]playBunkachoMovie:' + asThis.bunkachouStartFrame);
_root.gotoAndPlay(asThis.bunkachouStartFrame);
};
_root.LC_recv.stopMovie = function () {
trace('[LocalConnection]stopMovie:');
_root.stop();
};
_root.LC_recv.snap = function () {
var v12 = new Array();
var v11 = new Array();
var v10 = new Array();
var v3 = new Object();
var v4 = 1;
i = 0;
while (i < _global.niceShotPointList.length) {
if (niceShotPointList[i] != null) {
v3 = niceShotPointList[i].getBounds(_root);
if (v3.xMax - v3.xMin > v3.yMax - v3.yMin) {
v4 = (v3.yMax - v3.yMin) / 58.8;
} else {
v4 = (v3.xMax - v3.xMin) / 58.8;
}
v12.push({'x': (v3.xMin + v3.xMax) / 2, 'y': (v3.yMin + v3.yMax) / 2, 'score': niceShotPointList[i].score, 'scale': v4, 'text': niceShotPointList[i].photoType});
}
++i;
}
i = 0;
while (i < _global.spellCardPointList.length) {
if (spellCardPointList[i] != null) {
v3 = spellCardPointList[i].getBounds(_root);
if (v3.xMax - v3.xMin > v3.yMax - v3.yMin) {
v4 = (v3.yMax - v3.yMin) / 58.8;
} else {
v4 = (v3.xMax - v3.xMin) / 58.8;
}
v11.push({'x': (v3.xMin + v3.xMax) / 2, 'y': (v3.yMin + v3.yMax) / 2, 'text': spellCardPointList[i].spellName, 'score': spellCardPointList[i].score, 'scale': v4});
}
++i;
}
i = 0;
while (i < _global.nearMissPointList.length) {
if (nearMissPointList[i] != null) {
v3 = nearMissPointList[i].getBounds(_root);
if (v3.xMax - v3.xMin > v3.yMax - v3.yMin) {
v4 = (v3.yMax - v3.yMin) / 58.8;
} else {
v4 = (v3.xMax - v3.xMin) / 58.8;
}
v10.push({'x': (v3.xMin + v3.xMax) / 2, 'y': (v3.yMin + v3.yMax) / 2, 'scale': v4});
}
++i;
}
trace('[LocalConnection]bunkachoCalc: SPCount' + v12.length + ', ' + v11.length + ', ' + v10.length);
_root.LC_send.send('mesopota04_interface', 'receiveScorePoints', v12, v11, v10);
};
_root.LC_recv.disconnectFlash = function () {
trace('[LocalConnection]disconnectFlash:');
_root.LC_recv.close();
stopAllSounds();
_root.stop();
};
var initEFCount = 0;
trace('INIT返信EF始動');
_root.onEnterFrame = function () {
trace('[作å“å´] send (receiveInitReply)' + asThis.bunkachouStartFrame + ' - ' + asThis.bunkachouEndFrame);
_root.LC_send.send('mesopota04_interface', 'receiveInitReply', {'bunkachouStartFrame': asThis.bunkachouStartFrame, 'bunkachouEndFrame': asThis.bunkachouEndFrame, 'bunkachouMinX': asThis.bunkachouMinX, 'bunkachouMaxX': asThis.bunkachouMaxX, 'bunkachouMinY': asThis.bunkachouMinY, 'bunkachouMaxY': asThis.bunkachouMaxY});
++initEFCount;
if (initEFCount > 150) {
initEFCount = 0;
trace('INIT返信EF終了(send失敗)');
trace('通常å†ç”Ÿ 最終フレーム検知EF始動');
_root.onEnterFrame = function () {
if (_root._currentframe >= asThis.bunkachouEndFrame) {
_root.LC_send.send('mesopota04_interface', 'movieEnd');
trace('通常å†ç”Ÿ 最終フレーム検知EF終了');
_root.onEnterFrame = null;
}
};
trace('SWFå´ã€€é€ä¿¡å¤±æ•—');
}
};
_root.LC_send.onStatus = function (infoObject) {
switch (infoObject.level) {
case 'status':
trace('INIT返信EF終了(sendæˆåŠŸ)');
_root.onEnterFrame = null;
trace('通常å†ç”Ÿ 最終フレーム検知EF始動');
_root.onEnterFrame = function () {
if (_root._currentframe >= asThis.bunkachouEndFrame) {
_root.LC_send.send('mesopota04_interface', 'movieEnd');
trace('通常å†ç”Ÿ 最終フレーム検知EF終了');
_root.onEnterFrame = null;
}
};
_root.LC_send.onStatus = null;
break;
case 'error':
}
};
trace('[作å“å´] init完了');
};
_root.LC_recv.playMovie = function (frame) {};
_root.LC_recv.stopMovie = function () {};
_root.LC_recv.playBunkachoMovie = function (frame, endFrame) {};
_root.LC_recv.bunkachoCalcNiceShot = function (rx, ry, rw, rh) {};
_root.LC_recv.disconnectFlash = function () {};
_root.onUnload = function () {
trace('[UNLOAD]');
_root.stop();
_root.stopAllSounds();
_root.LC_recv.close();
};
} else {}
_root.stopAllClip = function (mc) {
for (i in mc) {
if (mc[i] instanceof MovieClip) {
trace('(stop) ' + mc.toString);
mc[i].stop();
stopAllClip(mc[i]);
}
}
};
}
}
instance of movieClip 19 {
onClipEvent (construct) {
bunkachouStartFrame = 20;
bunkachouEndFrame = 5980;
bunkachouMinX = 64;
bunkachouMaxX = 576;
bunkachouMinY = 48;
bunkachouMaxY = 432;
}
}
frame 10 {
stop();
}
button 22 {
on (release) {
this.nextFrame();
}
}
frame 11 {
play();
}
frame 11 {
_root.lyrics = true;
}
frame 20 {
_root.hidden = 0;
}
// unknown tag 88 length 45
movieClip 60 {
}
instance lyrics_mc of movieClip 60 {
onClipEvent (keyDown) {
if (Key.isDown(32)) {
this._visible = !this._visible;
trace(this._visible);
if (this._visible == true) {
_root.lyrics = true;
trace(lyrics);
} else {
_root.lyrics = false;
_root.trace(lyrics);
}
}
}
}
movieClip 87 {
}
movieClip 89 {
}
movieClip 91 {
}
movieClip 94 {
}
movieClip 96 {
}
movieClip 100 {
}
movieClip 103 {
}
movieClip 111 {
}
movieClip 113 {
}
movieClip 144 {
}
movieClip 162 {
}
movieClip 166 {
frame 1 {
stop();
}
}
// unknown tag 88 length 68
movieClip 197 {
frame 1 {
_root.coin_count = 0;
saisen_mc.onPress = function () {
++_root.coin_count;
coin.text = _root.coin_count;
if (_root.coin_count <= 1) {
++_root.hidden;
trace('ok' + _root.hidden);
}
};
}
instance saisen_mc of movieClip 166 {
onClipEvent (release) {
this.gotoAndPlay(2);
}
}
}
movieClip 235 {
}
movieClip 237 {
frame 1 {
_global.niceShotPointList.push(this);
this._visible = false;
trace('[NiceShot] ADDED');
asThis = this;
this.onUnload = function () {
var v2 = 0;
while (v2 < _global.niceShotPointList.length) {
if (_global.niceShotPointList[v2] == asThis) {
_global.niceShotPointList.splice(v2, 1);
}
++v2;
}
trace('[NiceShot] REMOVED');
};
}
}
instance of movieClip 237 {
onClipEvent (construct) {
score = 3;
photoType = '決定的瞬間';
}
}
movieClip 257 {
}
movieClip 261 {
}
movieClip 286 {
}
movieClip 322 {
}
instance of movieClip 237 {
onClipEvent (construct) {
score = 2;
photoType = 'Two Shot';
}
}
movieClip 326 {
}
movieClip 330 {
}
movieClip 334 {
}
movieClip 339 {
}
movieClip 344 {
}
movieClip 347 {
}
movieClip 349 {
}
movieClip 353 {
}
movieClip 356 {
}
instance of movieClip 237 {
onClipEvent (construct) {
score = 2;
photoType = 'Pretty Shot';
}
}
movieClip 362 {
}
movieClip 363 {
}
movieClip 365 {
}
movieClip 371 {
}
movieClip 380 {
}
movieClip 385 {
}
button 389 {
on (release) {
this.nextFrame();
++_root.hidden;
trace('hidden=' + _root.hidden);
}
}
movieClip 391 {
}
movieClip 392 {
frame 60 {
stop();
}
}
movieClip 393 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 410 {
}
movieClip 434 {
}
movieClip 435 {
}
movieClip 464 {
}
instance of movieClip 237 {
onClipEvent (construct) {
score = 2;
photoType = 'Two Shot';
}
}
movieClip 469 {
}
movieClip 471 {
}
movieClip 473 {
}
movieClip 477 {
}
movieClip 483 {
}
movieClip 490 {
}
movieClip 500 {
}
movieClip 507 {
}
movieClip 516 {
}
movieClip 518 {
}
movieClip 522 {
}
movieClip 525 {
}
movieClip 550 {
}
movieClip 588 {
}
instance of movieClip 237 {
onClipEvent (construct) {
score = 2;
photoType = 'Two Shot';
}
}
movieClip 598 {
}
movieClip 604 {
}
movieClip 610 {
}
movieClip 636 {
}
movieClip 661 {
}
instance of movieClip 237 {
onClipEvent (construct) {
score = 2;
photoType = 'Two Shot';
}
}
movieClip 677 {
}
movieClip 701 {
}
movieClip 704 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 708 {
}
movieClip 711 {
}
movieClip 717 {
}
movieClip 721 {
}
movieClip 725 {
}
movieClip 727 {
}
movieClip 735 {
}
movieClip 737 {
}
movieClip 739 {
}
movieClip 742 {
}
movieClip 747 {
}
movieClip 750 {
}
movieClip 752 {
}
movieClip 758 {
}
instance of movieClip 237 {
onClipEvent (construct) {
score = 2;
photoType = 'Lovely Shot';
}
}
button 761 {
on (release) {
nextFrame();
++_root.hidden;
trace('hidden=' + _root.hidden);
}
}
movieClip 763 {
}
movieClip 764 {
frame 1 {
stop();
}
frame 2 {
play();
}
frame 101 {
stop();
}
}
movieClip 766 {
}
movieClip 770 {
}
movieClip 780 {
}
movieClip 803 {
}
movieClip 819 {
}
movieClip 905 {
}
movieClip 911 {
}
movieClip 917 {
}
movieClip 924 {
}
frame 4720 {
_root.LC_send.send('mesopota04_interface', 'special', 'miracleFlower');
_root.flower = 0;
}
movieClip 933 {
frame 1 {
stop();
this.onRelease = function () {
_parent.flag = true;
++_root.flower;
trace('flower=' + _root.flower);
this.onRelease = undefined;
this.useHandCursor = false;
nextFrame();
};
}
frame 2 {
play();
}
frame 20 {
stop();
}
}
movieClip 934 {
}
movieClip 935 {
frame 23 {
gotoAndPlay(1);
}
}
movieClip 936 {
frame 364 {
if (flag == true) {
nextFrame();
} else {
stop();
}
}
frame 365 {
stop();
}
}
movieClip 958 {
}
frame 5110 {
if (_root.flower == 16) {
++_root.hidden;
trace('hidden=' + _root.hidden);
}
}
movieClip 966 {
}
movieClip 968 {
}
movieClip 972 {
}
movieClip 976 {
}
movieClip 990 {
}
movieClip 994 {
}
instance of movieClip 237 {
onClipEvent (construct) {
score = 3;
photoType = 'Miracle Shot';
}
}
frame 5471 {
if (_root.lyrics == false) {
_root.LC_send.send('mesopota04_interface', 'purchaseSpellCard', '空桶「Miracle∞Hinacleã€');
trace('空桶「Miracle∞Hinacleã€');
}
}
movieClip 997 {
}
movieClip 1001 {
}
movieClip 1004 {
}
movieClip 1007 {
}
frame 5826 {
if (_root.hidden >= 5) {
_root.LC_send.send('mesopota04_interface', 'purchaseSpellCard', '次回予告「雛ã¨ä¸æ€è°ãªã‚µã‚¤ãƒ³ã€');
trace('次回予告「雛ã¨ä¸æ€è°ãªã‚µã‚¤ãƒ³ã€');
}
}
movieClip 1011 {
}
instance of movieClip 237 {
onClipEvent (construct) {
score = 2;
photoType = 'Pretty Shot';
}
}
frame 5991 {
stop();
}
button 1015 {
on (release) {
this.nextFrame();
}
}
frame 5992 {
play();
}
frame 6000 {
this.gotoAndPlay('start');
}