pokecrystal-board/engine/routines/updateitemdescription.asm
2018-01-23 17:39:09 -05:00

14 lines
228 B
NASM

UpdateItemDescription: ; 0x244c3
ld a, [wMenuSelection]
ld [wCurSpecies], a
hlcoord 0, 12
ld b, 4
ld c, SCREEN_WIDTH - 2
call TextBox
ld a, [wMenuSelection]
cp -1
ret z
decoord 1, 14
farcall PrintItemDescription
ret