shop_level_scaled_table
Global of Kamidori Alchemy Meister: the cell G:0x3b2b95, of type int[21], data-table, values 1-based; 5..50 then 4 at index 20.
CALCSETTLE@0x00014 copies [0x7ea49] into 0x13fba7, and CALCSETTLE@0x000cd adds index 20 (0x3b2ba9) for each roster member it counts. Probably a shop-level settlement table. AFINIT writes index 1 on from an inline array (AFINIT@0x554) and index 20 alone (AFINIT@0x559), so the table is 21 cells.
OME’s registry gives it with low confidence, from investigation. The base mod kamidori-base exports the name, so Lua and an event’s fields can use it.
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 |
|---|---|---|---|
AFINIT | 0 | 1 | 1 |
CALCSETTLE | 1 | 0 | 1 |
$3$AUTORUN | 0 | 1 | 0 |