labyrinth_difficulty
Global of Kamidori Alchemy Meister: the cell G:0x320b, of type int, choice-output, values 1 normal (普通), 2 hard (難しい).
GAMESTART@0x006ca sets it to the chosen button less 2, buttons 3 and 4 giving 1 and 2, which GSMES@0x00238 and @0x0024b describe as 迷宮パートの難易度を「普通」 and 「難しい」; GAMESTART@0x00826 resets it to 1. SETEN@0x003c6 strengthens enemies when it is 2. FIELD@0x04aed and SELSTAGE@0x007dc test stage_enemy_difficulty_mask's bit for 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 |
|---|---|---|---|
GAMESTART | 2 | 2 | 0 |
SELSTAGE | 2 | 0 | 0 |
BTRTN | 1 | 0 | 0 |
FIELD | 1 | 0 | 0 |
MVRTN | 1 | 0 | 0 |
SETEN | 1 | 0 | 0 |
SETOBJ | 1 | 0 | 0 |
TITLE | 0 | 1 | 0 |