arterial.area.after_loaders
Patch point of Soukoku no Arterial, in the script SETMAPDATA.
SETMAPDATA's exit. The loaders of the area in play (current_area_id) have run, each layer's in its turn: for each slot from 0 (the base) to 31 ($n$ for append n), MPINIT (the points, area_point), ROINIT (the routes, area_route) and UNINIT (the units, area_unit), each of which clears its arrays before it fills them. After them SETMAPDATA has given area_unit[1], the player's unit, the pictures of map_agent_character_id, or of party_leader_id when no agent is set. ALLMAP runs SETMAPDATA when it sets an area up, before the READY chain; BTL runs it after a battle whose next scene is played on a map (G[0x36ca]), and INIT2 when a save made on a map is loaded. The tables are written afresh each time.
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 |
|---|---|
513217fe2b87 (the script as OME’s index has it) | 0xc1 |
The base mod raises arterial.area.loaded here. The patching and Lua guides explain how a mod uses a point.