01 Dmg (Weapon)

From Final Fantasy Hacktics Wiki
Revision as of 02:29, 3 October 2020 by EnderC (talk | contribs)
Jump to navigation Jump to search

Note: Formula 00 is treated as 01. 00 is changed to 01 by 0018b8d0-0018b8e0 in Pre Formula Setup (FDC).

[01] Weapon

00188b64: 27bdffe8 addiu r29,r29,0xffe8
00188b68: afbf0010 sw r31,0x0010(r29)
00188b6c: 0c062144 jal 0x00188510              ;   Physical Evade Calculation
00188b70: 00000000 nop
00188b74: 14400007 bne r2,r0,0x00188b94        ;   Branch to end if attack is evaded
00188b78: 00000000 nop
00188b7c: 0c06218e jal 0x00188638              ;   Weapon Damage Calculation
00188b80: 00000000 nop
00188b84: 14400003 bne r2,r0,0x00188b94        ;   Branch if conditional proc roll fails
00188b88: 00000000 nop
00188b8c: 0c061fad jal 0x00187eb4              ;   Apply status (to action) - (Preserve hit status, evade type, hit %)
00188b90: 00000000 nop
00188b94: 8fbf0010 lw r31,0x0010(r29)
00188b98: 27bd0018 addiu r29,r29,0x0018
00188b9c: 03e00008 jr r31
00188ba0: 00000000 nop



Return Locations

8018b97c - Pre Formula Setup (link)