summaryrefslogtreecommitdiff
path: root/src/field/item_use.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/item_use.c
parent3e2f01c1eab4414f1c09844d19ae42535b8c4c4b (diff)
improve TM/HM constants and add macro for TM/HM learnsets
Diffstat (limited to 'src/field/item_use.c')
-rw-r--r--src/field/item_use.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/field/item_use.c b/src/field/item_use.c
index bd76db77e..55fb21814 100644
--- a/src/field/item_use.c
+++ b/src/field/item_use.c
@@ -877,7 +877,7 @@ void ItemUseOutOfBattle_TMHM(u8 taskId)
{
Menu_EraseWindowRect(0, 0xD, 0xD, 0x14);
- if (gSpecialVar_ItemId >= ITEM_HM01)
+ if (gSpecialVar_ItemId >= ITEM_HM01_CUT)
DisplayItemMessageOnField(taskId, gOtherText_BootedHM, sub_80C9EE4, 1); // HM
else
DisplayItemMessageOnField(taskId, gOtherText_BootedTM, sub_80C9EE4, 1); // TM