replace raw values with char constants

This commit is contained in:
Kurausukun 2021-05-04 01:55:16 -04:00 committed by huderlem
parent fa23b196a9
commit 7740ca1303

View File

@ -1101,9 +1101,9 @@ static void UpdateLvlInHealthbox(u8 healthboxSpriteId, u8 lvl)
u8 text[16];
u32 xPos;
u8 *objVram;
text[0] = 0xF9;
text[1] = 5;
text[0] = CHAR_EXTRA_SYMBOL;
text[1] = CHAR_LV_2;
objVram = ConvertIntToDecimalStringN(text + 2, lvl, STR_CONV_MODE_LEFT_ALIGN, 3);
xPos = 5 * (3 - (objVram - (text + 2)));