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/item_menu.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/item_menu.c')
-rwxr-xr-x | src/item_menu.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/item_menu.c b/src/item_menu.c index d5e50fc2d..c764f4e81 100755 --- a/src/item_menu.c +++ b/src/item_menu.c @@ -2456,10 +2456,10 @@ static void RemoveMoneyWindow(void) void BagMenu_PrepareTMHMMoveWindow(void) { FillWindowPixelBuffer(3, PIXEL_FILL(0)); - blit_move_info_icon(3, 19, 0, 0); - blit_move_info_icon(3, 20, 0, 12); - blit_move_info_icon(3, 21, 0, 24); - blit_move_info_icon(3, 22, 0, 36); + BlitMenuInfoIcon(3, MENU_INFO_ICON_TYPE, 0, 0); + BlitMenuInfoIcon(3, MENU_INFO_ICON_POWER, 0, 12); + BlitMenuInfoIcon(3, MENU_INFO_ICON_ACCURACY, 0, 24); + BlitMenuInfoIcon(3, MENU_INFO_ICON_PP, 0, 36); CopyWindowToVram(3, 2); } @@ -2479,7 +2479,7 @@ void PrintTMHMMoveData(u16 itemId) else { moveId = ItemIdToBattleMoveId(itemId); - blit_move_info_icon(4, gBattleMoves[moveId].type + 1, 0, 0); + BlitMenuInfoIcon(4, gBattleMoves[moveId].type + 1, 0, 0); if (gBattleMoves[moveId].power <= 1) { text = gText_ThreeDashes; |