Difference between revisions of "0013ccec - 0013cf54"
Jump to navigation
Jump to search
(Created page with "<font face='Courier New'> 0013ccec: 03e00008 jr r31 0013ccf0: 00000000 nop 0013ccf4: 27bdffe0 addiu r29,r29,0xffe0 0013ccf8: afbf0018 sw r31,0x0018(r29) 0013ccfc: afb10...") |
|||
(One intermediate revision by one other user not shown) | |||
Line 29: | Line 29: | ||
0013cd54: 00000000 nop | 0013cd54: 00000000 nop | ||
0013cd58: 3c028016 lui r2,0x8016 | 0013cd58: 3c028016 lui r2,0x8016 | ||
− | 0013cd5c: 94425ff6 lhu r2,0x5ff6(r2) | + | 0013cd5c: 94425ff6 lhu r2,0x5ff6(r2) load tutorial value |
0013cd60: 00000000 nop | 0013cd60: 00000000 nop | ||
− | 0013cd64: 14400015 bne r2,r0,0x0013cdbc | + | 0013cd64: 14400015 bne r2,r0,0x0013cdbc branch if exists |
0013cd68: 00000000 nop | 0013cd68: 00000000 nop | ||
− | 0013cd6c: 0c04b721 jal 0x0012dc84 | + | 0013cd6c: 0c04b721 jal 0x0012dc84 [[0012dc84 - 0012dca8]] |
0013cd70: 00000000 nop | 0013cd70: 00000000 nop | ||
− | 0013cd74: 1040000c beq r2,r0,0x0013cda8 | + | 0013cd74: 1040000c beq r2,r0,0x0013cda8 if return != 0: |
0013cd78: 34020002 ori r2,r0,0x0002 | 0013cd78: 34020002 ori r2,r0,0x0002 | ||
0013cd7c: 3c018016 lui r1,0x8016 | 0013cd7c: 3c018016 lui r1,0x8016 | ||
− | 0013cd80: a4225ff6 sh r2,0x5ff6(r1) | + | 0013cd80: a4225ff6 sh r2,0x5ff6(r1) tutorial value == 2 |
− | 0013cd84: 0c04ed64 jal 0x0013b590 | + | 0013cd84: 0c04ed64 jal 0x0013b590 [[Get Script Variable]] get current event |
0013cd88: 34040027 ori r4,r0,0x0027 | 0013cd88: 34040027 ori r4,r0,0x0027 | ||
0013cd8c: 34040027 ori r4,r0,0x0027 | 0013cd8c: 34040027 ori r4,r0,0x0027 | ||
− | 0013cd90: 0c04ed91 jal 0x0013b644 | + | 0013cd90: 0c04ed91 jal 0x0013b644 [[Set Script Variable]] set current event += 1 |
0013cd94: 24450001 addiu r5,r2,0x0001 | 0013cd94: 24450001 addiu r5,r2,0x0001 | ||
− | 0013cd98: 0c04fcff jal 0x0013f3fc | + | 0013cd98: 0c04fcff jal 0x0013f3fc [[0013f3fc - 0013f49c]] |
0013cd9c: 00000000 nop | 0013cd9c: 00000000 nop | ||
− | 0013cda0: 0c053216 jal 0x0014c858 | + | 0013cda0: 0c053216 jal 0x0014c858 [[Switch To Next Thread Multiple Times]] 0x1e times |
0013cda4: 3404001e ori r4,r0,0x001e | 0013cda4: 3404001e ori r4,r0,0x001e | ||
+ | |||
0013cda8: 3c028016 lui r2,0x8016 | 0013cda8: 3c028016 lui r2,0x8016 | ||
− | 0013cdac: 94425ff6 lhu r2,0x5ff6(r2) | + | 0013cdac: 94425ff6 lhu r2,0x5ff6(r2) load tutorial value |
0013cdb0: 00000000 nop | 0013cdb0: 00000000 nop | ||
− | 0013cdb4: 10400003 beq r2,r0,0x0013cdc4 | + | 0013cdb4: 10400003 beq r2,r0,0x0013cdc4 skip if none |
0013cdb8: 00000000 nop | 0013cdb8: 00000000 nop | ||
− | 0013cdbc: 0c053216 jal 0x0014c858 | + | 0013cdbc: 0c053216 jal 0x0014c858 [[Switch To Next Thread Multiple Times]] 0x2 times |
0013cdc0: 34040002 ori r4,r0,0x0002 | 0013cdc0: 34040002 ori r4,r0,0x0002 | ||
− | 0013cdc4: 0c050af4 jal 0x00142bd0 | + | 0013cdc4: 0c050af4 jal 0x00142bd0 [[00142bd0 - 00142c20]] skips if tutorial value not set |
0013cdc8: 340400ff ori r4,r0,0x00ff | 0013cdc8: 340400ff ori r4,r0,0x00ff | ||
0013cdcc: 34020010 ori r2,r0,0x0010 | 0013cdcc: 34020010 ori r2,r0,0x0010 | ||
Line 62: | Line 63: | ||
0013cdd8: 1622000a bne r17,r2,0x0013ce04 | 0013cdd8: 1622000a bne r17,r2,0x0013ce04 | ||
0013cddc: 00118100 sll r16,r17,0x04 | 0013cddc: 00118100 sll r16,r17,0x04 | ||
− | 0013cde0: 0c04b7d0 jal 0x0012df40 | + | 0013cde0: 0c04b7d0 jal 0x0012df40 [[0012df40 - 0012df64]] find active unit's data pointer |
0013cde4: 00000000 nop | 0013cde4: 00000000 nop | ||
− | 0013cde8: 90420006 lbu r2,0x0006(r2) | + | 0013cde8: 90420006 lbu r2,0x0006(r2) Load gender byte |
0013cdec: 00000000 nop | 0013cdec: 00000000 nop | ||
− | 0013cdf0: 30420004 andi r2,r2,0x0004 | + | 0013cdf0: 30420004 andi r2,r2,0x0004 ??? stats flag |
− | 0013cdf4: 10400003 beq r2,r0,0x0013ce04 | + | 0013cdf4: 10400003 beq r2,r0,0x0013ce04 Branch if unit does not have ???, to not ??? out the unit's stats |
0013cdf8: 00118100 sll r16,r17,0x04 | 0013cdf8: 00118100 sll r16,r17,0x04 | ||
0013cdfc: 34110036 ori r17,r0,0x0036 | 0013cdfc: 34110036 ori r17,r0,0x0036 |
Latest revision as of 09:29, 28 April 2024
0013ccec: 03e00008 jr r31 0013ccf0: 00000000 nop 0013ccf4: 27bdffe0 addiu r29,r29,0xffe0 0013ccf8: afbf0018 sw r31,0x0018(r29) 0013ccfc: afb10014 sw r17,0x0014(r29) 0013cd00: 0c0532f0 jal 0x0014cbc0 0013cd04: afb00010 sw r16,0x0010(r29) 0013cd08: 00408821 addu r17,r2,r0 0013cd0c: 0c053274 jal 0x0014c9d0 0013cd10: 34040008 ori r4,r0,0x0008 0013cd14: 3c028016 lui r2,0x8016 0013cd18: 94426048 lhu r2,0x6048(r2) 0013cd1c: 00000000 nop 0013cd20: 10400003 beq r2,r0,0x0013cd30 0013cd24: 00000000 nop 0013cd28: 0c053256 jal 0x0014c958 0013cd2c: 00000000 nop 0013cd30: 0c04b765 jal 0x0012dd94 0013cd34: 00000000 nop 0013cd38: 0c05272f jal 0x00149cbc 0013cd3c: 34040012 ori r4,r0,0x0012 0013cd40: 10400005 beq r2,r0,0x0013cd58 0013cd44: 00000000 nop 0013cd48: 0c0532a0 jal 0x0014ca80 0013cd4c: 00000000 nop 0013cd50: 0804f34e j 0x0013cd38 0013cd54: 00000000 nop 0013cd58: 3c028016 lui r2,0x8016 0013cd5c: 94425ff6 lhu r2,0x5ff6(r2) load tutorial value 0013cd60: 00000000 nop 0013cd64: 14400015 bne r2,r0,0x0013cdbc branch if exists 0013cd68: 00000000 nop 0013cd6c: 0c04b721 jal 0x0012dc84 0012dc84 - 0012dca8 0013cd70: 00000000 nop 0013cd74: 1040000c beq r2,r0,0x0013cda8 if return != 0: 0013cd78: 34020002 ori r2,r0,0x0002 0013cd7c: 3c018016 lui r1,0x8016 0013cd80: a4225ff6 sh r2,0x5ff6(r1) tutorial value == 2 0013cd84: 0c04ed64 jal 0x0013b590 Get Script Variable get current event 0013cd88: 34040027 ori r4,r0,0x0027 0013cd8c: 34040027 ori r4,r0,0x0027 0013cd90: 0c04ed91 jal 0x0013b644 Set Script Variable set current event += 1 0013cd94: 24450001 addiu r5,r2,0x0001 0013cd98: 0c04fcff jal 0x0013f3fc 0013f3fc - 0013f49c 0013cd9c: 00000000 nop 0013cda0: 0c053216 jal 0x0014c858 Switch To Next Thread Multiple Times 0x1e times 0013cda4: 3404001e ori r4,r0,0x001e
0013cda8: 3c028016 lui r2,0x8016 0013cdac: 94425ff6 lhu r2,0x5ff6(r2) load tutorial value 0013cdb0: 00000000 nop 0013cdb4: 10400003 beq r2,r0,0x0013cdc4 skip if none 0013cdb8: 00000000 nop 0013cdbc: 0c053216 jal 0x0014c858 Switch To Next Thread Multiple Times 0x2 times 0013cdc0: 34040002 ori r4,r0,0x0002 0013cdc4: 0c050af4 jal 0x00142bd0 00142bd0 - 00142c20 skips if tutorial value not set 0013cdc8: 340400ff ori r4,r0,0x00ff 0013cdcc: 34020010 ori r2,r0,0x0010 0013cdd0: 12220003 beq r17,r2,0x0013cde0 0013cdd4: 34020012 ori r2,r0,0x0012 0013cdd8: 1622000a bne r17,r2,0x0013ce04 0013cddc: 00118100 sll r16,r17,0x04 0013cde0: 0c04b7d0 jal 0x0012df40 0012df40 - 0012df64 find active unit's data pointer 0013cde4: 00000000 nop 0013cde8: 90420006 lbu r2,0x0006(r2) Load gender byte 0013cdec: 00000000 nop 0013cdf0: 30420004 andi r2,r2,0x0004 ??? stats flag 0013cdf4: 10400003 beq r2,r0,0x0013ce04 Branch if unit does not have ???, to not ??? out the unit's stats 0013cdf8: 00118100 sll r16,r17,0x04 0013cdfc: 34110036 ori r17,r0,0x0036 0013ce00: 00118100 sll r16,r17,0x04 0013ce04: 02118023 subu r16,r16,r17 0013ce08: 3c028017 lui r2,0x8017 0013ce0c: 8c423cb8 lw r2,0x3cb8(r2) 0013ce10: 00108080 sll r16,r16,0x02 0013ce14: 02021021 addu r2,r16,r2 0013ce18: 8c450028 lw r5,0x0028(r2) 0013ce1c: 0c053228 jal 0x0014c8a0 0013ce20: 34040008 ori r4,r0,0x0008 0013ce24: 34040008 ori r4,r0,0x0008 0013ce28: 00003021 addu r6,r0,r0 0013ce2c: 3c058017 lui r5,0x8017 0013ce30: 8ca53cb8 lw r5,0x3cb8(r5) 0013ce34: 00003821 addu r7,r0,r0 0013ce38: 0c05328e jal 0x0014ca38 0013ce3c: 02052821 addu r5,r16,r5 0013ce40: 3c028015 lui r2,0x8015 0013ce44: 9042d324 lbu r2,-0x2cdc(r2) 0013ce48: 3c108015 lui r16,0x8015 0013ce4c: 9210d325 lbu r16,-0x2cdb(r16) 0013ce50: 3c018017 lui r1,0x8017 0013ce54: ac2097d0 sw r0,-0x6830(r1) 0013ce58: 10400031 beq r2,r0,0x0013cf20 0013ce5c: 00000000 nop 0013ce60: 3c038015 lui r3,0x8015 0013ce64: 9063d326 lbu r3,-0x2cda(r3) 0013ce68: 3c028015 lui r2,0x8015 0013ce6c: 8442d08a lh r2,-0x2f76(r2) 0013ce70: 00000000 nop 0013ce74: 1462002a bne r3,r2,0x0013cf20 0013ce78: 34020001 ori r2,r0,0x0001 0013ce7c: 3c018016 lui r1,0x8016 0013ce80: ac22602c sw r2,0x602c(r1) 0013ce84: 0c053216 jal 0x0014c858 0013ce88: 34040002 ori r4,r0,0x0002 0013ce8c: 1a00000c blez r16,0x0013cec0 0013ce90: 00000000 nop 0013ce94: 3c058014 lui r5,0x8014 0013ce98: 24a5072c addiu r5,r5,0x072c 0013ce9c: 0c053228 jal 0x0014c8a0 0013cea0: 34040007 ori r4,r0,0x0007 0013cea4: 34040007 ori r4,r0,0x0007 0013cea8: 00003021 addu r6,r0,r0 0013ceac: 3c058017 lui r5,0x8017 0013ceb0: 8ca53cb8 lw r5,0x3cb8(r5) 0013ceb4: 00003821 addu r7,r0,r0 0013ceb8: 0c05328e jal 0x0014ca38 0013cebc: 24a500f0 addiu r5,r5,0x00f0 0013cec0: 0c053216 jal 0x0014c858 0013cec4: 34040002 ori r4,r0,0x0002 0013cec8: 2a020002 slti r2,r16,0x0002 0013cecc: 1440000c bne r2,r0,0x0013cf00 0013ced0: 00000000 nop 0013ced4: 3c058014 lui r5,0x8014 0013ced8: 24a50228 addiu r5,r5,0x0228 0013cedc: 0c053228 jal 0x0014c8a0 0013cee0: 34040006 ori r4,r0,0x0006 0013cee4: 34040006 ori r4,r0,0x0006 0013cee8: 00003021 addu r6,r0,r0 0013ceec: 3c058017 lui r5,0x8017 0013cef0: 8ca53cb8 lw r5,0x3cb8(r5) 0013cef4: 00003821 addu r7,r0,r0 0013cef8: 0c05328e jal 0x0014ca38 0013cefc: 24a500b4 addiu r5,r5,0x00b4 0013cf00: 0c053216 jal 0x0014c858 0013cf04: 34040002 ori r4,r0,0x0002 0013cf08: 3c018015 lui r1,0x8015 0013cf0c: a020d324 sb r0,-0x2cdc(r1) 0013cf10: 3c018016 lui r1,0x8016 0013cf14: ac20602c sw r0,0x602c(r1) 0013cf18: 0804f3ce j 0x0013cf38 0013cf1c: 00000000 nop 0013cf20: 3c028015 lui r2,0x8015 0013cf24: 9042d08a lbu r2,-0x2f76(r2) 0013cf28: 3c018015 lui r1,0x8015 0013cf2c: a020d325 sb r0,-0x2cdb(r1) 0013cf30: 3c018015 lui r1,0x8015 0013cf34: a022d326 sb r2,-0x2cda(r1) 0013cf38: 0c053256 jal 0x0014c958 0013cf3c: 00000000 nop 0013cf40: 8fbf0018 lw r31,0x0018(r29) 0013cf44: 8fb10014 lw r17,0x0014(r29) 0013cf48: 8fb00010 lw r16,0x0010(r29) 0013cf4c: 27bd0020 addiu r29,r29,0x0020 0013cf50: 03e00008 jr r31 0013cf54: 00000000 nop