Combined Code
frame 1 {
stop();
}
// unknown tag 88 length 42
button 9 {
on (release) {
_root.play();
}
}
// unknown tag 88 length 80
movieClip 16 {
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 16 {
onClipEvent (construct) {
bunkachouStartFrame = 2;
bunkachouEndFrame = 5250;
bunkachouMinX = 0;
bunkachouMaxX = 550;
bunkachouMinY = 0;
bunkachouMaxY = 400;
}
}
movieClip 37 {
}
instance of movieClip 37 {
onClipEvent (load) {
this._visible = false;
keyflag = false;
}
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
if (keyflag == false) {
keyflag = true;
if (this._visible == true) {
this._visible = false;
} else {
this._visible = true;
}
}
} else {
keyflag = false;
}
}
}
movieClip 82 {
}
movieClip 85 {
}
movieClip 130 {
}
movieClip 144 {
}
movieClip 159 {
}
movieClip 197 {
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 197 {
onClipEvent (construct) {
score = 1.5;
photoType = 'karisuma Shot';
}
}
instance of movieClip 197 {
onClipEvent (construct) {
score = 1.9;
photoType = 'unknown Shot';
}
}
instance of movieClip 197 {
onClipEvent (construct) {
score = 1.5;
photoType = 'sinrei Shot';
}
}
instance of movieClip 197 {
onClipEvent (construct) {
score = 1.5;
photoType = 'yakumo Shot';
}
}
movieClip 207 {
frame 1 {
_global.spellCardPointList.push(this);
this._visible = false;
trace('[SpellCard] ADDED');
asThis = this;
this.onUnload = function () {
var v2 = 0;
while (v2 < _global.spellCardPointList.length) {
if (_global.spellCardPointList[v2] == asThis) {
_global.spellCardPointList.splice(v2, 1);
}
++v2;
}
trace('[SpellCard] REMOVED');
};
}
}
instance of movieClip 207 {
onClipEvent (construct) {
spellName = '幻想「二色百万鬼夜行ã€';
score = 1.8;
}
}
instance of movieClip 197 {
onClipEvent (construct) {
score = 1.5;
photoType = 'hourai Shot';
}
}
instance of movieClip 197 {
onClipEvent (construct) {
score = 1.5;
photoType = 'ikemen Shot';
}
}
instance of movieClip 197 {
onClipEvent (construct) {
score = 1.5;
photoType = 'ikemen Shot';
}
}
instance of movieClip 197 {
onClipEvent (construct) {
score = 1.2;
photoType = 'hitozuma Shot';
}
}
instance of movieClip 197 {
onClipEvent (construct) {
score = 1.1;
photoType = 'zeppeki Shot';
}
}
instance of movieClip 197 {
onClipEvent (construct) {
score = 1.9;
photoType = 'nuclear Shot';
}
}
instance of movieClip 197 {
onClipEvent (construct) {
score = 1.3;
photoType = 'muishiki Shot';
}
}
instance of movieClip 197 {
onClipEvent (construct) {
score = 1.3;
photoType = 'namusan Shot';
}
}
instance of movieClip 197 {
onClipEvent (construct) {
score = 1.9;
photoType = 'unknown Shot';
}
}
movieClip 231 {
}
movieClip 233 {
}
movieClip 237 {
}
instance of movieClip 207 {
onClipEvent (construct) {
spellName = '衣替「ãã›ã‹ãˆã¾ã‚Šã•ã€';
score = 1.5;
}
}
instance of movieClip 197 {
onClipEvent (construct) {
score = 1.2;
photoType = 'ultra Shot';
}
}
instance of movieClip 197 {
onClipEvent (construct) {
score = 3;
photoType = 'ogre Shot';
}
}
instance of movieClip 197 {
onClipEvent (construct) {
score = 1.5;
photoType = 'kouhai Shot';
}
}
instance of movieClip 197 {
onClipEvent (construct) {
score = 0.5;
photoType = 'Caved Shot';
}
}
instance of movieClip 197 {
onClipEvent (construct) {
score = 5;
photoType = 'koaaaaa Shot';
}
}
instance of movieClip 197 {
onClipEvent (construct) {
score = 1;
photoType = 'Nice Shot';
}
}
instance of movieClip 197 {
onClipEvent (construct) {
score = 1.1;
photoType = 'china Shot';
}
}
instance of movieClip 197 {
onClipEvent (construct) {
score = 0.9;
photoType = 'DODO Shot';
}
}
instance of movieClip 197 {
onClipEvent (construct) {
score = 0.1;
photoType = 'moyasi Shot';
}
}
instance of movieClip 197 {
onClipEvent (construct) {
score = 1.1;
photoType = 'oyasumi Shot';
}
}
instance of movieClip 197 {
onClipEvent (construct) {
score = 1.1;
photoType = 'alice Shot';
}
}
instance of movieClip 197 {
onClipEvent (construct) {
score = 0.5;
photoType = 'hanbun Shot';
}
}
instance of movieClip 197 {
onClipEvent (construct) {
score = 0.1;
photoType = 'G Shot';
}
}
instance of movieClip 197 {
onClipEvent (construct) {
score = 0.8;
photoType = 'misutin Shot';
}
}
instance of movieClip 197 {
onClipEvent (construct) {
score = 1.1;
photoType = 'OKne Shot';
}
}
instance of movieClip 197 {
onClipEvent (construct) {
score = 99;
photoType = 'happy Shot';
}
}
instance of movieClip 197 {
onClipEvent (construct) {
score = 0;
photoType = 'usousa Shot';
}
}
instance of movieClip 197 {
onClipEvent (construct) {
score = 1.3;
photoType = 'hourai Shot';
}
}
instance of movieClip 197 {
onClipEvent (construct) {
score = 1.2;
photoType = 'su-san Shot';
}
}
instance of movieClip 197 {
onClipEvent (construct) {
score = 0.1;
photoType = 'yakui Shot';
}
}
instance of movieClip 197 {
onClipEvent (construct) {
score = 1.1;
photoType = '! Shot';
}
}
instance of movieClip 197 {
onClipEvent (construct) {
score = 1.1;
photoType = 'fever Shot';
}
}
instance of movieClip 197 {
onClipEvent (construct) {
score = 1.93;
photoType = 'kya-ikusan Shot';
}
}
instance of movieClip 197 {
onClipEvent (construct) {
score = 0.5;
photoType = 'nagesute Shot';
}
}
instance of movieClip 197 {
onClipEvent (construct) {
score = 0.8;
photoType = 'derma Shot';
}
}
instance of movieClip 197 {
onClipEvent (construct) {
score = 1.3;
photoType = 'satori Shot';
}
}
instance of movieClip 197 {
onClipEvent (construct) {
score = 0.2;
photoType = 'netama Shot';
}
}
instance of movieClip 197 {
onClipEvent (construct) {
score = 0.9;
photoType = 'Dixxxy Shot';
}
}
instance of movieClip 197 {
onClipEvent (construct) {
score = 1.5;
photoType = 'matibito Shot';
}
}
instance of movieClip 197 {
onClipEvent (construct) {
score = 0.1;
photoType = 'ikemen? Shot';
}
}
instance of movieClip 197 {
onClipEvent (construct) {
score = 1.3;
photoType = 'anchor Shot';
}
}
instance of movieClip 197 {
onClipEvent (construct) {
score = 1.2;
photoType = 'autumn Shot';
}
}
instance of movieClip 197 {
onClipEvent (construct) {
score = 1.3;
photoType = 'prism Shot';
}
}
instance of movieClip 197 {
onClipEvent (construct) {
score = 1.2;
photoType = 'nekokota Shot';
}
}
instance of movieClip 197 {
onClipEvent (construct) {
score = 1.2;
photoType = 'makayosi Shot';
}
}
instance of movieClip 197 {
onClipEvent (construct) {
score = 0.7;
photoType = 'nanoka Shot';
}
}
instance of movieClip 197 {
onClipEvent (construct) {
score = 1.1;
photoType = 'spring Shot';
}
}
instance of movieClip 197 {
onClipEvent (construct) {
score = 1.1;
photoType = 'spring Shot';
}
}
instance of movieClip 197 {
onClipEvent (construct) {
score = 1.1;
photoType = 'spring Shot';
}
}
movieClip 324 {
}
movieClip 337 {
}
movieClip 347 {
}
instance of movieClip 197 {
onClipEvent (construct) {
score = 1.5;
photoType = 'ikemen Shot';
}
}
instance of movieClip 197 {
onClipEvent (construct) {
score = 1.5;
photoType = 'ikemen Shot';
}
}
movieClip 396 {
}
instance of movieClip 197 {
onClipEvent (construct) {
score = 2;
photoType = 'ikemen Shot';
}
}
instance of movieClip 197 {
onClipEvent (construct) {
score = 1.2;
photoType = 'Nice Shot';
}
}
instance of movieClip 197 {
onClipEvent (construct) {
score = 1.2;
photoType = 'USC Shot';
}
}
instance of movieClip 197 {
onClipEvent (construct) {
score = 0.1;
photoType = 'okuyami Shot';
}
}
movieClip 481 {
}
movieClip 485 {
}
movieClip 486 {
}
movieClip 491 {
}
movieClip 495 {
}
movieClip 496 {
}
movieClip 498 {
}
movieClip 500 {
}
movieClip 502 {
}
movieClip 504 {
}
movieClip 506 {
}
instance of movieClip 197 {
onClipEvent (construct) {
score = 1;
photoType = 'Nice Shot';
}
}
// unknown tag 88 length 41
movieClip 517 {
instance of movieClip 207 {
onClipEvent (construct) {
spellName = 'é”ç ²ã€Œãƒ•ã‚¡ã‚¤ãƒŠãƒ«ãƒžã‚¹ã‚¿ãƒ¼ã‚¹ãƒ‘ãƒ¼ã‚¯ã€';
score = 2;
}
}
}
instance of movieClip 197 {
onClipEvent (construct) {
score = 2;
photoType = 'ikemen Shot';
}
}
movieClip 526 {
instance of movieClip 197 {
onClipEvent (construct) {
score = 2;
photoType = 'ikemen Shot';
}
}
}
movieClip 542 {
}
movieClip 554 {
}
movieClip 558 {
}
movieClip 560 {
instance of movieClip 197 {
onClipEvent (construct) {
score = 1.5;
photoType = 'ikemen Shot';
}
}
}
movieClip 579 {
}
movieClip 596 {
}
movieClip 600 {
}
instance of movieClip 197 {
onClipEvent (construct) {
score = 0;
photoType = 'oreyome Shot';
}
}
instance of movieClip 197 {
onClipEvent (construct) {
score = 2.5;
photoType = 'smile Shot';
}
}
movieClip 619 {
}
// unknown tag 88 length 26
button 647 {
on (release) {
gotoAndPlay(3);
}
}
frame 5250 {
stop();
}