mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-09-11 15:45:22 -05:00
Add party data editing for batch editor
functions properly for games without a party (RS BOX) by checking if a party exists if there's ever a game that doesn't have a box, it'll work for that too :P
This commit is contained in:
@@ -189,10 +189,20 @@ private void runBackgroundWorker()
|
||||
len = err = ctr = 0;
|
||||
if (RB_SAV.Checked)
|
||||
{
|
||||
var data = Main.SAV.BoxData;
|
||||
setupProgressBar(data.Length);
|
||||
processSAV(data, Filters, Instructions);
|
||||
Main.SAV.BoxData = data;
|
||||
if (Main.SAV.HasParty)
|
||||
{
|
||||
var data = Main.SAV.PartyData;
|
||||
setupProgressBar(data.Length);
|
||||
processSAV(data, Filters, Instructions);
|
||||
Main.SAV.PartyData = data;
|
||||
}
|
||||
if (Main.SAV.HasBox)
|
||||
{
|
||||
var data = Main.SAV.BoxData;
|
||||
setupProgressBar(data.Length);
|
||||
processSAV(data, Filters, Instructions);
|
||||
Main.SAV.BoxData = data;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user