Move more code from home.asm into home/

This commit is contained in:
Rangi
2018-04-05 00:35:14 -04:00
parent 1e1bbbbf8c
commit 99df17d571
18 changed files with 1349 additions and 1361 deletions

14
home/copy_name.asm Normal file
View File

@@ -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