movement_search_mode
Global of Himegari Dungeon Meister: the cell G:0xcc9f1, of type int, choice-output, values 0..2.
Transient MVSEEK mode. Zero replaces the caller-supplied origin with the current entity tile and uses movement+1 as the search allowance; nonzero modes retain the caller coordinate and use a broad allowance of 9999. Mode 2 additionally masks the doubled-coordinate terrain cells occupied by active entities of another faction before the flood fill. MVSEEK resets the mode to zero on exit.
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 0x4e021, 0x4e11b, 0x522ed, 0x5231f, 0x52351.
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.
| Script | Reads | Writes | Indexes |
|---|---|---|---|
MVSEEK | 3 | 1 | 0 |
ATSEEK | 1 | 1 | 0 |
RTN_M006 | 0 | 2 | 0 |
RTN_M007 | 0 | 2 | 0 |
RTN_M008 | 0 | 2 | 0 |
RTN_M009 | 0 | 2 | 0 |
RTN_M010 | 0 | 2 | 0 |
RTN_M013 | 0 | 2 | 0 |
RTN_M014 | 0 | 2 | 0 |
RTN_M015 | 0 | 2 | 0 |
RTN_M016 | 0 | 2 | 0 |
ADDEN | 0 | 1 | 0 |
FIELD | 0 | 1 | 0 |
RTN_M004 | 0 | 1 | 0 |
RTN_M005 | 0 | 1 | 0 |
RTN_M011 | 0 | 1 | 0 |
RTN_M012 | 0 | 1 | 0 |