summaryrefslogtreecommitdiff
path: root/engine/link/place_waiting_text.asm
blob: 0d33b5a1c3f790cc4b41f7414466b44021bba46e (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
INCLUDE "constants.asm"

SECTION "engine/link/place_waiting_text.asm", ROMX

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