town_site_cursor_links
Global of Kamidori Alchemy Meister: the cell G:0x13eb29, of type int[30x4], data-table, values neighbouring site id for each cursor direction; -1 = none.
TOWN@0x6a8 follows [site*4 + direction] when moving the cursor, skipping hidden sites. Direction order inferred from coordinates: down, left, up, right.
OME’s registry gives it with med confidence, from investigation. The base mod kamidori-base exports the name, so Lua and an event’s fields can use it.
Its columns are named: 0 down, 1 left, 2 up, 3 right. Lua and an event’s cell write a row’s column town_site_cursor_links[i].column.
Scripts that use it
The game’s scripts whose instructions read, write or index (take as an array’s base) the cell, with how many of their operands do each, from OME’s script index.
| Script | Reads | Writes | Indexes |
|---|---|---|---|
SIINIT | 0 | 56 | 1 |
TOWN | 0 | 0 | 1 |