summaryrefslogtreecommitdiff
path: root/Implement-Missing-Text-Function-RESET_SIZE.md
diff options
context:
space:
mode:
Diffstat (limited to 'Implement-Missing-Text-Function-RESET_SIZE.md')
-rw-r--r--Implement-Missing-Text-Function-RESET_SIZE.md4
1 files changed, 2 insertions, 2 deletions
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: