diff options
author | golem galvanize <golemgalvanize@github.com> | 2018-02-08 16:03:53 -0500 |
---|---|---|
committer | golem galvanize <golemgalvanize@github.com> | 2018-02-08 16:03:53 -0500 |
commit | de95a703b0350996ca26f245392c3a1dae34ea63 (patch) | |
tree | b9737d91ea96c51c1d09ad3a071092acdd76ddf5 /src/save_failed_screen.c | |
parent | caf5d136b97c17c614d7186a5524d6ea7a1b142b (diff) | |
parent | 387dbf48d0bbb22dc16158a1ee0d373c166c8438 (diff) |
Merge branch 'master' of https://github.com/pret/pokeemerald into decompile_item_menu
Diffstat (limited to 'src/save_failed_screen.c')
-rw-r--r-- | src/save_failed_screen.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/save_failed_screen.c b/src/save_failed_screen.c index 95897e721..b207d7e74 100644 --- a/src/save_failed_screen.c +++ b/src/save_failed_screen.c @@ -168,12 +168,12 @@ static bool8 WipeSectors(u32); // although this is a general text printer, it's only used in this file. static void SaveFailedScreenTextPrint(u8 *text, u8 var1, u8 var2) { - struct TextColor color; + u8 color[3]; - color.fgColor = 0; - color.bgColor = 15; - color.shadowColor = 3; - AddTextPrinterParameterized2(gSaveFailedWindowIds[TEXT_WIN_ID], 1, var1 * 8, var2 * 8 + 1, 0, 0, &color, 0, text); + color[0] = 0; + color[1] = 15; + color[2] = 3; + AddTextPrinterParameterized2(gSaveFailedWindowIds[TEXT_WIN_ID], 1, var1 * 8, var2 * 8 + 1, 0, 0, color, 0, text); } void DoSaveFailedScreen(u8 saveType) |