You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-09-08 08:13:02 -07:00
14 lines
225 B
NASM
14 lines
225 B
NASM
|
|
UpdateItemDescription: ; 0x244c3
|
||
|
|
ld a, [MenuSelection]
|
||
|
|
ld [CurSpecies], a
|
||
|
|
hlcoord 0, 12
|
||
|
|
ld b, 4
|
||
|
|
ld c, SCREEN_WIDTH - 2
|
||
|
|
call TextBox
|
||
|
|
ld a, [MenuSelection]
|
||
|
|
cp -1
|
||
|
|
ret z
|
||
|
|
decoord 1, 14
|
||
|
|
farcall PrintItemDescription
|
||
|
|
ret
|