attack_element_names
Global of Himegari Dungeon Meister: the cell GS:0x2690, of type string[20], string-table, values Japanese element/attribute display strings; unused cells are empty.
AFINIT attack-side affinity vocabulary. DRAWTIP indexes ids 1..8 from ITINIT, while INFOAF displays those same eight ordinary attack elements above attack_element_effectiveness_percent.
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.
Its columns are named: 1 physical, 2 universal, 3 fire, 4 ice, 5 lightning, 6 earth, 7 holy, 8 dark, 11 resistance_1, 12 resistance_2, 13 resistance_3, 14 resistance_4, 15 resistance_5, 16 resistance_6, 17 resistance_7. Lua and an event’s cell write a row’s column attack_element_names[i].column.
It depends on 0x8dfe9, 0xa7436, 0xab5ba.
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 | 15 | 0 |
DRAWTIP | 0 | 0 | 1 |