Difference between revisions of "23 Heal (MA*Y)"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
(Wikilinking)
m
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
  [23]
 
  [23]
  0018967c: 27bdffe8 addiu r29,r29,0xffe8
+
  0018967c: 27bdffe8 addiu r29,r29,-0x0018    |
  00189680: afbf0010 sw r31,0x0010(r29)
+
  00189680: afbf0010 sw r31,0x0010(r29)       |
  00189684: 0c061e44 jal 0x00187910     [[Katana Break Chance]]
+
  00189684: 0c061e44 jal 0x00187910           |{{f/jal|Katana Break Chance|Katana Break Chance}}  Roll Break chances (Wepon Power%), update Attacker current action special flags
  00189688: 00000000 nop
+
  00189688: 00000000 nop                     |
  0018968c: 0c061725 jal 0x00185c94     [[Store MA and Y]] as XA and YA
+
  0018968c: 0c061725 jal 0x00185c94           |{{f/jal|Store MA and Y|Store MA and Y}} XA = Attacker's MA and YA = used Ability Y
  00189690: 00000000 nop
+
  00189690: 00000000 nop                     |
  00189694: 0c06195a jal 0x00186568     [[XA * YA Calculation]]
+
  00189694: 0c06195a jal 0x00186568           |{{f/jal|XA * YA Calculation|XA * YA Calculation}} Multiply Ability XA and YA and store the result as HP damage
  00189698: 00000000 nop
+
  00189698: 00000000 nop                     |
  0018969c: 0c061cd4 jal 0x00187350     [[Undead Reversal]]
+
  0018969c: 0c061cd4 jal 0x00187350           |{{f/jal|Undead Reversal|Undead Reversal}} Switch HP damage to HP recovery if Target isn't undead / Else Nullify 0x80193860
  001896a0: 00000000 nop
+
  001896a0: 00000000 nop                     |
  001896a4: 8fbf0010 lw r31,0x0010(r29)
+
  001896a4: 8fbf0010 lw r31,0x0010(r29)      
  001896a8: 27bd0018 addiu r29,r29,0x 0018
+
  001896a8: 27bd0018 addiu r29,r29,0x0018   
  001896ac: 03e00008 jr r31
+
  001896ac: 03e00008 jr r31                  
 
  001896b0: 00000000 nop
 
  001896b0: 00000000 nop
 +
=== Return location ===
 +
'''Battle.bin'''
 +
0018b97c - [[Pre Formula Setup (FDC)|Pre Formula Setup]]

Latest revision as of 20:00, 18 April 2022

[23]
0018967c: 27bdffe8 addiu r29,r29,-0x0018    |
00189680: afbf0010 sw r31,0x0010(r29)       |
00189684: 0c061e44 jal 0x00187910           |-->Katana Break Chance  Roll Break chances (Wepon Power%), update Attacker current action special flags
00189688: 00000000 nop                      |
0018968c: 0c061725 jal 0x00185c94           |-->Store MA and Y XA = Attacker's MA and YA = used Ability Y
00189690: 00000000 nop                      |
00189694: 0c06195a jal 0x00186568           |-->XA * YA Calculation Multiply Ability XA and YA and store the result as HP damage
00189698: 00000000 nop                      |
0018969c: 0c061cd4 jal 0x00187350           |-->Undead Reversal Switch HP damage to HP recovery if Target isn't undead / Else Nullify 0x80193860
001896a0: 00000000 nop                      |
001896a4: 8fbf0010 lw r31,0x0010(r29)       
001896a8: 27bd0018 addiu r29,r29,0x0018     
001896ac: 03e00008 jr r31                   
001896b0: 00000000 nop

Return location

Battle.bin
0018b97c - Pre Formula Setup