mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-07-31 06:46:14 -05:00
Merge pull request #898 from pokecal/master
Fix Gen7 freespace-inventory flags
This commit is contained in:
commit
b42504b2ff
|
|
@ -98,7 +98,7 @@ public void getPouch7(ref byte[] Data)
|
|||
Index = (int)(val & 0x3FF),
|
||||
Count = (int)(val >> 10 & 0x3FF),
|
||||
New = (val & 0x40000000) != 0, // 30th bit is "NEW"
|
||||
FreeSpace = (val & 0x100000) != 0, // 22th bit is "FREE SPACE"
|
||||
FreeSpace = (val >> 20 & 0x3FF) != 0, // "FREE SPACE" sortIndex
|
||||
};
|
||||
}
|
||||
Items = items;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user