12 Set Quick Hit F(MA+X)%

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
0018912c: 27bdffe8 addiu r29,r29,-0x0018    |
00189130: afbf0010 sw r31,0x0010(r29)       |
00189134: 0c061760 jal 0x00185d80           |-->Store MA and X Set Ability XA = Attacker's MA and YA = used Ability X
00189138: 00000000 nop                      |
0018913c: 0c062200 jal 0x00188800           |-->XA + YA becomes Hit% (friendly spell) Modify XA (Support/Compatibility) Uses XA+YA as Hit% (Influenced by Faith) returns r2 = 0x00 if Attack hits
00189140: 00000000 nop                      |
00189144: 14400003 bne r2,r0,0x00189154     #If Attacks Hits
00189148: 00000000 nop                          |
0018914c: 0c061e0f jal 0x0018783c               |-->Quick Effect Set Target CT change to 0xff and Attack type to 0x08 (pseudo status)
00189150: 00000000 nop                          |
00189154: 8fbf0010 lw r31,0x0010(r29)       END
00189158: 27bd0018 addiu r29,r29,0x0018     
0018915c: 03e00008 jr r31                   
00189160: 00000000 nop                      

Return locations

Battle.bin
0018b97c - Pre Formula Setup