summaryrefslogtreecommitdiff
path: root/src/field/player_pc.c
diff options
context:
space:
mode:
authorCameron Hall <camthesaxman@users.noreply.github.com>2018-01-14 14:19:37 -0600
committerGitHub <noreply@github.com>2018-01-14 14:19:37 -0600
commit69a662de660bf075e97521c4d220c893b96b793b (patch)
tree4708fd4bd0d504186af7496608bc85130d94fb4e /src/field/player_pc.c
parentdbe9b11ce67e8ec70ffffa0c6b0e12236656f644 (diff)
parentc1ac08ddf3d48c4db93d240f2e1518d6b4d6853b (diff)
Merge pull request #534 from camthesaxman/tmhm_macros
improve TM/HM constants and add macro for TM/HM learnsets
Diffstat (limited to 'src/field/player_pc.c')
-rw-r--r--src/field/player_pc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/field/player_pc.c b/src/field/player_pc.c
index 0d5c5234b..1d504586c 100644
--- a/src/field/player_pc.c
+++ b/src/field/player_pc.c
@@ -853,7 +853,7 @@ static void ItemStorage_DrawTMHMEntry(struct ItemSlot *itemSlot, u8 var, int var
{
ItemStorage_DrawItemName(itemSlot, var, var2);
- if(itemSlot->itemId < ITEM_HM01)
+ if(itemSlot->itemId < ITEM_HM01_CUT)
ItemStorage_DrawItemQuantity(itemSlot->quantity, STR_CONV_MODE_RIGHT_ALIGN, var, 3, var2);
else
ItemStorage_DrawItemVoidQuantity(var); // HMs do not have a quantity.