$3$LAINIT
Script $3$LAINIT.BIN of Kamidori Alchemy Meister: id 0x3000238, 33 instructions, fingerprint 03aadf676486.
A layer: the game mounts it over LAINIT, the base script it writes over.
What its base script does, from OME’s notes on it:
The dungeon terrain types. Built at boot.
Source: docs/kamidori-data-tables.md (Table inventory; Terrain)
Calls
Called by $3$AUTORUN.
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.
| Global | Reads | Writes | Indexes |
|---|---|---|---|
terrain_element_ids | 0 | 5 | 0 |
terrain_move_costs | 0 | 5 | 0 |
terrain_room_join_flags | 0 | 5 | 0 |
terrain_texture_slot_indices | 0 | 5 | 0 |
terrain_type_names | 0 | 5 | 0 |
terrain_visibility_classes | 0 | 5 | 0 |
map_texture_default_asset_ids | 0 | 2 | 0 |