summaryrefslogtreecommitdiff
path: root/include/item_menu.h
diff options
context:
space:
mode:
authorCameron Hall <camthesaxman@users.noreply.github.com>2017-08-22 15:33:38 -0500
committerGitHub <noreply@github.com>2017-08-22 15:33:38 -0500
commit46ca339a3a8d44ae199228e2e4198daa9d337efb (patch)
tree152f0292a9f382f9f2ac545e605e2eecc95ae1f6 /include/item_menu.h
parent3e7bdf4f5fd54676c6f965325ec5b67d3d8b3eef (diff)
parent20594938e275bd3d6ec6f38b42400eaac79fa86e (diff)
Merge branch 'master' into decompile_battle_5
Diffstat (limited to 'include/item_menu.h')
-rw-r--r--include/item_menu.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/item_menu.h b/include/item_menu.h
index 6950ed0ff..29618f347 100644
--- a/include/item_menu.h
+++ b/include/item_menu.h
@@ -3,6 +3,17 @@
#include "string_util.h"
+struct PocketScrollState
+{
+ u8 cursorPos;
+ u8 scrollTop;
+ u8 numSlots;
+ u8 cursorMax;
+};
+
+extern struct PocketScrollState gBagPocketScrollStates[];
+extern struct ItemSlot *gCurrentBagPocketItemSlots;
+
void ResetBagScrollPositions(void);
void ClearBag(void);
void sub_80A3E0C(void);