Combined Code
movieClip 3 icon1 {
}
movieClip 6 icon2 {
}
movieClip 9 icon3 {
}
frame 1 {
stop();
}
frame 2 {
bgm_play('02');
_global.mc1 = 0;
eroero = 0;
fin_on = 0;
mes_num = 0;
mes_num2 = 0;
fin_num = 0;
loop1_on = 0;
wait0_on = 0;
wait1_on = 0;
wait2_on = 0;
wait9_on = 0;
mekuri_cnt = 0;
wait_clr = function () {
loop1_on = 0;
wait0_on = 0;
wait1_on = 0;
wait2_on = 0;
wait3_on = 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 (wait0_on == 0) {
wait0_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)) {
wait0_on = 0;
gotoAndPlay(_currentframe + 1);
} else {
gotoAndPlay(_currentframe - 1);
}
};
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;
if (mc1 == 9) {
_global.mc1 = 0;
attachMovie('icon2', 'icon_mv', 10, {'_x': -100, '_y': -100});
icon_mv.startDrag(true);
}
}
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);
}
};
}
frame 3 {
mv1.gotoAndStop(3);
base1 = 'jp01';
}
frame 3 {
btn1.useHandCursor = false;
btn2.useHandCursor = false;
btn3.useHandCursor = false;
}
movieClip 12 {
frame 1 {
stop();
}
}
instance mv1 of movieClip 12 {
onClipEvent (mouseUp) {
_global.mc1 = 0;
}
}
button 14 {
on (rollOver) {
Mouse.hide();
attachMovie('icon2', 'icon_mv', 10, {'_x': -100, '_y': -100});
icon_mv.startDrag(true);
}
on (rollOut) {
icon_mv.removeMovieClip();
Mouse.show();
}
on (release) {
attachMovie('icon2', 'icon_mv', 10, {'_x': -100, '_y': -100});
icon_mv.startDrag(true);
}
on (press) {
if (wait2_on == 0) {
_global.mc1 = 9;
_global.mc1_y = _ymouse;
attachMovie('icon3', 'icon_mv', 10, {'_x': 565, '_y': 910});
Mouse.hide();
}
}
}
button 16 {
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;
}
}
button 18 {
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;
}
}
frame 6 {
switch (mc1) {
case 1:
wait_clr();
gotoAndPlay(35);
break;
case 2:
wait_clr();
gotoAndPlay(42);
break;
case 9:
wait_clr();
gotoAndPlay(52);
break;
default:
wait1(25, 0, -170);
}
}
frame 8 {
mv1.gotoAndStop(3);
wait0(5);
}
frame 12 {
base1 = 'jp02';
wait2(4, 37);
voice_play(201);
}
frame 14 {
mv1.gotoAndStop(3);
base1 = 'jp03';
}
frame 17 {
switch (mc1) {
case 1:
wait_clr();
gotoAndPlay(35);
break;
case 2:
wait_clr();
gotoAndPlay(42);
break;
case 9:
wait_clr();
gotoAndPlay(52);
break;
default:
wait1(200, 0, 0);
}
}
frame 20 {
}
frame 20 {
btn1.useHandCursor = false;
btn2.useHandCursor = false;
btn3.useHandCursor = false;
}
frame 22 {
mv1.gotoAndStop(3);
base1 = 'jp03';
switch (mc1) {
case 1:
wait_clr();
gotoAndPlay(35);
break;
case 2:
wait_clr();
gotoAndPlay(42);
break;
case 9:
wait_clr();
gotoAndPlay(52);
break;
default:
wait1(5, 0, -170);
}
}
frame 26 {
if (mekuri_cnt == 20) {
wait2(4, 22);
voice_play(203);
mekuri_flg = 1;
} else {
if (mes_num < 1) {
wait2(4, 38);
voice_play(202);
} else {
if (mes_num == 1) {
wait2(4, 25);
voice_play(205);
}
}
}
}
frame 28 {
if (mekuri_flg == 1) {
mekuri_flg = 0;
} else {
if (mes_num < 1) {
mes_num = 1;
} else {
if (mes_num == 1) {
mes_num = 2;
}
}
}
}
frame 31 {
mv1.gotoAndStop(3);
base1 = 'jp04';
switch (mc1) {
case 1:
wait_clr();
gotoAndPlay(35);
break;
case 2:
wait_clr();
gotoAndPlay(42);
break;
case 9:
wait_clr();
gotoAndPlay(52);
break;
default:
wait1(150, 0, 0);
}
}
frame 33 {
if (mes_num < 2) {
gotoAndPlay(20);
} else {
gotoAndPlay(31);
}
}
frame 35 {
mv1.gotoAndStop(7);
eroero += 0.5;
if (eroero > 20) {
eroero = 20;
}
voice_play2('t' + Math.floor(Math.random() * 4 + 71));
}
frame 38 {
mv1.gotoAndStop(2);
if (mc1 > 0) {
gotoAndPlay(_currentframe - 1);
} else {
wait0(2);
}
}
frame 40 {
gotoAndPlay(base1);
}
frame 42 {
mv1.gotoAndStop(7);
eroero += 1;
if (eroero > 20) {
eroero = 20;
}
voice_play2('t' + Math.floor(Math.random() * 3 + 31));
}
frame 45 {
mv1.gotoAndStop(8);
}
frame 47 {
mv1.gotoAndStop(9);
if (mc1 > 0) {
gotoAndPlay(_currentframe - 1);
} else {
wait0(1);
}
}
frame 49 {
gotoAndPlay(base1);
}
frame 52 {
mv1.gotoAndStop(1);
eroero += 1.5;
if (eroero > 20) {
eroero = 20;
}
}
frame 53 {
mv1.gotoAndStop(9);
}
frame 54 {
mv1.gotoAndStop(10);
voice_play2('w1b' + Math.floor(Math.random() * 3 + 1));
}
frame 56 {
num1 = Math.floor((mc1_y - _ymouse) / 60);
if (num1 < 0) {
num1 = 0;
}
if (num1 > 5) {
num1 = 5;
}
mv1.gotoAndStop(10 + num1);
icon_mv._y = 910 - 63 * num1;
if (mc1 == 0) {
icon_mv.removeMovieClip();
Mouse.show();
btn1.useHandCursor = false;
btn2.useHandCursor = false;
btn3.useHandCursor = false;
switch (mv1._currentframe) {
case 15:
if (eroero > 15) {
gotoAndPlay(66);
} else {
gotoAndPlay(_currentframe + 1);
}
break;
case 14:
gotoAndPlay(_currentframe + 2);
break;
case 13:
gotoAndPlay(_currentframe + 3);
break;
case 12:
gotoAndPlay(_currentframe + 4);
break;
case 11:
gotoAndPlay(_currentframe + 5);
break;
default:
gotoAndPlay(_currentframe + 6);
}
} else {
gotoAndPlay(_currentframe - 1);
}
}
frame 58 {
mv1.gotoAndStop(18);
eroero += 1.5;
}
frame 59 {
mv1.gotoAndStop(19);
}
frame 60 {
mv1.gotoAndStop(20);
voice_play2('w1a' + Math.floor(Math.random() * 3 + 3));
}
frame 62 {
mv1.gotoAndStop(21);
mekuri_cnt += 1;
}
frame 64 {
if (mekuri_cnt > 4 && mekuri_cnt < 20) {
mv1.gotoAndStop(3);
mekuri_cnt = 20;
gotoAndPlay(26);
} else {
gotoAndPlay(base1);
}
}
frame 66 {
mv1.gotoAndStop(24);
}
frame 68 {
mv1.gotoAndStop(25);
}
frame 70 {
mv1.gotoAndStop(28);
}
frame 73 {
wait1(3, 0, 0);
}
frame 75 {
mv1.gotoAndStop(29);
voice_play2('w1a6');
}
frame 78 {
mv1.gotoAndStop(30);
}
frame 80 {
}
frame 80 {
btn1.useHandCursor = false;
btn2.useHandCursor = false;
btn3.useHandCursor = false;
}
button 21 {
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;
}
}
button 23 {
on (rollOver) {
Mouse.hide();
attachMovie('icon2', 'icon_mv', 10, {'_x': -100, '_y': -100});
icon_mv.startDrag(true);
}
on (rollOut) {
icon_mv.removeMovieClip();
Mouse.show();
}
on (release) {
attachMovie('icon2', 'icon_mv', 10, {'_x': -100, '_y': -100});
icon_mv.startDrag(true);
}
on (press) {
if (wait2_on == 0) {
_global.mc1 = 9;
_global.mc1_y = _ymouse;
attachMovie('icon3', 'icon_mv', 10, {'_x': 565, '_y': 620});
Mouse.hide();
}
}
}
frame 82 {
mv1.gotoAndStop(33);
base1 = 'jp21';
switch (mc1) {
case 1:
wait_clr();
gotoAndPlay(94);
break;
case 2:
wait_clr();
gotoAndPlay(101);
break;
case 9:
wait_clr();
gotoAndPlay(135);
break;
default:
wait1(15, 0, -170);
}
}
frame 86 {
base1 = 'jp22';
wait2(4, 25);
voice_play(204);
}
frame 89 {
mv1.gotoAndStop(33);
switch (mc1) {
case 1:
wait_clr();
gotoAndPlay(94);
break;
case 2:
wait_clr();
gotoAndPlay(101);
break;
case 9:
wait_clr();
gotoAndPlay(135);
break;
default:
wait1(100, 0, -170);
}
}
frame 92 {
if (mes_num < 12) {
gotoAndPlay(108);
} else {
gotoAndPlay(89);
}
}
frame 94 {
mv1.gotoAndStop(37);
eroero += 0.5;
if (eroero > 40) {
eroero = 40;
}
voice_play2('w1b' + Math.floor(Math.random() * 4 + 1));
}
frame 97 {
mv1.gotoAndStop(32);
if (mc1 > 0) {
gotoAndPlay(_currentframe - 1);
} else {
wait0(1);
}
}
frame 99 {
gotoAndPlay(base1);
}
frame 101 {
mv1.gotoAndStop(37);
eroero += 1;
if (eroero > 40) {
eroero = 40;
}
voice_play2('t' + Math.floor(Math.random() * 4 + 81));
}
frame 104 {
mv1.gotoAndStop(32);
if (mc1 > 0) {
gotoAndPlay(_currentframe - 1);
} else {
wait0(1);
}
}
frame 106 {
gotoAndPlay(base1);
}
frame 108 {
mv1.gotoAndStop(38);
}
frame 110 {
mv1.gotoAndStop(39);
}
frame 112 {
mv1.gotoAndStop(42);
base1 = 'jp22';
}
frame 115 {
switch (mc1) {
case 1:
wait_clr();
gotoAndPlay(131);
break;
case 2:
wait_clr();
gotoAndPlay(131);
break;
case 9:
wait_clr();
gotoAndPlay(139);
break;
default:
wait1(5, 0, 0);
}
}
frame 119 {
if (mes_num < 11) {
wait2(4, 30);
voice_play(206);
} else {
wait2(4, 5);
voice_play(207);
}
}
frame 120 {
if (mes_num < 11) {
mes_num = 11;
} else {
mes_num = 12;
}
}
frame 123 {
switch (mc1) {
case 1:
wait_clr();
gotoAndPlay(131);
break;
case 2:
wait_clr();
gotoAndPlay(131);
break;
case 9:
wait_clr();
gotoAndPlay(139);
break;
default:
wait1(60, 0, 0);
}
}
frame 125 {
mv1.gotoAndStop(58);
voice_play2('t' + Math.floor(Math.random() * 2 + 91));
}
frame 127 {
mv1.gotoAndStop(59);
}
frame 129 {
gotoAndPlay(89);
}
frame 131 {
mv1.gotoAndStop(59);
}
frame 133 {
gotoAndPlay(94);
}
frame 135 {
mv1.gotoAndStop(38);
}
frame 137 {
mv1.gotoAndStop(39);
}
frame 139 {
mv1.gotoAndStop(48);
eroero += 1.5;
if (eroero > 40) {
eroero = 40;
}
voice_play2('w2a' + Math.floor(Math.random() * 2 + 2));
}
frame 141 {
num1 = Math.floor((mc1_y - _ymouse) / 47);
if (num1 < 0) {
num1 = 0;
}
if (num1 > 4) {
num1 = 4;
}
mv1.gotoAndStop(48 + num1);
icon_mv._y = 620 - 47 * num1;
if (mc1 == 0) {
icon_mv.removeMovieClip();
Mouse.show();
btn1.useHandCursor = false;
btn2.useHandCursor = false;
btn3.useHandCursor = false;
switch (mv1._currentframe) {
case 52:
if (eroero > 35) {
gotoAndPlay(152);
} else {
gotoAndPlay(_currentframe + 1);
}
break;
case 51:
gotoAndPlay(_currentframe + 2);
break;
case 50:
gotoAndPlay(_currentframe + 3);
break;
case 49:
gotoAndPlay(_currentframe + 4);
break;
default:
gotoAndPlay(_currentframe + 5);
}
} else {
gotoAndPlay(_currentframe - 1);
}
}
frame 143 {
mv1.gotoAndStop(55);
eroero += 1.5;
}
frame 144 {
mv1.gotoAndStop(56);
}
frame 145 {
mv1.gotoAndStop(57);
}
frame 146 {
mv1.gotoAndStop(58);
voice_play2('w1a' + Math.floor(Math.random() * 3 + 3));
}
frame 148 {
mv1.gotoAndStop(59);
}
frame 150 {
gotoAndPlay(base1);
}
frame 152 {
mv1.gotoAndStop(60);
voice_play2('w1a5');
}
frame 154 {
mv1.gotoAndStop(61);
}
frame 156 {
mv1.gotoAndStop(64);
base1 = 'jp31';
}
frame 156 {
btn1.useHandCursor = false;
btn2.useHandCursor = false;
btn3.useHandCursor = false;
}
button 24 {
on (rollOver) {
Mouse.hide();
attachMovie('icon2', 'icon_mv', 10, {'_x': -100, '_y': -100});
icon_mv.startDrag(true);
}
on (rollOut) {
icon_mv.removeMovieClip();
Mouse.show();
}
on (release) {
attachMovie('icon2', 'icon_mv', 10, {'_x': -100, '_y': -100});
icon_mv.startDrag(true);
}
on (press) {
if (wait2_on == 0) {
_global.mc1 = 9;
_global.mc1_y = _ymouse;
attachMovie('icon3', 'icon_mv', 10, {'_x': 565, '_y': 790});
Mouse.hide();
}
}
}
frame 159 {
switch (mc1) {
case 1:
wait_clr();
eroero += 1;
gotoAndPlay(175);
break;
case 2:
wait_clr();
eroero += 1.5;
gotoAndPlay(175);
break;
case 9:
wait_clr();
gotoAndPlay(182);
break;
default:
if (mv1._currentframe == 64 && Math.floor(Math.random() * 2) == 0) {
mv1.gotoAndStop(65);
gotoAndPlay(_currentframe - 1);
} else {
mv1.gotoAndStop(64);
wait1(30, 0, -170);
}
}
}
frame 162 {
mv1.gotoAndStop(65);
}
frame 166 {
base1 = 'jp32';
wait2(4, 20);
voice_play(208);
}
frame 168 {
mv1.gotoAndStop(64);
}
frame 171 {
switch (mc1) {
case 1:
wait_clr();
eroero += 1;
gotoAndPlay(175);
break;
case 2:
wait_clr();
eroero += 1.5;
gotoAndPlay(175);
break;
case 9:
wait_clr();
gotoAndPlay(182);
break;
default:
if (mv1._currentframe == 64 && Math.floor(Math.random() * 2) == 0) {
mv1.gotoAndStop(65);
gotoAndPlay(_currentframe - 1);
} else {
mv1.gotoAndStop(64);
wait1(600, 0, 0);
}
}
}
frame 173 {
gotoAndPlay(168);
}
frame 175 {
mv1.gotoAndStop(69);
if (eroero > 70) {
eroero = 70;
}
voice_play2('t' + Math.floor(Math.random() * 4 + 41));
}
frame 178 {
mv1.gotoAndStop(63);
if (mc1 > 0) {
gotoAndPlay(_currentframe - 1);
} else {
wait0(1);
}
}
frame 180 {
gotoAndPlay(base1);
}
frame 182 {
mv1.gotoAndStop(70);
eroero += 2;
if (eroero > 70) {
eroero = 70;
}
}
frame 184 {
mv1.gotoAndStop(71);
}
frame 186 {
mv1.gotoAndStop(72);
voice_play2('t' + Math.floor(Math.random() * 2 + 33));
}
frame 188 {
num1 = Math.floor((_ymouse - mc1_y) / 50);
if (num1 < 0) {
num1 = 0;
}
if (num1 > 4) {
num1 = 4;
}
mv1.gotoAndStop(72 + num1);
icon_mv._y = 790 + 50 * num1;
if (mc1 == 0) {
icon_mv.removeMovieClip();
Mouse.show();
btn1.useHandCursor = false;
btn2.useHandCursor = false;
btn3.useHandCursor = false;
switch (mv1._currentframe) {
case 76:
if (eroero > 65) {
gotoAndPlay(199);
} else {
gotoAndPlay(_currentframe + 1);
}
break;
case 75:
gotoAndPlay(_currentframe + 2);
break;
case 74:
gotoAndPlay(_currentframe + 3);
break;
case 73:
gotoAndPlay(_currentframe + 4);
break;
default:
gotoAndPlay(_currentframe + 5);
}
} else {
gotoAndPlay(_currentframe - 1);
}
}
frame 190 {
mv1.gotoAndStop(79);
eroero += 2;
}
frame 191 {
mv1.gotoAndStop(80);
}
frame 192 {
mv1.gotoAndStop(81);
}
frame 193 {
mv1.gotoAndStop(82);
voice_play2('w1a' + Math.floor(Math.random() * 3 + 3));
}
frame 195 {
mv1.gotoAndStop(83);
}
frame 197 {
gotoAndPlay(base1);
}
frame 199 {
mv1.gotoAndStop(84);
}
frame 201 {
mv1.gotoAndStop(85);
voice_play2('w1a1');
}
frame 204 {
if (mv1._currentframe == 85 && Math.floor(Math.random() * 2) == 0) {
mv1.gotoAndStop(86);
gotoAndPlay(_currentframe - 1);
} else {
mv1.gotoAndStop(85);
wait0(10);
}
}
frame 206 {
mv1.gotoAndStop(87);
}
frame 208 {
mv1.gotoAndStop(88);
voice_play2('w1a6');
}
frame 210 {
mv1.gotoAndStop(89);
}
frame 212 {
mv1.gotoAndStop(90);
}
frame 214 {
mv1.gotoAndStop(93);
base1 = 'jp42';
mes_num = 20;
}
frame 214 {
btn1.useHandCursor = false;
btn2.useHandCursor = false;
btn3.useHandCursor = false;
}
frame 217 {
switch (mc1) {
case 1:
wait_clr();
gotoAndPlay(237);
break;
case 2:
wait_clr();
gotoAndPlay(245);
break;
default:
if (mv1._currentframe == 93 && Math.floor(Math.random() * 2) == 0) {
mv1.gotoAndStop(94);
gotoAndPlay(_currentframe - 1);
} else {
mv1.gotoAndStop(93);
wait1(15, 0, 0);
}
}
}
frame 220 {
base1 = 'jp42';
if (eroero > 99) {
fin_on = 1;
}
if (mes_num == 20 || mes_num == 21 && eroero > 90) {
mes_num += 1;
gotoAndPlay(225);
} else {
switch (mc1) {
case 1:
wait_clr();
gotoAndPlay(237);
break;
case 2:
wait_clr();
gotoAndPlay(245);
break;
case 91:
wait_clr();
gotoAndPlay(317);
break;
default:
if (mv1._currentframe == 93 && Math.floor(Math.random() * 2) == 0) {
mv1.gotoAndStop(94);
gotoAndPlay(_currentframe - 1);
} else {
mv1.gotoAndStop(93);
wait1(60, 0, 0);
}
}
}
}
frame 222 {
gotoAndPlay(257);
fin_on = 0;
}
frame 225 {
base1 = 'jp42a';
if (eroero > 99) {
fin_on = 1;
}
if (mes_num == 21 && eroero > 90) {
mes_num = 22;
}
switch (mc1) {
case 1:
wait_clr();
gotoAndPlay(237);
break;
case 2:
wait_clr();
gotoAndPlay(245);
break;
case 91:
wait_clr();
gotoAndPlay(317);
break;
default:
if (mv1._currentframe == 93 && Math.floor(Math.random() * 2) == 0) {
mv1.gotoAndStop(94);
gotoAndPlay(_currentframe - 1);
} else {
mv1.gotoAndStop(93);
wait1(0, 0, -170);
}
}
}
frame 227 {
mv1.gotoAndStop(94);
}
frame 231 {
if (mes_num == 21) {
wait2(4, 7);
voice_play(207);
} else {
if (mes_num == 22) {
wait2(4, 22);
voice_play(209);
}
}
}
frame 233 {
gotoAndPlay(220);
}
frame 237 {
mv1.gotoAndStop(98);
eroero += 0.5;
voice_play2('t' + Math.floor(Math.random() * 2 + 43));
}
frame 240 {
mv1.gotoAndStop(92);
if (mc1 > 0) {
gotoAndPlay(_currentframe - 1);
} else {
wait0(1);
}
}
frame 242 {
gotoAndPlay(base1);
}
frame 245 {
mv1.gotoAndStop(99);
eroero += 1;
voice_play2('t' + Math.floor(Math.random() * 3 + 52));
}
frame 248 {
mv1.gotoAndStop(100);
}
frame 250 {
mv1.gotoAndStop(92);
if (mc1 > 0) {
gotoAndPlay(_currentframe - 1);
} else {
wait0(1);
}
}
frame 252 {
gotoAndPlay(base1);
}
frame 257 {
mv1.gotoAndStop(101);
}
frame 259 {
mv1.gotoAndStop(102);
}
frame 261 {
base1 = 'jp51';
mv1.gotoAndStop(113);
}
frame 264 {
switch (mc1) {
case 1:
wait_clr();
eroero += 0.5;
gotoAndPlay(296);
break;
case 2:
wait_clr();
eroero += 1.5;
gotoAndPlay(296);
break;
case 91:
wait_clr();
fin_num = 91;
gotoAndPlay(304);
break;
default:
if (mv1._currentframe == 113 && Math.floor(Math.random() * 2) == 0) {
mv1.gotoAndStop(114);
gotoAndPlay(_currentframe - 1);
} else {
mv1.gotoAndStop(113);
wait1(80, 0, 0);
}
}
}
frame 267 {
mv1.gotoAndStop(103);
}
frame 269 {
mv1.gotoAndStop(104);
}
frame 271 {
base1 = 'jp55';
mv1.gotoAndStop(105);
if (eroero > 99) {
fin_on = 1;
}
}
frame 274 {
switch (mc1) {
case 1:
wait_clr();
eroero += 0.5;
gotoAndPlay(296);
break;
case 2:
wait_clr();
eroero += 1.5;
gotoAndPlay(296);
break;
case 91:
wait_clr();
fin_num = 91;
gotoAndPlay(304);
break;
default:
if (mv1._currentframe == 105 && Math.floor(Math.random() * 2) == 0) {
mv1.gotoAndStop(106);
gotoAndPlay(_currentframe - 1);
} else {
mv1.gotoAndStop(105);
wait1(5, 0, -170);
}
}
}
frame 276 {
mv1.gotoAndStop(106);
}
frame 280 {
if (mes_num2 < 1) {
wait2(4, 20);
voice_play(210);
}
}
frame 281 {
mes_num2 = 1;
}
frame 283 {
mv1.gotoAndStop(105);
}
frame 286 {
switch (mc1) {
case 1:
wait_clr();
eroero += 0.5;
gotoAndPlay(296);
break;
case 2:
wait_clr();
eroero += 1.5;
gotoAndPlay(296);
break;
case 91:
wait_clr();
fin_num = 91;
gotoAndPlay(304);
break;
default:
if (mv1._currentframe == 105 && Math.floor(Math.random() * 2) == 0) {
mv1.gotoAndStop(106);
gotoAndPlay(_currentframe - 1);
} else {
mv1.gotoAndStop(105);
wait1(30, 0, 0);
}
}
}
frame 288 {
mv1.gotoAndStop(111);
fin_on = 0;
}
frame 290 {
mv1.gotoAndStop(112);
}
frame 292 {
gotoAndPlay(261);
}
frame 296 {
mv1.gotoAndStop(110);
voice_play2('t' + Math.floor(Math.random() * 3 + 41));
}
frame 299 {
mv1.gotoAndStop(104);
}
frame 301 {
gotoAndPlay(base1);
}
frame 304 {
mv1.gotoAndStop(102);
}
frame 307 {
mv1.gotoAndStop(101);
}
frame 310 {
mv1.gotoAndStop(91);
}
frame 312 {
mv1.gotoAndStop(92);
}
frame 313 {
if (fin_num == 91) {
gotoAndPlay(317);
} else {
gotoAndPlay(220);
}
}
frame 317 {
mv1.gotoAndStop(115);
fin_on = 0;
voice_play(211);
if (eroero < 120) {
eroero = 120;
}
}
frame 317 {
icon_mv.removeMovieClip();
Mouse.show();
}
frame 320 {
if (mv1._currentframe == 115 && Math.floor(Math.random() * 14) == 0) {
mv1.gotoAndStop(117);
gotoAndPlay(_currentframe - 2);
if (_level50.voice_num3 == 0) {
voice_play2('w1b' + Math.floor(Math.random() * 4 + 1));
}
} else {
if (mv1._currentframe == 115 && Math.floor(Math.random() * 2) == 0) {
mv1.gotoAndStop(116);
gotoAndPlay(_currentframe - 1);
} else {
mv1.gotoAndStop(115);
wait01(20, 0, -170);
}
}
}
frame 322 {
mv1.gotoAndStop(101);
voice_play3('w3a3');
}
frame 326 {
mv1.gotoAndStop(102);
}
frame 329 {
mv1.gotoAndStop(103);
}
frame 331 {
mv1.gotoAndStop(104);
}
frame 332 {
mv1.gotoAndStop(105);
}
frame 335 {
base1 = 'jp61a';
if (mv1._currentframe == 105 && Math.floor(Math.random() * 10) == 0) {
gotoAndPlay(351);
} else {
if (mv1._currentframe == 105 && Math.floor(Math.random() * 2) == 0) {
mv1.gotoAndStop(106);
gotoAndPlay(_currentframe - 1);
} else {
mv1.gotoAndStop(105);
wait1(10, 0, 0);
}
}
}
frame 337 {
mv1.gotoAndStop(106);
wait0(3);
}
frame 341 {
wait2(4, 25);
voice_play(212);
}
frame 343 {
mv1.gotoAndStop(105);
}
frame 346 {
base1 = 'jp62';
if (mv1._currentframe == 105 && Math.floor(Math.random() * 2) == 0) {
mv1.gotoAndStop(106);
gotoAndPlay(_currentframe - 1);
} else {
mv1.gotoAndStop(105);
wait1(10, 0, 0);
}
}
frame 348 {
mv1.gotoAndStop(105);
gotoAndPlay(362);
}
frame 351 {
mv1.gotoAndStop(110);
}
frame 353 {
mv1.gotoAndStop(111);
}
frame 355 {
mv1.gotoAndStop(104);
voice_play2('w1b' + Math.floor(Math.random() * 3 + 1));
}
frame 357 {
mv1.gotoAndStop(105);
}
frame 358 {
gotoAndPlay(base1);
}
frame 362 {
fin_on = 2;
if (mv1._currentframe == 105 && Math.floor(Math.random() * 2) == 0) {
mv1.gotoAndStop(106);
gotoAndPlay(_currentframe - 1);
} else {
mv1.gotoAndStop(105);
wait1(100, 0, 0);
}
}
frame 364 {
gotoAndPlay(362);
}
frame 369 {
stop();
_parent.gotoAndPlay('jp21');
}