pokecrystal-board/home/hm_moves.asm

26 lines
244 B
NASM
Raw Normal View History

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