A save file's summary for the file screen: the leader's name, level and class, the area, play time, coins, Djinn and party. More...
#include <save_state.h>
Data Fields | |
| u8 | slotHeader [16] |
| room for the record's SaveSlotHeader | |
| u8 | name [12] |
| the leader's | |
| u8 | level |
| the leader's; 0 for an empty file | |
| u8 | classId |
| the leader's | |
| u16 | area |
| area name number (Scene_GetAreaNameIndex) | |
| u32 | playTime |
| frames | |
| u32 | coins |
| u8 | djinn [4] |
| the party's Djinn of each element | |
| s8 | party [5] |
| up to four party members, ended by -1 | |
| s8 | sendFlag |
| Copied from GameState.unk20f, which saving at the end of the game sets; the file menu for cleared data lists a file without it as not cleared. | |
| s8 | flagCount |
| how many of game flags 48 to 127 are set | |
| u8 | hasFlag20 |
| FLAG_CHILDHOOD is set; remaps the party's sprites. | |
| u16 | frames |
| Low half of GameState.buildStamp; a file below the current stamp is listed as from an older build. | |
| u8 | unk38 [4] |
| Filled on reading: the play time from the file's second record. | |
| u32 | checksum |
| the sum of the 968 words from gGameFlagBytes | |
| u16 | paletteGlow: 8 |
| bits: 15..8 paletteGlowSub | 7..0 paletteGlow | |
| u16 | paletteGlowSub: 8 |
| GameState.paletteGlow[1]. | |
A save file's summary for the file screen: the leader's name, level and class, the area, play time, coins, Djinn and party.
Definition at line 29 of file save_state.h.
| u8 SaveSummary::slotHeader[16] |
room for the record's SaveSlotHeader
Definition at line 30 of file save_state.h.
| u8 SaveSummary::name[12] |
the leader's
Definition at line 31 of file save_state.h.
Referenced by SaveMenu_DrawFileSummary(), SaveMenu_SelectSlot(), and SaveState_BuildSummaryHeader().
| u8 SaveSummary::level |
the leader's; 0 for an empty file
Definition at line 32 of file save_state.h.
Referenced by Save_WriteSelectedSlot(), SaveMenu_DrawFileSummary(), SaveMenu_SelectSlot(), SaveState_BuildSummaryHeader(), and SaveState_FindFreeSummarySlot().
| u8 SaveSummary::classId |
the leader's
Definition at line 33 of file save_state.h.
Referenced by SaveMenu_DrawFileSummary(), and SaveState_BuildSummaryHeader().
| u16 SaveSummary::area |
area name number (Scene_GetAreaNameIndex)
Definition at line 34 of file save_state.h.
Referenced by SaveMenu_SelectSlot(), and SaveState_BuildSummaryHeader().
| u32 SaveSummary::playTime |
frames
Definition at line 35 of file save_state.h.
Referenced by SaveMenu_DrawFileSummary(), SaveMenu_SelectSlot(), and SaveState_BuildSummaryHeader().
| u32 SaveSummary::coins |
Definition at line 36 of file save_state.h.
Referenced by SaveMenu_DrawFileSummary(), and SaveState_BuildSummaryHeader().
| u8 SaveSummary::djinn[4] |
the party's Djinn of each element
Definition at line 37 of file save_state.h.
Referenced by SaveMenu_DrawDjinnCounts(), SaveMenu_SelectSlot(), and SaveState_BuildSummaryHeader().
| s8 SaveSummary::party[5] |
up to four party members, ended by -1
Definition at line 38 of file save_state.h.
Referenced by SaveMenu_ShowPartySprites(), SaveState_BuildSummaryHeader(), and SaveState_ScanRecordFlags().
| s8 SaveSummary::sendFlag |
Copied from GameState.unk20f, which saving at the end of the game sets; the file menu for cleared data lists a file without it as not cleared.
Definition at line 41 of file save_state.h.
Referenced by SaveMenu_SelectSlot(), SaveState_BuildSummaryHeader(), SaveState_CountRecordsExcludingFlagged(), and SaveState_ScanRecordFlags().
| s8 SaveSummary::flagCount |
how many of game flags 48 to 127 are set
Definition at line 42 of file save_state.h.
Referenced by SaveMenu_SelectSlot(), SaveState_BuildSummaryHeader(), and SaveState_ScanRecordFlags().
| u8 SaveSummary::hasFlag20 |
FLAG_CHILDHOOD is set; remaps the party's sprites.
Definition at line 43 of file save_state.h.
Referenced by SaveMenu_ShowPartySprites(), and SaveState_BuildSummaryHeader().
| u16 SaveSummary::paletteGlow |
bits: 15..8 paletteGlowSub | 7..0 paletteGlow
Definition at line 46 of file save_state.h.
Referenced by SaveMenu_SelectSlot(), and SaveState_BuildSummaryHeader().
| u16 SaveSummary::paletteGlowSub |
Definition at line 47 of file save_state.h.
Referenced by SaveMenu_SelectSlot(), and SaveState_BuildSummaryHeader().
| u16 SaveSummary::frames |
Low half of GameState.buildStamp; a file below the current stamp is listed as from an older build.
Definition at line 51 of file save_state.h.
Referenced by SaveMenu_SelectSlot(), and SaveState_BuildSummaryHeader().
| u8 SaveSummary::unk38[4] |
Filled on reading: the play time from the file's second record.
A file whose playTime differs is listed as corrupted.
Definition at line 54 of file save_state.h.
Referenced by SaveMenu_SelectSlot(), and SaveState_LoadSummaryRecords().
| u32 SaveSummary::checksum |
the sum of the 968 words from gGameFlagBytes
Definition at line 55 of file save_state.h.
Referenced by SaveState_BuildSummaryHeader().