shithub: pokecrystal

ref: 770d2fc4cb3368b237d8ba33dcd6e5d9f0740863
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