diff options
author | SatoMew <SatoMew@users.noreply.github.com> | 2019-10-08 22:46:32 +0100 |
---|---|---|
committer | SatoMew <SatoMew@users.noreply.github.com> | 2019-10-08 22:46:32 +0100 |
commit | 2c254082de042dde46cee9d2da2d9bb1bc340905 (patch) | |
tree | af99bcac2c6fece9523b12dbabe4128ec26f6fc9 /include/berry_pouch.h | |
parent | 78558b07b0983b6b8b06085933fdf66b801658e9 (diff) | |
parent | 2a7205dec677c98d087cb8ba191370de464c8bf0 (diff) |
Merge branch 'master' of https://github.com/pret/pokefirered
Diffstat (limited to 'include/berry_pouch.h')
-rw-r--r-- | include/berry_pouch.h | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/include/berry_pouch.h b/include/berry_pouch.h index 8e652225b..f478ff194 100644 --- a/include/berry_pouch.h +++ b/include/berry_pouch.h @@ -3,10 +3,22 @@ #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 DisplayItemMessageInBerryPouch(u8 taskId, u8 bgId, const u8 * str, TaskFunc followUpFunc); -void sub_813E2B8(u8 taskId); +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 Task_BerryPouch_DestroyDialogueWindowAndRefreshListMenu(u8 taskId); +void BerryPouch_CursorResetToTop(void); #endif //GUARD_BERRY_POUCH_H |