mirror of
https://github.com/pret/pmd-red.git
synced 2024-11-24 05:29:47 +00:00
28 lines
544 B
C
28 lines
544 B
C
#ifndef GUARD_SAVE_WRITE_H
|
|
#define GUARD_SAVE_WRITE_H
|
|
|
|
#include "file_system.h"
|
|
|
|
// size: 0x20
|
|
typedef struct SavePakWrite
|
|
{
|
|
/* 0x0 */ u32 state;
|
|
s32 unk4;
|
|
/* 0x8 */ u32 saveStatus;
|
|
/* 0xC */ OpenedFile *faceFile;
|
|
/* 0x10 */ u8 *faceData;
|
|
u16 unk14;
|
|
u16 unk16;
|
|
u8 unk18;
|
|
u8 unk19;
|
|
u8 unk1A;
|
|
u8 unk1B;
|
|
/* 0x1C */ u16 pokeID;
|
|
} SavePakWrite;
|
|
|
|
void FinishWriteSavePak(void);
|
|
u32 GetSavePakStatus(void);
|
|
void PrepareSavePakWrite(s16 pokemonID);
|
|
bool8 WriteSavePak(void);
|
|
|
|
#endif // GUARD_SAVE_WRITE_H
|