current_arena_battle_id
Global of Kamidori Alchemy Meister: the cell G:0x537f9, of type int, index-pointer, values selected ARINIT battle id.
ARENA@0x73a sets it from the list; ARENA, STAGECLEAR@0xe94 (win count) index with it.
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.
| Script | Reads | Writes | Indexes |
|---|---|---|---|
ARENA | 18 | 3 | 0 |
ORGANIZE | 4 | 0 | 0 |
STAGECLEAR | 2 | 0 | 0 |