current_quest_id
Global of Kamidori Alchemy Meister: the cell G:0x3b6e91, of type int, index-pointer, values quest id 0..1999.
Loop cursor / selected quest. CHECKCONTRACT@0x0 and CHECKREWARD@0x3 iterate it 0..1999; INFO2@0x653 sets it to the highlighted card; RECEIPT reads every quest array through 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 |
|---|---|---|---|
CHECKCONTRACT | 37 | 2 | 0 |
RECEIPT | 29 | 0 | 0 |
INFO2 | 19 | 2 | 0 |
CHECKREWARD | 6 | 2 | 0 |