character_class_change_state
Global of Kamidori Alchemy Meister: the cell G:0x7e269, of type int[100][20], story-flag, values per character x rule column: bit0 applied, bit1 event-unlocked.
CCINIT tests !(bit0) to fire a rule and sets bit0; event-gated rules additionally need bit1 (set by story scenes, e.g. SC0450@0x05123 bit-set then CALCCC) or the whole script exits. CALCCC@0x00352 derives the protagonist rank 0x7ea49 from column bits of character 1.
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 |
|---|---|---|---|
CCINIT | 0 | 0 | 221 |
$3$CCINIT | 0 | 0 | 33 |
$2$CCINIT | 0 | 0 | 10 |
$1$CCINIT | 0 | 0 | 6 |
SC1160 | 0 | 0 | 5 |
SC1150 | 0 | 0 | 2 |
SC4830 | 0 | 0 | 2 |
$3$SC2960 | 0 | 0 | 1 |
CALCCC | 0 | 0 | 1 |
GAMECLEAR | 0 | 0 | 1 |
GAMESTART | 0 | 0 | 1 |
SC0000 | 0 | 0 | 1 |
SC0450 | 0 | 0 | 1 |
SC0460 | 0 | 0 | 1 |
SC1170 | 0 | 0 | 1 |
SC1190 | 0 | 0 | 1 |
SC6150 | 0 | 0 | 1 |
SC6350 | 0 | 0 | 1 |