jep-hack/engine/pokemon/print_move_description.asm
Zeta_Null 2f8a41f833 First Commit
Upload literally everything from the pokecrystal16 expand-move-ID branch
2023-09-10 12:35:35 -04:00

20 lines
349 B
NASM

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"