diff options
author | Cameron Hall <camthesaxman@users.noreply.github.com> | 2017-08-24 18:28:41 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-24 18:28:41 -0500 |
commit | 2f6f980ecab39855a360648491b3b55a87f48efa (patch) | |
tree | 50e8e23b42a3fe1964aa16a5640c5a6fa6e74b38 /include/pokeblock.h | |
parent | 83d23916b9931a981fd969e165bb471710d77b00 (diff) | |
parent | 8eb47079f9c339f43f4b7d8dee494b495f799de1 (diff) |
Merge pull request #408 from DizzyEggg/decompile_pokeblock_feed
decompile pokeblock feed
Diffstat (limited to 'include/pokeblock.h')
-rw-r--r-- | include/pokeblock.h | 26 |
1 files changed, 22 insertions, 4 deletions
diff --git a/include/pokeblock.h b/include/pokeblock.h index f78ed40c3..6720653a0 100644 --- a/include/pokeblock.h +++ b/include/pokeblock.h @@ -1,7 +1,8 @@ #ifndef GUARD_POKEBLOCK_H #define GUARD_POKEBLOCK_H -enum { +enum +{ PBLOCK_CLR_BLACK, PBLOCK_CLR_RED, PBLOCK_CLR_BLUE, @@ -10,15 +11,32 @@ enum { PBLOCK_CLR_YELLOW }; +enum +{ + PBLOCK_COLOR, + PBLOCK_SPICY, + PBLOCK_DRY, + PBLOCK_SWEET, + PBLOCK_BITTER, + PBLOCK_SOUR, + PBLOCK_FEEL, +}; + void sub_810B96C(void); u8 sub_810BA50(s16, s16, u8); u8 sub_810C9B0(struct Pokeblock *); -s16 sub_810CA9C(const struct Pokeblock *, u8); +s16 GetPokeblockData(const struct Pokeblock *, u8); u8 sub_810C9E8(struct Pokeblock *); void sub_810BA7C(u8); void ClearPokeblocks(void); -bool8 sub_810CA6C(u8); -s16 sub_810CAE4(u8, const struct Pokeblock *); +bool8 PokeblockClearIfExists(u8); +s16 PokeblockGetGain(u8, const struct Pokeblock *); u8 sub_810CB68(u8, u8*); +void PokeblockCopyName(struct Pokeblock *pokeblock, u8 *dest); +void CB2_PreparePokeblockFeedScene(void); + +#include "main.h" + +void sub_8136130(struct Pokeblock *, MainCallback); #endif // GUARD_POKEBLOCK_H |