Some thing wtih check if chocobo is on panel
Revision as of 19:12, 14 February 2015 by Choto (talk | contribs) (Choto moved page 0007a4f4 - 0007a5cc to Some thing wtih check if chocobo is on panel)
Some thing wtih check if chocobo is on panel 7a4f4: 0007a4f4 - 0007a5cc
0007a4f4: 27bdffb8 addiu r29,r29,0xffb8 0007a4f8: 3c03800a lui r3,0x800a 0007a4fc: 8c638a54 lw r3,-0x75ac(r3) Load Misc Unit Display Data 0007a500: 00000000 nop 0007a504: 1060001a beq r3,r0,0x0007a570 Branch if Misc Unit Display Data == 0x0 0007a508: 00004021 addu r8,r0,r0 0007a50c: 34090086 ori r9,r0,0x0086 r9 = (0x86) 134 0007a510: 03a03821 addu r7,r29,r0 0007a514: 9062007c lbu r2,0x007c(r3) Load Unit's X Coordinate initialized to ENTD (current location?) 0007a518: 00000000 nop 0007a51c: 14440010 bne r2,r4,0x0007a560 Branch if Unit's X Coordinate initialized to ENTD (current location?) != 0x0 0007a520: 00000000 nop 0007a524: 9062007d lbu r2,0x007d(r3) Load Unit's Y Coordinate 0007a528: 00000000 nop 0007a52c: 1445000c bne r2,r5,0x0007a560 Branch if Unit's Y Coordinate != 0x0 0007a530: 00000000 nop 0007a534: 9062007e lbu r2,0x007e(r3) Load Unit's Map Level (0 = Floor 1, 1 = Floor 2) 0007a538: 00000000 nop 0007a53c: 14460008 bne r2,r6,0x0007a560 Branch if Unit's Map Level (0 = Floor 1, 1 = Floor 2) != 0x0 0007a540: 00000000 nop 0007a544: 90620006 lbu r2,0x0006(r3) Load Spritesheet ID 0007a548: 00000000 nop 0007a54c: 14490004 bne r2,r9,0x0007a560 Branch if Spritesheet ID != 86 (134) 0007a550: 00000000 nop 0007a554: ace30000 sw r3,0x0000(r7) Store Misc Unit Display Data into 0x0 0007a558: 24e70004 addiu r7,r7,0x0004 0007a55c: 25080001 addiu r8,r8,0x0001 0007a560: 8c630000 lw r3,0x0000(r3) Load Pointer to previous unit's misc data (00000000 means this is the first) 0007a564: 00000000 nop 0007a568: 1460ffea bne r3,r0,0x0007a514 Branch if Pointer to previous unit's misc data (00000000 means this is the first), != 0x0 0007a56c: 00000000 nop 0007a570: 11000014 beq r8,r0,0x0007a5c4 Branch if 0x1 == 0x0 0007a574: 00001021 addu r2,r0,r0 0007a578: 19000012 blez r8,0x0007a5c4 0007a57c: 00002021 addu r4,r0,r0 0007a580: 03a02821 addu r5,r29,r0 0007a584: 3c078009 lui r7,0x8009 0007a588: 8ce76118 lw r7,0x6118(r7) Load Casting units ID? (mimic?), ability CT resolution 0007a58c: 3c068009 lui r6,0x8009 0007a590: 8cc6611c lw r6,0x611c(r6) Load Casting units Misc ID? 0007a594: 8ca20000 lw r2,0x0000(r5) Load Spritesheet ID 0007a598: 00000000 nop 0007a59c: 90430004 lbu r3,0x0004(r2) Load Pointer to previous unit's misc data (00000000 means this is the first) 0007a5a0: 00000000 nop 0007a5a4: 10670003 beq r3,r7,0x0007a5b4 Branch if == Casting units ID? (mimic?), ability CT resolution 0007a5a8: 24a50004 addiu r5,r5,0x0004 0007a5ac: 14660005 bne r3,r6,0x0007a5c4 Branch if != Casting units Misc ID? 0007a5b0: 00000000 nop 0007a5b4: 24840001 addiu r4,r4,0x0001 0007a5b8: 0088102a slt r2,r4,r8 Set if 0x1 < 0x1 0007a5bc: 1440fff5 bne r2,r0,0x0007a594 Branch if so 0007a5c0: 00001021 addu r2,r0,r0 0007a5c4: 27bd0048 addiu r29,r29,0x0048 0007a5c8: 03e00008 jr r31 Jump to Address 0007a5cc: 00000000 nop