diff options
author | jrz <93400052+jrz3@users.noreply.github.com> | 2021-11-07 17:04:18 -0600 |
---|---|---|
committer | jrz <93400052+jrz3@users.noreply.github.com> | 2021-11-07 17:04:18 -0600 |
commit | a3a462d7447cdd0fde7cb0408c76a66368b063b4 (patch) | |
tree | a26529f576d925f0b5426c3712fac9895e4cf4d5 /Implement-Missing-Text-Function-RESET_SIZE.md | |
parent | 09f2b74d6e2291fa7e4e8004ae7eedc9b7df389e (diff) |
Edited a struct member name which was changed in this commit: fdaf436960b4a1feab037eafdb76e279ddc787e2
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; ``` |