stage_description_lines
Global of Himegari Dungeon Meister: the cell GS:0x2ba5, of type string[1000][6], string-table, values up to three player-facing lines before clear and three after clear; 296 populated shipped cells.
SELSTAGE multiplies stage_clear_state by three and renders the corresponding three-column half of the selected STINIT2 row. The explicit 1,000-by-6 geometry prevents these strings from being mistaken for additional stage records.
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: 0 uncleared_line_1, 1 uncleared_line_2, 2 uncleared_line_3, 3 cleared_line_1, 4 cleared_line_2, 5 cleared_line_3. Lua and an event’s cell write a row’s column stage_description_lines[i].column.
It depends on 0x27bd, 0x7684.
Record tables
It is a field of the table stage_catalog, as stage_catalog.id.description.
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 |
|---|---|---|---|
STINIT2 | 0 | 296 | 0 |
$1$STINIT2 | 0 | 21 | 0 |
SELSTAGE | 0 | 0 | 1 |