2023-09-07 08:11:25 +00:00
|
|
|
#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;
|
2024-10-20 08:47:13 +00:00
|
|
|
/* 0xC */ struct MonPortraitMsg monPortrait;
|
2023-09-07 08:11:25 +00:00
|
|
|
/* 0x1C */ u16 pokeID;
|
|
|
|
} SavePakWrite;
|
|
|
|
|
|
|
|
void FinishWriteSavePak(void);
|
|
|
|
u32 GetSavePakStatus(void);
|
2023-09-09 23:53:10 +00:00
|
|
|
void PrepareSavePakWrite(s16 pokemonID);
|
2023-09-07 08:11:25 +00:00
|
|
|
bool8 WriteSavePak(void);
|
|
|
|
|
2024-10-19 15:09:39 +00:00
|
|
|
#endif // GUARD_SAVE_WRITE_H
|