0C Heal F(MA*Y)

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
00188ef8: 27bdffe8 addiu r29,r29,-0x0018  
00188efc: afbf0010 sw r31,0x0010(r29)       |
00188f00: 0c061725 jal 0x00185c94           |-->Store MA and Y XA = Attacker's MA and YA = used Ability Y
00188f04: 00000000 nop                      |
00188f08: 0c0617ff jal 0x00185ffc           |-->Elemental Strengthen XA +25% if used Ability elements is strengthened
00188f0c: 00000000 nop                      |
00188f10: 0c062216 jal 0x00188858           |-->Magical XA * YA Modify XA (M Att Up and Compatibility), Set TCA HP damage (XA*YA)
00188f14: 00000000 nop                      |
00188f18: 0c061c54 jal 0x00187150           |-->Faith Calculation HP Damage becomes Damage*Target Faith/100 * Attacker Faith/100
00188f1c: 00000000 nop                      |
00188f20: 0c061cd4 jal 0x00187350           |-->Undead Reversal Switch HP damage to HP recovery if Target isn't undead / Else Nullify 0x80193860
00188f24: 00000000 nop                      |
00188f28: 8fbf0010 lw r31,0x0010(r29)      
00188f2c: 27bd0018 addiu r29,r29,0x0018    
00188f30: 03e00008 jr r31                  
00188f34: 00000000 nop

Return locations

Battle.bin
0018b97c - Pre Formula Setup