Combined Code
frame 1 {
this.stop();
}
button 6 {
on (release) {
this._quality = 'low';
}
}
button 9 {
on (release) {
this._quality = 'medium';
}
}
button 12 {
on (release) {
this._quality = 'high';
}
}
button 15 {
on (release) {
_parent.gotoAndPlay(6);
move_Off._visible = true;
move_On._visible = false;
}
}
button 16 {
on (release) {
_parent.gotoAndPlay(343);
move_Off._visible = true;
move_On._visible = false;
}
}
button 17 {
on (release) {
_parent.gotoAndPlay(685);
move_Off._visible = true;
move_On._visible = false;
}
}
button 18 {
on (release) {
_parent.gotoAndPlay(1278);
move_Off._visible = true;
move_On._visible = false;
}
}
button 19 {
on (release) {
_parent.gotoAndPlay(1784);
move_Off._visible = true;
move_On._visible = false;
}
}
button 20 {
on (release) {
_parent.gotoAndPlay(2122);
move_Off._visible = true;
move_On._visible = false;
}
}
button 21 {
on (release) {
_parent.gotoAndPlay(3137);
move_Off._visible = true;
move_On._visible = false;
}
}
button 22 {
on (release) {
_parent.gotoAndPlay(3566);
move_Off._visible = true;
move_On._visible = false;
}
}
button 23 {
on (release) {
_parent.gotoAndPlay(3901);
move_Off._visible = true;
move_On._visible = false;
}
}
button 26 {
on (release) {
_parent.gotoAndStop(1);
}
}
button 27 {
on (release) {
_parent.gotoAndPlay(2460);
move_Off._visible = true;
move_On._visible = false;
}
}
button 31 {
on (release) {
_parent.play();
move_Off._visible = true;
move_On._visible = false;
}
}
movieClip 32 {
frame 1 {
lyricOff_mc._visible = false;
}
}
instance of movieClip 32 {
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root._ymouse > 30 || _root.isBunkaMode) {
this._visible = false;
} else {
this._visible = true;
}
}
}
button 36 {
on (release) {
_parent.mask_mc.gotoAndStop(1);
lyricOff_mc._visible = false;
lyricOn_mc._visible = true;
}
}
button 40 {
on (release) {
_parent.mask_mc.gotoAndStop(2);
lyricOff_mc._visible = true;
lyricOn_mc._visible = false;
}
}
movieClip 41 {
}
instance of movieClip 41 {
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root._ymouse > 30 || _root.isBunkaMode) {
this._visible = false;
} else {
this._visible = true;
}
}
}
movieClip 42 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 46 {
}
button 49 {
on (release) {
_parent.gotoAndPlay(5);
}
}
movieClip 50 {
frame 10 {
this.stop();
}
}
movieClip 53 {
frame 1 {
_parent.isBunkaMode = false;
var LC = new LocalConnection();
_global.spellCardPointList = new Array();
_global.niceShotPointList = new Array();
_global.partRoot = _parent;
this._visible = false;
LC.connect('mesopota02_mainContents');
this.stop();
LC.init = function () {
LC.playMovie = function (frame) {
_parent.gotoAndPlay(frame);
trace('[LocalConnection]playMovie:' + frame);
};
LC.playBunkachoMovie = function (frame, endFrame) {
_parent.gotoAndPlay(frame);
_parent.onEnterFrame = function () {
if (_parent._currentframe >= endFrame) {
_parent.stop();
}
};
_parent.isBunkaMode = true;
trace('[LocalConnection]playBunkachoMovie:' + frame);
};
LC.stopMovie = function () {
_parent.stop();
trace('[LocalConnection]stopMovie:');
};
LC.bunkachoCalc = function (rx, ry, rw, rh) {
var v7 = new Array();
var v6 = 1;
i = 0;
while (i < _global.niceShotPointList.length) {
v6 *= _global.niceShotPointList[i].isInRectangle(rx, ry, rw, rh);
++i;
}
v6 = Math.floor(v6 * 10) / 10;
i = 0;
while (i < _global.spellCardPointList.length) {
if (_global.spellCardPointList[i].isInRectangle(rx, ry, rw, rh)) {
v7.push(_global.spellCardPointList[i].spellCardName);
}
++i;
}
trace('[LocalConnection]bunkachoCalc:');
LC.send('mesopota02_interface_flash', 'recieveBonus', v6, v7);
};
LC.disconnectFlash = function () {
trace('[LocalConnection]disconnectFlash:');
LC.close();
};
};
LC.playMovie = function (frame) {};
LC.stopMovie = function () {};
LC.playBunkachoMovie = function (frame, endFrame) {};
LC.bunkachoCalcNiceShot = function (rx, ry, rw, rh) {};
LC.disconnectFlash = function () {};
_parent.onUnload = function () {
trace('[UNLOAD]');
_parent.stopAllSounds();
LC.close();
};
}
}
button 56 {
on (release) {
_parent.stop();
move_Off._visible = false;
move_On._visible = true;
}
}
movieClip 57 {
frame 1 {
lyricOff_mc._visible = false;
}
}
instance panel_mc of movieClip 57 {
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root._ymouse > 30 || _root.isBunkaMode) {
this._visible = false;
} else {
this._visible = true;
}
}
}
movieClip 139 {
frame 1 {
function isInRectangle(rx, ry, rw, rh) {
var v3 = this.getBounds(_global.partRoot);
if (v3.xMin > rx && v3.yMin > ry && v3.xMax < rx + rw && v3.yMax < ry + rh) {
return niceShotScore;
} else {
return 1;
}
}
this._visible = false;
existsInList = false;
this.niceShotScore = 2;
i = 0;
while (i < _global.niceShotPointList.length) {
if (_global.niceShotPointList[i] == this) {
existsInList = true;
break;
}
++i;
}
if (!existsInList) {
_global.niceShotPointList.push(this);
}
this.onUnload = function () {
i = 0;
while (i < _global.niceShotPointList.length) {
if (_global.niceShotPointList[i] == this) {
_global.niceShotPointList.splice(i, 1);
break;
}
++i;
}
};
}
}
button 170 {
on (release) {
_parent.gotoAndPlay(6);
move_Off._visible = true;
move_On._visible = false;
}
}
movieClip 171 {
frame 1 {
lyricOff_mc._visible = false;
}
}
instance of movieClip 171 {
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root._ymouse > 30 || _root.isBunkaMode) {
this._visible = false;
} else {
this._visible = true;
}
}
}
movieClip 173 {
frame 1 {
function isInRectangle(rx, ry, rw, rh) {
var v3 = this.getBounds(_global.partRoot);
if (v3.xMin > rx && v3.yMin > ry && v3.xMax < rx + rw && v3.yMax < ry + rh) {
return niceShotScore;
} else {
return 1;
}
}
this._visible = false;
existsInList = false;
this.niceShotScore = 1.5;
i = 0;
while (i < _global.niceShotPointList.length) {
if (_global.niceShotPointList[i] == this) {
existsInList = true;
break;
}
++i;
}
if (!existsInList) {
_global.niceShotPointList.push(this);
}
this.onUnload = function () {
i = 0;
while (i < _global.niceShotPointList.length) {
if (_global.niceShotPointList[i] == this) {
_global.niceShotPointList.splice(i, 1);
break;
}
++i;
}
};
}
}
button 305 {
on (release) {
_parent.gotoAndPlay(343);
move_Off._visible = true;
move_On._visible = false;
}
}
movieClip 306 {
frame 1 {
lyricOff_mc._visible = false;
}
}
instance of movieClip 306 {
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root._ymouse > 30 || _root.isBunkaMode) {
this._visible = false;
} else {
this._visible = true;
}
}
}
movieClip 462 {
frame 1 {
function isInRectangle(rx, ry, rw, rh) {
var v3 = this.getBounds(_global.partRoot);
if (v3.xMin > rx && v3.yMin > ry && v3.xMax < rx + rw && v3.yMax < ry + rh) {
return true;
} else {
return false;
}
}
var spellCardName = 'å¾…å—「ãƒãƒãƒ“ット ニトリã€';
trace('è¨ç½®ã‚¹ãƒšãƒ«ã‚«ãƒ¼ãƒ‰...' + spellCardName);
this._visible = false;
existsInList = false;
i = 0;
while (i < _global.spellCardPointList.length) {
if (_global.spellCardPointList[i] == this) {
existsInList = true;
break;
}
++i;
}
if (!existsInList) {
_global.spellCardPointList.push(this);
}
this.onUnload = function () {
i = 0;
while (i < _global.spellCardPointList.length) {
if (_global.spellCardPointList[i] == this) {
_global.spellCardPointList.splice(i, 1);
break;
}
++i;
}
};
}
}
button 598 {
on (release) {
_parent.gotoAndPlay(685);
move_Off._visible = true;
move_On._visible = false;
}
}
movieClip 599 {
frame 1 {
lyricOff_mc._visible = false;
}
}
instance of movieClip 599 {
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root._ymouse > 30 || _root.isBunkaMode) {
this._visible = false;
} else {
this._visible = true;
}
}
}
movieClip 629 {
frame 1 {
function isInRectangle(rx, ry, rw, rh) {
var v3 = this.getBounds(_global.partRoot);
if (v3.xMin > rx && v3.yMin > ry && v3.xMax < rx + rw && v3.yMax < ry + rh) {
return niceShotScore;
} else {
return 1;
}
}
this._visible = false;
existsInList = false;
this.niceShotScore = 1.8;
i = 0;
while (i < _global.niceShotPointList.length) {
if (_global.niceShotPointList[i] == this) {
existsInList = true;
break;
}
++i;
}
if (!existsInList) {
_global.niceShotPointList.push(this);
}
this.onUnload = function () {
i = 0;
while (i < _global.niceShotPointList.length) {
if (_global.niceShotPointList[i] == this) {
_global.niceShotPointList.splice(i, 1);
break;
}
++i;
}
};
}
}
button 801 {
on (release) {
_parent.gotoAndPlay(3566);
move_Off._visible = true;
move_On._visible = false;
}
}
button 802 {
on (release) {
_parent.gotoAndPlay(1278);
move_Off._visible = true;
move_On._visible = false;
}
}
movieClip 803 {
frame 1 {
lyricOff_mc._visible = false;
}
}
instance of movieClip 803 {
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root._ymouse > 30 || _root.isBunkaMode) {
this._visible = false;
} else {
this._visible = true;
}
}
}
button 901 {
on (release) {
_parent.gotoAndPlay(1784);
move_Off._visible = true;
move_On._visible = false;
}
}
movieClip 902 {
frame 1 {
lyricOff_mc._visible = false;
}
}
instance of movieClip 902 {
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root._ymouse > 30 || _root.isBunkaMode) {
this._visible = false;
} else {
this._visible = true;
}
}
}
movieClip 931 {
frame 1 {
function isInRectangle(rx, ry, rw, rh) {
var v3 = this.getBounds(_global.partRoot);
if (v3.xMin > rx && v3.yMin > ry && v3.xMax < rx + rw && v3.yMax < ry + rh) {
return true;
} else {
return false;
}
}
var spellCardName = '集åˆã€ŒãŠç–²ã‚Œæ§˜ã§ã—ãŸã€';
trace('è¨ç½®ã‚¹ãƒšãƒ«ã‚«ãƒ¼ãƒ‰...' + spellCardName);
this._visible = false;
existsInList = false;
i = 0;
while (i < _global.spellCardPointList.length) {
if (_global.spellCardPointList[i] == this) {
existsInList = true;
break;
}
++i;
}
if (!existsInList) {
_global.spellCardPointList.push(this);
}
this.onUnload = function () {
i = 0;
while (i < _global.spellCardPointList.length) {
if (_global.spellCardPointList[i] == this) {
_global.spellCardPointList.splice(i, 1);
break;
}
++i;
}
};
}
}
button 1017 {
on (release) {
_parent.gotoAndPlay(2122);
move_Off._visible = true;
move_On._visible = false;
}
}
movieClip 1018 {
frame 1 {
lyricOff_mc._visible = false;
}
}
instance of movieClip 1018 {
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root._ymouse > 30 || _root.isBunkaMode) {
this._visible = false;
} else {
this._visible = true;
}
}
}
button 1264 {
on (release) {
_parent.gotoAndPlay(2460);
move_Off._visible = true;
move_On._visible = false;
}
}
movieClip 1265 {
frame 1 {
lyricOff_mc._visible = false;
}
}
instance of movieClip 1265 {
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root._ymouse > 30 || _root.isBunkaMode) {
this._visible = false;
} else {
this._visible = true;
}
}
}
movieClip 1337 {
frame 1 {
function isInRectangle(rx, ry, rw, rh) {
var v3 = this.getBounds(_global.partRoot);
if (v3.xMin > rx && v3.yMin > ry && v3.xMax < rx + rw && v3.yMax < ry + rh) {
return true;
} else {
return false;
}
}
var spellCardName = 'å¾…å—「黒緑サボテンã€';
trace('è¨ç½®ã‚¹ãƒšãƒ«ã‚«ãƒ¼ãƒ‰...' + spellCardName);
this._visible = false;
existsInList = false;
i = 0;
while (i < _global.spellCardPointList.length) {
if (_global.spellCardPointList[i] == this) {
existsInList = true;
break;
}
++i;
}
if (!existsInList) {
_global.spellCardPointList.push(this);
}
this.onUnload = function () {
i = 0;
while (i < _global.spellCardPointList.length) {
if (_global.spellCardPointList[i] == this) {
_global.spellCardPointList.splice(i, 1);
break;
}
++i;
}
};
}
}
button 1426 {
on (release) {
_parent.gotoAndPlay(3137);
move_Off._visible = true;
move_On._visible = false;
}
}
movieClip 1427 {
frame 1 {
lyricOff_mc._visible = false;
}
}
instance of movieClip 1427 {
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root._ymouse > 30 || _root.isBunkaMode) {
this._visible = false;
} else {
this._visible = true;
}
}
}
button 1625 {
on (release) {
_parent.gotoAndPlay(3566);
move_Off._visible = true;
move_On._visible = false;
}
}
movieClip 1626 {
frame 1 {
lyricOff_mc._visible = false;
}
}
instance of movieClip 1626 {
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root._ymouse > 30 || _root.isBunkaMode) {
this._visible = false;
} else {
this._visible = true;
}
}
}
frame 4350 {
stop();
var _lc = new LocalConnection();
_lc.send('mesopota02_interface_flash', 'purchaceSpellCard', '後書「オプティカルセãƒãƒ•ã‚¡ãƒ³ã€');
}
button 1711 {
on (release) {
_parent.gotoAndPlay(3901);
move_Off._visible = true;
move_On._visible = false;
}
}
button 1712 {
on (release) {
_parent.play(6);
move_Off._visible = true;
move_On._visible = false;
}
}
movieClip 1713 {
frame 1 {
lyricOff_mc._visible = false;
}
}
instance of movieClip 1713 {
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root._ymouse > 30 || _root.isBunkaMode) {
this._visible = false;
} else {
this._visible = true;
}
}
}
movieClip 1715 {
}
button 1718 {
on (release) {
gotoAndPlay(6);
}
}