summaryrefslogtreecommitdiff
path: root/src/field/item_use.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/item_use.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/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