Simplifies the function signature of CustomMessage_RetrieveIfExists.

This commit is contained in:
Christopher Leggett
2022-07-17 15:11:16 -04:00
parent 69d2b5b3a3
commit 98c771cf2c
3 changed files with 6 additions and 4 deletions

View File

@@ -1662,7 +1662,7 @@ void Message_OpenText(GlobalContext* globalCtx, u16 textId) {
gSaveContext.eventInf[0] = gSaveContext.eventInf[1] = gSaveContext.eventInf[2] = gSaveContext.eventInf[3] = 0;
}
if (CustomMessage_RetrieveIfExists(globalCtx, font->msgBuf, sizeof(font->msgBuf))) {
if (CustomMessage_RetrieveIfExists(globalCtx)) {
osSyncPrintf("Found custom message");
} else if (sTextIsCredits) {
Message_FindCreditsMessage(globalCtx, textId);