stage_occupation_percent
Global of Kamidori Alchemy Meister: the cell G:0x523d, of type int[1000], counter, values 0..100 (% of floor held by the player).
FIELD@0xc7ac/0xc807 store floor_occupation_percent_by_faction[1]; SELSTAGE@0x104a prints it with '%'. FIELD@0x756: value 100 reveals and claims every non-void tile on entry; FIELD@0xc813: reaching 100 sets stage_objective_reward_state bit 0 of objective 0.
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 |
|---|---|---|---|
FIELD | 0 | 0 | 5 |
SELSTAGE | 0 | 0 | 1 |