mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-09-09 09:51:34 -07:00
Move the map_header macro into macros/map.asm.
This commit is contained in:
parent
2c5be67604
commit
1480602df7
@ -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::
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user