mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-10-02 04:29:05 -05:00
Merge pull request #898 from pokecal/master
Fix Gen7 freespace-inventory flags
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user