summaryrefslogtreecommitdiff
path: root/home
diff options
context:
space:
mode:
authorRemy Oukaour <remy.oukaour@gmail.com>2018-01-09 15:39:48 -0500
committerRemy Oukaour <remy.oukaour@gmail.com>2018-01-09 15:39:48 -0500
commita849c3557b8ee3dd2b464ccdc646aebd33d7b2a7 (patch)
tree1de41038085c5bcf76985b4ca3f6be4735c4dff8 /home
parenta3242b4ad45bc029461166d1aa6151892b60269e (diff)
More comments
Fix some constants
Diffstat (limited to 'home')
-rw-r--r--home/map.asm4
-rw-r--r--home/menu.asm2
2 files changed, 3 insertions, 3 deletions
diff --git a/home/map.asm b/home/map.asm
index 1e409f0fc..ae1749acd 100644
--- a/home/map.asm
+++ b/home/map.asm
@@ -2106,11 +2106,11 @@ GetMapHeaderMember:: ; 0x2c04
; Extract data from the current map's header.
; inputs:
-; de = offset of desired data within the mapheader
+; de = offset of desired data within the mapheader (a MAPHEADER_* constant)
; outputs:
; bc = data from the current map's header
-; (e.g., de = $0003 would return a pointer to the secondary map header)
+; (e.g., de = MAPHEADER_MAPHEADER2 would return a pointer to the secondary map header)
ld a, [MapGroup]
ld b, a
diff --git a/home/menu.asm b/home/menu.asm
index 03cec64df..b2aacf61e 100644
--- a/home/menu.asm
+++ b/home/menu.asm
@@ -517,7 +517,7 @@ ClearWindowData:: ; 1fbf
; 1ff0
.bytefill ; 1ff0
- ld bc, $0010
+ ld bc, $10
xor a
call ByteFill
ret