pathfinding_remaining_route_steps
Global of Himegari Dungeon Meister: the cell G:0xaba96, of type int[][27], data-table, values 0 for unreachable; positive remaining flood-fill steps.
MVSEEK's row-major reachability grid. Mode 0 searches from the current entity with movement+1 at the origin; modes 1/2 search from the caller-supplied coordinate with 9999 at the origin. Each traversed edge decrements the value, so a larger positive value is nearer to the origin. RTN_M006/007/015 use origin-minus-target values as route-step radii; RTN_M010 ranks Healing Feathers by the negated value.
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 0x4e11b, 0x5231f, 0x52351, 0xcc9f1.
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 |
|---|---|---|---|
FIELD | 0 | 0 | 6 |
RTN_M007 | 0 | 0 | 6 |
MVSEEK | 0 | 0 | 5 |
RTN_M015 | 0 | 0 | 5 |
ADDEN | 0 | 0 | 4 |
RTN_M014 | 0 | 0 | 4 |
SETROUTE | 0 | 0 | 4 |
RTN_M008 | 0 | 0 | 3 |
RTN_M009 | 0 | 0 | 3 |
RTN_M010 | 0 | 0 | 3 |
RTN_M004 | 0 | 0 | 2 |
RTN_M005 | 0 | 0 | 2 |
RTN_M006 | 0 | 0 | 2 |
RTN_M011 | 0 | 0 | 2 |
RTN_M012 | 0 | 0 | 2 |
RTN_M013 | 0 | 0 | 2 |
RTN_M016 | 0 | 0 | 2 |
RTN_M018 | 0 | 0 | 1 |
SETMVWORK | 0 | 0 | 1 |