diff options
| author | Garrett Cox <garrettjcox@gmail.com> | 2024-09-29 16:00:44 -0500 |
|---|---|---|
| committer | Garrett Cox <garrettjcox@gmail.com> | 2024-09-29 16:00:44 -0500 |
| commit | fd9b6aee9bd7000bbf1e2a843de62e6ed4e7d242 (patch) | |
| tree | 6da808ae247abc90c04faa02ef7ab3da1e16d8ee /mm/src/code | |
| parent | 1878223c1745f68192694a94cf7186ef06f38f44 (diff) | |
Initial rando indicator on file select, though it looks jank
Diffstat (limited to 'mm/src/code')
| -rw-r--r-- | mm/src/code/z_sram_NES.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/mm/src/code/z_sram_NES.c b/mm/src/code/z_sram_NES.c index 68b27b94b..a39e1ddda 100644 --- a/mm/src/code/z_sram_NES.c +++ b/mm/src/code/z_sram_NES.c @@ -1560,6 +1560,8 @@ void func_801457CC(GameState* gameState, SramContext* sramCtx) { } fileSelect->maskCount[sp76] = maskCount; fileSelect->heartPieceCount[sp76] = GET_QUEST_HEART_PIECE_COUNT; + + GameInteractor_ExecuteOnFileSelectSaveLoad(sp76, false, &gSaveContext); } if (sp6E == 1) { @@ -1674,6 +1676,8 @@ void func_801457CC(GameState* gameState, SramContext* sramCtx) { } fileSelect->maskCount[sp76] = maskCount; fileSelect->heartPieceCount[sp76] = GET_QUEST_HEART_PIECE_COUNT; + + GameInteractor_ExecuteOnFileSelectSaveLoad(sp76 - 2, true, &gSaveContext); } if (sp6E == 1) { @@ -1791,6 +1795,8 @@ void Sram_CopySave(FileSelectState* fileSelect2, SramContext* sramCtx) { fileSelect->maskCount[fileSelect->copyDestFileIndex + 2] = maskCount; fileSelect->heartPieceCount[fileSelect->copyDestFileIndex + 2] = GET_QUEST_HEART_PIECE_COUNT; + + GameInteractor_ExecuteOnFileSelectSaveLoad(fileSelect->copyDestFileIndex, true, &gSaveContext); } // clear buffer @@ -1832,6 +1838,8 @@ void Sram_CopySave(FileSelectState* fileSelect2, SramContext* sramCtx) { fileSelect->maskCount[fileSelect->copyDestFileIndex] = maskCount; fileSelect->heartPieceCount[fileSelect->copyDestFileIndex] = GET_QUEST_HEART_PIECE_COUNT; + + GameInteractor_ExecuteOnFileSelectSaveLoad(fileSelect->copyDestFileIndex, false, &gSaveContext); } gSaveContext.save.time = D_801F6AF0; @@ -1898,6 +1906,8 @@ void Sram_InitSave(FileSelectState* fileSelect2, SramContext* sramCtx) { fileSelect->maskCount[fileSelect->buttonIndex] = maskCount; fileSelect->heartPieceCount[fileSelect->buttonIndex] = GET_QUEST_HEART_PIECE_COUNT; + + GameInteractor_ExecuteOnFileSelectSaveLoad(fileSelect->buttonIndex, false, &gSaveContext); } gSaveContext.save.time = D_801F6AF0; |
