diff options
author | Meowsy <Meowsy@users.noreply.github.com> | 2018-12-10 04:32:00 -0500 |
---|---|---|
committer | Meowsy <Meowsy@users.noreply.github.com> | 2018-12-10 04:33:29 -0500 |
commit | e143804af010b52d5723be3b583435e71e99f07f (patch) | |
tree | cb9da3700be75056912341fdf72b1a54cbfc1771 /include | |
parent | 6068495619364c8e0ccae15ad036a1b5a9eef171 (diff) |
Document pocket magic numbers.
Diffstat (limited to 'include')
-rw-r--r-- | include/item_menu.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/include/item_menu.h b/include/item_menu.h index 649eb934c..e8fc4c398 100644 --- a/include/item_menu.h +++ b/include/item_menu.h @@ -1,6 +1,8 @@ #ifndef GUARD_item_menu_H #define GUARD_item_menu_H +#include "item.h" + // Exported type declarations struct BagStruct { @@ -8,8 +10,8 @@ struct BagStruct u8 location; u8 pocket; u16 unk6; - u16 cursorPosition[5]; - u16 scrollPosition[5]; + u16 cursorPosition[POCKETS_COUNT]; + u16 scrollPosition[POCKETS_COUNT]; }; extern struct BagStruct gUnknown_0203CE58; @@ -36,7 +38,7 @@ struct UnkBagStruct u8 unk825; u8 filler[2]; u8 unk828; - u8 unk829[5]; + u8 unk829[POCKETS_COUNT]; u8 unk82E[6]; s16 unk834; u8 filler4[0xE]; |