mirror of
https://github.com/thornAvery/jep-hack.git
synced 2026-02-07 08:35:23 +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
24
engine/pokemon/knows_move.asm
Normal file
24
engine/pokemon/knows_move.asm
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
KnowsMove:
|
||||
ld a, MON_MOVES
|
||||
call GetPartyParamLocation
|
||||
ld a, [wPutativeTMHMMove]
|
||||
ld b, a
|
||||
ld c, NUM_MOVES
|
||||
.loop
|
||||
ld a, [hli]
|
||||
cp b
|
||||
jr z, .knows_move
|
||||
dec c
|
||||
jr nz, .loop
|
||||
and a
|
||||
ret
|
||||
|
||||
.knows_move
|
||||
ld hl, .KnowsMoveText
|
||||
call PrintText
|
||||
scf
|
||||
ret
|
||||
|
||||
.KnowsMoveText:
|
||||
text_far _KnowsMoveText
|
||||
text_end
|
||||
Loading…
Add table
Add a link
Reference in a new issue