summaryrefslogtreecommitdiff
path: root/src/load_save.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/load_save.c')
-rw-r--r--src/load_save.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/load_save.c b/src/load_save.c
index da55869aa..8d09a86a8 100644
--- a/src/load_save.c
+++ b/src/load_save.c
@@ -7,7 +7,7 @@
#include "malloc.h"
#include "item.h"
-extern void sub_8099E44(void);
+extern void SetBagPocketsPointers(void);
extern void sub_8110840(void *oldSave);
extern void sub_8055778(int);
extern void sub_8054F38(u32 newKey);
@@ -80,7 +80,7 @@ void SetSaveBlocksPointers(void)
*sav1_LocalVar = (void*)(&gSaveBlock1) + offset;
gPokemonStoragePtr = (void*)(&gPokemonStorage) + offset;
- sub_8099E44();
+ SetBagPocketsPointers();
sub_8110840(oldSave);
}
@@ -287,7 +287,7 @@ void ApplyNewEncryptionKeyToAllEncryptedData(u32 encryptionKey)
int i;
for(i = 0; i < 4; i++)
- ApplyNewEncryptionKeyToWord(&gSaveBlock1Ptr->unkArray[i][1], encryptionKey);
+ ApplyNewEncryptionKeyToWord(&gSaveBlock1Ptr->unkArray[i].unk4, encryptionKey);
sub_8054F38(encryptionKey);
ApplyNewEncryptionKeyToBagItems_(encryptionKey);