mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-10-02 01:38:07 -05:00
Gen7 update
Never added wc7 extensions; drag&drop use MysteryGift extension instead of hardcoded .wc6
This commit is contained in:
@@ -125,6 +125,8 @@ private string getFilter()
|
||||
return "Gen5 Mystery Gift|*.pgf|All Files|*.*";
|
||||
case 6:
|
||||
return "Gen6 Mystery Gift|*.wc6;*.wc6full|All Files|*.*";
|
||||
case 7:
|
||||
return "Gen7 Mystery Gift|*.wc7;*.wc7full|All Files|*.*";
|
||||
default:
|
||||
return "";
|
||||
}
|
||||
@@ -382,7 +384,7 @@ private void pbBoxSlot_MouseDown(object sender, MouseEventArgs e)
|
||||
|
||||
// Prepare Data
|
||||
MysteryGift card = mga.Gifts[index];
|
||||
string filename = Util.CleanFileName($"{card.CardID:0000} - {card.CardTitle}.wc6");
|
||||
string filename = Util.CleanFileName($"{card.CardID:0000} - {card.CardTitle}.{card.Extension}");
|
||||
|
||||
// Make File
|
||||
string newfile = Path.Combine(Path.GetTempPath(), Util.CleanFileName(filename));
|
||||
|
||||
Reference in New Issue
Block a user