You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-09-08 08:13:02 -07:00
Move the map_header macro into macros/map.asm.
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user