Make player text color base off of CAP

This commit is contained in:
Agent X 2024-01-01 11:48:11 -05:00
parent 2c89dd7287
commit 887ecd8266
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ u8* network_get_player_text_color(u8 localIndex) {
struct NetworkPlayer* np = &gNetworkPlayers[localIndex]; struct NetworkPlayer* np = &gNetworkPlayers[localIndex];
static u8 sTextRgb[3] = { 0 }; static u8 sTextRgb[3] = { 0 };
for (int i = 0; i < 3; i++) { for (int i = 0; i < 3; i++) {
sTextRgb[i] = 127 + np->overridePalette.parts[SHIRT][i] / 2; sTextRgb[i] = 127 + np->overridePalette.parts[CAP][i] / 2;
} }
return sTextRgb; return sTextRgb;