Difference between revisions of "05 Dmg (Weapon)"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
m (Set the physical evasion routine to the correct link)
m
Line 1: Line 1:
  [05] yeah no this doesn't seem to be used; not even by charge. it's just Dmg_(weapon) but it doesn't have accept elements. - Talcall, for a third time
+
  [05] yeah no this doesn't seem to be used; not even by charge. it's just Dmg_(weapon) but it doesn't have accept elements. - Talcall, for a third time                                                                                      
                                                                                     
 
 
  00188c9c: 27bdffe8 addiu r29,r29,0xffe8
 
  00188c9c: 27bdffe8 addiu r29,r29,0xffe8
 
  00188ca0: afbf0010 sw r31,0x0010(r29)
 
  00188ca0: afbf0010 sw r31,0x0010(r29)

Revision as of 19:00, 22 October 2021

[05] yeah no this doesn't seem to be used; not even by charge. it's just Dmg_(weapon) but it doesn't have accept elements. - Talcall, for a third time                                                                                       
00188c9c: 27bdffe8 addiu r29,r29,0xffe8
00188ca0: afbf0010 sw r31,0x0010(r29)
00188ca4: 0c06215a jal 0x00188568           Physical_Evade_Calculation(Charge) - (=Physical evasion without Jal to weather effects on bows)
00188ca8: 00000000 nop
00188cac: 1440000d bne r2,r0,0x00188ce4     Branch if attack was evaded
00188cb0: 00000000 nop
00188cb4: 0c0616a7 jal 0x00185a9c           Base XA Calculation
00188cb8: 00000000 nop
00188cbc: 0c0617e0 jal 0x00185f80           Charge Calculation
00188cc0: 00000000 nop
00188cc4: 0c0621a9 jal 0x001886a4           Physical Damage Calculation
00188cc8: 00000000 nop
00188ccc: 0c062130 jal 0x001884c0           Conditional Status Proc Roll (19%)
00188cd0: 00000000 nop
00188cd4: 14400003 bne r2,r0,0x00188ce4     If proc roll:
00188cd8: 00000000 nop
00188cdc: 0c061fad jal 0x00187eb4           Apply status (to action) - (Preserve hit status, evade type, hit %)
00188ce0: 00000000 nop
00188ce4: 8fbf0010 lw r31,0x0010(r29)
00188ce8: 27bd 0018 addiu r29,r29,0x0018
00188cec: 03e00008 jr r31
00188cf0: 00000000 nop

Notes

As Talcall said, No routines jumps to this one (not in battle.bin - or it's done via a jalr command)
This routine jump to a dedicated Physical evasion routine without "the weather effects on bows part". Which seems to be dedicated too(only linked to this one).