1f800200

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
Tiles data for pathfinding - 0x200 tiles , 0x01 Byte each. Pointer at BATTLE.BIN 0x8018f4f0
---------------------------------------------------------------------------------------------------
     - Null by default                                                         00174e84
     - 0x01 Origin Tile flag (This Tile will be used to Spread AoE of Move)
            ON if Acting unit tile if preset value = 1 (initialize ?)          00174e84(PV1)
            OFF when used to Jal 175ea0 (has been used)                        00174b8c
            ON if Destination with Movement left to spread                     00175958
     - 0x02 If Low Corner                                                      00174e84
     - 0x04 Unit on Tile                                                       00174e84
     - 0x08 Can Pass Above Unit (?)
            If Unit on Tile is an Ally  (Stepping ally ?)                      00174e84
               OFF if Acting Unit has stepping stone   
               ON if Ally Unit on Tile has stepping stone  
               OFF if both unit don't use stepping stone  
            Enemy Unit on Tile :  
               ON if Acting Unit is Flying  
               OFF if Acting Unit is not Flying  
     - 0x10 Crossable Tile Flag ? 
            ON if selectable/Targetable and water/depth ok                     00174e84
            ON if Acting Unit Fly and untargetable tile (=empty)               00174e84 *And Tile's type <> 0x3f
            OFF if Archangel is on Tile                                        00174e84
            OFF if Enemy Unit on Tile                                          00174e84

            Disabled if Unit on tile is dead or Jumping                        00175288
            Note : If OFF Tile is treated as an obstacle (not reachable)       00175288

     - 0x20 Valid destination (?) 
            ON if Mountable Ally on Tile                                       00174e84
            OFF if Unmountable ally on tile                                    00174e84
            OFF if enemy Unit on tile                                          00174e84
            
            Note : ON and Not teleporting --> reachable (no 0x10 check)        00175288
                   (Not checked if teleport) 
                   if OFF and Unit on Tile : Unreachable 
                   if ON but actong unit is not Human without frog/chicken/charm : Unreachable

     - 0x40 Not Crossable by foot ?
            ON If Low corner with Halves > 0x2 (not reachable ?)               00174e84
            ON if Not a Low corner and Jump < Halves (not Jumpable ?)          00174e84
            OFF if flying                                                      00174e84

     - 0x80 Always Unreachable/Uncrossable
            ON  if unselectable                                                00174e84
            OFF if Acting Unit is flying                                       00174e84
            ON if Archangel's Tile (even on flying unit)                       00174e84