pokecrystal/home/hm_moves.asm

26 lines
244 B
NASM
Raw Permalink Normal View History

; HM moves can't be forgotten
2018-06-24 14:09:41 +00:00
IsHM::
cp HM01
jr c, .NotHM
scf
ret
.NotHM:
and a
ret
2018-06-24 14:09:41 +00:00
IsHMMove::
2017-12-14 05:36:24 +00:00
ld hl, .HMMoves
ld de, 1
jp IsInArray
2018-06-24 14:09:41 +00:00
.HMMoves:
db CUT
db FLY
db SURF
db STRENGTH
db FLASH
db WATERFALL
db WHIRLPOOL
db -1 ; end