Difference between revisions of "Physical Evade Calculation(Charge)"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
m (return link)
m
 
Line 1: Line 1:
  Physical Evade Calculation (Charge):
+
  Physical Evade Calculation (Charge): Seems to only be called by [[05_Dmg_(Weapon)]] which seems to not be used
  00188568: 27bdffe8 addiu r29,r29,0xffe8
+
  0018856c: afbf0010 sw r31,0x0010(r29)
+
  00188568: 27bdffe8 addiu r29,r29,-0x0018 
  00188570: 0c0613e7 jal 0x00184f9c       [[Equipment Evasion Setting (Physical)]]
+
  0018856c: afbf0010 sw r31,0x0010(r29)       |
  00188574: 00000000 nop
+
  00188570: 0c0613e7 jal 0x00184f9c           |{{f/jal|Equipment Evasion Setting (Physical)|Equipment Evasion Setting (Physical)}} Set the 4 Ability Evade byte , set Ability base hit to 100
  00188578: 0c0614b9 jal 0x001852e4       [[Concentrate Calculation]]
+
  00188574: 00000000 nop                     |
  0018857c: 00000000 nop
+
  00188578: 0c0614b9 jal 0x001852e4           |{{f/jal|Concentrate Calculation|Concentrate Calculation}} Nullify the 4 Ability Evade byte if Attacker uses Concentration
  00188580: 0c0614ca jal 0x00185328       [[Dark/Confuse Caclulation]]
+
  0018857c: 00000000 nop                     |
  00188584: 00000000 nop
+
  00188580: 0c0614ca jal 0x00185328           |{{f/jal|Dark/Confuse Caclulation|Dark/Confuse Caclulation}}  Ability Base Hit/2 if attacker blinded  or confused / Nullify the 4 Ability Evade byte if attacker is transparent
  00188588: 0c0614df jal 0x0018537c       [[Abandon Calculation]]
+
  00188584: 00000000 nop                     |
  0018858c: 00000000 nop
+
  00188588: 0c0614df jal 0x0018537c           |{{f/jal|Abandon Calculation|Abandon Calculation}} If target as abandon (and it is usable) --> Ability Base Hit/2
  00188590: 0c0614fd jal 0x001853f4       [[Evasion Changes due to Statuses]]
+
  0018858c: 00000000 nop                     |
  00188594: 00000000 nop
+
  00188590: 0c0614fd jal 0x001853f4           |{{f/jal|Evasion Changes due to Statuses|Evasion Changes due to Statuses}} Nullify the 4 Ability evade byte based on Target status - Ability Base Hit/2 if target defending
  00188598: 0c06153f jal 0x001854fc       [[Facing Evade Calculation]]
+
  00188594: 00000000 nop                     |
  0018859c: 00000000 nop
+
  00188598: 0c06153f jal 0x001854fc           |{{f/jal|Facing Evade Calculation|Facing Evade Calculation}} Side Attack cancels Class evasion, Back Attack additionnaly cancels Right/Left hand evasion
  001885a0: 0c062122 jal 0x00188488       [[Calculate Hit %]]
+
  0018859c: 00000000 nop                     |
  001885a4: 00000000 nop
+
  001885a0: 0c062122 jal 0x00188488           |{{f/jal|Calculate Hit %|Calculate Hit %}} If Ability is evadeable : Roll the 4 Ability Evade byte (one after another) against Ability base Hit
  001885a8: 8fbf0010 lw r31,0x0010(r29)
+
  001885a4: 00000000 nop                     |
  001885ac: 27bd0018 addiu r29,r29,0x0018
+
  001885a8: 8fbf0010 lw r31,0x0010(r29)      
  001885b0: 03e00008 jr r31
+
  001885ac: 27bd0018 addiu r29,r29,0x0018    
  001885b4: 00000000 nop
+
  001885b0: 03e00008 jr r31                  
'''Notes'''
+
  001885b4: 00000000 nop                    
  Return only to 00188cac: [[05_Dmg_(Weapon)]] which seems to not be used
+
 
 +
=== Returns location ===
 +
'''Battle.bin'''
 +
  00188cac: [[05_Dmg_(Weapon)]]

Latest revision as of 19:16, 11 April 2022

Physical Evade Calculation (Charge): Seems to only be called by 05_Dmg_(Weapon) which seems to not be used

00188568: 27bdffe8 addiu r29,r29,-0x0018   
0018856c: afbf0010 sw r31,0x0010(r29)       |
00188570: 0c0613e7 jal 0x00184f9c           |-->Equipment Evasion Setting (Physical) Set the 4 Ability Evade byte , set Ability base hit to 100 
00188574: 00000000 nop                      |
00188578: 0c0614b9 jal 0x001852e4           |-->Concentrate Calculation Nullify the 4 Ability Evade byte if Attacker uses Concentration
0018857c: 00000000 nop                      |
00188580: 0c0614ca jal 0x00185328           |-->Dark/Confuse Caclulation  Ability Base Hit/2 if attacker blinded  or confused / Nullify the 4 Ability Evade byte if attacker is transparent
00188584: 00000000 nop                      |
00188588: 0c0614df jal 0x0018537c           |-->Abandon Calculation If target as abandon (and it is usable) --> Ability Base Hit/2
0018858c: 00000000 nop                      |
00188590: 0c0614fd jal 0x001853f4           |-->Evasion Changes due to Statuses Nullify the 4 Ability evade byte based on Target status - Ability Base Hit/2 if target defending
00188594: 00000000 nop                      |
00188598: 0c06153f jal 0x001854fc           |-->Facing Evade Calculation Side Attack cancels Class evasion, Back Attack additionnaly cancels Right/Left hand evasion
0018859c: 00000000 nop                      |
001885a0: 0c062122 jal 0x00188488           |-->Calculate Hit % If Ability is evadeable : Roll the 4 Ability Evade byte (one after another) against Ability base Hit
001885a4: 00000000 nop                      |
001885a8: 8fbf0010 lw r31,0x0010(r29)       
001885ac: 27bd0018 addiu r29,r29,0x0018     
001885b0: 03e00008 jr r31                   
001885b4: 00000000 nop                      

Returns location

Battle.bin
00188cac: 05_Dmg_(Weapon)