current_skill_id
Global of Himegari Dungeon Meister: the cell G:0xa6e59, of type int, index-pointer, values SKINIT skill id; 0 means none.
Shared skill-id argument/selection slot. Skill menus and combat scripts write the chosen skill id and use it to index SKINIT arrays; SKMES compares it against all 131 skill ids to select the matching player-facing title and description.
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.
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 |
|---|---|---|---|
SKMES | 131 | 0 | 0 |
CHMENU | 6 | 7 | 0 |
INFOIT | 5 | 3 | 0 |
ADDSKILL | 7 | 0 | 0 |
DRAWTIP | 5 | 0 | 0 |
STATUS | 2 | 2 | 0 |
CALCDMG | 1 | 1 | 0 |
SC0420 | 0 | 2 | 0 |
CALCILL | 1 | 0 | 0 |
FORT | 0 | 1 | 0 |
SC0400 | 0 | 1 | 0 |
TRAIN | 0 | 1 | 0 |