Transfer Last Ability Used CT

From Final Fantasy Hacktics Wiki
Revision as of 03:13, 2 March 2012 by Choto (talk | contribs)
Jump to navigation Jump to search
Transfer Last Ability Used CT
0005e778: 84830170 lh r3,0x0170(r4)		Load Unit's Last Attack Used ID
0005e77c: 00000000 nop
0005e780: 000310c0 sll r2,r3,0x03		ID * 8
0005e784: 00431023 subu r2,r2,r3		ID * 7
0005e788: 00021040 sll r2,r2,0x01		ID * 14
0005e78c: 3c018006 lui r1,0x8006
0005e790: 00220821 addu r1,r1,r2
0005e794: 9022fbfc lbu r2,-0x0404(r1)		Load Ability's CT
0005e798: 00000000 nop
0005e79c: 3042007f andi r2,r2,0x007f
0005e7a0: 03e00008 jr r31
0005e7a4: a082018b sb r2,0x018b(r4)		Store Ability's CT


Return Locations

0005e838:
00182c4c:
0018389c: