summaryrefslogtreecommitdiff
path: root/src/field/item_use.c
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2018-01-14 17:43:11 -0500
committerPikalaxALT <pikalaxalt@gmail.com>2018-01-14 17:43:11 -0500
commite86234ff99ffa4b60df180d462c2af0f1ed4d447 (patch)
tree0d7240ce350146c6fa2189bf89aa96b08f3a6fdc /src/field/item_use.c
parent1ff1e8ce9547d646b17b135b3013a516d17f35db (diff)
parent7e3495747035d13f72ba869195b21f4e61ee283a (diff)
Merge branch 'master' into pokemon_storage_system
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