shithub: pokecrystal

ref: 1853f70addb0bfa9164bc2b5134e564f526b2b1a
dir: /home/copy_name.asm/

View raw version
CopyName1::
; Copies the name from de to wStringBuffer2
	ld hl, wStringBuffer2

CopyName2::
; Copies the name from de to hl
.loop
	ld a, [de]
	inc de
	ld [hli], a
	cp "@"
	jr nz, .loop
	ret