Skip to content

Adult titles

The games this site covers are adult titles. Their data, pictures and text include sexual content.

Continue only if you are an adult where you live.

current_stage_id

Global of Kamidori Alchemy Meister: the cell G:0x378b, of type int, index-pointer, values STINIT2 stage id 1..977 (0 = derive from current_labyrinth_id/current_floor_no).

FIELD@0x0 reads stage_labyrinth_ids/stage_floor_numbers[stage] into current_labyrinth_id/current_floor_no; when zero FIELD@0x22..0x76 scans all 1000 stages for the matching (labyrinth, floor) and stores the hit back. FIELD@0x7b logs it as 'Field StageNo='. Index for every per-stage array (stage_revealed_tile_bitmask, stage_occupation_percent, ...).

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.

ScriptReadsWritesIndexes
$3$STINIT19600
$1$STINIT19200
$2$STINIT18300
STINIT18100
STAGEROUND16100
STAGECLOSE14500
FIELD9210
STAGEREADY4800
SETSTAGEFLAG4500
STAGECLEAR4300
AIM2200
$2$STAGECLOSE2000
$1$SETSTAGEFLAG1300
SELSTAGE830
INFO3730
$3$STAGECLOSE800
$3$SC2820050
$3$SC2830050
$3$SC2840050
$3$SC2850050
$3$SC2860050
$3$SC2870050
DRAWMINIMAP500
DRAWCHP400
DRAWMAP400
ORGANIZE400
$3$SETSTAGEFLAG300
ARENA120
CALCOCC300
DRAWOBJ300
SC1180030
SETOCC300
$1$SC2600020
FELLOW200
RENDERMAP200
RESETLAND200
SC1490020
SC1760020
SETLAND200
SETOBJ200
$1$SC2630010
$3$SC2810010
$3$STAGEROUND100
ATSEEK100
BOMBSEEK100
CHECKOBJ100
DEBUGMAP010
DEBUGMAP2010
DELLAND100
DRAWCH100
DRAWCHSTATE100
DRAWVOL100
MVSEEK100
RTN_M008100
RTN_M009100
RTN_M015100
SC0000010
SC0470010
SC0540010
SC0580010
SC0930010
SC1100010
SC1190010
SC1290010
SC1480010
SC1780010
SC6150010
SC6250010
SELBOMB100
STATUS100
WARPD100