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.

set_land_terrain_id

Global of Kamidori Alchemy Meister: the cell G:0x2a3510, of type int, index-pointer, values LAINIT terrain id.

Argument of SETLAND: SETLAND@0x62 writes it into every cell of the doubled rectangle (2*G[0xfec0c]..2*G[0xfec0e], 2*G[0xfec0d]..2*G[0xfec0f]) and reveals tiles whose visibility class is 1 (or >0 once the stage is fully complete). Set by STAGEREADY/STAGEROUND/STAGECLOSE and story scripts (SC2200, SC3030, ...) to dig or open map areas; SETOCC@0x15 also reads it as a faction bit.

OME’s registry gives it with med 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
STAGEREADY0860
$3$STAGEROUND0280
SC3540090
STAGEROUND060
SC3030030
SC3550030
SETLAND300
STAGECLOSE030
$2$STAGEREADY020
SC2200020
SC2310020
$1$STAGEREADY010
DELENMASS100
SC3530010
SC4520010
SETOCC100