Combined Code
movieClip 3 icon3 {
}
movieClip 6 icon2 {
}
movieClip 9 icon1 {
}
frame 1 {
stop();
}
frame 2 {
bgm_play('04');
_global.mc1 = 0;
eroero = 0;
fin_on = 0;
mes_num = 0;
loop1_on = 0;
wait0_on = 0;
wait01_on = 0;
wait1_on = 0;
wait2_on = 0;
wait3_on = 0;
wait4_sw = 0;
wait5_sw = 0;
wait_clr = function () {
_global.mc1 = 0;
if (wait1_on == 1) {
mv1.gotoAndStop(wait1_sw1);
}
if (wait2_on == 1) {
mv1.gotoAndStop(wait2_sw1);
}
loop1_on = 0;
loop1_cnt = 0;
loop2_cnt = 0;
wait0_on = 0;
wait01_on = 0;
wait1_on = 0;
wait2_on = 0;
wait3_on = 0;
wait4_sw = 0;
wait5_sw = 0;
};
wait0 = function (wait0_wait) {
if (wait0_on == 0) {
wait0_on = 1;
wait0_time = getTimer();
}
if ((getTimer() - wait0_time) / 100 > wait0_wait) {
wait0_on = 0;
gotoAndPlay(_currentframe + 1);
} else {
gotoAndPlay(_currentframe - 1);
}
};
wait01 = function (wait0_wait, num1, num2) {
if (wait01_on == 0) {
wait01_on = 1;
wait0_time = getTimer();
wait_x = num1;
if (wait_x == 0) {
wait_x = 10000;
}
wait_y = num2;
if (wait_y == 0) {
wait_y = -10000;
}
}
if ((getTimer() - wait0_time) / 100 > wait0_wait && (((740 - _parent.mv_x) / _parent.mv_z) * 100 > wait_x || (_parent.mv_y / _parent.mv_z) * 100 > wait_y)) {
wait01_on = 0;
gotoAndPlay(_currentframe + 1);
} else {
gotoAndPlay(_currentframe - 1);
}
};
wait03 = function (wait03_label, num1, num2) {
if (wait01_on == 0) {
wait01_on = 1;
wait_x = num1;
if (wait_x == 0) {
wait_x = 10000;
}
wait_y = num2;
if (wait_y == 0) {
wait_y = -10000;
}
}
if (((740 - _parent.mv_x) / _parent.mv_z) * 100 > wait_x || (_parent.mv_y / _parent.mv_z) * 100 > wait_y) {
wait01_on = 0;
gotoAndPlay(wait03_label);
}
};
wait1 = function (wait1_wait, num1, num2) {
if (wait1_on == 0) {
wait1_on = 1;
wait1_sw1 = mv1._currentframe;
wait1_sw2 = 3;
wait1_time = getTimer();
wait_x = num1;
if (wait_x == 0) {
wait_x = -10000;
}
wait_y = num2;
if (wait_y == 0) {
wait_y = -10000;
}
}
if (wait1_sw2 == 0) {
wait1_sw2 = 1;
wait1_sw2_time = getTimer();
wait1_sw2_wait = Math.random() * 2500;
mv1.gotoAndStop(wait1_sw1);
gotoAndPlay(_currentframe - 1);
} else {
if (wait1_sw2 == 3) {
wait1_sw2 = 2;
mv1.gotoAndStop(wait1_sw1 - 2);
gotoAndPlay(_currentframe - 2);
} else {
if (wait1_sw2 == 2) {
wait1_sw2 = 0;
mv1.gotoAndStop(wait1_sw1 - 1);
gotoAndPlay(_currentframe - 1);
} else {
if (getTimer() - wait1_sw2_time > wait1_sw2_wait) {
wait1_sw2 = 3;
gotoAndPlay(_currentframe - 1);
} else {
if ((getTimer() - wait1_time) / 100 < wait1_wait) {
gotoAndPlay(_currentframe - 1);
} else {
if (((740 - _parent.mv_x) / _parent.mv_z) * 100 < wait_x || (_parent.mv_y / _parent.mv_z) * 100 < wait_y) {
gotoAndPlay(_currentframe - 1);
} else {
wait1_on = 0;
mv1.gotoAndStop(wait1_sw1);
gotoAndPlay(_currentframe + 1);
}
}
}
}
}
}
};
wait2 = function (wait2_long, wait2_wait) {
if (wait2_on == 0) {
wait2_on = 1;
wait2_time = getTimer();
wait2_sw1 = mv1._currentframe;
wait2_sw2 = wait2_sw1;
}
wait2_sw2 += Math.floor(Math.random() * (wait2_long - 1)) + 1;
if (wait2_sw2 > wait2_sw1 + wait2_long - 1) {
wait2_sw2 -= wait2_long;
}
if ((getTimer() - wait2_time) / 100 > wait2_wait) {
mv1.gotoAndStop(wait2_sw1);
wait2_on = 0;
gotoAndPlay(_currentframe + 1);
} else {
mv1.gotoAndStop(wait2_sw2);
gotoAndPlay(_currentframe - 3);
}
};
wait3 = function (wait3_wait, num1, num2) {
if (wait3_on == 0) {
wait3_on = 1;
wait3_sw = 0;
wait3_time = getTimer();
wait_x = num1;
if (wait_x == 0) {
wait_x = 10000;
}
wait_y = num2;
if (wait_y == 0) {
wait_y = -10000;
}
}
if ((getTimer() - wait3_time) / 100 > wait3_wait) {
if (((740 - _parent.mv_x) / _parent.mv_z) * 100 > wait_x || (_parent.mv_y / _parent.mv_z) * 100 > wait_y) {
wait3_on = 0;
gotoAndPlay(wait3_label2);
}
} else {
if (wait3_sw == 0) {
wait3_sw = 1;
wait3_sw_time = getTimer();
wait3_sw_wait = Math.random() * 2500;
} else {
if (getTimer() - wait3_sw_time > wait3_sw_wait) {
wait3_sw = 0;
gotoAndPlay(wait3_label1);
} else {
if (wait3_sw == 2) {
wait3_sw = 0;
gotoAndPlay(wait3_label1);
}
}
}
}
};
wait4 = function (wait4_label) {
if (wait4_sw != 1) {
wait4_sw = 1;
wait4_time = getTimer();
wait4_wait = Math.random() * 2500;
} else {
if (getTimer() - wait4_time > wait4_wait) {
wait4_sw = 0;
gotoAndPlay(wait4_label);
}
}
};
wait5 = function (num1, wait5_label) {
if (wait5_sw != 1) {
wait5_sw = 1;
wait5_time = getTimer();
} else {
if ((getTimer() - wait5_time) / 100 > num1) {
wait5_sw = 0;
gotoAndPlay(wait5_label);
}
}
};
}
frame 3 {
mv1.gotoAndStop(3);
base1 = 'jp01';
}
frame 3 {
btn1.useHandCursor = false;
btn2.useHandCursor = false;
btn3.useHandCursor = false;
}
movieClip 11 {
}
button 13 {
on (rollOver) {
Mouse.hide();
attachMovie('icon1', 'icon_mv', 10, {'_x': -100, '_y': -100});
icon_mv.startDrag(true);
}
on (rollOut) {
icon_mv.removeMovieClip();
Mouse.show();
}
on (dragOut) {
_global.mc1 = 0;
icon_mv.removeMovieClip();
Mouse.show();
}
on (press) {
_global.mc1 = 1;
}
}
button 15 {
on (rollOver) {
Mouse.hide();
attachMovie('icon1', 'icon_mv', 10, {'_x': -100, '_y': -100});
icon_mv.startDrag(true);
}
on (rollOut) {
icon_mv.removeMovieClip();
Mouse.show();
}
on (dragOut) {
_global.mc1 = 0;
icon_mv.removeMovieClip();
Mouse.show();
}
on (press) {
_global.mc1 = 2;
}
}
frame 6 {
switch (mc1) {
case 1:
voice_play3('t' + Math.floor(Math.random() * 2 + 41));
wait_clr();
gotoAndPlay(27);
break;
case 2:
voice_play3('t' + Math.floor(Math.random() * 2 + 41));
wait_clr();
gotoAndPlay(27);
break;
default:
wait1(100, 0, 0);
}
}
frame 9 {
switch (mc1) {
case 1:
voice_play2('w1b' + Math.floor(Math.random() * 4 + 1));
wait_clr();
if (eroero < 20) {
eroero += 0.5;
}
gotoAndPlay(27);
break;
case 2:
voice_play3('t' + Math.floor(Math.random() * 2 + 41));
wait_clr();
if (eroero < 20) {
eroero += 1;
}
gotoAndPlay(27);
break;
default:
wait1(10, 0, -170);
}
}
frame 13 {
wait2(5, 25);
voice_play(401);
base1 = 'jp02';
}
frame 15 {
mv1.gotoAndStop(3);
wait_clr();
}
frame 18 {
base1 = 'jp03';
switch (mc1) {
case 1:
voice_play3('t' + Math.floor(Math.random() * 2 + 41));
wait_clr();
eroero += 0.5;
gotoAndPlay(27);
break;
case 2:
voice_play3('t' + Math.floor(Math.random() * 2 + 41));
wait_clr();
eroero += 1;
gotoAndPlay(27);
break;
default:
wait1(5, 0, 0);
}
}
frame 20 {
mv1.gotoAndStop(3);
}
frame 23 {
switch (mc1) {
case 1:
voice_play3('t' + Math.floor(Math.random() * 2 + 41));
wait_clr();
if (eroero < 20) {
eroero += 0.5;
}
gotoAndPlay(27);
break;
case 2:
voice_play3('t' + Math.floor(Math.random() * 2 + 41));
wait_clr();
if (eroero < 20) {
eroero += 1;
}
gotoAndPlay(27);
break;
default:
if (eroero > 10 && ((600 - _parent.mv_y) / _parent.mv_z) * 100 > 860) {
wait_clr();
gotoAndPlay(37);
} else {
wait1(200, 0, 0);
}
}
}
frame 25 {
wait_clr();
gotoAndPlay(20);
}
frame 27 {
mv1.gotoAndStop(8);
}
frame 30 {
mv1.gotoAndStop(2);
}
frame 32 {
mv1.gotoAndStop(3);
}
frame 34 {
_global.mc1 = 0;
gotoAndPlay(base1);
}
frame 37 {
icon_mv.removeMovieClip();
Mouse.show();
}
frame 37 {
icon_mv.removeMovieClip();
Mouse.show();
}
frame 50 {
mv1.gotoAndStop(9);
}
frame 52 {
mv1.gotoAndStop(10);
}
frame 54 {
mv1.gotoAndStop(11);
}
frame 57 {
wait1(10, 0, -160);
}
frame 61 {
wait2(4, 30);
voice_play(402);
}
frame 63 {
mv1.gotoAndStop(11);
wait_clr();
}
frame 63 {
btn1.useHandCursor = false;
btn2.useHandCursor = false;
btn3.useHandCursor = false;
}
button 19 {
on (rollOver) {
Mouse.hide();
attachMovie('icon1', 'icon_mv', 10, {'_x': -100, '_y': -100});
icon_mv.startDrag(true);
}
on (rollOut) {
icon_mv.removeMovieClip();
Mouse.show();
}
on (dragOut) {
_global.mc1 = 0;
icon_mv.removeMovieClip();
Mouse.show();
}
on (press) {
_global.mc1 = 2;
}
}
frame 66 {
if (mc1 == 2) {
wait_clr();
gotoAndPlay(73);
} else {
wait1(100, 0, 0);
}
}
frame 69 {
gotoAndPlay(66);
}
frame 73 {
mv1.gotoAndStop(15);
eroero += 0.3;
loop1_cnt += 1;
loop2_cnt -= 1;
if (mc1 == 2 || mc1 == 1) {
if (loop2_cnt < 1) {
voice_play3('t' + Math.floor(Math.random() * 4 + 51));
}
wait_clr();
eroero += 1;
loop2_cnt = 4;
} else {
if (loop1_on == 0) {
loop1_on = 1;
loop1_cnt = 0;
}
}
if (eroero > 25) {
wait_clr();
gotoAndPlay(140);
} else {
if (loop2_cnt > 0) {
gotoAndPlay(_currentframe + 2);
}
}
}
frame 73 {
btn1.useHandCursor = false;
btn2.useHandCursor = false;
btn3.useHandCursor = false;
}
frame 77 {
mv1.gotoAndStop(16);
gotoAndPlay(_currentframe + 1);
}
frame 80 {
mv1.gotoAndStop(17);
if (loop1_cnt > 7 && mc1 == 0) {
wait_clr();
eroero = Math.floor(eroero * 0.95);
gotoAndPlay(110);
} else {
if (loop2_cnt > 0) {
voice_play2('w2b' + Math.floor(Math.random() * 8 + 1));
gotoAndPlay(_currentframe + 1);
} else {
voice_play2('w2a' + Math.floor(Math.random() * 8 + 1));
}
}
se_play(Math.floor(Math.random() * 4 + 41));
}
frame 83 {
mv1.gotoAndStop(18);
if (loop2_cnt > 0) {
gotoAndPlay(_currentframe + 1);
}
}
frame 85 {
mv1.gotoAndStop(19);
if (loop2_cnt > 0) {
gotoAndPlay(_currentframe + 2);
}
}
frame 89 {
mv1.gotoAndStop(20);
if (loop2_cnt > 0) {
gotoAndPlay(_currentframe + 1);
}
}
frame 90 {
base1 = _currentframe + 3;
wait4('jp22a');
}
frame 92 {
mv1.gotoAndStop(21);
if (loop2_cnt > 0) {
gotoAndPlay(_currentframe + 1);
}
}
frame 94 {
mv1.gotoAndStop(16);
if (loop2_cnt > 0) {
gotoAndPlay(_currentframe + 1);
}
}
frame 97 {
gotoAndPlay(73);
}
frame 102 {
mv1.gotoAndStop(22);
}
frame 104 {
mv1.gotoAndStop(23);
}
frame 105 {
mv1.gotoAndStop(21);
if (loop2_cnt > 0) {
gotoAndPlay(base1 + 1);
} else {
gotoAndPlay(base1);
}
}
frame 110 {
mv1.gotoAndStop(26);
eroero += 0.3;
loop1_cnt += 1;
if (mc1 == 2 || mc1 == 1) {
voice_play3('t' + Math.floor(Math.random() * 2 + 41));
wait_clr();
eroero += 1;
loop2_cnt = 4;
gotoAndPlay(80);
} else {
if (loop1_on == 0) {
loop1_on = 1;
loop1_cnt = 0;
} else {
if (loop1_cnt > 10) {
wait_clr();
eroero = Math.floor(eroero * 0.9);
} else {
if (eroero > 25) {
wait_clr();
gotoAndPlay(140);
}
}
}
}
}
frame 114 {
mv1.gotoAndStop(27);
voice_play2('w1a' + Math.floor(Math.random() * 8 + 1));
se_play(Math.floor(Math.random() * 4 + 41));
}
frame 116 {
mv1.gotoAndStop(28);
}
frame 120 {
mv1.gotoAndStop(29);
}
frame 123 {
mv1.gotoAndStop(30);
}
frame 125 {
mv1.gotoAndStop(25);
}
frame 128 {
mv1.gotoAndStop(24);
}
frame 132 {
mv1.gotoAndStop(25);
}
frame 135 {
gotoAndPlay(110);
}
frame 140 {
mv1.gotoAndStop(15);
eroero += 0.3;
if (eroero > 60) {
eroero = 60;
}
loop1_cnt += 1;
loop2_cnt -= 1;
if (eroero > 50) {
wait_clr();
gotoAndPlay(188);
} else {
if (mc1 == 2 || mc1 == 1) {
if (loop2_cnt < 1) {
voice_play3('t' + Math.floor(Math.random() * 4 + 51));
}
wait_clr();
eroero += 1;
if (eroero > 60) {
eroero = 60;
}
loop2_cnt = 5;
} else {
if (loop1_on == 0) {
loop1_on = 1;
loop1_cnt = 0;
}
}
}
if (eroero < 25) {
wait_clr();
gotoAndPlay(73);
} else {
if (loop2_cnt > 0) {
gotoAndPlay(_currentframe + 1);
}
}
}
frame 143 {
mv1.gotoAndStop(16);
}
frame 144 {
mv1.gotoAndStop(17);
if (loop1_cnt > 9 && mc1 == 0) {
wait_clr();
if (eroero < 60) {
eroero = Math.floor(eroero * 0.95);
}
gotoAndPlay(167);
} else {
if (loop2_cnt > 0) {
voice_play2('w2b' + Math.floor(Math.random() * 8 + 1));
se_play(Math.floor(Math.random() * 4 + 46));
} else {
voice_play2('w2a' + Math.floor(Math.random() * 8 + 1));
se_play(Math.floor(Math.random() * 4 + 41));
}
}
}
frame 146 {
mv1.gotoAndStop(18);
if (loop2_cnt > 0) {
gotoAndPlay(_currentframe + 1);
}
}
frame 148 {
mv1.gotoAndStop(19);
if (loop2_cnt > 0) {
gotoAndPlay(_currentframe + 1);
}
}
frame 151 {
mv1.gotoAndStop(20);
if (loop2_cnt > 0) {
gotoAndPlay(_currentframe + 1);
} else {
base1 = _currentframe + 3;
wait4('jp26a');
}
}
frame 153 {
mv1.gotoAndStop(21);
}
frame 154 {
mv1.gotoAndStop(16);
if (loop2_cnt > 0) {
gotoAndPlay(_currentframe + 1);
}
}
frame 156 {
gotoAndPlay(140);
}
frame 159 {
mv1.gotoAndStop(22);
}
frame 161 {
mv1.gotoAndStop(23);
}
frame 162 {
gotoAndPlay(base1);
}
frame 167 {
mv1.gotoAndStop(26);
eroero += 0.3;
if (eroero > 60) {
eroero = 60;
}
loop1_cnt += 1;
if (eroero > 50) {
wait_clr();
gotoAndPlay(188);
} else {
if (mc1 == 2 || mc1 == 1) {
voice_play3('t' + Math.floor(Math.random() * 2 + 41));
wait_clr();
eroero += 1;
if (eroero > 60) {
eroero = 60;
}
loop2_cnt = 5;
gotoAndPlay(144);
} else {
if (loop1_on == 0) {
loop1_on = 1;
loop1_cnt = 0;
} else {
if (loop1_cnt > 10) {
wait_clr();
eroero = Math.floor(eroero * 0.9);
} else {
if (eroero < 25) {
wait_clr();
gotoAndPlay(110);
}
}
}
}
}
}
frame 169 {
mv1.gotoAndStop(27);
voice_play2('w1b' + Math.floor(Math.random() * 8 + 1));
se_play(Math.floor(Math.random() * 4 + 41));
}
frame 171 {
mv1.gotoAndStop(28);
}
frame 174 {
mv1.gotoAndStop(29);
}
frame 176 {
mv1.gotoAndStop(30);
}
frame 177 {
mv1.gotoAndStop(25);
}
frame 179 {
mv1.gotoAndStop(24);
}
frame 182 {
mv1.gotoAndStop(25);
}
frame 184 {
gotoAndPlay(167);
}
frame 188 {
mv1.gotoAndStop(26);
}
frame 190 {
mv1.gotoAndStop(27);
}
frame 193 {
mv1.gotoAndStop(28);
}
frame 197 {
mv1.gotoAndStop(29);
}
frame 200 {
mv1.gotoAndStop(30);
}
frame 203 {
mv1.gotoAndStop(25);
}
frame 206 {
mv1.gotoAndStop(24);
}
frame 210 {
mv1.gotoAndStop(31);
}
frame 212 {
mv1.gotoAndStop(32);
}
frame 214 {
wait_clr();
gotoAndPlay(218);
}
frame 218 {
mv1.gotoAndStop(33);
wait0(5);
if (mc1 == 2 && loop1_cnt > 0) {
voice_play3('t' + Math.floor(Math.random() * 2 + 43));
wait_clr();
gotoAndPlay(250);
} else {
if (mc1 == 2 || mc1 == 1) {
voice_play3('w1b' + Math.floor(Math.random() * 2 + 1));
_global.mc1 = 0;
gotoAndPlay(231);
}
}
}
frame 220 {
mv1.gotoAndStop(35);
if (mc1 == 0) {
wait0(1);
}
}
frame 222 {
mv1.gotoAndStop(36);
if (mc1 == 0) {
wait0(4);
}
voice_play2('t' + Math.floor(Math.random() * 2 + 21));
}
frame 224 {
mv1.gotoAndStop(35);
if (mc1 == 0) {
wait0(1);
}
}
frame 226 {
if (mc1 == 0) {
wait4('jp32');
}
}
frame 227 {
loop1_cnt += 1;
gotoAndPlay(218);
}
frame 231 {
mv1.gotoAndStop(33);
wait0(1);
}
frame 233 {
mv1.gotoAndStop(36);
}
frame 235 {
mv1.gotoAndStop(35);
}
frame 237 {
mv1.gotoAndStop(34);
}
frame 239 {
_global.mc1 = 0;
gotoAndPlay(218);
}
frame 242 {
mv1.gotoAndStop(31);
}
frame 244 {
mv1.gotoAndStop(32);
}
frame 245 {
gotoAndPlay(218);
}
frame 250 {
mv1.gotoAndStop(37);
}
frame 254 {
mv1.gotoAndStop(38);
}
frame 258 {
mv1.gotoAndStop(39);
}
frame 262 {
wait0(5);
se_play(53);
}
frame 264 {
mv1.gotoAndStop(40);
voice_play(403);
}
frame 268 {
mv1.gotoAndStop(41);
}
frame 272 {
mv1.gotoAndStop(42);
}
frame 276 {
if (mv1._currentframe == 42 && Math.floor(Math.random() * 2) == 0) {
mv1.gotoAndStop(43);
gotoAndPlay(_currentframe - 1);
} else {
mv1.gotoAndStop(42);
wait0(12);
}
}
frame 278 {
_global.mc1 = 0;
}
frame 280 {
mv1.gotoAndStop(46);
if (mc1 == 2 || mc1 == 1) {
voice_play3('t' + Math.floor(Math.random() * 2 + 43));
wait_clr();
gotoAndPlay(302);
} else {
wait5(50, 'jp40');
}
}
frame 282 {
wait0(5);
}
frame 284 {
mv1.gotoAndStop(47);
wait0(1);
}
frame 286 {
mv1.gotoAndStop(48);
wait0(4);
}
frame 288 {
mv1.gotoAndStop(47);
wait0(1);
voice_play2('t' + Math.floor(Math.random() * 2 + 21));
}
frame 290 {
wait4('jp35');
}
frame 291 {
gotoAndPlay(280);
}
frame 295 {
mv1.gotoAndStop(44);
}
frame 297 {
mv1.gotoAndStop(45);
}
frame 298 {
gotoAndPlay(280);
}
frame 302 {
mv1.gotoAndStop(49);
}
frame 306 {
wait2(4, 15);
voice_play(404);
}
frame 308 {
_global.mc1 = 0;
_level50.voice_num = 0;
_level50.voice_num3 = 0;
}
frame 311 {
mv1.gotoAndStop(46);
wait0(5);
if (mc1 == 1 && _level50.voice_num3 != 'play1') {
voice_play3('t' + Math.floor(Math.random() * 2 + 43));
wait_clr();
gotoAndPlay(329);
} else {
if (mc1 == 2) {
voice_play3('w1b' + Math.floor(Math.random() * 3 + 1));
wait_clr();
gotoAndPlay(339);
} else {
wait3_label1 = 'jp38';
wait3_label2 = 'jp39b';
wait3(40, 0, -170);
}
}
}
frame 313 {
mv1.gotoAndStop(47);
wait0(1);
}
frame 315 {
mv1.gotoAndStop(48);
wait0(4);
if (mc1 == 1 && _level50.voice_num3 != 'play1') {
voice_play3('t' + Math.floor(Math.random() * 2 + 43));
wait_clr();
gotoAndPlay(329);
}
voice_play2('t' + Math.floor(Math.random() * 2 + 21));
}
frame 317 {
mv1.gotoAndStop(47);
wait0(1);
}
frame 319 {
gotoAndPlay(311);
}
frame 323 {
mv1.gotoAndStop(44);
}
frame 325 {
mv1.gotoAndStop(45);
}
frame 326 {
gotoAndPlay(311);
}
frame 329 {
mv1.gotoAndStop(48);
}
frame 331 {
mv1.gotoAndStop(47);
}
frame 333 {
mv1.gotoAndStop(46);
wait0(2);
}
frame 335 {
gotoAndPlay(311);
_global.mc1 = 0;
}
frame 339 {
mv1.gotoAndStop(48);
}
frame 341 {
mv1.gotoAndStop(47);
}
frame 343 {
mv1.gotoAndStop(46);
wait0(2);
}
frame 345 {
gotoAndPlay(302);
}
frame 349 {
mv1.gotoAndStop(44);
}
frame 351 {
mv1.gotoAndStop(45);
}
frame 352 {
gotoAndPlay(339);
}
frame 356 {
mv1.gotoAndStop(49);
}
frame 360 {
wait2(4, 18);
voice_play(405);
}
frame 362 {
_global.mc1 = 0;
}
frame 365 {
mv1.gotoAndStop(46);
wait0(5);
if (mc1 == 2) {
voice_play3('w1a6');
wait_clr();
gotoAndPlay(393);
} else {
if (mc1 == 1) {
voice_play3('t' + Math.floor(Math.random() * 2 + 43));
wait_clr();
gotoAndPlay(381);
} else {
wait4('jp41');
}
}
}
frame 367 {
mv1.gotoAndStop(47);
if (mc1 != 1) {
wait0(1);
}
}
frame 369 {
mv1.gotoAndStop(48);
if (mc1 != 1) {
voice_play2('t' + Math.floor(Math.random() * 2 + 21));
wait0(4);
}
}
frame 371 {
mv1.gotoAndStop(47);
if (mc1 != 1) {
wait0(1);
}
}
frame 373 {
gotoAndPlay(365);
}
frame 375 {
mv1.gotoAndStop(44);
}
frame 377 {
mv1.gotoAndStop(45);
}
frame 378 {
gotoAndPlay(365);
}
frame 381 {
mv1.gotoAndStop(46);
wait0(1);
}
frame 383 {
mv1.gotoAndStop(48);
}
frame 385 {
mv1.gotoAndStop(47);
}
frame 387 {
mv1.gotoAndStop(46);
}
frame 389 {
_global.mc1 = 0;
gotoAndPlay(365);
}
frame 393 {
mv1.gotoAndStop(53);
}
frame 397 {
mv1.gotoAndStop(54);
voice_play2('s' + Math.floor(Math.random() * 2 + 61));
se_play(Math.floor(Math.random() * 4 + 36));
}
frame 401 {
mv1.gotoAndStop(55);
}
frame 404 {
mv1.gotoAndStop(56);
}
frame 407 {
mv1.gotoAndStop(59);
}
frame 409 {
mv1.gotoAndStop(60);
}
frame 410 {
mv1.gotoAndStop(57);
}
frame 413 {
mv1.gotoAndStop(58);
}
frame 416 {
mv1.gotoAndStop(53);
eroero += 0.4;
loop1_cnt += 1;
loop2_cnt -= 1;
if (eroero > 70) {
wait_clr();
gotoAndPlay(445);
} else {
if (mc1 == 1 || mc1 == 2) {
if (loop2_cnt < 1) {
voice_play3('t' + Math.floor(Math.random() * 2 + 51));
}
wait_clr();
eroero += 1;
loop2_cnt = 5;
} else {
if (loop1_on == 0) {
loop1_on = 1;
loop1_cnt = 0;
} else {
if (loop1_cnt > 10) {
wait_clr();
eroero = Math.floor(eroero * 0.95);
if (eroero < 50) {
eroero = 50;
}
}
}
}
}
if (loop2_cnt > 0) {
gotoAndPlay(_currentframe + 1);
}
}
frame 419 {
mv1.gotoAndStop(54);
if (loop2_cnt > 0) {
voice_play2('w2b' + Math.floor(Math.random() * 8 + 1));
se_play(Math.floor(Math.random() * 4 + 26));
gotoAndPlay(_currentframe + 1);
} else {
voice_play2('w2a' + Math.floor(Math.random() * 8 + 1));
se_play(Math.floor(Math.random() * 5 + 31));
}
}
frame 422 {
mv1.gotoAndStop(55);
if (loop2_cnt > 0) {
gotoAndPlay(_currentframe + 1);
}
}
frame 425 {
mv1.gotoAndStop(56);
if (loop2_cnt > 0) {
gotoAndPlay(_currentframe + 1);
}
}
frame 426 {
wait4('jp53');
}
frame 428 {
mv1.gotoAndStop(57);
}
frame 429 {
mv1.gotoAndStop(57);
if (loop2_cnt > 0) {
gotoAndPlay(_currentframe + 1);
}
}
frame 431 {
mv1.gotoAndStop(58);
if (loop2_cnt > 0) {
gotoAndPlay(_currentframe + 1);
}
}
frame 434 {
gotoAndPlay(416);
}
frame 438 {
mv1.gotoAndStop(59);
}
frame 440 {
mv1.gotoAndStop(60);
}
frame 441 {
gotoAndPlay(429);
}
frame 445 {
mv1.gotoAndStop(61);
}
frame 448 {
mv1.gotoAndStop(62);
eroero += 0.4;
loop1_cnt += 1;
loop2_cnt -= 1;
if (mc1 == 1 || mc1 == 2) {
if (loop2_cnt < 1) {
voice_play3('t' + Math.floor(Math.random() * 2 + 52));
}
wait_clr();
eroero += 1;
loop2_cnt = 5;
}
if (loop1_on == 0) {
loop1_on = 1;
loop1_cnt = 0;
}
if (eroero > 100) {
wait_clr();
gotoAndPlay(510);
} else {
if (loop2_cnt > 0) {
gotoAndPlay(_currentframe + 1);
}
}
}
frame 451 {
mv1.gotoAndStop(63);
if (loop2_cnt > 0) {
voice_play2('w3b' + Math.floor(Math.random() * 8 + 1));
se_play(Math.floor(Math.random() * 4 + 26));
} else {
voice_play2('w3a' + Math.floor(Math.random() * 8 + 1));
se_play(Math.floor(Math.random() * 5 + 31));
}
}
frame 453 {
mv1.gotoAndStop(64);
if (loop2_cnt > 0) {
gotoAndPlay(_currentframe + 1);
}
}
frame 455 {
mv1.gotoAndStop(65);
if (loop2_cnt > 0) {
gotoAndPlay(_currentframe + 1);
}
}
frame 457 {
mv1.gotoAndStop(66);
if (loop1_cnt > 10) {
eroero = Math.floor(eroero * 0.95);
if (eroero < 70) {
eroero = 70;
}
wait_clr();
gotoAndPlay(492);
} else {
if (loop2_cnt > 0) {
gotoAndPlay(_currentframe + 1);
}
}
}
frame 460 {
mv1.gotoAndStop(67);
}
frame 462 {
mv1.gotoAndStop(68);
if (loop2_cnt > 0) {
gotoAndPlay(_currentframe + 1);
}
}
frame 464 {
mv1.gotoAndStop(69);
if (loop2_cnt > 0) {
gotoAndPlay(_currentframe + 1);
}
}
frame 466 {
gotoAndPlay(448);
}
frame 471 {
mv1.gotoAndStop(70);
eroero += 0.4;
loop1_cnt += 1;
if (loop1_on == 0) {
loop1_on = 1;
loop1_cnt = 0;
}
if (mc1 == 2 || mc1 == 1) {
voice_play3('t' + Math.floor(Math.random() * 2 + 52));
wait_clr();
eroero += 1;
loop2_cnt = 5;
gotoAndPlay(448);
} else {
if (eroero > 100) {
wait_clr();
gotoAndPlay(510);
} else {
if (loop1_cnt > 10) {
eroero = Math.floor(eroero * 0.95);
if (eroero < 70) {
eroero = 70;
}
wait_clr();
gotoAndPlay(448);
}
}
}
}
frame 474 {
mv1.gotoAndStop(71);
if (loop2_cnt > 0) {
voice_play2('w1b' + Math.floor(Math.random() * 8 + 1));
se_play(Math.floor(Math.random() * 4 + 26));
} else {
voice_play2('w1a' + Math.floor(Math.random() * 8 + 1));
se_play(Math.floor(Math.random() * 5 + 31));
}
}
frame 476 {
mv1.gotoAndStop(72);
}
frame 478 {
mv1.gotoAndStop(73);
}
frame 480 {
mv1.gotoAndStop(74);
}
frame 481 {
wait4('jp67');
}
frame 483 {
mv1.gotoAndStop(75);
}
frame 484 {
mv1.gotoAndStop(75);
}
frame 485 {
mv1.gotoAndStop(76);
}
frame 487 {
mv1.gotoAndStop(77);
}
frame 489 {
gotoAndPlay(471);
}
frame 492 {
mv1.gotoAndStop(78);
}
frame 494 {
mv1.gotoAndStop(79);
}
frame 495 {
gotoAndPlay(484);
}
frame 498 {
mv1.gotoAndStop(70);
}
frame 502 {
mv1.gotoAndStop(61);
}
frame 506 {
gotoAndPlay(416);
}
frame 510 {
mv1.gotoAndStop(62);
fin_on = 1;
eroero += 0.3;
if (eroero > 130) {
eroero = 130;
}
if (loop1_on == 0) {
loop1_on = 1;
loop1_cnt = 0;
} else {
loop1_cnt += 1;
}
loop2_cnt -= 1;
if (mc1 == 91) {
wait_clr();
gotoAndPlay(550);
} else {
if (mc1 == 2 || mc1 == 1) {
if (loop2_cnt < 1) {
voice_play3('t' + Math.floor(Math.random() * 2 + 52));
}
wait_clr();
eroero += 1;
loop2_cnt = 6;
} else {
if (loop1_cnt > 10) {
wait_clr();
eroero = Math.floor(eroero * 0.92);
gotoAndPlay(527);
}
}
}
if (mes_num < 1) {
wait_clr();
mes_num = 1;
}
}
frame 512 {
mv1.gotoAndStop(63);
voice_play2('w3b' + Math.floor(Math.random() * 8 + 1));
if (loop2_cnt > 0) {
gotoAndPlay(_currentframe + 1);
se_play(Math.floor(Math.random() * 5 + 21));
} else {
se_play(Math.floor(Math.random() * 4 + 26));
}
}
frame 514 {
mv1.gotoAndStop(64);
}
frame 515 {
mv1.gotoAndStop(65);
if (loop2_cnt > 0) {
gotoAndPlay(_currentframe + 1);
}
if (mes_num == 1) {
voice_play(406);
switch (loop1_cnt) {
break;
case 1:
case 3:
break;
case 5:
mes_num = 2;
loop1_cnt = 0;
}
}
}
frame 517 {
mv1.gotoAndStop(66);
}
frame 519 {
mv1.gotoAndStop(67);
}
frame 520 {
mv1.gotoAndStop(68);
}
frame 521 {
mv1.gotoAndStop(69);
}
frame 522 {
gotoAndPlay(510);
}
frame 527 {
mv1.gotoAndStop(70);
fin_on = 1;
eroero += 0.3;
if (eroero > 130) {
eroero = 130;
}
loop1_cnt += 1;
if (mc1 == 91) {
wait_clr();
gotoAndPlay(550);
} else {
if (mc1 == 2 || mc1 == 1) {
voice_play3('t' + Math.floor(Math.random() * 2 + 52));
wait_clr();
eroero += 1;
loop2_cnt = 3;
gotoAndPlay(510);
} else {
if (loop1_on == 0) {
loop1_on = 1;
loop1_cnt = 0;
} else {
if (loop1_cnt > 10) {
wait_clr();
eroero = Math.floor(eroero * 0.95);
} else {
if (eroero < 100) {
wait_clr();
fin_on = 0;
gotoAndPlay(471);
}
}
}
}
}
}
frame 529 {
mv1.gotoAndStop(71);
voice_play2('w1b' + Math.floor(Math.random() * 8 + 1));
se_play(Math.floor(Math.random() * 4 + 26));
}
frame 531 {
mv1.gotoAndStop(72);
}
frame 532 {
mv1.gotoAndStop(73);
}
frame 534 {
mv1.gotoAndStop(74);
wait4('jp77');
}
frame 536 {
mv1.gotoAndStop(75);
}
frame 537 {
mv1.gotoAndStop(76);
}
frame 538 {
mv1.gotoAndStop(77);
}
frame 539 {
gotoAndPlay(527);
}
frame 542 {
mv1.gotoAndStop(78);
}
frame 544 {
mv1.gotoAndStop(79);
}
frame 545 {
gotoAndPlay(537);
}
frame 550 {
mv1.gotoAndStop(62);
icon_mv.removeMovieClip();
Mouse.show();
fin_on = 0;
if (eroero < 120) {
eroero = 120;
}
}
frame 552 {
mv1.gotoAndStop(64);
}
frame 554 {
mv1.gotoAndStop(66);
}
frame 557 {
mv1.gotoAndStop(80);
se_play(13, 80);
}
frame 560 {
mv1.gotoAndStop(81);
voice_play(407);
}
frame 563 {
mv1.gotoAndStop(82);
}
frame 566 {
if (mv1._currentframe == 82 && Math.floor(Math.random() * 3) == 0) {
mv1.gotoAndStop(83);
gotoAndPlay(_currentframe - 1);
} else {
mv1.gotoAndStop(82);
wait01(30, 0, 0);
}
}
frame 568 {
mv1.gotoAndStop(84);
voice_play2('w1a2');
}
frame 572 {
mv1.gotoAndStop(85);
}
frame 576 {
mv1.gotoAndStop(86);
}
frame 580 {
gotoAndPlay(602);
}
frame 582 {
mv1.gotoAndStop(88);
wait0(1);
}
frame 584 {
mv1.gotoAndStop(89);
wait0(4);
voice_play2('t' + Math.floor(Math.random() * 2 + 21));
}
frame 586 {
mv1.gotoAndStop(90);
wait0(1);
}
frame 588 {
wait03('jp83', 0, -200);
}
frame 589 {
if (loop1_on == 0) {
loop1_on = 1;
loop1_cnt = 1;
} else {
loop1_cnt += 1;
}
gotoAndPlay(580);
}
frame 592 {
mv1.gotoAndStop(91);
}
frame 594 {
mv1.gotoAndStop(87);
}
frame 597 {
gotoAndPlay(580);
}
frame 602 {
mv1.gotoAndStop(87);
if (Math.floor(Math.random() * 18) == 0) {
voice_play2('w1b' + Math.floor(Math.random() * 3 + 1));
gotoAndPlay(613);
} else {
wait0(5);
}
}
frame 604 {
mv1.gotoAndStop(88);
wait0(1);
}
frame 606 {
mv1.gotoAndStop(89);
wait0(4);
voice_play2('t' + Math.floor(Math.random() * 2 + 21));
}
frame 608 {
mv1.gotoAndStop(90);
wait0(1);
}
frame 610 {
if (loop1_on == 0) {
loop1_on = 1;
loop1_cnt = 1;
}
if (loop1_cnt > 3 && ((600 - _parent.mv_y) / _parent.mv_z) * 100 > 855) {
wait_clr();
gotoAndPlay(623);
} else {
loop1_cnt += 1;
gotoAndPlay(602);
}
}
frame 613 {
mv1.gotoAndStop(91);
}
frame 615 {
mv1.gotoAndStop(87);
}
frame 618 {
gotoAndPlay(602);
}
frame 623 {
mv1.gotoAndStop(92);
se_play(53);
}
frame 626 {
mv1.gotoAndStop(93);
}
frame 629 {
mv1.gotoAndStop(94);
}
frame 632 {
mv1.gotoAndStop(95);
}
frame 635 {
mv1.gotoAndStop(96);
}
frame 638 {
mv1.gotoAndStop(97);
}
frame 641 {
mv1.gotoAndStop(98);
}
frame 644 {
mv1.gotoAndStop(99);
}
frame 647 {
mv1.gotoAndStop(100);
voice_play(408);
}
frame 650 {
mv1.gotoAndStop(101);
if (Math.floor(Math.random() * 18) == 0) {
base1 = _currentframe;
voice_play2('w1b' + Math.floor(Math.random() * 3 + 1));
gotoAndPlay(655);
} else {
wait0(10);
}
}
frame 653 {
gotoAndPlay(659);
}
frame 655 {
mv1.gotoAndStop(102);
}
frame 657 {
gotoAndPlay(base1);
}
frame 659 {
mv1.gotoAndStop(103);
}
frame 662 {
mv1.gotoAndStop(104);
}
frame 665 {
mv1.gotoAndStop(105);
}
frame 668 {
if (mv1._currentframe == 105 && Math.floor(Math.random() * 2) == 0) {
mv1.gotoAndStop(106);
gotoAndPlay(_currentframe - 1);
} else {
mv1.gotoAndStop(105);
wait0(5);
}
}
frame 670 {
mv1.gotoAndStop(107);
voice_play('211c');
}
frame 673 {
mv1.gotoAndStop(108);
}
frame 676 {
mv1.gotoAndStop(111);
}
frame 679 {
if (mv1._currentframe == 111 && Math.floor(Math.random() * 2) == 0) {
mv1.gotoAndStop(112);
gotoAndPlay(_currentframe - 1);
} else {
mv1.gotoAndStop(111);
wait0(10);
}
}
frame 684 {
mv1.gotoAndStop(111);
if (Math.floor(Math.random() * 20) == 0) {
voice_play2('w1b' + Math.floor(Math.random() * 3 + 1));
gotoAndPlay(695);
} else {
wait0(5);
}
}
frame 686 {
mv1.gotoAndStop(113);
wait0(1);
}
frame 688 {
mv1.gotoAndStop(114);
wait0(4);
voice_play2('t' + Math.floor(Math.random() * 2 + 21));
}
frame 690 {
mv1.gotoAndStop(115);
wait0(1);
}
frame 692 {
if (loop1_on == 0) {
loop1_on = 1;
loop1_cnt = 1;
} else {
loop1_cnt += 1;
}
if (loop1_cnt > 1 && (_parent.mv_y / _parent.mv_z) * 100 > -200) {
wait_clr();
gotoAndPlay(705);
} else {
gotoAndPlay(684);
}
}
frame 695 {
mv1.gotoAndStop(116);
}
frame 697 {
mv1.gotoAndStop(112);
}
frame 700 {
gotoAndPlay(684);
}
frame 705 {
mv1.gotoAndStop(119);
}
frame 708 {
wait1(5, 0, 0);
}
frame 710 {
mv1.gotoAndStop(120);
if (Math.floor(Math.random() * 22) == 0) {
voice_play2('w1b' + Math.floor(Math.random() * 3 + 1));
gotoAndPlay(721);
} else {
wait0(5);
}
}
frame 712 {
mv1.gotoAndStop(121);
wait0(1);
}
frame 714 {
mv1.gotoAndStop(122);
wait0(4);
voice_play2('t' + Math.floor(Math.random() * 2 + 21));
}
frame 716 {
mv1.gotoAndStop(123);
wait0(1);
}
frame 718 {
if (loop1_on == 0) {
loop1_on = 1;
loop1_cnt = 1;
}
if (loop1_cnt > 0) {
wait_clr();
mv1.gotoAndStop(125);
gotoAndPlay(730);
} else {
loop1_cnt += 1;
gotoAndPlay(710);
}
}
frame 721 {
mv1.gotoAndStop(124);
}
frame 723 {
mv1.gotoAndStop(120);
}
frame 726 {
gotoAndPlay(710);
}
frame 730 {
wait2(4, 33);
voice_play(409);
}
frame 732 {
mv1.gotoAndStop(120);
}
frame 735 {
wait4('jp99');
wait0(5);
}
frame 737 {
mv1.gotoAndStop(121);
wait0(1);
}
frame 739 {
mv1.gotoAndStop(122);
wait0(4);
voice_play2('t' + Math.floor(Math.random() * 2 + 21));
}
frame 741 {
mv1.gotoAndStop(123);
wait0(1);
}
frame 743 {
if (loop1_on == 0) {
loop1_on = 1;
loop1_cnt = 1;
}
if (loop1_cnt < 3 || (_parent.mv_y / _parent.mv_z) * 100 < -160) {
loop1_cnt += 1;
gotoAndPlay(735);
} else {
wait_clr();
gotoAndPlay(755);
}
}
frame 747 {
mv1.gotoAndStop(117);
}
frame 749 {
mv1.gotoAndStop(118);
}
frame 750 {
mv1.gotoAndStop(120);
gotoAndPlay(735);
}
frame 755 {
mv1.gotoAndStop(125);
}
frame 759 {
wait2(4, 10);
voice_play(410);
}
frame 762 {
mv1.gotoAndStop(120);
fin_on = 2;
wait4('jp103');
wait0(6);
}
frame 764 {
mv1.gotoAndStop(121);
wait0(1);
}
frame 766 {
mv1.gotoAndStop(122);
wait0(5);
voice_play2('t' + Math.floor(Math.random() * 2 + 21));
}
frame 768 {
mv1.gotoAndStop(123);
wait0(1);
}
frame 770 {
if (loop1_on == 0) {
loop1_on = 1;
loop1_cnt = 1;
}
if (loop1_cnt > 10) {
wait_clr();
gotoAndPlay(762);
} else {
loop1_cnt += 1;
gotoAndPlay(762);
}
}
frame 773 {
mv1.gotoAndStop(124);
}
frame 775 {
mv1.gotoAndStop(120);
}
frame 778 {
gotoAndPlay(762);
}
frame 780 {
mv1.gotoAndStop(117);
}
frame 782 {
mv1.gotoAndStop(118);
}
frame 783 {
gotoAndPlay(762);
}
frame 787 {
stop();
_parent.gotoAndPlay('jp21');
}