mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-27 14:30:56 +00:00
Use correct filesize reference
This commit is contained in:
parent
a0a8dd0f91
commit
b97bee4412
1 changed files with 1 additions and 1 deletions
|
@ -176,7 +176,7 @@ namespace PKHeX.Core
|
||||||
|
|
||||||
public static bool IsStadium(byte[] data)
|
public static bool IsStadium(byte[] data)
|
||||||
{
|
{
|
||||||
if (data.Length != SaveUtil.SIZE_G1STAD)
|
if (data.Length != SaveUtil.SIZE_G2STAD)
|
||||||
return false;
|
return false;
|
||||||
return StadiumUtil.IsMagicPresentEither(data, TeamSize, MAGIC_FOOTER);
|
return StadiumUtil.IsMagicPresentEither(data, TeamSize, MAGIC_FOOTER);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue