Combined Code
movieClip 2 {
}
movieClip 4 {
}
movieClip 6 {
}
movieClip 8 {
}
movieClip 10 {
}
movieClip 12 {
}
movieClip 14 {
}
movieClip 16 {
}
movieClip 17 Eye_03_mc {
frame 1 {
stop();
}
frame 19 {
gotoAndStop(1);
}
}
movieClip 19 {
}
movieClip 21 {
}
movieClip 23 {
}
movieClip 24 Eye_02_mc {
frame 20 {
gotoAndStop(1);
}
}
frame 1 {
kizai_N = 1;
var se001 = new Sound(this);
se001.attachSound('track011_break');
se001.setVolume(120);
var se002 = new Sound(this);
se002.attachSound('bgm');
se002.setVolume(120);
}
frame 3 {
se001.start(0, 100);
startbu.onRelease = function () {
_root.gotoAndPlay(5);
};
stop();
}
// unknown tag 88 length 90
frame 5 {
se001.stop();
}
movieClip 48 {
}
movieClip 51 {
}
frame 125 {
se002.start(0, 100);
var time = getTimer();
var time2 = getTimer();
var time3 = getTimer();
var facetime = 1000;
var facetime2 = 4000;
var facetime3 = 2000;
var rand_N = 0;
rDrag_flag = false;
lDrag_flag = false;
time_flag = false;
time2_flag = false;
time3_flag = false;
facer_flag = false;
facel_flag = false;
onMouseMove = function () {
updateAfterEvent();
};
tr.onPress = function () {
this.gotoAndStop(2);
tl.gotoAndStop(2);
click_r.gotoAndStop(2);
click_l.gotoAndStop(2);
rm.gotoAndStop(2);
this.startDrag(true);
rDrag_flag = true;
};
tr.onMouseMove = function () {
if (rDrag_flag) {
if (!time_flag && !facer_flag) {
facer.gotoAndStop(2);
facer_flag = true;
time_flag = true;
time = getTimer();
}
updateAfterEvent();
if (this._droptarget == '/r1') {
rm.gotoAndStop(4);
} else {
if (this._droptarget == '/r3') {
rm.gotoAndStop(3);
} else {
if (this._droptarget == '/rc' || this._droptarget == '/r2' || this._droptarget == '/r4') {
rm.gotoAndStop(2);
} else {
this.gotoAndStop(1);
tl.gotoAndStop(1);
click_r.gotoAndStop(1);
click_l.gotoAndStop(1);
rm.gotoAndStop(1);
this._x = 154.5;
this._y = 316.45;
time_flag = false;
time2_flag = false;
time3_flag = false;
facer.gotoAndStop(1);
facer_flag = false;
stopDrag();
if (rDrag_flag) {
rDrag_flag = false;
gotoAndPlay('migiyure');
}
}
}
}
}
};
tr.onMouseUp = function () {
this.gotoAndStop(1);
tl.gotoAndStop(1);
click_r.gotoAndStop(1);
click_l.gotoAndStop(1);
rm.gotoAndStop(1);
this._x = 154.5;
this._y = 316.45;
time_flag = false;
time2_flag = false;
time3_flag = false;
facer.gotoAndStop(1);
facer_flag = false;
stopDrag();
if (rDrag_flag) {
rDrag_flag = false;
gotoAndPlay('migiyure');
}
};
tl.onPress = function () {
this.gotoAndStop(2);
tr.gotoAndStop(2);
click_r.gotoAndStop(2);
click_l.gotoAndStop(2);
lm.gotoAndStop(2);
this.startDrag(true);
lDrag_flag = true;
};
tl.onMouseMove = function () {
if (lDrag_flag) {
if (!time_flag && !facel_flag) {
facel.gotoAndStop(2);
facel_flag = true;
time_flag = true;
time = getTimer();
}
updateAfterEvent();
if (this._droptarget == '/l1') {
lm.gotoAndStop(6);
} else {
if (this._droptarget == '/l2') {
lm.gotoAndStop(3);
} else {
if (this._droptarget == '/l3') {
lm.gotoAndStop(4);
} else {
if (this._droptarget == '/l4') {
lm.gotoAndStop(5);
} else {
if (this._droptarget == '/lc') {
lm.gotoAndStop(2);
} else {
this.gotoAndStop(1);
tr.gotoAndStop(1);
click_r.gotoAndStop(1);
click_l.gotoAndStop(1);
lm.gotoAndStop(1);
this._x = 589.25;
this._y = 314.45;
time_flag = false;
time2_flag = false;
time3_flag = false;
facel.gotoAndStop(1);
facel_flag = false;
stopDrag();
if (lDrag_flag) {
lDrag_flag = false;
gotoAndPlay('hidariyure');
}
}
}
}
}
}
}
};
tl.onMouseUp = function () {
this.gotoAndStop(1);
tr.gotoAndStop(1);
click_r.gotoAndStop(1);
click_l.gotoAndStop(1);
lm.gotoAndStop(1);
this._x = 589.25;
this._y = 314.45;
time_flag = false;
time2_flag = false;
time3_flag = false;
facel.gotoAndStop(1);
facel_flag = false;
stopDrag();
if (lDrag_flag) {
lDrag_flag = false;
gotoAndPlay('hidariyure');
}
};
onEnterFrame = function () {
if (lDrag_flag) {
r1.visible = false;
r2.visible = false;
r3.visible = false;
r4.visible = false;
rc.visible = false;
r1.alpha = 0;
r2.alpha = 0;
r3.alpha = 0;
r4.alpha = 0;
rc.alpha = 0;
} else {
r1.visible = true;
r2.visible = true;
r3.visible = true;
r4.visible = true;
rc.visible = true;
}
if (rDrag_flag) {
l1.visible = false;
l2.visible = false;
l3.visible = false;
l4.visible = false;
lc.visible = false;
l1.alpha = 0;
l2.alpha = 0;
l3.alpha = 0;
l4.alpha = 0;
lc.alpha = 0;
} else {
l1.visible = true;
l2.visible = true;
l3.visible = true;
l4.visible = true;
lc.visible = true;
}
if (kizai_N == 2) {
kizai.gotoAndStop(2);
} else {
if (kizai_N == 3) {
kizai.gotoAndStop(3);
} else {
kizai.gotoAndStop(1);
}
}
if (time_flag) {
if (getTimer() - time > facetime) {
time_flag = false;
time2_flag = true;
time2 = getTimer();
facel.gotoAndStop(1);
facer.gotoAndStop(1);
}
}
if (time2_flag) {
if (getTimer() - time2 > facetime2) {
if (facer_flag || facel_flag) {
time2_flag = false;
time3_flag = true;
time3 = getTimer();
}
}
}
if (time3_flag) {
if (facer_flag) {
facer.gotoAndStop(2);
rand_N = int(random(5));
switch (rand_N) {
case 1:
facer.eye.gotoAndStop(1);
facer.kuti.gotoAndPlay(2);
case 2:
facer.eye.gotoAndStop(2);
facer.kuti.gotoAndPlay(2);
case 3:
facer.eye.gotoAndStop(4);
facer.kuti.gotoAndPlay(47);
}
facer.eye.gotoAndStop(6);
facer.kuti.gotoAndPlay(47);
}
if (facel_flag) {
facel.gotoAndStop(2);
rand_N = int(random(5));
switch (rand_N) {
case 1:
facel.eye.gotoAndStop(1);
facel.kuti.gotoAndPlay(2);
case 2:
facel.eye.gotoAndStop(2);
facel.kuti.gotoAndPlay(2);
case 3:
facel.eye.gotoAndStop(4);
facel.kuti.gotoAndPlay(47);
}
facel.eye.gotoAndStop(6);
facel.kuti.gotoAndPlay(47);
}
if (getTimer() - time3 > facetime3) {
time3_flag = false;
time2_flag = true;
time2 = getTimer();
facel.gotoAndStop(1);
facer.gotoAndStop(1);
}
}
};
stop();
}
movieClip 59 {
}
movieClip 60 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
}
// unknown tag 88 length 82
movieClip 88 {
frame 1 {
stop();
}
}
movieClip 102 {
frame 1 {
stop();
}
}
movieClip 105 {
}
movieClip 119 {
frame 1 {
stop();
}
frame 45 {
gotoAndPlay(2);
}
frame 46 {
stop();
}
frame 90 {
gotoAndPlay(47);
}
}
movieClip 122 {
}
movieClip 126 {
}
movieClip 127 {
frame 1 {
stop();
}
frame 2 {
stop();
var tCnt = 0;
var tStTime = 0;
this.onEnterFrame = function () {
if (Eye_02_mc._currentframe != 1) {
return undefined;
}
var v2 = new Date();
var v1 = v2.getTime();
if (v1 - tStTime < 3000 && tCnt >= 2) {
return undefined;
}
var v3 = Math.floor(Math.random() * 100 + 1);
if (v3 <= 1) {
if (v1 - tStTime < 3000) {
++tCnt;
} else {
tCnt = 1;
tStTime = v1;
}
Eye_02_mc.gotoAndPlay(2);
}
};
}
frame 3 {
gotoAndPlay(3);
}
frame 4 {
stop();
var tCnt = 0;
var tStTime = 0;
this.onEnterFrame = function () {
if (Eye_03_mc._currentframe != 1) {
return undefined;
}
var v2 = new Date();
var v1 = v2.getTime();
if (v1 - tStTime < 3000 && tCnt >= 2) {
return undefined;
}
var v3 = Math.floor(Math.random() * 100 + 1);
if (v3 <= 1) {
if (v1 - tStTime < 3000) {
++tCnt;
} else {
tCnt = 1;
tStTime = v1;
}
Eye_03_mc.gotoAndPlay(2);
}
};
}
frame 5 {
gotoAndPlay(5);
}
frame 6 {
stop();
}
}
movieClip 130 {
}
movieClip 132 {
}
movieClip 134 {
frame 1 {
stop();
}
}
movieClip 136 {
}
movieClip 138 {
}
movieClip 140 {
}
movieClip 142 {
}
movieClip 144 {
}
movieClip 146 {
}
movieClip 148 {
}
movieClip 150 {
}
movieClip 152 {
}
movieClip 153 {
}
movieClip 155 {
frame 1 {
stop();
}
}
movieClip 156 {
frame 1 {
stop();
}
}
movieClip 159 {
}
movieClip 161 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 163 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
button 169 {
on (press) {
if (kizai_N < 3) {
++kizai_N;
} else {
kizai_N = 1;
}
}
}
button 172 {
on (press) {
rDrag_flag = false;
time_flag = false;
time2_flag = false;
facer_flag = false;
facel_flag = false;
gotoAndStop('end');
}
}
// unknown tag 88 length 79
frame 173 {
gotoAndPlay('play');
}
frame 217 {
gotoAndPlay('play');
}
button 183 {
on (press) {
gotoAndStop('play');
}
}
button 187 {
on (press) {
gotoAndStop('end2');
}
}
frame 231 {
LN_CallMacro('NotifyEndMiniGame');
}