stage_objective_reward_state
Global of Kamidori Alchemy Meister: the cell G:0x1dcc5, of type int[1000x4], story-flag, values [stage][objective 0..3] bit0 = objective reward granted, bit1 = shown as achieved.
FIELD@0xc91e..0xca0a sets bit0 when objective k (any of the four STINIT2 reward columns nonzero) has its STINIT condition flags (0x140424[k][2]) satisfied; SELSTAGE@0x10da draws a lit marker when bit1 is set; STAGECLEAR@0x5c5 grants the rewards.
OME’s registry gives it with med 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 |
|---|---|---|---|
STAGECLEAR | 0 | 0 | 10 |
FIELD | 0 | 0 | 6 |
AIM | 0 | 0 | 3 |
SELSTAGE | 0 | 0 | 1 |