summaryrefslogtreecommitdiff
path: root/src/field/item_use.c
diff options
context:
space:
mode:
authorProjectRevoTPP <projectrevotpp@hotmail.com>2018-01-15 18:59:30 -0500
committerProjectRevoTPP <projectrevotpp@hotmail.com>2018-01-15 18:59:30 -0500
commitce391ed0696c22e8fa1f33430b4025a08a3bc360 (patch)
treedbdd06262cd738bb682d8a9304293ac5d944a071 /src/field/item_use.c
parentbdb0628c913fe7f2e77598d6390f8f7d951b1703 (diff)
parented152b1566fa5c39ee72ca190c49fbfe30708036 (diff)
Merge branch 'master' of https://github.com/pret/pokeruby into fixes
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