Get Casting units Misc Data

From Final Fantasy Hacktics Wiki
Revision as of 21:17, 12 February 2015 by Choto (talk | contribs) (Choto moved page 0007a218 - 0007a258 to Get Casting units Misc Data)
Jump to navigation Jump to search

Get Casting units Misc Data 7a218: 0007a218 - 0007a258


0007a218: 3c03800a lui r3,0x800a			
0007a21c: 8c638a54 lw r3,-0x75ac(r3)			Load Misc Unit Display Data 
0007a220: 00000000 nop
0007a224: 1060000b beq r3,r0,0x0007a254			Branch if Misc Unit Display Data  == 0x0
0007a228: 00001021 addu r2,r0,r0
0007a22c: 3c048009 lui r4,0x8009			
0007a230: 8c846118 lw r4,0x6118(r4)			Load Casting units ID? (mimic?), ability CT resolution
0007a234: 90620004 lbu r2,0x0004(r3)			Load Unit Misc ID?
0007a238: 00000000 nop
0007a23c: 10440005 beq r2,r4,0x0007a254			Branch if Unit Misc ID? == Casting units ID? (mimic?), ability CT resolution
0007a240: 00601021 addu r2,r3,r0
0007a244: 8c630000 lw r3,0x0000(r3)			Load Pointer to previous unit's misc data (00000000 means this is the first)
0007a248: 00000000 nop
0007a24c: 1460fff9 bne r3,r0,0x0007a234			Branch if Pointer to previous unit's misc data (00000000 means this is the first),  != 0x0
0007a250: 00001021 addu r2,r0,r0
0007a254: 03e00008 jr r31			Jump to Address
0007a258: 00000000 nop