From 87cd9885a9f8b38a76ab6add4a634e2a8a4837ee Mon Sep 17 00:00:00 2001 From: Seth Barberee Date: Thu, 31 Dec 2020 18:30:16 -0600 Subject: Friend Area Decomp Work (#15) split out and work on friend area stuff --- include/friend_area.h | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 include/friend_area.h (limited to 'include/friend_area.h') 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 -- cgit v1.2.3