summaryrefslogtreecommitdiff
path: root/src/field/player_pc.c
diff options
context:
space:
mode:
authorcamthesaxman <cameronghall@cox.net>2018-01-14 13:41:50 -0600
committercamthesaxman <cameronghall@cox.net>2018-01-14 13:41:50 -0600
commit58b71865c9052d3b6cf21dae38052afa88ba44a6 (patch)
tree74ea548992a08b62567fcf0828e934c16d31ddeb /src/field/player_pc.c
parent3e2f01c1eab4414f1c09844d19ae42535b8c4c4b (diff)
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.