selected_party_slot
Global of Himegari Dungeon Meister: the cell G:0x6718, of type int, index-pointer, values 0..99.
Current/selected slot in the 100-entry party-unit arrays. UNITECH chooses a free slot here before populating it; CHMENU replaces it with the selected sorted roster slot, then uses it to index party_slot_flags, party_slot_character_id, and companion per-slot tables. A natural New Game enters SC0000 with slot 2 selected.
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 0x673c, 0x67a0.
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 |
|---|---|---|---|
SALLY | 31 | 4 | 0 |
CHMENU | 30 | 2 | 0 |
UNITECH | 9 | 4 | 0 |
DELCH | 4 | 3 | 0 |
SETCH | 6 | 0 | 0 |
READY | 2 | 2 | 0 |
DRAWCHP | 2 | 1 | 0 |
EXILE | 1 | 1 | 0 |
FIELD | 1 | 1 | 0 |
ADDSKILL | 0 | 1 | 0 |
SUMMON | 0 | 1 | 0 |