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_unit_id

Global of Himegari Dungeon Meister: the cell G:0x66715, of type int, index-pointer, values EBINIT unit definition id / playable-unit row id.

Shared current-unit selector used by character growth and setup scripts. CCINIT keys every class-change rule on this value; CALCCC, ADDEXP, SETEN, SALLY, and related scripts use it to index unit definitions and persistent per-unit state.

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
CCINIT21300
ADDEXP4520
UNITECH4130
SETEN2300
INFOEN1710
SUMMON1430
SHOWGROW1600
GAMECLEAR1120
USEITEM940
SC12000110
CALCCC900
DELCH810
$1$CCINIT600
EVOLVE510
SC1210040
ADDEN120
DEBUGADV2020
DEBUGBTL020
FIELD020
SC0130020
TRAIN110
DEBUGMAP3010
FORT010
SALLY010
SC0550010
SC1580010
SC1590010
SETCH100