pokecrystal/home/copy_name.asm

14 lines
190 B
NASM
Raw Permalink Normal View History

2018-06-24 14:09:41 +00:00
CopyName1::
; Copies the name from de to wStringBuffer2
ld hl, wStringBuffer2
2018-06-24 14:09:41 +00:00
CopyName2::
; Copies the name from de to hl
.loop
ld a, [de]
inc de
ld [hli], a
cp "@"
jr nz, .loop
ret