world_area_visible_count
Global of Kamidori Alchemy Meister: the cell G:0x13e871, of type int, counter, values number of entries in world_area_visible_list (SELSTAGE forces 1 for direct calls).
ALLMAP@0xd14 resets/increments it; loops at ALLMAP@0xb7, 0x1128 and modulo cycling at ALLMAP@0xaf6, SELSTAGE@0x3a6.
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 |
|---|---|---|---|
ALLMAP | 14 | 2 | 0 |
SELSTAGE | 4 | 1 | 0 |