ref: c0c081d60fa2e23fdfbd938994506ca63fd44780
parent: b097617f9f3a23092ef3f3c0eedba4ae6fa04e06
author: yenatch <[email protected]>
date: Tue Feb 10 12:59:50 EST 2015
Some coord labels in misc/crystal_misc.asm.
--- a/misc/crystal_misc.asm
+++ b/misc/crystal_misc.asm
@@ -30,7 +30,7 @@
ld bc, $a
xor a
call ByteFill
- ld hl, Buffer1 ; $d1ea (aliases: MagikarpLength)
+ ld hl, Buffer1
ld bc, $10
ld a, $ff
call ByteFill
@@ -55,7 +55,7 @@
ret
Function17a6f5: ; 17a6f5 (5e:66f5)
- ld hl, Buffer1 ; $d1ea (aliases: MagikarpLength)
+ ld hl, Buffer1
ld c, $0
ld b, $8
.asm_17a6fc
@@ -95,7 +95,7 @@
ld a, $ff
call ByteFill
pop de
- ld hl, Buffer1 ; $d1ea (aliases: MagikarpLength)
+ ld hl, Buffer1
ld b, $8
.asm_17a732
ld c, $0
@@ -429,7 +429,7 @@
ld [$d08c], a
ld c, a
ld b, $0
- ld hl, Buffer1 ; $d1ea (aliases: MagikarpLength)
+ ld hl, Buffer1
add hl, bc
ld [hl], $ff
ld a, $2
@@ -450,7 +450,7 @@
ld b, $0
inc a
ld [$d08c], a
- ld hl, Buffer1 ; $d1ea (aliases: MagikarpLength)
+ ld hl, Buffer1
add hl, bc
ld [hl], e
and a
@@ -464,7 +464,7 @@
ld bc, $212
call ClearBox
hlcoord 3, 2
- ld de, Buffer1 ; $d1ea (aliases: MagikarpLength)
+ ld de, Buffer1
ld a, [$d08c]
and a
ret z
@@ -645,7 +645,7 @@
call Function17aae3
ld c, a
ld b, $0
- ld hl, AttrMap ; $cdd9
+ ld hl, AttrMap ; AttrMap + 0 + 0 * SCREEN_WIDTH
add hl, bc
push hl
ld a, $4
@@ -764,7 +764,7 @@
Function17ac0c: ; 17ac0c (5e:6c0c)
call Function17ac1d
call Function17ac2a
- ld hl, TileMap ; $c4a0 (aliases: SpritesEnd)
+ ld hl, TileMap
ld b, $2
ld c, $12
call Function17ac46
@@ -779,10 +779,10 @@
Function17ac2a: ; 17ac2a (5e:6c2a)
ld hl, Tilemap_17ae3d
- ld de, $ce29
+ decoord 0, 4, AttrMap
ld bc, $118
call CopyBytes
- ld hl, $ce29
+ hlcoord 0, 4, AttrMap
ld bc, $118
.asm_17ac3c
ld a, [hl]