Difference between revisions of "Get Misc Data of unit that matches register inputs"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
 
(No difference)

Latest revision as of 19:03, 14 February 2015

Get Misc Data of unit that matches register inputs 7a25c: 0007a25c - 0007a2b4


0007a25c: 3c03800a lui r3,0x800a			
0007a260: 8c638a54 lw r3,-0x75ac(r3)			Load Misc Unit Display Data 
0007a264: 00000000 nop
0007a268: 10600011 beq r3,r0,0x0007a2b0			Branch if Misc Unit Display Data  == 0x0
0007a26c: 00001021 addu r2,r0,r0
0007a270: 9062007c lbu r2,0x007c(r3)			Load Unit's Map Level (0 = Floor 1, 1 = Floor 2)
0007a274: 00000000 nop
0007a278: 14440009 bne r2,r4,0x0007a2a0			Branch if  != 0x0
0007a27c: 00000000 nop
0007a280: 9062007d lbu r2,0x007d(r3)			Load Unit's Map Level (0 = Floor 1, 1 = Floor 2)
0007a284: 00000000 nop
0007a288: 14450005 bne r2,r5,0x0007a2a0			Branch if  != 0x0
0007a28c: 00000000 nop
0007a290: 9062007e lbu r2,0x007e(r3)			Load Unit's Map Level (0 = Floor 1, 1 = Floor 2)
0007a294: 00000000 nop
0007a298: 10460005 beq r2,r6,0x0007a2b0			Branch if  == 0x0
0007a29c: 00601021 addu r2,r3,r0
0007a2a0: 8c630000 lw r3,0x0000(r3)			Load Pointer to previous unit's misc data (00000000 means this is the first)
0007a2a4: 00000000 nop
0007a2a8: 1460fff1 bne r3,r0,0x0007a270			Branch if  != 0x0
0007a2ac: 00001021 addu r2,r0,r0
0007a2b0: 03e00008 jr r31			Jump to Address
0007a2b4: 00000000 nop