diff options
author | Cameron Hall <camthesaxman@users.noreply.github.com> | 2018-01-14 14:19:37 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-14 14:19:37 -0600 |
commit | 69a662de660bf075e97521c4d220c893b96b793b (patch) | |
tree | 4708fd4bd0d504186af7496608bc85130d94fb4e /src/field/item_use.c | |
parent | dbe9b11ce67e8ec70ffffa0c6b0e12236656f644 (diff) | |
parent | c1ac08ddf3d48c4db93d240f2e1518d6b4d6853b (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.c | 2 |
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 |