diff options
| author | Eblo <7004497+Eblo@users.noreply.github.com> | 2026-01-25 15:55:22 -0500 |
|---|---|---|
| committer | Eblo <7004497+Eblo@users.noreply.github.com> | 2026-01-25 15:55:22 -0500 |
| commit | 77431998a8b1b29d45ebe89ebc6dc2f97610ff9c (patch) | |
| tree | 670ff0fec9e30be79977e5db1aaeb7d25775e226 /mm/src/code | |
| parent | 2aa638903a565009d4374ff43ecf929f4552135a (diff) | |
Sync port files again
Diffstat (limited to 'mm/src/code')
| -rw-r--r-- | mm/src/code/z_message.c | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/mm/src/code/z_message.c b/mm/src/code/z_message.c index 6989664da..9739ba707 100644 --- a/mm/src/code/z_message.c +++ b/mm/src/code/z_message.c @@ -778,7 +778,8 @@ void func_801491DC(PlayState* play) { if (msgCtx->codeGuessDigits[MSGCTX_INPUT_DIGIT_INDEX] <= 0) { msgCtx->codeGuessDigits[MSGCTX_INPUT_DIGIT_INDEX] = 5; } - msgCtx->decodedBuffer.schar[MSGCTX_CODE_BUFFER_OFFSET + MSGCTX_INPUT_DIGIT_INDEX] = msgCtx->codeGuessDigits[MSGCTX_INPUT_DIGIT_INDEX] + '0'; + msgCtx->decodedBuffer.schar[MSGCTX_CODE_BUFFER_OFFSET + MSGCTX_INPUT_DIGIT_INDEX] = + msgCtx->codeGuessDigits[MSGCTX_INPUT_DIGIT_INDEX] + '0'; Font_LoadCharNES(play, msgCtx->decodedBuffer.schar[MSGCTX_CODE_BUFFER_OFFSET + MSGCTX_INPUT_DIGIT_INDEX], MSGCTX_UNK120C4 + (MSGCTX_INPUT_DIGIT_INDEX << 7)); if (GameInteractor_Should(VB_MSG_PLAY_INPUT_COUNT_SOUND, true)) { @@ -789,7 +790,8 @@ void func_801491DC(PlayState* play) { if (msgCtx->codeGuessDigits[MSGCTX_INPUT_DIGIT_INDEX] > 5) { msgCtx->codeGuessDigits[MSGCTX_INPUT_DIGIT_INDEX] = 1; } - msgCtx->decodedBuffer.schar[MSGCTX_CODE_BUFFER_OFFSET + MSGCTX_INPUT_DIGIT_INDEX] = msgCtx->codeGuessDigits[MSGCTX_INPUT_DIGIT_INDEX] + '0'; + msgCtx->decodedBuffer.schar[MSGCTX_CODE_BUFFER_OFFSET + MSGCTX_INPUT_DIGIT_INDEX] = + msgCtx->codeGuessDigits[MSGCTX_INPUT_DIGIT_INDEX] + '0'; Font_LoadCharNES(play, msgCtx->decodedBuffer.schar[MSGCTX_CODE_BUFFER_OFFSET + MSGCTX_INPUT_DIGIT_INDEX], MSGCTX_UNK120C4 + (MSGCTX_INPUT_DIGIT_INDEX << 7)); if (GameInteractor_Should(VB_MSG_PLAY_INPUT_COUNT_SOUND, true)) { @@ -825,7 +827,8 @@ void func_80149454(PlayState* play) { if (msgCtx->codeGuessDigits[MSGCTX_INPUT_DIGIT_INDEX] < 0) { msgCtx->codeGuessDigits[MSGCTX_INPUT_DIGIT_INDEX] = 9; } - msgCtx->decodedBuffer.schar[MSGCTX_CODE_BUFFER_OFFSET + MSGCTX_INPUT_DIGIT_INDEX] = msgCtx->codeGuessDigits[MSGCTX_INPUT_DIGIT_INDEX] + '0'; + msgCtx->decodedBuffer.schar[MSGCTX_CODE_BUFFER_OFFSET + MSGCTX_INPUT_DIGIT_INDEX] = + msgCtx->codeGuessDigits[MSGCTX_INPUT_DIGIT_INDEX] + '0'; Font_LoadCharNES(play, msgCtx->decodedBuffer.schar[MSGCTX_CODE_BUFFER_OFFSET + MSGCTX_INPUT_DIGIT_INDEX], MSGCTX_UNK120C4 + (MSGCTX_INPUT_DIGIT_INDEX << 7)); if (GameInteractor_Should(VB_MSG_PLAY_INPUT_COUNT_SOUND, true)) { @@ -836,7 +839,8 @@ void func_80149454(PlayState* play) { if (msgCtx->codeGuessDigits[MSGCTX_INPUT_DIGIT_INDEX] > 9) { msgCtx->codeGuessDigits[MSGCTX_INPUT_DIGIT_INDEX] = 0; } - msgCtx->decodedBuffer.schar[MSGCTX_CODE_BUFFER_OFFSET + MSGCTX_INPUT_DIGIT_INDEX] = msgCtx->codeGuessDigits[MSGCTX_INPUT_DIGIT_INDEX] + '0'; + msgCtx->decodedBuffer.schar[MSGCTX_CODE_BUFFER_OFFSET + MSGCTX_INPUT_DIGIT_INDEX] = + msgCtx->codeGuessDigits[MSGCTX_INPUT_DIGIT_INDEX] + '0'; Font_LoadCharNES(play, msgCtx->decodedBuffer.schar[MSGCTX_CODE_BUFFER_OFFSET + MSGCTX_INPUT_DIGIT_INDEX], MSGCTX_UNK120C4 + (MSGCTX_INPUT_DIGIT_INDEX << 7)); if (GameInteractor_Should(VB_MSG_PLAY_INPUT_COUNT_SOUND, true)) { @@ -872,7 +876,8 @@ void func_801496C8(PlayState* play) { if (msgCtx->codeGuessDigits[MSGCTX_INPUT_DIGIT_INDEX] < 0) { msgCtx->codeGuessDigits[MSGCTX_INPUT_DIGIT_INDEX] = 3; } - msgCtx->decodedBuffer.wchar[MSGCTX_CODE_BUFFER_OFFSET + MSGCTX_INPUT_DIGIT_INDEX] = msgCtx->codeGuessDigits[MSGCTX_INPUT_DIGIT_INDEX] + 0x824F; + msgCtx->decodedBuffer.wchar[MSGCTX_CODE_BUFFER_OFFSET + MSGCTX_INPUT_DIGIT_INDEX] = + msgCtx->codeGuessDigits[MSGCTX_INPUT_DIGIT_INDEX] + 0x824F; Font_LoadChar(play, msgCtx->decodedBuffer.wchar[MSGCTX_CODE_BUFFER_OFFSET + MSGCTX_INPUT_DIGIT_INDEX], MSGCTX_UNK120C4 + (MSGCTX_INPUT_DIGIT_INDEX << 7)); if (GameInteractor_Should(VB_MSG_PLAY_INPUT_COUNT_SOUND, true)) { @@ -883,7 +888,8 @@ void func_801496C8(PlayState* play) { if (msgCtx->codeGuessDigits[MSGCTX_INPUT_DIGIT_INDEX] >= 4) { msgCtx->codeGuessDigits[MSGCTX_INPUT_DIGIT_INDEX] = 0; } - msgCtx->decodedBuffer.wchar[MSGCTX_CODE_BUFFER_OFFSET + MSGCTX_INPUT_DIGIT_INDEX] = msgCtx->codeGuessDigits[MSGCTX_INPUT_DIGIT_INDEX] + 0x824F; + msgCtx->decodedBuffer.wchar[MSGCTX_CODE_BUFFER_OFFSET + MSGCTX_INPUT_DIGIT_INDEX] = + msgCtx->codeGuessDigits[MSGCTX_INPUT_DIGIT_INDEX] + 0x824F; Font_LoadChar(play, msgCtx->decodedBuffer.wchar[MSGCTX_CODE_BUFFER_OFFSET + MSGCTX_INPUT_DIGIT_INDEX], MSGCTX_UNK120C4 + (MSGCTX_INPUT_DIGIT_INDEX << 7)); if (GameInteractor_Should(VB_MSG_PLAY_INPUT_COUNT_SOUND, true)) { |
