diff options
author | Seth Barberee <seth.barberee@gmail.com> | 2021-03-23 12:11:10 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-23 12:11:10 -0500 |
commit | 2fd4f339b42c010191c199772b09ac34c580de94 (patch) | |
tree | e562899f35861ece70c292602fe6aac2f50906bf /include/rescue_team_info.h | |
parent | 7b142311a7294c4c7a943870fa5f24f0fbea604a (diff) |
Miscellaneous Work (Again) (#31)
* move some personality data from asm to C
* combine personality_test files and add my close attempt at RedrawPartnerSelectionMenu
* decomp some more wonder mail funcs and label some more data
* lots of data splitting and move some to src
* split out more dungeon data
* continue splitting out more dungeon data
* doc rescue team rank/pts funcs/data and exclusive pokemon ewram
* doc more sound things and decomp a func
* decomp LoadTeamRankBadge and label some data members
* split out rescue team and text util stuff
* forgot a constant
* match a few funcs and clean up a few
* cleaned up sub_80A28B4
Diffstat (limited to 'include/rescue_team_info.h')
-rw-r--r-- | include/rescue_team_info.h | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/include/rescue_team_info.h b/include/rescue_team_info.h new file mode 100644 index 0000000..5c0050a --- /dev/null +++ b/include/rescue_team_info.h @@ -0,0 +1,41 @@ +#ifndef RESCUE_TEAM_INFO_H +#define RESCUE_TEAM_INFO_H + +#define TEAM_NAME_LENGTH 10 + +enum TeamRanks +{ + NORMAL_RANK, + BRONZE_RANK, + SILVER_RANK, + GOLD_RANK, + PLATINUM_RANK, + DIAMOND_RANK, + LUCARIO_RANK, + MAX_TEAM_RANKS +}; + +struct RescueTeamData +{ + u8 teamName[TEAM_NAME_LENGTH]; + s32 teamRankPts; + u8 unk10; +}; + +void LoadRescueTeamInfo(void); +struct RescueTeamData *GetRescueTeamInfo(void); +void InitializeResuceTeamInfo(void); +void sub_80920B8(u8 *buffer); +void sub_80920D8(u8 *buffer); +void SetRescueTeamName(u8 *buffer); +s32 GetTeamRankPts(void); +s32 GetPtsToNextRank(void); +void SetTeamRankPoints(s32 newPts); +void AddToTeamRankPts(s32 newPts); +u8 GetRescueTeamRank(void); +const char *GetTeamRankString(u8 index); +u8 sub_80921B8(void); +u32 sub_80921C4(u8 *param_1,u32 param_2); +u32 sub_809222C(u8 *param_1, u32 param_2); + +#endif // RESCUE_TEAM_INFO_H |