summaryrefslogtreecommitdiff
path: root/engine/link/place_waiting_text.asm
blob: bfe9d7e11d538e1cb07ae1a42292d867b54f415e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
INCLUDE "constants.asm"

SECTION "PlaceWaitingText", ROMX[$4000], BANK[$01]

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
	; TODO
	; predef Predef_LinkTextbox
	ld a, $1c
	call Predef
.textbox_done
	hlcoord 4, 11
	ld de, .Waiting
	call PlaceString
	ld c, 50
	jp DelayFrames

.Waiting
	db "つうしんたいきちゅう!@"