Difference between revisions of "Status Check table - 0x800662d0"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
(Created page with " Data table used for checking flags on status In patcher it refers to the checkboxes from freeze CT to lower target priority in the status effect sheet - (byte at offset 0x04...")
 
 
(2 intermediate revisions by the same user not shown)
Line 9: Line 9:
 
  Note : the data at 0x800662d0 are blank when extracted from the SCUS_942.21 with MassHexASM, the values below were extracted while in battle (data probably stored by a routine)
 
  Note : the data at 0x800662d0 are blank when extracted from the SCUS_942.21 with MassHexASM, the values below were extracted while in battle (data probably stored by a routine)
 
  ------------------------------------------------------------------------------------------------------------------------------------------------------------------
 
  ------------------------------------------------------------------------------------------------------------------------------------------------------------------
  Adress      r5 value  Loop counter  Value  Status conversion
+
  '''Adress      r5 value  Loop counter  Value  Status conversion'''
 
   
 
   
Count as KO flag (checked statuses)
+
                                            '''Count as KO flag (checked statuses)'''
 
  800662d0      0x00      0x00      0x60    Crystal / Dead
 
  800662d0      0x00      0x00      0x60    Crystal / Dead
 
  800662D1      0x00      0x01      0xc5    Petrify / Invite / Blood suck / Treasure
 
  800662D1      0x00      0x01      0xc5    Petrify / Invite / Blood suck / Treasure
Line 18: Line 18:
 
  800662D4      0x00      0x04      0x00     
 
  800662D4      0x00      0x04      0x00     
 
  ------------------------------------------------------------------------------------------------
 
  ------------------------------------------------------------------------------------------------
Team loss enemy ?  
+
                                            '''Team loss enemy ? '''
 
  800662D5      0x01      0x00      0x40    Crystal
 
  800662D5      0x01      0x00      0x40    Crystal
 
  800662D6      0x01      0x01      0x41    Invite / Treasure
 
  800662D6      0x01      0x01      0x41    Invite / Treasure
Line 25: Line 25:
 
  800662D9      0x01      0x04      0x00     
 
  800662D9      0x01      0x04      0x00     
 
  ------------------------------------------------------------------------------------------------
 
  ------------------------------------------------------------------------------------------------
Team loss ally ?
+
                                            '''Team loss ally ?'''
 
  800662DA      0x02      0x00      0x40    Crystal
 
  800662DA      0x02      0x00      0x40    Crystal
 
  800662DB      0x02      0x01      0x01    Treasure
 
  800662DB      0x02      0x01      0x01    Treasure
Line 32: Line 32:
 
  800662DE      0x02      0x04      0x00     
 
  800662DE      0x02      0x04      0x00     
 
  ------------------------------------------------------------------------------------------------
 
  ------------------------------------------------------------------------------------------------
CT freeze
+
                                            '''CT freeze'''
 
  800662DF      0x03      0x00      0x40    Crystal
 
  800662DF      0x03      0x00      0x40    Crystal
 
  800662E0      0x03      0x01      0x81    Petrify / Treasure
 
  800662E0      0x03      0x01      0x81    Petrify / Treasure
Line 39: Line 39:
 
  800662E3      0x03      0x04      0x10    Sleep
 
  800662E3      0x03      0x04      0x10    Sleep
 
  ------------------------------------------------------------------------------------------------
 
  ------------------------------------------------------------------------------------------------
Can react flag (the statuses here are the unchecked ones : no reaction) - set in {{f/jal|Check_if_unit_can_react%3F|Check_if_unit_can_react}}
+
                                            '''Can react flag '''(the statuses here are the unchecked ones : no reaction)  
 +
                                            - set in {{f/jal|Check_if_unit_can_react%3F|Check_if_unit_can_react}}
 
  800662E4      0x04      0x00      0x64    Crystal / Dead / Jump
 
  800662E4      0x04      0x00      0x64    Crystal / Dead / Jump
 
  800662E5      0x04      0x01      0x95    Petrify / Confusion / Blood suck / Treasure
 
  800662E5      0x04      0x01      0x95    Petrify / Confusion / Blood suck / Treasure
