summaryrefslogtreecommitdiff
path: root/include/save.h
diff options
context:
space:
mode:
authorgolem galvanize <golemgalvanize@github.com>2018-03-30 16:49:08 -0400
committergolem galvanize <golemgalvanize@github.com>2018-03-30 16:49:08 -0400
commit069a7e71fc8bd0886fe2d5c39bb96d8fee0d798b (patch)
tree191d39f28270fb43feaca1d128274ef317968869 /include/save.h
parent3006ff177b1020c0270ff33f48b3216c9d5381b1 (diff)
parenta5cd6e8ef4717aad4a055d5acb6ef250e359fc45 (diff)
Merge branch 'master' of https://github.com/pret/pokeemerald into decompile_pokedex
Diffstat (limited to 'include/save.h')
-rw-r--r--include/save.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/include/save.h b/include/save.h
index 3bd1ff8cf..f06db2955 100644
--- a/include/save.h
+++ b/include/save.h
@@ -47,19 +47,19 @@ enum
// Do save types
enum
{
- NORMAL_SAVE,
- LINK_SAVE,
- //EREADER_SAVE, // depreciated in Emerald
- LINK2_SAVE, // unknown 2nd link save
- HOF_SAVE,
- DIFFERENT_FILE_SAVE,
- HOF_DELETE_SAVE // unused
+ SAVE_NORMAL,
+ SAVE_LINK,
+ //EREADER_SAVE, // deprecated in Emerald
+ SAVE_LINK2, // unknown 2nd link save
+ SAVE_HALL_OF_FAME,
+ SAVE_OVERWRITE_DIFFERENT_FILE,
+ SAVE_HALL_OF_FAME_ERASE_BEFORE // unused
};
#define SECTION_ID_RECORDED_BATTLE 31
void ClearSaveData(void);
-void ResetSaveCounters(void);
+void Save_ResetSaveCounters(void);
bool32 SetDamagedSectorBits(u8 op, u8 bit);
u8 save_write_to_flash(u16 a1, const struct SaveSectionLocation *location);
u8 HandleWriteSector(u16 a1, const struct SaveSectionLocation *location);
@@ -88,7 +88,7 @@ u8 sub_81533E0(void);
u8 sub_8153408(void);
u8 sub_8153430(void);
bool8 sub_8153474(void);
-u8 sub_81534D0(u8 a1);
+u8 Save_LoadGameData(u8 a1);
u16 sub_815355C(void);
u32 TryCopySpecialSaveSection(u8 sector, u8* dst);
u32 sub_8153634(u8 sector, u8* src);