mirror of
https://github.com/pret/pokegold-spaceworld.git
synced 2026-04-24 14:59:33 -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.
25 lines
403 B
NASM
25 lines
403 B
NASM
INCLUDE "constants.asm"
|
|
|
|
SECTION "engine/link/place_waiting_text.asm", ROMX
|
|
|
|
PlaceWaitingText:: ; 1:4000
|
|
hlcoord 3, 10
|
|
ld b, 1
|
|
ld c, 11
|
|
ld a, [wBattleMode]
|
|
and a
|
|
jr z, .link_textbox
|
|
call DrawTextBox
|
|
jr .textbox_done
|
|
|
|
.link_textbox
|
|
predef LinkTextboxAtHL
|
|
.textbox_done
|
|
hlcoord 4, 11
|
|
ld de, .Waiting
|
|
call PlaceString
|
|
ld c, 50
|
|
jp DelayFrames
|
|
|
|
.Waiting
|
|
db "つうしんたいきちゅう!@" |