summaryrefslogtreecommitdiff
path: root/home/util.asm
diff options
context:
space:
mode:
Diffstat (limited to 'home/util.asm')
-rw-r--r--home/util.asm16
1 files changed, 8 insertions, 8 deletions
diff --git a/home/util.asm b/home/util.asm
index ed3f16b..81435c2 100644
--- a/home/util.asm
+++ b/home/util.asm
@@ -14,7 +14,7 @@ Function33ef::
dec a
dec a
ld b, $0
-.asm_33f7: ; 00:33f7
+.asm_33f7:
add hl, bc
dec a
jr nz, .asm_33f7
@@ -26,7 +26,7 @@ Function33ef::
ld d, h
ld e, l
pop hl
-.asm_3403: ; 00:3403
+.asm_3403:
push af
push bc
call CopyBytes
@@ -49,7 +49,7 @@ Function33ef::
pop de
jp CopyBytes
-SkipNames:: ; 341f
+SkipNames::
; Returns hl + a * 6
and a
ret z
@@ -60,7 +60,7 @@ SkipNames:: ; 341f
jr nz, .loop
ret
-AddNTimes:: ; 3429 (0:3429)
+AddNTimes::
; Adds bc to hl, a times
and a
ret z
@@ -71,7 +71,7 @@ AddNTimes:: ; 3429 (0:3429)
ret
; 0x3430
-memcmp:: ; 3430
+memcmp:: ; TODO: rename
; Compare c bytes at hl and de
; Returns z if all equal, nz otherwise.
.loop:
@@ -84,7 +84,7 @@ memcmp:: ; 3430
jr nz, .loop
ret
-Function3439:: ; 3439
+Function3439::
; Place 2x2 sprite from *de into OAM at slot a
ld h, HIGH(wVirtualOAM)
swap a
@@ -103,7 +103,7 @@ Function3439:: ; 3439
ld a, $8
add c
ld c, a
-.Load: ; 00:3455
+.Load:
ld [hl], b
inc hl
ld [hl], c
@@ -114,4 +114,4 @@ Function3439:: ; 3439
ld a, [de]
inc de
ld [hli], a
- ret \ No newline at end of file
+ ret