shared_scratch_value
Global of Kamidori Alchemy Meister: the cell G:0xfec0c, of type int, choice-output, values any; it means something only between a write and the reads that follow it.
A temporary 362 scripts share, each writing it before reading it (3,859 operands, most mov and lookup-array; 0xfec0d is a second one). It also carries an argument: ADDEXP@0x0007a reads the award from it. ADDITEM@0x00088 holds there the money it pays for the items past the count cap. The base mod's give_item helper puts it back after ADDITEM.
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.
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.