1f800000

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
Scratch Pad at 0x1f800000 (pointer at BATTLE.BIN 0x8018f4e0)

While dealing with AI Pathfinding
Used to store data of the Acting Unit (or his mount is riding)

0x02 - Jump * 2 (0x3e if fly or ignore height)    (00174430)
0x04 - Jump or 0x1f (fly / ignore height)         (00174430)
0x05 - Unit Jump/2                                (00174430)
0x06 - Unit Move                                  (00174430)
0x07 - Active Unit X (Battle 0x47)                (00174430)
0x08 - Active Unit Y (Battle 0x48)                (00174430)
0x09 - 1 if High Elevation (Battle 0x49)          (00174430)
0x0d - Active Unit ID (His Mount ID if riding)  - (00174430)
0x0e - Move Type                                  (00174430)
     0 if Fly    (00174430)
     1 Teleport   
     2 if float   
     3 if move on lava   
     4 if move on water   
     5 move in water   
     6 Move underwater   
     7 Nothing   

0x0f Move Mod : used as offset to load                      (00174430)
     Used as Offset to load Movement_modifiers_Table
     1 if Fly /Teleport
     2 if Float   
     5 Move on Lava   
     3 Move on Water/ In water   
     4 Move under water   
     0 Nothing   
0x10 Movement 3
0x11 - 1 if cannot enter water (Movement 2 0x10)            (00174430) 
       (+ not fly float move on water)
0x12 - Will Drawn Flag                                      (00174430)
            1 By default
            0 if walk on in under water
0x13 - Will Sink Flag                                       (00174430)
            1 By default
            0 if can walk in/on water (or Float)
0x14 - 1 if Unit cannot stay on water (Movement 2 0x10)     (00174430)
       (and not floating nor moving on water)
0x15 - 1 if Mountable Chocobo                               (00174430)
0x16 - Can Ride Flag ?                                      (00174430)
       1 if Human not Frog/Chicken/Charm                    
       0 if not
0x18 - Max X (800e4e9c)                                     (00174430)
0x19 - Max Y (800e4ea0)                                     (00174430)
0x1a - Byte at 0x8018f4fc                                   (00174430)
0x1b - Unit Size                                            (00174430)
         0x04 if  Frog/Chicken  
         0x06 by default  
         +0x2 if Float 
         +0x2 if Riding
0x1c - 3rd set of movement (Float* enables Move on water)   (00174430) * Movement skill not status 

0x1d - 1 if Fly/teleport                                    (00174430)
0x22 - 1 if Stepping stone (Battle 0x49 flag 0x40)          (00174430)
0x24 - 2nd set of movement if not flying but teleports
0x25 - 1 if Can pass lava  (Float or Move on Lava)          (00174430)

Note : Frog and Chicken cannot teleport nor fly
Note : Jump is caped at 0x7 , Move is caped at 0x7c