pokegold-spaceworld/engine/link/place_waiting_text.asm
luckytyphlosion e1659ecd41 Introduce linkerscript.
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.
2018-07-03 17:07:05 -04:00

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 "つうしんたいきちゅう!@"