mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-01-30 16:11:06 +01:00
replace raw values with char constants
This commit is contained in:
parent
fa23b196a9
commit
7740ca1303
@ -1102,8 +1102,8 @@ static void UpdateLvlInHealthbox(u8 healthboxSpriteId, u8 lvl)
|
|||||||
u32 xPos;
|
u32 xPos;
|
||||||
u8 *objVram;
|
u8 *objVram;
|
||||||
|
|
||||||
text[0] = 0xF9;
|
text[0] = CHAR_EXTRA_SYMBOL;
|
||||||
text[1] = 5;
|
text[1] = CHAR_LV_2;
|
||||||
|
|
||||||
objVram = ConvertIntToDecimalStringN(text + 2, lvl, STR_CONV_MODE_LEFT_ALIGN, 3);
|
objVram = ConvertIntToDecimalStringN(text + 2, lvl, STR_CONV_MODE_LEFT_ALIGN, 3);
|
||||||
xPos = 5 * (3 - (objVram - (text + 2)));
|
xPos = 5 * (3 - (objVram - (text + 2)));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user