mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-11-16 19:47:35 +01:00
35 lines
1.0 KiB
C
35 lines
1.0 KiB
C
#ifndef GUARD_LOAD_SAVE_H
|
|
#define GUARD_LOAD_SAVE_H
|
|
|
|
extern struct SaveBlock1 gSaveblock1;
|
|
extern struct SaveBlock2 gSaveblock2;
|
|
extern struct PokemonStorage gPokemonStorage;
|
|
|
|
extern bool32 gFlashMemoryPresent;
|
|
extern struct SaveBlock1 *gSaveBlock1Ptr;
|
|
extern struct SaveBlock2 *gSaveBlock2Ptr;
|
|
extern struct PokemonStorage *gPokemonStoragePtr;
|
|
|
|
void CheckForFlashMemory(void);
|
|
void ClearSav2(void);
|
|
void ClearSav1(void);
|
|
void SetSaveBlocksPointers(u16 offset);
|
|
void MoveSaveBlocks_ResetHeap(void);
|
|
u32 UseContinueGameWarp(void);
|
|
void ClearContinueGameWarpStatus(void);
|
|
void SetContinueGameWarpStatus(void);
|
|
void SetContinueGameWarpStatusToDynamicWarp(void);
|
|
void ClearContinueGameWarpStatus2(void);
|
|
void SavePlayerParty(void);
|
|
void LoadPlayerParty(void);
|
|
void SaveObjectEvents(void);
|
|
void LoadObjectEvents(void);
|
|
void SaveSerializedGame(void);
|
|
void LoadSerializedGame(void);
|
|
void LoadPlayerBag(void);
|
|
void SavePlayerBag(void);
|
|
void ApplyNewEncryptionKeyToHword(u16 *hWord, u32 newKey);
|
|
void ApplyNewEncryptionKeyToWord(u32 *word, u32 newKey);
|
|
|
|
#endif // GUARD_LOAD_SAVE_H
|