diff options
author | Cameron Hall <camthesaxman@users.noreply.github.com> | 2017-09-08 19:11:14 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-08 19:11:14 -0500 |
commit | 4e64934d5ff4d2f58d7b9d00c047cad2a06104aa (patch) | |
tree | e0f3b15432a7cd921b56bf91b8302de65516f184 /include/pokemon_menu.h | |
parent | 76320b6f84b61807e5265fe1e972e56ae9b4b6e3 (diff) | |
parent | 8d48b463ec11099fdc21ad8b709503e4b8e24f4c (diff) |
Merge pull request #424 from DizzyEggg/decompile_pokemon_menu
decompile pokemon menu
Diffstat (limited to 'include/pokemon_menu.h')
-rw-r--r-- | include/pokemon_menu.h | 42 |
1 files changed, 37 insertions, 5 deletions
diff --git a/include/pokemon_menu.h b/include/pokemon_menu.h index fc43a44c6..7dfa1c183 100644 --- a/include/pokemon_menu.h +++ b/include/pokemon_menu.h @@ -1,15 +1,47 @@ #ifndef GUARD_POKEMON_MENU_H #define GUARD_POKEMON_MENU_H +#define POKEMENU_FIRST_FIELD_MOVE_ID 10 + +enum +{ + POKEMENU_SUMMARY, // 0 + POKEMENU_SWITCH, // 1 + POKEMENU_ITEM, // 2 + POKEMENU_CANCEL, // 3 + POKEMENU_GIVE_ITEM, // 4 + POKEMENU_TAKE_ITEM, // 5 + POKEMENU_TAKE_MAIL, // 6 + POKEMENU_MAIL, // 7 + POKEMENU_READ_MAIL, // 8 + POKEMENU_CANCEL_SUBMENU, // 9 + POKEMENU_CUT, // 10 + POKEMENU_FLASH, // 11 + POKEMENU_ROCK_SMASH, // 12 + POKEMENU_STRENGTH, // 13 + POKEMENU_SURF, // 14 + POKEMENU_FLY, // 15 + POKEMENU_DIVE, // 16 + POKEMENU_WATERFALL, // 17 + POKEMENU_TELEPORT, // 18 + POKEMENU_DIG, // 19 + POKEMENU_SECRET_POWER, // 20 + POKEMENU_MILK_DRINK, // 21 + POKEMENU_SOFT_BOILED, // 22 + POKEMENU_SWEET_SCENT, // 23 +}; + +extern u8 gLastFieldPokeMenuOpened; +extern void (*gUnknown_03005CE4)(void); + +void sub_808B5B4(u32 taskID); void sub_8089A70(void); -void sub_808A004(); -void sub_808AB90(void); -void sub_808AB90(void); // unknown args +void sub_808A004(u8 taskID); void sub_808AB90(void); void sub_808AD58(void); void sub_808B020(void); -void sub_808B0C0(u8); +void sub_808B0C0(u8 taskID); void sub_808B508(u8); -void sub_808B564(); +void sub_808B564(void); #endif // GUARD_POKEMON_MENU_H |