50 Hit (MA+X)%

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
0018a4a0: 27bdffe8 addiu r29,r29,0xffe8     |
0018a4a4: afbf0010 sw r31,0x0010(r29)       |
0018a4a8: 0c062144 jal 0x00188510           |-->Physical Evade Calculation If Abillity is evadeable roll Ability Evade byte against Ability base Hit - Returns r2
0018a4ac: 00000000 nop                      |
0018a4b0: 14400009 bne r2,r0,0x0018a4d8     #If Attack is not evaded
0018a4b4: 00000000 nop                          |
0018a4b8: 0c061760 jal 0x00185d80               |-->Store_MA_and_X Set Ability XA = Attacker's MA and YA = used Ability X
0018a4bc: 00000000 nop                          |
0018a4c0: 0c0622c5 jal 0x00188b14               |-->Physical_Routine_for_Hit_%_abilities Modify XA (Physical modifiers), Applies Compatibility on XA and YA, uses XA+YA as hit% - Returns r2
0018a4c4: 00000000 nop                          |
0018a4c8: 14400003 bne r2,r0,0x0018a4d8         #If Attack hits
0018a4cc: 00000000 nop                              |
0018a4d0: 0c061fc9 jal 0x00187f24                   |-->Apply_status_(to_action) Add Ability status - if successful update TCA Attack type
0018a4d4: 00000000 nop                              |
0018a4d8: 8fbf0010 lw r31,0x0010(r29)       END
0018a4dc: 27bd0018 addiu r29,r29,0x0018
0018a4e0: 03e00008 jr r31
0018a4e4: 00000000 nop

Return location

Battle.bin
0018b97c : Pre Formula Setup