Difference between revisions of "54 HealMP (MA*Y)"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
(Created page with " [54] 0018a668: 27bdffe8 addiu r29,r29,0xffe8 0018a66c: afbf0010 sw r31,0x0010(r29) 0018a670: 0c061725 jal 0x 00185c94 Get Ability Power 0018a674: 00000000 nop ...")
 
m
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 
  [54]
 
  [54]
  0018a668: 27bdffe8 addiu r29,r29,0xffe8
+
  0018a668: 27bdffe8 addiu r29,r29,-0x0018    |
  0018a66c: afbf0010 sw r31,0x0010(r29)
+
  0018a66c: afbf0010 sw r31,0x0010(r29)       |
  0018a670: 0c061725 jal 0x 00185c94      Get Ability Power
+
  0018a670: 0c061725 jal 0x00185c94          |{{f/jal|Store MA and Y|Store MA and Y}} XA = Attacker's MA and YA = used Ability Y
  0018a674: 00000000 nop
+
  0018a674: 00000000 nop                     |
  0018a678: 0c062216 jal 0x 00188858      Magical XA * YA
+
  0018a678: 0c062216 jal 0x00188858          |{{f/jal|Magical XA * YA|Magical XA * YA}} Modify XA (M Att Up and Compatibility), Set TCA HP damage (XA*YA)
  0018a67c: 00000000 nop
+
  0018a67c: 00000000 nop                     |
  0018a680: 0c061d3b jal 0x 001874ec      Convert HP Damage to MP Healing
+
  0018a680: 0c061d3b jal 0x001874ec          |{{f/jal|Convert HP Damage into MP Recovery|Convert HP Damage into MP Recovery}}
  0018a684: 00000000 nop
+
  0018a684: 00000000 nop                     |
  0018a688: 8fbf0010 lw r31,0x0010(r29)
+
  0018a688: 8fbf0010 lw r31,0x0010(r29)       |
  0018a68c: 27bd 0018 addiu r29,r29,0x 0018
+
  0018a68c: 27bd0018 addiu r29,r29,0x0018
  0018a690: 03e00008 jr r31
+
  0018a690: 03e00008 jr r31
 
  0018a694: 00000000 nop
 
  0018a694: 00000000 nop
 +
=== Return location ===
 +
'''Battle.bin'''
 +
0018b97c : [[Pre Formula Setup (FDC)|Pre Formula Setup]]

Latest revision as of 19:27, 26 April 2022

[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