diff options
author | GriffinR <griffin.g.richards@gmail.com> | 2020-10-29 23:50:43 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-29 23:50:43 -0400 |
commit | 9e55ae22b19d58eca8fc0cdd2fcea9f2cca14319 (patch) | |
tree | fab11011192617763c377d55e07b9371cfc05584 /src/union_room.c | |
parent | fbff087e9a252f2695356230803a3ae8c8376e05 (diff) | |
parent | be1685c87fd683c2c4efc6d2ca173d5344bfcf2f (diff) |
Merge pull request #1242 from GriffinRichards/constants-menuinfoicons
Use constants for menu info icon table
Diffstat (limited to 'src/union_room.c')
-rw-r--r-- | src/union_room.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/union_room.c b/src/union_room.c index b247a69e3..0f8aa042d 100644 --- a/src/union_room.c +++ b/src/union_room.c @@ -4076,14 +4076,14 @@ static void TradeBoardPrintItemInfo(u8 windowId, u8 y, struct GFtgtGname * gname UR_AddTextPrinterParameterized(windowId, 1, uname, 8, y, colorIdx); if (species == SPECIES_EGG) { - UR_AddTextPrinterParameterized(windowId, 1, sText_EggTrade, 0x44, y, colorIdx); + UR_AddTextPrinterParameterized(windowId, 1, sText_EggTrade, 68, y, colorIdx); } else { - blit_move_info_icon(windowId, type + 1, 0x44, y); - UR_AddTextPrinterParameterized(windowId, 1, gSpeciesNames[species], 0x76, y, colorIdx); + BlitMenuInfoIcon(windowId, type + 1, 68, y); + UR_AddTextPrinterParameterized(windowId, 1, gSpeciesNames[species], 118, y, colorIdx); ConvertIntToDecimalStringN(levelStr, level, STR_CONV_MODE_RIGHT_ALIGN, 3); - UR_AddTextPrinterParameterized(windowId, 1, levelStr, 0xC6, y, colorIdx); + UR_AddTextPrinterParameterized(windowId, 1, levelStr, 198, y, colorIdx); } } |