Difference between revisions of "2Truth/Formula 5E-5F Calculate damage"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
m (return link)
Line 10: Line 10:
 
  001889c4: 03e00008 jr r31
 
  001889c4: 03e00008 jr r31
 
  001889c8: 00000000 nop
 
  001889c8: 00000000 nop
 +
 +
==Return Location==
 +
00189454: [[1E_Dmg_((MA%2BY)*MA/2)#Hit.28Rdm.281.2CX.29.29|Formula 1E - Dmg ((MA+Y)*MA/2)]]

Revision as of 19:24, 22 August 2021

Truth/Formula 5E-5F Calculate damage:
001889a4: 27bdffe8 addiu r29,r29,0xffe8		
001889a8: afbf0010 sw r31,0x0010(r29)		
001889ac: 0c061730 jal 0x00185cc0		Base XA and YA for MA + Y / 2
001889b0: 00000000 nop				
001889b4: 0c062259 jal 0x00188964		Truth/Formula 5E-5F Magical damage
001889b8: 00000000 nop
001889bc: 8fbf0010 lw r31,0x0010(r29)
001889c0: 27bd0018 addiu r29,r29,0x0018
001889c4: 03e00008 jr r31
001889c8: 00000000 nop

Return Location

00189454: Formula 1E - Dmg ((MA+Y)*MA/2)