shithub: pokecrystal

ref: 2354c41a96bdf80861338add2f0b3a67b18f160e
dir: /engine/link/place_waiting_text.asm/

View raw version
PlaceWaitingText::
	hlcoord 3, 10
	ld b, 1
	ld c, 11

	ld a, [wBattleMode]
	and a
	jr z, .notinbattle

	call Textbox
	jr .proceed

.notinbattle
	predef LinkTextboxAtHL

.proceed
	hlcoord 4, 11
	ld de, .Waiting
	call PlaceString
	ld c, 50
	jp DelayFrames

.Waiting:
	db "Waiting...!@"