summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKurausukun <lord.uber1@gmail.com>2020-10-21 04:26:45 -0400
committerKurausukun <lord.uber1@gmail.com>2020-10-21 04:26:45 -0400
commit063596d87bc92852739e039b586ead9523db5c83 (patch)
tree91ae4029b85ed384a6eec5224c2ffaa88261e48d /src
parent5fd555016f112f1ed71aadf615486cee4a070d1a (diff)
re-match GLYPH_COPY
Diffstat (limited to 'src')
-rw-r--r--src/unk_text_util_2.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/unk_text_util_2.c b/src/unk_text_util_2.c
index 2ff8c6507..22db293e9 100644
--- a/src/unk_text_util_2.c
+++ b/src/unk_text_util_2.c
@@ -135,7 +135,7 @@ u16 Font6Func(struct TextPrinter *textPrinter)
}
DecompressGlyphFont6(char_);
CopyGlyphToWindow(textPrinter);
- textPrinter->printerTemplate.currentX += gUnknown_03002F90.unk80 + textPrinter->printerTemplate.letterSpacing;
+ textPrinter->printerTemplate.currentX += gUnknown_03002F90.width + textPrinter->printerTemplate.letterSpacing;
return 0;
case 1:
if (TextPrinterWait(textPrinter))
@@ -210,8 +210,8 @@ static void DecompressGlyphFont6(u16 glyph)
DecompressGlyphTile(glyphs + 0x8, (u16 *)(gUnknown_03002F90.unk20));
DecompressGlyphTile(glyphs + 0x80, (u16 *)(gUnknown_03002F90.unk40));
DecompressGlyphTile(glyphs + 0x88, (u16 *)(gUnknown_03002F90.unk60));
- gUnknown_03002F90.unk80 = 0x10;
- gUnknown_03002F90.unk81 = 0x10;
+ gUnknown_03002F90.width = 0x10;
+ gUnknown_03002F90.height = 0x10;
}
u32 GetGlyphWidthFont6(u16 glyphId, bool32 isJapanese)