arterial.boot.data_layered
Patch point of Soukoku no Arterial, in the script INIT2.
The instruction after op 0x143 (INIT2@0x17e). Every layer has written its data: the 29 base *INIT scripts, INIT2's slot 0 of each append chain (the base scripts' ids) and its constants, then each mounted append's $n$AUTORUN, which runs its $n$*INIT layers and sets its slot n of each chain. The boot has not used the tables yet. INIT2 goes on to fill each unset text colour setting (G[0x36ed]) from voice_setting_text_colors, to index the faces (face_character_ids and face_slots, from character.face_id), to walk the cards of the six saved decks (G[0x9581] on), to run COUNTSKILL, and, when a save made on an area's map is loaded (G[0x36ca]), to set the area up again (SETMAPDATA, then SETMAPTEX, SETMAPANIME, DRAWMAP and DRAWOBJ). That work reads an edit made here. The tables lie above the saved prefix (0x3fb81): a load zeroes them, the prologue (SYSTEM4) builds them again, and control reaches here again while the load restores.
The point is one instruction, named the same in every revision of the script that has it. Its site, a dword offset into the script, in each revision OME knows:
| Script revision (fingerprint) | Site |
|---|---|
ffe0c8022233 (the script as OME’s index has it) | 0x17f |
The base mod raises arterial.data.layered here. The patching and Lua guides explain how a mod uses a point.