Combined Code
frame 1 {
Stage.showMenu = false;
Stage.scaleMode = 'noscale';
bgm = new Sound(s_bgm);
bgm.attachSound('music_main');
bgm.start(0, 999);
guy_voice = new Sound(s_gvoice);
gal_voice = new Sound(s_svoice);
eff_sound = new Sound(s_effect);
var tem_eff;
_root.guy._visible = false;
_root.mask2._visible = false;
_root.guy_shadow._visible = false;
_root.sakura_shadow._visible = false;
var clean_mem;
clean_mem = 0;
var back_left;
var back_right;
back_left = 1;
back_right = 1;
var scene_sel;
scene_sel = 1;
var loadcount;
loadcount = 0;
var money;
money = 0;
var pauseif;
pauseif = false;
var c_data_name;
c_data_name = '';
var money_plus;
var end_choice;
end_choice = 0;
money_plus = 0;
var win_num;
win_num = 0;
var lose_num;
lose_num = 0;
var coll;
coll = 0;
var t_coll;
t_coll = 0;
var player_name;
player_name = 'Enter_Your_Name';
var free_mode;
free_mode = false;
var sel_name;
sel_name = 'Unamed';
var sel_hair;
sel_hair = 1;
var sel_shoe;
sel_shoe = 31;
var sel_panty;
sel_panty = 31;
var sel_up;
sel_up = 31;
var sel_low;
sel_low = 31;
var sel_prop;
sel_prop = 31;
var sel_body;
sel_body = 1;
var load_temp;
load_temp = 0;
var d_up_a;
d_up_a = 100;
var d_low_a;
d_low_a = 100;
var d_panty_a;
d_panty_a = 100;
var sel_num;
sel_num = 1;
var sname;
sname = 'Sakura';
var ai;
ai = 1;
var aa = new Array(30);
var bb = new Array(30);
var cc = new Array(30);
var dd = new Array(30);
var ee = new Array(30);
var ff = new Array(30);
var aas;
var bbs;
var ccs;
var dds;
var ees;
var ffs;
aas = '';
bbs = '';
ccs = '';
dds = '';
ees = '';
ffs = '';
aa[0] = 1;
bb[0] = 1;
cc[0] = 1;
dd[0] = 1;
ee[0] = 1;
ff[0] = 1;
aa[1] = 1;
bb[1] = 1;
cc[1] = 1;
dd[1] = 1;
ee[1] = 1;
ff[1] = 1;
aa[31] = 1;
bb[31] = 1;
cc[31] = 1;
dd[31] = 1;
ee[31] = 1;
ff[31] = 1;
game_record = SharedObject.getLocal('7th_dream_cgf');
if (game_record.data.saved != undefined) {
load_temp = 0;
while (load_temp <= 30) {
aa[load_temp] = game_record.data.aas.substring(load_temp, load_temp + 1);
bb[load_temp] = game_record.data.bbs.substring(load_temp, load_temp + 1);
cc[load_temp] = game_record.data.ccs.substring(load_temp, load_temp + 1);
dd[load_temp] = game_record.data.dds.substring(load_temp, load_temp + 1);
ee[load_temp] = game_record.data.ees.substring(load_temp, load_temp + 1);
ff[load_temp] = game_record.data.ffs.substring(load_temp, load_temp + 1);
if (aa[load_temp] == 1) {
coll += 1;
}
if (bb[load_temp] == 1) {
coll += 1;
}
if (cc[load_temp] == 1) {
coll += 1;
}
if (dd[load_temp] == 1) {
coll += 1;
}
if (ee[load_temp] == 1) {
coll += 1;
}
if (ff[load_temp] == 1) {
coll += 1;
}
++load_temp;
}
money = game_record.data.money;
win_num = game_record.data.win_num;
lose_num = game_record.data.lose_num;
player_name = game_record.data.player_name;
} else {
load_temp = 0;
while (load_temp <= 30) {
aas += String(aa[load_temp]);
bbs += String(bb[load_temp]);
ccs += String(cc[load_temp]);
dds += String(dd[load_temp]);
ees += String(ee[load_temp]);
ffs += String(ff[load_temp]);
++load_temp;
}
game_record.data.aas = aas;
game_record.data.bbs = bbs;
game_record.data.ccs = ccs;
game_record.data.dds = dds;
game_record.data.ees = ees;
game_record.data.ffs = ffs;
game_record.data.money = money;
game_record.data.win_num = win_num;
game_record.data.lose_num = lose_num;
game_record.data.player_name = player_name;
game_record.data.saved = true;
game_record.flush();
_root.hint3.gotoAndPlay(2);
}
}
movieClip 473 {
}
movieClip 596 {
frame 15 {
gotoAndPlay(1);
}
frame 24 {
_root.baction = false;
}
frame 26 {
gotoAndPlay(16);
}
frame 30 {
_root.hit_rate = 0;
}
frame 40 {
_root.baction = false;
}
frame 42 {
gotoAndPlay(27);
}
frame 66 {
gotoAndPlay(43);
}
frame 90 {
gotoAndPlay(67);
}
frame 97 {
if (_root.push_k == false) {
_root.baction = false;
} else {
_root.untidead = 0;
yz = 18;
myz = 21;
fyz = 15;
}
}
frame 102 {
_root.hit_rate = 0;
}
frame 108 {
_root.hs = 4;
}
frame 112 {
if (_root.push_k == false) {
_root.baction = false;
} else {
_root.untidead = 0;
yz = 26;
myz = 32;
fyz = 15;
}
}
frame 115 {
_root.hit_rate = 0;
}
frame 117 {
_root.hs = 10;
}
frame 121 {
_root.untidead = 0;
}
frame 134 {
_root.baction = false;
}
frame 136 {
gotoAndPlay(91);
}
frame 159 {
_root.baction = false;
}
frame 161 {
gotoAndPlay(137);
}
frame 167 {
if (_root.push_p == false) {
_root.baction = false;
} else {
_root.untidead = 0;
yz = 10;
myz = 12;
fyz = 8;
}
}
frame 172 {
_root.hs = 7;
}
frame 175 {
if (_root.push_p == false) {
_root.baction = false;
} else {
_root.untidead = 0;
yz = 20;
myz = 24;
fyz = 10;
}
}
frame 180 {
_root.hs = 6;
}
frame 191 {
_root.baction = false;
}
frame 193 {
gotoAndPlay(162);
}
frame 202 {
_root.untidead = 0;
}
frame 219 {
_root.baction = false;
}
frame 221 {
gotoAndPlay(194);
}
frame 236 {
_root.baction = false;
}
frame 238 {
gotoAndPlay(222);
}
frame 245 {
_root.baction = false;
}
frame 247 {
gotoAndPlay(239);
}
frame 254 {
_root.baction = false;
}
frame 256 {
gotoAndPlay(248);
}
frame 263 {
_root.baction = false;
}
frame 265 {
gotoAndPlay(257);
}
frame 272 {
_root.baction = false;
}
frame 274 {
gotoAndPlay(266);
}
frame 292 {
_root.untidead = 0;
}
frame 309 {
_root.untidead = 0;
}
frame 326 {
_root.baction = false;
}
frame 328 {
gotoAndPlay(275);
}
frame 350 {
_root.baction = false;
}
frame 352 {
gotoAndPlay(329);
}
frame 364 {
gotoAndPlay(353);
}
frame 371 {
_root.baction = false;
}
frame 373 {
gotoAndPlay(365);
}
frame 391 {
gotoAndPlay(380);
}
frame 394 {
gotoAndPlay(1);
}
frame 407 {
_root.baction = false;
}
frame 409 {
gotoAndPlay(398);
}
frame 419 {
_root.baction = false;
}
frame 421 {
gotoAndPlay(410);
}
frame 428 {
_root.baction = false;
}
frame 430 {
gotoAndPlay(422);
}
frame 437 {
_root.baction = false;
}
frame 439 {
gotoAndPlay(431);
}
frame 457 {
_root.baction = false;
}
frame 459 {
gotoAndPlay(440);
}
frame 471 {
gotoAndPlay(460);
}
frame 478 {
_root.baction = false;
}
frame 480 {
gotoAndPlay(472);
}
frame 492 {
_root.baction = false;
}
frame 494 {
gotoAndPlay(481);
}
frame 516 {
_root.baction = false;
}
frame 518 {
gotoAndPlay(495);
}
frame 532 {
_root.baction = false;
}
frame 534 {
gotoAndPlay(519);
}
frame 551 {
_root.baction = false;
}
frame 553 {
gotoAndPlay(535);
}
frame 556 {
_root.dash = true;
}
frame 571 {
_root.dash = false;
}
frame 577 {
_root.baction = false;
}
frame 579 {
gotoAndPlay(554);
}
frame 581 {
_root.untidead = 0;
}
frame 599 {
_root.baction = false;
}
frame 601 {
gotoAndPlay(580);
}
frame 603 {
_root.untidead = 0;
}
frame 619 {
_root.baction = false;
}
frame 621 {
gotoAndPlay(602);
}
frame 624 {
_root.dash = true;
}
frame 639 {
_root.dash = false;
}
frame 642 {
_root.baction = false;
}
frame 644 {
gotoAndPlay(622);
}
frame 646 {
_root.untidead = 0;
}
frame 660 {
_root.baction = false;
}
frame 662 {
gotoAndPlay(645);
}
frame 664 {
_root.untidead = 0;
}
frame 684 {
_root.baction = false;
}
frame 686 {
gotoAndPlay(663);
}
frame 698 {
gotoAndPlay(687);
}
frame 705 {
_root.baction = false;
}
frame 707 {
gotoAndPlay(699);
}
frame 723 {
gotoAndPlay(708);
}
frame 730 {
_root.baction = false;
}
frame 732 {
gotoAndPlay(724);
}
frame 739 {
_root.baction = false;
}
frame 741 {
gotoAndPlay(733);
}
frame 759 {
_root.sta = 0;
_root.g_lay = false;
if (_root.face_front == true) {
_root.gx += 40;
} else {
_root.gx -= 40;
}
_root.baction = false;
}
frame 761 {
stop();
}
frame 774 {
_root.untidead = 0;
_root.g_bisha = true;
}
frame 792 {
_root.untidead = 0;
}
frame 808 {
_root.untidead = 0;
}
frame 826 {
_root.untidead = 0;
}
frame 843 {
_root.untidead = 0;
}
frame 859 {
_root.untidead = 0;
}
frame 873 {
_root.untidead = 0;
}
frame 886 {
_root.baction = false;
_root.g_bisha = false;
}
frame 888 {
gotoAndPlay(771);
}
frame 901 {
gotoAndPlay(889);
}
frame 924 {
_root.untidead = 0;
}
frame 944 {
_root.untidead = 0;
}
frame 964 {
_root.sta = 0;
_root.baction = false;
gotoAndPlay(1);
}
frame 1107 {
delete _root.guy.onEnterFrame;
delete _root.sakura.onEnterFrame;
delete _root.backgrounds.onEnterFrame;
delete _root.combat_event.onEnterFrame;
delete _root.combat_event2.onEnterFrame;
if (_root.g_win > 1) {
_root.gotoAndPlay(113);
} else {
_root.gotoAndPlay(101);
}
}
frame 1117 {
_root.baction = false;
}
frame 1119 {
stop();
}
frame 1129 {
gotoAndPlay(1120);
}
frame 1139 {
_root.baction = false;
}
frame 1141 {
stop();
}
frame 1150 {
gotoAndPlay(1142);
}
frame 1160 {
_root.baction = false;
}
frame 1162 {
stop();
}
frame 1171 {
gotoAndPlay(1163);
}
frame 1181 {
_root.baction = false;
}
frame 1183 {
stop();
}
frame 1192 {
gotoAndPlay(1184);
}
frame 1202 {
_root.baction = false;
}
frame 1204 {
stop();
}
frame 1213 {
gotoAndPlay(1205);
}
}
movieClip 1425 {
}
movieClip 1432 {
}
movieClip 1433 {
}
movieClip 1452 {
frame 12 {
gotoAndPlay(1);
}
frame 33 {
gotoAndPlay(22);
}
frame 40 {
_root.unti_sakura = false;
}
frame 42 {
gotoAndPlay(34);
}
frame 49 {
_root.unti_sakura = false;
}
frame 51 {
gotoAndPlay(43);
}
frame 58 {
_root.unti_sakura = false;
}
frame 60 {
gotoAndPlay(52);
}
frame 67 {
_root.unti_sakura = false;
}
frame 69 {
gotoAndPlay(61);
}
frame 84 {
gotoAndPlay(70);
}
frame 91 {
_root.unti_sakura = false;
}
frame 93 {
gotoAndPlay(85);
}
frame 99 {
gotoAndPlay(1);
}
frame 106 {
_root.unti_sakura = false;
}
frame 108 {
gotoAndPlay(100);
}
frame 118 {
_root.unti_sakura = false;
}
frame 120 {
gotoAndPlay(109);
}
frame 130 {
_root.unti_sakura = false;
}
frame 132 {
gotoAndPlay(121);
}
frame 144 {
_root.unti_sakura = false;
}
frame 146 {
gotoAndPlay(133);
}
frame 159 {
_root.unti_sakura = false;
}
frame 161 {
gotoAndPlay(147);
}
frame 173 {
gotoAndPlay(162);
}
frame 189 {
_root.unti_sakura = false;
}
frame 191 {
gotoAndPlay(174);
}
frame 208 {
_root.unti_sakura = false;
}
frame 210 {
gotoAndPlay(192);
}
frame 223 {
_root.unti_sakura = false;
}
frame 225 {
gotoAndPlay(211);
}
frame 245 {
_root.unti_sakura = false;
}
frame 247 {
gotoAndPlay(226);
}
frame 261 {
_root.unti_sakura = false;
}
frame 263 {
gotoAndPlay(248);
}
frame 278 {
_root.unti_sakura = false;
}
frame 280 {
gotoAndPlay(264);
}
frame 294 {
_root.unti_sakura = false;
}
frame 296 {
gotoAndPlay(281);
}
frame 311 {
_root.undead_sakura = 0;
}
frame 332 {
_root.unti_sakura = false;
}
frame 334 {
gotoAndPlay(297);
}
frame 354 {
_root.undead_sakura = 0;
}
frame 374 {
_root.unti_sakura = false;
}
frame 376 {
gotoAndPlay(335);
}
frame 398 {
_root.unti_sakura = false;
}
frame 400 {
gotoAndPlay(377);
}
frame 407 {
_root.unti_sakura = false;
}
frame 409 {
gotoAndPlay(401);
}
frame 416 {
_root.unti_sakura = false;
}
frame 418 {
gotoAndPlay(410);
}
frame 425 {
_root.unti_sakura = false;
}
frame 427 {
gotoAndPlay(419);
}
frame 434 {
_root.unti_sakura = false;
}
frame 436 {
gotoAndPlay(428);
}
frame 456 {
_root.unti_sakura = false;
}
frame 458 {
gotoAndPlay(437);
}
frame 475 {
_root.unti_sakura = false;
}
frame 477 {
gotoAndPlay(459);
}
frame 499 {
_root.unti_sakura = false;
}
frame 501 {
gotoAndPlay(478);
}
frame 516 {
_root.unti_sakura = false;
}
frame 518 {
gotoAndPlay(502);
}
frame 543 {
_root.unti_sakura = false;
}
frame 545 {
gotoAndPlay(519);
}
frame 562 {
_root.unti_sakura = false;
}
frame 564 {
gotoAndPlay(546);
}
frame 571 {
_root.s_bisha = true;
_root.ssp = 0;
}
frame 583 {
_root.undead_sakura = 0;
}
frame 601 {
_root.undead_sakura = 0;
}
frame 620 {
_root.undead_sakura = 0;
}
frame 636 {
_root.s_bisha = false;
_root.unti_sakura = false;
}
frame 638 {
gotoAndPlay(565);
}
frame 656 {
_root.undead_sakura = 0;
}
frame 675 {
_root.unti_sakura = false;
}
frame 677 {
gotoAndPlay(639);
}
frame 692 {
_root.undead_sakura = 0;
}
frame 708 {
_root.unti_sakura = false;
}
frame 710 {
gotoAndPlay(678);
}
frame 725 {
gotoAndPlay(711);
}
frame 732 {
_root.unti_sakura = false;
}
frame 734 {
stop();
}
frame 747 {
_root.unti_sakura = false;
}
frame 749 {
gotoAndPlay(735);
}
frame 756 {
_root.unti_sakura = false;
}
frame 758 {
gotoAndPlay(750);
}
frame 770 {
gotoAndPlay(759);
}
frame 777 {
_root.unti_sakura = false;
}
frame 779 {
gotoAndPlay(771);
}
frame 786 {
_root.unti_sakura = false;
}
frame 788 {
gotoAndPlay(780);
}
frame 811 {
_root.unti_sakura = false;
}
frame 813 {
stop();
}
frame 826 {
gotoAndPlay(814);
}
frame 844 {
_root.undead_sakura = 0;
}
frame 861 {
_root.undead_sakura = 0;
}
frame 877 {
_root.undead_sakura = 0;
}
frame 894 {
_root.gta = 1;
_root.unti_sakura = false;
gotoAndPlay(1);
}
frame 1045 {
delete _root.guy.onEnterFrame;
delete _root.sakura.onEnterFrame;
delete _root.backgrounds.onEnterFrame;
delete _root.combat_event.onEnterFrame;
delete _root.combat_event2.onEnterFrame;
if (_root.s_win > 1) {
_root.gotoAndPlay(113);
} else {
_root.gotoAndPlay(101);
}
}
frame 1063 {
_root.fuck_count += 1;
gotoAndPlay(1052);
}
frame 1069 {
_root.unti_sakura = false;
_root.baction = false;
}
frame 1071 {
stop();
}
frame 1089 {
_root.fuck_count += 1;
gotoAndPlay(1075);
}
frame 1095 {
_root.unti_sakura = false;
_root.baction = false;
}
frame 1097 {
stop();
}
frame 1118 {
_root.fuck_count += 1;
gotoAndPlay(1101);
}
frame 1121 {
_root.s_fly = true;
_root.hf = 10;
_root.hs = 6;
_root.hf_protect = 0;
_root.unti_sakura = false;
_root.baction = false;
}
frame 1123 {
stop();
}
frame 1144 {
_root.fuck_count += 1;
gotoAndPlay(1127);
}
frame 1150 {
_root.s_yz = 20;
_root.s_hurt = 20;
_root.unti_sakura = false;
_root.baction = false;
}
frame 1152 {
stop();
}
frame 1176 {
_root.fuck_count += 1;
gotoAndPlay(1159);
}
frame 1182 {
_root.s_yz = 20;
_root.s_hurt = 20;
_root.unti_sakura = false;
_root.baction = false;
}
frame 1184 {
stop();
}
frame 1211 {
_root.fuck_count += 1;
gotoAndPlay(1194);
}
frame 1217 {
_root.s_lay = true;
_root.hf_protect = 0;
_root.unti_sakura = false;
_root.baction = false;
}
frame 1219 {
stop();
}
frame 1240 {
_root.fuck_count += 1;
gotoAndPlay(1223);
}
frame 1246 {
_root.s_lay = true;
_root.unti_sakura = false;
_root.baction = false;
_root.hf_protect = 0;
}
frame 1248 {
stop();
}
frame 1250 {
_root.s_fly = false;
}
frame 1272 {
_root.fuck_count += 1;
gotoAndPlay(1255);
}
frame 1278 {
_root.s_fly = true;
_root.hf = 12;
_root.hs = 6;
_root.hf_protect = 0;
_root.unti_sakura = false;
_root.baction = false;
}
frame 1280 {
stop();
}
frame 1304 {
_root.fuck_count += 1;
gotoAndPlay(1287);
}
frame 1310 {
_root.unti_sakura = false;
_root.baction = false;
}
frame 1312 {
stop();
}
frame 1336 {
_root.fuck_count += 1;
gotoAndPlay(1319);
}
frame 1342 {
_root.unti_sakura = false;
_root.baction = false;
}
frame 1344 {
stop();
}
frame 1368 {
_root.fuck_count += 1;
gotoAndPlay(1351);
}
frame 1374 {
_root.s_lay = true;
_root.unti_sakura = false;
_root.baction = false;
_root.hf_protect = 0;
}
frame 1376 {
stop();
}
frame 1400 {
_root.fuck_count += 1;
gotoAndPlay(1383);
}
frame 1409 {
_root.g_lay = false;
_root.gta = 51;
gotoAndPlay(1104);
}
frame 1411 {
stop();
}
frame 1435 {
_root.fuck_count += 1;
gotoAndPlay(1418);
}
frame 1441 {
_root.s_fly = true;
_root.hf = 10;
_root.hs = 6;
_root.hf_protect = 0;
_root.unti_sakura = false;
_root.baction = false;
}
frame 1443 {
stop();
}
frame 1500 {
gotoAndPlay(1444);
}
}
movieClip 1453 {
}
movieClip 1458 {
}
movieClip 1462 {
}
movieClip 1464 {
frame 1 {
stop();
}
frame 109 {
gotoAndPlay(87);
}
}
movieClip 1466 {
}
movieClip 1469 {
}
movieClip 1470 {
}
movieClip 1471 {
}
movieClip 1472 {
}
movieClip 1473 {
}
frame 3 {
loadcount += 1;
if (loadcount < 70) {
gotoAndPlay(2);
}
}
frame 4 {
delete _root.guy.onEnterFrame;
_root.guy._visible = false;
_root.guy_shadow._visible = false;
_root.sakura_shadow._visible = false;
pauseif = false;
loadMovie('', _root.mask2);
loadMovie('data/mask2.swf', _root.mask2);
_root.mask2._visible = false;
}
// unknown tag 88 length 63
button 1482 {
on (release) {
player_name = cp_name.text;
game_record.data.player_name = cp_name.text;
_root.guy._visible = true;
_root.guy_shadow._visible = true;
_root.sakura_shadow._visible = true;
free_mode = false;
gotoAndPlay(86);
}
}
button 1484 {
on (release) {
player_name = cp_name.text;
game_record.data.player_name = cp_name.text;
_root.guy._visible = true;
_root.guy_shadow._visible = true;
_root.sakura_shadow._visible = true;
gotoAndPlay(74);
}
}
button 1486 {
on (release) {
player_name = cp_name.text;
game_record.data.player_name = cp_name.text;
gotoAndPlay(45);
}
}
button 1488 {
on (release) {
gotoAndPlay(138);
}
}
button 1490 {
on (release) {
_root.hint3.gotoAndStop(1);
gotoAndPlay(150);
}
}
button 1492 {
on (release) {
player_name = cp_name.text;
game_record.data.player_name = cp_name.text;
_root.guy._visible = true;
_root.sakura_shadow._visible = false;
_root.hint3.gotoAndStop(1);
gotoAndPlay(26);
}
}
button 1494 {
on (release) {
player_name = cp_name.text;
game_record.data.player_name = cp_name.text;
gotoAndPlay(126);
}
}
// unknown tag 88 length 64
frame 24 {
t_coll = Math.round((coll - 74) / 1.06);
if (t_coll > 100) {
t_coll = 100;
}
if (t_coll < 0) {
t_coll = 0;
}
_root.cp_coll.text = t_coll;
load_temp = 16;
while (load_temp <= 30) {
aa[load_temp] = 1;
++load_temp;
}
load_temp = 16;
while (load_temp <= 30) {
bb[load_temp] = 1;
++load_temp;
}
load_temp = 24;
while (load_temp <= 30) {
cc[load_temp] = 1;
++load_temp;
}
load_temp = 25;
while (load_temp <= 30) {
dd[load_temp] = 1;
++load_temp;
}
load_temp = 16;
while (load_temp <= 30) {
ee[load_temp] = 1;
++load_temp;
}
load_temp = 15;
while (load_temp <= 30) {
ff[load_temp] = 1;
++load_temp;
}
_root.mask2._visible = false;
stop();
}
frame 26 {
_root.guy._x = 434;
_root.guy._y = 142;
_root.mask2._x = 434;
_root.mask2._y = 142;
_root.guy._visible = true;
_root.mask2._visible = true;
_root.guy_shadow._visible = false;
_root.sakura_shadow._visible = false;
_root.skill_list.onEnterFrame = function () {
if (_root.skill_list._ymouse < 100 && _root.skill_list.list._y < 10) {
_root.skill_list.list._y += 4;
}
if (_root.skill_list._ymouse > 600 && _root.skill_list.list._y > -230) {
_root.skill_list.list._y -= 4;
}
_root.mask2.gotoAndStop(_root.guy._currentframe);
};
bgm.stop();
bgm.attachSound('music_skill');
bgm.start(0, 999);
}
button 1512 {
on (release) {
_root.guy.gotoAndPlay(460);
}
}
button 1513 {
on (release) {
_root.guy.gotoAndPlay(353);
}
}
button 1514 {
on (release) {
_root.guy.gotoAndPlay(16);
}
}
button 1515 {
on (release) {
_root.guy.gotoAndPlay(137);
}
}
button 1516 {
on (release) {
_root.guy.gotoAndPlay(162);
}
}
button 1517 {
on (release) {
_root.guy.gotoAndPlay(398);
}
}
button 1518 {
on (release) {
_root.guy.gotoAndPlay(519);
}
}
button 1519 {
on (release) {
_root.guy.gotoAndPlay(27);
}
}
button 1520 {
on (release) {
_root.guy.gotoAndPlay(222);
}
}
button 1521 {
on (release) {
_root.guy.gotoAndPlay(91);
}
}
button 1522 {
on (release) {
_root.guy.gotoAndPlay(410);
}
}
button 1523 {
on (release) {
_root.guy.gotoAndPlay(495);
}
}
button 1524 {
on (release) {
_root.guy.gotoAndPlay(194);
}
}
button 1525 {
on (release) {
_root.guy.gotoAndPlay(554);
}
}
button 1526 {
on (release) {
_root.guy.gotoAndPlay(602);
}
}
button 1527 {
on (release) {
_root.guy.gotoAndPlay(580);
}
}
button 1528 {
on (release) {
_root.guy.gotoAndPlay(622);
}
}
button 1529 {
on (release) {
_root.guy.gotoAndPlay(663);
}
}
button 1530 {
on (release) {
_root.guy.gotoAndPlay(645);
}
}
button 1531 {
on (release) {
_root.guy.gotoAndPlay(275);
}
}
button 1532 {
on (release) {
_root.guy.gotoAndPlay(535);
}
}
button 1533 {
on (release) {
_root.guy.gotoAndPlay(329);
}
}
button 1534 {
on (release) {
_root.guy.gotoAndPlay(440);
}
}
button 1535 {
on (release) {
_root.guy.gotoAndPlay(771);
}
}
button 1536 {
on (release) {
_root.guy.gotoAndPlay(742);
}
}
movieClip 1537 {
}
movieClip 1538 {
}
button 1542 {
on (release) {
play();
}
}
frame 34 {
stop();
}
frame 42 {
bgm.stop();
bgm.attachSound('music_main');
bgm.start(0, 999);
delete _root.skill_list.onEnterFrame;
gotoAndPlay(4);
}
frame 45 {
_root.guy._visible = false;
_root.mask2._visible = false;
_root.guy_shadow._visible = false;
_root.sakura_shadow._visible = false;
bgm.stop();
bgm.attachSound('music_free');
bgm.start(0, 999);
sel_num = 1;
ai = 3;
var loaded_cha;
loaded_cha = false;
_root.d_jy._alpha = 0;
_root.sakura._x = 349;
_root.sakura._y = 190;
_root.d_hair._x = 349;
_root.d_hair._y = 190;
_root.d_shoe._x = 349;
_root.d_shoe._y = 190;
_root.d_panty._x = 349;
_root.d_panty._y = 190;
_root.d_panty._alpha = 50;
_root.d_body._x = 349;
_root.d_body._y = 190;
_root.d_up._x = 349;
_root.d_up._y = 190;
_root.d_low._x = 349;
_root.d_low._y = 190;
_root.d_prop._x = 349;
_root.d_prop._y = 190;
_root.d_jy._x = 349;
_root.d_jy._y = 190;
_root.mask1._x = 349;
_root.mask1._y = 190;
_root.guy._x = -1000;
_root.mask2._x = -1000;
_root.guy_shadow._x = -1000;
_root.sakura_shadow._x = -1000;
_root.guy._visible = true;
_root.mask2._visible = true;
_root.guy_shadow._visible = true;
_root.sakura_shadow._visible = true;
_root.sakura.gotoAndPlay(1);
_root.spot.onEnterFrame = function () {
_root.sakura_shadow.gotoAndPlay(_root.sakura._currentframe);
_root.d_hair.gotoAndPlay(_root.sakura._currentframe);
_root.d_shoe.gotoAndPlay(_root.sakura._currentframe);
_root.d_panty.gotoAndPlay(_root.sakura._currentframe);
_root.d_body.gotoAndPlay(_root.sakura._currentframe);
_root.d_up.gotoAndPlay(_root.sakura._currentframe);
_root.d_low.gotoAndPlay(_root.sakura._currentframe);
_root.d_prop.gotoAndPlay(_root.sakura._currentframe);
_root.d_jy.gotoAndPlay(_root.sakura._currentframe);
_root.mask1.gotoAndPlay(_root.sakura._currentframe);
switch (sel_num) {
case 1:
_root.data_sel._y = 96.5;
break;
case 2:
_root.data_sel._y = 116;
break;
case 3:
_root.data_sel._y = 135.5;
break;
case 4:
_root.data_sel._y = 155.5;
break;
case 5:
_root.data_sel._y = 175.5;
break;
case 6:
_root.data_sel._y = 194.5;
break;
case 7:
_root.data_sel._y = 214.5;
break;
case 8:
_root.data_sel._y = 233.5;
break;
case 9:
_root.data_sel._y = 253.5;
break;
case 10:
_root.data_sel._y = 273;
break;
case 11:
_root.data_sel._y = 292.5;
break;
case 12:
_root.data_sel._y = 312.5;
break;
case 13:
_root.data_sel._y = 331.5;
break;
case 14:
_root.data_sel._y = 351;
break;
case 15:
_root.data_sel._y = 370;
}
switch (ai) {
case 0:
_root.star_1._visible = false;
_root.star_2._visible = false;
_root.star_3._visible = false;
_root.star_4._visible = false;
_root.star_5._visible = false;
_root.ai_text.text = 'Practice';
break;
case 1:
_root.star_1._visible = true;
_root.star_2._visible = false;
_root.star_3._visible = false;
_root.star_4._visible = false;
_root.star_5._visible = false;
_root.ai_text.text = 'Beginner';
break;
case 2:
_root.star_1._visible = true;
_root.star_2._visible = true;
_root.star_3._visible = false;
_root.star_4._visible = false;
_root.star_5._visible = false;
_root.ai_text.text = 'Apprentice';
break;
case 3:
_root.star_1._visible = true;
_root.star_2._visible = true;
_root.star_3._visible = true;
_root.star_4._visible = false;
_root.star_5._visible = false;
_root.ai_text.text = 'Warrior';
break;
case 4:
_root.star_1._visible = true;
_root.star_2._visible = true;
_root.star_3._visible = true;
_root.star_4._visible = true;
_root.star_5._visible = false;
_root.ai_text.text = 'Master';
break;
case 5:
_root.star_1._visible = true;
_root.star_2._visible = true;
_root.star_3._visible = true;
_root.star_4._visible = true;
_root.star_5._visible = true;
_root.ai_text.text = 'Ace';
}
};
}
movieClip 1547 {
}
movieClip 1548 {
}
movieClip 1549 {
}
movieClip 1550 {
}
movieClip 1551 {
}
movieClip 1552 {
}
movieClip 1553 {
}
movieClip 1554 {
}
movieClip 1555 {
}
button 1556 {
on (release) {
free_mode = false;
play();
}
}
button 1557 {
on (release) {
if (loaded_cha == true) {
free_mode = true;
play();
}
}
}
button 1559 {
on (release) {
c_data_name = '7th_dream_cgf_c' + sel_num;
game_record = SharedObject.getLocal(c_data_name);
if (game_record.data.sel_name != undefined) {
sname = game_record.data.sel_name;
sel_hair = game_record.data.sel_hair;
sel_up = game_record.data.sel_up;
sel_low = game_record.data.sel_low;
sel_panty = game_record.data.sel_panty;
sel_shoe = game_record.data.sel_shoe;
sel_prop = game_record.data.sel_prop;
sel_body = game_record.data.sel_body;
_root.d_up._alpha = game_record.data.d_up_a;
_root.d_low._alpha = game_record.data.d_low_a;
_root.d_panty._alpha = game_record.data.d_panty_a;
loadMovie('', _root.d_hair);
loadMovie('data/h_' + sel_hair + '.swf', _root.d_hair);
loadMovie('', _root.d_up);
loadMovie('data/u_' + sel_up + '.swf', _root.d_up);
loadMovie('', _root.d_low);
loadMovie('data/low_' + sel_low + '.swf', _root.d_low);
loadMovie('', _root.d_panty);
loadMovie('data/p_' + sel_panty + '.swf', _root.d_panty);
loadMovie('', _root.d_shoe);
loadMovie('data/s_' + sel_shoe + '.swf', _root.d_shoe);
loadMovie('', _root.d_prop);
loadMovie('data/a_' + sel_prop + '.swf', _root.d_prop);
loadMovie('', _root.d_body);
loadMovie('data/b_' + sel_body + '.swf', _root.d_body);
loadMovie('', _root.mask1);
loadMovie('data/mask1.swf', _root.mask1);
loaded_cha = true;
}
}
}
// unknown tag 88 length 68
button 1580 {
on (release) {
sel_num = 1;
}
}
button 1581 {
on (release) {
sel_num = 2;
}
}
button 1582 {
on (release) {
sel_num = 3;
}
}
button 1583 {
on (release) {
sel_num = 4;
}
}
button 1584 {
on (release) {
sel_num = 5;
}
}
button 1585 {
on (release) {
sel_num = 6;
}
}
button 1586 {
on (release) {
sel_num = 7;
}
}
button 1587 {
on (release) {
sel_num = 8;
}
}
button 1588 {
on (release) {
sel_num = 9;
}
}
button 1589 {
on (release) {
sel_num = 10;
}
}
button 1590 {
on (release) {
sel_num = 11;
}
}
button 1592 {
on (release) {
sel_num = 12;
}
}
button 1593 {
on (release) {
sel_num = 13;
}
}
button 1594 {
on (release) {
sel_num = 14;
}
}
button 1595 {
on (release) {
sel_num = 15;
}
}
movieClip 1597 {
}
movieClip 1599 {
}
movieClip 1601 {
}
button 1605 {
on (release) {
scene_sel = 1;
_root.scene_sel_rec._y = 177;
}
}
button 1606 {
on (release) {
scene_sel = 2;
_root.scene_sel_rec._y = 372;
}
}
button 1607 {
on (release) {
scene_sel = 3;
_root.scene_sel_rec._y = 569;
}
}
button 1611 {
on (release) {
if (ai > 0) {
ai -= 1;
}
}
}
button 1612 {
on (release) {
if (ai < 5) {
ai += 1;
}
}
}
movieClip 1614 {
}
frame 46 {
load_temp = 1;
while (load_temp <= 15) {
c_data_name = '7th_dream_cgf_c' + load_temp;
game_record = SharedObject.getLocal(c_data_name);
switch (load_temp) {
case 1:
if (game_record.data.sel_name != undefined) {
r1.text = game_record.data.sel_name;
}
break;
case 2:
if (game_record.data.sel_name != undefined) {
r2.text = game_record.data.sel_name;
}
break;
case 3:
if (game_record.data.sel_name != undefined) {
r3.text = game_record.data.sel_name;
}
break;
case 4:
if (game_record.data.sel_name != undefined) {
r4.text = game_record.data.sel_name;
}
break;
case 5:
if (game_record.data.sel_name != undefined) {
r5.text = game_record.data.sel_name;
}
break;
case 6:
if (game_record.data.sel_name != undefined) {
r6.text = game_record.data.sel_name;
}
break;
case 7:
if (game_record.data.sel_name != undefined) {
r7.text = game_record.data.sel_name;
}
break;
case 8:
if (game_record.data.sel_name != undefined) {
r8.text = game_record.data.sel_name;
}
break;
case 9:
if (game_record.data.sel_name != undefined) {
r9.text = game_record.data.sel_name;
}
break;
case 10:
if (game_record.data.sel_name != undefined) {
r10.text = game_record.data.sel_name;
}
break;
case 11:
if (game_record.data.sel_name != undefined) {
r11.text = game_record.data.sel_name;
}
break;
case 12:
if (game_record.data.sel_name != undefined) {
r12.text = game_record.data.sel_name;
}
break;
case 13:
if (game_record.data.sel_name != undefined) {
r13.text = game_record.data.sel_name;
}
break;
case 14:
if (game_record.data.sel_name != undefined) {
r14.text = game_record.data.sel_name;
}
break;
case 15:
if (game_record.data.sel_name != undefined) {
r15.text = game_record.data.sel_name;
}
}
++load_temp;
}
}
frame 53 {
stop();
}
frame 61 {
if (free_mode == false) {
bgm.stop();
bgm.attachSound('music_main');
bgm.start(0, 999);
delete _root.spot.onEnterFrame;
gotoAndPlay(4);
} else {
delete _root.spot.onEnterFrame;
gotoAndPlay(85);
}
}
frame 74 {
bgm.stop();
bgm.attachSound('music_customize');
bgm.start(0, 999);
loadMovie('', _root.d_hair);
loadMovie('', _root.d_shoe);
loadMovie('', _root.d_panty);
loadMovie('', _root.d_body);
loadMovie('data/b_1.swf', _root.d_body);
sel_body = 1;
loadMovie('', _root.d_up);
loadMovie('', _root.d_low);
loadMovie('', _root.mask1);
loadMovie('data/mask1.swf', _root.mask1);
_root.d_jy._alpha = 0;
_root.sakura._x = 349;
_root.sakura._y = 190;
_root.d_hair._x = 349;
_root.d_hair._y = 190;
_root.d_shoe._x = 349;
_root.d_shoe._y = 190;
_root.d_panty._x = 349;
_root.d_panty._y = 190;
_root.d_panty._alpha = 50;
_root.d_body._x = 349;
_root.d_body._y = 190;
_root.d_up._x = 349;
_root.d_up._y = 190;
_root.d_low._x = 349;
_root.d_low._y = 190;
_root.d_prop._x = 349;
_root.d_prop._y = 190;
_root.d_jy._x = 349;
_root.d_jy._y = 190;
_root.mask1._x = 349;
_root.mask1._y = 190;
_root.guy._x = -1000;
_root.mask2._x = -1000;
_root.guy_shadow._x = -1000;
_root.sakura_shadow._x = -1000;
sel_num = 1;
_root.guy._visible = true;
_root.mask2._visible = true;
_root.guy_shadow._visible = true;
_root.sakura_shadow._visible = true;
sel_up = 31;
sel_hair = 31;
sel_low = 31;
sel_panty = 31;
sel_shoe = 31;
sel_prop = 31;
_root.lock_hair._visible = false;
_root.lock_up._visible = false;
_root.lock_low._visible = false;
_root.lock_panty._visible = false;
_root.lock_shoe._visible = false;
_root.lock_prop._visible = false;
}
button 1618 {
on (release) {
if (sel_hair < 32) {
sel_hair += 1;
if (sel_hair == 32) {
sel_hair = 1;
}
loadMovie('', _root.d_hair);
if (aa[sel_hair] == 1) {
loadMovie('data/h_' + sel_hair + '.swf', _root.d_hair);
_root.lock_hair._visible = false;
} else {
_root.lock_hair._visible = true;
}
}
}
}
button 1619 {
on (release) {
if (sel_up < 32) {
sel_up += 1;
if (sel_up == 32) {
sel_up = 1;
}
loadMovie('', _root.d_up);
if (bb[sel_up] == 1) {
loadMovie('data/u_' + sel_up + '.swf', _root.d_up);
_root.lock_up._visible = false;
} else {
_root.lock_up._visible = true;
}
}
}
}
button 1620 {
on (release) {
if (sel_low < 32) {
sel_low += 1;
if (sel_low == 32) {
sel_low = 1;
}
loadMovie('', _root.d_low);
if (cc[sel_low] == 1) {
loadMovie('data/low_' + sel_low + '.swf', _root.d_low);
_root.lock_low._visible = false;
} else {
_root.lock_low._visible = true;
}
}
}
}
button 1621 {
on (release) {
if (sel_panty < 32) {
sel_panty += 1;
if (sel_panty == 32) {
sel_panty = 1;
}
loadMovie('', _root.d_panty);
if (dd[sel_panty] == 1) {
loadMovie('data/p_' + sel_panty + '.swf', _root.d_panty);
if (sel_panty == 1 || sel_panty == 2 || sel_panty == 3 || sel_panty == 4 || sel_panty == 6) {
_root.d_panty._alpha = 50;
} else {
if (sel_panty == 5 || sel_panty == 14 || sel_panty == 15 || sel_panty == 16 || sel_panty == 20 || sel_panty == 21 || sel_panty == 22 || sel_panty == 24) {
_root.d_panty._alpha = 70;
} else {
_root.d_panty._alpha = 100;
}
}
panty_alpha.text = Math.round(_root.d_panty._alpha);
_root.lock_panty._visible = false;
} else {
_root.lock_panty._visible = true;
}
}
}
}
button 1622 {
on (release) {
if (sel_shoe < 32) {
sel_shoe += 1;
if (sel_shoe == 32) {
sel_shoe = 1;
}
loadMovie('', _root.d_shoe);
if (ee[sel_shoe] == 1) {
loadMovie('data/s_' + sel_shoe + '.swf', _root.d_shoe);
_root.lock_shoe._visible = false;
} else {
_root.lock_shoe._visible = true;
}
}
}
}
button 1623 {
on (release) {
if (sel_prop < 32) {
sel_prop += 1;
if (sel_prop == 32) {
sel_prop = 1;
}
loadMovie('', _root.d_prop);
if (ff[sel_prop] == 1) {
loadMovie('data/a_' + sel_prop + '.swf', _root.d_prop);
_root.lock_prop._visible = false;
} else {
_root.lock_prop._visible = true;
}
}
}
}
button 1624 {
on (release) {
if (sel_hair > 0) {
sel_hair -= 1;
if (sel_hair == 0) {
sel_hair = 31;
}
loadMovie('', _root.d_hair);
if (aa[sel_hair] == 1) {
loadMovie('data/h_' + sel_hair + '.swf', _root.d_hair);
_root.lock_hair._visible = false;
} else {
_root.lock_hair._visible = true;
}
}
}
}
button 1625 {
on (release) {
if (sel_up > 0) {
sel_up -= 1;
if (sel_up == 0) {
sel_up = 31;
}
loadMovie('', _root.d_up);
if (bb[sel_up] == 1) {
loadMovie('data/u_' + sel_up + '.swf', _root.d_up);
_root.lock_up._visible = false;
} else {
_root.lock_up._visible = true;
}
}
}
}
button 1626 {
on (release) {
if (sel_low > 0) {
sel_low -= 1;
if (sel_low == 0) {
sel_low = 31;
}
loadMovie('', _root.d_low);
if (cc[sel_low] == 1) {
loadMovie('data/low_' + sel_low + '.swf', _root.d_low);
_root.lock_low._visible = false;
} else {
_root.lock_low._visible = true;
}
}
}
}
button 1627 {
on (release) {
if (sel_panty > 0) {
sel_panty -= 1;
if (sel_panty == 0) {
sel_panty = 31;
}
loadMovie('', _root.d_panty);
if (dd[sel_panty] == 1) {
loadMovie('data/p_' + sel_panty + '.swf', _root.d_panty);
if (sel_panty == 1 || sel_panty == 2 || sel_panty == 3 || sel_panty == 4 || sel_panty == 6) {
_root.d_panty._alpha = 50;
} else {
if (sel_panty == 5 || sel_panty == 14 || sel_panty == 15 || sel_panty == 16 || sel_panty == 20 || sel_panty == 21 || sel_panty == 22 || sel_panty == 24) {
_root.d_panty._alpha = 70;
} else {
_root.d_panty._alpha = 100;
}
}
panty_alpha.text = Math.round(_root.d_panty._alpha);
_root.lock_panty._visible = false;
} else {
_root.lock_panty._visible = true;
}
}
}
}
button 1628 {
on (release) {
if (sel_shoe > 0) {
sel_shoe -= 1;
if (sel_shoe == 0) {
sel_shoe = 31;
}
loadMovie('', _root.d_shoe);
if (ee[sel_shoe] == 1) {
loadMovie('data/s_' + sel_shoe + '.swf', _root.d_shoe);
_root.lock_shoe._visible = false;
} else {
_root.lock_shoe._visible = true;
}
}
}
}
button 1629 {
on (release) {
if (sel_prop > 0) {
sel_prop -= 1;
if (sel_prop == 0) {
sel_prop = 31;
}
loadMovie('', _root.d_prop);
if (ff[sel_prop] == 1) {
loadMovie('data/a_' + sel_prop + '.swf', _root.d_prop);
_root.lock_prop._visible = false;
} else {
_root.lock_prop._visible = true;
}
}
}
}
button 1630 {
on (release) {
sel_name = cha_name.text;
if (sel_name == 'Enter Name') {
sel_name = 'Unamed';
}
c_data_name = '7th_dream_cgf_c' + sel_num;
game_record = SharedObject.getLocal(c_data_name);
game_record.data.sel_name = sel_name;
game_record.data.sel_hair = sel_hair;
game_record.data.sel_up = sel_up;
game_record.data.sel_low = sel_low;
game_record.data.sel_panty = sel_panty;
game_record.data.sel_shoe = sel_shoe;
game_record.data.sel_prop = sel_prop;
game_record.data.sel_body = sel_body;
game_record.data.d_up_a = _root.d_up._alpha;
game_record.data.d_low_a = _root.d_low._alpha;
game_record.data.d_panty_a = _root.d_panty._alpha;
game_record.flush();
switch (sel_num) {
case 1:
r1.text = sel_name;
break;
case 2:
//Invalid switch }
r2.text = sel_name;
break;
case 1:
r3.text = sel_name;
break;
case 2:
r4.text = sel_name;
break;
case 3:
r5.text = sel_name;
break;
case 4:
r6.text = sel_name;
break;
case 5:
r7.text = sel_name;
break;
case 6:
r8.text = sel_name;
break;
case 7:
r9.text = sel_name;
break;
case 8:
r10.text = sel_name;
break;
case 9:
r11.text = sel_name;
break;
case 10:
r12.text = sel_name;
break;
case 11:
r13.text = sel_name;
break;
case 12:
r14.text = sel_name;
break;
case 13:
r15.text = sel_name;
}
}
button 1631 {
on (release) {
c_data_name = '7th_dream_cgf_c' + sel_num;
game_record = SharedObject.getLocal(c_data_name);
if (game_record.data.sel_name != undefined) {
cha_name.text = game_record.data.sel_name;
sel_hair = game_record.data.sel_hair;
sel_up = game_record.data.sel_up;
sel_low = game_record.data.sel_low;
sel_panty = game_record.data.sel_panty;
sel_shoe = game_record.data.sel_shoe;
sel_prop = game_record.data.sel_prop;
sel_body = game_record.data.sel_body;
_root.d_up._alpha = game_record.data.d_up_a;
_root.d_low._alpha = game_record.data.d_low_a;
_root.d_panty._alpha = game_record.data.d_panty_a;
switch (sel_num) {
case 1:
r1.text = game_record.data.sel_name;
break;
case 2:
r2.text = game_record.data.sel_name;
break;
case 3:
r3.text = game_record.data.sel_name;
break;
case 4:
r4.text = game_record.data.sel_name;
break;
case 5:
r5.text = game_record.data.sel_name;
break;
case 6:
r6.text = game_record.data.sel_name;
break;
case 7:
r7.text = game_record.data.sel_name;
break;
case 8:
r8.text = game_record.data.sel_name;
break;
case 9:
r9.text = game_record.data.sel_name;
break;
case 10:
r10.text = game_record.data.sel_name;
break;
case 11:
r11.text = game_record.data.sel_name;
break;
case 12:
r12.text = game_record.data.sel_name;
break;
case 13:
r13.text = game_record.data.sel_name;
break;
case 14:
r14.text = game_record.data.sel_name;
break;
case 15:
r15.text = game_record.data.sel_name;
}
up_alpha.text = Math.round(_root.d_up._alpha);
low_alpha.text = Math.round(_root.d_low._alpha);
panty_alpha.text = Math.round(_root.d_panty._alpha);
loadMovie('', _root.d_hair);
loadMovie('data/h_' + sel_hair + '.swf', _root.d_hair);
loadMovie('', _root.d_up);
loadMovie('data/u_' + sel_up + '.swf', _root.d_up);
loadMovie('', _root.d_low);
loadMovie('data/low_' + sel_low + '.swf', _root.d_low);
loadMovie('', _root.d_panty);
loadMovie('data/p_' + sel_panty + '.swf', _root.d_panty);
loadMovie('', _root.d_shoe);
loadMovie('data/s_' + sel_shoe + '.swf', _root.d_shoe);
loadMovie('', _root.d_prop);
loadMovie('data/a_' + sel_prop + '.swf', _root.d_prop);
loadMovie('', _root.d_body);
loadMovie('data/b_' + sel_body + '.swf', _root.d_body);
}
}
}
button 1632 {
on (release) {
bgm.stop();
bgm.attachSound('music_main');
bgm.start(0, 999);
delete _root.spot.onEnterFrame;
gotoAndPlay(4);
}
}
button 1636 {
on (release) {
loadMovie('', _root.d_body);
loadMovie('data/b_1.swf', _root.d_body);
sel_body = 1;
}
}
button 1638 {
on (release) {
loadMovie('', _root.d_body);
loadMovie('data/b_2.swf', _root.d_body);
sel_body = 2;
}
}
button 1640 {
on (release) {
loadMovie('', _root.d_body);
loadMovie('data/b_3.swf', _root.d_body);
sel_body = 3;
}
}
button 1642 {
on (release) {
loadMovie('', _root.d_body);
loadMovie('data/b_4.swf', _root.d_body);
sel_body = 4;
}
}
button 1646 {
on (release) {
loadMovie('', _root.d_body);
loadMovie('data/b_8.swf', _root.d_body);
sel_body = 8;
}
}
button 1648 {
on (release) {
loadMovie('', _root.d_body);
loadMovie('data/b_5.swf', _root.d_body);
sel_body = 5;
}
}
button 1650 {
on (release) {
loadMovie('', _root.d_body);
loadMovie('data/b_7.swf', _root.d_body);
sel_body = 7;
}
}
button 1652 {
on (release) {
loadMovie('', _root.d_body);
loadMovie('data/b_6.swf', _root.d_body);
sel_body = 6;
}
}
button 1656 {
on (press) {
if (_root.d_up._alpha < 100) {
_root.d_up._alpha += 5;
}
if (_root.d_up._alpha > 100) {
_root.d_up._alpha = 100;
}
up_alpha.text = Math.round(_root.d_up._alpha);
}
}
button 1660 {
on (press) {
if (_root.d_up._alpha > 0) {
_root.d_up._alpha -= 5;
}
if (_root.d_up._alpha < 0) {
_root.d_up._alpha = 0;
}
up_alpha.text = Math.round(_root.d_up._alpha);
}
}
button 1662 {
on (press) {
if (_root.d_low._alpha < 100) {
_root.d_low._alpha += 5;
}
if (_root.d_low._alpha > 100) {
_root.d_low._alpha = 100;
}
low_alpha.text = Math.round(_root.d_low._alpha);
}
}
button 1663 {
on (press) {
if (_root.d_low._alpha > 0) {
_root.d_low._alpha -= 5;
}
if (_root.d_low._alpha < 0) {
_root.d_low._alpha = 0;
}
low_alpha.text = Math.round(_root.d_low._alpha);
}
}
button 1665 {
on (press) {
if (_root.d_panty._alpha < 100) {
_root.d_panty._alpha += 5;
}
if (_root.d_panty._alpha > 100) {
_root.d_panty._alpha = 100;
}
panty_alpha.text = Math.round(_root.d_panty._alpha);
}
}
button 1666 {
on (press) {
if (_root.d_panty._alpha > 0) {
_root.d_panty._alpha -= 5;
}
if (_root.d_panty._alpha < 0) {
_root.d_panty._alpha = 0;
}
panty_alpha.text = Math.round(_root.d_panty._alpha);
}
}
movieClip 1717 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
stop();
}
frame 8 {
stop();
}
frame 9 {
stop();
}
frame 10 {
stop();
}
frame 11 {
stop();
}
frame 12 {
stop();
}
frame 13 {
stop();
}
frame 14 {
stop();
}
frame 15 {
stop();
}
frame 16 {
stop();
}
frame 17 {
stop();
}
frame 18 {
stop();
}
frame 19 {
stop();
}
frame 20 {
stop();
}
frame 21 {
stop();
}
frame 22 {
stop();
}
frame 23 {
stop();
}
frame 24 {
stop();
}
frame 25 {
stop();
}
frame 26 {
stop();
}
frame 27 {
stop();
}
frame 28 {
stop();
}
frame 29 {
stop();
}
frame 30 {
stop();
}
frame 31 {
stop();
}
}
movieClip 1748 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
stop();
}
frame 8 {
stop();
}
frame 9 {
stop();
}
frame 10 {
stop();
}
frame 11 {
stop();
}
frame 12 {
stop();
}
frame 13 {
stop();
}
frame 14 {
stop();
}
frame 15 {
stop();
}
frame 16 {
stop();
}
frame 17 {
stop();
}
frame 18 {
stop();
}
frame 19 {
stop();
}
frame 20 {
stop();
}
frame 21 {
stop();
}
frame 22 {
stop();
}
frame 23 {
stop();
}
frame 24 {
stop();
}
frame 25 {
stop();
}
frame 26 {
stop();
}
frame 27 {
stop();
}
frame 28 {
stop();
}
frame 29 {
stop();
}
frame 30 {
stop();
}
frame 31 {
stop();
}
}
movieClip 1795 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
stop();
}
frame 8 {
stop();
}
frame 9 {
stop();
}
frame 10 {
stop();
}
frame 11 {
stop();
}
frame 12 {
stop();
}
frame 13 {
stop();
}
frame 14 {
stop();
}
frame 15 {
stop();
}
frame 16 {
stop();
}
frame 17 {
stop();
}
frame 18 {
stop();
}
frame 19 {
stop();
}
frame 20 {
stop();
}
frame 21 {
stop();
}
frame 22 {
stop();
}
frame 23 {
stop();
}
frame 24 {
stop();
}
frame 25 {
stop();
}
frame 26 {
stop();
}
frame 27 {
stop();
}
frame 28 {
stop();
}
frame 29 {
stop();
}
frame 30 {
stop();
}
frame 31 {
stop();
}
}
movieClip 1844 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
stop();
}
frame 8 {
stop();
}
frame 9 {
stop();
}
frame 10 {
stop();
}
frame 11 {
stop();
}
frame 12 {
stop();
}
frame 13 {
stop();
}
frame 14 {
stop();
}
frame 15 {
stop();
}
frame 16 {
stop();
}
frame 17 {
stop();
}
frame 18 {
stop();
}
frame 19 {
stop();
}
frame 20 {
stop();
}
frame 21 {
stop();
}
frame 22 {
stop();
}
frame 23 {
stop();
}
frame 24 {
stop();
}
frame 25 {
stop();
}
frame 26 {
stop();
}
frame 27 {
stop();
}
frame 28 {
stop();
}
frame 29 {
stop();
}
frame 30 {
stop();
}
frame 31 {
stop();
}
}
movieClip 1875 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
stop();
}
frame 8 {
stop();
}
frame 9 {
stop();
}
frame 10 {
stop();
}
frame 11 {
stop();
}
frame 12 {
stop();
}
frame 13 {
stop();
}
frame 14 {
stop();
}
frame 15 {
stop();
}
frame 16 {
stop();
}
frame 17 {
stop();
}
frame 18 {
stop();
}
frame 19 {
stop();
}
frame 20 {
stop();
}
frame 21 {
stop();
}
frame 22 {
stop();
}
frame 23 {
stop();
}
frame 24 {
stop();
}
frame 25 {
stop();
}
frame 26 {
stop();
}
frame 27 {
stop();
}
frame 28 {
stop();
}
frame 29 {
stop();
}
frame 30 {
stop();
}
frame 31 {
stop();
}
}
movieClip 1904 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
stop();
}
frame 8 {
stop();
}
frame 9 {
stop();
}
frame 10 {
stop();
}
frame 11 {
stop();
}
frame 12 {
stop();
}
frame 13 {
stop();
}
frame 14 {
stop();
}
frame 15 {
stop();
}
frame 16 {
stop();
}
frame 17 {
stop();
}
frame 18 {
stop();
}
frame 19 {
stop();
}
frame 20 {
stop();
}
frame 21 {
stop();
}
frame 22 {
stop();
}
frame 23 {
stop();
}
frame 24 {
stop();
}
frame 25 {
stop();
}
frame 26 {
stop();
}
frame 27 {
stop();
}
frame 28 {
stop();
}
frame 29 {
stop();
}
frame 30 {
stop();
}
frame 31 {
stop();
}
}
movieClip 1911 {
}
button 1915 {
on (release) {
sel_num = 1;
c_data_name = '7th_dream_cgf_c' + sel_num;
game_record = SharedObject.getLocal(c_data_name);
if (game_record.data.sel_name != undefined) {
cha_name.text = game_record.data.sel_name;
}
}
}
button 1916 {
on (release) {
sel_num = 2;
c_data_name = '7th_dream_cgf_c' + sel_num;
game_record = SharedObject.getLocal(c_data_name);
if (game_record.data.sel_name != undefined) {
cha_name.text = game_record.data.sel_name;
}
}
}
button 1917 {
on (release) {
sel_num = 3;
c_data_name = '7th_dream_cgf_c' + sel_num;
game_record = SharedObject.getLocal(c_data_name);
if (game_record.data.sel_name != undefined) {
cha_name.text = game_record.data.sel_name;
}
}
}
button 1918 {
on (release) {
sel_num = 4;
c_data_name = '7th_dream_cgf_c' + sel_num;
game_record = SharedObject.getLocal(c_data_name);
if (game_record.data.sel_name != undefined) {
cha_name.text = game_record.data.sel_name;
}
}
}
button 1919 {
on (release) {
sel_num = 5;
c_data_name = '7th_dream_cgf_c' + sel_num;
game_record = SharedObject.getLocal(c_data_name);
if (game_record.data.sel_name != undefined) {
cha_name.text = game_record.data.sel_name;
}
}
}
button 1920 {
on (release) {
sel_num = 6;
c_data_name = '7th_dream_cgf_c' + sel_num;
game_record = SharedObject.getLocal(c_data_name);
if (game_record.data.sel_name != undefined) {
cha_name.text = game_record.data.sel_name;
}
}
}
button 1921 {
on (release) {
sel_num = 7;
c_data_name = '7th_dream_cgf_c' + sel_num;
game_record = SharedObject.getLocal(c_data_name);
if (game_record.data.sel_name != undefined) {
cha_name.text = game_record.data.sel_name;
}
}
}
button 1922 {
on (release) {
sel_num = 8;
c_data_name = '7th_dream_cgf_c' + sel_num;
game_record = SharedObject.getLocal(c_data_name);
if (game_record.data.sel_name != undefined) {
cha_name.text = game_record.data.sel_name;
}
}
}
button 1923 {
on (release) {
sel_num = 9;
c_data_name = '7th_dream_cgf_c' + sel_num;
game_record = SharedObject.getLocal(c_data_name);
if (game_record.data.sel_name != undefined) {
cha_name.text = game_record.data.sel_name;
}
}
}
button 1924 {
on (release) {
sel_num = 10;
c_data_name = '7th_dream_cgf_c' + sel_num;
game_record = SharedObject.getLocal(c_data_name);
if (game_record.data.sel_name != undefined) {
cha_name.text = game_record.data.sel_name;
}
}
}
button 1925 {
on (release) {
sel_num = 11;
c_data_name = '7th_dream_cgf_c' + sel_num;
game_record = SharedObject.getLocal(c_data_name);
if (game_record.data.sel_name != undefined) {
cha_name.text = game_record.data.sel_name;
}
}
}
button 1926 {
on (release) {
sel_num = 12;
c_data_name = '7th_dream_cgf_c' + sel_num;
game_record = SharedObject.getLocal(c_data_name);
if (game_record.data.sel_name != undefined) {
cha_name.text = game_record.data.sel_name;
}
}
}
button 1927 {
on (release) {
sel_num = 13;
c_data_name = '7th_dream_cgf_c' + sel_num;
game_record = SharedObject.getLocal(c_data_name);
if (game_record.data.sel_name != undefined) {
cha_name.text = game_record.data.sel_name;
}
}
}
button 1928 {
on (release) {
sel_num = 14;
c_data_name = '7th_dream_cgf_c' + sel_num;
game_record = SharedObject.getLocal(c_data_name);
if (game_record.data.sel_name != undefined) {
cha_name.text = game_record.data.sel_name;
}
}
}
button 1929 {
on (release) {
sel_num = 15;
c_data_name = '7th_dream_cgf_c' + sel_num;
game_record = SharedObject.getLocal(c_data_name);
if (game_record.data.sel_name != undefined) {
cha_name.text = game_record.data.sel_name;
}
}
}
movieClip 1932 {
}
frame 75 {
_root.sakura.gotoAndPlay(1);
t_coll = Math.round((coll - 74) / 1.06);
if (t_coll > 100) {
t_coll = 100;
}
if (t_coll < 0) {
t_coll = 0;
}
_root.col_bar._xscale = t_coll;
_root.coll_per.text = 'Clothes Collection : ' + t_coll + '%';
_root.spot.onEnterFrame = function () {
_root.sakura_shadow.gotoAndPlay(_root.sakura._currentframe);
_root.mask1.gotoAndPlay(_root.sakura._currentframe);
_root.d_hair.gotoAndPlay(_root.sakura._currentframe);
_root.d_shoe.gotoAndPlay(_root.sakura._currentframe);
_root.d_panty.gotoAndPlay(_root.sakura._currentframe);
_root.d_body.gotoAndPlay(_root.sakura._currentframe);
_root.d_up.gotoAndPlay(_root.sakura._currentframe);
_root.d_low.gotoAndPlay(_root.sakura._currentframe);
_root.d_prop.gotoAndPlay(_root.sakura._currentframe);
_root.d_jy.gotoAndPlay(_root.sakura._currentframe);
switch (sel_num) {
case 1:
_root.data_sel._y = 96.5;
break;
case 2:
_root.data_sel._y = 116;
break;
case 3:
_root.data_sel._y = 135.5;
break;
case 4:
_root.data_sel._y = 155.5;
break;
case 5:
_root.data_sel._y = 175.5;
break;
case 6:
_root.data_sel._y = 194.5;
break;
case 7:
_root.data_sel._y = 214.5;
break;
case 8:
_root.data_sel._y = 233.5;
break;
case 9:
_root.data_sel._y = 253.5;
break;
case 10:
_root.data_sel._y = 273;
break;
case 11:
_root.data_sel._y = 292.5;
break;
case 12:
_root.data_sel._y = 312.5;
break;
case 13:
_root.data_sel._y = 331.5;
break;
case 14:
_root.data_sel._y = 351;
break;
case 15:
_root.data_sel._y = 370;
}
_root.hair_thumb.gotoAndStop(sel_hair);
_root.up_thumb.gotoAndStop(sel_up);
_root.low_thumb.gotoAndStop(sel_low);
_root.shoe_thumb.gotoAndStop(sel_shoe);
_root.panty_thumb.gotoAndStop(sel_panty);
_root.prop_thumb.gotoAndStop(sel_prop);
};
}
frame 76 {
load_temp = 1;
while (load_temp <= 15) {
c_data_name = '7th_dream_cgf_c' + load_temp;
game_record = SharedObject.getLocal(c_data_name);
switch (load_temp) {
case 1:
if (game_record.data.sel_name != undefined) {
r1.text = game_record.data.sel_name;
}
break;
case 2:
if (game_record.data.sel_name != undefined) {
r2.text = game_record.data.sel_name;
}
break;
case 3:
if (game_record.data.sel_name != undefined) {
r3.text = game_record.data.sel_name;
}
break;
case 4:
if (game_record.data.sel_name != undefined) {
r4.text = game_record.data.sel_name;
}
break;
case 5:
if (game_record.data.sel_name != undefined) {
r5.text = game_record.data.sel_name;
}
break;
case 6:
if (game_record.data.sel_name != undefined) {
r6.text = game_record.data.sel_name;
}
break;
case 7:
if (game_record.data.sel_name != undefined) {
r7.text = game_record.data.sel_name;
}
break;
case 8:
if (game_record.data.sel_name != undefined) {
r8.text = game_record.data.sel_name;
}
break;
case 9:
if (game_record.data.sel_name != undefined) {
r9.text = game_record.data.sel_name;
}
break;
case 10:
if (game_record.data.sel_name != undefined) {
r10.text = game_record.data.sel_name;
}
break;
case 11:
if (game_record.data.sel_name != undefined) {
r11.text = game_record.data.sel_name;
}
break;
case 12:
if (game_record.data.sel_name != undefined) {
r12.text = game_record.data.sel_name;
}
break;
case 13:
if (game_record.data.sel_name != undefined) {
r13.text = game_record.data.sel_name;
}
break;
case 14:
if (game_record.data.sel_name != undefined) {
r14.text = game_record.data.sel_name;
}
break;
case 15:
if (game_record.data.sel_name != undefined) {
r15.text = game_record.data.sel_name;
}
}
++load_temp;
}
}
frame 82 {
stop();
}
frame 86 {
_root.sakura._x = 563.3;
_root.sakura._y = 326.4;
_root.d_hair._x = 563.3;
_root.d_hair._y = 326.4;
_root.d_shoe._x = 563.3;
_root.d_shoe._y = 326.4;
_root.d_panty._x = 563.3;
_root.d_panty._y = 326.4;
_root.d_body._x = 563.3;
_root.d_body._y = 326.4;
_root.d_up._x = 563.3;
_root.d_up._y = 326.4;
_root.d_low._x = 563.3;
_root.d_low._y = 326.4;
_root.d_prop._x = 563.3;
_root.d_prop._y = 326.4;
_root.d_jy._x = 563.3;
_root.d_jy._y = 326.4;
_root.mask1._x = 563.3;
_root.mask1._y = 326.4;
if (free_mode == false) {
sel_body = Math.round(Math.random(1) * 7) + 1;
sel_hair = Math.round(Math.random(1) * 14) + 1;
sel_shoe = Math.round(Math.random(1) * 15);
sel_panty = Math.round(Math.random(1) * 24);
sel_up = Math.round(Math.random(1) * 15);
sel_low = Math.round(Math.random(1) * 23);
sel_prop = Math.round(Math.random(1) * 14);
loadMovie('', _root.d_hair);
loadMovie('', _root.d_shoe);
loadMovie('', _root.d_panty);
loadMovie('', _root.d_body);
loadMovie('', _root.d_up);
loadMovie('', _root.d_low);
loadMovie('', _root.d_prop);
loadMovie('', _root.mask1);
loadMovie('data/h_' + sel_hair + '.swf', _root.d_hair);
loadMovie('data/s_' + sel_shoe + '.swf', _root.d_shoe);
loadMovie('data/p_' + sel_panty + '.swf', _root.d_panty);
loadMovie('data/b_' + sel_body + '.swf', _root.d_body);
loadMovie('data/u_' + sel_up + '.swf', _root.d_up);
loadMovie('data/low_' + sel_low + '.swf', _root.d_low);
loadMovie('data/a_' + sel_prop + '.swf', _root.d_prop);
loadMovie('data/mask1.swf', _root.mask1);
if (sel_panty == 1 || sel_panty == 2 || sel_panty == 3 || sel_panty == 4 || sel_panty == 6) {
_root.d_panty._alpha = 50;
} else {
if (sel_panty == 5 || sel_panty == 14 || sel_panty == 15 || sel_panty == 16 || sel_panty == 20 || sel_panty == 21 || sel_panty == 22 || sel_panty == 24) {
_root.d_panty._alpha = 70;
} else {
_root.d_panty._alpha = 100;
}
}
}
}
frame 88 {
bgm.stop();
bgm.attachSound('music_vs');
bgm.start(0, 1);
_root.sakura.gotoAndStop(1444);
_root.d_hair.gotoAndStop(1444);
_root.d_shoe.gotoAndStop(1444);
_root.d_panty.gotoAndStop(1444);
_root.d_body.gotoAndStop(1444);
_root.d_up.gotoAndStop(1444);
_root.d_low.gotoAndStop(1444);
_root.d_prop.gotoAndStop(1444);
_root.d_jy.gotoAndStop(1444);
_root.mask1.gotoAndStop(1444);
_root.guy._x = -1000;
_root.mask2._x = -1000;
_root.guy_shadow._x = -1000;
_root.sakura_shadow._x = -1000;
loadcount = 0;
if (free_mode == false) {
sname = 'Sakura';
switch (Math.round(Math.random(1) * 25)) {
case 0:
sname = 'Kallen';
break;
case 1:
sname = 'Makiko';
break;
case 2:
sname = 'May';
break;
case 3:
sname = 'Marry';
break;
case 4:
sname = 'Holly';
break;
case 5:
sname = 'Lilith';
break;
case 6:
sname = 'Aika';
break;
case 7:
sname = 'Minami';
break;
case 8:
sname = 'Rei';
break;
case 9:
sname = 'Naoko';
break;
case 10:
sname = 'Aya';
break;
case 11:
sname = 'Miki';
break;
case 12:
sname = 'Mari';
break;
case 13:
sname = 'Sayaka';
break;
case 14:
sname = 'Rie';
break;
case 15:
sname = 'Mai';
break;
case 16:
sname = 'Shizuka';
break;
case 17:
sname = 'Hiroko';
break;
case 18:
sname = 'Noriko';
break;
case 19:
sname = 'Mika';
break;
case 20:
sname = 'Norika';
break;
case 21:
sname = 'Tomoko';
break;
case 22:
sname = 'Hazuki';
break;
case 23:
sname = 'Kaori';
break;
case 24:
sname = 'Ryoko';
break;
case 25:
sname = 'Rubby';
}
scene_sel = Math.round(Math.random(1) * 3);
if (scene_sel > 3) {
scene_sel = 2;
}
if (scene_sel < 1) {
scene_sel = 1;
}
ai = Math.round(Math.random(1) * 8) + 1;
}
if (ai > 5) {
ai = 1;
}
switch (ai) {
case 0:
sname += ' - Practice';
break;
case 1:
sname += ' - Beginner';
break;
case 2:
sname += ' - Apprentice';
break;
case 3:
sname += ' - Warrior';
break;
case 4:
sname += ' - Master';
break;
case 5:
sname += ' - Ace';
}
_root.sakura_name.text = sname;
if (win_num < 5) {
_root.jin_name.text = player_name + ' - Beginner';
} else {
if (win_num < 10) {
_root.jin_name.text = player_name + ' - Apprentice';
} else {
if (win_num < 20) {
_root.jin_name.text = player_name + ' - Warrior';
} else {
if (win_num < 50) {
_root.jin_name.text = player_name + ' - Master';
} else {
_root.jin_name.text = player_name + ' - Ace';
}
}
}
}
loadMovie('', _root.d_jy);
loadMovie('data/j1.swf', _root.d_jy);
_root.d_jy._alpha = 0;
}
movieClip 1943 {
}
frame 97 {
loadcount += 1;
if (loadcount < 20) {
gotoAndPlay(89);
}
}
frame 100 {
stopAllSounds();
switch (ai) {
case 0:
_root.star1._visible = false;
_root.star2._visible = false;
_root.star3._visible = false;
_root.star4._visible = false;
_root.star5._visible = false;
break;
case 1:
_root.star1._visible = true;
_root.star2._visible = false;
_root.star3._visible = false;
_root.star4._visible = false;
_root.star5._visible = false;
break;
case 2:
_root.star1._visible = true;
_root.star2._visible = true;
_root.star3._visible = false;
_root.star4._visible = false;
_root.star5._visible = false;
break;
case 3:
_root.star1._visible = true;
_root.star2._visible = true;
_root.star3._visible = true;
_root.star4._visible = false;
_root.star5._visible = false;
break;
case 4:
_root.star1._visible = true;
_root.star2._visible = true;
_root.star3._visible = true;
_root.star4._visible = true;
_root.star5._visible = false;
break;
case 5:
_root.star1._visible = true;
_root.star2._visible = true;
_root.star3._visible = true;
_root.star4._visible = true;
_root.star5._visible = true;
}
_root.s_name.text = sname;
if (win_num < 5) {
_root.j_name.text = player_name + ' - Beginner';
} else {
if (win_num < 10) {
_root.j_name.text = player_name + ' - Apprentice';
} else {
if (win_num < 20) {
_root.j_name.text = player_name + ' - Warrior';
} else {
if (win_num < 50) {
_root.j_name.text = player_name + ' - Master';
} else {
_root.j_name.text = player_name + ' - Ace';
}
}
}
}
var g_win;
var s_win;
var round_num;
var dl_up;
dl_up = 0;
var dl_low;
dl_low = 0;
var dl_panty;
dl_panty = 0;
round_num = 1;
g_win = 0;
s_win = 0;
_root.g_win1._visible = false;
_root.g_win2._visible = false;
_root.s_win1._visible = false;
_root.s_win2._visible = false;
_root.breakable.gotoAndStop(1);
_root.breakable2.gotoAndStop(1);
switch (scene_sel) {
case 1:
_root.backgrounds._visible = true;
_root.scene_light._visible = true;
_root.scene_light.play();
_root.foregrounds._visible = true;
_root.breakable._visible = true;
_root.scene_mask.gotoAndStop(1);
_root.backgrounds2._visible = false;
_root.scene_light2._visible = false;
_root.scene_light2.xxx.stop();
_root.foregrounds2._visible = false;
_root.breakable2._visible = false;
_root.backgrounds3._visible = false;
_root.scene_light3._visible = false;
_root.scene_light3.stop();
back_left = 1597;
back_right = 1268;
bgm.stop();
bgm.attachSound('music_scene1');
bgm.start(0, 999);
break;
case 2:
_root.backgrounds._visible = false;
_root.scene_light._visible = false;
_root.scene_light.stop();
_root.foregrounds._visible = false;
_root.breakable._visible = false;
_root.scene_mask.gotoAndStop(2);
_root.backgrounds2._visible = true;
_root.scene_light2._visible = true;
_root.scene_light2.xxx.play();
_root.foregrounds2._visible = true;
_root.breakable2._visible = true;
_root.backgrounds3._visible = false;
_root.scene_light3._visible = false;
_root.scene_light3.stop();
back_left = 1500;
back_right = 1600;
bgm.stop();
bgm.attachSound('music_scene2');
bgm.start(0, 999);
break;
case 3:
_root.backgrounds._visible = false;
_root.scene_light._visible = false;
_root.scene_light.stop();
_root.foregrounds._visible = false;
_root.breakable._visible = false;
_root.scene_mask.gotoAndStop(3);
_root.backgrounds2._visible = false;
_root.scene_light2._visible = false;
_root.scene_light2.xxx.stop();
_root.foregrounds2._visible = false;
_root.breakable2._visible = false;
_root.backgrounds3._visible = true;
_root.scene_light3._visible = true;
_root.scene_light3.play();
back_left = 1500;
back_right = 1600;
bgm.stop();
bgm.attachSound('music_scene3');
bgm.start(0, 999);
}
}
movieClip 1950 {
}
movieClip 1953 {
}
movieClip 1956 {
}
movieClip 1970 {
frame 1 {
stop();
}
frame 16 {
stop();
}
}
movieClip 1972 {
}
movieClip 1987 {
frame 1 {
stop();
}
frame 19 {
stop();
}
}
movieClip 1991 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
}
movieClip 1994 {
}
movieClip 1997 {
}
movieClip 1998 {
}
movieClip 1999 {
}
movieClip 2002 {
}
movieClip 2023 {
frame 1 {
stop();
}
frame 12 {
stop();
}
}
movieClip 2024 {
frame 1 {
stop();
}
frame 13 {
stop();
}
}
movieClip 2047 {
frame 1 {
stop();
}
frame 13 {
stop();
}
}
movieClip 2068 {
frame 1 {
stop();
}
frame 12 {
stop();
}
}
movieClip 2090 {
}
movieClip 2091 {
}
movieClip 2094 {
}
movieClip 2098 {
}
movieClip 2100 {
frame 1 {
stop();
}
frame 24 {
gotoAndPlay(2);
}
}
movieClip 2102 {
}
movieClip 2103 {
frame 1 {
stop();
}
frame 24 {
gotoAndPlay(2);
}
}
movieClip 2105 {
}
movieClip 2108 {
}
movieClip 2111 {
}
movieClip 2114 {
}
movieClip 2115 {
}
movieClip 2116 {
frame 98 {
stop();
}
}
movieClip 2123 {
}
movieClip 2126 {
}
movieClip 2127 {
frame 1 {
stop();
}
frame 93 {
if (_root.ghp > 0 && shp <= 0) {
_root.ko.you_win._visible = true;
_root.ko.you_lose._visible = false;
} else {
_root.ko.you_win._visible = false;
_root.ko.you_lose._visible = true;
}
_root.bgm.attachSound('music_gameover');
_root.bgm.start(0, 1);
}
}
movieClip 2144 {
frame 1 {
stop();
}
}
frame 101 {
_root.d_jy._xscale = 100;
_root.d_jy._x = sx;
_root.d_hair._xscale = 100;
_root.d_hair._x = sx;
_root.d_shoe._xscale = 100;
_root.d_shoe._x = sx;
_root.d_panty._xscale = 100;
_root.d_panty._x = sx;
_root.d_body._xscale = 100;
_root.d_body._x = sx;
_root.d_up._xscale = 100;
_root.d_up._x = sx;
_root.d_low._xscale = 100;
_root.d_low._x = sx;
_root.d_prop._xscale = 100;
_root.d_prop._x = sx;
_root.mask1._xscale = 100;
_root.mask1._x = sx;
_root.mask2._xscale = 100;
_root.mask2._x = sx;
loadMovie('', _root.d_hair);
loadMovie('', _root.d_shoe);
loadMovie('', _root.d_panty);
loadMovie('', _root.d_body);
loadMovie('', _root.d_up);
loadMovie('', _root.d_low);
loadMovie('', _root.d_prop);
loadMovie('', _root.mask1);
loadMovie('', _root.mask2);
loadMovie('', _root.d_jy);
loadMovie('data/j1.swf', _root.d_jy);
loadMovie('data/h_' + sel_hair + '.swf', _root.d_hair);
loadMovie('data/s_' + sel_shoe + '.swf', _root.d_shoe);
loadMovie('data/p_' + sel_panty + '.swf', _root.d_panty);
loadMovie('data/b_' + sel_body + '.swf', _root.d_body);
loadMovie('data/u_' + sel_up + '.swf', _root.d_up);
loadMovie('data/low_' + sel_low + '.swf', _root.d_low);
loadMovie('data/a_' + sel_prop + '.swf', _root.d_prop);
loadMovie('data/mask1.swf', _root.mask1);
loadMovie('data/mask2.swf', _root.mask2);
var key_up = new Object();
Key.addListener(key_up);
var sta;
var stab;
var m;
var baction;
var untidead;
var mspeed;
var cam_reset;
var face_front;
var s_face_front;
var gx;
var gy;
var sx;
var sy;
var push_k;
var push_p;
var left_spd;
var right_spd;
var double_left;
var double_right;
var double_kick;
var dash;
var hold;
var slow_move;
var game_end;
var fuck_count;
fuck_count = 0;
slow_move = 0;
game_end = false;
hold = 0;
dash = false;
sta = 44;
stab = 44;
m = 0;
baction = true;
face_front = true;
s_face_front = true;
untidead = 0;
mspeed = 0;
cam_reset = -90;
gx = 41.3;
gy = 222.3;
sx = 563.3;
sy = 326.4;
push_k = false;
push_p = false;
left_spd = 0;
right_spd = 0;
double_kick = 0;
double_right = 0;
double_left = 0;
var yz;
yz = 90;
var myz;
myz = 0;
var fyz;
fyz = 0;
var pd;
pd = 0;
var hts1;
hts1 = 0;
var hts2;
hts2 = 0;
var hts3;
hts3 = 0;
var hte1;
hte1 = 0;
var hte2;
hte2 = 0;
var hte3;
hte3 = 0;
var hd1;
hd1 = 0;
var hd2;
hd2 = 0;
var hd3;
hd3 = 0;
var pos;
pos = true;
var hf1;
hf1 = 0;
var hf2;
hf2 = 0;
var hf3;
hf3 = 0;
var hxs1;
hxs1 = 0;
var hxs2;
hxs2 = 0;
var hxs3;
hxs3 = 0;
var hys1;
hys1 = 0;
var hys2;
hys2 = 0;
var hys3;
hys3 = 0;
var hxe1;
hxe1 = 0;
var hxe2;
hxe2 = 0;
var hxe3;
hxe3 = 0;
var hye1;
hye1 = 0;
var hye2;
hye2 = 0;
var hye3;
hye3 = 0;
var bt;
bt = 0;
var body_xs;
body_xs = 0;
var body_ys;
body_ys = 0;
var body_xe;
body_xe = 0;
var body_ye;
body_ye = 0;
var hs;
hs = 0;
var rand2;
rand2 = 0;
'----------------SAKURA------------------------';
var gta;
var gtab;
var unti_sakura;
var undead_sakura;
var s_fly;
var g_fly;
var tac;
var tac_lock;
var rand;
var s_m;
var move_count;
var ai_count;
var hurt;
hurt = 0;
var s_hurt;
s_hurt = 0;
var suc_fy;
suc_fy = 0;
var hf_protect;
hf_protect = 0;
ai_count = 0;
move_count = 0;
s_m = 0;
tac = 0;
tac_lock = 0;
s_fly = false;
g_fly = false;
var s_lay;
var g_lay;
s_lay = false;
g_lay = false;
rand = 0;
gta = 47;
gtab = 47;
unti_sakura = true;
undead_sakura = 0;
var s_yz;
s_yz = 90;
var s_myz;
s_myz = 0;
var s_fyz;
s_fyz = 0;
var s_pd;
s_pd = 0;
var s_hts1;
s_hts1 = 0;
var s_hts2;
s_hts2 = 0;
var s_hts3;
s_hts3 = 0;
var s_hte1;
s_hte1 = 0;
var s_hte2;
s_hte2 = 0;
var s_hte3;
s_hte3 = 0;
var s_hd1;
s_hd1 = 0;
var s_hd2;
s_hd2 = 0;
var s_hd3;
s_hd3 = 0;
var s_pos;
s_pos = true;
var s_hf1;
s_hf1 = 0;
var s_hf2;
s_hf2 = 0;
var s_hf3;
s_hf3 = 0;
var s_hxs1;
s_hxs1 = 0;
var s_hxs2;
s_hxs2 = 0;
var s_hxs3;
s_hxs3 = 0;
var s_hys1;
s_hys1 = 0;
var s_hys2;
s_hys2 = 0;
var s_hys3;
s_hys3 = 0;
var s_hxe1;
s_hxe1 = 0;
var s_hxe2;
s_hxe2 = 0;
var s_hxe3;
s_hxe3 = 0;
var s_hye1;
s_hye1 = 0;
var s_hye2;
s_hye2 = 0;
var s_hye3;
s_hye3 = 0;
var s_bt;
s_bt = 0;
var s_body_xs;
s_body_xs = 121;
var s_body_ys;
s_body_ys = 81;
var s_body_xe;
s_body_xe = 261;
var s_body_ye;
s_body_ye = 336;
var ax1;
ax1 = 0;
var ax2;
ax2 = 0;
var ay1;
ay1 = 0;
var ay2;
ay2 = 0;
var bx1;
bx1 = 0;
var bx2;
bx2 = 0;
var by1;
by1 = 0;
var by2;
by2 = 0;
var hf;
hf = 0;
var s_hf;
s_hf = 0;
var ghp;
ghp = 200;
var shp;
shp = 200;
var gsp;
gsp = 0;
var ssp;
ssp = 0;
var hit_rate;
hit_rate = 0;
var s_hit_rate;
s_hit_rate = 0;
var g_bisha;
g_bisha = false;
var s_bisha;
s_bisha = false;
_root.bisha._visible = false;
_root.start_g.gotoAndPlay(2);
_root.start_g.round_text.r_num.text = round_num;
_root.backgrounds._x = 716.9;
_root.backgrounds2._x = 716.9;
_root.breakable._x = -422.1;
_root.breakable2._x = 792;
_root.foregrounds._x = -713.4;
_root.scene_light._x = -714.2000000000001;
_root.scene_light2._x = -714.2000000000001;
_root.scene_mask._x = -712.6;
_root.s_hp._visible = true;
_root.s_hp._xscale = 100;
_root.s_hp2._visible = true;
_root.s_hp2._xscale = 100;
_root.g_hp._visible = true;
_root.g_hp._xscale = 100;
_root.g_hp2._visible = true;
_root.g_hp2._xscale = 100;
_root.sakura.gotoAndPlay(1);
_root.mask2._visible = true;
}
frame 102 {
do {
_root.backgrounds.onEnterFrame = function () {
if (pauseif == false) {
if (ghp <= 0 || shp <= 0) {
if (_root.ko._currentframe == 1 && game_end == false) {
_root.ko.gotoAndPlay(2);
if (shp <= 0) {
hf = 11;
}
if (ghp <= 0) {
s_hf = 11;
}
game_end = true;
}
untidead = 0;
undead_sakura = 0;
yz = 20;
s_yz = 20;
}
if (game_end == true && ghp > 0 && sta == 38) {
sta = 0;
}
if (game_end == true && shp > 0 && gta == 42) {
gta = 1;
}
if (game_end == true && ghp > 0 && sta == 0) {
baction = true;
sta = 45;
g_win += 1;
round_num += 1;
if (g_win > 0) {
_root.g_win1._visible = true;
}
if (g_win > 1) {
_root.g_win2._visible = true;
}
}
if (game_end == true && shp > 0 && gta == 1) {
unti_sakura = true;
gta = 48;
s_win += 1;
round_num += 1;
if (s_win > 0) {
_root.s_win1._visible = true;
}
if (s_win > 1) {
_root.s_win2._visible = true;
}
}
if (_root.ko._currentframe > 1 && _root.ko._currentframe < 50) {
_root.backgrounds._x += 2 - Math.random(1) * 5;
_root.foregrounds._x += 2 - Math.random(1) * 5;
gx += 2 - Math.random(1) * 5;
sx += 2 - Math.random(1) * 5;
}
if (_root.ko._currentframe > 1 && _root.ko._currentframe < 150) {
if (slow_move < 3) {
_root.guy.stop();
_root.guy_shadow.stop();
_root.sakura.stop();
slow_move += 1;
} else {
_root.guy.play();
_root.guy_shadow.play();
_root.sakura.play();
slow_move = 0;
}
}
if (g_lay == true || s_lay == true || sta > 45) {
_root.foregrounds._alpha = 50;
_root.foregrounds2._alpha = 50;
} else {
_root.foregrounds._alpha = 255;
_root.foregrounds2._alpha = 255;
}
if (_root.guy._currentframe >= 1120 && _root.guy._currentframe <= 1129 && gta < 49) {
sta = 0;
}
if (_root.guy._currentframe >= 1142 && _root.guy._currentframe <= 1150 && gta < 49) {
sta = 0;
}
if (_root.guy._currentframe >= 1163 && _root.guy._currentframe <= 1171 && gta < 49) {
sta = 38;
}
if (_root.guy._currentframe >= 1184 && _root.guy._currentframe <= 1192 && gta < 49) {
sta = 0;
}
if (_root.guy._currentframe >= 1205 && _root.guy._currentframe <= 1213 && gta < 49) {
sta = 0;
}
'ç ´å';
if (gx - 290 < _root.breakable._x && _root.breakable._currentframe == 1 && _root.breakable._visible == true) {
if (g_fly == true && s_hs > 5) {
_root.breakable.play();
s_hs *= 1.5;
ghp -= 5;
} else {
gx = _root.breakable._x + 290;
}
}
if (sx - 331 < _root.breakable._x && _root.breakable._currentframe == 1 && _root.breakable._visible == true) {
if (s_fly == true && hs > 5) {
_root.breakable.play();
hs *= 1.5;
shp -= 5;
} else {
sx = _root.breakable._x + 331;
}
}
if (gx + 90 > _root.breakable2._x && _root.breakable2._currentframe == 1 && _root.breakable2._visible == true) {
if (g_fly == true && s_hs > 5) {
_root.breakable2.play();
s_hs *= 1.5;
ghp -= 5;
} else {
gx = _root.breakable2._x - 90;
}
}
if (sx + 20 > _root.breakable2._x && _root.breakable2._currentframe == 1 && _root.breakable2._visible == true) {
if (s_fly == true && hs > 5) {
_root.breakable2.play();
hs *= 1.5;
shp -= 5;
} else {
sx = _root.breakable2._x - 20;
}
}
if (free_mode == true) {
ghp += 1;
}
if (shp < 200 && free_mode == true) {
shp += 1;
}
if (ghp > 200) {
ghp = 200;
}
_root.backgrounds2._x = _root.backgrounds._x;
_root.scene_light2._x = _root.scene_light._x;
_root.foregrounds2._x = _root.foregrounds._x;
_root.backgrounds3._x = _root.backgrounds._x;
_root.scene_light3._x = _root.scene_light._x;
if (_root.d_jy._alpha > 0) {
_root.d_jy._alpha -= 0.5;
}
if (_root.d_jy._alpha < 2) {
_root.d_jy._alpha = 0;
}
if (_root.sakura._currentframe > 1046 && _root.sakura._currentframe < 1444) {
_root.d_jy._alpha = 100;
}
'__________________________________________________________SCENE___________________________________________________________________________________________________________';
if (g_bisha == true || s_bisha == true) {
_root.bisha._visible = true;
} else {
_root.bisha._visible = false;
}
if (gx < -150 && sx < 760 && _root.backgrounds._x < 1423) {
_root.backgrounds._x += Math.abs(mspeed);
_root.breakable._x += Math.abs(mspeed);
_root.breakable2._x += Math.abs(mspeed);
_root.scene_mask._x += Math.abs(mspeed);
_root.foregrounds._x += Math.abs(mspeed) * 1.5;
_root.scene_light._x += Math.abs(mspeed);
sx += Math.abs(mspeed);
}
if (gx > 740 && sx > -110 && _root.backgrounds._x > -545) {
_root.backgrounds._x -= Math.abs(mspeed);
_root.breakable._x -= Math.abs(mspeed);
_root.breakable2._x -= Math.abs(mspeed);
_root.scene_mask._x -= Math.abs(mspeed);
_root.foregrounds._x -= Math.abs(mspeed) * 1.5;
_root.scene_light._x -= Math.abs(mspeed);
sx -= Math.abs(mspeed);
}
if (gx < -149) {
gx = -148;
}
if (gx > 741) {
gx = 740;
}
if (sx < -109) {
sx = -108;
}
if (sx > 761) {
sx = 760;
}
if (gx < _root.backgrounds._x - back_left + 200) {
gx = _root.backgrounds._x - back_left + 200;
if (g_fly == true) {
gy += 4;
}
}
if (gx > _root.backgrounds._x + back_right - 487) {
gx = _root.backgrounds._x + back_right - 487;
if (g_fly == true) {
gy += 4;
}
}
if (sx < _root.backgrounds._x - back_left + 277) {
sx = _root.backgrounds._x - back_left + 277;
if (s_fly == true) {
sy += 4;
}
}
if (sx > _root.backgrounds._x + back_right - 445) {
sx = _root.backgrounds._x + back_right - 445;
if (s_fly == true) {
sy += 4;
}
}
if (face_front == true && sta != 3 && sta != 11 && sta != 12 && sta != 27) {
if (gx > sx - 190 && gta != 42 && gta != 43 && gta != 44) {
if (mspeed != 0) {
gx += (sx - 190 - gx) / 3;
} else {
sx -= (sx - 190 - gx) / 3;
}
}
if (gx > sx - 240 && gta > 41 && gta < 45) {
if (mspeed != 0) {
gx += (sx - 240 - gx) / 3;
} else {
sx -= (sx - 240 - gx) / 3;
}
}
}
if (face_front == false && sta != 3 && sta != 11 && sta != 12 && sta != 27) {
if (gx < sx + 90 && gta != 42 && gta != 43 && gta != 44) {
if (mspeed != 0) {
gx += (sx + 90 - gx) / 3;
} else {
sx -= (sx + 90 - gx) / 3;
}
}
if (gx < sx + 140 && gta > 41 && gta < 45) {
if (mspeed != 0) {
gx += (sx + 140 - gx) / 3;
} else {
sx -= (sx + 140 - gx) / 3;
}
}
}
if (mspeed <= 0) {
cam_reset += 1;
} else {
cam_reset = 0;
}
if (cam_reset > 5) {
if (gx + 80 - 760 + sx > 10 && gx > -149 && sx > -109 && _root.backgrounds._x > -545) {
gx -= 5;
sx -= 5;
_root.backgrounds._x -= 5;
_root.scene_mask._x -= 5;
_root.breakable._x -= 5;
_root.breakable2._x -= 5;
_root.foregrounds._x -= 7.5;
_root.scene_light._x -= 5;
}
if (gx + 80 - 760 + sx < -10 && gx < 741 && sx < 761 && _root.backgrounds._x < 1423) {
gx += 5;
sx += 5;
_root.backgrounds._x += 5;
_root.scene_mask._x += 5;
_root.breakable._x += 5;
_root.breakable2._x += 5;
_root.foregrounds._x += 7.5;
_root.scene_light._x += 5;
}
}
if (gx < sx) {
face_front = true;
} else {
face_front = false;
}
if (gta != 42 && gta != 43 && gta != 44) {
if (gx < sx) {
s_face_front = true;
} else {
s_face_front = false;
}
}
if (face_front == true) {
if (hit_rate > 0) {
sx += hs;
if (hs > 0) {
hs -= 0.5;
}
if (hs < 0) {
hs += 0.5;
}
}
_root.guy._xscale = 100;
_root.guy._x = gx;
_root.guy._y = gy;
_root.guy_shadow._xscale = 100;
_root.guy_shadow._x = gx;
_root.guy_shadow._y = gy - 20;
left_spd = 7;
right_spd = 12;
} else {
if (hit_rate > 0) {
sx -= hs;
if (hs > 0) {
hs -= 0.5;
}
if (hs < 0) {
hs += 0.5;
}
}
_root.guy._xscale = -100;
_root.guy._x = gx + 500;
_root.guy._y = gy;
_root.guy_shadow._xscale = -100;
_root.guy_shadow._x = gx + 500;
_root.guy_shadow._y = gy - 20;
left_spd = 12;
right_spd = 7;
}
'__________________________________________________________SCENE___________________________________________________________________________________________________________';
'__________________________________________________________INTERFACE__________________________________________________________________________________________________________';
if (ghp >= 0) {
_root.g_hp._xscale = ghp / 2;
} else {
_root.g_hp._visible = false;
_root.g_hp2._visible = false;
}
if (_root.g_hp2._xscale + 1 > _root.g_hp._xscale) {
_root.g_hp2._xscale -= 0.1;
}
if (_root.g_hp2._xscale + 1 < _root.g_hp._xscale) {
_root.g_hp2._xscale += 0.2;
}
if (shp >= 0) {
_root.s_hp._xscale = shp / 2;
} else {
_root.s_hp._visible = false;
_root.s_hp2._visible = false;
}
if (_root.s_hp2._xscale + 1 > _root.s_hp._xscale) {
_root.s_hp2._xscale -= 0.1;
}
if (gsp >= 100) {
gsp = 100;
if (_root.g_sp._currentframe == 1) {
_root.g_sp.gotoAndPlay(2);
}
} else {
_root.g_sp.gotoAndStop(1);
}
if (gsp < 0) {
gsp = 0;
}
if (ssp >= 100) {
ssp = 100;
if (_root.s_sp._currentframe == 1) {
_root.s_sp.gotoAndPlay(2);
}
} else {
_root.s_sp.gotoAndStop(1);
}
if (ssp < 0) {
ssp = 0;
}
_root.g_sp._xscale = gsp;
_root.s_sp._xscale = ssp;
if (hf > 0 && s_fly == false) {
hf -= 0.2;
}
if (hit_rate > 0) {
hit_rate -= 1;
}
if (myz > 0) {
myz -= 1;
}
if (yz > 0) {
yz -= 1;
}
if (s_yz > 0) {
s_yz -= 1;
}
if (s_bt > 0) {
s_bt -= 1;
}
if (s_hurt > 0) {
s_hurt -= 1;
}
if (suc_fy > 0) {
suc_fy -= 1;
}
if (yz > 0 && g_lay == true) {
yz -= 1;
}
if (s_yz > 0 && s_lay == true) {
s_yz -= 1;
}
if (hf > 35) {
hf = 35;
}
if (hf > 10 && s_fly == false && s_lay == false) {
gta = 40;
sy -= hf * 13;
s_fly = true;
s_lay = false;
}
if (s_fly == true) {
hf -= 1;
if (hf_protect < 499) {
hf_protect += 1;
}
if (sy < 420) {
sy += 25;
sy -= hf * (500 - hf_protect) / 500;
} else {
s_fly = false;
s_lay = true;
eff_sound.stop();
eff_sound.attachSound('eff_fall');
eff_sound.start(0, 1);
hf_protect = 0;
hf = 0;
s_yz = 40;
gta = 42;
sy = 326;
}
if (s_hurt > 10) {
if (face_front == true) {
sx += hs * 2;
} else {
sx -= hs * 2;
}
}
if (hs > 0) {
hs -= 0.25;
}
if (hs < 0) {
hs += 0.25;
}
}
}
'pause false';
if (pauseif == true) {
_root.pause_graph._visible = true;
_root.sakura.stop();
_root.guy.stop();
guy_voice.stop();
gal_voice.stop();
eff_sound.stop();
_root.guy_shadow.gotoAndStop(_root.guy._currentframe);
_root.sakura_shadow.gotoAndStop(_root.sakura._currentframe);
_root.d_hair.gotoAndStop(_root.sakura._currentframe);
_root.d_shoe.gotoAndStop(_root.sakura._currentframe);
_root.d_panty.gotoAndStop(_root.sakura._currentframe);
_root.d_body.gotoAndStop(_root.sakura._currentframe);
_root.d_up.gotoAndStop(_root.sakura._currentframe);
_root.d_low.gotoAndStop(_root.sakura._currentframe);
_root.d_prop.gotoAndStop(_root.sakura._currentframe);
_root.d_jy.gotoAndStop(_root.sakura._currentframe);
_root.mask1.gotoAndStop(_root.sakura._currentframe);
_root.mask2.gotoAndStop(_root.sakura._currentframe);
} else {
_root.pause_graph._visible = false;
}
};
} while (function () {
'__________________________________________________________GUY___________________________________________________________________________________________________________';
if (s_bisha == true && sta != 5 && sta != 32 && g_fly == false && g_lay == false) {
sta = 43;
}
if (baction == false && s_bisha == false) {
if (g_fly == true) {
sta = 36;
g_bisha = false;
_root.guy.play();
} else {
if (g_lay == true) {
sta = 38;
_root.guy.play();
} else {
if (yz > 0 && hurt > 0) {
sta = 43;
} else {
sta = 0;
}
}
}
m = 0;
mspeed = 0;
untidead = 0;
} else {
untidead += 1;
}
if (untidead > 30) {
baction = false;
}
if (Key.isDown(37)) {
hold += 1;
if (hold > 3) {
if (baction == false) {
if (yz == 0 && g_fly == false && g_lay == false && s_bisha == false) {
gx -= left_spd;
mspeed = left_spd;
sta = 2;
}
m = 2;
}
if (sta == 3) {
gx -= left_spd * 2;
mspeed = left_spd * 2;
}
}
}
if (Key.isDown(39)) {
hold += 1;
if (hold > 3) {
if (baction == false) {
if (yz == 0 && g_fly == false && g_lay == false && s_bisha == false) {
gx += right_spd;
mspeed = right_spd;
sta = 1;
}
m = 1;
}
if (sta == 3) {
gx += right_spd * 2;
mspeed = right_spd * 2;
}
}
}
if (Key.isDown(38) && baction == false) {
if (yz == 0 && g_fly == false && g_lay == false && s_bisha == false) {
sta = 3;
baction = true;
}
m = 3;
}
if (Key.isDown(40) && baction == false) {
if (yz == 0 && g_fly == false && g_lay == false && s_bisha == false) {
if (m == 2) {
gx += left_spd;
mspeed = 0;
}
if (m == 1) {
gx -= right_spd;
mspeed = 0;
}
sta = 4;
}
m = 4;
}
if (Key.isDown(32) && baction == false && yz == 0 && g_fly == false && g_lay == false && s_bisha == false) {
if (sta == 4) {
sta = 6;
} else {
if (sta < 3) {
if (m == 2) {
gx += left_spd;
mspeed = 0;
}
if (m == 1) {
gx -= right_spd;
mspeed = 0;
}
sta = 5;
}
}
}
'PAUSE';
if (Key.isDown(27)) {
pauseif = true;
}
'S Fuck';
if (Key.isDown(83) || Key.isDown(115)) {
if (_root.guy._currentframe >= 1120 && _root.guy._currentframe <= 1443 && fuck_count > 3) {
switch (gta) {
case 49:
if (_root.sakura._currentframe < 1064) {
_root.sakura.gotoAndPlay(1064);
}
break;
case 50:
if (_root.sakura._currentframe < 1090) {
_root.sakura.gotoAndPlay(1090);
}
break;
case 51:
if (_root.sakura._currentframe < 1119) {
_root.sakura.gotoAndPlay(1119);
}
break;
case 52:
if (_root.sakura._currentframe < 1145) {
_root.sakura.gotoAndPlay(1145);
}
break;
case 53:
if (_root.sakura._currentframe < 1177) {
_root.sakura.gotoAndPlay(1177);
}
break;
case 54:
if (_root.sakura._currentframe < 1212) {
_root.sakura.gotoAndPlay(1212);
}
break;
case 55:
if (_root.sakura._currentframe < 1241) {
_root.sakura.gotoAndPlay(1241);
}
break;
case 56:
if (_root.sakura._currentframe < 1273) {
_root.sakura.gotoAndPlay(1273);
}
break;
case 57:
if (_root.sakura._currentframe < 1305) {
_root.sakura.gotoAndPlay(1305);
}
break;
case 58:
if (_root.sakura._currentframe < 1337) {
_root.sakura.gotoAndPlay(1337);
}
break;
case 59:
if (_root.sakura._currentframe < 1369) {
_root.sakura.gotoAndPlay(1369);
}
break;
case 60:
if (_root.sakura._currentframe < 1401) {
_root.sakura.gotoAndPlay(1401);
}
break;
case 61:
if (_root.sakura._currentframe < 1436) {
_root.sakura.gotoAndPlay(1436);
}
}
fuck_count = 0;
gal_voice.stop();
yz = 15;
} else {
if (g_fly == false && s_bisha == false && g_lay == false && stab == 19 && dash == true) {
sta = 49;
fuck_count = 0;
dash = false;
baction = true;
} else {
if (baction == false && yz == 0 && g_fly == false && s_bisha == false && g_lay == false && m != 4 && m != 3) {
sta = 46;
fuck_count = 0;
baction = true;
} else {
if (yz == 0 && g_fly == false && s_bisha == false && g_lay == false && m == 3) {
sta = 47;
m = 0;
fuck_count = 0;
baction = true;
} else {
if (baction == false && yz == 0 && g_fly == false && s_bisha == false && g_lay == false && m == 4) {
sta = 50;
fuck_count = 0;
baction = true;
} else {
if (baction == false && yz == 0 && g_fly == false && s_bisha == false && g_lay == true) {
sta = 48;
fuck_count = 0;
baction = true;
}
}
}
}
}
}
}
'F kick';
if (Key.isDown(70) && baction == false && yz == 0 && g_fly == false && s_bisha == false) {
if (g_lay == false) {
if (m == 4) {
sta = 10;
} else {
if (m == 1) {
if (face_front == true) {
sta = 13;
} else {
sta = 14;
}
} else {
if (m == 2) {
if (face_front == true) {
sta = 14;
} else {
sta = 13;
}
} else {
sta = 8;
}
}
}
} else {
sta = 41;
}
baction = true;
}
if (Key.isDown(102) && baction == false && yz == 0 && g_fly == false && g_lay == false && s_bisha == false) {
if (m == 4) {
sta = 10;
} else {
if (m == 1) {
if (face_front == true) {
sta = 13;
} else {
sta = 14;
}
} else {
if (m == 2) {
if (face_front == true) {
sta = 14;
} else {
sta = 13;
}
} else {
sta = 8;
}
}
}
baction = true;
}
if (Key.isDown(70) && m == 3 && yz == 0 && g_fly == false && g_lay == false && s_bisha == false) {
sta = 12;
}
if (Key.isDown(102) && m == 3 && yz == 0 && g_fly == false && g_lay == false && s_bisha == false) {
sta = 12;
}
'D punch';
if (Key.isDown(68) && baction == false && yz == 0 && g_fly == false && g_lay == false && s_bisha == false) {
if (m == 4) {
sta = 9;
} else {
if (m == 1) {
if (face_front == true) {
sta = 17;
} else {
sta = 16;
}
} else {
if (m == 2) {
if (face_front == true) {
sta = 16;
} else {
sta = 17;
}
} else {
sta = 7;
}
}
}
baction = true;
}
if (Key.isDown(100) && baction == false && yz == 0 && g_fly == false && g_lay == false && s_bisha == false) {
if (m == 4) {
sta = 9;
} else {
if (m == 1) {
if (face_front == true) {
sta = 17;
} else {
sta = 16;
}
} else {
if (m == 2) {
if (face_front == true) {
sta = 16;
} else {
sta = 17;
}
} else {
sta = 7;
}
}
}
baction = true;
}
if (Key.isDown(68) && m == 3 && yz == 0 && g_fly == false && g_lay == false && s_bisha == false) {
sta = 11;
}
if (Key.isDown(100) && m == 3 && yz == 0 && g_fly == false && g_lay == false && s_bisha == false) {
sta = 11;
}
'撕扯';
if (baction == false && yz == 0 && g_fly == false && g_lay == false) {
if (Key.isDown(65) || Key.isDown(97)) {
if (m == 4) {
sta = 26;
} else {
sta = 25;
}
baction = true;
}
}
if (Key.isDown(65) && m == 3 && yz == 0 && g_fly == false && g_lay == false && s_bisha == false) {
sta = 27;
}
if (Key.isDown(97) && m == 3 && yz == 0 && g_fly == false && g_lay == false && s_bisha == false) {
sta = 27;
}
'三连踢';
if (baction == true && stab == 13) {
if (Key.isDown(70) || Key.isDown(102)) {
push_k = true;
} else {
push_k = false;
}
}
'三连拳';
if (baction == true && stab == 17) {
if (Key.isDown(68) || Key.isDown(100)) {
push_p = true;
} else {
push_p = false;
}
}
'压腿波';
if (double_kick > 0) {
double_kick -= 1;
}
key_up.onKeyUp = function () {
if (Key.getCode() == 37) {
if (double_kick == 0 && face_front == true) {
double_kick += 10;
}
if (double_kick > 0 && face_front == false) {
double_kick += 10;
}
double_left += 10;
double_right = 0;
hold = 0;
}
if (Key.getCode() == 39) {
if (double_kick > 0 && face_front == true) {
double_kick += 10;
}
if (double_kick == 0 && face_front == false) {
double_kick += 10;
}
double_right += 10;
double_left = 0;
hold = 0;
}
};
if (double_kick > 10 && yz == 0 && g_fly == false && g_lay == false && s_bisha == false && fuck_count == 0) {
if (Key.isDown(70) || Key.isDown(102)) {
double_kick = 0;
sta = 15;
baction = true;
}
if (Key.isDown(68) || Key.isDown(100)) {
double_kick = 0;
sta = 18;
baction = true;
}
if (Key.isDown(65) || Key.isDown(97)) {
if (gsp >= 100 && sta < 36) {
double_kick = 0;
sta = 42;
gsp = 0;
baction = true;
}
}
}
'å‰åŽæ»‘';
if (double_left > 0) {
double_left -= 1;
}
if (double_right > 0) {
double_right -= 1;
}
if (double_left > 10 && baction == false && yz == 0 && g_fly == false && g_lay == false && s_bisha == false) {
if (face_front == true) {
sta = 20;
baction = true;
} else {
sta = 19;
baction = true;
}
double_left = 0;
}
if (double_right > 10 && baction == false && yz == 0 && g_fly == false && g_lay == false && s_bisha == false) {
if (face_front == true) {
sta = 19;
baction = true;
} else {
sta = 20;
baction = true;
}
double_right = 0;
}
if (Key.isDown(70) || Key.isDown(102)) {
if (stab == 19 && dash == true) {
sta = 22;
baction = true;
dash = false;
}
if (stab == 20 && dash == true) {
sta = 24;
baction = true;
dash = false;
}
}
if (Key.isDown(68) || Key.isDown(100)) {
if (stab == 19 && dash == true) {
sta = 21;
baction = true;
dash = false;
}
if (stab == 20 && dash == true) {
sta = 23;
baction = true;
dash = false;
}
}
switch (sta) {
case 0:
if (_root.guy._currentframe > 15) {
if (stab == 4) {
_root.guy.gotoAndPlay(392);
stab = 0;
} else {
_root.guy.gotoAndPlay(1);
stab = 0;
}
myz = 0;
fyz = 0;
pd = 0;
hts1 = 0;
hte1 = 0;
hts2 = 0;
hte2 = 0;
hts3 = 0;
hte3 = 0;
bt = 0;
body_xs = 150;
body_xe = 320;
body_ys = 130;
body_ye = 480;
}
break;
case 1:
if (_root.guy._currentframe < 43 || _root.guy._currentframe > 66) {
_root.guy.gotoAndPlay(43);
stab = 1;
myz = 0;
fyz = 0;
pd = 0;
hts1 = 0;
hte1 = 0;
hts2 = 0;
hte2 = 0;
hts3 = 0;
hte3 = 0;
bt = 0;
body_xs = 150;
body_xe = 320;
body_ys = 130;
body_ye = 480;
}
break;
case 2:
if (_root.guy._currentframe < 67 || _root.guy._currentframe > 90) {
_root.guy.gotoAndPlay(67);
stab = 2;
myz = 0;
fyz = 0;
pd = 0;
hts1 = 0;
hte1 = 0;
hts2 = 0;
hte2 = 0;
hts3 = 0;
hte3 = 0;
bt = 0;
body_xs = 150;
body_xe = 320;
body_ys = 130;
body_ye = 480;
}
break;
case 3:
if (_root.guy._currentframe < 481 || _root.guy._currentframe > 494) {
_root.guy.gotoAndPlay(481);
stab = 3;
myz = 0;
fyz = 0;
pd = 0;
hts1 = 0;
hte1 = 0;
hts2 = 0;
hte2 = 0;
hts3 = 0;
hte3 = 0;
bt = 0;
body_xs = 180;
body_xe = 290;
body_ys = 0;
body_ye = 260;
}
break;
case 4:
if (_root.guy._currentframe < 374 || _root.guy._currentframe > 397) {
_root.guy.gotoAndPlay(374);
stab = 4;
myz = 0;
fyz = 0;
pd = 0;
hts1 = 0;
hte1 = 0;
hts2 = 0;
hte2 = 0;
hts3 = 0;
hte3 = 0;
bt = 0;
body_xs = 140;
body_xe = 270;
body_ys = 220;
body_ye = 480;
}
break;
case 5:
if (_root.guy._currentframe < 353 || _root.guy._currentframe > 364) {
_root.guy.gotoAndPlay(353);
stab = 5;
myz = 0;
fyz = 0;
pd = 0;
hts1 = 0;
hte1 = 0;
hts2 = 0;
hte2 = 0;
hts3 = 0;
hte3 = 0;
bt = 0;
body_xs = 150;
body_xe = 320;
body_ys = 130;
body_ye = 480;
}
break;
case 6:
if (_root.guy._currentframe < 460 || _root.guy._currentframe > 471) {
_root.guy.gotoAndPlay(460);
stab = 6;
myz = 0;
fyz = 0;
pd = 0;
hts1 = 0;
hte1 = 0;
hts2 = 0;
hte2 = 0;
hts3 = 0;
hte3 = 0;
bt = 0;
body_xs = 140;
body_xe = 270;
body_ys = 220;
body_ye = 480;
}
break;
case 7:
if (_root.guy._currentframe < 16 || _root.guy._currentframe > 26) {
_root.guy.gotoAndPlay(16);
stab = 7;
guy_voice.stop();
guy_voice.attachSound('guy_punch');
guy_voice.start(0, 1);
yz = 11;
myz = 8;
fyz = 5;
pd = 0;
hts1 = 16;
hte1 = 20;
hts2 = 0;
hte2 = 0;
hts3 = 0;
hte3 = 0;
hd1 = 1;
hd2 = 0;
hd3 = 0;
pos = true;
hf1 = 3;
hf2 = 0;
hf3 = 0;
hxs1 = 253;
hxe1 = 420;
hxs2 = 0;
hxe2 = 0;
hxs3 = 0;
hxe3 = 0;
hys1 = 164;
hye1 = 270;
hys2 = 0;
hye2 = 0;
hys3 = 0;
hye3 = 0;
bt = 0;
body_xs = 170;
body_xe = 390;
body_ys = 130;
body_ye = 480;
hs = 3;
}
break;
case 8:
if (_root.guy._currentframe < 27 || _root.guy._currentframe > 42) {
_root.guy.gotoAndPlay(27);
stab = 8;
guy_voice.stop();
guy_voice.attachSound('guy_kick');
guy_voice.start(0, 1);
yz = 19;
myz = 19;
fyz = 12;
pd = 0;
hts1 = 27;
hte1 = 31;
hts2 = 32;
hte2 = 36;
hts3 = 0;
hte3 = 0;
hd1 = 1;
hd2 = 3;
hd3 = 0;
pos = true;
hf1 = 1;
hf2 = 6;
hf3 = 0;
hxs1 = 240;
hxe1 = 330;
hys1 = 250;
hye1 = 410;
hxs2 = 240;
hxe2 = 440;
hys2 = 240;
hye2 = 390;
hxs3 = 0;
hxe3 = 0;
hys3 = 0;
hye3 = 0;
bt = 0;
body_xs = 150;
body_xe = 400;
body_ys = 130;
body_ye = 480;
hs = 23;
}
break;
case 9:
if (_root.guy._currentframe < 398 || _root.guy._currentframe > 409) {
_root.guy.gotoAndPlay(398);
stab = 9;
guy_voice.stop();
guy_voice.attachSound('guy_punch');
guy_voice.start(0, 1);
yz = 13;
myz = 11;
fyz = 8;
pd = 0;
hts1 = 398;
hte1 = 402;
hts2 = 0;
hte2 = 0;
hts3 = 0;
hte3 = 0;
hd1 = 1;
hd2 = 0;
hd3 = 0;
pos = false;
hf1 = 3;
hf2 = 0;
hf3 = 0;
hxs1 = 240;
hxe1 = 350;
hys1 = 250;
hye1 = 300;
hxs2 = 0;
hxe2 = 0;
hys2 = 0;
hye2 = 0;
hxs3 = 0;
hxe3 = 0;
hys3 = 0;
hye3 = 0;
bt = 0;
body_xs = 150;
body_xe = 300;
body_ys = 220;
body_ye = 480;
hs = 3;
}
break;
case 10:
if (_root.guy._currentframe < 410 || _root.guy._currentframe > 421) {
_root.guy.gotoAndPlay(410);
guy_voice.stop();
guy_voice.attachSound('guy_punch');
guy_voice.start(0, 1);
stab = 10;
yz = 15;
myz = 13;
fyz = 8;
pd = 0;
hts1 = 410;
hte1 = 414;
hts2 = 0;
hte2 = 0;
hts3 = 0;
hte3 = 0;
hd1 = 2;
hd2 = 0;
hd3 = 0;
pos = false;
hf1 = 3;
hf2 = 0;
hf3 = 0;
hxs1 = 220;
hxe1 = 390;
hys1 = 370;
hye1 = 480;
hxs2 = 0;
hxe2 = 0;
hys2 = 0;
hye2 = 0;
hxs3 = 0;
hxe3 = 0;
hys3 = 0;
hye3 = 0;
bt = 0;
body_xs = 100;
body_xe = 250;
body_ys = 265;
body_ye = 480;
hs = 4;
}
break;
case 11:
if (_root.guy._currentframe < 519 || _root.guy._currentframe > 534) {
_root.guy.gotoAndPlay(519);
stab = 11;
guy_voice.stop();
guy_voice.attachSound('guy_punch');
guy_voice.start(0, 1);
yz = 20;
myz = 25;
fyz = 10;
pd = 0;
hts1 = 525;
hte1 = 530;
hts2 = 0;
hte2 = 0;
hts3 = 0;
hte3 = 0;
hd1 = 10;
hd2 = 0;
hd3 = 0;
pos = true;
hf1 = 5;
hf2 = 0;
hf3 = 0;
hxs1 = 250;
hxe1 = 400;
hys1 = 140;
hye1 = 270;
hxs2 = 0;
hxe2 = 0;
hys2 = 0;
hye2 = 0;
hxs3 = 0;
hxe3 = 0;
hys3 = 0;
hye3 = 0;
bt = 0;
body_xs = 220;
body_xe = 330;
body_ys = 100;
body_ye = 430;
hs = 8;
}
break;
case 12:
if (_root.guy._currentframe < 495 || _root.guy._currentframe > 518) {
_root.guy.gotoAndPlay(495);
stab = 12;
guy_voice.stop();
guy_voice.attachSound('guy_kick');
guy_voice.start(0, 1);
yz = 27;
myz = 29;
fyz = 25;
pd = 0;
hts1 = 501;
hte1 = 506;
hts2 = 0;
hte2 = 0;
hts3 = 0;
hte3 = 0;
hd1 = 5;
hd2 = 0;
hd3 = 0;
pos = true;
hf1 = 8;
hf2 = 0;
hf3 = 0;
hxs1 = 250;
hxe1 = 440;
hys1 = 150;
hye1 = 260;
hxs2 = 0;
hxe2 = 0;
hys2 = 0;
hye2 = 0;
hxs3 = 0;
hxe3 = 0;
hys3 = 0;
hye3 = 0;
bt = 0;
body_xs = 180;
body_xe = 300;
body_ys = 20;
body_ye = 370;
hs = 4;
}
break;
case 13:
if (_root.guy._currentframe < 91 || _root.guy._currentframe > 136) {
_root.guy.gotoAndPlay(91);
stab = 13;
guy_voice.stop();
guy_voice.attachSound('guy_punch');
guy_voice.start(0, 1);
yz = 10;
myz = 12;
fyz = 8;
pd = 0;
hts1 = 94;
hte1 = 98;
hts2 = 108;
hte2 = 113;
hts3 = 117;
hte3 = 125;
hd1 = 2;
hd2 = 3;
hd3 = 6;
pos = true;
hf1 = 3;
hf2 = 4;
hf3 = 5;
hxs1 = 250;
hxe1 = 480;
hys1 = 220;
hye1 = 320;
hxs2 = 300;
hxe2 = 510;
hys2 = 150;
hye2 = 280;
hxs3 = 310;
hxe3 = 500;
hys3 = 110;
hye3 = 220;
bt = 0;
body_xs = 160;
body_xe = 490;
body_ys = 150;
body_ye = 480;
hs = 4;
}
if (face_front == true) {
gx += 2;
} else {
gx -= 2;
}
break;
case 14:
if (_root.guy._currentframe < 222 || _root.guy._currentframe > 238) {
_root.guy.gotoAndPlay(222);
stab = 14;
guy_voice.stop();
guy_voice.attachSound('guy_kick');
guy_voice.start(0, 1);
yz = 22;
myz = 24;
fyz = 10;
pd = 0;
hts1 = 226;
hte1 = 229;
hts2 = 0;
hte2 = 0;
hts3 = 0;
hte3 = 0;
hd1 = 3;
hd2 = 0;
hd3 = 0;
pos = false;
hf1 = 11;
hf2 = 0;
hf3 = 0;
hxs1 = 340;
hxe1 = 470;
hys1 = 370;
hye1 = 470;
hxs2 = 0;
hxe2 = 0;
hys2 = 0;
hye2 = 0;
hxs3 = 0;
hxe3 = 0;
hys3 = 0;
hye3 = 0;
bt = 0;
body_xs = 200;
body_xe = 360;
body_ys = 230;
body_ye = 470;
hs = 2;
}
break;
case 15:
if (_root.guy._currentframe < 194 || _root.guy._currentframe > 221) {
_root.guy.gotoAndPlay(194);
stab = 15;
guy_voice.stop();
guy_voice.attachSound('guy_kick');
guy_voice.start(0, 1);
yz = 33;
myz = 36;
fyz = 26;
pd = 0;
hts1 = 195;
hte1 = 199;
hts2 = 203;
hte2 = 209;
hts3 = 0;
hte3 = 0;
hd1 = 1;
hd2 = 6;
hd3 = 0;
pos = true;
hf1 = 3;
hf2 = 8;
hf3 = 0;
hxs1 = 280;
hxe1 = 400;
hys1 = 180;
hye1 = 380;
hxs2 = 280;
hxe2 = 550;
hys2 = 140;
hye2 = 480;
hxs3 = 0;
hxe3 = 0;
hys3 = 0;
hye3 = 0;
bt = 0;
body_xs = 180;
body_xe = 420;
body_ys = 150;
body_ye = 480;
hs = 6;
}
break;
case 16:
if (_root.guy._currentframe < 137 || _root.guy._currentframe > 161) {
_root.guy.gotoAndPlay(137);
stab = 16;
guy_voice.stop();
guy_voice.attachSound('guy_punch');
guy_voice.start(0, 1);
yz = 29;
myz = 15;
fyz = 10;
pd = 0;
hts1 = 143;
hte1 = 152;
hts2 = 0;
hte2 = 0;
hts3 = 0;
hte3 = 0;
hd1 = 8;
hd2 = 0;
hd3 = 0;
pos = true;
hf1 = 3;
hf2 = 0;
hf3 = 0;
hxs1 = 270;
hxe1 = 400;
hys1 = 230;
hye1 = 380;
hxs2 = 0;
hxe2 = 0;
hys2 = 0;
hye2 = 0;
hxs3 = 0;
hxe3 = 0;
hys3 = 0;
hye3 = 0;
bt = 3;
body_xs = 150;
body_xe = 370;
body_ys = 200;
body_ye = 480;
hs = 2;
}
if (face_front == true) {
gx += 3;
} else {
gx -= 3;
}
break;
case 17:
if (_root.guy._currentframe < 162 || _root.guy._currentframe > 193) {
_root.guy.gotoAndPlay(162);
stab = 17;
guy_voice.stop();
guy_voice.attachSound('guy_punch');
guy_voice.start(0, 1);
yz = 7;
myz = 8;
fyz = 6;
pd = 0;
hts1 = 162;
hte1 = 165;
hts2 = 172;
hte2 = 175;
hts3 = 179;
hte3 = 187;
hd1 = 1;
hd2 = 3;
hd3 = 4;
pos = true;
hf1 = 2;
hf2 = 3;
hf3 = 5;
hxs1 = 290;
hxe1 = 410;
hys1 = 210;
hye1 = 290;
hxs2 = 310;
hxe2 = 430;
hys2 = 160;
hye2 = 220;
hxs3 = 350;
hxe3 = 530;
hys3 = 210;
hye3 = 270;
bt = 0;
body_xs = 220;
body_xe = 430;
body_ys = 180;
body_ye = 480;
hs = 4;
}
if (face_front == true) {
gx += 2;
} else {
gx -= 2;
}
break;
case 18:
if (_root.guy._currentframe < 275 || _root.guy._currentframe > 328) {
_root.guy.gotoAndPlay(275);
stab = 18;
guy_voice.stop();
guy_voice.attachSound('guy_rape');
guy_voice.start(0, 1);
yz = 58;
myz = 20;
fyz = 10;
pd = 10;
hts1 = 281;
hte1 = 325;
hts2 = 0;
hte2 = 0;
hts3 = 0;
hte3 = 0;
hd1 = 1;
hd2 = 0;
hd3 = 0;
pos = false;
hf1 = 0;
hf2 = 0;
hf3 = 0;
hxs1 = 290;
hxe1 = 430;
hys1 = 330;
hye1 = 480;
hxs2 = 0;
hxe2 = 0;
hys2 = 0;
hye2 = 0;
hxs3 = 0;
hxe3 = 0;
hys3 = 0;
hye3 = 0;
bt = 0;
body_xs = 190;
body_xe = 300;
body_ys = 150;
body_ye = 470;
hs = 1;
}
break;
case 19:
if (_root.guy._currentframe < 554 || _root.guy._currentframe > 579) {
_root.guy.gotoAndPlay(554);
stab = 19;
myz = 0;
fyz = 0;
pd = 0;
hts1 = 0;
hte1 = 0;
hts2 = 0;
hte2 = 0;
hts3 = 0;
hte3 = 0;
bt = 6;
body_xs = 190;
body_xe = 400;
body_ys = 250;
body_ye = 470;
}
if (face_front == true) {
gx += 15;
} else {
gx -= 15;
}
mspeed = 15;
break;
case 20:
if (_root.guy._currentframe < 622 || _root.guy._currentframe > 644) {
_root.guy.gotoAndPlay(622);
stab = 20;
myz = 0;
fyz = 0;
pd = 0;
hts1 = 0;
hte1 = 0;
hts2 = 0;
hte2 = 0;
hts3 = 0;
hte3 = 0;
bt = 8;
body_xs = 20;
body_xe = 220;
body_ys = 170;
body_ye = 460;
}
if (face_front == true) {
gx -= 10;
} else {
gx += 10;
}
break;
case 21:
if (_root.guy._currentframe < 580 || _root.guy._currentframe > 601) {
_root.guy.gotoAndPlay(580);
stab = 21;
guy_voice.stop();
guy_voice.attachSound('guy_rip');
guy_voice.start(0, 1);
yz = 25;
myz = 26;
fyz = 23;
pd = 5;
hts1 = 583;
hte1 = 595;
hts2 = 0;
hte2 = 0;
hts3 = 0;
hte3 = 0;
hd1 = 4;
hd2 = 0;
hd3 = 0;
pos = true;
hf1 = 4;
hf2 = 0;
hf3 = 0;
hxs1 = 330;
hxe1 = 450;
hys1 = 220;
hye1 = 290;
hxs2 = 0;
hxe2 = 0;
hys2 = 0;
hye2 = 0;
hxs3 = 0;
hxe3 = 0;
hys3 = 0;
hye3 = 0;
bt = 0;
body_xs = 230;
body_xe = 400;
body_ys = 220;
body_ye = 470;
hs = 8;
}
if (face_front == true) {
gx += 5;
} else {
gx -= 5;
}
break;
case 22:
if (_root.guy._currentframe < 602 || _root.guy._currentframe > 621) {
_root.guy.gotoAndPlay(602);
stab = 22;
guy_voice.stop();
guy_voice.attachSound('guy_kick');
guy_voice.start(0, 1);
yz = 23;
myz = 27;
fyz = 10;
pd = 0;
hts1 = 608;
hte1 = 615;
hts2 = 0;
hte2 = 0;
hts3 = 0;
hte3 = 0;
hd1 = 4;
hd2 = 0;
hd3 = 0;
pos = true;
hf1 = 12;
hf2 = 0;
hf3 = 0;
hxs1 = 330;
hxe1 = 450;
hys1 = 250;
hye1 = 350;
hxs2 = 0;
hxe2 = 0;
hys2 = 0;
hye2 = 0;
hxs3 = 0;
hxe3 = 0;
hys3 = 0;
hye3 = 0;
bt = 0;
body_xs = 250;
body_xe = 400;
body_ys = 160;
body_ye = 380;
hs = 10;
}
if (face_front == true) {
gx += 5;
} else {
gx -= 5;
}
break;
case 23:
if (_root.guy._currentframe < 645 || _root.guy._currentframe > 662) {
_root.guy.gotoAndPlay(645);
stab = 23;
guy_voice.stop();
guy_voice.attachSound('guy_punch');
guy_voice.start(0, 1);
yz = 21;
myz = 30;
fyz = 20;
pd = 0;
hts1 = 651;
hte1 = 656;
hts2 = 0;
hte2 = 0;
hts3 = 0;
hte3 = 0;
hd1 = 8;
hd2 = 0;
hd3 = 0;
pos = true;
hf1 = 3;
hf2 = 0;
hf3 = 0;
hxs1 = 230;
hxe1 = 450;
hys1 = 210;
hye1 = 280;
hxs2 = 0;
hxe2 = 0;
hys2 = 0;
hye2 = 0;
hxs3 = 0;
hxe3 = 0;
hys3 = 0;
hye3 = 0;
bt = 3;
body_xs = 180;
body_xe = 360;
body_ys = 190;
body_ye = 460;
hs = 4;
}
if (face_front == true) {
gx += 7;
} else {
gx -= 7;
}
break;
case 24:
if (_root.guy._currentframe < 663 || _root.guy._currentframe > 686) {
_root.guy.gotoAndPlay(663);
stab = 24;
guy_voice.stop();
guy_voice.attachSound('guy_kick');
guy_voice.start(0, 1);
yz = 27;
myz = 32;
fyz = 10;
pd = 0;
hts1 = 669;
hte1 = 671;
hts2 = 674;
hte2 = 680;
hts3 = 0;
hte3 = 0;
hd1 = 1;
hd2 = 3;
hd3 = 0;
pos = true;
hf1 = 2;
hf2 = 6;
hf3 = 0;
hxs1 = 260;
hxe1 = 350;
hys1 = 270;
hye1 = 350;
hxs2 = 260;
hxe2 = 460;
hys2 = 230;
hye2 = 300;
hxs3 = 0;
hxe3 = 0;
hys3 = 0;
hye3 = 0;
bt = 3;
body_xs = 140;
body_xe = 320;
body_ys = 190;
body_ye = 460;
hs = 2;
}
if (face_front == true) {
gx += 5;
} else {
gx -= 5;
}
break;
case 25:
if (_root.guy._currentframe < 329 || _root.guy._currentframe > 352) {
_root.guy.gotoAndPlay(329);
stab = 25;
guy_voice.stop();
guy_voice.attachSound('guy_rip');
guy_voice.start(0, 1);
yz = 28;
myz = 29;
fyz = 10;
pd = 5;
hts1 = 337;
hte1 = 341;
hts2 = 0;
hte2 = 0;
hts3 = 0;
hte3 = 0;
hd1 = 1;
hd2 = 0;
hd3 = 0;
pos = true;
hf1 = 9;
hf2 = 0;
hf3 = 0;
hxs1 = 280;
hxe1 = 430;
hys1 = 220;
hye1 = 360;
hxs2 = 0;
hxe2 = 0;
hys2 = 0;
hye2 = 0;
hxs3 = 0;
hxe3 = 0;
hys3 = 0;
hye3 = 0;
bt = 0;
body_xs = 210;
body_xe = 370;
body_ys = 150;
body_ye = 460;
hs = -3;
}
break;
case 26:
if (_root.guy._currentframe < 440 || _root.guy._currentframe > 459) {
_root.guy.gotoAndPlay(440);
stab = 26;
guy_voice.stop();
guy_voice.attachSound('guy_rip');
guy_voice.start(0, 1);
yz = 25;
myz = 26;
fyz = 10;
pd = 5;
hts1 = 446;
hte1 = 450;
hts2 = 0;
hte2 = 0;
hts3 = 0;
hte3 = 0;
hd1 = 1;
hd2 = 0;
hd3 = 0;
pos = false;
hf1 = 0;
hf2 = 0;
hf3 = 0;
hxs1 = 270;
hxe1 = 400;
hys1 = 280;
hye1 = 350;
hxs2 = 0;
hxe2 = 0;
hys2 = 0;
hye2 = 0;
hxs3 = 0;
hxe3 = 0;
hys3 = 0;
hye3 = 0;
bt = 0;
body_xs = 150;
body_xe = 310;
body_ys = 240;
body_ye = 460;
hs = -2;
}
break;
case 27:
if (_root.guy._currentframe < 535 || _root.guy._currentframe > 553) {
_root.guy.gotoAndPlay(535);
stab = 27;
guy_voice.stop();
guy_voice.attachSound('guy_rip');
guy_voice.start(0, 1);
yz = 23;
myz = 24;
fyz = 10;
pd = 5;
hts1 = 542;
hte1 = 545;
hts2 = 0;
hte2 = 0;
hts3 = 0;
hte3 = 0;
hd1 = 1;
hd2 = 0;
hd3 = 0;
pos = true;
hf1 = 0;
hf2 = 0;
hf3 = 0;
hxs1 = 260;
hxe1 = 370;
hys1 = 160;
hye1 = 250;
hxs2 = 0;
hxe2 = 0;
hys2 = 0;
hye2 = 0;
hxs3 = 0;
hxe3 = 0;
hys3 = 0;
hye3 = 0;
bt = 0;
body_xs = 170;
body_xe = 290;
body_ys = 90;
body_ye = 390;
hs = -2;
}
break;
case 28:
if (_root.guy._currentframe < 239 || _root.guy._currentframe > 247) {
_root.guy.gotoAndPlay(239);
stab = 28;
guy_voice.stop();
guy_voice.attachSound('guy_hurt_1');
guy_voice.start(0, 1);
myz = 0;
fyz = 0;
pd = 0;
hts1 = 0;
hte1 = 0;
hts2 = 0;
hte2 = 0;
hts3 = 0;
hte3 = 0;
bt = 0;
body_xs = 150;
body_xe = 320;
body_ys = 130;
body_ye = 480;
}
break;
case 29:
if (_root.guy._currentframe < 248 || _root.guy._currentframe > 256) {
_root.guy.gotoAndPlay(248);
stab = 29;
guy_voice.stop();
guy_voice.attachSound('guy_hurt_1');
guy_voice.start(0, 1);
myz = 0;
fyz = 0;
pd = 0;
hts1 = 0;
hte1 = 0;
hts2 = 0;
hte2 = 0;
hts3 = 0;
hte3 = 0;
bt = 0;
body_xs = 150;
body_xe = 320;
body_ys = 130;
body_ye = 480;
}
break;
case 30:
if (_root.guy._currentframe < 257 || _root.guy._currentframe > 265) {
_root.guy.gotoAndPlay(257);
stab = 30;
guy_voice.stop();
guy_voice.attachSound('guy_hurt_2');
guy_voice.start(0, 1);
myz = 0;
fyz = 0;
pd = 0;
hts1 = 0;
hte1 = 0;
hts2 = 0;
hte2 = 0;
hts3 = 0;
hte3 = 0;
bt = 0;
body_xs = 150;
body_xe = 320;
body_ys = 130;
body_ye = 480;
}
break;
case 31:
if (_root.guy._currentframe < 266 || _root.guy._currentframe > 274) {
_root.guy.gotoAndPlay(266);
stab = 31;
guy_voice.stop();
guy_voice.attachSound('guy_hurt_2');
guy_voice.start(0, 1);
myz = 0;
fyz = 0;
pd = 0;
hts1 = 0;
hte1 = 0;
hts2 = 0;
hte2 = 0;
hts3 = 0;
hte3 = 0;
bt = 0;
body_xs = 150;
body_xe = 320;
body_ys = 130;
body_ye = 480;
}
break;
case 32:
if (_root.guy._currentframe < 365 || _root.guy._currentframe > 373) {
_root.guy.gotoAndPlay(365);
stab = 32;
myz = 0;
fyz = 0;
pd = 0;
hts1 = 0;
hte1 = 0;
hts2 = 0;
hte2 = 0;
hts3 = 0;
hte3 = 0;
bt = 0;
body_xs = 150;
body_xe = 320;
body_ys = 130;
body_ye = 480;
}
break;
case 33:
if (_root.guy._currentframe < 422 || _root.guy._currentframe > 430) {
_root.guy.gotoAndPlay(422);
guy_voice.stop();
guy_voice.attachSound('guy_hurt_1');
guy_voice.start(0, 1);
stab = 33;
myz = 0;
fyz = 0;
pd = 0;
hts1 = 0;
hte1 = 0;
hts2 = 0;
hte2 = 0;
hts3 = 0;
hte3 = 0;
bt = 0;
body_xs = 140;
body_xe = 270;
body_ys = 220;
body_ye = 480;
}
break;
case 34:
if (_root.guy._currentframe < 431 || _root.guy._currentframe > 439) {
_root.guy.gotoAndPlay(431);
guy_voice.stop();
guy_voice.attachSound('guy_hurt_2');
guy_voice.start(0, 1);
stab = 34;
myz = 0;
fyz = 0;
pd = 0;
hts1 = 0;
hte1 = 0;
hts2 = 0;
hte2 = 0;
hts3 = 0;
hte3 = 0;
bt = 0;
body_xs = 140;
body_xe = 270;
body_ys = 220;
body_ye = 480;
}
break;
case 35:
if (_root.guy._currentframe < 472 || _root.guy._currentframe > 480) {
_root.guy.gotoAndPlay(472);
stab = 35;
myz = 0;
fyz = 0;
pd = 0;
hts1 = 0;
hte1 = 0;
hts2 = 0;
hte2 = 0;
hts3 = 0;
hte3 = 0;
bt = 0;
body_xs = 140;
body_xe = 270;
body_ys = 220;
body_ye = 480;
}
break;
case 36:
if (_root.guy._currentframe < 687 || _root.guy._currentframe > 698) {
_root.guy.gotoAndPlay(687);
stab = 36;
myz = 0;
fyz = 0;
pd = 0;
hts1 = 0;
hte1 = 0;
hts2 = 0;
hte2 = 0;
hts3 = 0;
hte3 = 0;
bt = 0;
body_xs = 78;
body_xe = 380;
body_ys = 234;
body_ye = 400;
}
break;
case 37:
if (_root.guy._currentframe < 699 || _root.guy._currentframe > 707) {
_root.guy.gotoAndPlay(699);
stab = 37;
guy_voice.stop();
guy_voice.attachSound('guy_hurt_1');
guy_voice.start(0, 1);
myz = 0;
fyz = 0;
pd = 0;
hts1 = 0;
hte1 = 0;
hts2 = 0;
hte2 = 0;
hts3 = 0;
hte3 = 0;
bt = 0;
body_xs = 78;
body_xe = 380;
body_ys = 234;
body_ye = 400;
}
break;
case 38:
if (_root.guy._currentframe < 708 || _root.guy._currentframe > 723) {
_root.guy.gotoAndPlay(708);
stab = 38;
myz = 0;
fyz = 0;
pd = 0;
hts1 = 0;
hte1 = 0;
hts2 = 0;
hte2 = 0;
hts3 = 0;
hte3 = 0;
bt = 0;
body_xs = 70;
body_xe = 405;
body_ys = 386;
body_ye = 475;
}
break;
case 39:
if (_root.guy._currentframe < 724 || _root.guy._currentframe > 732) {
_root.guy.gotoAndPlay(724);
stab = 39;
guy_voice.stop();
guy_voice.attachSound('guy_hurt_1');
guy_voice.start(0, 1);
myz = 0;
fyz = 0;
pd = 0;
hts1 = 0;
hte1 = 0;
hts2 = 0;
hte2 = 0;
hts3 = 0;
hte3 = 0;
bt = 0;
body_xs = 70;
body_xe = 405;
body_ys = 386;
body_ye = 475;
}
break;
case 40:
if (_root.guy._currentframe < 733 || _root.guy._currentframe > 741) {
_root.guy.gotoAndPlay(733);
stab = 40;
guy_voice.stop();
guy_voice.attachSound('guy_hurt_2');
guy_voice.start(0, 1);
myz = 0;
fyz = 0;
pd = 0;
hts1 = 0;
hte1 = 0;
hts2 = 0;
hte2 = 0;
hts3 = 0;
hte3 = 0;
bt = 0;
body_xs = 70;
body_xe = 405;
body_ys = 386;
body_ye = 475;
}
break;
case 41:
if (_root.guy._currentframe < 742 || _root.guy._currentframe > 761) {
_root.guy.gotoAndPlay(742);
stab = 41;
guy_voice.stop();
guy_voice.attachSound('guy_kick');
guy_voice.start(0, 1);
yz = 22;
myz = 26;
fyz = 15;
pd = 0;
hts1 = 752;
hte1 = 756;
hts2 = 0;
hte2 = 0;
hts3 = 0;
hte3 = 0;
hd1 = 3;
hd2 = 0;
hd3 = 0;
pos = true;
hf1 = 4;
hf2 = 0;
hf3 = 0;
hxs1 = 215;
hxe1 = 422;
hys1 = 198;
hye1 = 422;
hxs2 = 0;
hxe2 = 0;
hys2 = 0;
hye2 = 0;
hxs3 = 0;
hxe3 = 0;
hys3 = 0;
hye3 = 0;
bt = 17;
body_xs = 84;
body_xe = 370;
body_ys = 198;
body_ye = 441;
hs = 5;
}
if (_root.guy._currentframe > 749) {
if (face_front == true) {
gx += 12;
} else {
gx -= 12;
}
}
break;
case 42:
if (_root.guy._currentframe < 771 || _root.guy._currentframe > 888) {
_root.guy.gotoAndPlay(771);
guy_voice.stop();
guy_voice.attachSound('guy_bisha');
guy_voice.start(0, 1);
stab = 42;
yz = 121;
myz = 30;
fyz = 3;
pd = 10;
hts1 = 806;
hte1 = 844;
hts2 = 850;
hte2 = 882;
hts3 = 0;
hte3 = 0;
hd1 = 1;
hd2 = 2;
hd3 = 0;
pos = true;
hf1 = 1;
hf2 = 2;
hf3 = 0;
hxs1 = 300;
hxe1 = 450;
hys1 = 160;
hye1 = 350;
hxs2 = 250;
hxe2 = 415;
hys2 = 160;
hye2 = 370;
hxs3 = 0;
hxe3 = 0;
hys3 = 0;
hye3 = 0;
bt = 20;
body_xs = 150;
body_xe = 370;
body_ys = 160;
body_ye = 470;
}
if (_root.guy._currentframe > 806) {
if (face_front == true) {
gx += 6;
} else {
gx -= 6;
}
hs = 5;
}
break;
case 43:
if (_root.guy._currentframe < 889 || _root.guy._currentframe > 901) {
_root.guy.gotoAndPlay(889);
guy_voice.stop();
guy_voice.attachSound('guy_faint');
guy_voice.start(0, 1);
stab = 43;
myz = 0;
fyz = 0;
pd = 0;
hts1 = 0;
hte1 = 0;
hts2 = 0;
hte2 = 0;
hts3 = 0;
hte3 = 0;
bt = 20;
body_xs = 150;
body_xe = 320;
body_ys = 135;
body_ye = 480;
}
break;
case 44:
if (_root.guy._currentframe < 902 || _root.guy._currentframe > 966) {
_root.guy.gotoAndPlay(902);
guy_voice.stop();
guy_voice.attachSound('guy_start');
guy_voice.start(0, 1);
}
break;
case 45:
if (_root.guy._currentframe < 967 || _root.guy._currentframe > 1107) {
_root.guy.gotoAndPlay(967);
guy_voice.stop();
guy_voice.attachSound('guy_laugh');
guy_voice.start(0, 1);
}
break;
case 46:
if (_root.guy._currentframe < 1108 || _root.guy._currentframe > 1129) {
_root.guy.gotoAndPlay(1108);
stab = 46;
guy_voice.stop();
guy_voice.attachSound('guy_rape');
guy_voice.start(0, 1);
yz = 15;
body_xs = 150;
body_xe = 340;
body_ys = 130;
body_ye = 480;
}
if (_root.guy._currentframe > 1109 && _root.guy._currentframe < 1117 && Math.abs(gx - sx) < 250 && g_lay == false && g_fly == false && s_bisha == false) {
_root.guy.gotoAndPlay(1120);
unti_sakura = true;
if (s_fly == true) {
gta = 56;
hf = 0;
s_fly = false;
sy = 326.4;
} else {
if (s_lay == true) {
gta = 55;
} else {
if (gta == 11 || gta == 12 || gta == 13 || gta == 22 || gta == 18 || gta == 17 || gta == 10 || gta == 33 || gta == 32 || gta == 16) {
gta = 53;
} else {
if (gta == 2 || gta == 3 || gta == 4 || gta == 5 || gta == 6 || gta == 7 || gta == 8 || gta == 9 || gta == 15 || gta == 19 || gta == 20 || gta == 21 || gta == 24) {
gta = 52;
} else {
if (double_kick > 10) {
gta = 54;
double_kick = 0;
} else {
if (m == 1) {
if (face_front == true) {
gta = 51;
} else {
gta = 50;
}
} else {
if (m == 2) {
if (face_front == true) {
gta = 50;
} else {
gta = 51;
}
} else {
gta = 49;
}
}
}
}
}
}
}
if (ssp > 0) {
ssp -= 20;
}
}
break;
case 47:
if (_root.guy._currentframe < 1130 || _root.guy._currentframe > 1150) {
_root.guy.gotoAndPlay(1130);
stab = 47;
guy_voice.stop();
guy_voice.attachSound('guy_rape');
guy_voice.start(0, 1);
yz = 15;
body_xs = 180;
body_xe = 290;
body_ys = 0;
body_ye = 260;
}
if (_root.guy._currentframe > 1133 && _root.guy._currentframe < 1139 && Math.abs(gx - sx) < 250 && s_bt == 0 && g_lay == false && g_fly == false && s_fly == false && s_lay == false && s_bisha == false) {
_root.guy.gotoAndPlay(1142);
unti_sakura = true;
gta = 57;
if (ssp > 0) {
ssp -= 20;
}
}
break;
case 48:
if (_root.guy._currentframe < 1151 || _root.guy._currentframe > 1171) {
_root.guy.gotoAndPlay(1151);
stab = 48;
guy_voice.stop();
guy_voice.attachSound('guy_rape');
guy_voice.start(0, 1);
yz = 15;
body_xs = 70;
body_xe = 405;
body_ys = 386;
body_ye = 475;
}
if (_root.guy._currentframe > 1154 && _root.guy._currentframe < 1160 && Math.abs(gx - sx) < 280 && g_fly == false && s_fly == false && s_lay == false && s_bisha == false) {
_root.guy.gotoAndPlay(1163);
unti_sakura = true;
gta = 60;
sx = gx;
if (ssp > 0) {
ssp -= 20;
}
}
break;
case 49:
if (_root.guy._currentframe < 1172 || _root.guy._currentframe > 1192) {
_root.guy.gotoAndPlay(1172);
stab = 49;
guy_voice.stop();
guy_voice.attachSound('guy_rape');
guy_voice.start(0, 1);
yz = 15;
body_xs = 190;
body_xe = 400;
body_ys = 250;
body_ye = 470;
}
if (_root.guy._currentframe > 1175 && _root.guy._currentframe < 1181 && Math.abs(gx - sx) < 280 && s_bt == 0 && g_lay == false && g_fly == false && s_fly == false && s_lay == false && s_bisha == false) {
_root.guy.gotoAndPlay(1184);
unti_sakura = true;
gta = 61;
if (ssp > 0) {
ssp -= 20;
}
}
break;
case 50:
if (_root.guy._currentframe < 1193 || _root.guy._currentframe > 1213) {
_root.guy.gotoAndPlay(1193);
stab = 50;
guy_voice.stop();
guy_voice.attachSound('guy_rape');
guy_voice.start(0, 1);
yz = 15;
body_xs = 140;
body_xe = 270;
body_ys = 220;
body_ye = 480;
}
if (_root.guy._currentframe > 1196 && _root.guy._currentframe < 1202 && Math.abs(gx - sx) < 270 && s_bt == 0 && g_lay == false && g_fly == false && s_bisha == false) {
_root.guy.gotoAndPlay(1205);
unti_sakura = true;
if (s_fly == true) {
gta = 56;
hf = 0;
s_fly = false;
sy = 326.4;
} else {
if (s_lay == true) {
gta = 59;
} else {
if (gta == 11 || gta == 12 || gta == 13 || gta == 17 || gta == 22 || gta == 18 || gta == 17 || gta == 10) {
gta = 53;
} else {
if (gta == 2 || gta == 3 || gta == 4 || gta == 5 || gta == 6 || gta == 7 || gta == 8 || gta == 9 || gta == 15 || gta == 19 || gta == 20 || gta == 21) {
gta = 52;
} else {
gta = 58;
}
}
}
}
if (ssp > 0) {
ssp -= 20;
}
}
}
'__________________________________________________________GUY___________________________________________________________________________________________________________';
});
// An attempt to read a value from empty stack
undefined[_root.guy] = 'onEnterFrame';
_root.combat_event2.onEnterFrame = function () {
if (pauseif == false) {
if (s_face_front == true) {
_root.sakura._xscale = 100;
_root.sakura._x = sx;
_root.sakura._y = sy;
_root.sakura_shadow._xscale = 100;
_root.sakura_shadow._x = sx;
_root.sakura_shadow._y = sy - 20;
_root.d_hair._xscale = 100;
_root.d_hair._x = sx;
_root.d_hair._y = sy;
_root.d_shoe._xscale = 100;
_root.d_shoe._x = sx;
_root.d_shoe._y = sy;
_root.d_panty._xscale = 100;
_root.d_panty._x = sx;
_root.d_panty._y = sy;
_root.d_body._xscale = 100;
_root.d_body._x = sx;
_root.d_body._y = sy;
_root.d_up._xscale = 100;
_root.d_up._x = sx;
_root.d_up._y = sy;
_root.d_low._xscale = 100;
_root.d_low._x = sx;
_root.d_low._y = sy;
_root.d_prop._xscale = 100;
_root.d_prop._x = sx;
_root.d_prop._y = sy;
_root.d_jy._xscale = 100;
_root.d_jy._x = sx;
_root.d_jy._y = sy;
_root.mask1._xscale = 100;
_root.mask1._x = sx;
_root.mask1._y = sy;
_root.mask2._xscale = 100;
_root.mask2._x = sx;
_root.mask2._y = sy;
if (gta == 14) {
if (s_m == 1) {
sx -= 12;
} else {
if (s_m == 2) {
sx += 7;
}
}
}
} else {
_root.sakura._xscale = -100;
_root.sakura._x = sx + 400;
_root.sakura._y = sy;
_root.sakura_shadow._xscale = -100;
_root.sakura_shadow._x = sx + 400;
_root.sakura_shadow._y = sy - 20;
_root.d_hair._xscale = -100;
_root.d_hair._x = sx + 400;
_root.d_hair._y = sy;
_root.d_shoe._xscale = -100;
_root.d_shoe._x = sx + 400;
_root.d_shoe._y = sy;
_root.d_panty._xscale = -100;
_root.d_panty._x = sx + 400;
_root.d_panty._y = sy;
_root.d_body._xscale = -100;
_root.d_body._x = sx + 400;
_root.d_body._y = sy;
_root.d_up._xscale = -100;
_root.d_up._x = sx + 400;
_root.d_up._y = sy;
_root.d_low._xscale = -100;
_root.d_low._x = sx + 400;
_root.d_low._y = sy;
_root.d_prop._xscale = -100;
_root.d_prop._x = sx + 400;
_root.d_prop._y = sy;
_root.d_jy._xscale = -100;
_root.d_jy._x = sx + 400;
_root.d_jy._y = sy;
_root.mask1._xscale = -100;
_root.mask1._x = sx + 400;
_root.mask1._y = sy;
_root.mask2._xscale = -100;
_root.mask2._x = sx + 400;
_root.mask2._y = sy;
if (gta == 14) {
if (s_m == 1) {
sx += 12;
} else {
if (s_m == 2) {
sx -= 7;
}
}
}
}
'__________________________________________________________Memory__________________________________________________________________________________________________________';
clean_mem += 1;
if (clean_mem > 500) {
clean_mem = 0;
_root.d_jy._xscale = 100;
_root.d_jy._x = sx;
_root.d_hair._xscale = 100;
_root.d_hair._x = sx;
_root.d_shoe._xscale = 100;
_root.d_shoe._x = sx;
_root.d_panty._xscale = 100;
_root.d_panty._x = sx;
_root.d_body._xscale = 100;
_root.d_body._x = sx;
_root.d_up._xscale = 100;
_root.d_up._x = sx;
_root.d_low._xscale = 100;
_root.d_low._x = sx;
_root.d_prop._xscale = 100;
_root.d_prop._x = sx;
_root.mask1._xscale = 100;
_root.mask1._x = sx;
_root.mask2._xscale = 100;
_root.mask2._x = sx;
loadMovie('', _root.d_hair);
loadMovie('', _root.d_shoe);
loadMovie('', _root.d_panty);
loadMovie('', _root.d_body);
loadMovie('', _root.d_up);
loadMovie('', _root.d_low);
loadMovie('', _root.d_prop);
loadMovie('', _root.mask1);
loadMovie('', _root.mask2);
loadMovie('', _root.d_jy);
loadMovie('data/j1.swf', _root.d_jy);
loadMovie('data/h_' + sel_hair + '.swf', _root.d_hair);
loadMovie('data/s_' + sel_shoe + '.swf', _root.d_shoe);
if (dl_panty == 0) {
loadMovie('data/p_' + sel_panty + '.swf', _root.d_panty);
} else {
if (dl_panty == 1) {
loadMovie('data/p_d_' + sel_panty + '.swf', _root.d_panty);
}
}
loadMovie('data/b_' + sel_body + '.swf', _root.d_body);
if (dl_up == 0) {
loadMovie('data/u_' + sel_up + '.swf', _root.d_up);
} else {
if (dl_up == 1) {
loadMovie('data/u_d_' + sel_up + '.swf', _root.d_up);
}
}
if (dl_low == 0) {
loadMovie('data/low_' + sel_low + '.swf', _root.d_low);
} else {
if (dl_low == 1) {
loadMovie('data/low_d_' + sel_low + '.swf', _root.d_low);
}
}
loadMovie('data/a_' + sel_prop + '.swf', _root.d_prop);
loadMovie('data/mask1.swf', _root.mask1);
loadMovie('data/mask2.swf', _root.mask2);
}
'__________________________________________________________COMBAT___________________________________________________________________________________________________________';
if (_root.guy._currentframe > hts1 && _root.guy._currentframe < hte1 && hit_rate == 0) {
ay1 = gy + hys1;
ay2 = gy + hye1;
by1 = sy + s_body_ys;
by2 = sy + s_body_ye;
_root.boom._xscale = 100 + hd1 * 20;
_root.boom._yscale = 100 + hd1 * 20;
_root.boom._alpha = hd1 * 20;
if (face_front == true) {
bx1 = sx + s_body_xs;
bx2 = sx + s_body_xe;
ax1 = gx + hxs1;
ax2 = gx + hxe1;
_root.blood._x = ax2 - 80 - hd1 * 10;
_root.blood._y = ay2 - 140 - hd1 * 10;
_root.eff_fang._x = ax2 - 80 - hd1 * 10;
_root.eff_fang._y = ay2 - 140 - hd1 * 10;
_root.boom._x = ax2 - 80 - hd1 * 10 + (20 - Math.random(1) * 30);
_root.boom._y = ay2 - 140 - hd1 * 10 + (20 - Math.random(1) * 30);
} else {
bx1 = sx + (400 - s_body_xe);
bx2 = sx + (400 - s_body_xs);
ax1 = gx + (500 - hxe1);
ax2 = gx + (500 - hxs1);
_root.blood._x = ax1 - 80 - hd1 * 10;
_root.blood._y = ay2 - 140 - hd1 * 10;
_root.eff_fang._x = ax1 - 80 - hd1 * 10;
_root.eff_fang._y = ay2 - 140 - hd1 * 10;
_root.boom._x = ax1 - 80 - hd1 * 10 + (20 - Math.random(1) * 30);
_root.boom._y = ay2 - 140 - hd1 * 10 + (20 - Math.random(1) * 30);
}
if (bx2 - ax1 < bx2 - bx1 + ax2 - ax1 && bx2 - ax1 > 0 && by2 - ay1 < by2 - by1 + ay2 - ay1 && by2 - ay1 > 0 && s_bt == 0) {
unti_sakura = true;
gsp += hd1 / 2;
ssp += hd1;
eff_sound.stop();
tem_eff = String(Math.round(Math.random(1) * 4 + 1));
eff_sound.attachSound('eff_hit' + tem_eff);
eff_sound.start(0, 1);
if (sta == 27) {
if (dl_up < 2) {
_root.eff_drag.gotoAndPlay(2);
_root.eff_drag._y = sy + 50;
if (face_front == true) {
_root.eff_drag._xscale = 100;
_root.eff_drag._x = sx + 30;
} else {
_root.eff_drag._xscale = -100;
_root.eff_drag._x = sx + 340;
}
eff_sound.stop();
eff_sound.attachSound('eff_rip');
eff_sound.start(0, 1);
}
if (dl_up == 0) {
loadMovie('', _root.d_up);
if (s_face_front == false) {
_root.d_up._xscale = 100;
_root.d_up._x = sx;
}
loadMovie('data/u_d_' + sel_up + '.swf', _root.d_up);
dl_up = 1;
} else {
loadMovie('', _root.d_up);
dl_up = 2;
}
}
if (sta == 26) {
if (dl_panty < 2) {
_root.eff_drag.gotoAndPlay(2);
_root.eff_drag._y = sy + 170;
if (face_front == true) {
_root.eff_drag._xscale = 100;
_root.eff_drag._x = sx + 30;
} else {
_root.eff_drag._xscale = -100;
_root.eff_drag._x = sx + 340;
}
eff_sound.stop();
eff_sound.attachSound('eff_rip');
eff_sound.start(0, 1);
}
if (dl_panty == 0) {
loadMovie('', _root.d_panty);
if (s_face_front == false) {
_root.d_panty._xscale = 100;
_root.d_panty._x = sx;
}
loadMovie('data/p_d_' + sel_panty + '.swf', _root.d_panty);
dl_panty = 1;
} else {
loadMovie('', _root.d_panty);
dl_panty = 2;
}
}
if (sta == 25) {
if (dl_low < 2) {
eff_sound.stop();
eff_sound.attachSound('eff_rip');
eff_sound.start(0, 1);
_root.eff_drag.gotoAndPlay(2);
_root.eff_drag._y = sy + 120;
if (face_front == true) {
_root.eff_drag._xscale = 100;
_root.eff_drag._x = sx + 30;
} else {
_root.eff_drag._xscale = -100;
_root.eff_drag._x = sx + 340;
}
}
if (dl_low == 0) {
loadMovie('', _root.d_low);
if (s_face_front == false) {
_root.d_low._xscale = 100;
_root.d_low._x = sx;
}
loadMovie('data/low_d_' + sel_low + '.swf', _root.d_low);
dl_low = 1;
} else {
loadMovie('', _root.d_low);
dl_low = 2;
}
}
if (_root.boom._currentframe > 5 || _root.boom._currentframe == 1) {
_root.boom.gotoAndPlay(2);
}
if (pos == true) {
if (gta == 2 || gta == 3 || gta == 4 || gta == 5 || gta == 6 || gta == 7 || gta == 8) {
if (hd1 > 2) {
gta = 6;
} else {
gta = 5;
}
hf += hf1;
shp -= hd1;
hit_rate = 4;
s_yz += myz;
s_hurt += myz;
if (_root.blood._currentframe > 5 || _root.blood._currentframe == 1) {
_root.blood.gotoAndPlay(2);
}
} else {
if (gta == 11 || gta == 12 || gta == 16 || gta == 21 || gta == 22) {
hf = 10 + hf1;
gta = 40;
shp -= hd1;
hit_rate = 4;
s_yz += myz;
s_hurt += myz;
if (_root.blood._currentframe > 5 || _root.blood._currentframe == 1) {
_root.blood.gotoAndPlay(2);
}
} else {
if (gta == 40 || gta == 41) {
gta = 41;
hf += hf1 * 5;
shp -= hd1;
hit_rate = 4;
s_yz += myz;
s_hurt += myz;
if (_root.blood._currentframe > 5 || _root.blood._currentframe == 1) {
_root.blood.gotoAndPlay(2);
}
} else {
if (gta == 42 || gta == 43 || gta == 44) {
if (hd1 > 2) {
gta = 44;
} else {
gta = 43;
}
shp -= hd1;
hit_rate = 4;
s_yz += myz;
s_hurt += myz;
if (_root.blood._currentframe > 5 || _root.blood._currentframe == 1) {
_root.blood.gotoAndPlay(2);
}
} else {
if (gta == 38 || gta == 39) {
gta = 39;
hit_rate = 4;
s_yz += fyz;
suc_fy = s_yz + 10;
if (_root.eff_fang._currentframe > 5 || _root.eff_fang._currentframe == 1) {
_root.eff_fang.gotoAndPlay(2);
}
} else {
if (hd1 > 2) {
gta = 27;
} else {
gta = 25;
}
hf += hf1;
shp -= hd1;
hit_rate = 4;
s_yz += myz;
s_hurt += myz;
if (_root.blood._currentframe > 5 || _root.blood._currentframe == 1) {
_root.blood.gotoAndPlay(2);
}
}
}
}
}
}
}
if (pos == false) {
if (gta == 2 || gta == 3 || gta == 4 || gta == 5 || gta == 6) {
if (hd1 > 2) {
gta = 6;
} else {
gta = 5;
}
hf += hf1;
shp -= hd1;
hit_rate = 4;
s_yz += myz;
s_hurt += myz;
if (_root.blood._currentframe > 5 || _root.blood._currentframe == 1) {
_root.blood.gotoAndPlay(2);
}
} else {
if (gta == 11 || gta == 12 || gta == 16 || gta == 21 || gta == 22) {
hf = 10 + hf1;
gta = 40;
shp -= hd1;
hit_rate = 4;
s_yz += myz;
s_hurt += myz;
if (_root.blood._currentframe > 5 || _root.blood._currentframe == 1) {
_root.blood.gotoAndPlay(2);
}
} else {
if (gta == 40 || gta == 41) {
gta = 41;
hf += hf1 * 5;
shp -= hd1;
hit_rate = 4;
s_yz += myz;
s_hurt += myz;
if (_root.blood._currentframe > 5 || _root.blood._currentframe == 1) {
_root.blood.gotoAndPlay(2);
}
} else {
if (gta == 42 || gta == 43 || gta == 44) {
if (hd1 > 2) {
gta = 44;
} else {
gta = 43;
}
shp -= hd1;
hit_rate = 4;
s_yz += myz;
s_hurt += myz;
if (_root.blood._currentframe > 5 || _root.blood._currentframe == 1) {
_root.blood.gotoAndPlay(2);
}
} else {
if (gta == 7 || gta == 8) {
gta = 8;
hit_rate = 4;
s_yz += fyz;
suc_fy = s_yz + 10;
if (_root.eff_fang._currentframe > 5 || _root.eff_fang._currentframe == 1) {
_root.eff_fang.gotoAndPlay(2);
}
} else {
if (hd1 > 2) {
gta = 28;
} else {
gta = 26;
}
hf += hf1;
shp -= hd1;
hit_rate = 4;
s_yz += myz;
s_hurt += myz;
if (_root.blood._currentframe > 5 || _root.blood._currentframe == 1) {
_root.blood.gotoAndPlay(2);
}
}
}
}
}
}
}
}
}
if (_root.guy._currentframe > hts2 && _root.guy._currentframe < hte2 && hit_rate == 0 && s_bt == 0) {
_root.boom._xscale = 100 + hd2 * 20;
_root.boom._yscale = 100 + hd2 * 20;
_root.boom._alpha = hd2 * 20;
if (face_front == true) {
bx1 = sx + s_body_xs;
bx2 = sx + s_body_xe;
ax1 = gx + hxs2;
ax2 = gx + hxe2;
_root.blood._x = ax2 - 80 - hd2 * 10;
_root.blood._y = ay2 - 140 - hd2 * 10;
_root.eff_fang._x = ax2 - 80 - hd2 * 10;
_root.eff_fang._y = ay2 - 140 - hd2 * 10;
_root.boom._x = ax2 - 80 - hd2 * 10 + (20 - Math.random(1) * 30);
_root.boom._y = ay2 - 140 - hd2 * 10 + (20 - Math.random(1) * 30);
} else {
bx1 = sx + (400 - s_body_xe);
bx2 = sx + (400 - s_body_xs);
ax1 = gx + (500 - hxe2);
ax2 = gx + (500 - hxs2);
_root.blood._x = ax1 - 80 - hd2 * 10;
_root.blood._y = ay2 - 140 - hd2 * 10;
_root.eff_fang._x = ax1 - 80 - hd2 * 10;
_root.eff_fang._y = ay2 - 140 - hd2 * 10;
_root.boom._x = ax1 - 80 - hd2 * 10 + (20 - Math.random(1) * 30);
_root.boom._y = ay2 - 140 - hd2 * 10 + (20 - Math.random(1) * 30);
}
ay1 = gy + hys2;
ay2 = gy + hye2;
by1 = sy + s_body_ys;
by2 = sy + s_body_ye;
if (bx2 - ax1 < bx2 - bx1 + ax2 - ax1 && bx2 - ax1 > 0 && by2 - ay1 < by2 - by1 + ay2 - ay1 && by2 - ay1 > 0) {
unti_sakura = true;
gsp += hd2 / 2;
ssp += hd2;
eff_sound.stop();
tem_eff = String(Math.round(Math.random(1) * 4 + 1));
eff_sound.attachSound('eff_hit' + tem_eff);
eff_sound.start(0, 1);
if (_root.boom._currentframe > 5 || _root.boom._currentframe == 1) {
_root.boom.gotoAndPlay(2);
}
if (pos == true) {
if (gta == 2 || gta == 3 || gta == 4 || gta == 5 || gta == 6 || gta == 7 || gta == 8) {
if (hd2 > 2) {
gta = 6;
} else {
gta = 5;
}
hf += hf2;
shp -= hd2;
hit_rate = 4;
s_yz += myz;
s_hurt += myz;
if (_root.blood._currentframe > 5 || _root.blood._currentframe == 1) {
_root.blood.gotoAndPlay(2);
}
} else {
if (gta == 11 || gta == 12 || gta == 16 || gta == 21 || gta == 22) {
hf = 10 + hf2;
gta = 40;
shp -= hd2;
hit_rate = 4;
s_yz += myz;
s_hurt += myz;
if (_root.blood._currentframe > 5 || _root.blood._currentframe == 1) {
_root.blood.gotoAndPlay(2);
}
} else {
if (gta == 40 || gta == 41) {
gta = 41;
hf += hf2 * 5;
shp -= hd2;
hit_rate = 4;
s_yz += myz;
s_hurt += myz;
if (_root.blood._currentframe > 5 || _root.blood._currentframe == 1) {
_root.blood.gotoAndPlay(2);
}
} else {
if (gta == 42 || gta == 43 || gta == 44) {
if (hd2 > 2) {
gta = 44;
} else {
gta = 43;
}
shp -= hd2;
hit_rate = 4;
s_yz += myz;
s_hurt += myz;
if (_root.blood._currentframe > 5 || _root.blood._currentframe == 1) {
_root.blood.gotoAndPlay(2);
}
} else {
if (gta == 38 || gta == 39) {
gta = 39;
hit_rate = 4;
s_yz += fyz;
suc_fy = s_yz + 10;
if (_root.eff_fang._currentframe > 5 || _root.eff_fang._currentframe == 1) {
_root.eff_fang.gotoAndPlay(2);
}
} else {
if (hd2 > 2) {
gta = 27;
} else {
gta = 25;
}
hf += hf2;
shp -= hd2;
hit_rate = 4;
s_yz += myz;
s_hurt += myz;
if (_root.blood._currentframe > 5 || _root.blood._currentframe == 1) {
_root.blood.gotoAndPlay(2);
}
}
}
}
}
}
}
if (pos == false) {
if (gta == 2 || gta == 3 || gta == 4 || gta == 5 || gta == 6) {
if (hd2 > 2) {
gta = 6;
} else {
gta = 5;
}
hf += hf2;
shp -= hd2;
hit_rate = 4;
s_yz += myz;
s_hurt += myz;
if (_root.blood._currentframe > 5 || _root.blood._currentframe == 1) {
_root.blood.gotoAndPlay(2);
}
} else {
if (gta == 11 || gta == 12 || gta == 16 || gta == 21 || gta == 22) {
hf = 10 + hf2;
gta = 40;
do {
shp -= hd2;
hit_rate = 4;
s_yz += myz;
s_hurt += myz;
if (_root.blood._currentframe > 5 || _root.blood._currentframe == 1) {
_root.blood.gotoAndPlay(2);
}
} else {
if (gta == 40 || gta == 41) {
gta = 41;
hf += hf2 * 5;
shp -= hd2;
hit_rate = 4;
s_yz += myz;
s_hurt += myz;
if (_root.blood._currentframe > 5 || _root.blood._currentframe == 1) {
_root.blood.gotoAndPlay(2);
}
} else {
if (gta == 42 || gta == 43 || gta == 44) {
if (hd2 > 2) {
gta = 44;
} else {
gta = 43;
}
shp -= hd2;
hit_rate = 4;
s_yz += myz;
s_hurt += myz;
if (_root.blood._currentframe > 5 || _root.blood._currentframe == 1) {
_root.blood.gotoAndPlay(2);
}
} else {
if (gta == 7 || gta == 8) {
gta = 8;
hit_rate = 4;
s_yz += fyz;
suc_fy = s_yz + 10;
if (_root.eff_fang._currentframe > 5 || _root.eff_fang._currentframe == 1) {
_root.eff_fang.gotoAndPlay(2);
}
} else {
if (hd2 > 2) {
gta = 28;
} else {
gta = 26;
}
hf += hf2;
shp -= hd2;
hit_rate = 4;
s_yz += myz;
s_hurt += myz;
if (_root.blood._currentframe > 5 || _root.blood._currentframe == 1) {
_root.blood.gotoAndPlay(2);
}
}
}
}
if (_root.guy._currentframe > hts3 && _root.guy._currentframe < hte3 && hit_rate == 0 && s_bt == 0) {
_root.boom._xscale = 100 + hd3 * 20;
_root.boom._yscale = 100 + hd3 * 20;
_root.boom._alpha = hd3 * 20;
if (face_front == true) {
bx1 = sx + s_body_xs;
bx2 = sx + s_body_xe;
ax1 = gx + hxs3;
ax2 = gx + hxe3;
_root.blood._x = ax2 - 80 - hd3 * 10;
_root.blood._y = ay2 - 140 - hd3 * 10;
_root.eff_fang._x = ax2 - 80 - hd3 * 10;
_root.eff_fang._y = ay2 - 140 - hd3 * 10;
_root.boom._x = ax2 - 80 - hd3 * 10 + (20 - Math.random(1) * 30);
_root.boom._y = ay2 - 140 - hd3 * 10 + (20 - Math.random(1) * 30);
} else {
bx1 = sx + (400 - s_body_xe);
bx2 = sx + (400 - s_body_xs);
ax1 = gx + (500 - hxe3);
ax2 = gx + (500 - hxs3);
_root.blood._x = ax1 - 80 - hd3 * 10;
_root.blood._y = ay2 - 140 - hd3 * 10;
_root.eff_fang._x = ax1 - 80 - hd3 * 10;
_root.eff_fang._y = ay2 - 140 - hd3 * 10;
_root.boom._x = ax1 - 80 - hd3 * 10 + (20 - Math.random(1) * 30);
_root.boom._y = ay2 - 140 - hd3 * 10 + (20 - Math.random(1) * 30);
}
ay1 = gy + hys3;
ay2 = gy + hye3;
by1 = sy + s_body_ys;
by2 = sy + s_body_ye;
_root.rect1._x = ax1;
_root.rect1._y = ay1;
_root.rect1._width = ax2 - ax1;
_root.rect1._height = ay2 - ay1;
_root.rect2._x = bx1;
_root.rect2._y = by1;
_root.rect2._width = bx2 - bx1;
_root.rect2._height = by2 - by1;
if (bx2 - ax1 < bx2 - bx1 + ax2 - ax1 && bx2 - ax1 > 0 && by2 - ay1 < by2 - by1 + ay2 - ay1 && by2 - ay1 > 0) {
unti_sakura = true;
gsp += hd3 / 2;
ssp += hd3;
eff_sound.stop();
tem_eff = String(Math.round(Math.random(1) * 4 + 1));
eff_sound.attachSound('eff_hit' + tem_eff);
eff_sound.start(0, 1);
if (sta == 18) {
_root.d_jy._alpha = 100;
}
if (_root.boom._currentframe > 5 || _root.boom._currentframe == 1) {
_root.boom.gotoAndPlay(2);
}
if (pos == true) {
if (gta == 2 || gta == 3 || gta == 4 || gta == 5 || gta == 6 || gta == 7 || gta == 8) {
if (hd3 > 2) {
gta = 6;
} else {
gta = 5;
}
hf += hf3;
shp -= hd3;
hit_rate = 4;
s_yz += myz;
s_hurt += myz;
if (_root.blood._currentframe > 5 || _root.blood._currentframe == 1) {
_root.blood.gotoAndPlay(2);
}
} else {
if (gta == 11 || gta == 12 || gta == 16 || gta == 21 || gta == 22) {
hf = 10 + hf3;
gta = 40;
shp -= hd3;
hit_rate = 4;
s_yz += myz;
s_hurt += myz;
if (_root.blood._currentframe > 5 || _root.blood._currentframe == 1) {
_root.blood.gotoAndPlay(2);
}
} else {
if (gta == 40 || gta == 41) {
gta = 41;
hf += hf3 * 5;
shp -= hd3;
hit_rate = 4;
s_yz += myz;
s_hurt += myz;
if (_root.blood._currentframe > 5 || _root.blood._currentframe == 1) {
_root.blood.gotoAndPlay(2);
}
} else {
if (gta == 42 || gta == 43 || gta == 44) {
if (hd3 > 2) {
gta = 44;
} else {
gta = 43;
}
shp -= hd3;
hit_rate = 4;
s_yz += myz;
s_hurt += myz;
if (_root.blood._currentframe > 5 || _root.blood._currentframe == 1) {
_root.blood.gotoAndPlay(2);
}
} else {
if (gta == 38 || gta == 39) {
gta = 39;
hit_rate = 4;
s_yz += fyz;
suc_fy = s_yz + 10;
if (_root.eff_fang._currentframe > 5 || _root.eff_fang._currentframe == 1) {
_root.eff_fang.gotoAndPlay(2);
}
} else {
if (hd3 > 2) {
gta = 27;
} else {
gta = 25;
}
hf += hf3;
shp -= hd3;
hit_rate = 4;
s_yz += myz;
s_hurt += myz;
if (_root.blood._currentframe > 5 || _root.blood._currentframe == 1) {
_root.blood.gotoAndPlay(2);
}
}
}
}
}
}
}
if (pos == false) {
if (gta == 2 || gta == 3 || gta == 4 || gta == 5 || gta == 6) {
if (hd3 > 2) {
gta = 6;
} else {
gta = 5;
}
hf += hf3;
shp -= hd3;
hit_rate = 4;
s_yz += myz;
s_hurt += myz;
if (_root.blood._currentframe > 5 || _root.blood._currentframe == 1) {
_root.blood.gotoAndPlay(2);
}
} else {
if (gta == 11 || gta == 12 || gta == 16 || gta == 21 || gta == 22) {
hf = 10 + hf3;
gta = 40;
shp -= hd3;
hit_rate = 4;
s_yz += myz;
s_hurt += myz;
if (_root.blood._currentframe > 5 || _root.blood._currentframe == 1) {
_root.blood.gotoAndPlay(2);
}
} else {
if (gta == 40 || gta == 41) {
gta = 41;
hf += hf3 * 5;
shp -= hd3;
hit_rate = 4;
s_yz += myz;
s_hurt += myz;
if (_root.blood._currentframe > 5 || _root.blood._currentframe == 1) {
_root.blood.gotoAndPlay(2);
}
} else {
if (gta == 42 || gta == 43 || gta == 44) {
if (hd3 > 2) {
gta = 44;
} else {
gta = 43;
}
shp -= hd3;
hit_rate = 4;
s_yz += myz;
s_hurt += myz;
if (_root.blood._currentframe > 5 || _root.blood._currentframe == 1) {
_root.blood.gotoAndPlay(2);
}
} else {
if (gta == 7 || gta == 8) {
gta = 8;
hit_rate = 4;
s_yz += fyz;
suc_fy = s_yz + 10;
if (_root.eff_fang._currentframe > 5 || _root.eff_fang._currentframe == 1) {
_root.eff_fang.gotoAndPlay(2);
}
} else {
if (hd3 > 2) {
gta = 28;
} else {
gta = 26;
}
hf += hf3;
shp -= hd3;
hit_rate = 4;
s_yz += myz;
s_hurt += myz;
if (_root.blood._currentframe > 5 || _root.blood._currentframe == 1) {
_root.blood.gotoAndPlay(2);
}
}
}
}
}
}
}
}
}
'__________________________________________________________COMBAT___________________________________________________________________________________________________________';
// An attempt to read a value from empty stack
// An attempt to read a value from empty stack
// An attempt to read a value from empty stack
undefined[undefined] = undefined;
_root.combat_event.onEnterFrame = function () {
if (pauseif == false) {
'__________________________________________________________COMBAT___________________________________________________________________________________________________________';
if (_root.sakura._currentframe > s_hts1 && _root.sakura._currentframe < s_hte1 && s_hit_rate == 0) {
ay1 = sy + s_hys1;
ay2 = sy + s_hye1;
by1 = gy + body_ys;
by2 = gy + body_ye;
_root.boom2._xscale = 100 + s_hd1 * 20;
_root.boom2._yscale = 100 + s_hd1 * 20;
_root.boom2._alpha = s_hd1 * 20;
if (s_face_front == true) {
bx1 = gx + body_xs;
bx2 = gx + body_xe;
ax1 = sx + s_hxs1;
ax2 = sx + s_hxe1;
_root.blood._x = ax1 - 50 - s_hd1 * 10;
_root.blood._y = ay2 - 140 - s_hd1 * 10;
_root.eff_fang._x = ax1 - 50 - s_hd1 * 10;
_root.eff_fang._y = ay2 - 140 - s_hd1 * 10;
_root.boom2._x = ax1 - 50 - s_hd1 * 10 + (20 - Math.random(1) * 30);
_root.boom2._y = ay2 - 140 - s_hd1 * 10 + (20 - Math.random(1) * 30);
} else {
bx1 = gx + (500 - body_xe);
bx2 = gx + (500 - body_xs);
ax1 = sx + (400 - s_hxe1);
ax2 = sx + (400 - s_hxs1);
_root.blood._x = ax2 - 50 - s_hd1 * 10;
_root.blood._y = ay2 - 140 - s_hd1 * 10;
_root.eff_fang._x = ax2 - 50 - s_hd1 * 10;
_root.eff_fang._y = ay2 - 140 - s_hd1 * 10;
_root.boom2._x = ax2 - 50 - s_hd1 * 10 + (20 - Math.random(1) * 30);
_root.boom2._y = ay2 - 140 - s_hd1 * 10 + (20 - Math.random(1) * 30);
}
if (bx2 - ax1 < bx2 - bx1 + ax2 - ax1 && bx2 - ax1 > 0 && by2 - ay1 < by2 - by1 + ay2 - ay1 && by2 - ay1 > 0 && bt == 0) {
baction = true;
gsp += s_hd1;
ssp += s_hd1 / 2;
eff_sound.stop();
tem_eff = String(Math.round(Math.random(1) * 4 + 1));
eff_sound.attachSound('eff_hit' + tem_eff);
eff_sound.start(0, 1);
if (_root.boom2._currentframe > 5 || _root.boom2._currentframe == 1) {
_root.boom2.gotoAndPlay(2);
}
if (s_pos == true) {
if (sta == 4 || sta == 9 || sta == 10 || sta == 33 || sta == 34 || sta == 6 || sta == 35) {
if (s_hd1 > 2) {
sta = 34;
} else {
sta = 33;
}
s_hf += s_hf1;
ghp -= s_hd1;
s_hit_rate = 4;
yz += s_myz;
hurt += s_myz;
if (_root.blood._currentframe > 5 || _root.blood._currentframe == 1) {
_root.blood.gotoAndPlay(2);
}
} else {
if (sta == 3 || sta == 12 || sta == 11 || sta == 27 || sta == 22) {
s_hf = 10 + s_hf1;
sta = 36;
ghp -= s_hd1;
s_hit_rate = 4;
yz += s_myz;
hurt += s_myz;
if (_root.blood._currentframe > 5 || _root.blood._currentframe == 1) {
_root.blood.gotoAndPlay(2);
}
} else {
if (sta == 36 || sta == 37) {
sta = 37;
s_hf += s_hf1 * 5;
ghp -= s_hd1;
s_hit_rate = 4;
yz += s_myz;
hurt += s_myz;
if (_root.blood._currentframe > 5 || _root.blood._currentframe == 1) {
_root.blood.gotoAndPlay(2);
}
} else {
if (sta == 38 || sta == 39 || sta == 40) {
if (s_hd1 > 2) {
sta = 40;
} else {
sta = 39;
}
ghp -= s_hd1;
s_hit_rate = 4;
yz += s_myz;
hurt += s_myz;
if (_root.blood._currentframe > 5 || _root.blood._currentframe == 1) {
_root.blood.gotoAndPlay(2);
}
} else {
if (sta == 5 || sta == 32) {
sta = 32;
s_hit_rate = 4;
yz += s_fyz;
if (_root.eff_fang._currentframe > 5 || _root.eff_fang._currentframe == 1) {
_root.eff_fang.gotoAndPlay(2);
}
} else {
if (s_hd1 > 2) {
sta = 30;
} else {
sta = 28;
}
s_hf += s_hf1;
ghp -= s_hd1;
s_hit_rate = 4;
yz += s_myz;
hurt += s_myz;
if (_root.blood._currentframe > 5 || _root.blood._currentframe == 1) {
_root.blood.gotoAndPlay(2);
}
}
}
}
}
}
}
if (s_pos == false) {
if (sta == 4 || sta == 9 || sta == 10 || sta == 33 || sta == 34) {
if (s_hd1 > 2) {
sta = 34;
} else {
sta = 33;
}
s_hf += s_hf1;
ghp -= s_hd1;
s_hit_rate = 4;
yz += s_myz;
hurt += s_myz;
if (_root.blood._currentframe > 5 || _root.blood._currentframe == 1) {
_root.blood.gotoAndPlay(2);
}
} else {
if (sta == 3 || sta == 12 || sta == 11 || sta == 27 || sta == 22) {
s_hf = 10 + s_hf1;
sta = 36;
ghp -= s_hd1;
s_hit_rate = 4;
yz += s_myz;
hurt += s_myz;
if (_root.blood._currentframe > 5 || _root.blood._currentframe == 1) {
_root.blood.gotoAndPlay(2);
}
} else {
if (sta == 36 || sta == 37) {
sta = 37;
s_hf += s_hf1 * 5;
ghp -= s_hd1;
s_hit_rate = 4;
yz += s_myz;
hurt += s_myz;
if (_root.blood._currentframe > 5 || _root.blood._currentframe == 1) {
_root.blood.gotoAndPlay(2);
}
} else {
if (sta == 38 || sta == 39 || sta == 40) {
if (s_hd1 > 2) {
sta = 40;
} else {
sta = 39;
}
ghp -= s_hd1;
s_hit_rate = 4;
yz += s_myz;
hurt += s_myz;
if (_root.blood._currentframe > 5 || _root.blood._currentframe == 1) {
_root.blood.gotoAndPlay(2);
}
} else {
if (sta == 6 || sta == 35) {
sta = 35;
s_hit_rate = 4;
yz += s_fyz;
if (_root.eff_fang._currentframe > 5 || _root.eff_fang._currentframe == 1) {
_root.eff_fang.gotoAndPlay(2);
}
} else {
if (s_hd1 > 2) {
sta = 31;
} else {
sta = 29;
}
s_hf += s_hf1;
ghp -= s_hd1;
s_hit_rate = 4;
yz += s_myz;
hurt += s_myz;
if (_root.blood._currentframe > 5 || _root.blood._currentframe == 1) {
_root.blood.gotoAndPlay(2);
}
}
}
}
}
}
}
}
}
if (_root.sakura._currentframe > s_hts2 && _root.sakura._currentframe < s_hte2 && s_hit_rate == 0) {
ay1 = sy + s_hys2;
ay2 = sy + s_hye2;
by1 = gy + body_ys;
by2 = gy + body_ye;
_root.boom2._xscale = 100 + s_hd2 * 20;
_root.boom2._yscale = 100 + s_hd2 * 20;
_root.boom2._alpha = s_hd2 * 20;
if (s_face_front == true) {
bx1 = gx + body_xs;
bx2 = gx + body_xe;
ax1 = sx + s_hxs2;
ax2 = sx + s_hxe2;
_root.blood._x = ax1 - 50 - s_hd2 * 10;
_root.blood._y = ay2 - 140 - s_hd2 * 10;
_root.eff_fang._x = ax1 - 50 - s_hd2 * 10;
_root.eff_fang._y = ay2 - 140 - s_hd2 * 10;
_root.boom2._x = ax1 - 50 - s_hd2 * 10 + (20 - Math.random(1) * 30);
_root.boom2._y = ay2 - 140 - s_hd2 * 10 + (20 - Math.random(1) * 30);
} else {
bx1 = gx + (500 - body_xe);
bx2 = gx + (500 - body_xs);
ax1 = sx + (400 - s_hxe2);
ax2 = sx + (400 - s_hxs2);
_root.blood._x = ax2 - 50 - s_hd2 * 10;
_root.blood._y = ay2 - 140 - s_hd2 * 10;
_root.eff_fang._x = ax2 - 50 - s_hd2 * 10;
_root.eff_fang._y = ay2 - 140 - s_hd2 * 10;
_root.boom2._x = ax2 - 50 - s_hd2 * 10 + (20 - Math.random(1) * 30);
_root.boom2._y = ay2 - 140 - s_hd2 * 10 + (20 - Math.random(1) * 30);
}
if (bx2 - ax1 < bx2 - bx1 + ax2 - ax1 && bx2 - ax1 > 0 && by2 - ay1 < by2 - by1 + ay2 - ay1 && by2 - ay1 > 0 && bt == 0) {
baction = true;
gsp += s_hd2;
ssp += s_hd2 / 2;
eff_sound.stop();
tem_eff = String(Math.round(Math.random(1) * 4 + 1));
eff_sound.attachSound('eff_hit' + tem_eff);
eff_sound.start(0, 1);
if (_root.boom2._currentframe > 5 || _root.boom2._currentframe == 1) {
_root.boom2.gotoAndPlay(2);
}
if (s_pos == true) {
if (sta == 4 || sta == 9 || sta == 10 || sta == 33 || sta == 34 || sta == 6 || sta == 35) {
if (s_hd2 > 2) {
sta = 34;
} else {
sta = 33;
}
s_hf += s_hf2;
ghp -= s_hd2;
s_hit_rate = 4;
yz += s_myz;
hurt += s_myz;
if (_root.blood._currentframe > 5 || _root.blood._currentframe == 1) {
_root.blood.gotoAndPlay(2);
}
} else {
if (sta == 3 || sta == 12 || sta == 11 || sta == 27 || sta == 22) {
s_hf = 10 + s_hf2;
sta = 36;
ghp -= s_hd2;
s_hit_rate = 4;
yz += s_myz;
hurt += s_myz;
if (_root.blood._currentframe > 5 || _root.blood._currentframe == 1) {
_root.blood.gotoAndPlay(2);
}
} else {
if (sta == 36 || sta == 37) {
sta = 37;
s_hf += s_hf2 * 5;
ghp -= s_hd2;
s_hit_rate = 4;
yz += s_myz;
hurt += s_myz;
if (_root.blood._currentframe > 5 || _root.blood._currentframe == 1) {
_root.blood.gotoAndPlay(2);
}
} else {
if (sta == 38 || sta == 39 || sta == 40) {
if (s_hd2 > 2) {
sta = 40;
} else {
sta = 39;
}
ghp -= s_hd2;
s_hit_rate = 4;
yz += s_myz;
hurt += s_myz;
if (_root.blood._currentframe > 5 || _root.blood._currentframe == 1) {
_root.blood.gotoAndPlay(2);
}
} else {
if (sta == 5 || sta == 32) {
sta = 32;
s_hit_rate = 4;
yz += s_fyz;
if (_root.eff_fang._currentframe > 5 || _root.eff_fang._currentframe == 1) {
_root.eff_fang.gotoAndPlay(2);
}
} else {
if (s_hd2 > 2) {
sta = 30;
} else {
sta = 28;
}
s_hf += s_hf2;
ghp -= s_hd2;
s_hit_rate = 4;
yz += s_myz;
hurt += s_myz;
if (_root.blood._currentframe > 5 || _root.blood._currentframe == 1) {
_root.blood.gotoAndPlay(2);
}
}
}
}
}
}
}
if (s_pos == false) {
if (sta == 4 || sta == 9 || sta == 10 || sta == 33 || sta == 34) {
if (s_hd2 > 2) {
sta = 34;
} else {
sta = 33;
}
s_hf += s_hf2;
ghp -= s_hd2;
s_hit_rate = 4;
yz += s_myz;
hurt += s_myz;
if (_root.blood._currentframe > 5 || _root.blood._currentframe == 1) {
_root.blood.gotoAndPlay(2);
}
} else {
if (sta == 3 || sta == 12 || sta == 11 || sta == 27 || sta == 22) {
s_hf = 10 + s_hf2;
sta = 36;
ghp -= s_hd2;
s_hit_rate = 4;
yz += s_myz;
hurt += s_myz;
if (_root.blood._currentframe > 5 || _root.blood._currentframe == 1) {
_root.blood.gotoAndPlay(2);
}
} else {
if (sta == 36 || sta == 37) {
sta = 37;
s_hf += s_hf2 * 5;
ghp -= s_hd2;
s_hit_rate = 4;
yz += s_myz;
hurt += s_myz;
if (_root.blood._currentframe > 5 || _root.blood._currentframe == 1) {
_root.blood.gotoAndPlay(2);
}
} else {
if (sta == 38 || sta == 39 || sta == 40) {
if (s_hd2 > 2) {
sta = 40;
} else {
sta = 39;
}
ghp -= s_hd2;
s_hit_rate = 4;
yz += s_myz;
hurt += s_myz;
if (_root.blood._currentframe > 5 || _root.blood._currentframe == 1) {
_root.blood.gotoAndPlay(2);
}
} else {
if (sta == 6 || sta == 35) {
sta = 35;
s_hit_rate = 4;
yz += s_fyz;
if (_root.eff_fang._currentframe > 5 || _root.eff_fang._currentframe == 1) {
_root.eff_fang.gotoAndPlay(2);
}
} else {
if (s_hd2 > 2) {
sta = 31;
} else {
sta = 29;
}
s_hf += s_hf2;
ghp -= s_hd2;
s_hit_rate = 4;
yz += s_myz;
hurt += s_myz;
if (_root.blood._currentframe > 5 || _root.blood._currentframe == 1) {
_root.blood.gotoAndPlay(2);
}
}
}
}
}
}
}
}
}
if (_root.sakura._currentframe > s_hts3 && _root.sakura._currentframe < s_hte3 && s_hit_rate == 0) {
ay1 = sy + s_hys3;
ay2 = sy + s_hye3;
by1 = gy + body_ys;
by2 = gy + body_ye;
_root.boom2._xscale = 100 + s_hd3 * 20;
_root.boom2._yscale = 100 + s_hd3 * 20;
_root.boom2._alpha = s_hd3 * 20;
if (s_face_front == true) {
bx1 = gx + body_xs;
bx2 = gx + body_xe;
ax1 = sx + s_hxs3;
ax2 = sx + s_hxe3;
_root.blood._x = ax1 - 50 - s_hd3 * 10;
_root.blood._y = ay2 - 140 - s_hd3 * 10;
_root.eff_fang._x = ax1 - 50 - s_hd3 * 10;
_root.eff_fang._y = ay2 - 140 - s_hd3 * 10;
_root.boom2._x = ax1 - 50 - s_hd3 * 10 + (20 - Math.random(1) * 30);
_root.boom2._y = ay2 - 140 - s_hd3 * 10 + (20 - Math.random(1) * 30);
} else {
bx1 = gx + (500 - body_xe);
bx2 = gx + (500 - body_xs);
ax1 = sx + (400 - s_hxe3);
ax2 = sx + (400 - s_hxs3);
_root.blood._x = ax2 - 50 - s_hd3 * 10;
_root.blood._y = ay2 - 140 - s_hd3 * 10;
_root.eff_fang._x = ax2 - 50 - s_hd3 * 10;
_root.eff_fang._y = ay2 - 140 - s_hd3 * 10;
_root.boom2._x = ax2 - 50 - s_hd3 * 10 + (20 - Math.random(1) * 30);
_root.boom2._y = ay2 - 140 - s_hd3 * 10 + (20 - Math.random(1) * 30);
}
if (bx2 - ax1 < bx2 - bx1 + ax2 - ax1 && bx2 - ax1 > 0 && by2 - ay1 < by2 - by1 + ay2 - ay1 && by2 - ay1 > 0 && bt == 0) {
baction = true;
gsp += s_hd3;
ssp += s_hd3 / 2;
eff_sound.stop();
tem_eff = String(Math.round(Math.random(1) * 4 + 1));
eff_sound.attachSound('eff_hit' + tem_eff);
eff_sound.start(0, 1);
if (_root.boom2._currentframe > 5 || _root.boom2._currentframe == 1) {
_root.boom2.gotoAndPlay(2);
}
if (s_pos == true) {
if (sta == 4 || sta == 9 || sta == 10 || sta == 33 || sta == 34 || sta == 6 || sta == 35) {
if (s_hd3 > 2) {
sta = 34;
} else {
sta = 33;
}
s_hf += s_hf3;
ghp -= s_hd3;
s_hit_rate = 4;
yz += s_myz;
hurt += s_myz;
if (_root.blood._currentframe > 5 || _root.blood._currentframe == 1) {
_root.blood.gotoAndPlay(2);
}
} else {
if (sta == 3 || sta == 12 || sta == 11 || sta == 27 || sta == 22) {
s_hf = 10 + s_hf3;
sta = 36;
ghp -= s_hd3;
s_hit_rate = 4;
yz += s_myz;
hurt += s_myz;
if (_root.blood._currentframe > 5 || _root.blood._currentframe == 1) {
_root.blood.gotoAndPlay(2);
}
} else {
if (sta == 36 || sta == 37) {
sta = 37;
s_hf += s_hf3 * 5;
ghp -= s_hd3;
s_hit_rate = 4;
yz += s_myz;
hurt += s_myz;
if (_root.blood._currentframe > 5 || _root.blood._currentframe == 1) {
_root.blood.gotoAndPlay(2);
}
} else {
if (sta == 38 || sta == 39 || sta == 40) {
if (s_hd3 > 2) {
sta = 40;
} else {
sta = 39;
}
ghp -= s_hd3;
s_hit_rate = 4;
yz += s_myz;
hurt += s_myz;
if (_root.blood._currentframe > 5 || _root.blood._currentframe == 1) {
_root.blood.gotoAndPlay(2);
}
} else {
if (sta == 5 || sta == 32) {
sta = 32;
s_hit_rate = 4;
yz += s_fyz;
if (_root.eff_fang._currentframe > 5 || _root.eff_fang._currentframe == 1) {
_root.eff_fang.gotoAndPlay(2);
}
} else {
if (s_hd3 > 2) {
sta = 30;
} else {
sta = 28;
}
s_hf += s_hf3;
ghp -= s_hd3;
s_hit_rate = 4;
yz += s_myz;
hurt += s_myz;
if (_root.blood._currentframe > 5 || _root.blood._currentframe == 1) {
_root.blood.gotoAndPlay(2);
}
}
}
}
}
}
}
if (s_pos == false) {
if (sta == 4 || sta == 9 || sta == 10 || sta == 33 || sta == 34) {
if (s_hd3 > 2) {
sta = 34;
} else {
sta = 33;
}
s_hf += s_hf3;
ghp -= s_hd3;
s_hit_rate = 4;
yz += s_myz;
hurt += s_myz;
if (_root.blood._currentframe > 5 || _root.blood._currentframe == 1) {
_root.blood.gotoAndPlay(2);
}
} else {
if (sta == 3 || sta == 12 || sta == 11 || sta == 27 || sta == 22) {
s_hf = 10 + s_hf3;
sta = 36;
ghp -= s_hd3;
s_hit_rate = 4;
yz += s_myz;
hurt += s_myz;
if (_root.blood._currentframe > 5 || _root.blood._currentframe == 1) {
_root.blood.gotoAndPlay(2);
}
} else {
if (sta == 36 || sta == 37) {
sta = 37;
s_hf += s_hf3 * 5;
ghp -= s_hd3;
s_hit_rate = 4;
yz += s_myz;
hurt += s_myz;
if (_root.blood._currentframe > 5 || _root.blood._currentframe == 1) {
_root.blood.gotoAndPlay(2);
}
} else {
if (sta == 38 || sta == 39 || sta == 40) {
if (s_hd3 > 2) {
sta = 40;
} else {
sta = 39;
}
ghp -= s_hd3;
s_hit_rate = 4;
yz += s_myz;
hurt += s_myz;
if (_root.blood._currentframe > 5 || _root.blood._currentframe == 1) {
_root.blood.gotoAndPlay(2);
}
} else {
if (sta == 6 || sta == 35) {
sta = 35;
s_hit_rate = 4;
yz += s_fyz;
if (_root.eff_fang._currentframe > 5 || _root.eff_fang._currentframe == 1) {
_root.eff_fang.gotoAndPlay(2);
}
} else {
if (s_hd3 > 2) {
sta = 31;
} else {
sta = 29;
}
s_hf += s_hf3;
ghp -= s_hd3;
s_hit_rate = 4;
yz += s_myz;
hurt += s_myz;
if (_root.blood._currentframe > 5 || _root.blood._currentframe == 1) {
_root.blood.gotoAndPlay(2);
}
}
}
}
}
}
}
}
}
if (s_hf > 0 && g_fly == false) {
s_hf -= 0.2;
}
if (s_hit_rate > 0) {
s_hit_rate -= 1;
}
if (s_myz > 0) {
s_myz -= 1;
}
if (bt > 0) {
bt -= 1;
}
if (hurt > 0) {
hurt -= 1;
}
if (s_hf > 35) {
s_hf = 35;
}
if (s_hf > 10 && g_fly == false && g_lay == false) {
sta = 36;
gy -= s_hf * 18;
g_fly = true;
g_lay = false;
}
if (g_fly == true) {
if (hf_protect < 499) {
hf_protect += 1;
}
s_hf -= 1;
if (gy < 270) {
gy += 25;
gy -= s_hf * (500 - hf_protect) / 500;
} else {
g_fly = false;
g_lay = true;
eff_sound.stop();
eff_sound.attachSound('eff_fall');
eff_sound.start(0, 1);
hf_protect = 0;
s_hf = 0;
yz = 35;
sta = 38;
gy = 210;
}
if (hurt > 10) {
if (s_face_front == true) {
gx -= s_hs * 1.5;
} else {
gx += s_hs * 1.5;
}
}
if (s_hs > 0) {
s_hs -= 0.25;
}
if (s_hs < 0) {
s_hs += 0.25;
}
}
'__________________________________________________________COMBAT___________________________________________________________________________________________________________';
}
};
} while (function () {
'__________________________________________________________SAKURA___________________________________________________________________________________________________________';
if (unti_sakura == false && gta != 38 && gta != 39 && gta != 7 && gta != 8 && s_bisha == false) {
if (s_fly == true) {
gta = 40;
} else {
if (s_lay == true) {
gta = 42;
} else {
if (s_yz > 0 && s_hurt > 0) {
gta = 46;
} else {
gta = 1;
}
}
}
undead_sakura = 0;
} else {
undead_sakura += 1;
}
if (undead_sakura > 30 && s_bisha == false) {
unti_sakura = false;
}
switch (gta) {
case 1:
if (_root.sakura._currentframe < 1 || _root.sakura._currentframe > 12) {
if (gtab == 2) {
_root.sakura.gotoAndPlay(94);
gtab = 1;
} else {
_root.sakura.gotoAndPlay(1);
gtab = 1;
}
s_myz = 0;
s_fyz = 0;
s_pd = 0;
s_hts1 = 0;
s_hte1 = 0;
s_hts2 = 0;
s_hte2 = 0;
s_hts3 = 0;
s_hte3 = 0;
s_body_xs = 121;
s_body_xe = 261;
s_body_ys = 81;
s_body_ye = 366;
}
break;
case 2:
if (_root.sakura._currentframe < 13 || _root.sakura._currentframe > 33) {
_root.sakura.gotoAndPlay(13);
gtab = 2;
s_myz = 0;
s_fyz = 0;
s_pd = 0;
s_hts1 = 0;
s_hte1 = 0;
s_hts2 = 0;
s_hte2 = 0;
s_hts3 = 0;
s_hte3 = 0;
s_body_xs = 127;
s_body_xe = 267;
s_body_ys = 174;
s_body_ye = 365;
}
break;
case 3:
if (_root.sakura._currentframe < 34 || _root.sakura._currentframe > 42) {
_root.sakura.gotoAndPlay(34);
gtab = 3;
gal_voice.stop();
gal_voice.attachSound('gal_spunch');
gal_voice.start(0, 1);
s_yz = 13;
s_myz = 14;
s_fyz = 5;
s_pd = 0;
s_hts1 = 34;
s_hte1 = 38;
s_hts2 = 0;
s_hte2 = 0;
s_hts3 = 0;
s_hte3 = 0;
s_hd1 = 1;
s_hd2 = 0;
s_hd3 = 0;
s_pos = false;
s_hf1 = 1;
s_hf2 = 0;
s_hf3 = 0;
s_hxs1 = 66;
s_hxe1 = 180;
s_hys1 = 206;
s_hye1 = 249;
s_hxs2 = 0;
s_hxe2 = 0;
s_hys2 = 0;
s_hye2 = 0;
s_hxs3 = 0;
s_hxe3 = 0;
s_hys3 = 0;
s_hye3 = 0;
s_bt = 0;
s_body_xs = 113;
s_body_xe = 246;
s_body_ys = 168;
s_body_ye = 360;
s_hs = 2;
}
break;
case 4:
if (_root.sakura._currentframe < 43 || _root.sakura._currentframe > 51) {
_root.sakura.gotoAndPlay(43);
gtab = 4;
gal_voice.stop();
gal_voice.attachSound('gal_spunch');
gal_voice.start(0, 1);
s_yz = 14;
s_myz = 16;
s_fyz = 5;
s_pd = 0;
s_hts1 = 43;
s_hte1 = 47;
s_hts2 = 0;
s_hte2 = 0;
s_hts3 = 0;
s_hte3 = 0;
s_hd1 = 2;
s_hd2 = 0;
s_hd3 = 0;
s_pos = false;
s_hf1 = 0;
s_hf2 = 0;
s_hf3 = 0;
s_hxs1 = 35;
s_hxe1 = 209;
s_hys1 = 291;
s_hye1 = 359;
s_hxs2 = 0;
s_hxe2 = 0;
s_hys2 = 0;
s_hye2 = 0;
s_hxs3 = 0;
s_hxe3 = 0;
s_hys3 = 0;
s_hye3 = 0;
s_bt = 0;
s_body_xs = 141;
s_body_xe = 263;
s_body_ys = 178;
s_body_ye = 363;
s_hs = 4;
}
break;
case 5:
if (_root.sakura._currentframe < 52 || _root.sakura._currentframe > 60) {
_root.sakura.gotoAndPlay(52);
gtab = 5;
gal_voice.stop();
gal_voice.attachSound('gal_shit1');
gal_voice.start(0, 1);
s_myz = 0;
s_fyz = 0;
s_pd = 0;
s_hts1 = 0;
s_hte1 = 0;
s_hts2 = 0;
s_hte2 = 0;
s_hts3 = 0;
s_hte3 = 0;
s_body_xs = 140;
s_body_xe = 260;
s_body_ys = 172;
s_body_ye = 365;
}
break;
case 6:
if (_root.sakura._currentframe < 61 || _root.sakura._currentframe > 69) {
_root.sakura.gotoAndPlay(61);
gtab = 6;
gal_voice.stop();
gal_voice.attachSound('gal_shit2');
gal_voice.start(0, 1);
s_myz = 0;
s_fyz = 0;
s_pd = 0;
s_hts1 = 0;
s_hte1 = 0;
s_hts2 = 0;
s_hte2 = 0;
s_hts3 = 0;
s_hte3 = 0;
s_body_xs = 140;
s_body_xe = 260;
s_body_ys = 172;
s_body_ye = 365;
}
break;
case 7:
if (_root.sakura._currentframe < 70 || _root.sakura._currentframe > 84) {
_root.sakura.gotoAndPlay(70);
gtab = 7;
s_myz = 0;
s_fyz = 0;
s_pd = 0;
s_hts1 = 0;
s_hte1 = 0;
s_hts2 = 0;
s_hte2 = 0;
s_hts3 = 0;
s_hte3 = 0;
s_body_xs = 156;
s_body_xe = 251;
s_body_ys = 178;
s_body_ye = 365;
}
break;
case 8:
if (_root.sakura._currentframe < 85 || _root.sakura._currentframe > 93) {
_root.sakura.gotoAndPlay(85);
gtab = 8;
s_myz = 0;
s_fyz = 0;
s_pd = 0;
s_hts1 = 0;
s_hte1 = 0;
s_hts2 = 0;
s_hte2 = 0;
s_hts3 = 0;
s_hte3 = 0;
s_body_xs = 166;
s_body_xe = 258;
s_body_ys = 180;
s_body_ye = 364;
}
break;
case 9:
if (_root.sakura._currentframe < 100 || _root.sakura._currentframe > 108) {
_root.sakura.gotoAndPlay(100);
gtab = 9;
gal_voice.stop();
gal_voice.attachSound('gal_spunch');
gal_voice.start(0, 1);
s_yz = 11;
s_myz = 12;
s_fyz = 4;
s_pd = 0;
s_hts1 = 100;
s_hte1 = 104;
s_hts2 = 0;
s_hte2 = 0;
s_hts3 = 0;
s_hte3 = 0;
s_hd1 = 2;
s_hd2 = 0;
s_hd3 = 0;
s_pos = true;
s_hf1 = 2;
s_hf2 = 0;
s_hf3 = 0;
s_hxs1 = 31;
s_hxe1 = 169;
s_hys1 = 109;
s_hye1 = 157;
s_hxs2 = 0;
s_hxe2 = 0;
s_hys2 = 0;
s_hye2 = 0;
s_hxs3 = 0;
s_hxe3 = 0;
s_hys3 = 0;
s_hye3 = 0;
s_bt = 0;
s_body_xs = 127;
s_body_xe = 257;
s_body_ys = 84;
s_body_ye = 364;
s_hs = 2;
}
if (s_face_front == true) {
sx -= 2;
} else {
sx += 2;
}
break;
case 10:
if (_root.sakura._currentframe < 109 || _root.sakura._currentframe > 120) {
_root.sakura.gotoAndPlay(109);
gtab = 10;
gal_voice.stop();
gal_voice.attachSound('gal_skick');
gal_voice.start(0, 1);
s_yz = 15;
s_myz = 17;
s_fyz = 4;
s_pd = 0;
s_hts1 = 112;
s_hte1 = 114;
s_hts2 = 0;
s_hte2 = 0;
s_hts3 = 0;
s_hte3 = 0;
s_hd1 = 3;
s_hd2 = 0;
s_hd3 = 0;
s_pos = true;
s_hf1 = 3;
s_hf2 = 0;
s_hf3 = 0;
s_hxs1 = 3;
s_hxe1 = 127;
s_hys1 = 101;
s_hye1 = 201;
s_hxs2 = 0;
s_hxe2 = 0;
s_hys2 = 0;
s_hye2 = 0;
s_hxs3 = 0;
s_hxe3 = 0;
s_hys3 = 0;
s_hye3 = 0;
s_bt = 0;
s_body_xs = 86;
s_body_xe = 194;
s_body_ys = 72;
s_body_ye = 358;
s_hs = 5;
}
if (s_face_front == true) {
sx -= 2;
} else {
sx += 2;
}
break;
case 11:
if (_root.sakura._currentframe < 121 || _root.sakura._currentframe > 132) {
_root.sakura.gotoAndPlay(121);
gtab = 11;
s_myz = 0;
s_fyz = 0;
s_pd = 0;
s_hts1 = 0;
s_hte1 = 0;
s_hts2 = 0;
s_hte2 = 0;
s_hts3 = 0;
s_hte3 = 0;
s_body_xs = 76;
s_body_xe = 229;
s_body_ys = 1;
s_body_ye = 209;
}
break;
case 12:
if (_root.sakura._currentframe < 133 || _root.sakura._currentframe > 146) {
_root.sakura.gotoAndPlay(133);
gtab = 12;
gal_voice.stop();
gal_voice.attachSound('gal_skick');
gal_voice.start(0, 1);
s_yz = 22;
s_myz = 25;
s_fyz = 9;
s_pd = 0;
s_hts1 = 136;
s_hte1 = 140;
s_hts2 = 0;
s_hte2 = 0;
s_hts3 = 0;
s_hte3 = 0;
s_hd1 = 3;
s_hd2 = 0;
s_hd3 = 0;
s_pos = true;
s_hf1 = 13;
s_hf2 = 0;
s_hf3 = 0;
s_hxs1 = 83;
s_hxe1 = 194;
s_hys1 = 98;
s_hye1 = 207;
s_hxs2 = 0;
s_hxe2 = 0;
s_hys2 = 0;
s_hye2 = 0;
s_hxs3 = 0;
s_hxe3 = 0;
s_hys3 = 0;
s_hye3 = 0;
s_bt = 1;
s_body_xs = 90;
s_body_xe = 214;
s_body_ys = 12;
s_body_ye = 223;
s_hs = 6;
}
if (s_face_front == true) {
sx -= 20;
} else {
sx += 20;
}
break;
case 13:
if (_root.sakura._currentframe < 147 || _root.sakura._currentframe > 161) {
_root.sakura.gotoAndPlay(147);
gtab = 13;
gal_voice.stop();
gal_voice.attachSound('gal_skick2');
gal_voice.start(0, 1);
s_yz = 20;
s_myz = 25;
s_fyz = 6;
s_pd = 0;
s_hts1 = 150;
s_hte1 = 156;
s_hts2 = 0;
s_hte2 = 0;
s_hts3 = 0;
s_hte3 = 0;
s_hd1 = 3;
s_hd2 = 0;
s_hd3 = 0;
s_pos = true;
s_hf1 = 8;
s_hf2 = 0;
s_hf3 = 0;
s_hxs1 = 92;
s_hxe1 = 289;
s_hys1 = 35;
s_hye1 = 195;
s_hxs2 = 0;
s_hxe2 = 0;
s_hys2 = 0;
s_hye2 = 0;
s_hxs3 = 0;
s_hxe3 = 0;
s_hys3 = 0;
s_hye3 = 0;
s_bt = 0;
s_body_xs = 137;
s_body_xe = 251;
s_body_ys = 2;
s_body_ye = 319;
s_hs = 8;
}
if (s_face_front == true) {
sx -= 20;
} else {
sx += 20;
}
break;
case 14:
if (_root.sakura._currentframe < 162 || _root.sakura._currentframe > 173) {
_root.sakura.gotoAndPlay(162);
gtab = 14;
s_myz = 0;
s_fyz = 0;
s_pd = 0;
s_hts1 = 0;
s_hte1 = 0;
s_hts2 = 0;
s_hte2 = 0;
s_hts3 = 0;
s_hte3 = 0;
s_body_xs = 127;
s_body_xe = 256;
s_body_ys = 61;
s_body_ye = 361;
}
break;
case 15:
if (_root.sakura._currentframe < 174 || _root.sakura._currentframe > 191) {
_root.sakura.gotoAndPlay(174);
gtab = 15;
s_myz = 0;
s_fyz = 0;
s_pd = 0;
s_hts1 = 0;
s_hte1 = 0;
s_hts2 = 0;
s_hte2 = 0;
s_hts3 = 0;
s_hte3 = 0;
s_bt = 6;
s_body_xs = 72;
s_body_xe = 263;
s_body_ys = 154;
s_body_ye = 356;
}
if (s_face_front == true) {
sx -= 15;
} else {
sx += 15;
}
break;
case 16:
if (_root.sakura._currentframe < 192 || _root.sakura._currentframe > 210) {
_root.sakura.gotoAndPlay(192);
gtab = 16;
gal_voice.stop();
gal_voice.attachSound('gal_skick2');
gal_voice.start(0, 1);
s_yz = 26;
s_myz = 7;
s_fyz = 6;
s_pd = 0;
s_hts1 = 194;
s_hte1 = 203;
s_hts2 = 0;
s_hte2 = 0;
s_hts3 = 0;
s_hte3 = 0;
s_hd1 = 3;
s_hd2 = 0;
s_hd3 = 0;
s_pos = true;
s_hf1 = 10;
s_hf2 = 0;
s_hf3 = 0;
s_hxs1 = 45;
s_hxe1 = 201;
s_hys1 = 137;
s_hye1 = 283;
s_hxs2 = 0;
s_hxe2 = 0;
s_hys2 = 0;
s_hye2 = 0;
s_hxs3 = 0;
s_hxe3 = 0;
s_hys3 = 0;
s_hye3 = 0;
s_bt = 0;
s_body_xs = 55;
s_body_xe = 216;
s_body_ys = 91;
s_body_ye = 339;
s_hs = 10;
}
if (s_face_front == true) {
sx -= 15;
} else {
sx += 15;
}
break;
case 17:
if (_root.sakura._currentframe < 211 || _root.sakura._currentframe > 225) {
_root.sakura.gotoAndPlay(211);
gtab = 17;
gal_voice.stop();
gal_voice.attachSound('gal_skick');
gal_voice.start(0, 1);
s_yz = 17;
s_myz = 19;
s_fyz = 7;
s_pd = 0;
s_hts1 = 215;
s_hte1 = 219;
s_hts2 = 0;
s_hte2 = 0;
s_hts3 = 0;
s_hte3 = 0;
s_hd1 = 3;
s_hd2 = 0;
s_hd3 = 0;
s_pos = true;
s_hf1 = 8;
s_hf2 = 0;
s_hf3 = 0;
s_hxs1 = 12;
s_hxe1 = 183;
s_hys1 = 157;
s_hye1 = 222;
s_hxs2 = 0;
s_hxe2 = 0;
s_hys2 = 0;
s_hye2 = 0;
s_hxs3 = 0;
s_hxe3 = 0;
s_hys3 = 0;
s_hye3 = 0;
s_bt = 0;
s_body_xs = 119;
s_body_xe = 291;
s_body_ys = 105;
s_body_ye = 357;
s_hs = 8;
}
if (s_face_front == true) {
sx -= 15;
} else {
sx += 15;
}
break;
case 18:
if (_root.sakura._currentframe < 226 || _root.sakura._currentframe > 247) {
_root.sakura.gotoAndPlay(226);
gtab = 18;
gal_voice.stop();
gal_voice.attachSound('gal_skick2');
gal_voice.start(0, 1);
s_yz = 18;
s_myz = 20;
s_fyz = 5;
s_pd = 0;
s_hts1 = 232;
s_hte1 = 237;
s_hts2 = 0;
s_hte2 = 0;
s_hts3 = 0;
s_hte3 = 0;
s_hd1 = 7;
s_hd2 = 0;
s_hd3 = 0;
s_pos = true;
s_hf1 = 17;
s_hf2 = 0;
s_hf3 = 0;
s_hxs1 = 1;
s_hxe1 = 157;
s_hys1 = 73;
s_hye1 = 186;
s_hxs2 = 0;
s_hxe2 = 0;
s_hys2 = 0;
s_hye2 = 0;
s_hxs3 = 0;
s_hxe3 = 0;
s_hys3 = 0;
s_hye3 = 0;
s_bt = 0;
s_body_xs = 101;
s_body_xe = 262;
s_body_ys = 90;
s_body_ye = 343;
s_hs = 6;
}
if (s_face_front == true) {
sx -= 15;
} else {
sx += 15;
}
break;
case 19:
if (_root.sakura._currentframe < 248 || _root.sakura._currentframe > 263) {
_root.sakura.gotoAndPlay(248);
gtab = 19;
s_myz = 0;
s_fyz = 0;
s_pd = 0;
s_hts1 = 0;
s_hte1 = 0;
s_hts2 = 0;
s_hte2 = 0;
s_hts3 = 0;
s_hte3 = 0;
s_bt = 6;
s_body_xs = 161;
s_body_xe = 303;
s_body_ys = 98;
s_body_ye = 361;
}
if (s_face_front == true) {
sx += 15;
} else {
sx -= 15;
}
break;
case 20:
if (_root.sakura._currentframe < 264 || _root.sakura._currentframe > 280) {
_root.sakura.gotoAndPlay(264);
gtab = 20;
gal_voice.stop();
gal_voice.attachSound('gal_spunch');
gal_voice.start(0, 1);
s_yz = 20;
s_myz = 22;
s_fyz = 9;
s_pd = 0;
s_hts1 = 270;
s_hte1 = 274;
s_hts2 = 0;
s_hte2 = 0;
s_hts3 = 0;
s_hte3 = 0;
s_hd1 = 7;
s_hd2 = 0;
s_hd3 = 0;
s_pos = true;
s_hf1 = 6;
s_hf2 = 0;
s_hf3 = 0;
s_hxs1 = 38;
s_hxe1 = 192;
s_hys1 = 142;
s_hye1 = 195;
s_hxs2 = 0;
s_hxe2 = 0;
s_hys2 = 0;
s_hye2 = 0;
s_hxs3 = 0;
s_hxe3 = 0;
s_hys3 = 0;
s_hye3 = 0;
s_bt = 0;
s_body_xs = 116;
s_body_xe = 285;
s_body_ys = 115;
s_body_ye = 358;
s_hs = 6;
}
if (_root.sakura._currentframe > 264 && _root.sakura._currentframe < 269) {
if (s_face_front == true) {
sx += 15;
} else {
sx -= 15;
}
} else {
if (s_face_front == true) {
sx -= 12;
} else {
sx += 12;
}
}
break;
case 21:
if (_root.sakura._currentframe < 281 || _root.sakura._currentframe > 296) {
_root.sakura.gotoAndPlay(281);
gtab = 21;
gal_voice.stop();
gal_voice.attachSound('gal_skick2');
gal_voice.start(0, 1);
s_yz = 28;
s_myz = 32;
s_fyz = 7;
s_pd = 0;
s_hts1 = 281;
s_hte1 = 284;
s_hts2 = 285;
s_hte2 = 289;
s_hts3 = 0;
s_hte3 = 0;
s_hd1 = 3;
s_hd2 = 8;
s_hd3 = 0;
s_pos = false;
s_hf1 = 1;
s_hf2 = 10;
s_hf3 = 0;
s_hxs1 = 118;
s_hxe1 = 243;
s_hys1 = 219;
s_hye1 = 354;
s_hxs2 = 117;
s_hxe2 = 250;
s_hys2 = 37;
s_hye2 = 276;
s_hxs3 = 0;
s_hxe3 = 0;
s_hys3 = 0;
s_hye3 = 0;
s_bt = 0;
s_body_xs = 175;
s_body_xe = 345;
s_body_ys = 120;
s_body_ye = 367;
s_hs = 3;
}
if (s_face_front == true) {
sx += 10;
} else {
sx -= 10;
}
break;
case 22:
if (_root.sakura._currentframe < 297 || _root.sakura._currentframe > 334) {
_root.sakura.gotoAndPlay(297);
gtab = 22;
gal_voice.stop();
gal_voice.attachSound('gal_skick2');
gal_voice.start(0, 1);
s_yz = 45;
s_myz = 8;
s_fyz = 3;
s_pd = 0;
s_hts1 = 300;
s_hte1 = 325;
s_hts2 = 0;
s_hte2 = 0;
s_hts3 = 0;
s_hte3 = 0;
s_hd1 = 2;
s_hd2 = 0;
s_hd3 = 0;
s_pos = true;
s_hf1 = 5;
s_hf2 = 0;
s_hf3 = 0;
s_hxs1 = 11;
s_hxe1 = 365;
s_hys1 = 109;
s_hye1 = 180;
s_hxs2 = 0;
s_hxe2 = 0;
s_hys2 = 0;
s_hye2 = 0;
s_hxs3 = 0;
s_hxe3 = 0;
s_hys3 = 0;
s_hye3 = 0;
s_bt = 0;
s_body_xs = 109;
s_body_xe = 288;
s_body_ys = 122;
s_body_ye = 341;
s_hs = 3;
}
if (s_face_front == true) {
sx -= 8;
} else {
sx += 8;
}
break;
case 23:
if (_root.sakura._currentframe < 335 || _root.sakura._currentframe > 376) {
_root.sakura.gotoAndPlay(335);
gtab = 23;
gal_voice.stop();
gal_voice.attachSound('gal_sfaint');
gal_voice.start(0, 1);
s_yz = 45;
s_myz = 0;
s_fyz = 0;
s_pd = 20;
s_hts1 = 0;
s_hte1 = 0;
s_hts2 = 0;
s_hte2 = 0;
s_hts3 = 0;
s_hte3 = 0;
s_hd1 = 0;
s_hd2 = 0;
s_hd3 = 0;
s_pos = true;
s_hf1 = 0;
s_hf2 = 0;
s_hf3 = 0;
s_hxs1 = 0;
s_hxe1 = 0;
s_hys1 = 0;
s_hye1 = 0;
s_hxs2 = 0;
s_hxe2 = 0;
s_hys2 = 0;
s_hye2 = 0;
s_hxs3 = 0;
s_hxe3 = 0;
s_hys3 = 0;
s_hye3 = 0;
s_bt = 3;
s_body_xs = 158;
s_body_xe = 256;
s_body_ys = 77;
s_body_ye = 366;
}
if (_root.sakura._currentframe > 340 && g_fly == false && g_lay == false) {
if (s_face_front == true) {
gx += 10;
yz = 2;
hurt = 2;
} else {
gx -= 10;
yz = 2;
hurt = 2;
}
}
break;
case 24:
if (_root.sakura._currentframe < 377 || _root.sakura._currentframe > 400) {
_root.sakura.gotoAndPlay(377);
gtab = 24;
gal_voice.stop();
gal_voice.attachSound('gal_spunch');
gal_voice.start(0, 1);
s_yz = 34;
s_myz = 0;
s_fyz = 10;
s_pd = 5;
s_hts1 = 380;
s_hte1 = 385;
s_hts2 = 0;
s_hte2 = 0;
s_hts3 = 0;
s_hte3 = 0;
s_hd1 = 5;
s_hd2 = 0;
s_hd3 = 0;
s_pos = false;
s_hf1 = 5;
s_hf2 = 0;
s_hf3 = 0;
s_hxs1 = 79;
s_hxe1 = 163;
s_hys1 = 245;
s_hye1 = 368;
s_hxs2 = 0;
s_hxe2 = 0;
s_hys2 = 0;
s_hye2 = 0;
s_hxs3 = 0;
s_hxe3 = 0;
s_hys3 = 0;
s_hye3 = 0;
s_bt = 0;
s_body_xs = 136;
s_body_xe = 236;
s_body_ys = 78;
s_body_ye = 355;
s_hs = 3;
}
break;
case 25:
if (_root.sakura._currentframe < 401 || _root.sakura._currentframe > 409) {
_root.sakura.gotoAndPlay(401);
gtab = 25;
gal_voice.stop();
gal_voice.attachSound('gal_shit1');
gal_voice.start(0, 1);
s_myz = 0;
s_fyz = 0;
s_pd = 0;
s_hts1 = 0;
s_hte1 = 0;
s_hts2 = 0;
s_hte2 = 0;
s_hts3 = 0;
s_hte3 = 0;
s_bt = 0;
s_body_xs = 143;
s_body_xe = 263;
s_body_ys = 81;
s_body_ye = 364;
}
break;
case 26:
if (_root.sakura._currentframe < 410 || _root.sakura._currentframe > 418) {
_root.sakura.gotoAndPlay(410);
gtab = 26;
gal_voice.stop();
gal_voice.attachSound('gal_shit1');
gal_voice.start(0, 1);
s_myz = 0;
s_fyz = 0;
s_pd = 0;
s_hts1 = 0;
s_hte1 = 0;
s_hts2 = 0;
s_hte2 = 0;
s_hts3 = 0;
s_hte3 = 0;
s_bt = 0;
s_body_xs = 143;
s_body_xe = 263;
s_body_ys = 81;
s_body_ye = 364;
}
break;
case 27:
if (_root.sakura._currentframe < 419 || _root.sakura._currentframe > 427) {
_root.sakura.gotoAndPlay(419);
gtab = 27;
gal_voice.stop();
gal_voice.attachSound('gal_shit2');
gal_voice.start(0, 1);
s_myz = 0;
s_fyz = 0;
s_pd = 0;
s_hts1 = 0;
s_hte1 = 0;
s_hts2 = 0;
s_hte2 = 0;
s_hts3 = 0;
s_hte3 = 0;
s_bt = 0;
s_body_xs = 152;
s_body_xe = 275;
s_body_ys = 84;
s_body_ye = 364;
}
break;
case 28:
if (_root.sakura._currentframe < 428 || _root.sakura._currentframe > 436) {
_root.sakura.gotoAndPlay(428);
gtab = 28;
gal_voice.stop();
gal_voice.attachSound('gal_shit3');
gal_voice.start(0, 1);
s_myz = 0;
s_fyz = 0;
s_pd = 0;
s_hts1 = 0;
s_hte1 = 0;
s_hts2 = 0;
s_hte2 = 0;
s_hts3 = 0;
s_hte3 = 0;
s_bt = 0;
s_body_xs = 152;
s_body_xe = 275;
s_body_ys = 84;
s_body_ye = 364;
}
break;
case 29:
if (_root.sakura._currentframe < 437 || _root.sakura._currentframe > 458) {
_root.sakura.gotoAndPlay(437);
gtab = 29;
gal_voice.stop();
gal_voice.attachSound('gal_skick2');
gal_voice.start(0, 1);
s_yz = 22;
s_myz = 30;
s_fyz = 0;
s_pd = 5;
s_hts1 = 448;
s_hte1 = 450;
s_hts2 = 0;
s_hte2 = 0;
s_hts3 = 0;
s_hte3 = 0;
s_hd1 = 8;
s_hd2 = 0;
s_hd3 = 0;
s_pos = true;
s_hf1 = 15;
s_hf2 = 0;
s_hf3 = 0;
s_hxs1 = 0;
s_hxe1 = 250;
s_hys1 = 0;
s_hye1 = 371;
s_hxs2 = 0;
s_hxe2 = 0;
s_hys2 = 0;
s_hye2 = 0;
s_hxs3 = 0;
s_hxe3 = 0;
s_hys3 = 0;
s_hye3 = 0;
s_bt = 22;
s_body_xs = 0;
s_body_xe = 0;
s_body_ys = 0;
s_body_ye = 0;
}
if (_root.sakura._currentframe < 448) {
if (face_front == true) {
gx += 4;
} else {
gx -= 4;
}
yz = 3;
} else {
s_hs = 15;
}
break;
case 30:
if (_root.sakura._currentframe < 459 || _root.sakura._currentframe > 477) {
_root.sakura.gotoAndPlay(459);
gtab = 30;
gal_voice.stop();
gal_voice.attachSound('gal_skick');
gal_voice.start(0, 1);
s_yz = 19;
s_myz = 33;
s_fyz = 0;
s_pd = 5;
s_hts1 = 466;
s_hte1 = 468;
s_hts2 = 0;
s_hte2 = 0;
s_hts3 = 0;
s_hte3 = 0;
s_hd1 = 9;
s_hd2 = 0;
s_hd3 = 0;
s_pos = true;
s_hf1 = 5;
s_hf2 = 0;
s_hf3 = 0;
s_hxs1 = 0;
s_hxe1 = 250;
s_hys1 = 0;
s_hye1 = 370;
s_hxs2 = 0;
s_hxe2 = 0;
s_hys2 = 0;
s_hye2 = 0;
s_hxs3 = 0;
s_hxe3 = 0;
s_hys3 = 0;
s_hye3 = 0;
s_bt = 21;
s_body_xs = 0;
s_body_xe = 0;
s_body_ys = 0;
s_body_ye = 0;
}
if (_root.sakura._currentframe < 466) {
if (face_front == true) {
gx += 3;
} else {
gx -= 3;
}
yz = 3;
} else {
s_hs = 10;
}
break;
case 31:
if (_root.sakura._currentframe < 478 || _root.sakura._currentframe > 501) {
_root.sakura.gotoAndPlay(478);
gtab = 31;
gal_voice.stop();
gal_voice.attachSound('gal_spunch');
gal_voice.start(0, 1);
s_yz = 24;
s_myz = 23;
s_fyz = 6;
s_pd = 20;
s_hts1 = 481;
s_hte1 = 492;
s_hts2 = 0;
s_hte2 = 0;
s_hts3 = 0;
s_hte3 = 0;
s_hd1 = 4;
s_hd2 = 0;
s_hd3 = 0;
s_pos = true;
s_hf1 = 0;
s_hf2 = 0;
s_hf3 = 0;
s_hxs1 = 0;
s_hxe1 = 141;
s_hys1 = 54;
s_hye1 = 188;
s_hxs2 = 0;
s_hxe2 = 0;
s_hys2 = 0;
s_hye2 = 0;
s_hxs3 = 0;
s_hxe3 = 0;
s_hys3 = 0;
s_hye3 = 0;
s_bt = 2;
s_body_xs = 123;
s_body_xe = 261;
s_body_ys = 78;
s_body_ye = 367;
s_hs = 3;
}
break;
case 32:
if (_root.sakura._currentframe < 502 || _root.sakura._currentframe > 518) {
_root.sakura.gotoAndPlay(502);
gtab = 32;
gal_voice.stop();
gal_voice.attachSound('gal_skick');
gal_voice.start(0, 1);
s_yz = 23;
s_myz = 36;
s_fyz = 9;
s_pd = 30;
s_hts1 = 502;
s_hte1 = 503;
s_hts2 = 504;
s_hte2 = 509;
s_hts3 = 0;
s_hte3 = 0;
s_hd1 = 1;
s_hd2 = 4;
s_hd3 = 0;
s_pos = true;
s_hf1 = 1;
s_hf2 = 2;
s_hf3 = 0;
s_hxs1 = 81;
s_hxe1 = 156;
s_hys1 = 257;
s_hye1 = 360;
s_hxs2 = 1;
s_hxe2 = 136;
s_hys2 = 189;
s_hye2 = 311;
s_hxs3 = 0;
s_hxe3 = 0;
s_hys3 = 0;
s_hye3 = 0;
s_bt = 0;
s_body_xs = 94;
s_body_xe = 221;
s_body_ys = 73;
s_body_ye = 359;
s_hs = 22;
}
if (s_face_front == true) {
sx -= 6;
} else {
sx += 6;
}
break;
case 33:
if (_root.sakura._currentframe < 519 || _root.sakura._currentframe > 545) {
_root.sakura.gotoAndPlay(519);
gtab = 33;
gal_voice.stop();
gal_voice.attachSound('gal_skick2');
gal_voice.start(0, 1);
s_yz = 31;
s_myz = 10;
s_fyz = 3;
s_pd = 0;
s_hts1 = 522;
s_hte1 = 539;
s_hts2 = 0;
s_hte2 = 0;
s_hts3 = 0;
s_hte3 = 0;
s_hd1 = 3;
s_hd2 = 0;
s_hd3 = 0;
s_pos = true;
s_hf1 = 2;
s_hf2 = 0;
s_hf3 = 0;
s_hxs1 = 29;
s_hxe1 = 232;
s_hys1 = 87;
s_hye1 = 279;
s_hxs2 = 0;
s_hxe2 = 0;
s_hys2 = 0;
s_hye2 = 0;
s_hxs3 = 0;
s_hxe3 = 0;
s_hys3 = 0;
s_hye3 = 0;
s_bt = 0;
s_body_xs = 171;
s_body_xe = 296;
s_body_ys = 51;
s_body_ye = 367;
s_hs = 2;
}
if (s_face_front == true) {
sx -= 1;
} else {
sx += 1;
}
break;
case 34:
if (_root.sakura._currentframe < 546 || _root.sakura._currentframe > 564) {
_root.sakura.gotoAndPlay(546);
gtab = 34;
gal_voice.stop();
gal_voice.attachSound('gal_shit3');
gal_voice.start(0, 1);
s_yz = 23;
s_myz = 15;
s_fyz = 5;
s_pd = 10;
s_hts1 = 551;
s_hte1 = 561;
s_hts2 = 0;
s_hte2 = 0;
s_hts3 = 0;
s_hte3 = 0;
s_hd1 = 3;
s_hd2 = 0;
s_hd3 = 0;
s_pos = true;
s_hf1 = 2;
s_hf2 = 0;
s_hf3 = 0;
s_hxs1 = -150;
s_hxe1 = 168;
s_hys1 = 87;
s_hye1 = 197;
s_hxs2 = 0;
s_hxe2 = 0;
s_hys2 = 0;
s_hye2 = 0;
s_hxs3 = 0;
s_hxe3 = 0;
s_hys3 = 0;
s_hye3 = 0;
s_bt = 3;
s_body_xs = 111;
s_body_xe = 256;
s_body_ys = 79;
s_body_ye = 361;
s_hs = 4;
}
break;
case 35:
if (_root.sakura._currentframe < 565 || _root.sakura._currentframe > 638) {
_root.sakura.gotoAndPlay(565);
gtab = 35;
gal_voice.stop();
gal_voice.attachSound('gal_sbisha');
gal_voice.start(0, 1);
s_yz = 80;
s_myz = 87;
s_fyz = 1;
s_pd = 0;
s_hts1 = 568;
s_hte1 = 573;
s_hts2 = 591;
s_hte2 = 603;
s_hts3 = 609;
s_hte3 = 632;
s_hd1 = 2;
s_hd2 = 2;
s_hd3 = 2;
s_pos = true;
s_hf1 = 8;
s_hf2 = 5;
s_hf3 = 2;
s_hxs1 = 37;
s_hxe1 = 145;
s_hys1 = 135;
s_hye1 = 283;
s_hxs2 = 1;
s_hxe2 = 234;
s_hys2 = 86;
s_hye2 = 175;
s_hxs3 = 10;
s_hxe3 = 230;
s_hys3 = 83;
s_hye3 = 274;
s_bt = 10;
s_body_xs = 57;
s_body_xe = 182;
s_body_ys = 159;
s_body_ye = 362;
s_hs = 4;
}
if (_root.sakura._currentframe > 588) {
if (s_face_front == true) {
sx -= 6;
} else {
sx += 6;
}
}
break;
case 36:
if (_root.sakura._currentframe < 639 || _root.sakura._currentframe > 677) {
_root.sakura.gotoAndPlay(639);
gtab = 36;
s_yz = 36;
s_myz = 30;
s_fyz = 10;
s_pd = 0;
s_hts1 = 647;
s_hte1 = 663;
s_hts2 = 0;
s_hte2 = 0;
s_hts3 = 0;
s_hte3 = 0;
s_hd1 = 2;
s_hd2 = 0;
s_hd3 = 0;
s_pos = true;
s_hf1 = 0;
s_hf2 = 0;
s_hf3 = 0;
s_hxs1 = -400;
s_hxe1 = 203;
s_hys1 = 42;
s_hye1 = 335;
s_hxs2 = 0;
s_hxe2 = 0;
s_hys2 = 0;
s_hye2 = 0;
s_hxs3 = 0;
s_hxe3 = 0;
s_hys3 = 0;
s_hye3 = 0;
s_bt = 0;
s_body_xs = 124;
s_body_xe = 274;
s_body_ys = 92;
s_body_ye = 366;
s_hs = 3;
}
break;
case 37:
if (_root.sakura._currentframe < 678 || _root.sakura._currentframe > 710) {
_root.sakura.gotoAndPlay(678);
gtab = 37;
gal_voice.stop();
gal_voice.attachSound('gal_sstart');
gal_voice.start(0, 1);
s_yz = 40;
s_myz = 10;
s_fyz = 3;
s_pd = 0;
s_hts1 = 681;
s_hte1 = 704;
s_hts2 = 0;
s_hte2 = 0;
s_hts3 = 0;
s_hte3 = 0;
s_hd1 = 1;
s_hd2 = 0;
s_hd3 = 0;
s_pos = true;
s_hf1 = 2;
s_hf2 = 0;
s_hf3 = 0;
s_hxs1 = 30;
s_hxe1 = 206;
s_hys1 = 70;
s_hye1 = 208;
s_hxs2 = 0;
s_hxe2 = 0;
s_hys2 = 0;
s_hye2 = 0;
s_hxs3 = 0;
s_hxe3 = 0;
s_hys3 = 0;
s_hye3 = 0;
s_bt = 5;
s_body_xs = 117;
s_body_xe = 255;
s_body_ys = 83;
s_body_ye = 363;
s_hs = 5;
}
if (s_face_front == true) {
sx -= 5;
} else {
sx += 5;
}
break;
case 38:
if (_root.sakura._currentframe < 711 || _root.sakura._currentframe > 725) {
_root.sakura.gotoAndPlay(711);
gtab = 38;
s_myz = 0;
s_fyz = 0;
s_pd = 0;
s_hts1 = 0;
s_hte1 = 0;
s_hts2 = 0;
s_hte2 = 0;
s_hts3 = 0;
s_hte3 = 0;
s_bt = 0;
s_body_xs = 144;
s_body_xe = 252;
s_body_ys = 78;
s_body_ye = 362;
}
break;
case 39:
if (_root.sakura._currentframe < 726 || _root.sakura._currentframe > 734) {
_root.sakura.gotoAndPlay(726);
gtab = 39;
s_myz = 0;
s_fyz = 0;
s_pd = 0;
s_hts1 = 0;
s_hte1 = 0;
s_hts2 = 0;
s_hte2 = 0;
s_hts3 = 0;
s_hte3 = 0;
s_bt = 0;
s_body_xs = 144;
s_body_xe = 252;
s_body_ys = 78;
s_body_ye = 362;
}
break;
case 40:
if (_root.sakura._currentframe < 735 || _root.sakura._currentframe > 749) {
_root.sakura.gotoAndPlay(735);
gtab = 40;
s_myz = 0;
s_fyz = 0;
s_pd = 0;
s_hts1 = 0;
s_hte1 = 0;
s_hts2 = 0;
s_hte2 = 0;
s_hts3 = 0;
s_hte3 = 0;
s_bt = 0;
s_body_xs = 59;
s_body_xe = 319;
s_body_ys = 181;
s_body_ye = 279;
}
break;
case 41:
if (_root.sakura._currentframe < 750 || _root.sakura._currentframe > 758) {
_root.sakura.gotoAndPlay(750);
gtab = 41;
gal_voice.stop();
gal_voice.attachSound('gal_shit1');
gal_voice.start(0, 1);
s_myz = 0;
s_fyz = 0;
s_pd = 0;
s_hts1 = 0;
s_hte1 = 0;
s_hts2 = 0;
s_hte2 = 0;
s_hts3 = 0;
s_hte3 = 0;
s_bt = 0;
s_body_xs = 71;
s_body_xe = 321;
s_body_ys = 133;
s_body_ye = 264;
}
break;
case 42:
if (_root.sakura._currentframe < 759 || _root.sakura._currentframe > 770) {
_root.sakura.gotoAndPlay(759);
gtab = 42;
s_myz = 0;
s_fyz = 0;
s_pd = 0;
s_hts1 = 0;
s_hte1 = 0;
s_hts2 = 0;
s_hte2 = 0;
s_hts3 = 0;
s_hte3 = 0;
s_bt = 0;
s_body_xs = 46;
s_body_xe = 332;
s_body_ys = 306;
s_body_ye = 367;
}
break;
case 43:
if (_root.sakura._currentframe < 771 || _root.sakura._currentframe > 779) {
_root.sakura.gotoAndPlay(771);
gtab = 43;
gal_voice.stop();
gal_voice.attachSound('gal_shit1');
gal_voice.start(0, 1);
s_myz = 0;
s_fyz = 0;
s_pd = 0;
s_hts1 = 0;
s_hte1 = 0;
s_hts2 = 0;
s_hte2 = 0;
s_hts3 = 0;
s_hte3 = 0;
s_bt = 0;
s_body_xs = 46;
s_body_xe = 332;
s_body_ys = 306;
s_body_ye = 367;
}
break;
case 44:
if (_root.sakura._currentframe < 780 || _root.sakura._currentframe > 788) {
_root.sakura.gotoAndPlay(780);
gtab = 44;
gal_voice.stop();
gal_voice.attachSound('gal_shit2');
gal_voice.start(0, 1);
s_myz = 0;
s_fyz = 0;
s_pd = 0;
s_hts1 = 0;
s_hte1 = 0;
s_hts2 = 0;
s_hte2 = 0;
s_hts3 = 0;
s_hte3 = 0;
s_bt = 0;
s_body_xs = 47;
s_body_xe = 328;
s_body_ys = 295;
s_body_ye = 367;
}
break;
case 45:
if (_root.sakura._currentframe < 789 || _root.sakura._currentframe > 813) {
_root.sakura.gotoAndPlay(789);
gtab = 45;
gal_voice.stop();
gal_voice.attachSound('gal_skick');
gal_voice.start(0, 1);
s_yz = 28;
s_myz = 35;
s_fyz = 20;
s_pd = 0;
s_hts1 = 792;
s_hte1 = 796;
s_hts2 = 0;
s_hte2 = 0;
s_hts3 = 0;
s_hte3 = 0;
s_hd1 = 3;
s_hd2 = 0;
s_hd3 = 0;
s_pos = false;
s_hf1 = 3;
s_hf2 = 0;
s_hf3 = 0;
s_hxs1 = -10;
s_hxe1 = 200;
s_hys1 = 268;
s_hye1 = 342;
s_hxs2 = 0;
s_hxe2 = 0;
s_hys2 = 0;
s_hye2 = 0;
s_hxs3 = 0;
s_hxe3 = 0;
s_hys3 = 0;
s_hye3 = 0;
s_bt = 40;
s_body_xs = 123;
s_body_xe = 323;
s_body_ys = 232;
s_body_ye = 376;
s_hs = 3;
}
break;
case 46:
if (_root.sakura._currentframe < 814 || _root.sakura._currentframe > 826) {
_root.sakura.gotoAndPlay(814);
gtab = 46;
gal_voice.stop();
gal_voice.attachSound('gal_sfaint');
gal_voice.start(0, 1);
s_myz = 0;
s_fyz = 0;
s_pd = 0;
s_hts1 = 0;
s_hte1 = 0;
s_hts2 = 0;
s_hte2 = 0;
s_hts3 = 0;
s_hte3 = 0;
s_bt = 0;
s_body_xs = 121;
s_body_xe = 261;
s_body_ys = 81;
s_body_ye = 366;
}
break;
case 47:
if (_root.sakura._currentframe < 827 || _root.sakura._currentframe > 894) {
_root.sakura.gotoAndPlay(827);
gtab = 47;
gal_voice.stop();
gal_voice.attachSound('gal_sstart');
gal_voice.start();
}
break;
case 48:
if (_root.sakura._currentframe < 895 || _root.sakura._currentframe > 1045) {
_root.sakura.gotoAndPlay(895);
gtab = 48;
gal_voice.stop();
gal_voice.attachSound('gal_swin');
gal_voice.start();
}
break;
case 49:
if (_root.sakura._currentframe < 1046 || _root.sakura._currentframe > 1071) {
_root.sakura.gotoAndPlay(1046);
ghp += 2;
gtab = 49;
gal_voice.stop();
gal_voice.attachSound('gal_sfaint');
gal_voice.start(0, 999);
}
untidead = 0;
undead_sakura = 0;
break;
case 50:
if (_root.sakura._currentframe < 1072 || _root.sakura._currentframe > 1097) {
_root.sakura.gotoAndPlay(1072);
ghp += 2;
gtab = 50;
gal_voice.stop();
gal_voice.attachSound('gal_sfaint');
gal_voice.start(0, 999);
}
untidead = 0;
undead_sakura = 0;
break;
case 51:
if (_root.sakura._currentframe < 1098 || _root.sakura._currentframe > 1123) {
_root.sakura.gotoAndPlay(1098);
ghp += 3;
gtab = 51;
gal_voice.stop();
gal_voice.attachSound('gal_cry3');
gal_voice.start(0, 999);
}
untidead = 0;
undead_sakura = 0;
break;
case 52:
if (_root.sakura._currentframe < 1124 || _root.sakura._currentframe > 1152) {
_root.sakura.gotoAndPlay(1124);
ghp += 8;
gtab = 52;
gal_voice.stop();
gal_voice.attachSound('gal_cry2');
gal_voice.start(0, 999);
}
untidead = 0;
undead_sakura = 0;
break;
case 53:
if (_root.sakura._currentframe < 1153 || _root.sakura._currentframe > 1184) {
_root.sakura.gotoAndPlay(1153);
ghp += 8;
gtab = 53;
gal_voice.stop();
gal_voice.attachSound('gal_cry1');
gal_voice.start(0, 999);
}
untidead = 0;
undead_sakura = 0;
break;
case 54:
if (_root.sakura._currentframe < 1185 || _root.sakura._currentframe > 1219) {
_root.sakura.gotoAndPlay(1185);
ghp += 7;
gtab = 54;
gal_voice.stop();
gal_voice.attachSound('gal_cry3');
gal_voice.start(0, 999);
}
untidead = 0;
undead_sakura = 0;
break;
case 55:
if (_root.sakura._currentframe < 1220 || _root.sakura._currentframe > 1248) {
_root.sakura.gotoAndPlay(1220);
ghp += 5;
gtab = 55;
gal_voice.stop();
gal_voice.attachSound('gal_cry1');
gal_voice.start(0, 999);
}
untidead = 0;
undead_sakura = 0;
break;
case 56:
if (_root.sakura._currentframe < 1249 || _root.sakura._currentframe > 1280) {
_root.sakura.gotoAndPlay(1249);
ghp += 5;
gtab = 56;
gal_voice.stop();
gal_voice.attachSound('gal_cry3');
gal_voice.start(0, 999);
}
untidead = 0;
undead_sakura = 0;
break;
case 57:
if (_root.sakura._currentframe < 1281 || _root.sakura._currentframe > 1312) {
_root.sakura.gotoAndPlay(1281);
ghp += 5;
gtab = 57;
gal_voice.stop();
gal_voice.attachSound('gal_cry4');
gal_voice.start(0, 999);
}
untidead = 0;
undead_sakura = 0;
break;
case 58:
if (_root.sakura._currentframe < 1313 || _root.sakura._currentframe > 1344) {
_root.sakura.gotoAndPlay(1313);
ghp += 5;
gtab = 58;
gal_voice.stop();
gal_voice.attachSound('gal_sfaint');
gal_voice.start(0, 999);
}
untidead = 0;
undead_sakura = 0;
break;
case 59:
if (_root.sakura._currentframe < 1345 || _root.sakura._currentframe > 1376) {
_root.sakura.gotoAndPlay(1345);
ghp += 5;
gtab = 59;
gal_voice.stop();
gal_voice.attachSound('gal_sfaint');
gal_voice.start(0, 999);
}
untidead = 0;
undead_sakura = 0;
break;
case 60:
if (_root.sakura._currentframe < 1377 || _root.sakura._currentframe > 1411) {
_root.sakura.gotoAndPlay(1377);
ghp += 5;
gtab = 60;
gal_voice.stop();
gal_voice.attachSound('gal_cry1');
gal_voice.start(0, 999);
}
untidead = 0;
undead_sakura = 0;
break;
case 61:
if (_root.sakura._currentframe < 1412 || _root.sakura._currentframe > 1443) {
_root.sakura.gotoAndPlay(1412);
ghp += 5;
gtab = 61;
gal_voice.stop();
gal_voice.attachSound('gal_cry2');
gal_voice.start(0, 999);
}
untidead = 0;
undead_sakura = 0;
}
'__________________________________________________________SAKURA___________________________________________________________________________________________________________';
'__________________________________________________________AI___________________________________________________________________________________________________________';
'å¿…æ€';
if (ssp >= 100 && Math.abs(gx - sx) < 300 && g_lay == false && g_fly == false && s_yz == 0 && s_lay == false && s_fly == false && unti_sakura == false && g_bisha == false && ai > 0) {
gta = 35;
unti_sakura = true;
}
if (ai == 0 && gta > 41 && gta < 45 && s_yz == 0 && Math.round(Math.random(1) * 100) > 98) {
gta = 1;
s_lay = false;
s_fly = false;
}
if (g_bisha == false && s_bisha == false) {
if (ai > 0) {
'起身';
if (gta > 41 && gta < 45 && s_yz == 0) {
if (ai <= 2) {
gta = 45;
unti_sakura = true;
s_lay = false;
s_fly = false;
} else {
if (Math.abs(gx - sx) < 180 && face_front == false) {
gta = 45;
unti_sakura = true;
s_lay = false;
s_fly = false;
}
if (Math.abs(gx - sx) < 270 && face_front == true) {
gta = 45;
unti_sakura = true;
s_lay = false;
s_fly = false;
}
if (Math.abs(gx - sx) > 600) {
gta = 45;
unti_sakura = true;
s_lay = false;
s_fly = false;
}
}
}
'战术';
if (ai_count > 0) {
ai_count -= 1;
}
if (ai_count == 0 && tac_lock <= 0) {
rand = Math.round(Math.random(1) * 100);
ai_count = 5 + Math.round(Math.random(1) * 10);
tac_lock = 10;
}
switch (ai) {
case 1:
if (rand < 40 && rand >= 0) {
tac = 0;
} else {
if (rand < 70 && rand >= 40) {
tac = 1;
} else {
if (rand < 82 && rand >= 70) {
tac = 2;
} else {
if (rand < 85 && rand >= 82) {
tac = 3;
} else {
if (rand < 88 && rand >= 85) {
tac = 4;
} else {
if (rand < 91 && rand >= 88) {
tac = 5;
} else {
if (rand < 95 && rand >= 91) {
tac = 6;
} else {
if (rand < 98 && rand >= 95) {
tac = 7;
} else {
tac = 8;
}
}
}
}
}
}
}
}
break;
case 2:
if (rand < 50 && rand >= 0) {
tac = 0;
} else {
if (rand < 60 && rand >= 40) {
tac = 1;
} else {
if (rand < 60 && rand >= 50) {
tac = 2;
} else {
if (rand < 70 && rand >= 60) {
tac = 3;
} else {
if (rand < 80 && rand >= 70) {
tac = 4;
} else {
if (rand < 85 && rand >= 80) {
tac = 5;
} else {
if (rand < 90 && rand >= 85) {
tac = 6;
} else {
if (rand < 95 && rand >= 90) {
tac = 7;
} else {
tac = 8;
}
}
}
}
}
}
}
}
break;
case 3:
if (rand < 20 && rand >= 0) {
tac = 0;
} else {
if (rand < 40 && rand >= 20) {
tac = 1;
} else {
if (rand < 50 && rand >= 40) {
tac = 2;
} else {
if (rand < 60 && rand >= 50) {
tac = 3;
} else {
if (rand < 70 && rand >= 60) {
tac = 4;
} else {
if (rand < 80 && rand >= 70) {
tac = 5;
} else {
if (rand < 90 && rand >= 80) {
tac = 6;
} else {
if (rand < 95 && rand >= 90) {
tac = 7;
} else {
tac = 8;
}
}
}
}
}
}
}
}
break;
case 4:
if (rand < 20 && rand >= 0) {
tac = 0;
} else {
if (rand < 30 && rand >= 20) {
tac = 1;
} else {
if (rand < 40 && rand >= 30) {
tac = 2;
} else {
if (rand < 50 && rand >= 40) {
tac = 3;
} else {
if (rand < 60 && rand >= 50) {
tac = 4;
} else {
if (rand < 70 && rand >= 60) {
tac = 5;
} else {
if (rand < 80 && rand >= 70) {
tac = 6;
} else {
if (rand < 90 && rand >= 80) {
tac = 7;
} else {
tac = 8;
}
}
}
}
}
}
}
}
break;
case 5:
if (rand < 10 && rand >= 0) {
tac = 0;
} else {
if (rand < 20 && rand >= 10) {
tac = 4;
} else {
if (rand < 35 && rand >= 20) {
tac = 5;
} else {
if (rand < 55 && rand >= 35) {
tac = 6;
} else {
if (rand < 80 && rand >= 55) {
tac = 7;
} else {
tac = 8;
}
}
}
}
}
}
if (move_count > 0) {
move_count -= 1;
}
if (move_count == 0) {
rand2 = Math.round(Math.random(1) * 10);
}
'浮空';
if (g_fly == true && s_lay == false && s_fly == false && g_bisha == false && s_bisha == false && g_lay == false) {
if (s_yz == 0 && unti_sakura == false) {
switch (ai) {
case 1:
if (Math.abs(sx - gx) > 220 && gy < 150) {
gta = 16;
} else {
if (gy < 150) {
gta = 13;
} else {
gta = 21;
}
}
break;
case 2:
if (Math.abs(sx - gx) > 220 && gy < 150) {
gta = 18;
} else {
if (gy < 150) {
gta = 13;
} else {
gta = 21;
}
}
break;
case 3:
if (Math.abs(sx - gx) > 220 && gy < 150) {
gta = 18;
} else {
if (gy < 150) {
gta = 22;
} else {
gta = 21;
}
}
break;
case 4:
if (Math.abs(sx - gx) > 220 && gy < 150) {
gta = 13;
} else {
if (gy < 150) {
gta = 22;
} else {
gta = 21;
}
}
break;
case 5:
if (Math.abs(sx - gx) > 220 && gy < 150) {
gta = 13;
} else {
if (gy < 150) {
gta = 22;
} else {
gta = 21;
}
}
}
unti_sakura = true;
}
tac = 99;
}
'倒地';
if (g_fly == false && s_yz == 0 && s_lay == false && s_fly == false && unti_sakura == false && g_bisha == false && s_bisha == false && g_lay == true && yz > 0) {
if (Math.abs(sx - gx) < 300) {
gta = 24;
} else {
gta = 14;
s_m = 1;
}
unti_sakura = true;
tac = 99;
}
'游走';
if (unti_sakura == false && tac == 0 && s_fly == false && s_lay == false && s_yz == 0) {
if (rand2 > 7 && Math.abs(sx - gx) > 300) {
gta = 14;
s_m = 1;
move_count = 25;
unti_sakura = true;
} else {
if (rand2 == 7 && Math.abs(sx - gx) > 300) {
gta = 15;
move_count = 17;
unti_sakura = true;
} else {
if (rand2 == 3 && sx < _root.backgrounds._x + back_right - 887 && sx > _root.backgrounds._x - back_left + 600) {
gta = 19;
move_count = 15;
unti_sakura = true;
} else {
if (rand2 > 3 && rand2 < 7 && sx < _root.backgrounds._x + back_right - 887 && sx > _root.backgrounds._x - back_left + 600) {
gta = 14;
s_m = 2;
move_count = 25;
unti_sakura = true;
} else {
if (sx > _root.backgrounds._x + back_right - 587 || sx < _root.backgrounds._x - back_left + 300) {
tac = 7;
tac_lock = 11;
} else {
gta = 1;
s_m = 0;
unti_sakura = false;
}
}
}
}
}
switch (ai) {
case 1:
tac_lock -= 1;
break;
case 2:
tac_lock -= 1;
break;
case 3:
tac_lock -= 2;
break;
case 4:
tac_lock -= 3;
break;
case 5:
tac_lock -= 6;
}
}
'防御';
if (unti_sakura == false && tac == 1 && s_fly == false && s_lay == false && s_yz == 0) {
switch (ai) {
case 1:
gta = 38;
tac_lock -= 2;
break;
case 2:
if (pos == false && Math.abs(gx - sx) < 450 && rand2 > 8) {
gta = 7;
move_count = 10;
} else {
gta = 38;
move_count = 10;
}
tac_lock -= 2;
break;
case 3:
if (pos == false && Math.abs(gx - sx) < 450 && rand2 > 6) {
gta = 7;
move_count = 10;
} else {
gta = 38;
move_count = 10;
}
tac_lock -= 3;
break;
case 4:
if (pos == false && Math.abs(gx - sx) < 450 && rand2 > 4) {
gta = 7;
move_count = 10;
} else {
gta = 38;
move_count = 10;
}
tac_lock -= 4;
break;
case 5:
if (pos == false && Math.abs(gx - sx) < 450 && rand2 > 2) {
gta = 7;
move_count = 10;
} else {
gta = 38;
move_count = 10;
}
tac_lock -= 6;
}
}
'全程上段攻击';
if (unti_sakura == false && tac == 2 && s_fly == false && s_lay == false && s_yz == 0) {
switch (ai) {
case 1:
if (Math.abs(gx - sx) > 450) {
if (rand2 > 8) {
gta = 13;
}
if (rand2 > 5 && rand2 <= 8) {
gta = 12;
}
if (rand2 > 2 && rand2 <= 5) {
gta = 16;
}
if (rand2 <= 2) {
gta = 17;
}
} else {
if (rand2 <= 1) {
gta = 10;
}
if (rand2 == 2) {
gta = 21;
}
if (rand2 == 3) {
gta = 12;
}
if (rand2 == 4) {
gta = 13;
}
if (rand2 == 5) {
gta = 9;
}
if (rand2 == 6) {
gta = 16;
}
if (rand2 == 7) {
gta = 17;
}
if (rand2 == 8) {
gta = 20;
}
if (rand2 >= 9) {
gta = 9;
}
}
tac_lock -= 2;
unti_sakura = true;
break;
case 2:
if (Math.abs(gx - sx) > 450) {
if (rand2 > 8) {
gta = 13;
}
if (rand2 > 6 && rand2 <= 8) {
gta = 12;
}
if (rand2 > 4 && rand2 <= 6) {
gta = 16;
}
if (rand2 <= 4) {
gta = 18;
}
} else {
if (rand2 <= 1) {
gta = 10;
}
if (rand2 == 2) {
gta = 21;
}
if (rand2 == 3) {
gta = 12;
}
if (rand2 == 4) {
gta = 13;
}
if (rand2 == 5) {
gta = 9;
}
if (rand2 == 6) {
gta = 16;
}
if (rand2 == 7) {
gta = 33;
}
if (rand2 == 8) {
gta = 20;
}
if (rand2 >= 9) {
gta = 18;
}
}
tac_lock -= 2;
unti_sakura = true;
break;
case 3:
if (Math.abs(gx - sx) > 450) {
if (rand2 > 8) {
gta = 13;
}
if (rand2 > 6 && rand2 <= 8) {
gta = 12;
}
if (rand2 > 4 && rand2 <= 6) {
gta = 16;
}
if (rand2 <= 4) {
gta = 18;
}
} else {
if (rand2 <= 2) {
gta = 32;
}
if (rand2 == 3) {
gta = 12;
}
if (rand2 == 4) {
gta = 13;
}
if (rand2 == 5) {
gta = 9;
}
if (rand2 == 6) {
gta = 16;
}
if (rand2 == 7) {
gta = 33;
}
if (rand2 == 8) {
gta = 22;
}
if (rand2 >= 9) {
gta = 18;
}
}
tac_lock -= 2;
unti_sakura = true;
break;
case 4:
if (Math.abs(gx - sx) > 450) {
if (rand2 > 6) {
gta = 23;
}
if (rand2 > 4 && rand2 <= 6) {
gta = 12;
}
if (rand2 > 3 && rand2 <= 4) {
gta = 16;
}
if (rand2 <= 3) {
gta = 18;
}
} else {
if (rand2 <= 2) {
gta = 37;
}
if (rand2 == 3) {
gta = 12;
}
if (rand2 == 4) {
gta = 13;
}
if (rand2 == 5) {
gta = 32;
}
if (rand2 == 6) {
gta = 16;
}
if (rand2 == 7) {
gta = 33;
}
if (rand2 == 8) {
gta = 22;
}
if (rand2 >= 9) {
gta = 18;
}
}
tac_lock -= 2;
unti_sakura = true;
break;
case 5:
if (Math.abs(gx - sx) > 450) {
if (rand2 > 6) {
gta = 23;
}
if (rand2 > 4 && rand2 <= 6) {
gta = 12;
}
if (rand2 > 3 && rand2 <= 4) {
gta = 34;
}
if (rand2 <= 3) {
gta = 18;
}
} else {
if (rand2 <= 2) {
gta = 37;
}
if (rand2 == 3) {
gta = 12;
}
if (rand2 == 4) {
gta = 13;
}
if (rand2 == 5) {
gta = 32;
}
if (rand2 == 6) {
gta = 31;
}
if (rand2 == 7) {
gta = 33;
}
if (rand2 == 8) {
gta = 22;
}
if (rand2 >= 9) {
gta = 18;
}
}
tac_lock -= 2;
unti_sakura = true;
}
undead_sakura = 0;
}
'全程下段攻击';
if (unti_sakura == false && tac == 3 && s_fly == false && s_lay == false && s_yz == 0) {
if (Math.abs(gx - sx) > 450) {
if (rand2 > 8) {
gta = 13;
}
if (rand2 > 5 && rand2 <= 8) {
gta = 12;
}
if (rand2 > 2 && rand2 <= 5) {
gta = 16;
}
if (rand2 <= 2) {
gta = 18;
}
} else {
if (rand2 < 3) {
gta = 3;
}
if (rand2 < 7 && rand2 >= 3) {
gta = 4;
}
if (rand2 < 9 && rand2 >= 7) {
gta = 21;
}
if (rand2 >= 9) {
gta = 24;
}
}
switch (ai) {
case 1:
tac_lock -= 3;
break;
case 2:
tac_lock -= 2;
break;
case 3:
tac_lock -= 2;
break;
case 4:
tac_lock -= 1;
break;
case 5:
tac_lock -= 1;
}
undead_sakura = 0;
unti_sakura = true;
}
'上段攻击起手,夹æ‚下段攻击';
if (unti_sakura == false && tac == 4 && s_fly == false && s_lay == false && s_yz == 0) {
if (tac_lock != 7) {
if (Math.abs(gx - sx) > 450) {
gta = 17;
} else {
if (rand2 < 3) {
gta = 9;
}
if (rand2 < 7 && rand2 >= 3) {
gta = 10;
}
switch (ai) {
case 1:
if (rand2 < 9 && rand2 >= 7) {
gta = 20;
}
if (rand2 >= 9) {
gta = 10;
}
break;
case 2:
if (rand2 >= 7) {
gta = 33;
}
break;
case 3:
if (rand2 < 9 && rand2 >= 7) {
gta = 33;
}
if (rand2 >= 9) {
gta = 22;
}
break;
case 4:
if (rand2 == 7) {
gta = 37;
}
if (rand2 == 8) {
gta = 33;
}
if (rand2 >= 9) {
gta = 22;
}
break;
case 5:
if (rand2 == 7) {
gta = 37;
}
if (rand2 == 8) {
gta = 33;
}
if (rand2 >= 9) {
gta = 31;
}
}
}
} else {
if (rand2 > 5) {
gta = 4;
} else {
gta = 21;
}
}
tac_lock -= 3;
undead_sakura = 0;
unti_sakura = true;
}
'下段攻击起手,之åŽä¸Šæ®µæ”»å‡»';
if (unti_sakura == false && tac == 5 && s_fly == false && s_lay == false && s_yz == 0) {
if (tac_lock != 10) {
if (rand2 < 3) {
gta = 9;
}
if (rand2 < 7 && rand2 >= 3) {
gta = 10;
}
switch (ai) {
case 1:
if (rand2 < 9 && rand2 >= 7) {
gta = 20;
}
if (rand2 >= 9) {
gta = 10;
}
break;
case 2:
if (rand2 < 9 && rand2 >= 7) {
gta = 33;
}
if (rand2 >= 9) {
gta = 20;
}
break;
case 3:
if (rand2 < 9 && rand2 >= 7) {
gta = 33;
}
if (rand2 >= 9) {
gta = 22;
}
break;
case 4:
if (rand2 == 7) {
gta = 37;
}
if (rand2 == 8) {
gta = 33;
}
if (rand2 >= 9) {
gta = 22;
}
break;
case 5:
if (rand2 == 7) {
gta = 37;
}
if (rand2 == 8) {
gta = 33;
}
if (rand2 >= 9) {
gta = 31;
}
}
} else {
if (Math.abs(gx - sx) > 450) {
gta = 14;
s_m = 1;
} else {
gta = 4;
}
}
tac_lock -= 3;
undead_sakura = 0;
unti_sakura = true;
}
'试图浮空对手';
if (unti_sakura == false && tac == 6 && s_fly == false && s_lay == false && s_yz == 0) {
switch (ai) {
case 1:
if (Math.abs(gx - sx) > 450) {
if (rand2 > 5) {
gta = 13;
}
if (rand2 >= 3 && rand2 < 5) {
gta = 12;
}
if (rand2 < 3) {
gta = 16;
}
} else {
if (rand2 < 3) {
gta = 21;
}
if (rand2 < 7 && rand2 >= 3) {
gta = 13;
}
if (rand2 < 9 && rand2 >= 7) {
gta = 16;
}
if (rand2 >= 9) {
gta = 12;
}
}
break;
case 2:
if (Math.abs(gx - sx) > 450) {
if (rand2 > 5) {
gta = 18;
} else {
gta = 12;
}
} else {
if (rand2 < 4) {
gta = 21;
}
if (rand2 < 8 && rand2 >= 4) {
gta = 18;
}
if (rand2 >= 8) {
gta = 12;
}
}
break;
case 3:
gta = 18;
break;
case 4:
if (Math.abs(gx - sx) > 450) {
gta = 23;
} else {
gta = 18;
}
break;
case 5:
if (Math.abs(gx - sx) > 450) {
gta = 23;
} else {
gta = 18;
}
}
tac_lock = 0;
undead_sakura = 0;
unti_sakura = true;
}
'防御åŽå击';
if (unti_sakura == false && tac == 7 && s_fly == false && s_lay == false && s_yz == 0) {
switch (ai) {
case 1:
if (suc_fy > 0) {
rand = 93;
tac_lock = 10;
unti_sakura = false;
} else {
gta = 38;
tac_lock -= 2;
unti_sakura = true;
}
break;
case 2:
if (suc_fy > 0) {
rand = 87;
tac_lock = 10;
unti_sakura = false;
} else {
gta = 38;
tac_lock -= 2;
unti_sakura = true;
}
break;
case 3:
if (suc_fy > 0) {
rand = 85;
tac_lock = 10;
unti_sakura = false;
} else {
gta = 38;
tac_lock -= 2;
unti_sakura = true;
}
break;
case 4:
if (suc_fy > 0) {
rand = 75;
tac_lock = 10;
unti_sakura = false;
} else {
gta = 38;
tac_lock -= 2;
unti_sakura = true;
}
break;
case 5:
if (suc_fy > 0) {
rand = 40;
tac_lock = 10;
unti_sakura = false;
} else {
if (pos == false && Math.abs(gx - sx) < 450) {
gta = 7;
} else {
gta = 38;
}
tac_lock -= 2;
unti_sakura = true;
}
}
undead_sakura = 0;
}
'远程攻击为主,ä¿æŒè·ç¦»';
if (unti_sakura == false && tac == 8 && s_fly == false && s_lay == false && s_yz == 0) {
switch (ai) {
case 1:
if (Math.abs(gx - sx) < 500) {
gta = 14;
s_m = 2;
tac_lock -= 4;
} else {
gta = 36;
tac_lock -= 3;
}
break;
case 2:
if (Math.abs(gx - sx) < 500) {
gta = 14;
s_m = 2;
tac_lock -= 4;
} else {
gta = 36;
tac_lock -= 3;
}
break;
case 3:
if (Math.abs(gx - sx) < 500) {
gta = 14;
s_m = 2;
tac_lock -= 6;
} else {
gta = 36;
tac_lock -= 3;
}
break;
case 4:
if (Math.abs(gx - sx) < 500) {
gta = 14;
s_m = 2;
tac_lock -= 6;
} else {
gta = 36;
tac_lock -= 3;
}
break;
case 5:
if (Math.abs(gx - sx) < 200) {
gta = 14;
s_m = 2;
tac_lock -= 6;
} else {
if (Math.abs(gx - sx) < 500) {
gta = 34;
tac_lock -= 3;
} else {
gta = 36;
tac_lock -= 3;
}
}
}
undead_sakura = 0;
unti_sakura = true;
}
'å—身';
if (myz > 0 && s_fly == false && s_lay == false && g_bisha == false && s_bisha == false && s_hurt > 5 && sta != 41 && sta != 18 && tac + ai / 2 + Math.random(1) * 8 > 16) {
if (gta == 5 || gta == 6 || gta == 25 || gta == 26 || gta == 27 || gta == 28) {
if (pos == true) {
s_bt = 20;
s_hurt = 0;
gta = 29;
unti_sakura = true;
_root.guy.stop();
_root.guy_shadow.stop();
tac = 99;
} else {
s_bt = 20;
s_hurt = 0;
gta = 30;
unti_sakura = true;
_root.guy.stop();
_root.guy_shadow.stop();
tac = 99;
}
}
}
}
}
_root.guy_shadow.gotoAndPlay(_root.guy._currentframe);
_root.sakura_shadow.gotoAndPlay(_root.sakura._currentframe);
_root.d_hair.gotoAndPlay(_root.sakura._currentframe);
_root.d_shoe.gotoAndPlay(_root.sakura._currentframe);
_root.d_panty.gotoAndPlay(_root.sakura._currentframe);
_root.d_body.gotoAndPlay(_root.sakura._currentframe);
_root.d_up.gotoAndPlay(_root.sakura._currentframe);
_root.d_low.gotoAndPlay(_root.sakura._currentframe);
_root.d_prop.gotoAndPlay(_root.sakura._currentframe);
_root.d_jy.gotoAndPlay(_root.sakura._currentframe);
_root.mask1.gotoAndPlay(_root.sakura._currentframe);
_root.mask2.gotoAndPlay(_root.sakura._currentframe);
'__________________________________________________________AI___________________________________________________________________________________________________________';
});
_root.sakura;
'onEnterFrame';
}
}
}
}
}
}
};
}
button 2147 {
on (release) {
_root.pauseif = false;
_root.sakura.play();
_root.guy.play();
_root.guy_shadow.play();
}
}
button 2148 {
on (release) {
delete _root.guy.onEnterFrame;
delete _root.sakura.onEnterFrame;
delete _root.backgrounds.onEnterFrame;
delete _root.combat_event.onEnterFrame;
delete _root.combat_event2.onEnterFrame;
stopAllSounds();
_root.end_choice = 0;
_root.gotoAndPlay(125);
}
}
movieClip 2151 {
}
frame 112 {
stop();
}
button 2157 {
on (release) {
end_choice = 0;
play();
}
}
button 2158 {
on (release) {
end_choice = 1;
play();
}
}
movieClip 2166 {
}
movieClip 2168 {
}
button 2169 {
on (release) {
but_choice = 3;
}
}
button 2170 {
on (release) {
but_choice = 6;
}
}
button 2171 {
on (release) {
but_choice = 5;
}
}
button 2172 {
on (release) {
but_choice = 2;
}
}
button 2173 {
on (release) {
but_choice = 4;
}
}
button 2174 {
on (release) {
but_choice = 1;
}
}
movieClip 2177 {
}
frame 114 {
if (g_win >= 2) {
_root.booty_lose._visible = false;
} else {
_root.booty_lose._visible = true;
}
stopAllSounds();
bgm.stop();
bgm.attachSound('music_booty');
bgm.start(0, 999);
}
frame 116 {
end_choice = 0;
var but_choice;
but_choice = 0;
if (cc[sel_low] != 1) {
but_choice = 6;
}
if (ee[sel_shoe] != 1) {
but_choice = 5;
}
if (ff[sel_prop] != 1) {
but_choice = 4;
}
if (dd[sel_panty] != 1) {
but_choice = 3;
}
if (bb[sel_up] != 1) {
but_choice = 2;
}
if (aa[sel_hair] != 1) {
but_choice = 1;
}
_root.b_prop.gotoAndStop(sel_prop);
_root.b_hair.gotoAndStop(sel_hair);
_root.b_up.gotoAndStop(sel_up);
_root.b_low.gotoAndStop(sel_low);
_root.b_panty.gotoAndStop(sel_panty);
_root.b_shoe.gotoAndStop(sel_shoe);
if (cc[sel_low] == 1) {
_root.a_low._visible = true;
} else {
_root.a_low._visible = false;
}
if (aa[sel_hair] == 1) {
_root.a_hair._visible = true;
} else {
_root.a_hair._visible = false;
}
if (bb[sel_up] == 1) {
_root.a_up._visible = true;
} else {
_root.a_up._visible = false;
}
if (dd[sel_panty] == 1) {
_root.a_panty._visible = true;
} else {
_root.a_panty._visible = false;
}
if (ee[sel_shoe] == 1) {
_root.a_shoe._visible = true;
} else {
_root.a_shoe._visible = false;
}
if (ff[sel_prop] == 1) {
_root.a_prop._visible = true;
} else {
_root.a_prop._visible = false;
}
_root.a_prop.onEnterFrame = function () {
if (g_win < 2) {
but_choice = 0;
}
switch (but_choice) {
case 0:
_root.item_choose._x = -383;
_root.item_choose._y = 292;
break;
case 1:
_root.item_choose._x = 383;
_root.item_choose._y = 292;
break;
case 2:
_root.item_choose._x = 503;
_root.item_choose._y = 292;
break;
case 3:
_root.item_choose._x = 628;
_root.item_choose._y = 292;
break;
case 4:
_root.item_choose._x = 383;
_root.item_choose._y = 397;
break;
case 5:
_root.item_choose._x = 503;
_root.item_choose._y = 397;
break;
case 6:
_root.item_choose._x = 628;
_root.item_choose._y = 397;
}
};
}
frame 120 {
if (free_mode == false) {
money_plus = Math.round(((g_win + 2 - s_win) * 100 + ghp * 2) * ai);
} else {
money_plus = 200;
}
if (g_win >= 2) {
win_num += 1;
} else {
lose_num += 1;
}
_root.smoke.onEnterFrame = function () {
if (money_plus > 0) {
money_plus -= 4;
money += 4;
}
if (money_plus < 0) {
money_plus = 0;
}
money_text.text = '0000' + money;
money_plus_text.text = '000' + money_plus;
};
stop();
}
frame 121 {
money += money_plus;
money_plus = 0;
switch (but_choice) {
case 1:
aa[sel_hair] = 1;
break;
case 2:
bb[sel_up] = 1;
break;
case 3:
dd[sel_panty] = 1;
break;
case 4:
ff[sel_prop] = 1;
break;
case 5:
ee[sel_shoe] = 1;
break;
case 6:
cc[sel_low] = 1;
}
aas = '';
bbs = '';
ccs = '';
dds = '';
ees = '';
ffs = '';
game_record = SharedObject.getLocal('7th_dream_cgf');
load_temp = 0;
while (load_temp <= 30) {
aas += String(aa[load_temp]);
bbs += String(bb[load_temp]);
ccs += String(cc[load_temp]);
dds += String(dd[load_temp]);
ees += String(ee[load_temp]);
ffs += String(ff[load_temp]);
++load_temp;
}
game_record.data.aas = aas;
game_record.data.bbs = bbs;
game_record.data.ccs = ccs;
game_record.data.dds = dds;
game_record.data.ees = ees;
game_record.data.ffs = ffs;
game_record.data.money = money;
game_record.data.win_num = win_num;
game_record.data.lose_num = lose_num;
game_record.data.saved = true;
game_record.flush();
}
frame 125 {
delete _root.a_prop.onEnterFrame;
if (end_choice == 0) {
bgm.stop();
bgm.attachSound('music_main');
bgm.start(0, 999);
gotoAndPlay(4);
} else {
gotoAndPlay(86);
}
}
frame 127 {
bgm.stop();
bgm.attachSound('music_about');
bgm.start(0, 999);
}
frame 131 {
stop();
}
frame 137 {
bgm.stop();
bgm.attachSound('music_main');
bgm.start(0, 999);
gotoAndPlay(4);
}
button 2182 {
on (release) {
var tem_num;
tem_num = sort_hair;
sort_hair = 31;
load_temp = 1;
while (load_temp < tem_num) {
if (aa[load_temp] != 1) {
sort_hair = load_temp;
}
++load_temp;
}
_root.store_cost.text = 5000;
_root.b_hair.gotoAndStop(sort_hair);
_root.d_hair.gotoAndStop(sort_hair);
_root.d_hair._visible = true;
_root.d_up._visible = false;
_root.d_low._visible = false;
_root.d_panty._visible = false;
_root.d_shoe._visible = false;
_root.d_prop._visible = false;
_root.item_had._visible = false;
sort_sel = 1;
_root.store_sel._x = 171;
}
}
button 2183 {
on (release) {
var tem_num;
tem_num = sort_up;
sort_up = 31;
load_temp = 1;
while (load_temp < tem_num) {
if (bb[load_temp] != 1) {
sort_up = load_temp;
}
++load_temp;
}
_root.store_cost.text = 4000;
_root.b_up.gotoAndStop(sort_up);
_root.d_up.gotoAndStop(sort_up);
_root.d_hair._visible = false;
_root.d_up._visible = true;
_root.d_low._visible = false;
_root.d_panty._visible = false;
_root.d_shoe._visible = false;
_root.d_prop._visible = false;
_root.item_had._visible = false;
sort_sel = 2;
_root.store_sel._x = 310;
}
}
button 2184 {
on (release) {
var tem_num;
tem_num = sort_low;
sort_low = 31;
load_temp = 1;
while (load_temp < tem_num) {
if (cc[load_temp] != 1) {
sort_low = load_temp;
}
++load_temp;
}
_root.store_cost.text = 3500;
_root.b_low.gotoAndStop(sort_low);
_root.d_low.gotoAndStop(sort_low);
_root.d_hair._visible = false;
_root.d_up._visible = false;
_root.d_low._visible = true;
_root.d_panty._visible = false;
_root.d_shoe._visible = false;
_root.d_prop._visible = false;
_root.item_had._visible = false;
sort_sel = 3;
_root.store_sel._x = 447;
}
}
button 2185 {
on (release) {
var tem_num;
tem_num = sort_panty;
sort_panty = 31;
load_temp = 1;
while (load_temp < tem_num) {
if (dd[load_temp] != 1) {
sort_panty = load_temp;
}
++load_temp;
}
_root.store_cost.text = 4500;
_root.b_panty.gotoAndStop(sort_panty);
_root.d_panty.gotoAndStop(sort_panty);
_root.d_hair._visible = false;
_root.d_up._visible = false;
_root.d_low._visible = false;
_root.d_panty._visible = true;
_root.d_shoe._visible = false;
_root.d_prop._visible = false;
_root.item_had._visible = false;
sort_sel = 4;
_root.store_sel._x = 586;
}
}
button 2186 {
on (release) {
var tem_num;
tem_num = sort_shoe;
sort_shoe = 31;
load_temp = 1;
while (load_temp < tem_num) {
if (ee[load_temp] != 1) {
sort_shoe = load_temp;
}
++load_temp;
}
_root.store_cost.text = 5000;
_root.b_shoe.gotoAndStop(sort_shoe);
_root.d_shoe.gotoAndStop(sort_shoe);
_root.d_hair._visible = false;
_root.d_up._visible = false;
_root.d_low._visible = false;
_root.d_panty._visible = false;
_root.d_shoe._visible = true;
_root.d_prop._visible = false;
_root.item_had._visible = false;
sort_sel = 5;
_root.store_sel._x = 725;
}
}
button 2187 {
on (release) {
var tem_num;
tem_num = sort_prop;
sort_prop = 31;
load_temp = 1;
while (load_temp < tem_num) {
if (ff[load_temp] != 1) {
sort_prop = load_temp;
}
++load_temp;
}
_root.store_cost.text = 8000;
_root.b_prop.gotoAndStop(sort_prop);
_root.d_prop.gotoAndStop(sort_prop);
_root.d_hair._visible = false;
_root.d_up._visible = false;
_root.d_low._visible = false;
_root.d_panty._visible = false;
_root.d_shoe._visible = false;
_root.d_prop._visible = true;
_root.item_had._visible = false;
sort_sel = 6;
_root.store_sel._x = 862;
}
}
button 2188 {
on (release) {
var tem_num;
tem_num = sort_hair;
sort_hair = 31;
load_temp = 15;
while (load_temp > tem_num) {
if (aa[load_temp] != 1) {
sort_hair = load_temp;
}
--load_temp;
}
_root.store_cost.text = 5000;
_root.b_hair.gotoAndStop(sort_hair);
_root.d_hair.gotoAndStop(sort_hair);
_root.d_hair._visible = true;
_root.d_up._visible = false;
_root.d_low._visible = false;
_root.d_panty._visible = false;
_root.d_shoe._visible = false;
_root.d_prop._visible = false;
_root.item_had._visible = false;
sort_sel = 1;
_root.store_sel._x = 171;
}
}
button 2189 {
on (release) {
var tem_num;
tem_num = sort_up;
sort_up = 31;
load_temp = 15;
while (load_temp > tem_num) {
if (bb[load_temp] != 1) {
sort_up = load_temp;
}
--load_temp;
}
_root.store_cost.text = 4000;
_root.b_up.gotoAndStop(sort_up);
_root.d_up.gotoAndStop(sort_up);
_root.d_hair._visible = false;
_root.d_up._visible = true;
_root.d_low._visible = false;
_root.d_panty._visible = false;
_root.d_shoe._visible = false;
_root.d_prop._visible = false;
_root.item_had._visible = false;
sort_sel = 2;
_root.store_sel._x = 310;
}
}
button 2190 {
on (release) {
var tem_num;
tem_num = sort_low;
sort_low = 31;
load_temp = 23;
while (load_temp > tem_num) {
if (cc[load_temp] != 1) {
sort_low = load_temp;
}
--load_temp;
}
_root.store_cost.text = 3500;
_root.b_low.gotoAndStop(sort_low);
_root.d_low.gotoAndStop(sort_low);
_root.d_hair._visible = false;
_root.d_up._visible = false;
_root.d_low._visible = true;
_root.d_panty._visible = false;
_root.d_shoe._visible = false;
_root.d_prop._visible = false;
_root.item_had._visible = false;
sort_sel = 3;
_root.store_sel._x = 447;
}
}
button 2191 {
on (release) {
var tem_num;
tem_num = sort_panty;
sort_panty = 31;
load_temp = 24;
while (load_temp > tem_num) {
if (dd[load_temp] != 1) {
sort_panty = load_temp;
}
--load_temp;
}
_root.store_cost.text = 4500;
_root.b_panty.gotoAndStop(sort_panty);
_root.d_panty.gotoAndStop(sort_panty);
_root.d_hair._visible = false;
_root.d_up._visible = false;
_root.d_low._visible = false;
_root.d_panty._visible = true;
_root.d_shoe._visible = false;
_root.d_prop._visible = false;
_root.item_had._visible = false;
sort_sel = 4;
_root.store_sel._x = 586;
}
}
button 2192 {
on (release) {
var tem_num;
tem_num = sort_shoe;
sort_shoe = 31;
load_temp = 15;
while (load_temp > tem_num) {
if (ee[load_temp] != 1) {
sort_shoe = load_temp;
}
--load_temp;
}
_root.store_cost.text = 5000;
_root.b_shoe.gotoAndStop(sort_shoe);
_root.d_shoe.gotoAndStop(sort_shoe);
_root.d_hair._visible = false;
_root.d_up._visible = false;
_root.d_low._visible = false;
_root.d_panty._visible = false;
_root.d_shoe._visible = true;
_root.d_prop._visible = false;
_root.item_had._visible = false;
sort_sel = 5;
_root.store_sel._x = 725;
}
}
button 2193 {
on (release) {
var tem_num;
tem_num = sort_prop;
sort_prop = 31;
load_temp = 14;
while (load_temp > tem_num) {
if (ff[load_temp] != 1) {
sort_prop = load_temp;
}
--load_temp;
}
_root.store_cost.text = 8000;
_root.b_prop.gotoAndStop(sort_prop);
_root.d_prop.gotoAndStop(sort_prop);
_root.d_hair._visible = false;
_root.d_up._visible = false;
_root.d_low._visible = false;
_root.d_panty._visible = false;
_root.d_shoe._visible = false;
_root.d_prop._visible = true;
_root.item_had._visible = false;
sort_sel = 6;
_root.store_sel._x = 862;
}
}
button 2194 {
on (release) {
if (_root.item_had._visible == false) {
switch (sort_sel) {
case 1:
if (sort_hair != 31) {
if (money > 5000) {
money -= 5000;
aa[sort_hair] = 1;
_root.item_had._visible = true;
_root.item_had.gotoAndPlay(1);
} else {
_root.hint01.play();
}
}
break;
case 2:
if (sort_up != 31) {
if (money > 4000) {
money -= 4000;
bb[sort_up] = 1;
_root.item_had._visible = true;
_root.item_had.gotoAndPlay(1);
} else {
_root.hint01.play();
}
}
break;
case 3:
if (sort_low != 31) {
if (money > 3500) {
money -= 3500;
cc[sort_low] = 1;
_root.item_had._visible = true;
_root.item_had.gotoAndPlay(1);
} else {
_root.hint01.play();
}
}
break;
case 4:
if (sort_panty != 31) {
if (money > 4500) {
money -= 4500;
dd[sort_panty] = 1;
_root.item_had._visible = true;
_root.item_had.gotoAndPlay(1);
} else {
_root.hint01.play();
}
}
break;
case 5:
if (sort_shoe != 31) {
if (money > 5000) {
money -= 5000;
ee[sort_shoe] = 1;
_root.item_had._visible = true;
_root.item_had.gotoAndPlay(1);
} else {
_root.hint01.play();
}
}
break;
case 6:
if (sort_prop != 31) {
if (money > 8000) {
money -= 8000;
ff[sort_prop] = 1;
_root.item_had._visible = true;
_root.item_had.gotoAndPlay(1);
} else {
_root.hint01.play();
}
}
}
_root.store_money.text = money;
aas = '';
bbs = '';
ccs = '';
dds = '';
ees = '';
ffs = '';
game_record = SharedObject.getLocal('7th_dream_cgf');
load_temp = 0;
while (load_temp <= 30) {
aas += String(aa[load_temp]);
bbs += String(bb[load_temp]);
ccs += String(cc[load_temp]);
dds += String(dd[load_temp]);
ees += String(ee[load_temp]);
ffs += String(ff[load_temp]);
++load_temp;
}
game_record.data.aas = aas;
game_record.data.bbs = bbs;
game_record.data.ccs = ccs;
game_record.data.dds = dds;
game_record.data.ees = ees;
game_record.data.ffs = ffs;
game_record.data.money = money;
game_record.data.win_num = win_num;
game_record.data.lose_num = lose_num;
game_record.data.saved = true;
game_record.flush();
}
}
}
button 2195 {
on (release) {
play();
}
}
movieClip 2203 {
frame 24 {
stop();
}
}
movieClip 2205 {
frame 1 {
stop();
}
}
frame 140 {
bgm.stop();
bgm.attachSound('music_store');
bgm.start(0, 999);
_root.d_up._visible = false;
_root.d_low._visible = false;
_root.d_panty._visible = false;
_root.d_shoe._visible = false;
_root.d_prop._visible = false;
_root.item_had._visible = false;
_root.store_money.text = money;
var sort_sel;
sort_sel = 1;
var sort_hair;
sort_hair = 31;
var sort_up;
sort_up = 31;
var sort_low;
sort_low = 31;
var sort_panty;
sort_panty = 31;
var sort_shoe;
sort_shoe = 31;
var sort_prop;
sort_prop = 31;
load_temp = 1;
while (load_temp <= 15) {
if (aa[load_temp] != 1) {
sort_hair = load_temp;
}
++load_temp;
}
load_temp = 1;
while (load_temp <= 15) {
if (bb[load_temp] != 1) {
sort_up = load_temp;
}
++load_temp;
}
load_temp = 1;
while (load_temp <= 23) {
if (cc[load_temp] != 1) {
sort_low = load_temp;
}
++load_temp;
}
load_temp = 1;
while (load_temp <= 24) {
if (dd[load_temp] != 1) {
sort_panty = load_temp;
}
++load_temp;
}
load_temp = 1;
while (load_temp <= 15) {
if (ee[load_temp] != 1) {
sort_shoe = load_temp;
}
++load_temp;
}
load_temp = 1;
while (load_temp <= 14) {
if (ff[load_temp] != 1) {
sort_prop = load_temp;
}
++load_temp;
}
_root.h_s.text = sort_hair;
_root.b_hair.gotoAndStop(sort_hair);
_root.d_hair.gotoAndStop(sort_hair);
_root.b_up.gotoAndStop(sort_up);
_root.b_low.gotoAndStop(sort_low);
_root.b_panty.gotoAndStop(sort_panty);
_root.b_shoe.gotoAndStop(sort_shoe);
_root.b_prop.gotoAndStop(sort_prop);
}
frame 143 {
stop();
}
frame 149 {
bgm.stop();
bgm.attachSound('music_main');
bgm.start(0, 999);
gotoAndPlay(4);
}
frame 151 {
bgm.stop();
bgm.attachSound('music_play');
bgm.start(0, 999);
}
frame 155 {
stop();
}
frame 161 {
bgm.stop();
bgm.attachSound('music_main');
bgm.start(0, 999);
gotoAndPlay(4);
}