diff options
author | Diegoisawesome <diego@domoreaweso.me> | 2018-11-06 20:20:56 -0600 |
---|---|---|
committer | Diegoisawesome <diego@domoreaweso.me> | 2018-11-06 20:20:56 -0600 |
commit | 18839a4872057fde33be45c5d2c4ecf4274bcc8d (patch) | |
tree | 5f48809915af5d02c2f75efc790bd598ed9f3975 /src/menu_helpers.c | |
parent | 054a015c950ca9869ce28245a2f13c3f72cddb37 (diff) | |
parent | 93ff71fcfdf8b71a7b4899f271a5214503bcd510 (diff) |
Merge remote-tracking branch 'pret/master' into script_menu
Diffstat (limited to 'src/menu_helpers.c')
-rw-r--r-- | src/menu_helpers.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/menu_helpers.c b/src/menu_helpers.c index 79480cda2..a3c0be36a 100644 --- a/src/menu_helpers.c +++ b/src/menu_helpers.c @@ -7,6 +7,7 @@ #include "bg.h" #include "main.h" #include "text.h" +#include "graphics.h" #include "link.h" #include "string_util.h" #include "sound.h" @@ -19,9 +20,6 @@ extern bool32 sub_800B504(void); -extern const u8 gBagSwapLineGfx[]; -extern const u8 gBagSwapLinePal[]; - // this file's functions static void Task_ContinueTaskAfterMessagePrints(u8 taskId); static void Task_CallYesOrNoCallback(u8 taskId); @@ -136,7 +134,7 @@ void DisplayMessageAndContinueTask(u8 taskId, u8 windowId, u16 arg2, u8 arg3, u8 if (string != gStringVar4) StringExpandPlaceholders(gStringVar4, string); - gTextFlags.flag_0 = 1; + gTextFlags.canABSpeedUpPrint = 1; AddTextPrinterParameterized2(windowId, fontId, gStringVar4, textSpeed, NULL, 2, 1, 3); gUnknown_0300117C = taskFunc; gTasks[taskId].func = Task_ContinueTaskAfterMessagePrints; |