1f800180

From Final Fantasy Hacktics Wiki
Revision as of 12:59, 21 May 2023 by Orkney (talk | contribs) (Created page with " Work in Progress : Data at 0x1f800180 (While pathfinding) Scratch Pad 0x180 - Pathfinding Tile data ---------------------------------------------------------- 0x00 Word :...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Work in Progress : Data at 0x1f800180 (While pathfinding)
Scratch Pad 0x180 - Pathfinding Tile data
----------------------------------------------------------
0x00 Word : Iteration Tile pointer
0x08 Word : Targetable grip pointer
0x10 Word : Pointer to 801937d8 data 0017567c PV <4 or >=8
     Word : Pointer to 80192dd8  0017567c PV 4-7
0x18 + 1 each reachable  Tile ? (+ flag 0x20 on 0x5) [00175288:]
0x1a - HalfW : Tile ID (Loop iteration)
0x1e - (HalfW : Grid0x02 (Unit ID ?) + 200)*5
     Tile ID (from 0x1a) 0017567c PV 4-7
0x26 - Half X counter
0x28 - Half Y counter
0x2a - Half Elevation counter ? 00174b8c
0x2c - Half Elevation offset (0 or 0x100) 00174b8c
0x2e - Half Y*MaxX + Elevation offset 00174b8c
0x30 Halfword 0x26 + 0x3a  - Checked Versus Max X
0x32 Halfword 0x28 + 0x3c - Checkeed Vs Max Y
0x36 - 0x00 [ 0017567c]
     - PV 4 -7 : Delta Height (between size)
0x3a - Spreading Tile X coord
0x3c - Spreading Tile Y coord
0x40 - 00175ea0 1 if counter > 4
                Else 0
0x41 Unit ID/Counter (001756d8 - From Targetable grid 0x02)
0x44 - Exit Side slope Mod (Pathfinding)
0x45 - Entry Side Slope Mod (Pathfinding)
0x46 Result of 176164 (Path height ?) could be 0x7f if nothing went good
0x48 - Unit Total Height
       Height + Size (SP 0x80 - 0x06) if Tile has flags 0x08 [ 0017567c]
       PV 4 - 7 : Tile's + Side1 height
       + Depht * 2 if Move on/in water
       -2 if Move in water
0x49 - It is 0x48 (Original or modifier)
     - PV 4 to 7 : Tile height + Side 2 Height
0x4c - Iteration Tile's Height
0x50 - Height of the side (enter r exit ?)
0x54 - Used as loop limit in 00175ea0 (should not exceed 0xf..)
     - 0x24 if Flag 0x20 on Acting Unit tile (on 0x200 ) PV 1
     - 0x08 if No Flag 0x20 on Acting Unit tile PV1
       Set to 0x08 after 175ea0 and 1764d8 [174b8c]
0x55 Used As loop limit  00175ea0
     - 0x04 if PV = 1 - Loop counter (4 direction ??)
0x56 - Iteration Tile's Halves
0x58 - Slope Type
0x62 - Acting Unit Move +1 (Checked as valid and the destroyed)
       0x00 at start of loop 174b8c