From 290391ed454ff552ade189a638d54fcce55efe2a Mon Sep 17 00:00:00 2001 From: jrz <93400052+jrz3@users.noreply.github.com> Date: Sat, 13 Nov 2021 08:56:40 -0600 Subject: Updated tutorial to use defines added in this commit: 50d3003a0d66b30fa1bf50b33e1a7de6263dca5d --- Implement-Missing-Text-Function-RESET_SIZE.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Implement-Missing-Text-Function-RESET_SIZE.md') diff --git a/Implement-Missing-Text-Function-RESET_SIZE.md b/Implement-Missing-Text-Function-RESET_SIZE.md index f1a0107..782ec89 100644 --- a/Implement-Missing-Text-Function-RESET_SIZE.md +++ b/Implement-Missing-Text-Function-RESET_SIZE.md @@ -5,10 +5,10 @@ Go to [gflib/text.c](https://github.com/pret/pokeemerald/blob/master/gflib/text. case EXT_CTRL_CODE_SIZE: subStruct->fontId = *textPrinter->printerTemplate.currentChar; textPrinter->printerTemplate.currentChar++; - return 2; + return RENDER_REPEAT; case EXT_CTRL_CODE_RESET_SIZE: + subStruct->fontId = textPrinter->printerTemplate.fontId; - return 2; + return RENDER_REPEAT; ``` Further down the same file, find the function `GetStringWidth` and add the following as well: -- cgit v1.2.3