pokecrystal-board/home/copy_name.asm

14 lines
190 B
NASM
Raw Normal View History

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