diff options
Diffstat (limited to 'Implement-Missing-Text-Function-RESET_SIZE.md')
-rw-r--r-- | Implement-Missing-Text-Function-RESET_SIZE.md | 4 |
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 bd780c5..f1a0107 100644 --- a/Implement-Missing-Text-Function-RESET_SIZE.md +++ b/Implement-Missing-Text-Function-RESET_SIZE.md @@ -3,11 +3,11 @@ The text printer in Emerald is very versatile and has a lot of control codes. Bu Go to [gflib/text.c](https://github.com/pret/pokeemerald/blob/master/gflib/text.c), find the function `RenderText` and add the following: ```diff case EXT_CTRL_CODE_SIZE: - subStruct->glyphId = *textPrinter->printerTemplate.currentChar; + subStruct->fontId = *textPrinter->printerTemplate.currentChar; textPrinter->printerTemplate.currentChar++; return 2; case EXT_CTRL_CODE_RESET_SIZE: -+ subStruct->glyphId = textPrinter->printerTemplate.fontId; ++ subStruct->fontId = textPrinter->printerTemplate.fontId; return 2; ``` |