mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-01-23 09:16:20 -08:00
Renamed `game` to `games` and `menu` to `menus`. Moved some functions from `engine/routines/` to their fitting subdirectories. Made two new subdirectories: * engine/rtc: Contains all RTC-related things. Menus, hardware, misc functions. * engine/items: Contains all item-related things. Pack, item effects, other item handlers.
14 lines
228 B
NASM
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
|