Difference between revisions of "0A Hit F(MA+X)%"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
m
m
 
(4 intermediate revisions by one other user not shown)
Line 1: Line 1:
  [0a]
+
  80188e78: 27bdffe8 addiu r29,r29,-0x0018    |
00188e78: 27bdffe8 addiu r29,r29,0xffe8
+
  80188e7c: afbf0010 sw r31,0x0010(r29)       |
  00188e7c: afbf0010 sw r31,0x0010(r29)
+
  80188e80: 0c06216e jal 0x801885b8          |{{f/jal|Magical Evade Calculation|Magical Evade Calculation}} If Abillity is evadeable roll Ability Evade byte against Ability base Hit / Returns r2
  00188e80: 0c06216e jal 0x001885b8    [[Magical_Evade_Calculation]]
+
  80188e84: 00000000 nop                     |
  00188e84: 00000000 nop
+
  80188e88: 14400007 bne r2,r0,0x80188ea8    {{f/Cond|If Attack hits}}
  00188e88: 14400007 bne r2,r0,0x 00188ea8
+
  80188e8c: 00000000 nop                         |
  00188e8c: 00000000 nop
+
  80188e90: 0c062289 jal 0x80188a24              |{{f/jal|Calculate_Accuracy_for_Magical|Calculate_Accuracy_for_Magical}} Set XA and YA, applies XA changes (Status, Compat, Support,element), uses XA+YA as Hit% (Modified by faith) / Returns r2
  00188e90: 0c062289 jal 0x00188a24    [[Calculate Accuracy for Magical|Calculates (MA+X)*Faith%]]
+
  80188e94: 00000000 nop                         |
  00188e94: 00000000 nop
+
  80188e98: 14400003 bne r2,r0,0x80188ea8        {{f/Cond|If Attack hits}}
  00188e98: 14400003 bne r2,r0,0x 00188ea8
+
  80188e9c: 00000000 nop                             |
  00188e9c: 00000000 nop
+
  80188ea0: 0c061fc9 jal 0x80187f24                  |{{f/jal|Apply_status_(to_action)|Apply_status_(to_action)}} Update Target Current Action status infliction/Removal
  00188ea0: 0c061fc9 jal 0x00187f24    [[Apply_status_(to_action)]] Add Status at (MA+X)*Faith%
+
  80188ea4: 00000000 nop                             |
  00188ea4: 00000000 nop
+
  80188ea8: 8fbf0010 lw r31,0x0010(r29)       END
  00188ea8: 8fbf0010 lw r31,0x0010(r29)
+
  80188eac: 27bd0018 addiu r29,r29,0x0018     
  00188eac: 27bd 0018 addiu r29,r29,0x 0018
+
  80188eb0: 03e00008 jr r31
  00188eb0: 03e00008 jr r31
+
  80188eb4: 00000000 nop
  00188eb4: 00000000 nop
+
=== Return locations ===
 +
'''Battle.bin'''
 +
0018b97c - [[Pre Formula Setup (FDC)|Pre Formula Setup]]

Latest revision as of 19:27, 15 April 2022

80188e78: 27bdffe8 addiu r29,r29,-0x0018    |
80188e7c: afbf0010 sw r31,0x0010(r29)       |
80188e80: 0c06216e jal 0x801885b8           |-->Magical Evade Calculation If Abillity is evadeable roll Ability Evade byte against Ability base Hit / Returns r2
80188e84: 00000000 nop                      |
80188e88: 14400007 bne r2,r0,0x80188ea8     #If Attack hits
80188e8c: 00000000 nop                          |
80188e90: 0c062289 jal 0x80188a24               |-->Calculate_Accuracy_for_Magical Set XA and YA, applies XA changes (Status, Compat, Support,element), uses XA+YA as Hit% (Modified by faith) / Returns r2
80188e94: 00000000 nop                          |
80188e98: 14400003 bne r2,r0,0x80188ea8         #If Attack hits
80188e9c: 00000000 nop                              |
80188ea0: 0c061fc9 jal 0x80187f24                   |-->Apply_status_(to_action) Update Target Current Action status infliction/Removal
80188ea4: 00000000 nop                              |
80188ea8: 8fbf0010 lw r31,0x0010(r29)       END
80188eac: 27bd0018 addiu r29,r29,0x0018      
80188eb0: 03e00008 jr r31  
80188eb4: 00000000 nop  

Return locations

Battle.bin
0018b97c - Pre Formula Setup