summaryrefslogtreecommitdiff
path: root/include/berry_pouch.h
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2019-09-30 20:58:29 -0400
committerPikalaxALT <pikalaxalt@gmail.com>2019-09-30 20:58:29 -0400
commitbeedb8d73f40b045906f521b48f40367697b6ebb (patch)
treed3af7873163f4347dbf1a5eb720c48d0bab26746 /include/berry_pouch.h
parent8eea5b6d750a629c14a152c240f84b02b5e4f0c6 (diff)
Tidy global namespace and document
Diffstat (limited to 'include/berry_pouch.h')
-rw-r--r--include/berry_pouch.h17
1 files changed, 14 insertions, 3 deletions
diff --git a/include/berry_pouch.h b/include/berry_pouch.h
index 58f58fd99..cd9866d81 100644
--- a/include/berry_pouch.h
+++ b/include/berry_pouch.h
@@ -3,10 +3,21 @@
#include "task.h"
+enum BerryPouchType
+{
+ BERRYPOUCH_FROMFIELD,
+ BERRYPOUCH_FROMPARTYGIVE,
+ BERRYPOUCH_FROMMARTSELL,
+ BERRYPOUCH_FROMPOKEMONSTORAGEPC,
+ BERRYPOUCH_FROMBATTLE,
+ BERRYPOUCH_FROMBERRYCRUSH,
+ BERRYPOUCH_NA
+};
+
void BerryPouch_StartFadeToExitCallback(u8 taskId);
-void BerryPouch_SetExitCallback(void (*)(void));
-void InitBerryPouch(u8, void (*)(void), u8);
+void BerryPouch_SetExitCallback(void (*exitCallback)(void));
+void InitBerryPouch(u8 type, void (*savedCallback)(void), u8 allowSelect);
void DisplayItemMessageInBerryPouch(u8 taskId, u8 fontId, const u8 * str, TaskFunc followUpFunc);
-void sub_813E2B8(u8 taskId);
+void Task_BerryPouch_DestroyDialogueWindowAndRefreshListMenu(u8 taskId);
#endif //GUARD_BERRY_POUCH_H