Move the map_header macro into macros/map.asm.

This commit is contained in:
yenatch 2015-02-11 23:20:53 -08:00
parent 2c5be67604
commit 1480602df7
2 changed files with 9 additions and 8 deletions

View File

@ -66,6 +66,15 @@ warp_def: macro
endm 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 map_header_2: MACRO
; label, map, border block, connections ; label, map, border block, connections
\1_SecondMapHeader:: \1_SecondMapHeader::

View File

@ -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 MapGroupPointers:: ; 0x94000
; pointers to the first map header of each map group ; pointers to the first map header of each map group