mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-06-03 05:59:40 -05:00
Fix bit check
This commit is contained in:
parent
2b6fb05c77
commit
47b4d6edd0
|
|
@ -87,8 +87,8 @@ public void getPouch7(ref byte[] Data)
|
|||
{
|
||||
Index = (int)(val & 0x3FF),
|
||||
Count = (int)(val >> 10 & 0x3FF),
|
||||
New = (val & 0x40000000) == 1, // 30th bit is "NEW"
|
||||
FreeSpace = (val & 0x100000) == 1, // 22th bit is "FREE SPACE"
|
||||
New = (val & 0x40000000) != 0, // 30th bit is "NEW"
|
||||
FreeSpace = (val & 0x100000) != 0, // 22th bit is "FREE SPACE"
|
||||
};
|
||||
}
|
||||
Items = items;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user