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

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
(Created page with " [0c] Healing ((MA * Y) * Faith) 00188ef8: 27bdffe8 addiu r29,r29,0xffe8 00188efc: afbf0010 sw r31,0x0010(r29) 00188f00: 0c061725 jal 0x 00185c94 Get Ability ...")
 
m
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
[0c] Healing ((MA * Y) * Faith)
+
  00188ef8: 27bdffe8 addiu r29,r29,-0x0018 
  00188ef8: 27bdffe8 addiu r29,r29,0xffe8
+
  00188efc: afbf0010 sw r31,0x0010(r29)       |
  00188efc: afbf0010 sw r31,0x0010(r29)
+
  00188f00: 0c061725 jal 0x00185c94          |{{f/jal|Store MA and Y|Store MA and Y}} XA = Attacker's MA and YA = used Ability Y
  00188f00: 0c061725 jal 0x 00185c94              Get Ability Power
+
  00188f04: 00000000 nop                     |
  00188f04: 00000000 nop
+
  00188f08: 0c0617ff jal 0x00185ffc          |{{f/jal|Elemental Strengthen|Elemental Strengthen}} XA +25% if used Ability elements is strengthened
  00188f08: 0c0617ff jal 0x 00185ffc              Get Elemental Boost
+
  00188f0c: 00000000 nop                     |
  00188f0c: 00000000 nop
+
  00188f10: 0c062216 jal 0x00188858          |{{f/jal|Magical XA * YA|Magical XA * YA}} Modify XA (M Att Up and Compatibility), Set TCA HP damage (XA*YA)
  00188f10: 0c062216 jal 0x 00188858              Healing Calculation This is essentially the same routine as 0x188744 and 0x18877C except without MADEF/Shell/Elemental, even though elemental boost is allowed.
+
  00188f14: 00000000 nop                     |
  00188f14: 00000000 nop
+
  00188f18: 0c061c54 jal 0x00187150          |{{f/jal|Faith Calculation|Faith Calculation}} HP Damage becomes Damage*Target Faith/100 * Attacker Faith/100
  00188f18: 0c061c54 jal 0x 00187150      Faith Calculation
+
  00188f1c: 00000000 nop                     |
  00188f1c: 00000000 nop
+
  00188f20: 0c061cd4 jal 0x00187350          |{{f/jal|Undead Reversal|Undead Reversal}} Switch HP damage to HP recovery if Target isn't undead / Else Nullify 0x80193860
  00188f20: 0c061cd4 jal 0x 00187350      Undead Reversal
+
  00188f24: 00000000 nop                     |
  00188f24: 00000000 nop
+
  00188f28: 8fbf0010 lw r31,0x0010(r29)    
  00188f28: 8fbf0010 lw r31,0x0010(r29)
+
  00188f2c: 27bd0018 addiu r29,r29,0x0018   
  00188f2c: 27bd 0018 addiu r29,r29,0x 0018
+
  00188f30: 03e00008 jr r31                
  00188f30: 03e00008 jr r31
 
 
  00188f34: 00000000 nop
 
  00188f34: 00000000 nop
 +
=== Return locations ===
 +
'''Battle.bin'''
 +
0018b97c - [[Pre Formula Setup (FDC)|Pre Formula Setup]]

Latest revision as of 20:03, 15 April 2022

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