summaryrefslogtreecommitdiff
path: root/home/hm_moves.asm
diff options
context:
space:
mode:
authorRemy Oukaour <remy.oukaour@gmail.com>2017-12-22 22:56:21 -0500
committerRemy Oukaour <remy.oukaour@gmail.com>2017-12-22 22:56:21 -0500
commit14a244ad3a2e66de9690c11e6e1b5c488408427a (patch)
tree6c72c29f0cd93818d9564670e2f4d6f3948de224 /home/hm_moves.asm
parentb423e3b90bb85ef7e5cf501d832db707c9b1fde3 (diff)
IsHM is not used within home/names.asm; group it with the other HM routines+data
Diffstat (limited to 'home/hm_moves.asm')
-rw-r--r--home/hm_moves.asm12
1 files changed, 11 insertions, 1 deletions
diff --git a/home/hm_moves.asm b/home/hm_moves.asm
index 082005186..c4233d094 100644
--- a/home/hm_moves.asm
+++ b/home/hm_moves.asm
@@ -1,4 +1,14 @@
-; HM moves can't be forgotten
+; HM moves can't be forgotten
+
+IsHM:: ; 34df
+ cp HM01
+ jr c, .NotHM
+ scf
+ ret
+.NotHM:
+ and a
+ ret
+; 34e7
IsHMMove:: ; 34e7
ld hl, .HMMoves