mirror of
https://github.com/pret/pokegold-spaceworld.git
synced 2026-03-29 13:35:11 -05:00
Addresses of sections will now be added to the linkerscript via `org`, and the section name will be the path/to/file. If there is more than one section in the file, then add a @SectionName after the path/to/file to describe the section.
11 lines
151 B
NASM
11 lines
151 B
NASM
INCLUDE "constants.asm"
|
|
|
|
SECTION "engine/landmarks.asm", ROMX
|
|
|
|
GetLandmarkName::
|
|
dec a
|
|
ld hl, LandmarkNames
|
|
call GetNthString
|
|
ld d, h
|
|
ld e, l
|
|
ret |