地名汉化
地名json生成规则按照之前泡泡的方法修改
This commit is contained in:
parent
ddb4abfbab
commit
962b58d33d
File diff suppressed because it is too large
Load Diff
@ -3,21 +3,21 @@
|
||||
#define GUARD_DATA_REGION_MAP_REGION_MAP_ENTRIES_H
|
||||
|
||||
## for map_section in map_sections
|
||||
{% if isEmptyString(getVar(map_section.name)) and not existsIn(map_section, "name_clone") %}{{ setVar(map_section.name, map_section.map_section) }}{% endif %}
|
||||
{% if isEmptyString(getVar(map_section.map_section)) and not existsIn(map_section, "name_clone") %}{{ setVar(map_section.map_section, map_section.map_section) }}{% endif %}
|
||||
## endfor
|
||||
|
||||
## for map_section in map_sections
|
||||
{% if getVar(map_section.name) == map_section.map_section %}
|
||||
static const u8 sMapName_{{ cleanString(map_section.name) }}[] = _("{{ map_section.name }}");
|
||||
{% if getVar(map_section.map_section) == map_section.map_section %}
|
||||
static const u8 sMapName_{{ cleanString(map_section.map_section) }}[] = _("{{ map_section.name }}");
|
||||
{% endif %}
|
||||
{% if existsIn(map_section, "name_clone") %}
|
||||
static const u8 sMapName_{{ cleanString(map_section.name) }}_Clone[] = _("{{ map_section.name }}");
|
||||
static const u8 sMapName_{{ cleanString(map_section.map_section) }}_Clone[] = _("{{ map_section.name }}");
|
||||
{% endif %}
|
||||
## endfor
|
||||
|
||||
const struct RegionMapLocation gRegionMapEntries[] = {
|
||||
## for map_section in map_sections
|
||||
[{{ map_section.map_section }}] = { {{ map_section.x }}, {{ map_section.y }}, {{ map_section.width }}, {{ map_section.height }}, sMapName_{{ cleanString(map_section.name) }}{% if existsIn(map_section, "name_clone") %}_Clone{% endif %} },
|
||||
[{{ map_section.map_section }}] = { {{ map_section.x }}, {{ map_section.y }}, {{ map_section.width }}, {{ map_section.height }}, sMapName_{{ cleanString(map_section.map_section) }}{% if existsIn(map_section, "name_clone") %}_Clone{% endif %} },
|
||||
## endfor
|
||||
};
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user