Difference between revisions of "4C Heal (MA*Y)"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
(Created page with " 100% HP/MP Healing (actual) 001882c8: 3c048019 lui r4,0x8019 001882cc: 8c842d98 lw r4,0x2d98(r4) Load Target's Data Pointer 001882d0: 3c038019 lui r3,0x8019 001882d4: 8c...")
 
m
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
  100% HP/MP Healing (actual)
+
  0018a3a0: 27bdffe8 addiu r29,r29,0xffe8    |
001882c8: 3c048019 lui r4,0x8019
+
  0018a3a4: afbf0010 sw r31,0x0010(r29)       |
  001882cc: 8c842d98 lw r4,0x2d98(r4) Load Target's Data Pointer
+
0018a3a8: 0c061725 jal 0x00185c94          |{{f/jal|Store MA and Y|Store MA and Y}} XA = Attacker's MA and YA = used Ability Y
  001882d0: 3c038019 lui r3,0x8019
+
  0018a3ac: 00000000 nop                      |
  001882d4: 8c632d90 lw r3,0x2d90(r3) Load Current Action Data Pointer
+
  0018a3b0: 0c062216 jal 0x00188858          |{{f/jal|Magical XA * YA|Magical XA * YA}} Modify XA (M Att Up and Compatibility), Set TCA HP damage (XA*YA)
001882d8: 9482002a lhu r2,0x002a(r4) Load Target's Max HP
+
  0018a3b4: 00000000 nop                     |
  001882dc: 00000000 nop
+
  0018a3b8: 0c061cd4 jal 0x00187350          |{{f/jal|Undead Reversal|Undead Reversal}} Switch HP damage to HP recovery if Target isn't undead
  001882e0: a4620004 sh r2,0x0004(r3) Store HP Damage = Max HP
+
0018a3bc: 00000000 nop                      |
  001882e4: 9484002e lhu r4,0x002e(r4) Load Target's Max MP
+
  0018a3c0: 8fbf0010 lw r31,0x0010(r29)
  001882e8: 34020090 ori r2,r0,0x0090
+
  0018a3c4: 27bd0018 addiu r29,r29,0x0018
  001882ec: a0620025 sb r2,0x0025(r3) Store Attack Type = HP/MP Recovery
+
  0018a3c8: 03e00008 jr r31
001882f0: 03e00008 jr r31
+
  0018a3cc: 00000000 nop
  001882f4: a464000a sh r4,0x000a(r3) Store MP Recovery = Max MP
+
=== Return location ===
 +
'''Battle.bin'''
 +
0018b97c - [[Pre Formula Setup (FDC)|Pre Formula Setup]]

Latest revision as of 19:26, 25 April 2022

0018a3a0: 27bdffe8 addiu r29,r29,0xffe8     |
0018a3a4: afbf0010 sw r31,0x0010(r29)       |
0018a3a8: 0c061725 jal 0x00185c94           |-->Store MA and Y XA = Attacker's MA and YA = used Ability Y
0018a3ac: 00000000 nop                      |
0018a3b0: 0c062216 jal 0x00188858           |-->Magical XA * YA Modify XA (M Att Up and Compatibility), Set TCA HP damage (XA*YA)
0018a3b4: 00000000 nop                      |
0018a3b8: 0c061cd4 jal 0x00187350           |-->Undead Reversal Switch HP damage to HP recovery if Target isn't undead
0018a3bc: 00000000 nop                      |
0018a3c0: 8fbf0010 lw r31,0x0010(r29)
0018a3c4: 27bd0018 addiu r29,r29,0x0018
0018a3c8: 03e00008 jr r31
0018a3cc: 00000000 nop

Return location

Battle.bin
0018b97c - Pre Formula Setup