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
19
engine/pokemon/print_move_description.asm
Normal file
19
engine/pokemon/print_move_description.asm
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
PrintMoveDescription:
|
||||
push hl
|
||||
ld a, [wCurSpecies]
|
||||
call GetMoveIndexFromID
|
||||
ld b, h
|
||||
ld c, l
|
||||
ld a, BANK(MoveDescriptions)
|
||||
ld hl, MoveDescriptions
|
||||
call LoadDoubleIndirectPointer
|
||||
jr nz, .ok
|
||||
ld a, BANK(InvalidMoveDescription)
|
||||
ld hl, InvalidMoveDescription
|
||||
.ok
|
||||
ld d, h
|
||||
ld e, l
|
||||
pop hl
|
||||
jp FarPlaceString
|
||||
|
||||
INCLUDE "data/moves/descriptions.asm"
|
||||
Loading…
Add table
Add a link
Reference in a new issue