$4$UNINIT
Script $4$UNINIT.BIN of Soukoku no Arterial: id 0x40003d0, 563 instructions, fingerprint bb1e8cc6edad.
A layer: the game mounts it over UNINIT, the base script it writes over.
What its base script does, from OME’s notes on it:
The units on the area in play: a card each, and nineteen more arrays. It clears its arrays and fills them from the branch for current_area_id; SETMAPDATA runs it, then each append's.
Source: docs/arterial-data-tables.md (On-demand tables)
Its caller sets these globals before the call:
| Global | What it holds |
|---|---|
current_area_id | the area in play, an AMINIT id |
Calls
No script calls it by a constant id.
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 2 reads, 105 writes and 0 indexes more.
| Global | Reads | Writes | Indexes |
|---|---|---|---|
area_unit_pictures | 0 | 123 | 0 |
area_unit_kinds | 0 | 85 | 0 |
area_unit_state_ids | 0 | 85 | 0 |
area_unit_extra_pictures | 0 | 38 | 0 |
current_area_id | 32 | 0 | 0 |
area_unit_decks | 0 | 31 | 0 |
area_unit_icons | 0 | 31 | 0 |