06 AbsHP (Weapon)
Jump to navigation
Jump to search
[06] Weapon (Absorb HP) 00188cf4: 27bdffe8 addiu r29,r29,0xffe8 00188cf8: afbf0010 sw r31,0x0010(r29) 00188cfc: 0c062144 jal 0x 00188510 Physical Evade Calculation 00188d00: 00000000 nop 00188d04: 14400009 bne r2,r0,0x 00188d2c Branch if attack was evaded 00188d08: 00000000 nop 00188d0c: 0c0616a7 jal 0x 00185a9c Weapon Base XA Calculation 00188d10: 00000000 nop 00188d14: 0c0617e0 jal 0x 00185f80 Charge Calculation 00188d18: 00000000 nop 00188d1c: 0c0621a9 jal 0x 001886a4 Physical Damage Calculation - essentially, this is the same coding as the subroutine in 0x188638 but missing the weapon elemental routine. 00188d20: 00000000 nop 00188d24: 0c061c92 jal 0x 00187248 HP Absorbtion Calculation 00188d28: 00000000 nop 00188d2c: 8fbf0010 lw r31,0x0010(r29) 00188d30: 27bd 0018 addiu r29,r29,0x 0018 00188d34: 03e00008 jr r31 00188d38: 00000000 nop