room_count
Global of Kamidori Alchemy Meister: the cell G:0x50ec2, of type int, counter, values 0..626.
SETROOM@0xa4 increments per flood-filled room; loop bound in DRAWMAP@0x1d1, SETHALLTEX@0x19 and CALCOCC@0xae.
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 |
|---|---|---|---|
SETROOM | 6 | 2 | 0 |
CALCOCC | 2 | 0 | 0 |
DRAWMAP | 2 | 0 | 0 |
SETHALLTEX | 1 | 0 | 0 |