0A Hit F(MA+X)%

From Final Fantasy Hacktics Wiki
Revision as of 19:27, 15 April 2022 by Orkney (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
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