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 Kamidori Alchemy Meister: the cell G:0x2d2847, 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], clamps the count at 0 (ADDITEM@0x00024) and pays a count past 999 out as money (ADDITEM@0x00041). About 70 scripts use it, setting it before call-script ADDITEM; ADDSTOCK reads it too. 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 kamidori-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
$3$SC29200110
SC1160080
$3$SC2910070
$3$SC2960070
$3$SC2940060
$3$SC2950060
SC0740060
SC0800050
SC0000040
SC0750040
$3$SC2930030
ADDSTOCK300
FELLOW030
FIELD030
GAMESTART030
SC1520030
$3$SC2900020
DEBUGADV020
DEBUGMAP020
SC0320020
SC0700020
SC0760020
SC1060020
SC1150020
SC1250020
SC1270020
SC1280020
SC1390020
SC1600020
SC3550020
SHOP020
UNITECH020
$1$SC2630010
$2$SC2700010
ADDITEM100
ALCHEMY010
ARRANGE010
CHECKIMPROVE010
DEBUGAM010
DEBUGMAP2010
ENHANCE010
INVITECH010
RECEIPT010
REWARD010
SC0050010
SC0170010
SC0470010
SC0500010
SC0510010
SC0560010
SC0580010
SC0710010
SC0830010
SC0900010
SC1020010
SC1090010
SC1100010
SC1170010
SC1190010
SC1290010
SC1300010
SC1500010
SC1510010
SC1730010
SC1800010
SC2020010
SC4520010
SC6150010
SETSTUDIO010
STAGECLEAR010