mirror of
https://github.com/pret/pokefirered.git
synced 2026-05-08 07:53:59 -05:00
32 lines
1.1 KiB
Plaintext
32 lines
1.1 KiB
Plaintext
{{ doNotModifyHeader }}
|
|
## for item in items
|
|
## if item.pocket == "POCKET_TM_CASE"
|
|
extern const u8 gMoveDescription_{{ item.moveId }}[];
|
|
## endif
|
|
{% if item.itemId != "ITEM_NONE" %}const u8 gItemDescription_{{ item.itemId }}[] = _("{{ item.description_english }}");{% endif %}
|
|
## endfor
|
|
const u8 gItemDescription_ITEM_NONE[] = _("?????");
|
|
|
|
const struct Item gItems[] = {
|
|
{% for item in items %}{
|
|
.name = _("{{ item.english }}"),
|
|
.itemId = {{ item.itemId }},
|
|
.price = {{ item.price }},
|
|
.holdEffect = {{ item.holdEffect }},
|
|
.holdEffectParam = {{ item.holdEffectParam }},
|
|
## if item.pocket == "POCKET_TM_CASE"
|
|
.description = gMoveDescription_{{ item.moveId }},
|
|
## else
|
|
.description = gItemDescription_{{ item.itemId }},
|
|
## endif
|
|
.importance = {{ item.importance }},
|
|
.exitsBagOnUse = {{ item.exitsBagOnUse }},
|
|
.pocket = {{ item.pocket }},
|
|
.type = {{ item.type }},
|
|
.fieldUseFunc = {{ item.fieldUseFunc }},
|
|
.battleUsage = {{ item.battleUsage }},
|
|
.battleUseFunc = {{ item.battleUseFunc }},
|
|
.secondaryId = {{ item.secondaryId }}
|
|
}, {% endfor %}
|
|
};
|