use game implementation for stack item limits

This commit is contained in:
Martin Michelsen
2022-05-15 21:01:06 -07:00
parent e9109a6877
commit e853ebf021
4 changed files with 38 additions and 33 deletions
+4
View File
@@ -10,6 +10,10 @@ struct RareItemDrop {
} __attribute__((packed));
struct RareItemSet {
// TODO: It looks like this structure can actually vary. We see the offsets
// 0194 and 01B2 in the unused section, along with the value 1E (number of box
// rares). In PSOGC, these all appear to be the same size/format, but that's
// probably not strictly required to be the case.
// 0x280 in size; describes one difficulty, section ID, and episode
RareItemDrop rares[0x65]; // 0000 - 0194 in file
uint8_t box_areas[0x1E]; // 0194 - 01B2 in file