summaryrefslogtreecommitdiff
path: root/include/unk_02029FB0.h
diff options
context:
space:
mode:
authorThomas <doodrabbit@hotmail.com>2021-12-17 20:57:03 -0500
committerGitHub <noreply@github.com>2021-12-17 20:57:03 -0500
commitaf67eaffa7ab1a347a6f0e59ed7f1e107749d15a (patch)
treeb9f90f7b047b3dc5a411dbf65117bf07b237a37d /include/unk_02029FB0.h
parent3ab18655ca1311019212b3a2a9dbe32e5fbee55d (diff)
parent44cd7753b5dde323d1e8274b2dc8a5599729e83f (diff)
Merge pull request #463 from PikalaxALT/pikalax_workHEADmaster
Real-match math_util.c
Diffstat (limited to 'include/unk_02029FB0.h')
-rw-r--r--include/unk_02029FB0.h22
1 files changed, 18 insertions, 4 deletions
diff --git a/include/unk_02029FB0.h b/include/unk_02029FB0.h
index 9ce6451d..e6fc813a 100644
--- a/include/unk_02029FB0.h
+++ b/include/unk_02029FB0.h
@@ -3,12 +3,26 @@
struct Pokedex;
-struct UnkStruct_02029FB0
+struct GameStats
{
- u8 unk[0x14C];
+ u32 unk_00[0x2C];
+ u16 unk_B0[0x4D];
};
-struct UnkStruct_02029FB0 * FUN_02029FC8(struct SaveBlock2 * sav2);
-void FUN_0202A1C4(struct UnkStruct_02029FB0 * unk, struct Pokedex * pokedex, u16 species);
+u32 Sav2_GameStats_sizeof(void);
+void Sav2_GameStats_init(struct GameStats * ptr);
+struct GameStats * Sav2_GameStats_get(struct SaveBlock2 * sav2);
+u32 GameStats_GetValue(struct GameStats * ptr, s32 a1);
+u32 GameStats_SetValue(struct GameStats * ptr, s32 a1, u32 a2);
+u32 GameStats_GetMaxValue(s32 a0);
+u16 GameStats_GetStdInc(s32 a0);
+u32 GameStats_SetCapped(struct GameStats * ptr, s32 a1, u32 a2);
+u32 GameStats_UpdateBounded(struct GameStats * ptr, s32 a1, u32 a2);
+u32 GameStats_Inc(struct GameStats * ptr, s32 a1);
+u32 GameStats_Add(struct GameStats * ptr, s32 a1, u32 a2);
+u32 GameStats_GetCapped(struct GameStats * ptr, s32 a1);
+u32 GameStats_AddSpecial(struct GameStats * ptr, s32 a1);
+u32 GameStats_GetStat0(struct GameStats * ptr);
+void GameStats_IncSpeciesCaught(struct GameStats * ptr, struct Pokedex * pokedex, u16 species);
#endif //POKEDIAMOND_UNK_02029FB0_H