diff options
Diffstat (limited to 'home/copy_name.asm')
-rw-r--r-- | home/copy_name.asm | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/home/copy_name.asm b/home/copy_name.asm new file mode 100644 index 000000000..52bcc93e7 --- /dev/null +++ b/home/copy_name.asm @@ -0,0 +1,14 @@ +CopyName1:: ; 30d6 +; Copies the name from de to wStringBuffer2 + ld hl, wStringBuffer2 + +CopyName2:: ; 30d9 +; Copies the name from de to hl +.loop + ld a, [de] + inc de + ld [hli], a + cp "@" + jr nz, .loop + ret +; 30e1 |