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 Himegari Dungeon Meister: the cell G:0x4dfbc, of type int, index-pointer, values STINIT2 stage id; the shipped stages are 1..170, DEBUGMAP's is 0xa5.

The stage being played or last played. FIELD@0x200 calls stage_loader_script_ids[current_stage_id] (STINIT, or an append's $1$STINIT), then reads stage_display_names, stage_clear_state and stage_scjump_decision_ids by it; STINIT is a selector table keyed by it (74 sparse stage records, ids 1..170). DEBUGMAP writes 0xa5 before it enters FIELD. SCJUMP reads it 1,609 times to branch on the stage just played. Named scjump_progress_a until 2026-11-15 from those reads, which the base mod still exports as an alias.

OME’s registry gives it with high confidence, from investigation. The base mod himegari-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
SCJUMP160900
FIELD11000
STINIT7400
$1$SCJUMP7000
READY4400
SELSTAGE2910
CLOSE1700
FORT1610
DRAWMAP1300
ROUND1200
CALCOCC1000
DRAWMINIMAP900
ALCHEMY800
CHMENU800
EVOLVE800
RTN_M013800
RTN_M014800
STUDY800
SUMMON800
STAGECLEAR600
RTN_M008500
RTN_M009500
RTN_M015500
$1$STINIT400
ADDEN400
MAGIC400
RTN_M002400
RTN_M004400
RTN_M005400
RTN_M006400
RTN_M007400
RTN_M010400
RTN_M011400
RTN_M012400
RTN_M016400
SC0040040
SC0140040
$1$CLOSE300
AIM300
SC0050210
SC0060030
SETOCC300
$1$READY200
$1$ROUND200
DEBUGMAP110
DEBUGMAP2110
SC0030200
SC0070200
SC0150020
SC0250200
SC0280200
SC0290200
SETOBJ200
DEBUGADV2010
DEBUGMAP3010
DRAWOBJ100
RESETLAND100
SALLY100
SC0000010
SC0010010
SC0020010
SC0110010
SETLAND100