Line 46: Line 47:
 
  800662E8      0x04      0x04      0x14    Sleep / Don't act
 
  800662E8      0x04      0x04      0x14    Sleep / Don't act
 
  ------------------------------------------------------------------------------------------------
 
  ------------------------------------------------------------------------------------------------
Immortal immunities ?
+
                                            '''Immortal immunities ?'''
 
  800662E9      0x05      0x00      0x70    Crystal / Dead / Undead
 
  800662E9      0x05      0x00      0x70    Crystal / Dead / Undead
 
  800662EA      0x05      0x01      0xd5    Petrify / Invite / Confusion / Blood suck / Treasure
 
  800662EA      0x05      0x01      0xd5    Petrify / Invite / Confusion / Blood suck / Treasure
Line 53: Line 54:
 
  800662ED      0x05      0x04      0x35    Charm / Sleep / Don't act / Death sentence
 
  800662ED      0x05      0x04      0x35    Charm / Sleep / Don't act / Death sentence
 
  ------------------------------------------------------------------------------------------------
 
  ------------------------------------------------------------------------------------------------
Load/Save Formation Immunities ?
+
                                            '''Load/Save Formation Immunities ?'''
 
  800662EE      0x06      0x00      0x70    Crystal / Dead / Undead
 
  800662EE      0x06      0x00      0x70    Crystal / Dead / Undead
 
  800662EF      0x06      0x01      0xc5    Petrify / Invite / Blood suck / Treasure
 
  800662EF      0x06      0x01      0xc5    Petrify / Invite / Blood suck / Treasure
Line 78: Line 79:
 
  80066301      0x09      0x04      0x1d    Sleep / Don't move / Don't act / Death sentence
 
  80066301      0x09      0x04      0x1d    Sleep / Don't move / Don't act / Death sentence
 
  ------------------------------------------------------------------------------------------------
 
  ------------------------------------------------------------------------------------------------
Unmountable ?
+
                                            '''Unmountable ?'''
 
  80066302      0x0A      0x00      0x60    Crystal / Dead
 
  80066302      0x0A      0x00      0x60    Crystal / Dead
 
  80066303      0x0A      0x01      0x85    Petrify / Blood suck / Treasure
 
  80066303      0x0A      0x01      0x85    Petrify / Blood suck / Treasure
Line 90: Line 91:
 
  8006630A      0x0B      0x03      0x00     
 
  8006630A      0x0B      0x03      0x00     
 
  8006630B      0x0B      0x04      0x00
 
  8006630B      0x0B      0x04      0x00
 +
 +
Past this point, there's only 0x00s

Latest revision as of 12:48, 27 November 2021

Data table used for checking flags on status
In patcher it refers to the checkboxes from freeze CT to lower target priority in the status effect sheet - (byte at offset 0x04 and 0x05 from the start of status data in 0x80065de4 table)
Data are store by status sets there is 5 sets of status so five bytes per stored data.
The way data are stored seems hardcoded and not linked to the order of the boxes in patcher : so the data coming in 5th are the "can react" check boxes

In the table below, the column r5 value refers to the -->Status_Checks_(r5 set to check) where r5 value is multiplied by 5 to point at the status set 1 byte
Loop counter refers to the same routine 0x00 is for the 1st status set and 0x04 for the 5th

Note : the data at 0x800662d0 are blank when extracted from the SCUS_942.21 with MassHexASM, the values below were extracted while in battle (data probably stored by a routine)
------------------------------------------------------------------------------------------------------------------------------------------------------------------
Adress      r5 value  Loop counter  Value   Status conversion

                                            Count as KO flag (checked statuses)
800662d0      0x00       0x00       0x60    Crystal / Dead
800662D1      0x00       0x01       0xc5    Petrify / Invite / Blood suck / Treasure
800662D2      0x00       0x02       0x00    
800662D3      0x00       0x03       0x00    
800662D4      0x00       0x04       0x00    
------------------------------------------------------------------------------------------------
                                            Team loss enemy ? 
