diff options
author | PikalaxALT <PikalaxALT@users.noreply.github.com> | 2020-01-16 09:53:08 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-16 09:53:08 -0500 |
commit | fad367402892e1c25634c4448936d84a621c341c (patch) | |
tree | b796aba2ae57729cae5f78767336082dd46a6b21 /src/new_menu_helpers.c | |
parent | 0bc479db34154988c6322bf5f2bb6d48556f62c3 (diff) | |
parent | 884b46a5dc26ae9e0c0abcf7e0d69c1122a30e22 (diff) |
Merge pull request #225 from GriffinRichards/doc-questlog
Document some quest log
Diffstat (limited to 'src/new_menu_helpers.c')
-rw-r--r-- | src/new_menu_helpers.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/new_menu_helpers.c b/src/new_menu_helpers.c index d2421ed9f..39340ca55 100644 --- a/src/new_menu_helpers.c +++ b/src/new_menu_helpers.c @@ -459,7 +459,7 @@ void AddTextPrinterWithCustomSpeedForMessage(bool8 allowSkippingDelayWithButtonP void LoadStdWindowFrameGfx(void) { - if (gUnknown_203ADFA == 2) + if (gQuestLogState == 2) { gTextFlags.autoScroll = 1; TextWindow_LoadTilesStdFrame1(0, DLG_WINDOW_BASE_TILE_NUM); @@ -497,7 +497,7 @@ void ClearDialogWindowAndFrame(u8 windowId, bool8 copyToVram) ClearWindowTilemap(windowId); if (copyToVram == TRUE) CopyWindowToVram(windowId, 3); - if (gUnknown_203ADFA == 2) + if (gQuestLogState == 2) sub_8111134(); } @@ -529,7 +529,7 @@ static void WindowFunc_DrawStandardFrame(u8 bg, u8 tilemapLeft, u8 tilemapTop, u static void WindowFunc_DrawDialogueFrame(u8 bg, u8 tilemapLeft, u8 tilemapTop, u8 width, u8 height, u8 paletteNum) { - if (!IsMsgSignPost() || gUnknown_203ADFA == 2) + if (!IsMsgSignPost() || gQuestLogState == 2) { FillBgTilemapBufferRect(bg, DLG_WINDOW_BASE_TILE_NUM + 0, tilemapLeft - 2, tilemapTop - 1, 1, 1, DLG_WINDOW_PALETTE_NUM); FillBgTilemapBufferRect(bg, DLG_WINDOW_BASE_TILE_NUM + 1, tilemapLeft - 1, tilemapTop - 1, 1, 1, DLG_WINDOW_PALETTE_NUM); @@ -613,7 +613,7 @@ void SetStdWindowBorderStyle(u8 windowId, bool8 copyToVram) void sub_80F7768(u8 windowId, bool8 copyToVram) { - if (gUnknown_203ADFA == 2) + if (gQuestLogState == 2) { gTextFlags.autoScroll = 1; TextWindow_LoadTilesStdFrame1(0, DLG_WINDOW_BASE_TILE_NUM); |