mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08:00
14 lines
222 B
NASM
14 lines
222 B
NASM
UpdateItemDescription:
|
|
ld a, [wMenuSelection]
|
|
ld [wCurSpecies], a
|
|
hlcoord 0, 12
|
|
ld b, 4
|
|
ld c, SCREEN_WIDTH - 2
|
|
call Textbox1bpp
|
|
ld a, [wMenuSelection]
|
|
cp -1
|
|
ret z
|
|
decoord 1, 14
|
|
farcall PrintItemDescription
|
|
ret
|