Skip to content

Adult titles

The games this site covers are adult titles. Their data, pictures and text include sexual content.

Continue only if you are an adult where you live.

item_affinity_level_deltas

Global of Kamidori Alchemy Meister: the cell G:0x2dfb38, of type int[2000][8], data-table, values signed affinity-level delta per element; +1 = one step more resistant.

CALCARM@0x00000 copies the row into work 0x2a9b71. CALCREVISE@0x002f9 adds each equipped item's row to the unit affinity levels 0x53d42[8], then clamps them to 0..11. INFO3@0x017a4 shows GStr[0x621a+5+delta] (affinity_level_names). Orb items 286..292 prove the columns, e.g. 地脈の宝珠 writes column 2 = +1 and 万能の宝珠 writes columns 1..5. Column 0 is 無属's (Omni), which no item writes.

OME’s registry gives it with high 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 omni, 1 physical, 2 earth, 3 ice, 4 fire, 5 lightning, 6 holy, 7 dark. Lua and an event’s cell write a row’s column item_affinity_level_deltas[i].column.

Record tables

It is a field of the table item, as item.id.affinity_level_deltas.

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.

ScriptReadsWritesIndexes
ITINIT0910
$3$ITINIT0570
$1$ITINIT0200
$2$ITINIT020
CALCARM002
CALCREVISE001
INFO3001