{{ doNotModifyHeader }}
#ifndef GUARD_DATA_REGION_MAP_REGION_MAP_ENTRIES_H
#define GUARD_DATA_REGION_MAP_REGION_MAP_ENTRIES_H

## for map_section in map_sections
{% if existsIn(map_section, "name") and isEmptyString(getVar(map_section.name)) and not existsIn(map_section, "name_clone") %}{{ setVar(map_section.name, map_section.id) }}{% endif %}
## endfor

static const u8 *const sMapNames[] = {
## for map_section in map_sections
{% if existsIn(map_section, "name") %}
    [{{ map_section.id }} - KANTO_MAPSEC_START] = sMapsecName_{{ cleanString(map_section.name) }}{% if existsIn(map_section, "name_clone") %}_Clone{% endif %},
{% endif %}
## endfor
};

static const u16 sMapSectionTopLeftCorners[MAPSEC_COUNT][2] = {
## for map_section in map_sections
{% if existsIn(map_section, "x") and existsIn(map_section, "y") %}
    [{{ map_section.id }} - KANTO_MAPSEC_START] = { {{ map_section.x }}, {{ map_section.y }} },
{% endif %}
## endfor
};

static const u16 sMapSectionDimensions[MAPSEC_COUNT][2] = {
## for map_section in map_sections
{% if existsIn(map_section, "width") and existsIn(map_section, "height") %}
    [{{ map_section.id }} - KANTO_MAPSEC_START] = { {{ map_section.width }}, {{ map_section.height }} },
{% endif %}
## endfor
};

#endif // GUARD_DATA_REGION_MAP_REGION_MAP_ENTRIES_H
