summaryrefslogtreecommitdiff
path: root/src/mauville_old_man.c
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2021-11-08 21:23:21 -0500
committerGitHub <noreply@github.com>2021-11-08 21:23:21 -0500
commit1c82571fa04ecad7d4a805e5fbec4691643ac655 (patch)
tree394ee77362fdda45e808e3362c473d4cfb653dcc /src/mauville_old_man.c
parent737a5cba552275b43a89d59d6c5595ce4af25146 (diff)
parentc6b83bbb215ad25f533346873286f103c582d906 (diff)
Merge pull request #1542 from GriffinRichards/doc-menu
Document menu
Diffstat (limited to 'src/mauville_old_man.c')
-rw-r--r--src/mauville_old_man.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mauville_old_man.c b/src/mauville_old_man.c
index a9f7df744..06c3b8288 100644
--- a/src/mauville_old_man.c
+++ b/src/mauville_old_man.c
@@ -449,7 +449,7 @@ static void DrawSongTextWindow(const u8 * str)
DrawDialogueFrame(0, 0);
AddTextPrinterParameterized(0, FONT_NORMAL, str, 0, 1, 1, DisableTextPrinters);
gDisableTextPrinters = TRUE;
- CopyWindowToVram(0, 3);
+ CopyWindowToVram(0, COPYWIN_FULL);
}
static void BardSing(struct Task *task, struct BardSong *song)
@@ -1343,11 +1343,11 @@ static void PrintStoryList(void)
u16 gameStatID = sStorytellerPtr->gameStatIDs[i];
if (gameStatID == 0)
break;
- AddTextPrinterParameterized(sStorytellerWindowId, FONT_NORMAL, GetStoryTitleByStat(gameStatID), 8, 16 * i + 1, 0xFF, NULL);
+ AddTextPrinterParameterized(sStorytellerWindowId, FONT_NORMAL, GetStoryTitleByStat(gameStatID), 8, 16 * i + 1, TEXT_SKIP_DRAW, NULL);
}
- AddTextPrinterParameterized(sStorytellerWindowId, FONT_NORMAL, gText_Exit, 8, 16 * i + 1, 0xFF, NULL);
- InitMenuInUpperLeftCornerPlaySoundWhenAPressed(sStorytellerWindowId, GetFreeStorySlot() + 1, 0);
- CopyWindowToVram(sStorytellerWindowId, 3);
+ AddTextPrinterParameterized(sStorytellerWindowId, FONT_NORMAL, gText_Exit, 8, 16 * i + 1, TEXT_SKIP_DRAW, NULL);
+ InitMenuInUpperLeftCornerNormal(sStorytellerWindowId, GetFreeStorySlot() + 1, 0);
+ CopyWindowToVram(sStorytellerWindowId, COPYWIN_FULL);
}
static void Task_StoryListMenu(u8 taskId)