summaryrefslogtreecommitdiff
path: root/src/text.c
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@users.noreply.github.com>2020-01-16 09:53:08 -0500
committerGitHub <noreply@github.com>2020-01-16 09:53:08 -0500
commitfad367402892e1c25634c4448936d84a621c341c (patch)
treeb796aba2ae57729cae5f78767336082dd46a6b21 /src/text.c
parent0bc479db34154988c6322bf5f2bb6d48556f62c3 (diff)
parent884b46a5dc26ae9e0c0abcf7e0d69c1122a30e22 (diff)
Merge pull request #225 from GriffinRichards/doc-questlog
Document some quest log
Diffstat (limited to 'src/text.c')
-rw-r--r--src/text.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/text.c b/src/text.c
index a0da0399f..83f089c12 100644
--- a/src/text.c
+++ b/src/text.c
@@ -527,7 +527,7 @@ void TextPrinterClearDownArrow(struct TextPrinter *textPrinter)
bool8 TextPrinterWaitAutoMode(struct TextPrinter *textPrinter)
{
struct TextPrinterSubStruct *subStruct = &textPrinter->subUnion.sub;
- u8 delay = (gUnknown_203ADFA == 2) ? 50 : 120;
+ u8 delay = (gQuestLogState == 2) ? 50 : 120;
if (subStruct->autoScrollDelay == delay)
{
@@ -716,7 +716,7 @@ u16 RenderText(struct TextPrinter *textPrinter)
textPrinter->printerTemplate.currentChar++;
currChar |= *textPrinter->printerTemplate.currentChar << 8;
textPrinter->printerTemplate.currentChar++;
- if ((u8)(gUnknown_203ADFA - 2u) > 1)
+ if (gQuestLogState != 2 && gQuestLogState != 3)
PlayBGM(currChar);
return 2;
case 16: