54 HealMP (MA*Y)

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
[54]
0018a668: 27bdffe8 addiu r29,r29,-0x0018    |
0018a66c: afbf0010 sw r31,0x0010(r29)       |
0018a670: 0c061725 jal 0x00185c94           |-->Store MA and Y XA = Attacker's MA and YA = used Ability Y
0018a674: 00000000 nop                      |
0018a678: 0c062216 jal 0x00188858           |-->Magical XA * YA Modify XA (M Att Up and Compatibility), Set TCA HP damage (XA*YA)
0018a67c: 00000000 nop                      |
0018a680: 0c061d3b jal 0x001874ec           |-->Convert HP Damage into MP Recovery
0018a684: 00000000 nop                      |
0018a688: 8fbf0010 lw r31,0x0010(r29)       |
0018a68c: 27bd0018 addiu r29,r29,0x0018
0018a690: 03e00008 jr r31
0018a694: 00000000 nop

Return location

Battle.bin
0018b97c : Pre Formula Setup