diff options
author | DizzyEggg <jajkodizzy@wp.pl> | 2018-11-18 19:37:18 +0100 |
---|---|---|
committer | DizzyEggg <jajkodizzy@wp.pl> | 2018-11-18 19:37:18 +0100 |
commit | 7ce3473b0e5858b98a2ac1c393dc46c54ecfdf22 (patch) | |
tree | a8d3b0116a98ee22b75ebd3e7c9e2618d41fcd62 /src/load_save.c | |
parent | 032dd251e628debd1ec7774fa42b6e7d39b3d83b (diff) |
Clean up save related files
Diffstat (limited to 'src/load_save.c')
-rw-r--r-- | src/load_save.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/load_save.c b/src/load_save.c index 45b4d200b..960a98981 100644 --- a/src/load_save.c +++ b/src/load_save.c @@ -6,14 +6,15 @@ #include "random.h" #include "malloc.h" #include "item.h" +#include "overworld.h" +#include "decoration_inventory.h" + +static void ApplyNewEncryptionKeyToAllEncryptedData(u32 encryptionKey); extern void* gUnknown_0203CF5C; extern bool16 IdentifyFlash(void); -extern void SetDecorationInventoriesPointers(void); -extern void ApplyNewEncryptionKeyToGameStats(u32 key); extern void ApplyNewEncryptionKeyToBerryPowder(u32 key); -extern void sub_8084FAC(int unused); #define SAVEBLOCK_MOVE_RANGE 128 @@ -286,7 +287,7 @@ void ApplyNewEncryptionKeyToWord(u32 *word, u32 newKey) *word ^= newKey; } -void ApplyNewEncryptionKeyToAllEncryptedData(u32 encryptionKey) +static void ApplyNewEncryptionKeyToAllEncryptedData(u32 encryptionKey) { ApplyNewEncryptionKeyToGameStats(encryptionKey); ApplyNewEncryptionKeyToBagItems_(encryptionKey); |