diff options
author | Seth Barberee <seth.barberee@gmail.com> | 2021-06-09 22:54:21 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-09 22:54:21 -0500 |
commit | 377bd14ea67d6177250fb401e12d7dfcf44e2cf6 (patch) | |
tree | 5440970e02a7890791b234aa233e91e5c1d65b40 /include/friend_area.h | |
parent | eaa141c612dd1689936a21bd57018a55ff686b69 (diff) |
Dungeon pokemon/Floor ID JSON Part 1 (#39)
* move Thunderwave and Tiny Woods pokemon to json
* rule tweaking to actually build tool before parsing JSON
* delete .inc pokemon for tiny Woods and Thunderwave
* silence git complaining about br_ips and ips_patch
* use defines for species and pass the header file for species
* convert sinister woods
* convert MtThunderPeak
* convert silent chasm
* add trial floor_id w/ tiny woods
* change make rule name to fix compile
* MtSteel converted and bugfix
* convert few floor headers and great canyon pokemon
* code cleanup
* unify unkData into UnkTextStruct2
* more code cleanup and some text decomp
* doc more funcs and decomp/split some stuff
* document more save stuff
* more save work and move some data
* pika sniped UpdateNatureTotal
* decomp a litle and convert a few more dungeons
* better scanning for json files
* mt freeze and peak
Diffstat (limited to 'include/friend_area.h')
-rw-r--r-- | include/friend_area.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/friend_area.h b/include/friend_area.h index f85cb66..9933586 100644 --- a/include/friend_area.h +++ b/include/friend_area.h @@ -9,7 +9,7 @@ struct FriendAreaSettings }; void LoadFriendAreas(void); -u8 *GetBoughtFriendAreas(void); +bool8 *GetBoughtFriendAreas(void); void InitializeFriendAreas(void); u8 sub_80923D4(s32 target); bool8 HasAllFriendAreas(void); @@ -20,5 +20,7 @@ u8 GetFriendAreaUnlockCondition(u8 index); u32 GetFriendAreaPrice(u8 index); const char *GetFriendAreaName(u8 index); +u32 SaveFriendAreas(u8 *r0, u32 r1); +u32 ReadSavedFriendAreas(u8 *r0, s32 r1); #endif |