mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-09-09 09:51:34 -07:00
14 lines
190 B
NASM
14 lines
190 B
NASM
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
|