summaryrefslogtreecommitdiff
path: root/home/map.asm
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/map.asm
parenta3242b4ad45bc029461166d1aa6151892b60269e (diff)
More comments
Fix some constants
Diffstat (limited to 'home/map.asm')
-rw-r--r--home/map.asm4
1 files changed, 2 insertions, 2 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