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_item_count_change

Global of Himegari Dungeon Meister: the cell G:0x8c878, of type int, choice-output, values signed count; a negative one takes items away.

ADDITEM's second argument, beside current_item_id: ADDITEM@0x00016 adds it to item_inventory_counts[current_item_id], and a positive change also marks the item obtained (ADDITEM@0x00062). 42 other scripts set it before call-script ADDITEM: 1 for an item found, ALCHEMY@0x0140c the negated quantity of each ingredient. The base mod's give_item helper sets it and puts it back.

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
SC0040040
SC0490040
SC0530040
SC0790040
ALCHEMY030
DEBUGADV2030
FIELD030
SC0010030
SC0330030
ADDITEM200
BTL020
SC0140020
SC0150020
SC0320020
SC0360020
SC0510020
SC0810020
$1$SC1260010
$1$SC1270010
ADDRANDOMITEM010
CHMENU010
DEBUGMAP010
DEBUGMAP2010
DEBUGMAP3010
EVOLVE010
LOSTRANDOMITEM010
SALLY010
SC0020010
SC0030010
SC0170010
SC0340010
SC0520010
SC0540010
SC0710010
SC0720010
SC0800010
SC0820010
SC0840010
SC1520010
SC1540010
SELSTAGE010
STUDY010
SUMMON010
TRAIN010
UNITECH010