64 Dmg (PA * WP); if using Spear (PA * 3/2 * WP); if weaponless (PA * Brave /100 * WP)

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
0018ac44: 27bdffe8 addiu r29,r29,-0x0018    |
0018ac48: afbf0010 sw r31,0x0010(r29)       |
0018ac4c: 0c0617a5 jal 0x00185e94           |-->Formula 64 or Jump Base XA / YA Set XA and YA depending of Target's Weapon (Spear/Fist/Else)
0018ac50: 00000000 nop                      |
0018ac54: 0c0622b7 jal 0x00188adc           |-->Cluster of Physical Routines Modify XA (Attacker status, Target Status/Support, Compatibility)
0018ac58: 00000000 nop                      |
0018ac5c: 0c06195a jal 0x00186568           |-->XA * YA Calculation Store XA*YA as Target Current Action HP damage (TCA 0x04) and Set TCA Attack type to 0x80 (HP damage)
0018ac60: 00000000 nop                      |
0018ac64: 8fbf0010 lw r31,0x0010(r29)
0018ac68: 27bd0018 addiu r29,r29,0x0018
0018ac6c: 03e00008 jr r31
0018ac70: 00000000 nop

Return location

Battle.bin
0018b97c : Pre Formula Setup