diff options
Diffstat (limited to 'engines/kyra/script_tim.cpp')
-rw-r--r-- | engines/kyra/script_tim.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/kyra/script_tim.cpp b/engines/kyra/script_tim.cpp index 6ccbacc537..01f4f6171d 100644 --- a/engines/kyra/script_tim.cpp +++ b/engines/kyra/script_tim.cpp @@ -1168,16 +1168,18 @@ int TIMInterpreter_LoL::resetAnimationLastPart(int animIndex) { void TIMInterpreter_LoL::drawDialogueButtons() { int cp = _screen->setCurPage(0); - Screen::FontId of = _screen->setFont(Screen::FID_6_FNT); + Screen::FontId of; int x = _dialogueButtonPosX; for (int i = 0; i < _dialogueNumButtons; i++) { if (_vm->gameFlags().use16ColorMode) { + of = _screen->setFont(Screen::FID_SJIS_FNT); _vm->gui_drawBox(x, (_dialogueButtonPosY & ~7) - 1, 74, 10, 0xee, 0xcc, -1); _screen->printText(_dialogueButtonString[i], (x + 37 - (_screen->getTextWidth(_dialogueButtonString[i])) / 2) & ~3, (_dialogueButtonPosY + 2) & ~7, _dialogueHighlightedButton == i ? 0xc1 : 0xe1, 0); } else { + of = _screen->setFont(Screen::FID_6_FNT); _vm->gui_drawBox(x, _dialogueButtonPosY, 74, 9, 136, 251, -1); _screen->printText(_dialogueButtonString[i], x + 37 - (_screen->getTextWidth(_dialogueButtonString[i])) / 2, _dialogueButtonPosY + 2, _dialogueHighlightedButton == i ? 144 : 254, 0); |