Combined Code
movieClip 20 pointAni_mc {
frame 9 {
this.stop();
}
}
frame 1 {
function jumpTitle(obj, item) {
_root.gotoAndPlay('title');
}
my_cm = new ContextMenu();
menuItem1_cm = new ContextMenuItem('タイトルã¸æˆ»ã‚‹', jumpTitle);
my_cm.customItems.push(menuItem1_cm);
my_cm.hideBuiltInItems();
_root.menu = my_cm;
}
// unknown tag 88 length 80
button 27 {
on (release) {
getURL('http://schoollove.jp/sg.htm', '_blank');
}
}
button 32 {
on (release) {
getURL('http://schoollove.jp/iha.htm', '_blank');
}
}
// unknown tag 88 length 73
frame 78 {
renchan = 0;
}
frame 78 {
voiceVol = 100;
i = 0;
while (i < 4) {
this['low' + i] = new Sound();
this['low' + i].attachSound(['L' + i]);
this['high' + i] = new Sound();
this['high' + i].attachSound(['H' + i]);
++i;
}
}
movieClip 46 {
}
movieClip 53 {
}
// unknown tag 88 length 67
// unknown tag 88 length 83
// unknown tag 88 length 78
button 68 {
on (release) {
noteNum = _root.voiceVol / 20;
_parent['note' + noteNum].gotoAndStop('noteOff');
this.gotoAndStop('noteOn');
_root.voiceVol = myNum;
_root.low0.setVolume(_root.voiceVol);
_root.low0.start(0, 1);
trace(_root.voiceVol);
}
}
movieClip 70 {
frame 1 {
this.stop();
}
}
button 73 {
on (release) {
_root.play();
}
}
movieClip 75 {
instance note1 of movieClip 70 {
onClipEvent (load) {
myNum = 20;
}
}
instance note2 of movieClip 70 {
onClipEvent (load) {
myNum = 40;
}
}
instance note3 of movieClip 70 {
onClipEvent (load) {
myNum = 60;
}
}
instance note4 of movieClip 70 {
onClipEvent (load) {
myNum = 80;
}
}
instance note5 of movieClip 70 {
onClipEvent (load) {
myNum = 100;
}
}
}
instance of movieClip 75 {
onClipEvent (load) {
_root.stop();
this['note' + _root.voiceVol / 20].gotoAndStop('noteOn');
}
}
frame 80 {
snap0 = new Sound();
snap1 = new Sound();
spank0 = new Sound();
spank1 = new Sound();
se0 = new Sound();
se3 = new Sound();
se9 = new Sound();
se10 = new Sound();
se12 = new Sound();
snap0.attachSound('snap0');
snap1.attachSound('snap1');
spank0.attachSound('spank0');
spank1.attachSound('spank1');
se0.attachSound('se0');
se3.attachSound('se3');
se9.attachSound('se9');
se10.attachSound('se10');
se12.attachSound('se12');
snap0.setVolume(voiceVol);
snap1.setVolume(voiceVol);
spank0.setVolume(voiceVol);
spank1.setVolume(voiceVol);
se0.setVolume(voiceVol);
se3.setVolume(voiceVol);
se9.setVolume(voiceVol);
se10.setVolume(voiceVol);
se12.setVolume(voiceVol);
}
movieClip 81 {
frame 1 {
this.stop();
}
}
movieClip 83 {
}
movieClip 84 {
frame 9 {
this.gotoAndPlay(1);
}
}
movieClip 87 {
frame 6 {
this.stop();
}
}
movieClip 89 {
}
movieClip 90 {
frame 9 {
this.gotoAndPlay(1);
}
}
movieClip 91 {
frame 7 {
this.stop();
}
}
movieClip 92 {
frame 7 {
this.stop();
}
}
movieClip 93 {
instance light of movieClip 84 {
onClipEvent (load) {
this.gotoAndPlay(_parent._parent.led0.light._currentframe);
}
}
instance light of movieClip 90 {
onClipEvent (load) {
this.gotoAndPlay(_parent._parent.led0.light._currentframe);
}
}
instance of movieClip 84 {
onClipEvent (load) {
this.gotoAndPlay(_parent._parent.ledFrame);
}
}
instance of movieClip 90 {
onClipEvent (load) {
this.gotoAndPlay(_parent._parent.ledFrame);
}
}
}
movieClip 99 {
}
movieClip 101 {
frame 1 {
this.stop();
}
instance led0 of movieClip 93 {
onClipEvent (load) {
function lighting(x) {
++x;
this.gotoAndStop(x);
}
this.stop();
}
}
instance led1 of movieClip 93 {
onClipEvent (load) {
function lighting(x) {
++x;
this.gotoAndStop(x);
}
this.stop();
}
}
instance led2 of movieClip 93 {
onClipEvent (load) {
function lighting(x) {
++x;
this.gotoAndStop(x);
}
this.stop();
}
}
instance led3 of movieClip 93 {
onClipEvent (load) {
function lighting(x) {
++x;
this.gotoAndStop(x);
}
this.stop();
}
}
instance led4 of movieClip 93 {
onClipEvent (load) {
function lighting(x) {
++x;
this.gotoAndStop(x);
}
this.stop();
}
}
instance led5 of movieClip 93 {
onClipEvent (load) {
function lighting(x) {
++x;
this.gotoAndStop(x);
}
this.stop();
}
}
instance led6 of movieClip 93 {
onClipEvent (load) {
function lighting(x) {
++x;
this.gotoAndStop(x);
}
this.stop();
}
}
instance led7 of movieClip 93 {
onClipEvent (load) {
function lighting(x) {
++x;
this.gotoAndStop(x);
}
this.stop();
}
}
instance led8 of movieClip 93 {
onClipEvent (load) {
function lighting(x) {
++x;
this.gotoAndStop(x);
}
this.stop();
}
}
frame 2 {
_parent.se10.start(0, 1);
}
frame 3 {
this.stop();
}
frame 5 {
this.gotoAndStop(1);
}
frame 6 {
_root.stop();
_root.freeze = 1;
if (_root.hasteFlag) {
this.gotoAndPlay('haste');
}
}
frame 37 {
compareDat = '';
j = 0;
while (j < 9) {
_root.ledPattern[j] = Number(this['led' + j]._currentframe - 1);
compareDat += this['led' + j]._currentframe - 1;
++j;
}
k = 1;
while (k <= _root.cutNum) {
if (compareDat == _root.hitData[k]) {
_root.cutnamber = k;
reachFlag = 0;
lastTime = 0;
_root.cutin.play();
_parent.gotoAndPlay(['produc' + aniNum]);
hitFlag = 1;
}
++k;
}
if (hitFlag == 0) {
_root.freeze = 0;
_root.play();
this.reset();
}
}
}
instance counter of movieClip 101 {
onClipEvent (load) {
function counts(x) {
this['led' + currentNum].lighting(x);
++currentNum;
if (currentNum == 4) {
ledMemory = '';
j = 0;
while (j < 4) {
ledMemory += this['led' + j]._currentframe - 1;
++j;
}
k = 1;
while (k <= _root.cutNum) {
if (ledMemory == _root.hitData[k].substring(0, 4) && noticeFlag == 0) {
noticeFlag = 1;
_parent.star.play();
}
++k;
}
noticeFlag = 0;
}
if (currentNum == 5) {
ledMemory = '';
j = 0;
while (j < 5) {
ledMemory += this['led' + j]._currentframe - 1;
++j;
}
k = 1;
while (k <= _root.cutNum) {
if (ledMemory == _root.hitData[k].substring(0, 5) && noticeFlag == 0) {
noticeFlag = 1;
_parent.se9.start(0, 1);
i = 0;
while (i < 9) {
this['led' + i].flashLight.play();
++i;
}
_root.sexualStatus = 1;
}
++k;
}
noticeFlag = 0;
}
if (currentNum == 6) {
ledMemory = '';
j = 0;
while (j < 6) {
ledMemory += this['led' + j]._currentframe - 1;
++j;
}
k = 1;
while (k <= _root.cutNum) {
if (ledMemory == _root.hitData[k].substring(0, 6) && noticeFlag == 0) {
noticeFlag = 1;
_parent.laser.play();
}
++k;
}
noticeFlag = 0;
}
if (currentNum == 7) {
a = '';
j = 0;
while (j < 7) {
a += this['led' + j]._currentframe - 1;
++j;
}
k = 1;
while (k <= _root.cutNum) {
if (a == _root.hitData[k].substring(0, 7)) {
reachFlag = 1;
this.play();
_root.cutin._visible = true;
_root.cutin.gotoAndPlay(1);
cutinNum = 1;
}
++k;
}
lastTime = a;
}
if (currentNum > 8) {
++_root.save_so.data.trial;
if (reachFlag == 1) {
this.gotoAndPlay('waitTime');
} else {
this.reset();
}
}
}
function reset() {
_root.hasteTimer.hasteDec();
if (reachFlag == 1) {
reachFlag = 0;
this.play();
_root.cutin.play();
}
_parent.se3.start(0, 1);
j = 0;
while (j < 9) {
if (this['led' + j]._currentframe == 2 || this['led' + j]._currentframe == 3) {
this['led' + j].lighting(this['led' + j]._currentframe + 3);
}
++j;
}
currentNum = 0;
_root.sexualStatus = 0;
hitFlag = 0;
}
aniNum = 2;
ledFrame = 1;
this.stop();
cutinNum = 0;
currentNum = 0;
noticeFlag = 0;
reachFlag = 0;
hitFlag = 0;
}
}
// unknown tag 88 length 50
// unknown tag 88 length 182
movieClip 110 {
frame 1 {
this.stop();
}
frame 10 {
this.stop();
}
frame 19 {
this.stop();
}
frame 28 {
this.stop();
}
}
instance judge of movieClip 110 {
onClipEvent (load) {
function popUp(x) {
if (_root.freeze == 0) {
switch (x) {
case 'yeah':
this.gotoAndPlay('yeah');
break;
case 'hit':
this.gotoAndPlay('hit');
break;
case 'miss':
this.gotoAndPlay('miss');
break;
default:
}
}
}
}
}
// unknown tag 88 length 64
frame 81 {
limitTimes = 50;
powerFlag = 0;
ledPattern = [];
cutNum = 16;
sexualStatus = 0;
freeze = 0;
voiceFlag = true;
randNum = 0;
randNum2 = 0;
kakuteiFlag = false;
++renchan;
if (renchan > save_so.data.maxRenchan) {
save_so.data.maxRenchan = renchan;
}
hitData = [];
repetitionFlag = 1;
i = 1;
while (i <= cutNum) {
while (repetitionFlag == 1) {
repetitionFlag = 0;
hitData[i] = '';
j = 0;
while (j < 6) {
hitData[i] += String(Math.floor(Math.random() * 2) + 1);
++j;
}
k = i - 1;
while (k > 0) {
if (hitData[k].substring(0, 6) == hitData[i]) {
repetitionFlag = 1;
break;
}
--k;
}
}
hitData[i] = hitData[i] + String(Math.floor(Math.random() * 2) + 1) + String(Math.floor(Math.random() * 2) + 1);
trace(i + '=' + hitData[i]);
repetitionFlag = 1;
++i;
}
}
frame 81 {
i = 0;
while (i < 4) {
this['low' + i].setVolume(voiceVol);
this['high' + i].setVolume(voiceVol);
++i;
}
}
frame 82 {
i = 0;
while (i < 4) {
this['low' + i].onSoundComplete = function () {
voiceFlag = true;
};
this['high' + i].onSoundComplete = function () {
voiceFlag = true;
};
++i;
}
}
movieClip 116 {
frame 5 {
this.gotoAndPlay(1);
}
}
movieClip 117 {
frame 1 {
this.stop();
}
frame 2 {
_parent.se0.start(0, 1);
}
}
movieClip 119 {
frame 1 {
this.stop();
}
frame 2 {
_parent.se12.start(0, 1);
}
}
movieClip 123 {
}
movieClip 124 {
frame 2 {
this.stop();
}
frame 3 {
this.stop();
this._visible = false;
}
}
instance cutin of movieClip 124 {
onClipEvent (load) {
this.stop();
this._visible = false;
}
}
button 125 {
on (press) {
judge.popUp('yeah');
if (renchan > 2) {
rush.play();
}
powerFlag = Math.floor(Math.random() * 2);
switch (powerFlag) {
case 0:
r = Math.floor(Math.random() * 2);
this['snap' + r].start(0, 1);
this.gotoAndPlay('beat');
break;
case 1:
r = Math.floor(Math.random() * 2);
this['spank' + r].start(0, 1);
this.gotoAndPlay('impact');
break;
default:
}
}
}
frame 92 {
this.stop();
rush.stop();
}
frame 93 {
}
button 129 {
on (press) {
judge.popUp('miss');
}
}
frame 94 {
counter.counts(1);
}
frame 94 {
if (voiceFlag) {
while (randNum == randNum2) {
randNum = Math.floor(Math.random() * 4);
}
randNum2 = randNum;
switch (sexualStatus) {
case 0:
this['low' + randNum].start(0, 1);
voiceFlag = false;
break;
case 1:
this['high' + randNum].start(0, 1);
voiceFlag = false;
break;
default:
}
}
}
button 139 {
on (press) {
judge.popUp('yeah');
if (renchan > 2) {
rush.play();
}
powerFlag = Math.floor(Math.random() * 2);
switch (powerFlag) {
case 0:
r = Math.floor(Math.random() * 2);
this['snap' + r].start(0, 1);
this.gotoAndPlay('beat');
if (kakuteiFlag) {
kakukaku_mc.beat();
}
break;
case 1:
r = Math.floor(Math.random() * 2);
this['spank' + r].start(0, 1);
this.gotoAndPlay('impact');
if (kakuteiFlag) {
kakukaku_mc.impact();
}
break;
default:
}
}
}
frame 98 {
this.stop();
rush.stop();
}
button 141 {
on (press) {
judge.popUp('hit');
if (renchan > 2) {
rush.play();
}
powerFlag = Math.floor(Math.random() * 2);
switch (powerFlag) {
case 0:
r = Math.floor(Math.random() * 2);
this['snap' + r].start(0, 1);
this.gotoAndPlay('beat');
if (kakuteiFlag) {
kakukaku_mc.beat();
}
break;
case 1:
r = Math.floor(Math.random() * 2);
this['spank' + r].start(0, 1);
this.gotoAndPlay('impact');
if (kakuteiFlag) {
kakukaku_mc.impact();
}
break;
default:
}
}
}
frame 99 {
}
frame 100 {
counter.counts(2);
}
frame 100 {
if (voiceFlag) {
while (randNum == randNum2) {
randNum = Math.floor(Math.random() * 4);
}
randNum2 = randNum;
switch (sexualStatus) {
case 0:
this['low' + randNum].start(0, 1);
voiceFlag = false;
break;
case 1:
this['high' + randNum].start(0, 1);
voiceFlag = false;
break;
default:
}
}
}
frame 104 {
this.stop();
rush.stop();
}