mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08:00
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
|
IsHMMove:: ; 34e7
|
||||||
ld hl, .HMMoves
|
ld hl, .HMMoves
|
||||||
|
@ -258,16 +258,6 @@ GetTMHMName:: ; 3487
|
|||||||
db "@"
|
db "@"
|
||||||
; 34df
|
; 34df
|
||||||
|
|
||||||
IsHM:: ; 34df
|
|
||||||
cp HM01
|
|
||||||
jr c, .NotHM
|
|
||||||
scf
|
|
||||||
ret
|
|
||||||
.NotHM:
|
|
||||||
and a
|
|
||||||
ret
|
|
||||||
; 34e7
|
|
||||||
|
|
||||||
INCLUDE "home/hm_moves.asm"
|
INCLUDE "home/hm_moves.asm"
|
||||||
|
|
||||||
GetMoveName:: ; 34f8
|
GetMoveName:: ; 34f8
|
||||||
|
Loading…
Reference in New Issue
Block a user