summaryrefslogtreecommitdiff
path: root/macros
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2015-02-11 23:20:53 -0800
committeryenatch <yenatch@gmail.com>2015-02-11 23:27:11 -0800
commit1480602df75b980e291a832ba3a485d123a53047 (patch)
tree0b8be61e8f894e0cd21c3794378b4c871d4f9717 /macros
parent2c5be6760437c363617ad4052a40e5f5fd8e7470 (diff)
Move the map_header macro into macros/map.asm.
Diffstat (limited to 'macros')
-rw-r--r--macros/map.asm9
1 files changed, 9 insertions, 0 deletions
diff --git a/macros/map.asm b/macros/map.asm
index 81ac32a1b..b5f66bafb 100644
--- a/macros/map.asm
+++ b/macros/map.asm
@@ -66,6 +66,15 @@ warp_def: macro
endm
+map_header: MACRO
+ ; label, tileset, permission, location, music, time of day, fishing group
+\1_MapHeader:
+ db BANK(\1_SecondMapHeader), \2, \3
+ dw \1_SecondMapHeader
+ db \4, \5, \6, \7
+ENDM
+
+
map_header_2: MACRO
; label, map, border block, connections
\1_SecondMapHeader::