selected_movement_route_steps
Global of Himegari Dungeon Meister: the cell G:0xc6077, of type int[1000][27], data-table, values 0 outside the selected route; positive remaining flood-fill score on route tiles.
Selected movement-route work grid indexed as [tile_y][tile_x]. MVRTN, FIELD, and SETROUTE clear all 27,000 cells. SETROUTE starts at map_target_tile_x/y, copies pathfinding_remaining_route_steps into the route, and follows the cardinal neighbor whose score is one greater until it reaches the acting entity. FIELD uses the monotone values to draw directional route markers and drive movement; SELACT tests whether an action target follows movement; seventeen RTN_M providers reject candidate endpoints whose route cell is zero.
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 0x5231f, 0x52351, 0xaba96, 0xccbcf, 0xccbd4, 0xccc0a, 0xccc0b.
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 | 33 |
SETROUTE | 0 | 0 | 4 |
MVRTN | 0 | 0 | 1 |
RTN_M002 | 0 | 0 | 1 |
RTN_M003 | 0 | 0 | 1 |
RTN_M004 | 0 | 0 | 1 |
RTN_M005 | 0 | 0 | 1 |
RTN_M006 | 0 | 0 | 1 |
RTN_M007 | 0 | 0 | 1 |
RTN_M008 | 0 | 0 | 1 |
RTN_M009 | 0 | 0 | 1 |
RTN_M010 | 0 | 0 | 1 |
RTN_M011 | 0 | 0 | 1 |
RTN_M012 | 0 | 0 | 1 |
RTN_M013 | 0 | 0 | 1 |
RTN_M014 | 0 | 0 | 1 |
RTN_M015 | 0 | 0 | 1 |
RTN_M016 | 0 | 0 | 1 |
RTN_M017 | 0 | 0 | 1 |
RTN_M018 | 0 | 0 | 1 |
SELACT | 0 | 0 | 1 |