map_target_tile_x
Global of Himegari Dungeon Meister: the cell G:0xccc0a, of type int, index-pointer, values map tile X coordinate; shipped immediate assignments are 2..24.
Shared map target/focus X coordinate. Seventeen RTN_M providers unpack candidate coordinates here before testing selected_movement_route_steps, FIELD and SETROUTE use it as the selected destination, and LOOK converts it to the centered world X coordinate when no enemy spawn slot is selected. Fifty-five scripts reference the paired target coordinates.
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 0xc6077, 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 |
|---|---|---|---|
SC0230 | 0 | 13 | 0 |
SC0220 | 0 | 12 | 0 |
$1$SC1290 | 0 | 8 | 0 |
SC0210 | 0 | 8 | 0 |
SC0440 | 0 | 7 | 0 |
SC0470 | 0 | 7 | 0 |
SC0260 | 0 | 6 | 0 |
SC0310 | 0 | 6 | 0 |
SC0420 | 0 | 6 | 0 |
SC0490 | 0 | 6 | 0 |
SC0410 | 0 | 5 | 0 |
SC0450 | 0 | 5 | 0 |
SC0240 | 0 | 4 | 0 |
SC0430 | 0 | 4 | 0 |
SC0530 | 0 | 4 | 0 |
SC0550 | 0 | 4 | 0 |
$1$SC1260 | 0 | 3 | 0 |
$1$SC1380 | 0 | 3 | 0 |
RTN_M014 | 2 | 1 | 0 |
SC0360 | 0 | 3 | 0 |
SC0540 | 0 | 3 | 0 |
SC0580 | 0 | 3 | 0 |
FIELD | 0 | 2 | 0 |
RTN_M002 | 1 | 1 | 0 |
RTN_M003 | 1 | 1 | 0 |
RTN_M004 | 1 | 1 | 0 |
RTN_M005 | 1 | 1 | 0 |
RTN_M006 | 1 | 1 | 0 |
RTN_M007 | 1 | 1 | 0 |
RTN_M008 | 1 | 1 | 0 |
RTN_M009 | 1 | 1 | 0 |
RTN_M010 | 1 | 1 | 0 |
RTN_M011 | 1 | 1 | 0 |
RTN_M012 | 1 | 1 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