mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-01-29 14:53:55 +01:00
replace raw values with char constants
This commit is contained in:
parent
fa23b196a9
commit
7740ca1303
@ -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)));
|
||||
|
Loading…
x
Reference in New Issue
Block a user