0B Hit F(MA+X)%

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
00188eb8: 27bdffe8 addiu r29,r29,-0x0018    |
00188ebc: afbf0010 sw r31,0x0010(r29)       |
00188ec0: 0c061760 jal 0x00185d80           |-->Store MA and X Set Ability XA = Attacker's MA and YA = used Ability X
00188ec4: 00000000 nop                      |
00188ec8: 0c0617ff jal 0x00185ffc           |-->Elemental Strengthen XA +25% if used Ability elements is strengthened
00188ecc: 00000000 nop                      |
00188ed0: 0c062200 jal 0x00188800           |-->XA + YA becomes Hit% (friendly spell) Modify XA (Support/Compatibility) Uses XA+YA as Hit% (Influenced by Faith) returns r2 = 0x00 if Attack hits
00188ed4: 00000000 nop                      |
00188ed8: 14400003 bne r2,r0,0x00188ee8     #If Attack hits
00188edc: 00000000 nop                          |
00188ee0: 0c061fc9 jal 0x00187f24               |-->Apply status (to action) Update Target Current Action status infliction/Removal
00188ee4: 00000000 nop                          |
00188ee8: 8fbf0010 lw r31,0x0010(r29)       END
00188eec: 27bd0018 addiu r29,r29,0x0018        
00188ef0: 03e00008 jr r31                      
00188ef4: 00000000 nop                         

Return locations

Battle.bin
0018b97c - Pre Formula Setup