From 1480602df75b980e291a832ba3a485d123a53047 Mon Sep 17 00:00:00 2001 From: yenatch Date: Wed, 11 Feb 2015 23:20:53 -0800 Subject: Move the map_header macro into macros/map.asm. --- macros/map.asm | 9 +++++++++ maps/map_headers.asm | 8 -------- 2 files changed, 9 insertions(+), 8 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:: diff --git a/maps/map_headers.asm b/maps/map_headers.asm index 90cb1f415..36768a54d 100644 --- a/maps/map_headers.asm +++ b/maps/map_headers.asm @@ -1,11 +1,3 @@ -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 - MapGroupPointers:: ; 0x94000 ; pointers to the first map header of each map group -- cgit v1.2.3