mirror of
https://github.com/thornAvery/jep-hack.git
synced 2026-02-21 23:12:16 +13:00
First Commit
Upload literally everything from the pokecrystal16 expand-move-ID branch
This commit is contained in:
commit
2f8a41f833
4618 changed files with 480386 additions and 0 deletions
28
home/hm_moves.asm
Normal file
28
home/hm_moves.asm
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
; HM moves can't be forgotten
|
||||
|
||||
IsHM::
|
||||
cp HM01
|
||||
jr c, .NotHM
|
||||
scf
|
||||
ret
|
||||
.NotHM:
|
||||
and a
|
||||
ret
|
||||
|
||||
IsHMMove::
|
||||
call GetMoveIndexFromID
|
||||
ld b, h
|
||||
ld c, l
|
||||
ld hl, .HMMoves
|
||||
ld de, 2
|
||||
jp IsInWordArray
|
||||
|
||||
.HMMoves:
|
||||
dw CUT
|
||||
dw FLY
|
||||
dw SURF
|
||||
dw STRENGTH
|
||||
dw FLASH
|
||||
dw WATERFALL
|
||||
dw WHIRLPOOL
|
||||
dw -1 ; end
|
||||
Loading…
Add table
Add a link
Reference in a new issue