shithub: pokecrystal

Download patch

ref: d4950870266b9c7305430e251b76e83175b81068
parent: 72af3337fd8746c51aac273b6c056209e73c7ae0
author: PikalaxALT <[email protected]>
date: Mon Nov 2 10:06:09 EST 2015

Removed \2\@ from map_header_2

--- a/macros/map.asm
+++ b/macros/map.asm
@@ -74,9 +74,7 @@
 ; label, map, border block, connections
 \1_SecondMapHeader::
 	db \3
-\2\@HEIGHT EQUS "\2_HEIGHT"
-\2\@WIDTH  EQUS "\2_WIDTH"
-	db \2\@HEIGHT, \2\@WIDTH
+	db \2_HEIGHT, \2_WIDTH
 	db BANK(\1_BlockData)
 	dw \1_BlockData
 	db BANK(\1_MapScriptHeader)
@@ -162,11 +160,6 @@
 \1_HEIGHT EQU \2
 \1_WIDTH EQU \3
 ENDM
-; map id, height, width
-; \1\@  EQUS "GROUP_\1"
-; \1\@_2 EQUS "MAP_\1"
-; \1\@ EQU const_value
-	; enum \1\@_2
 
 newgroup: MACRO
 const_value = const_value + 1