Battle Factory is decompiled and documented.

This commit is contained in:
DizzyEggg
2018-09-10 01:01:39 +02:00
parent cf8898071d
commit b87856b58e
17 changed files with 569 additions and 1057 deletions

View File

@@ -1,8 +1,6 @@
#ifndef GUARD_SAVE_H
#define GUARD_SAVE_H
extern u16 gSaveFileStatus;
struct SaveSectionLocation
{
void *data;
@@ -58,6 +56,20 @@ enum
#define SECTION_ID_RECORDED_BATTLE 31
extern u16 gLastWrittenSector;
extern u32 gLastSaveCounter;
extern u16 gLastKnownGoodSector;
extern u32 gDamagedSaveSectors;
extern u32 gSaveCounter;
extern struct SaveSection *gFastSaveSection;
extern u16 gUnknown_03006208;
extern u16 gSaveFileStatus;
extern void (*gGameContinueCallback)(void);
extern struct SaveSectionLocation gRamSaveSectionLocations[];
extern u16 gUnknown_03006294;
extern struct SaveSection gSaveDataBuffer;
void ClearSaveData(void);
void Save_ResetSaveCounters(void);
bool32 SetDamagedSectorBits(u8 op, u8 bit);