mirror of https://github.com/pret/pokecrystal.git
IsHM is not used within home/names.asm; group it with the other HM routines+data
This commit is contained in:
parent
b423e3b90b
commit
14a244ad3a
|
@ -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
|
||||
|
|
|
@ -258,16 +258,6 @@ GetTMHMName:: ; 3487
|
|||
db "@"
|
||||
; 34df
|
||||
|
||||
IsHM:: ; 34df
|
||||
cp HM01
|
||||
jr c, .NotHM
|
||||
scf
|
||||
ret
|
||||
.NotHM:
|
||||
and a
|
||||
ret
|
||||
; 34e7
|
||||
|
||||
INCLUDE "home/hm_moves.asm"
|
||||
|
||||
GetMoveName:: ; 34f8
|
||||
|
|
Loading…
Reference in New Issue