item_costume_enhancement_grid
Global of Kamidori Alchemy Meister: the cell G:0x82100, of type int[2000][225], data-table, values per-costume 15x15 enhancement board; bits 16..18 = purchased effect slots.
CALCARM@0x000a2 walks all 225 cells of a costume. For each cell with bits 0x70000 it resolves a costume_enhancement id from 0x3a092a[(r+1)*2][(c+1)*2]-100 and applies effects 0..2 whose bit (16+k) is set. SELSEWUP reads and writes the cells. Also observed: [maps decode, named costume_board_node_states] CALCARM@0xa2 iterates 225 nodes (mask 0x70000) to sum bonuses; ENHANCE@0xf53/0xf7e set bit0.
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.
Record tables
It is a field of the table item, as item.id.costume_enhancement_grid.
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 |
|---|---|---|---|
ENHANCE | 0 | 0 | 12 |
GAMESTART | 0 | 0 | 5 |
SELSEWUP | 0 | 0 | 5 |
CALCARM | 0 | 0 | 2 |
GAMECLEAR | 0 | 0 | 1 |