Difference between revisions of "06 AbsHP (Weapon)"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
Line 10: Line 10:
 
  00188d14: 0c0617e0 jal 0x00185f80      [[Charge Calculation]]
 
  00188d14: 0c0617e0 jal 0x00185f80      [[Charge Calculation]]
 
  00188d18: 00000000 nop
 
  00188d18: 00000000 nop
  00188d1c: 0c0621a9 jal 0x001886a4      Physical [[Damage Calculation]] - essentially, this is the same coding as the subroutine in 0x188638 but missing the weapon elemental routine.
+
  00188d1c: 0c0621a9 jal 0x001886a4      Physical [[Damage Calculation]] - This is the same coding as the subroutine in 0x80188638 ([[Weapon Damage Calculation|link]])
  00188d20: 00000000 nop
+
  00188d20: 00000000 nop but no weapon elemental routine
 
  00188d24: 0c061c92 jal 0x00187248      [[HP Absorbtion]] Calculation
 
  00188d24: 0c061c92 jal 0x00187248      [[HP Absorbtion]] Calculation
 
  00188d28: 00000000 nop
 
  00188d28: 00000000 nop

Revision as of 22:37, 5 August 2020

[06] Weapon (Absorb HP)
00188cf4: 27bdffe8 addiu r29,r29,-0x0018
00188cf8: afbf0010 sw r31,0x0010(r29)
00188cfc: 0c062144 jal 0x00188510      		Physical Evade Calculation
00188d00: 00000000 nop				
00188d04: 14400009 bne r2,r0,0x00188d2c      	Branch if attack was evaded
00188d08: 00000000 nop				
00188d0c: 0c0616a7 jal 0x00185a9c      		Weapon Base XA & YA (link)
00188d10: 00000000 nop				
00188d14: 0c0617e0 jal 0x00185f80      		Charge Calculation
00188d18: 00000000 nop				
00188d1c: 0c0621a9 jal 0x001886a4      		Physical Damage Calculation - This is the same coding as the subroutine in 0x80188638 (link)
00188d20: 00000000 nop				but no weapon elemental routine
00188d24: 0c061c92 jal 0x00187248      		HP Absorbtion Calculation
00188d28: 00000000 nop				
00188d2c: 8fbf0010 lw r31,0x0010(r29)		
00188d30: 27bd 0018 addiu r29,r29,0x0018		
00188d34: 03e00008 jr r31			
00188d38: 00000000 nop