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_faction_id

Global of Himegari Dungeon Meister: the cell G:0x2052e, of type int, index-pointer, values {0,1,2,3}; 0 = gray, 1 = red/player, 2 = blue, 3 = green.

Active tactical faction/side. FIELD initializes it during stage entry, assigns 1 for the player phase, advances (value + 1) modulo 4 between phases, filters runtime entities and capturable objects by faction equality, and uses it as the bit index into tile_faction_traversal_masks. SCJUMP reads the same live stage context; this is not a story-progress counter.

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.

It depends on 0x522ed, 0x141a4, 0x20543.

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
SCJUMP122300
$1$SCJUMP6500
FIELD2730
REMOVECH100