mirror of
https://github.com/pret/pokegold-spaceworld.git
synced 2026-10-01 06:20:52 -04:00
e88fe24e15
This uses catch-all files like main.asm to reduce the total quantity and size of build objects (from 1.1 GB to 70 MB). --------- Co-authored-by: Rangi <35663410+Rangi42@users.noreply.github.com>
17 lines
224 B
NASM
17 lines
224 B
NASM
PrintItemDescription::
|
|
push de
|
|
ld hl, ItemDescriptions
|
|
ld a, [wSelectedItem]
|
|
dec a
|
|
ld c, a
|
|
ld b, 0
|
|
add hl, bc
|
|
add hl, bc
|
|
ld e, [hl]
|
|
inc hl
|
|
ld d, [hl]
|
|
pop hl
|
|
jp PlaceString
|
|
|
|
INCLUDE "data/items/descriptions.asm"
|