Difference between revisions of "Damage Calculation"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
m (Added link to subroutine: critical hit calculation)
Line 3: Line 3:
 
  001886ac: 0c06217e jal 0x001885f8 XA Modifying Statuses/Support (Plus Compat)
 
  001886ac: 0c06217e jal 0x001885f8 XA Modifying Statuses/Support (Plus Compat)
 
  001886b0: 00000000 nop
 
  001886b0: 00000000 nop
  001886b4: 0c06193e jal 0x001864f8 Critical Hit Calculation (Includes Knockback)
+
  001886b4: 0c06193e jal 0x001864f8 [[Critical Hit Calculation]] (Includes Knockback)
 
  001886b8: 00000000 nop
 
  001886b8: 00000000 nop
 
  001886bc: 0c06195a jal 0x00186568 [[XA * YA Calculation]]
 
  001886bc: 0c06195a jal 0x00186568 [[XA * YA Calculation]]

Revision as of 15:19, 22 September 2016

001886a4: 27bdffe8 addiu r29,r29,0xffe8
001886a8: afbf0010 sw r31,0x0010(r29)
001886ac: 0c06217e jal 0x001885f8		XA Modifying Statuses/Support (Plus Compat)
001886b0: 00000000 nop
001886b4: 0c06193e jal 0x001864f8		Critical Hit Calculation (Includes Knockback)
001886b8: 00000000 nop
001886bc: 0c06195a jal 0x00186568		XA * YA Calculation
001886c0: 00000000 nop
001886c4: 8fbf0010 lw r31,0x0010(r29)
001886c8: 27bd0018 addiu r29,r29,0x0018
001886cc: 03e00008 jr r31
001886d0: 00000000 nop

Return Locations

00188638 - Weapon Damage Calculation
00188be4 - Formula 03
00188c9c - Formula 05
00188cf4 - Formula 06
00189b20 - Formula 2d
00189b94 - Formula 2e
00189c50 - Formula 2f
00189c90 - Formula 30