Difference between revisions of "0A Hit F(MA+X)%"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
m
Line 1: Line 1:
 
  [0a]
 
  [0a]
  00188e78: 27bdffe8 addiu r29,r29,0xffe8
+
  80188e78: 27bdffe8 addiu r29,r29,-0x0018
  00188e7c: afbf0010 sw r31,0x0010(r29)
+
  80188e7c: afbf0010 sw r31,0x0010(r29)
  00188e80: 0c06216e jal 0x001885b8   [[Magical_Evade_Calculation]]
+
  80188e80: 0c06216e jal 0x801885b8   # [[Magical_Evade_Calculation]]
  00188e84: 00000000 nop
+
  80188e84: 00000000 nop
  00188e88: 14400007 bne r2,r0,0x 00188ea8
+
  80188e88: 14400007 bne r2,r0,0x80188ea8        #  If evaded, return
  00188e8c: 00000000 nop
+
  80188e8c: 00000000 nop
  00188e90: 0c062289 jal 0x00188a24   [[Calculate Accuracy for Magical|Calculates (MA+X)*Faith%]]
+
  80188e90: 0c062289 jal 0x80188a24   # [[Calculate Accuracy for Magical|Calculates (MA+X)*Faith%]]
  00188e94: 00000000 nop
+
  80188e94: 00000000 nop
  00188e98: 14400003 bne r2,r0,0x 00188ea8
+
  80188e98: 14400003 bne r2,r0,0x80188ea8        # If (MA+X)*Faith% roll failed, return
  00188e9c: 00000000 nop
+
  80188e9c: 00000000 nop
  00188ea0: 0c061fc9 jal 0x00187f24     [[Apply_status_(to_action)]] Add Status at (MA+X)*Faith%
+
  80188ea0: 0c061fc9 jal 0x80187f24     # [[Apply status (to action)]]
  00188ea4: 00000000 nop
+
  80188ea4: 00000000 nop
  00188ea8: 8fbf0010 lw r31,0x0010(r29)
+
  80188ea8: 8fbf0010 lw r31,0x0010(r29)
  00188eac: 27bd 0018 addiu r29,r29,0x 0018
+
  80188eac: 27bd0018 addiu r29,r29,0x0018
  00188eb0: 03e00008 jr r31
+
  80188eb0: 03e00008 jr r31
  00188eb4: 00000000 nop
+
  80188eb4: 00000000 nop

Revision as of 19:50, 16 April 2021

[0a]
80188e78: 27bdffe8 addiu r29,r29,-0x0018		
80188e7c: afbf0010 sw r31,0x0010(r29)		
80188e80: 0c06216e jal 0x801885b8    		# Magical_Evade_Calculation
80188e84: 00000000 nop				
80188e88: 14400007 bne r2,r0,0x80188ea8        #  If evaded, return		
80188e8c: 00000000 nop				
80188e90: 0c062289 jal 0x80188a24    		# Calculates (MA+X)*Faith%
80188e94: 00000000 nop				
80188e98: 14400003 bne r2,r0,0x80188ea8        # If (MA+X)*Faith% roll failed, return
80188e9c: 00000000 nop				
80188ea0: 0c061fc9 jal 0x80187f24     		# Apply status (to action)
80188ea4: 00000000 nop				
80188ea8: 8fbf0010 lw r31,0x0010(r29)		
80188eac: 27bd0018 addiu r29,r29,0x0018		
80188eb0: 03e00008 jr r31			
80188eb4: 00000000 nop