current_magic_action_id
Global of Himegari Dungeon Meister: the cell G:0x1560e7, of type int, index-pointer, values MAINIT action id 0..11; 0 means none.
Shared selected magic/research/growth action id. MAGIC and STUDY index MAINIT's parallel columns with it, FIELD and USEMAGIC consume the selected action, and MAMES dispatches ids 1..9 to their untitled help descriptions.
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 0x45b9, 0x1561f6.
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 |
|---|---|---|---|
MAGIC | 17 | 5 | 0 |
FIELD | 11 | 0 | 0 |
STUDY | 8 | 3 | 0 |
EVOLVE | 9 | 1 | 0 |
MAMES | 9 | 0 | 0 |
USEMAGIC | 6 | 0 | 0 |
SELACT | 0 | 1 | 0 |
SUMMON | 0 | 1 | 0 |