diff options
author | Seth Barberee <seth.barberee@gmail.com> | 2020-12-31 18:30:16 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-31 18:30:16 -0600 |
commit | 87cd9885a9f8b38a76ab6add4a634e2a8a4837ee (patch) | |
tree | 9e7e3352cc63bf5665d192c8ebbdfd6032641f74 /include/friend_area.h | |
parent | 01ec8edb40c0662863e2fd14395a057be852e060 (diff) |
Friend Area Decomp Work (#15)
split out and work on friend area stuff
Diffstat (limited to 'include/friend_area.h')
-rw-r--r-- | include/friend_area.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/include/friend_area.h b/include/friend_area.h new file mode 100644 index 0000000..a1234a7 --- /dev/null +++ b/include/friend_area.h @@ -0,0 +1,28 @@ +#ifndef GUARD_FRIEND_AREA_H +#define GUARD_FRIEND_AREA_H + +struct FriendAreaSettings +{ + s16 num_pokemon; + u8 unlock_condition; + // 0 - Shop (Story) + // 1 - Shop (Story Post-game) + // 2 - Wonder Mail + // 3 - Legendary Request (unlocks when lengendary joins) + u32 price; +}; + +void LoadFriendAreas(void); +u8 *GetBoughtFriendAreas(void); +void InitializeFriendAreas(void); +u8 sub_80923D4(s32 target); +bool8 HasAllFriendAreas(void); +bool8 GetFriendAreaStatus(u8 index); +void UnlockFriendArea(u8 index); +u32 GetFriendAreaDescription(u8 index); +u8 GetFriendAreaUnlockCondition(u8 index); +u32 GetFriendAreaPrice(u8 index); +const char *GetFriendAreaName(u8 index); + + +#endif |