Some colored text fixes

This commit is contained in:
gheskett
2021-07-26 04:10:18 -05:00
parent 2b580ab416
commit 68a21d228b

View File

@@ -299,11 +299,9 @@ void print_generic_string(s16 x, s16 y, const u8 *str) {
}
else if (str[strPos] >= 0x10) {
customColor = 2;
strPos = colorLoop - 8;
if (str[strPos] == 0x9F)
strPos = colorLoop;
else
strPos = colorLoop - 8;
break;
break;
}
if ((8 - (colorLoop - strPos)) % 2 == 0) {
@@ -883,10 +881,9 @@ void handle_dialog_text_and_pages(s8 colorMode, struct DialogEntry *dialog, s8 l
}
else if (str[strIdx] >= 0x10) {
customColor = 2;
strIdx = colorLoop - 8;
if (str[strIdx] == 0x9F)
strIdx = colorLoop;
else
strIdx = colorLoop - 8;
break;
}
if ((8 - (colorLoop - strIdx)) % 2 == 0) {