Quick Effect

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
Quick Effect:

No Parameters - Returns Nothing

Set Target Current Action (TCA) CT change = 0x00ff (+127)
Set TCA attack Type = pseudo status (0x08) 
----------------------------------------------------------------------------------------------
0018783c: 3c038019 lui r3,0x8019            |
00187840: 8c632d90 lw r3,0x2d90(r3)         |r2 = Target Current Action (TCA) data pointer
00187844: 340200ff ori r2,r0,0x00ff         |r2 = 0x0ff
00187848: a0620013 sb r2,0x0013(r3)         |Store 0x0ff as CT change  (0x80 = Bonus so it's CT + 127)
0018784c: 3c038019 lui r3,0x8019            |
00187850: 8c632d90 lw r3,0x2d90(r3)         |r3 = Target Current Action (TCA) data pointer
00187854: 34020001 ori r2,r0,0x0001         |r2 = 0x01
00187858: 03e00008 jr r31                   |
0018785c: a0620025 sb r2,0x0025(r3)         |Set TCA Attack type to Pseudo-Status (disables other flags)

Return locations

Battle.bin
00189154: Formula 12 : Set Quick Hit F(MA+X)%
0018aa88: Formula 5d : Dragon: Set Quick