shithub: pokecrystal

Download patch

ref: 3dcc0066a5814b8c24e167fd59d2dfcd5413c9c5
parent: 6d20cf3e80780af15ed15acea2f7feac1ffd9705
author: Remy Oukaour <remy.oukaour@gmail.com>
date: Tue Jan 16 18:55:33 EST 2018

Comments help find map_data.asm

--- a/data/maps/map_data.asm
+++ b/data/maps/map_data.asm
@@ -1,5 +1,5 @@
 map_data: MACRO
-;\1: map label
+;\1: map name
 ;\2: map id
 ;\3: border block
 ;\4: connections: combo of NORTH, SOUTH, WEST, and/or EAST, or 0 for none
@@ -17,7 +17,7 @@
 connection: MACRO
 if "\1" == "north"
 ;\2: map id
-;\3: map label (eventually will be rolled into map id)
+;\3: map name (eventually will be rolled into map id)
 ;\4: x
 ;\5: offset?
 ;\6: strip length
@@ -34,7 +34,7 @@
 
 if "\1" == "south"
 ;\2: map id
-;\3: map label (eventually will be rolled into map id)
+;\3: map name (eventually will be rolled into map id)
 ;\4: x
 ;\5: offset?
 ;\6: strip length
@@ -51,7 +51,7 @@
 
 if "\1" == "west"
 ;\2: map id
-;\3: map label (eventually will be rolled into map id)
+;\3: map name (eventually will be rolled into map id)
 ;\4: y
 ;\5: offset?
 ;\6: strip length
@@ -68,7 +68,7 @@
 
 if "\1" == "east"
 ;\2: map id
-;\3: map label (eventually will be rolled into map id)
+;\3: map name (eventually will be rolled into map id)
 ;\4: y
 ;\5: offset?
 ;\6: strip length
--- a/data/maps/map_defs.asm
+++ b/data/maps/map_defs.asm
@@ -1,5 +1,5 @@
 map_def: MACRO
-;\1: map label
+;\1: map name: for the MapData pointer (see data/maps/map_data.asm)
 ;\2: tileset: a TILESET_* constant
 ;\3: environment: TOWN, ROUTE, INDOOR, CAVE, ENVIRONMENT_5, GATE, or DUNGEON
 ;\4: location: from constants/landmark_constants.asm