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.

entity_current_resources

Global of Himegari Dungeon Meister: the cell G:0x4e085, of type int[50][3], data-table, values nonnegative current HP/SP/FS values.

Per-runtime-entity current resources. DRAWCHP/DRAWENP render columns 0..2 against max-stat columns 11..13, skill/item resource deltas modify the same three columns, and movement search compares path cost with current_fs.

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.

Its columns are named: 0 current_hp, 1 current_sp, 2 current_fs. Lua and an event’s cell write a row’s column entity_current_resources[i].column.

It depends on 0x4e11b.

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
FIELD0057
BTL0048
CALCDMG0031
USEMAGIC0028
DRAWCHP0012
SELACT008
USEITEM008
DRAWENP006
CHMENU004
CALCSCOPE003
DRAWVOL003
MAGIC003
RTN_M052003
CALCREVISE002
REMOVECH002
RTN_M007002
RTN_M010002
RTN_M017002
RTN_M061002
EXILE001
RECOVER001
RTN_M002001
RTN_M003001
RTN_M004001
RTN_M005001
RTN_M006001
RTN_M008001
RTN_M009001
RTN_M011001
RTN_M012001
RTN_M013001
RTN_M014001
RTN_M015001
RTN_M016001
RTN_M018001
SALLY001
SETCH001
SETEN001