magic_action_icon_ids
Global of Himegari Dungeon Meister: the cell G:0x1560e8, of type int[30], data-table, values icon id in the item icon sheet (SO016.AGF, ten 40-pixel cells to a row); 221..226 for the six field magics, 0 for the rituals.
MAINIT's icon for each action, indexed by action id. MAGIC draws it for each listed magic (MAGIC@0x97e-0x9ec) and for the selected one (MAGIC@0xd2a-0xd91) from surface 0x49, which READICON loads with SO016 (FIELD@0x90f7, INFO@0xe4): the cell at ((id - 1) % 10 * 40, (id - 1) / 10 * 40), 40 by 40, as INFOIT cuts item_icon_id.
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 0x1560e7, 0x8dc01.
Record tables
It is a field of the table magic_action, as magic_action.id.icon_id.
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 |
|---|---|---|---|
MAINIT | 0 | 6 | 0 |
MAGIC | 0 | 0 | 2 |