800662D5      0x01       0x00       0x40    Crystal
800662D6      0x01       0x01       0x41    Invite / Treasure
800662D7      0x01       0x02       0x00    
800662D8      0x01       0x03       0x00    
800662D9      0x01       0x04       0x00    
------------------------------------------------------------------------------------------------
                                            Team loss ally ?
800662DA      0x02       0x00       0x40    Crystal
800662DB      0x02       0x01       0x01    Treasure
800662DC      0x02       0x02       0x00    
800662DD      0x02       0x03       0x00    
800662DE      0x02       0x04       0x00    
------------------------------------------------------------------------------------------------
                                            CT freeze
800662DF      0x03       0x00       0x40    Crystal
800662E0      0x03       0x01       0x81    Petrify / Treasure
800662E1      0x03       0x02       0x00    
800662E2      0x03       0x03       0x02    Stop
800662E3      0x03       0x04       0x10    Sleep
------------------------------------------------------------------------------------------------
                                            Can react flag (the statuses here are the unchecked ones : no reaction) 
                                            - set in -->Check_if_unit_can_react
800662E4      0x04       0x00       0x64    Crystal / Dead / Jump
800662E5      0x04       0x01       0x95    Petrify / Confusion / Blood suck / Treasure
800662E6      0x04       0x02       0x0e    Berserk / Chicken / Frog
800662E7      0x04       0x03       0x02    Stop
800662E8      0x04       0x04       0x14    Sleep / Don't act
------------------------------------------------------------------------------------------------
                                            Immortal immunities ?
800662E9      0x05       0x00       0x70    Crystal / Dead / Undead
800662EA      0x05       0x01       0xd5    Petrify / Invite / Confusion / Blood suck / Treasure
800662EB      0x05       0x02       0x06    Chicken / Frog
800662EC      0x05       0x03       0x00    
800662ED      0x05       0x04       0x35    Charm / Sleep / Don't act / Death sentence
------------------------------------------------------------------------------------------------
                                            Load/Save Formation Immunities ?
800662EE      0x06       0x00       0x70    Crystal / Dead / Undead
800662EF      0x06       0x01       0xc5    Petrify / Invite / Blood suck / Treasure
800662F0      0x06       0x02       0x06    Chicken / Frog
800662F1      0x06       0x03       0x00    
800662F2      0x06       0x04       0x21    Charm / Death sentence
------------------------------------------------------------------------------------------------
800662F3      0x07       0x00       0x00    
800662F4      0x07       0x01       0x38    Darkness / Confusion / Silence
800662F5      0x07       0x02       0x1e    Transparent / Berserk / Chicken / Frog
800662F6      0x07       0x03       0x02    Stop
800662F7      0x07       0x04       0x3c    Charm / Sleep / Don't move / Don't act
------------------------------------------------------------------------------------------------
800662F8      0x08       0x00       0x74    Crystal / Dead / Undead / Jump
800662F9      0x08       0x01       0xc1    Petrify / Invite / Treasure
800662FA      0x08       0x02       0x01    Critical
800662FB      0x08       0x03       0x00    
800662FC      0x08       0x04       0x00    
------------------------------------------------------------------------------------------------
800662FD      0x09       0x00       0x00    
800662FE      0x09       0x01       0x10    Confusion
800662FF      0x09       0x02       0x08    Berserk
80066300      0x09       0x03       0x82    Poison / Stop
80066301      0x09       0x04       0x1d    Sleep / Don't move / Don't act / Death sentence
------------------------------------------------------------------------------------------------
                                            Unmountable ?
80066302      0x0A       0x00       0x60    Crystal / Dead
80066303      0x0A       0x01       0x85    Petrify / Blood suck / Treasure
80066304      0x0A       0x02       0x0e    Berserk / Chicken / Frog
80066305      0x0A       0x03       0x00    
80066306      0x0A       0x04       0x20    Charm
------------------------------------------------------------------------------------------------
80066307      0x0B       0x00       0x00    
80066308      0x0B       0x01       0x02    Cursed
80066309      0x0B       0x02       0x00    
8006630A      0x0B       0x03       0x00    
8006630B      0x0B       0x04       0x00

Past this point, there's only 0x00s