0007a968 - 0007a9ac

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search

0007a968: 00003821 addu r7,r0,r0
0007a96c: 340800ff ori r8,r0,0x00ff
0007a970: 3c06800a lui r6,0x800a
0007a974: 24c677c4 addiu r6,r6,0x77c4
0007a978: 8cc50000 lw r5,0x0000(r6)			#load unit ID + 0x80/40/20 flags?
0007a97c: 90830004 lbu r3,0x0004(r4)			#
0007a980: 30a2001f andi r2,r5,0x001f
0007a984: 14430005 bne r2,r3,0x0007a99c		#branch if unit ID != *0xc8?
0007a988: 24e70001 addiu r7,r7,0x0001
0007a98c: 30a20040 andi r2,r5,0x0040
0007a990: 10400003 beq r2,r0,0x0007a9a0		#branch if no 0x40 flag
0007a994: 28e20002 slti r2,r7,0x0002
0007a998: acc80000 sw r8,0x0000(r6)			#set unit ID to 0xff
0007a99c: 28e20002 slti r2,r7,0x0002
0007a9a0: 1440fff5 bne r2,r0,0x0007a978
0007a9a4: 24c67564 addiu r6,r6,0x7564
0007a9a8: 03e00008 jr r31
0007a9ac: 00000000 nop