mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-07-31 02:06:07 -05:00
Remove invalid pk sizes
export always is in list format for gen1/2, these were introduced in
9b6552d314
which was an incorrect 'fix' for getting files dumped from dumpBoxesToDB
to show up in SAV_Database. This underlying issue has been resolved with
the two previous commits.
This commit is contained in:
parent
b2860ea3de
commit
822fc47dc4
|
|
@ -33,13 +33,9 @@ public static int getPKMDataFormat(byte[] data)
|
|||
{
|
||||
case PKX.SIZE_1JLIST:
|
||||
case PKX.SIZE_1ULIST:
|
||||
case PKX.SIZE_1PARTY:
|
||||
case PKX.SIZE_1STORED:
|
||||
return 1;
|
||||
case PKX.SIZE_2ULIST:
|
||||
case PKX.SIZE_2JLIST:
|
||||
case PKX.SIZE_2PARTY:
|
||||
case PKX.SIZE_2STORED:
|
||||
return 2;
|
||||
case PKX.SIZE_3PARTY:
|
||||
case PKX.SIZE_3STORED:
|
||||
|
|
|
|||
|
|
@ -45,8 +45,8 @@ public static bool getIsPKM(long len)
|
|||
{
|
||||
return new[]
|
||||
{
|
||||
SIZE_1JLIST, SIZE_1ULIST, SIZE_1PARTY, SIZE_1STORED,
|
||||
SIZE_2ULIST, SIZE_2JLIST, SIZE_2PARTY, SIZE_2STORED,
|
||||
SIZE_1JLIST, SIZE_1ULIST,
|
||||
SIZE_2ULIST, SIZE_2JLIST,
|
||||
SIZE_3STORED, SIZE_3PARTY,
|
||||
SIZE_4STORED, SIZE_4PARTY,
|
||||
SIZE_5PARTY,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user