Difference between revisions of "4F Dmg (CasMaxHP-CasCurHP) Hit (MA+X)%"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
(Created page with " [4f] 0018a458: 27bdffe8 addiu r29,r29,0xffe8 0018a45c: afbf0010 sw r31,0x0010(r29) 0018a460: 0c062144 jal 0x 00188510 Physical Evade Calculation 0018a464: 0000...")
 
Line 2: Line 2:
 
  0018a458: 27bdffe8 addiu r29,r29,0xffe8
 
  0018a458: 27bdffe8 addiu r29,r29,0xffe8
 
  0018a45c: afbf0010 sw r31,0x0010(r29)
 
  0018a45c: afbf0010 sw r31,0x0010(r29)
  0018a460: 0c062144 jal 0x 00188510      Physical Evade Calculation
+
  0018a460: 0c062144 jal 0x 00188510      [[Physical Evade Calculation]]
 
  0018a464: 00000000 nop
 
  0018a464: 00000000 nop
  0018a468: 14400009 bne r2,r0,0x 0018a490
+
  0018a468: 14400009 bne r2,r0,0x 0018a490 Branch if attack is evaded
 
  0018a46c: 00000000 nop
 
  0018a46c: 00000000 nop
  0018a470: 0c061760 jal 0x 00185d80      Get X and MA
+
  0018a470: 0c061760 jal 0x 00185d80      [[Store MA and X]]
 
  0018a474: 00000000 nop
 
  0018a474: 00000000 nop
  0018a478: 0c0622c5 jal 0x 00188b14      Hit Chance Calculation (Has superfluous checks for frog/berserk.)
+
  0018a478: 0c0622c5 jal 0x 00188b14      [[Physical Routine for Hit % abilities]] (Has superfluous checks for frog/berserk.)
 
  0018a47c: 00000000 nop
 
  0018a47c: 00000000 nop
  0018a480: 14400003 bne r2,r0,0x 0018a490
+
  0018a480: 14400003 bne r2,r0,0x 0018a490 Branch if attack misses
 
  0018a484: 00000000 nop
 
  0018a484: 00000000 nop
 
  0018a488: 0c061b8a jal 0x 00186e28      Damage = Enemy maxHP - Enemy curHP
 
  0018a488: 0c061b8a jal 0x 00186e28      Damage = Enemy maxHP - Enemy curHP

Revision as of 03:34, 19 February 2016

[4f]
0018a458: 27bdffe8 addiu r29,r29,0xffe8		
0018a45c: afbf0010 sw r31,0x0010(r29)		
0018a460: 0c062144 jal 0x 00188510      		Physical Evade Calculation
0018a464: 00000000 nop				
0018a468: 14400009 bne r2,r0,0x 0018a490		Branch if attack is evaded
0018a46c: 00000000 nop				
0018a470: 0c061760 jal 0x 00185d80      		Store MA and X
0018a474: 00000000 nop				
0018a478: 0c0622c5 jal 0x 00188b14      		Physical Routine for Hit % abilities (Has superfluous checks for frog/berserk.)
0018a47c: 00000000 nop				
0018a480: 14400003 bne r2,r0,0x 0018a490		Branch if attack misses
0018a484: 00000000 nop				
0018a488: 0c061b8a jal 0x 00186e28      		Damage = Enemy maxHP - Enemy curHP
0018a48c: 00000000 nop				
0018a490: 8fbf0010 lw r31,0x0010(r29)		
0018a494: 27bd 0018 addiu r29,r29,0x 0018		
0018a498: 03e00008 jr r31			
0018a49c: 00000000 nop