fix ignore town bug

rabi_display
Copy Liu 8 years ago
parent 816d55b6f8
commit ca15b7e616
No known key found for this signature in database
GPG Key ID: 63A453DBF23409AF
  1. 18
      rabiribi_splitter/Form1.cs

@ -185,13 +185,8 @@ namespace rabiribi_splitter
}
if (!bossbattle)
{
if (mapid == 5 && cbSideCh.Checked)
{
bossbattle = false;
DebugLog("boss music in town, ignore");
}
else if (cbASG.Checked && musicid==54)
if (cbASG.Checked && musicid == 54)
{
bossbattle = false;
DebugLog("Alius music, ignore once");
@ -200,6 +195,14 @@ namespace rabiribi_splitter
else
{
if (bossmusicflag)
{
if (mapid == 5 && musicid == 44 && cbSideCh.Checked )
{
bossbattle = false;
DebugLog("sidechapter, ignore");
}
else
{
bossbattle = true;
lastbosslist = new List<int>();
@ -212,6 +215,7 @@ namespace rabiribi_splitter
}
}
}
}
else
{
if (!bossmusicflag) //boss music end!
@ -292,7 +296,7 @@ namespace rabiribi_splitter
bossbattle = false;
}
}
if (cbTM.Checked)
if (cbTM.Checked && musicid==8)
{
bool f = true;
foreach (var boss in lastbosslist)

Loading…
Cancel
Save