Add missing font constants after EXT_CTRL_CODE_FONT

This commit is contained in:
GriffinR 2022-07-18 02:36:25 -04:00
parent 165f51a295
commit a8c93dcf35
2 changed files with 2 additions and 2 deletions

View File

@ -387,7 +387,7 @@ u8 *StringBraille(u8 *dest, const u8 *src)
const u8 setBrailleFont[] = { const u8 setBrailleFont[] = {
EXT_CTRL_CODE_BEGIN, EXT_CTRL_CODE_BEGIN,
EXT_CTRL_CODE_FONT, EXT_CTRL_CODE_FONT,
6, FONT_BRAILLE,
EOS EOS
}; };
const u8 gotoLine2[] = { const u8 gotoLine2[] = {

View File

@ -1501,7 +1501,7 @@ static void MoveSelectionDisplayMoveType(void)
txtPtr = StringCopy(gDisplayedStringBattle, gText_MoveInterfaceType); txtPtr = StringCopy(gDisplayedStringBattle, gText_MoveInterfaceType);
*(txtPtr)++ = EXT_CTRL_CODE_BEGIN; *(txtPtr)++ = EXT_CTRL_CODE_BEGIN;
*(txtPtr)++ = EXT_CTRL_CODE_FONT; *(txtPtr)++ = EXT_CTRL_CODE_FONT;
*(txtPtr)++ = 1; *(txtPtr)++ = FONT_NORMAL;
StringCopy(txtPtr, gTypeNames[gBattleMoves[moveInfo->moves[gMoveSelectionCursor[gActiveBattler]]].type]); StringCopy(txtPtr, gTypeNames[gBattleMoves[moveInfo->moves[gMoveSelectionCursor[gActiveBattler]]].type]);
BattlePutTextOnWindow(gDisplayedStringBattle, B_WIN_MOVE_TYPE); BattlePutTextOnWindow(gDisplayedStringBattle, B_WIN_MOVE_TYPE);