MES
Script MES.BIN of Himegari Dungeon Meister: id 0x2ae7, 274 instructions, fingerprint 0295dd23f69a.
The generic message box: it shows the lines its caller has put in the line buffers, with an optional annotation that SBUNKI uses too.
Source: docs/script-inventory.md (Message/string tables); docs/name-resolution.md
Calls
Called by ADDEXP, ADDRANDOMITEM, ADDSKILL, ALCHEMY, BTL, CHMENU, EVOLVE, EXILE, FIELD, IMPROVE, INPUTNAME, LOSTRANDOMITEM, MAGIC, SALLY, SAVE, SELSTAGE, STUDY, SUMMON, TRAIN, UNITECH, USEMAGIC.
It calls no script by a constant id.
Globals
The named globals its instructions read, write or index (take as an array’s base), with how many operands do each. Cells no global names yet take 1 reads, 1 writes and 0 indexes more.
| Global | Reads | Writes | Indexes |
|---|---|---|---|
game_mode | 2 | 2 | 0 |
modal_message_line_count | 2 | 1 | 0 |
system_flow_request | 3 | 0 | 0 |
modal_annotation_count | 1 | 1 | 0 |
modal_annotation_row_offsets | 0 | 0 | 2 |
modal_annotation_texts | 0 | 0 | 2 |
modal_message_lines | 0 | 0 | 2 |
field_map_continue_mode | 1 | 0 | 0 |
modal_annotation_horizontal_cells | 0 | 0 | 1 |
Waits
Its instructions that can wait (for input, a sleep, a transition, a dialog or a movie), by opcode:
mark-frame-yield: 1sleep: 1