001210e8 - 001212b4
Jump to navigation
Jump to search
001210e8: 27bdfe10 addiu r29,r29,0xfe10 001210ec: afb501e4 sw r21,0x01e4(r29) 001210f0: 00c0a821 addu r21,r6,r0 001210f4: afb101d4 sw r17,0x01d4(r29) 001210f8: 00008821 addu r17,r0,r0 001210fc: afb201d8 sw r18,0x01d8(r29) 00121100: 00009021 addu r18,r0,r0 00121104: afb401e0 sw r20,0x01e0(r29) 00121108: 309403ff andi r20,r4,0x03ff 0012110c: afb301dc sw r19,0x01dc(r29) 00121110: 3c13801d lui r19,0x801d 00121114: 2673868c addiu r19,r19,0x868c 00121118: afb001d0 sw r16,0x01d0(r29) 0012111c: 00008021 addu r16,r0,r0 00121120: afbf01e8 sw r31,0x01e8(r29) 00121124: 27a40010 addiu r4,r29,0x0010 00121128: 02202821 addu r5,r17,r0 0012112c: 0c016a35 jal 0x0005a8d4 Initialize Unit's Job Data 00121130: 34060001 ori r6,r0,0x0001 00121134: 1440004c bne r2,r0,0x00121268 00121138: 00000000 nop 0012113c: 0c0166bc jal 0x00059af0 Get Party Data Pointer 00121140: 02202021 addu r4,r17,r0 00121144: 27a40010 addiu r4,r29,0x0010 00121148: 3c05801d lui r5,0x801d 0012114c: 24a58638 addiu r5,r5,0x8638 00121150: 02052821 addu r5,r16,r5 00121154: 0c0482ec jal 0x00120bb0 Load party data into Formation screen data 00121158: 00403021 addu r6,r2,r0 0012115c: 34020001 ori r2,r0,0x0001 00121160: 16a2001b bne r21,r2,0x001211d0 00121164: 34020002 ori r2,r0,0x0002 00121168: 3c01801d lui r1,0x801d 0012116c: 00300821 addu r1,r1,r16 00121170: 90228757 lbu r2,-0x78a9(r1) 00121174: 00000000 nop 00121178: 1440003b bne r2,r0,0x00121268 0012117c: 00000000 nop 00121180: 3c01801d lui r1,0x801d 00121184: 00300821 addu r1,r1,r16 00121188: 902286a8 lbu r2,-0x7958(r1) 0012118c: 00000000 nop 00121190: 30420004 andi r2,r2,0x0004 00121194: 14400034 bne r2,r0,0x00121268 00121198: 00000000 nop 0012119c: 3c01801d lui r1,0x801d 001211a0: 00300821 addu r1,r1,r16 001211a4: 84228676 lh r2,-0x798a(r1) 001211a8: 00000000 nop 001211ac: 1440002e bne r2,r0,0x00121268 001211b0: 00000000 nop 001211b4: 3c01801d lui r1,0x801d 001211b8: 00300821 addu r1,r1,r16 001211bc: 8424865c lh r4,-0x79a4(r1) 001211c0: 0c0482e4 jal 0x00120b90 Special monster check 001211c4: 00000000 nop 001211c8: 08048482 j 0x00121208 001211cc: 00000000 nop 001211d0: 16a2000f bne r21,r2,0x00121210 001211d4: 00000000 nop 001211d8: 3c01801d lui r1,0x801d 001211dc: 00300821 addu r1,r1,r16 001211e0: 902286a8 lbu r2,-0x7958(r1) 001211e4: 00000000 nop 001211e8: 30420004 andi r2,r2,0x0004 001211ec: 1440001e bne r2,r0,0x00121268 001211f0: 00000000 nop 001211f4: 3c01801d lui r1,0x801d 001211f8: 00300821 addu r1,r1,r16 001211fc: 902286a8 lbu r2,-0x7958(r1) 00121200: 00000000 nop 00121204: 00021182 srl r2,r2,0x06 00121208: 14400017 bne r2,r0,0x00121268 branch if r2 is not 0 (prevents naming in soldier office) 0012120c: 00000000 nop 00121210: 1a80000e blez r20,0x0012124c 00121214: 00002821 addu r5,r0,r0 00121218: 00002021 addu r4,r0,r0 0012121c: 02601821 addu r3,r19,r0 00121220: 94620000 lhu r2,0x0000(r3) 00121224: 00000000 nop 00121228: 14540002 bne r2,r20,0x00121234 0012122c: 24630002 addiu r3,r3,0x0002 00121230: 34050001 ori r5,r0,0x0001 00121234: 24840001 addiu r4,r4,0x0001 00121238: 28820005 slti r2,r4,0x0005 0012123c: 1440fff8 bne r2,r0,0x00121220 00121240: 00000000 nop 00121244: 10a00008 beq r5,r0,0x00121268 00121248: 00000000 nop 0012124c: 00121040 sll r2,r18,0x01 00121250: 3c01801d lui r1,0x801d 00121254: 00220821 addu r1,r1,r2 00121258: a4328608 sh r18,-0x79f8(r1) 0012125c: 26730128 addiu r19,r19,0x0128 00121260: 26100128 addiu r16,r16,0x0128 00121264: 26520001 addiu r18,r18,0x0001 00121268: 26310001 addiu r17,r17,0x0001 0012126c: 2a220014 slti r2,r17,0x0014 00121270: 1440ffad bne r2,r0,0x00121128 00121274: 27a40010 addiu r4,r29,0x0010 00121278: 3c01801d lui r1,0x801d 0012127c: a4328634 sh r18,-0x79cc(r1) 00121280: 0c048718 jal 0x00121c60 00121c60 - 00121fc4 00121284: 00002021 addu r4,r0,r0 00121288: 3c02801d lui r2,0x801d 0012128c: 84428634 lh r2,-0x79cc(r2) 00121290: 8fbf01e8 lw r31,0x01e8(r29) 00121294: 8fb501e4 lw r21,0x01e4(r29) 00121298: 8fb401e0 lw r20,0x01e0(r29) 0012129c: 8fb301dc lw r19,0x01dc(r29) 001212a0: 8fb201d8 lw r18,0x01d8(r29) 001212a4: 8fb101d4 lw r17,0x01d4(r29) 001212a8: 8fb001d0 lw r16,0x01d0(r29) 001212ac: 27bd01f0 addiu r29,r29,0x01f0 001212b0: 03e00008 jr r31 001212b4: 00000000 nop