stage_map_texture
Record table of Himegari Dungeon Meister, records 0 to 19, 1 fields.
The current stage's floor sheet for each texture slot: above 0 a picture id, -1 the slot's default (map_texture), 0 not loaded (FIELD@0x9106-0x9181). STINIT sets all 20 slots (STINIT@0xa) and gives every map stage its own MP<stage>A in slot 1 and MP<stage>H in slot 8, 10 stages slot 5 and one stage each of slots 10 to 13; slots 2, 3 and 9 stay -1. A data file reaches it through the stage scope.
The game builds it when a stage loads, so a data file reaches it through the scope stage (ids 1 to 999): record r of stage id is [stage.id.texture.r], and a field stage.id.texture.r.field.
The scope stage: A stage, by current_stage_id. STINIT's stages are 1 to 170, and the per-stage arrays hold 1,000 (stage_loader_script_ids). himegari-base applies a scoped table at himegari.stage.loaded, whose stage is the id.
Fields
Each field is a global, one cell per record, named under the field. The last column is what a data file may write to it, as the base mod himegari-base’s shape says.
| Field and its global | Type | Refers to | In a data file |
|---|---|---|---|
asset_overridestage_map_texture_asset_overrides | int[20] | — | yes: a whole number |