defense_element_names
Global of Himegari Dungeon Meister: the cell GS:0x26a4, of type string[16], string-table, values Japanese defense-affinity display strings for ids 1..12 (1 physical, 2 universal, 3 fire, 4 ice, 5 lightning, 6 earth, 7 holy, 8 dark, 9 divinity, 10 demon, 11 spirit, 12 undead); unused cells are empty.
AFINIT defense-side affinity vocabulary (AFINIT@0x4b-0x82). DRAWENP and DRAWTIP index it with unit/item defense element ids; the same id selects a row of attack_element_effectiveness_percent. Sixteen cells: GS 0x26b4, its cell 16, is class_change_title_output, and terrain_type_names starts at 0x26b5.
OME’s registry gives it with high confidence, from investigation. The base mod himegari-base exports the name, so Lua and an event’s fields can use it.
It depends on 0x77c6e, 0x8e3d1, 0xab5ba.
Record tables
It is a field of the table element, as element.id.name.
Scripts that use it
The game’s scripts whose instructions read, write or index (take as an array’s base) the cell, with how many of their operands do each, from OME’s script index.
| Script | Reads | Writes | Indexes |
|---|---|---|---|
AFINIT | 0 | 12 | 0 |
DRAWENP | 0 | 0 | 1 |
DRAWTIP | 0 | 0 | 1 |