shithub: pokecrystal

ref: f59f1bdb88297678d48bcbd01c143994cb307036
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