30 AbsHP (PA*WP)

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
[30]
00189c90: 27bdffe8 addiu r29,r29,-0x0018    |
00189c94: afbf0010 sw r31,0x0010(r29)       |
00189c98: 0c062144 jal 0x00188510           |-->Physical Evade Calculation If Abillity is evadeable roll Ability Evade byte against Ability base Hit - Returns r2
00189c9c: 00000000 nop                      |
00189ca0: 14400007 bne r2,r0,0x00189cc0     #If Attack is not evaded
00189ca4: 00000000 nop                          |
00189ca8: 0c061776 jal 0x00185dd8               |-->Store_PA_and_WP Set XA  = Attacker's PA and YA = used Weapon WP
00189cac: 00000000 nop                          |
00189cb0: 0c0621a9 jal 0x001886a4               |-->Damage_Calculation Modify XA (Support-Statuses-Compat-Critical Hit), Might add Knockback, Set TCA HP damage to XA*YA
00189cb4: 00000000 nop                          |
00189cb8: 0c061c92 jal 0x00187248               |-->HP_Absorption Add HP recovery to Attacker action / Manages undead reversal mechanics
00189cbc: 00000000 nop                          |
00189cc0: 8fbf0010 lw r31,0x0010(r29)       END
00189cc4: 27bd0018 addiu r29,r29,0x0018
00189cc8: 03e00008 jr r31
00189ccc: 00000000 nop

Return location

Battle.bin
0018b97c - Pre Formula Setup