Simplifies the function signature of CustomMessage_RetrieveIfExists.

This commit is contained in:
Christopher Leggett 2022-07-17 15:11:16 -04:00
commit 98c771cf2c
No known key found for this signature in database
GPG key ID: 7093AE5FF7037D79
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);