shared_loop_index
Global of Kamidori Alchemy Meister: the cell G:0xfd42d, of type int, choice-output, values a loop's counter.
The loop index most scripts share: 365 scripts count with it (mov 0, add 1, lt N; 21,101 operands), so a script keeps it only while it calls no other script that loops. ADDITEM@0x00126 loops over an item's granted skill bundle with it. The base mod's give_item helper puts it back after ADDITEM.
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.
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.