shithub: pokecrystal

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