Difference between revisions of "Event Instruction Main Routine 1"
Jump to navigation
Jump to search
(Created page with " 00143bd8: 27bdffb0 addiu r29,r29,0xffb0 00143bdc: 34040044 ori r4,r0,0x0044 00143be0: afbf004c sw r31,0x004c(r29) 00143be4: afbe0048 sw r30,0x0048(r29) ...") |
m |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | < [[BATTLE.BIN]] | ||
− | 00143bd8: 27bdffb0 addiu r29,r29,0xffb0 | + | 00143bd8: 27bdffb0 addiu r29,r29,0xffb0 |
+ | 00143bdc: 34040044 ori r4,r0,0x0044 | ||
+ | 00143be0: afbf004c sw r31,0x004c(r29) | ||
+ | 00143be4: afbe0048 sw r30,0x0048(r29) | ||
+ | 00143be8: afb70044 sw r23,0x0044(r29) | ||
+ | 00143bec: afb60040 sw r22,0x0040(r29) | ||
+ | 00143bf0: afb5003c sw r21,0x003c(r29) | ||
+ | 00143bf4: afb40038 sw r20,0x0038(r29) | ||
+ | 00143bf8: afb30034 sw r19,0x0034(r29) | ||
+ | 00143bfc: afb20030 sw r18,0x0030(r29) | ||
+ | 00143c00: afb1002c sw r17,0x002c(r29) | ||
+ | 00143c04: 0c052752 jal 0x00149d48 | ||
+ | 00143c08: afb00028 sw r16,0x0028(r29) | ||
+ | 00143c0c: 0c04b721 jal 0x0012dc84 [[0012dc84 - 0012dca8]] | ||
+ | 00143c10: 00000000 nop | ||
+ | 00143c14: 10400003 beq r2,r0,0x00143c24 | ||
+ | 00143c18: 00000000 nop | ||
+ | 00143c1c: 0c04b6f7 jal 0x0012dbdc [[0012dbdc - 0012dc2c]] | ||
+ | 00143c20: 00000000 nop | ||
+ | 00143c24: 3c028016 lui r2,0x8016 | ||
+ | 00143c28: 94425ff6 lhu r2,0x5ff6(r2) | ||
+ | 00143c2c: 00000000 nop | ||
+ | 00143c30: 1440000c bne r2,r0,0x00143c64 | ||
+ | 00143c34: 340200aa ori r2,r0,0x00aa | ||
+ | 00143c38: 34100002 ori r16,r0,0x0002 | ||
+ | 00143c3c: 0c053274 jal 0x0014c9d0 [[Wait For Thread]] | ||
+ | 00143c40: 02002021 addu r4,r16,r0 | ||
+ | 00143c44: 26100001 addiu r16,r16,0x0001 | ||
+ | 00143c48: 2a02000e slti r2,r16,0x000e | ||
+ | 00143c4c: 1440fffb bne r2,r0,0x00143c3c | ||
+ | 00143c50: 00000000 nop | ||
+ | 00143c54: 0c04b765 jal 0x0012dd94 [[0012dd94 - 0012ddc0]] | ||
+ | 00143c58: 00000000 nop | ||
+ | 00143c5c: 08050f21 j 0x00143c84 | ||
+ | 00143c60: 00000000 nop | ||
+ | 00143c64: 3c018017 lui r1,0x8017 | ||
+ | 00143c68: a422864a sh r2,-0x79b6(r1) | ||
+ | 00143c6c: 3c018017 lui r1,0x8017 | ||
+ | 00143c70: a4228652 sh r2,-0x79ae(r1) | ||
+ | 00143c74: 3c018017 lui r1,0x8017 | ||
+ | 00143c78: a422865a sh r2,-0x79a6(r1) | ||
+ | 00143c7c: 3c018017 lui r1,0x8017 | ||
+ | 00143c80: a4228662 sh r2,-0x799e(r1) | ||
+ | 00143c84: 0c05214f jal 0x0014853c [[0014853c - 0014857c]] | ||
+ | 00143c88: 00000000 nop | ||
+ | 00143c8c: 0c04ed64 jal 0x0013b590 [[Get Script Variable]] | ||
+ | 00143c90: 340401fd ori r4,r0,0x01fd | ||
+ | 00143c94: 10400006 beq r2,r0,0x00143cb0 | ||
+ | 00143c98: 00000000 nop | ||
+ | 00143c9c: 00002021 addu r4,r0,r0 | ||
+ | 00143ca0: 0c052336 jal 0x00148cd8 [[Process Unit Staged Status Data]] | ||
+ | 00143ca4: 00002821 addu r5,r0,r0 | ||
+ | 00143ca8: 08050f2f j 0x00143cbc | ||
+ | 00143cac: 34040028 ori r4,r0,0x0028 | ||
+ | 00143cb0: 0c04b639 jal 0x0012d8e4 [[Process Inflict Status Event Commands]] | ||
+ | 00143cb4: 00000000 nop | ||
+ | 00143cb8: 34040028 ori r4,r0,0x0028 | ||
+ | 00143cbc: 0c04ed91 jal 0x0013b644 [[Set Script Variable]] | ||
+ | 00143cc0: 00002821 addu r5,r0,r0 | ||
+ | 00143cc4: 34040029 ori r4,r0,0x0029 | ||
+ | 00143cc8: 0c04ed91 jal 0x0013b644 [[Set Script Variable]] | ||
+ | 00143ccc: 00002821 addu r5,r0,r0 | ||
+ | 00143cd0: 3404002a ori r4,r0,0x002a | ||
+ | 00143cd4: 0c04ed91 jal 0x0013b644 [[Set Script Variable]] | ||
+ | 00143cd8: 00002821 addu r5,r0,r0 | ||
+ | 00143cdc: 0c04f680 jal 0x0013da00 [[Set Event Speed]] | ||
+ | 00143ce0: 34040001 ori r4,r0,0x0001 | ||
+ | 00143ce4: 0c04b771 jal 0x0012ddc4 [[0012ddc4 - 0012dde4]] | ||
+ | 00143ce8: 0000f021 addu r30,r0,r0 | ||
+ | 00143cec: 340303e8 ori r3,r0,0x03e8 | ||
+ | 00143cf0: 34100003 ori r16,r0,0x0003 | ||
+ | 00143cf4: 3c028016 lui r2,0x8016 | ||
+ | 00143cf8: 24425fee addiu r2,r2,0x5fee | ||
+ | 00143cfc: a4430000 sh r3,0x0000(r2) | ||
+ | 00143d00: 2610ffff addiu r16,r16,0xffff | ||
+ | 00143d04: 0601fffd bgez r16,0x00143cfc | ||
+ | 00143d08: 2442fffe addiu r2,r2,0xfffe | ||
+ | 00143d0c: 3c028017 lui r2,0x8017 | ||
+ | 00143d10: 8c423ca4 lw r2,0x3ca4(r2) | ||
+ | 00143d14: 00000000 nop | ||
+ | 00143d18: 005e1021 addu r2,r2,r30 | ||
+ | 00143d1c: 24510001 addiu r17,r2,0x0001 | ||
+ | 00143d20: 90520001 lbu r18,0x0001(r2) | ||
+ | 00143d24: 90550002 lbu r21,0x0002(r2) | ||
+ | 00143d28: 90560003 lbu r22,0x0003(r2) | ||
+ | 00143d2c: 90570004 lbu r23,0x0004(r2) | ||
+ | 00143d30: 90540000 lbu r20,0x0000(r2) | ||
+ | 00143d34: 0c05181e jal 0x00146078 [[Load Halfword]] | [[Load event command bytes]] | ||
+ | 00143d38: 02202021 addu r4,r17,r0 | ||
+ | 00143d3c: 00409821 addu r19,r2,r0 | ||
+ | 00143d40: 340200c0 ori r2,r0,0x00c0 | ||
+ | 00143d44: 12820877 beq r20,r2,0x00145f24 {C0} GOTO END | ||
+ | 00143d48: 340200f2 ori r2,r0,0x00f2 | ||
+ | 00143d4c: 12820875 beq r20,r2,0x00145f24 {F2} Pad | GOTO END | ||
+ | 00143d50: 2682ff60 addiu r2,r20,0xff60 | ||
+ | 00143d54: 2c420006 sltiu r2,r2,0x0006 | ||
+ | 00143d58: 10400005 beq r2,r0,0x00143d70 | ||
+ | 00143d5c: 2682ff50 addiu r2,r20,0xff50 | ||
+ | 00143d60: 0c0527c4 jal 0x00149f10 [[00149f10 - 0014a014]] {A0-A5} | ||
+ | 00143d64: 02802021 addu r4,r20,r0 | ||
+ | 00143d68: 080517c9 j 0x00145f24 GOTO END | ||
+ | 00143d6c: 00000000 nop | ||
+ | 00143d70: 2c42000f sltiu r2,r2,0x000f | ||
+ | 00143d74: 1040000e beq r2,r0,0x00143db0 | ||
+ | 00143d78: 3402004d ori r2,r0,0x004d | ||
+ | 00143d7c: 3c048017 lui r4,0x8017 {B0-BE} | ||
+ | 00143d80: 8c843ca4 lw r4,0x3ca4(r4) | ||
+ | 00143d84: 3272ffff andi r18,r19,0xffff | ||
+ | 00143d88: 03c42021 addu r4,r30,r4 | ||
+ | 00143d8c: 0c05181e jal 0x00146078 [[Load Halfword]] | [[Load event command bytes]] | ||
+ | 00143d90: 24840003 addiu r4,r4,0x0003 | ||
+ | 00143d94: 02802021 addu r4,r20,r0 | ||
+ | 00143d98: 02402821 addu r5,r18,r0 | ||
+ | 00143d9c: 3046ffff andi r6,r2,0xffff | ||
+ | 00143da0: 0c052806 jal 0x0014a018 [[Run Script Variable Command]] | ||
+ | 00143da4: 00003821 addu r7,r0,r0 | ||
+ | 00143da8: 080517c9 j 0x00145f24 GOTO END | ||
+ | 00143dac: 00000000 nop | ||
+ | 00143db0: 16820005 bne r20,r2,0x00143dc8 | ||
+ | 00143db4: 3402007a ori r2,r0,0x007a | ||
+ | 00143db8: 3c018017 lui r1,0x8017 {4D} | ||
+ | 00143dbc: a432d9bc sh r18,-0x2644(r1) | ||
+ | 00143dc0: 080512d0 j 0x00144b40 | ||
+ | 00143dc4: 00000000 nop | ||
+ | 00143dc8: 16820009 bne r20,r2,0x00143df0 | ||
+ | 00143dcc: 34020043 ori r2,r0,0x0043 | ||
+ | 00143dd0: 0c04ed64 jal 0x0013b590 [[Get Script Variable]] {7A} DismissUnit ? | ||
+ | 00143dd4: 340401fc ori r4,r0,0x01fc | ||
+ | 00143dd8: 14400852 bne r2,r0,0x00145f24 | ||
+ | 00143ddc: 00132400 sll r4,r19,0x10 | ||
+ | 00143de0: 0c04d02b jal 0x001340ac [[Dismiss Unit Event Instruction]] | ||
+ | 00143de4: 00042403 sra r4,r4,0x10 | ||
+ | 00143de8: 080517c9 j 0x00145f24 GOTO END | ||
+ | 00143dec: 00000000 nop | ||
+ | 00143df0: 16820127 bne r20,r2,0x00144290 | ||
+ | 00143df4: 34020099 ori r2,r0,0x0099 | ||
+ | 00143df8: 0c053216 jal 0x0014c858 [[Wait]] {43} CallFunction | ||
+ | 00143dfc: 34040004 ori r4,r0,0x0004 | ||
+ | 00143e00: 0c04ed64 jal 0x0013b590 [[Get Script Variable]] | ||
+ | 00143e04: 340401fc ori r4,r0,0x01fc | ||
+ | 00143e08: 1440004a bne r2,r0,0x00143f34 | ||
+ | 00143e0c: 34080001 ori r8,r0,0x0001 | ||
+ | 00143e10: 1648000b bne r18,r8,0x00143e40 | ||
+ | 00143e14: 34020006 ori r2,r0,0x0006 | ||
+ | 00143e18: 0c04ed64 jal 0x0013b590 [[Get Script Variable]] | ||
+ | 00143e1c: 34040027 ori r4,r0,0x0027 | ||
+ | 00143e20: 2842004e slti r2,r2,0x004e | ||
+ | 00143e24: 10400003 beq r2,r0,0x00143e34 | ||
+ | 00143e28: 00000000 nop | ||
+ | 00143e2c: 0c010a84 jal 0x00042a10 [[Starting Inventory]] | ||
+ | 00143e30: 00000000 nop | ||
+ | 00143e34: 0c04d060 jal 0x00134180 [[00134180 - 00134220]] | ||
+ | 00143e38: 00000000 nop | ||
+ | 00143e3c: 34020006 ori r2,r0,0x0006 | ||
+ | 00143e40: 1642003d bne r18,r2,0x00143f38 | ||
+ | 00143e44: 34020002 ori r2,r0,0x0002 | ||
+ | 00143e48: 34120002 ori r18,r0,0x0002 | ||
+ | 00143e4c: 34110003 ori r17,r0,0x0003 | ||
+ | 00143e50: 34100800 ori r16,r0,0x0800 | ||
+ | 00143e54: 02402021 addu r4,r18,r0 | ||
+ | 00143e58: 00002821 addu r5,r0,r0 | ||
+ | 00143e5c: 00003021 addu r6,r0,r0 | ||
+ | 00143e60: 0c05328e jal 0x0014ca38 [[Store Thread Function Parameters]] | ||
+ | 00143e64: 34070001 ori r7,r0,0x0001 | ||
+ | 00143e68: 3c018017 lui r1,0x8017 | ||
+ | 00143e6c: 00300821 addu r1,r1,r16 | ||
+ | 00143e70: ac3198b8 sw r17,-0x6748(r1) | ||
+ | 00143e74: 0c053274 jal 0x0014c9d0 [[Wait For Thread]] | ||
+ | 00143e78: 02402021 addu r4,r18,r0 | ||
+ | 00143e7c: 26520001 addiu r18,r18,0x0001 | ||
+ | 00143e80: 2a42000f slti r2,r18,0x000f | ||
+ | 00143e84: 1440fff3 bne r2,r0,0x00143e54 | ||
+ | 00143e88: 26100400 addiu r16,r16,0x0400 | ||
+ | 00143e8c: 0c04ed64 jal 0x0013b590 [[Get Script Variable]] | ||
+ | 00143e90: 34040027 ori r4,r0,0x0027 | ||
+ | 00143e94: 3403012c ori r3,r0,0x012c | ||
+ | 00143e98: 10430004 beq r2,r3,0x00143eac | ||
+ | 00143e9c: 00000000 nop | ||
+ | 00143ea0: 34040064 ori r4,r0,0x0064 | ||
+ | 00143ea4: 0c04ed91 jal 0x0013b644 [[Set Script Variable]] | ||
+ | 00143ea8: 34050001 ori r5,r0,0x0001 | ||
+ | 00143eac: 34040051 ori r4,r0,0x0051 | ||
+ | 00143eb0: 0c04ed91 jal 0x0013b644 [[Set Script Variable]] | ||
+ | 00143eb4: 34050001 ori r5,r0,0x0001 | ||
+ | 00143eb8: 0c04ef05 jal 0x0013bc14 [[Load File (0x13bc14)]] | ||
+ | 00143ebc: 3404000e ori r4,r0,0x000e | ||
+ | 00143ec0: 34020005 ori r2,r0,0x0005 | ||
+ | 00143ec4: 3c018016 lui r1,0x8016 | ||
+ | 00143ec8: ac22600c sw r2,0x600c(r1) | ||
+ | 00143ecc: 0c0532a0 jal 0x0014ca80 [[Switch To Next Thread]] | ||
+ | 00143ed0: 00000000 nop | ||
+ | 00143ed4: 3c028016 lui r2,0x8016 | ||
+ | 00143ed8: 8c42600c lw r2,0x600c(r2) | ||
+ | 00143edc: 00000000 nop | ||
+ | 00143ee0: 1440fffa bne r2,r0,0x00143ecc | ||
+ | 00143ee4: 34040064 ori r4,r0,0x0064 | ||
+ | 00143ee8: 0c04ed91 jal 0x0013b644 [[Set Script Variable]] | ||
+ | 00143eec: 00002821 addu r5,r0,r0 | ||
+ | 00143ef0: 34120002 ori r18,r0,0x0002 | ||
+ | 00143ef4: 34110003 ori r17,r0,0x0003 | ||
+ | 00143ef8: 34100800 ori r16,r0,0x0800 | ||
+ | 00143efc: 02402021 addu r4,r18,r0 | ||
+ | 00143f00: 00002821 addu r5,r0,r0 | ||
+ | 00143f04: 00003021 addu r6,r0,r0 | ||
+ | 00143f08: 0c05328e jal 0x0014ca38 [[Store Thread Function Parameters]] | ||
+ | 00143f0c: 34070001 ori r7,r0,0x0001 | ||
+ | 00143f10: 3c018017 lui r1,0x8017 | ||
+ | 00143f14: 00300821 addu r1,r1,r16 | ||
+ | 00143f18: ac3198b8 sw r17,-0x6748(r1) | ||
+ | 00143f1c: 0c053274 jal 0x0014c9d0 [[Wait For Thread]] | ||
+ | 00143f20: 02402021 addu r4,r18,r0 | ||
+ | 00143f24: 26520001 addiu r18,r18,0x0001 | ||
+ | 00143f28: 2a42000f slti r2,r18,0x000f | ||
+ | 00143f2c: 1440fff3 bne r2,r0,0x00143efc | ||
+ | 00143f30: 26100400 addiu r16,r16,0x0400 | ||
+ | 00143f34: 34020002 ori r2,r0,0x0002 | ||
+ | 00143f38: 12420003 beq r18,r2,0x00143f48 | ||
+ | 00143f3c: 34020007 ori r2,r0,0x0007 | ||
+ | 00143f40: 16420004 bne r18,r2,0x00143f54 | ||
+ | 00143f44: 34020003 ori r2,r0,0x0003 | ||
+ | 00143f48: 0c04d089 jal 0x00134224 [[00134224 - 00134244]] | ||
+ | 00143f4c: 00000000 nop | ||
+ | 00143f50: 34020003 ori r2,r0,0x0003 | ||
+ | 00143f54: 16420004 bne r18,r2,0x00143f68 | ||
+ | 00143f58: 34020004 ori r2,r0,0x0004 | ||
+ | 00143f5c: 0c04d092 jal 0x00134248 [[00134248 - 001342c8]] | ||
+ | 00143f60: 00000000 nop | ||
+ | 00143f64: 34020004 ori r2,r0,0x0004 | ||
+ | 00143f68: 16420006 bne r18,r2,0x00143f84 | ||
+ | 00143f6c: 34020005 ori r2,r0,0x0005 | ||
+ | 00143f70: 0c051f3c jal 0x00147cf0 [[00147cf0 - 00147d94]] | ||
+ | 00143f74: 00000000 nop | ||
+ | 00143f78: 0c053216 jal 0x0014c858 [[Wait]] | ||
+ | 00143f7c: 34040078 ori r4,r0,0x0078 | ||
+ | 00143f80: 34020005 ori r2,r0,0x0005 | ||
+ | 00143f84: 16420004 bne r18,r2,0x00143f98 | ||
+ | 00143f88: 34020008 ori r2,r0,0x0008 | ||
+ | 00143f8c: 34080001 ori r8,r0,0x0001 | ||
+ | 00143f90: 3c018017 lui r1,0x8017 | ||
+ | 00143f94: ac2896f8 sw r8,-0x6908(r1) | ||
+ | 00143f98: 16420005 bne r18,r2,0x00143fb0 | ||
+ | 00143f9c: 34020009 ori r2,r0,0x0009 | ||
+ | 00143fa0: 3c018004 lui r1,0x8004 | ||
+ | 00143fa4: ac2059cc sw r0,0x59cc(r1) | ||
+ | 00143fa8: 3c018004 lui r1,0x8004 | ||
+ | 00143fac: ac2059d8 sw r0,0x59d8(r1) | ||
+ | 00143fb0: 16420005 bne r18,r2,0x00143fc8 | ||
+ | 00143fb4: 3402000a ori r2,r0,0x000a | ||
+ | 00143fb8: 34040053 ori r4,r0,0x0053 | ||
+ | 00143fbc: 0c04ed91 jal 0x0013b644 [[Set Script Variable]] | ||
+ | 00143fc0: 34050001 ori r5,r0,0x0001 | ||
+ | 00143fc4: 3402000a ori r2,r0,0x000a | ||
+ | 00143fc8: 16420005 bne r18,r2,0x00143fe0 | ||
+ | 00143fcc: 3402000b ori r2,r0,0x000b | ||
+ | 00143fd0: 34040053 ori r4,r0,0x0053 | ||
+ | 00143fd4: 0c04ed91 jal 0x0013b644 [[Set Script Variable]] | ||
+ | 00143fd8: 00002821 addu r5,r0,r0 | ||
+ | 00143fdc: 3402000b ori r2,r0,0x000b | ||
+ | 00143fe0: 1642000f bne r18,r2,0x00144020 | ||
+ | 00143fe4: 3402000c ori r2,r0,0x000c | ||
+ | 00143fe8: 0c050cfa jal 0x001433e8 [[001433e8 - 00143414]] | ||
+ | 00143fec: 00000000 nop | ||
+ | 00143ff0: 3c028016 lui r2,0x8016 | ||
+ | 00143ff4: 8442605c lh r2,0x605c(r2) | ||
+ | 00143ff8: 00000000 nop | ||
+ | 00143ffc: 10400008 beq r2,r0,0x00144020 | ||
+ | 00144000: 3402000c ori r2,r0,0x000c | ||
+ | 00144004: 0c0532a0 jal 0x0014ca80 [[Switch To Next Thread]] | ||
+ | 00144008: 00000000 nop | ||
+ | 0014400c: 3c028016 lui r2,0x8016 | ||
+ | 00144010: 8442605c lh r2,0x605c(r2) | ||
+ | 00144014: 00000000 nop | ||
+ | 00144018: 1440fffa bne r2,r0,0x00144004 | ||
+ | 0014401c: 3402000c ori r2,r0,0x000c | ||
+ | 00144020: 1642000c bne r18,r2,0x00144054 | ||
+ | 00144024: 3402000d ori r2,r0,0x000d | ||
+ | 00144028: 34040013 ori r4,r0,0x0013 | ||
+ | 0014402c: 34020013 ori r2,r0,0x0013 | ||
+ | 00144030: 3c018016 lui r1,0x8016 | ||
+ | 00144034: a4205fd8 sh r0,0x5fd8(r1) | ||
+ | 00144038: 3c018016 lui r1,0x8016 | ||
+ | 0014403c: a4225fd4 sh r2,0x5fd4(r1) | ||
+ | 00144040: 3c018016 lui r1,0x8016 | ||
+ | 00144044: a4205fd6 sh r0,0x5fd6(r1) | ||
+ | 00144048: 0c04f49e jal 0x0013d278 [[0013d278 - 0013d31c]] | ||
+ | 0014404c: 00002821 addu r5,r0,r0 | ||
+ | 00144050: 3402000d ori r2,r0,0x000d | ||
+ | 00144054: 16420023 bne r18,r2,0x001440e4 | ||
+ | 00144058: 3402000e ori r2,r0,0x000e | ||
+ | 0014405c: 0c0602bf jal 0x00180afc [[Get Unit's Data Pointer]] | ||
+ | 00144060: 34040007 ori r4,r0,0x0007 | ||
+ | 00144064: 00408821 addu r17,r2,r0 | ||
+ | 00144068: 0c0602bf jal 0x00180afc [[Get Unit's Data Pointer]] | ||
+ | 0014406c: 34040008 ori r4,r0,0x0008 | ||
+ | 00144070: 00403021 addu r6,r2,r0 | ||
+ | 00144074: 92220047 lbu r2,0x0047(r17) | ||
+ | 00144078: 34040008 ori r4,r0,0x0008 | ||
+ | 0014407c: a0c20047 sb r2,0x0047(r6) | ||
+ | 00144080: 92220048 lbu r2,0x0048(r17) | ||
+ | 00144084: 34050001 ori r5,r0,0x0001 | ||
+ | 00144088: a0c20048 sb r2,0x0048(r6) | ||
+ | 0014408c: 96230048 lhu r3,0x0048(r17) | ||
+ | 00144090: 94c20048 lhu r2,0x0048(r6) | ||
+ | 00144094: 30638000 andi r3,r3,0x8000 | ||
+ | 00144098: 30427fff andi r2,r2,0x7fff | ||
+ | 0014409c: 00431025 or r2,r2,r3 | ||
+ | 001440a0: 0c023417 jal 0x0008d05c [[0008d05c - 0008d100]] | ||
+ | 001440a4: a4c20048 sh r2,0x0048(r6) | ||
+ | 001440a8: 34080001 ori r8,r0,0x0001 | ||
+ | 001440ac: 3c018016 lui r1,0x8016 | ||
+ | 001440b0: a428604e sh r8,0x604e(r1) | ||
+ | 001440b4: 0c0532a0 jal 0x0014ca80 [[Switch To Next Thread]] | ||
+ | 001440b8: 00000000 nop | ||
+ | 001440bc: 3c028016 lui r2,0x8016 | ||
+ | 001440c0: 9442604e lhu r2,0x604e(r2) | ||
+ | 001440c4: 00000000 nop | ||
+ | 001440c8: 1440fffa bne r2,r0,0x001440b4 | ||
+ | 001440cc: 00000000 nop | ||
+ | 001440d0: 0c0532a0 jal 0x0014ca80 [[Switch To Next Thread]] | ||
+ | 001440d4: 00000000 nop | ||
+ | 001440d8: 0c0532a0 jal 0x0014ca80 [[Switch To Next Thread]] | ||
+ | 001440dc: 00000000 nop | ||
+ | 001440e0: 3402000e ori r2,r0,0x000e | ||
+ | 001440e4: 1642002d bne r18,r2,0x0014419c | ||
+ | 001440e8: 34020011 ori r2,r0,0x0011 | ||
+ | 001440ec: 00008021 addu r16,r0,r0 | ||
+ | 001440f0: 0c0232ed jal 0x0008cbb4 [[Does Misc Unit Exist With ID]] | ||
+ | 001440f4: 02002021 addu r4,r16,r0 | ||
+ | 001440f8: 10400024 beq r2,r0,0x0014418c | ||
+ | 001440fc: 00000000 nop | ||
+ | 00144100: 0c023374 jal 0x0008cdd0 [[Get Battle Unit Index By Unit Misc ID]] | ||
+ | 00144104: 02002021 addu r4,r16,r0 | ||
+ | 00144108: 00409021 addu r18,r2,r0 | ||
+ | 0014410c: 2402ffff addiu r2,r0,0xffff | ||
+ | 00144110: 1242001e beq r18,r2,0x0014418c | ||
+ | 00144114: 00000000 nop | ||
+ | 00144118: 0c0602bf jal 0x00180afc [[Get Unit's Data Pointer]] | ||
+ | 0014411c: 02402021 addu r4,r18,r0 | ||
+ | 00144120: 00408821 addu r17,r2,r0 | ||
+ | 00144124: 92220047 lbu r2,0x0047(r17) | ||
+ | 00144128: 00000000 nop | ||
+ | 0014412c: 2c420004 sltiu r2,r2,0x0004 | ||
+ | 00144130: 10400008 beq r2,r0,0x00144154 | ||
+ | 00144134: 00000000 nop | ||
+ | 00144138: 92220048 lbu r2,0x0048(r17) | ||
+ | 0014413c: 00000000 nop | ||
+ | 00144140: 2c42000b sltiu r2,r2,0x000b | ||
+ | 00144144: 10400003 beq r2,r0,0x00144154 | ||
+ | 00144148: 00000000 nop | ||
+ | 0014414c: 0c023463 jal 0x0008d18c [[Reset Misc Unit Graphic Trigger]] | ||
+ | 00144150: 02002021 addu r4,r16,r0 | ||
+ | 00144154: 92220047 lbu r2,0x0047(r17) | ||
+ | 00144158: 00000000 nop | ||
+ | 0014415c: 2442fffc addiu r2,r2,0xfffc | ||
+ | 00144160: 2c420003 sltiu r2,r2,0x0003 | ||
+ | 00144164: 10400009 beq r2,r0,0x0014418c | ||
+ | 00144168: 00000000 nop | ||
+ | 0014416c: 92220048 lbu r2,0x0048(r17) | ||
+ | 00144170: 00000000 nop | ||
+ | 00144174: 2442fffe addiu r2,r2,0xfffe | ||
+ | 00144178: 2c420006 sltiu r2,r2,0x0006 | ||
+ | 0014417c: 10400003 beq r2,r0,0x0014418c | ||
+ | 00144180: 00000000 nop | ||
+ | 00144184: 0c023463 jal 0x0008d18c [[Reset Misc Unit Graphic Trigger]] | ||
+ | 00144188: 02002021 addu r4,r16,r0 | ||
+ | 0014418c: 26100001 addiu r16,r16,0x0001 | ||
+ | 00144190: 2a020015 slti r2,r16,0x0015 | ||
+ | 00144194: 1440ffd6 bne r2,r0,0x001440f0 | ||
+ | 00144198: 34020011 ori r2,r0,0x0011 | ||
+ | 0014419c: 16420028 bne r18,r2,0x00144240 | ||
+ | 001441a0: 2642fff1 addiu r2,r18,0xfff1 | ||
+ | 001441a4: 0c0602bf jal 0x00180afc [[Get Unit's Data Pointer]] | ||
+ | 001441a8: 34040001 ori r4,r0,0x0001 | ||
+ | 001441ac: 00408821 addu r17,r2,r0 | ||
+ | 001441b0: 0c0602bf jal 0x00180afc [[Get Unit's Data Pointer]] | ||
+ | 001441b4: 34040007 ori r4,r0,0x0007 | ||
+ | 001441b8: 00403021 addu r6,r2,r0 | ||
+ | 001441bc: 92230047 lbu r3,0x0047(r17) | ||
+ | 001441c0: 34040007 ori r4,r0,0x0007 | ||
+ | 001441c4: a0c30047 sb r3,0x0047(r6) | ||
+ | 001441c8: 92220048 lbu r2,0x0048(r17) | ||
+ | 001441cc: 34050001 ori r5,r0,0x0001 | ||
+ | 001441d0: a0c20048 sb r2,0x0048(r6) | ||
+ | 001441d4: 96230048 lhu r3,0x0048(r17) | ||
+ | 001441d8: 94c20048 lhu r2,0x0048(r6) | ||
+ | 001441dc: 30638000 andi r3,r3,0x8000 | ||
+ | 001441e0: 30427fff andi r2,r2,0x7fff | ||
+ | 001441e4: 00431025 or r2,r2,r3 | ||
+ | 001441e8: a4c20048 sh r2,0x0048(r6) | ||
+ | 001441ec: 96230048 lhu r3,0x0048(r17) | ||
+ | 001441f0: 3042f0ff andi r2,r2,0xf0ff | ||
+ | 001441f4: 30630f00 andi r3,r3,0x0f00 | ||
+ | 001441f8: 00431025 or r2,r2,r3 | ||
+ | 001441fc: 0c023417 jal 0x0008d05c [[0008d05c - 0008d100]] | ||
+ | 00144200: a4c20048 sh r2,0x0048(r6) | ||
+ | 00144204: 34080001 ori r8,r0,0x0001 | ||
+ | 00144208: 3c018016 lui r1,0x8016 | ||
+ | 0014420c: a428604e sh r8,0x604e(r1) | ||
+ | 00144210: 0c0532a0 jal 0x0014ca80 [[Switch To Next Thread]] | ||
+ | 00144214: 00000000 nop | ||
+ | 00144218: 3c028016 lui r2,0x8016 | ||
+ | 0014421c: 9442604e lhu r2,0x604e(r2) | ||
+ | 00144220: 00000000 nop | ||
+ | 00144224: 1440fffa bne r2,r0,0x00144210 | ||
+ | 00144228: 00000000 nop | ||
+ | 0014422c: 0c0532a0 jal 0x0014ca80 [[Switch To Next Thread]] | ||
+ | 00144230: 00000000 nop | ||
+ | 00144234: 0c0532a0 jal 0x0014ca80 [[Switch To Next Thread]] | ||
+ | 00144238: 00000000 nop | ||
+ | 0014423c: 2642fff1 addiu r2,r18,0xfff1 | ||
+ | 00144240: 2c420002 sltiu r2,r2,0x0002 | ||
+ | 00144244: 10400004 beq r2,r0,0x00144258 | ||
+ | 00144248: 34020012 ori r2,r0,0x0012 | ||
+ | 0014424c: 0c04d0b3 jal 0x001342cc [[001342cc - 001343b8]] | ||
+ | 00144250: 02402021 addu r4,r18,r0 | ||
+ | 00144254: 34020012 ori r2,r0,0x0012 | ||
+ | 00144258: 16420732 bne r18,r2,0x00145f24 | ||
+ | 0014425c: 00000000 nop | ||
+ | 00144260: 0c04cc56 jal 0x00133158 [[Get misc ID]]] | ||
+ | 00144264: 3404003e ori r4,r0,0x003e | ||
+ | 00144268: 00021400 sll r2,r2,0x10 | ||
+ | 0014426c: 00028403 sra r16,r2,0x10 | ||
+ | 00144270: 340807d0 ori r8,r0,0x07d0 | ||
+ | 00144274: 1208072b beq r16,r8,0x00145f24 | ||
+ | 00144278: 00000000 nop | ||
+ | 0014427c: 0c023374 jal 0x0008cdd0 [[Get Battle Unit Index By Unit Misc ID]] | ||
+ | 00144280: 02002021 addu r4,r16,r0 | ||
+ | 00144284: 00402021 addu r4,r2,r0 | ||
+ | 00144288: 08051589 j 0x00145624 | ||
+ | 0014428c: 00002821 addu r5,r0,r0 | ||
+ | 00144290: 16820006 bne r20,r2,0x001442ac | ||
+ | 00144294: 340200db ori r2,r0,0x00db | ||
+ | 00144298: 00132400 sll r4,r19,0x10 {99} BlueRemoveUnit | ||
+ | 0014429c: 0c051f66 jal 0x00147d98 [[00147d98 - 00147e5c]] | ||
+ | 001442a0: 00042403 sra r4,r4,0x10 | ||
+ | 001442a4: 080517c9 j 0x00145f24 GOTO END | ||
+ | 001442a8: 00000000 nop | ||
+ | 001442ac: 12820003 beq r20,r2,0x001442bc {DB} EventEnd | ||
+ | 001442b0: 340200e3 ori r2,r0,0x00e3 | ||
+ | 001442b4: 16820077 bne r20,r2,0x00144494 | ||
+ | 001442b8: 340200da ori r2,r0,0x00da | ||
+ | 001442bc: 0c051829 jal 0x001460a4 [[001460a4 - 001460e0]] {E3} EventEnd 2 | ||
+ | 001442c0: 00000000 nop | ||
+ | 001442c4: 0c0532a0 jal 0x0014ca80 [[Switch To Next Thread]] | ||
+ | 001442c8: 00000000 nop | ||
+ | 001442cc: 0c05272f jal 0x00149cbc [[Get Thread Running Task]] | ||
+ | 001442d0: 34040008 ori r4,r0,0x0008 | ||
+ | 001442d4: 1440fffb bne r2,r0,0x001442c4 | ||
+ | 001442d8: 00000000 nop | ||
+ | 001442dc: 0c0532a0 jal 0x0014ca80 [[Switch To Next Thread]] | ||
+ | 001442e0: 00000000 nop | ||
+ | 001442e4: 0c0111b2 jal 0x000446c8 [[Check File Still Loading]] | ||
+ | 001442e8: 00000000 nop | ||
+ | 001442ec: 1440fffb bne r2,r0,0x001442dc | ||
+ | 001442f0: 00000000 nop | ||
+ | 001442f4: 0c0532a0 jal 0x0014ca80 [[Switch To Next Thread]] | ||
+ | 001442f8: 00000000 nop | ||
+ | 001442fc: 0c04b721 jal 0x0012dc84 [[0012dc84 - 0012dca8]] | ||
+ | 00144300: 00000000 nop | ||
+ | 00144304: 1040000c beq r2,r0,0x00144338 | ||
+ | 00144308: 00000000 nop | ||
+ | 0014430c: 0c04b70c jal 0x0012dc30 [[0012dc30 - 0012dc80]] | ||
+ | 00144310: 00000000 nop | ||
+ | 00144314: 340401fc ori r4,r0,0x01fc | ||
+ | 00144318: 3c028017 lui r2,0x8017 | ||
+ | 0014431c: 8c42d99c lw r2,-0x2664(r2) | ||
+ | 00144320: 3c018004 lui r1,0x8004 | ||
+ | 00144324: ac2273ac sw r2,0x73ac(r1) | ||
+ | 00144328: 0c04ed91 jal 0x0013b644 [[Set Script Variable]] | ||
+ | 0014432c: 00002821 addu r5,r0,r0 | ||
+ | 00144330: 0c0230e8 jal 0x0008c3a0 [[0008c3a0 - 0008c3e0]] | ||
+ | 00144334: 34040020 ori r4,r0,0x0020 | ||
+ | 00144338: 3c028016 lui r2,0x8016 | ||
+ | 0014433c: 94425ff6 lhu r2,0x5ff6(r2) | ||
+ | 00144340: 00000000 nop | ||
+ | 00144344: 14400008 bne r2,r0,0x00144368 | ||
+ | 00144348: 00000000 nop | ||
+ | 0014434c: 34100002 ori r16,r0,0x0002 | ||
+ | 00144350: 0c053274 jal 0x0014c9d0 [[Wait For Thread]] | ||
+ | 00144354: 02002021 addu r4,r16,r0 | ||
+ | 00144358: 26100001 addiu r16,r16,0x0001 | ||
+ | 0014435c: 2a02000e slti r2,r16,0x000e | ||
+ | 00144360: 1440fffb bne r2,r0,0x00144350 | ||
+ | 00144364: 00000000 nop | ||
+ | 00144368: 0c04ed64 jal 0x0013b590 [[Get Script Variable]] | ||
+ | 0014436c: 34040027 ori r4,r0,0x0027 | ||
+ | 00144370: 00409021 addu r18,r2,r0 | ||
+ | 00144374: 340201ad ori r2,r0,0x01ad | ||
+ | 00144378: 12420006 beq r18,r2,0x00144394 | ||
+ | 0014437c: 00000000 nop | ||
+ | 00144380: 340201d1 ori r2,r0,0x01d1 | ||
+ | 00144384: 12420004 beq r18,r2,0x00144398 | ||
+ | 00144388: 340401fd ori r4,r0,0x01fd | ||
+ | 0014438c: 0c023654 jal 0x0008d950 [[0008d950 - 0008d994]] | ||
+ | 00144390: 00000000 nop | ||
+ | 00144394: 340401fd ori r4,r0,0x01fd | ||
+ | 00144398: 0c04ed91 jal 0x0013b644 [[Set Script Variable]] | ||
+ | 0014439c: 00002821 addu r5,r0,r0 | ||
+ | 001443a0: 00121040 sll r2,r18,0x01 | ||
+ | 001443a4: 3c018005 lui r1,0x8005 | ||
+ | 001443a8: 00220821 addu r1,r1,r2 | ||
+ | 001443ac: 9422e5d0 lhu r2,-0x1a30(r1) | ||
+ | 001443b0: 3c038016 lui r3,0x8016 | ||
+ | 001443b4: 94635ff6 lhu r3,0x5ff6(r3) | ||
+ | 001443b8: 3042f300 andi r2,r2,0xf300 | ||
+ | 001443bc: 14600010 bne r3,r0,0x00144400 | ||
+ | 001443c0: 00021203 sra r2,r2,0x08 | ||
+ | 001443c4: 1440000e bne r2,r0,0x00144400 | ||
+ | 001443c8: 2642fe70 addiu r2,r18,0xfe70 | ||
+ | 001443cc: 2c42001a sltiu r2,r2,0x001a | ||
+ | 001443d0: 1440000b bne r2,r0,0x00144400 | ||
+ | 001443d4: 00000000 nop | ||
+ | 001443d8: 12400009 beq r18,r0,0x00144400 | ||
+ | 001443dc: 340200ff ori r2,r0,0x00ff | ||
+ | 001443e0: 3c018015 lui r1,0x8015 | ||
+ | 001443e4: ac22d304 sw r2,-0x2cfc(r1) | ||
+ | 001443e8: 0c05096c jal 0x001425b0 [[Process Scenario Conditionals]] | ||
+ | 001443ec: 00000000 nop | ||
+ | 001443f0: 0c0517de jal 0x00145f78 [[Load Next Event]] | ||
+ | 001443f4: 00000000 nop | ||
+ | 001443f8: 1440fe38 bne r2,r0,0x00143cdc | ||
+ | 001443fc: 00000000 nop | ||
+ | 00144400: 0c023079 jal 0x0008c1e4 [[0008c1e4 - 0008c264]] | ||
+ | 00144404: 00008021 addu r16,r0,r0 | ||
+ | 00144408: 00002021 addu r4,r0,r0 | ||
+ | 0014440c: 0c052336 jal 0x00148cd8 [[Process Unit Staged Status Data]] | ||
+ | 00144410: 34050001 ori r5,r0,0x0001 | ||
+ | 00144414: 0c0232ed jal 0x0008cbb4 [[Does Misc Unit Exist With ID]] | ||
+ | 00144418: 02002021 addu r4,r16,r0 | ||
+ | 0014441c: 10400011 beq r2,r0,0x00144464 | ||
+ | 00144420: 00000000 nop | ||
+ | 00144424: 0c023374 jal 0x0008cdd0 [[Get Battle Unit Index By Unit Misc ID]] | ||
+ | 00144428: 02002021 addu r4,r16,r0 | ||
+ | 0014442c: 00409021 addu r18,r2,r0 | ||
+ | 00144430: 0640000c bltz r18,0x00144464 | ||
+ | 00144434: 00000000 nop | ||
+ | 00144438: 0c0602bf jal 0x00180afc [[Get Unit's Data Pointer]] | ||
+ | 0014443c: 02402021 addu r4,r18,r0 | ||
+ | 00144440: 00408821 addu r17,r2,r0 | ||
+ | 00144444: 0c022fc7 jal 0x0008bf1c [[0x8bf1c]] | ||
+ | 00144448: 02002021 addu r4,r16,r0 | ||
+ | 0014444c: 3042000f andi r2,r2,0x000f | ||
+ | 00144450: 96230048 lhu r3,0x0048(r17) | ||
+ | 00144454: 00021200 sll r2,r2,0x08 | ||
+ | 00144458: 3063f0ff andi r3,r3,0xf0ff | ||
+ | 0014445c: 00621825 or r3,r3,r2 | ||
+ | 00144460: a6230048 sh r3,0x0048(r17) | ||
+ | 00144464: 26100001 addiu r16,r16,0x0001 | ||
+ | 00144468: 2a020015 slti r2,r16,0x0015 | ||
+ | 0014446c: 1440ffe9 bne r2,r0,0x00144414 | ||
+ | 00144470: 00000000 nop | ||
+ | 00144474: 0c04b771 jal 0x0012ddc4 [[0012ddc4 - 0012dde4]] | ||
+ | 00144478: 00000000 nop | ||
+ | 0014447c: 0c04b77a jal 0x0012dde8 [[Battle Camera Initialize]] | ||
+ | 00144480: 00000000 nop | ||
+ | 00144484: 0c053256 jal 0x0014c958 [[Stop Current Thread]] | ||
+ | 00144488: 00000000 nop | ||
+ | 0014448c: 080517c9 j 0x00145f24 GOTO END | ||
+ | 00144490: 00000000 nop | ||
+ | 00144494: 128206a3 beq r20,r2,0x00145f24 {DA} | GOTO END | ||
+ | 00144498: 340200d0 ori r2,r0,0x00d0 | ||
+ | 0014449c: 1682000b bne r20,r2,0x001444cc | ||
+ | 001444a0: 340200d1 ori r2,r0,0x00d1 | ||
+ | 001444a4: 3c028016 lui r2,0x8016 {D0} JumpForwardIfZero | (B) Block Start | ||
+ | 001444a8: 8c425f9c lw r2,0x5f9c(r2) | ||
+ | 001444ac: 00000000 nop | ||
+ | 001444b0: 8c420000 lw r2,0x0000(r2) | ||
+ | 001444b4: 00000000 nop | ||
+ | 001444b8: 1440069a bne r2,r0,0x00145f24 | ||
+ | 001444bc: 27c40002 addiu r4,r30,0x0002 | ||
+ | 001444c0: 340500d2 ori r5,r0,0x00d2 Block End = D2 | ||
+ | 001444c4: 08051141 j 0x00144504 | ||
+ | 001444c8: 340600d4 ori r6,r0,0x00d4 | ||
+ | 001444cc: 16820004 bne r20,r2,0x001444e0 | ||
+ | 001444d0: 340200d2 ori r2,r0,0x00d2 | ||
+ | 001444d4: 27c40002 addiu r4,r30,0x0002 {D1} JumpForward | ||
+ | 001444d8: 08051140 j 0x00144500 GOTO (AAA) | ||
+ | 001444dc: 340500d2 ori r5,r0,0x00d2 | ||
+ | 001444e0: 12820690 beq r20,r2,0x00145f24 {D2} ForwardTarget | GOTO END | ||
+ | 001444e4: 340200d4 ori r2,r0,0x00d4 | ||
+ | 001444e8: 12820694 beq r20,r2,0x00145f3c {D4} | ||
+ | 001444ec: 340200d3 ori r2,r0,0x00d3 | ||
+ | 001444f0: 16820008 bne r20,r2,0x00144514 | ||
+ | 001444f4: 340200d5 ori r2,r0,0x00d5 | ||
+ | 001444f8: 03c02021 addu r4,r30,r0 {D3} JumpBack (C) Block Start | ||
+ | 001444fc: 340500d5 ori r5,r0,0x00d5 Block End = D5 | ||
+ | 00144500: 2406ffff addiu r6,r0,0xffff (AAA) | ||
+ | 00144504: 0c05275b jal 0x00149d6c [[Event Jump]] | ||
+ | 00144508: 02403821 addu r7,r18,r0 | ||
+ | 0014450c: 08050f43 j 0x00143d0c | ||
+ | 00144510: 0040f021 addu r30,r2,r0 | ||
+ | 00144514: 12820683 beq r20,r2,0x00145f24 {D5} BackTarget | GOTO END | ||
+ | 00144518: 340200d8 ori r2,r0,0x00d8 | ||
+ | 0014451c: 12820681 beq r20,r2,0x00145f24 {D8} GOTO END | ||
+ | 00144520: 340200d9 ori r2,r0,0x00d9 | ||
+ | 00144524: 1282067f beq r20,r2,0x00145f24 {D9} GOTO END | ||
+ | 00144528: 340200dc ori r2,r0,0x00dc | ||
+ | 0014452c: 16820006 bne r20,r2,0x00144548 | ||
+ | 00144530: 34020010 ori r2,r0,0x0010 | ||
+ | 00144534: 3402000d ori r2,r0,0x000d {DC} | ||
+ | 00144538: 3c018016 lui r1,0x8016 | ||
+ | 0014453c: a4225fb0 sh r2,0x5fb0(r1) | ||
+ | 00144540: 080517c9 j 0x00145f24 GOTO END | ||
+ | 00144544: 00000000 nop | ||
+ | 00144548: 1682004c bne r20,r2,0x0014467c | ||
+ | 0014454c: 34020051 ori r2,r0,0x0051 | ||
+ | 00144550: 0c0526fb jal 0x00149bec [[Get Next Available Thread ID]] {10} DisplayMessage | ||
+ | 00144554: 02402021 addu r4,r18,r0 | ||
+ | 00144558: 00409021 addu r18,r2,r0 | ||
+ | 0014455c: 3c058013 lui r5,0x8013 | ||
+ | 00144560: 24a508c0 addiu r5,r5,0x08c0 | ||
+ | 00144564: 0c053228 jal 0x0014c8a0 [[Initialize Thread]] | ||
+ | 00144568: 02402021 addu r4,r18,r0 | ||
+ | 0014456c: 03c02021 addu r4,r30,r0 | ||
+ | 00144570: 02a02821 addu r5,r21,r0 | ||
+ | 00144574: 00128280 sll r16,r18,0x0a | ||
+ | 00144578: 3c068017 lui r6,0x8017 | ||
+ | 0014457c: 24c698d4 addiu r6,r6,0x98d4 | ||
+ | 00144580: 0c04bd38 jal 0x0012f4e0 [[0012f4e0 - 0012f658]] | ||
+ | 00144584: 02063021 addu r6,r16,r6 | ||
+ | 00144588: 00171200 sll r2,r23,0x08 | ||
+ | 0014458c: 00561021 addu r2,r2,r22 | ||
+ | 00144590: 3c048017 lui r4,0x8017 | ||
+ | 00144594: 8c843ca4 lw r4,0x3ca4(r4) | ||
+ | 00144598: 2442ffff addiu r2,r2,0xffff | ||
+ | 0014459c: 3c018017 lui r1,0x8017 | ||
+ | 001445a0: 00300821 addu r1,r1,r16 | ||
+ | 001445a4: ac35986c sw r21,-0x6794(r1) | ||
+ | 001445a8: 3c018017 lui r1,0x8017 | ||
+ | 001445ac: 00300821 addu r1,r1,r16 | ||
+ | 001445b0: ac229870 sw r2,-0x6790(r1) | ||
+ | 001445b4: 009e2021 addu r4,r4,r30 | ||
+ | 001445b8: 90970006 lbu r23,0x0006(r4) | ||
+ | 001445bc: 90960005 lbu r22,0x0005(r4) | ||
+ | 001445c0: 00171200 sll r2,r23,0x08 | ||
+ | 001445c4: 00561021 addu r2,r2,r22 | ||
+ | 001445c8: 3c018017 lui r1,0x8017 | ||
+ | 001445cc: 00300821 addu r1,r1,r16 | ||
+ | 001445d0: ac229874 sw r2,-0x678c(r1) | ||
+ | 001445d4: 90820007 lbu r2,0x0007(r4) | ||
+ | 001445d8: 3c018017 lui r1,0x8017 | ||
+ | 001445dc: 00300821 addu r1,r1,r16 | ||
+ | 001445e0: ac229878 sw r2,-0x6788(r1) | ||
+ | 001445e4: 0c05181e jal 0x00146078 [[Load Halfword]] | [[Load event command bytes]] | ||
+ | 001445e8: 24840008 addiu r4,r4,0x0008 | ||
+ | 001445ec: 00021400 sll r2,r2,0x10 | ||
+ | 001445f0: 3c048017 lui r4,0x8017 | ||
+ | 001445f4: 8c843ca4 lw r4,0x3ca4(r4) | ||
+ | 001445f8: 00021403 sra r2,r2,0x10 | ||
+ | 001445fc: 3c018017 lui r1,0x8017 | ||
+ | 00144600: 00300821 addu r1,r1,r16 | ||
+ | 00144604: ac2298c4 sw r2,-0x673c(r1) | ||
+ | 00144608: 03c42021 addu r4,r30,r4 | ||
+ | 0014460c: 0c05181e jal 0x00146078 [[Load Halfword]] | [[Load event command bytes]] | ||
+ | 00144610: 2484000a addiu r4,r4,0x000a | ||
+ | 00144614: 00021400 sll r2,r2,0x10 | ||
+ | 00144618: 3c048017 lui r4,0x8017 | ||
+ | 0014461c: 8c843ca4 lw r4,0x3ca4(r4) | ||
+ | 00144620: 00021403 sra r2,r2,0x10 | ||
+ | 00144624: 3c018017 lui r1,0x8017 | ||
+ | 00144628: 00300821 addu r1,r1,r16 | ||
+ | 0014462c: ac2298c8 sw r2,-0x6738(r1) | ||
+ | 00144630: 03c42021 addu r4,r30,r4 | ||
+ | 00144634: 0c05181e jal 0x00146078 [[Load Halfword]] | [[Load event command bytes]] | ||
+ | 00144638: 2484000c addiu r4,r4,0x000c | ||
+ | 0014463c: 00021400 sll r2,r2,0x10 | ||
+ | 00144640: 3c038017 lui r3,0x8017 | ||
+ | 00144644: 8c633ca4 lw r3,0x3ca4(r3) | ||
+ | 00144648: 00021403 sra r2,r2,0x10 | ||
+ | 0014464c: 3c018017 lui r1,0x8017 | ||
+ | 00144650: 00300821 addu r1,r1,r16 | ||
+ | 00144654: ac2298cc sw r2,-0x6734(r1) | ||
+ | 00144658: 007e1821 addu r3,r3,r30 | ||
+ | 0014465c: 9062000e lbu r2,0x000e(r3) | ||
+ | 00144660: 3c018017 lui r1,0x8017 | ||
+ | 00144664: 00300821 addu r1,r1,r16 | ||
+ | 00144668: ac2298d0 sw r2,-0x6730(r1) | ||
+ | 0014466c: 0c0532a0 jal 0x0014ca80 [[Switch To Next Thread]] | ||
+ | 00144670: 00000000 nop | ||
+ | 00144674: 080517c9 j 0x00145f24 GOTO END | ||
+ | 00144678: 00000000 nop | ||
+ | 0014467c: 1682003c bne r20,r2,0x00144770 | ||
+ | 00144680: 34020050 ori r2,r0,0x0050 | ||
+ | 00144684: 00008021 addu r16,r0,r0 {51} ChangeDialog | ||
+ | 00144688: 00008821 addu r17,r0,r0 | ||
+ | 0014468c: 3c018017 lui r1,0x8017 | ||
+ | 00144690: 00310821 addu r1,r1,r17 | ||
+ | 00144694: 8c22e450 lw r2,-0x1bb0(r1) | ||
+ | 00144698: 3c018017 lui r1,0x8017 | ||
+ | 0014469c: 00310821 addu r1,r1,r17 | ||
+ | 001446a0: 8c35e440 lw r21,-0x1bc0(r1) | ||
+ | 001446a4: 1452002c bne r2,r18,0x00144758 | ||
+ | 001446a8: 00000000 nop | ||
+ | 001446ac: 0c053325 jal 0x0014cc94 [[Check Thread Running Status]] | ||
+ | 001446b0: 02a02021 addu r4,r21,r0 | ||
+ | 001446b4: 34080001 ori r8,r0,0x0001 | ||
+ | 001446b8: 14480027 bne r2,r8,0x00144758 | ||
+ | 001446bc: 00159a80 sll r19,r21,0x0a | ||
+ | 001446c0: 3c018017 lui r1,0x8017 | ||
+ | 001446c4: 00330821 addu r1,r1,r19 | ||
+ | 001446c8: 8c2398b8 lw r3,-0x6748(r1) | ||
+ | 001446cc: 34020033 ori r2,r0,0x0033 | ||
+ | 001446d0: 14620021 bne r3,r2,0x00144758 | ||
+ | 001446d4: 00000000 nop | ||
+ | 001446d8: 3c048017 lui r4,0x8017 | ||
+ | 001446dc: 8c843ca4 lw r4,0x3ca4(r4) | ||
+ | 001446e0: 00000000 nop | ||
+ | 001446e4: 03c42021 addu r4,r30,r4 | ||
+ | 001446e8: 0c05181e jal 0x00146078 [[Load Halfword]] | [[Load event command bytes]] | ||
+ | 001446ec: 24840002 addiu r4,r4,0x0002 | ||
+ | 001446f0: 00021400 sll r2,r2,0x10 | ||
+ | 001446f4: 00029403 sra r18,r2,0x10 | ||
+ | 001446f8: 3243ffff andi r3,r18,0xffff | ||
+ | 001446fc: 3402ffff ori r2,r0,0xffff | ||
+ | 00144700: 10620002 beq r3,r2,0x0014470c | ||
+ | 00144704: 00000000 nop | ||
+ | 00144708: 2652ffff addiu r18,r18,0xffff | ||
+ | 0014470c: 3c048017 lui r4,0x8017 | ||
+ | 00144710: 8c843ca4 lw r4,0x3ca4(r4) | ||
+ | 00144714: 3c018017 lui r1,0x8017 | ||
+ | 00144718: 00330821 addu r1,r1,r19 | ||
+ | 0014471c: ac329870 sw r18,-0x6790(r1) | ||
+ | 00144720: 03c42021 addu r4,r30,r4 | ||
+ | 00144724: 0c05181e jal 0x00146078 [[Load Halfword]] | [[Load event command bytes]] | ||
+ | 00144728: 24840004 addiu r4,r4,0x0004 | ||
+ | 0014472c: 00021400 sll r2,r2,0x10 | ||
+ | 00144730: 00021403 sra r2,r2,0x10 | ||
+ | 00144734: 34080001 ori r8,r0,0x0001 | ||
+ | 00144738: 3c018017 lui r1,0x8017 | ||
+ | 0014473c: 00330821 addu r1,r1,r19 | ||
+ | 00144740: ac229878 sw r2,-0x6788(r1) | ||
+ | 00144744: 3c018017 lui r1,0x8017 | ||
+ | 00144748: 00330821 addu r1,r1,r19 | ||
+ | 0014474c: ac2898b8 sw r8,-0x6748(r1) | ||
+ | 00144750: 080517c9 j 0x00145f24 GOTO END | ||
+ | 00144754: 00000000 nop | ||
+ | 00144758: 26100002 addiu r16,r16,0x0002 | ||
+ | 0014475c: 2a020006 slti r2,r16,0x0006 | ||
+ | 00144760: 1440ffca bne r2,r0,0x0014468c | ||
+ | 00144764: 26310230 addiu r17,r17,0x0230 | ||
+ | 00144768: 080517c9 j 0x00145f24 GOTO END | ||
+ | 0014476c: 00000000 nop | ||
+ | 00144770: 16820005 bne r20,r2,0x00144788 | ||
+ | 00144774: 34020054 ori r2,r0,0x0054 | ||
+ | 00144778: 0c04f22a jal 0x0013c8a8 [[0013c8a8 - 0013c9bc]] {50} PortraitCol | ||
+ | 0014477c: 02402021 addu r4,r18,r0 | ||
+ | 00144780: 080517c9 j 0x00145f24 GOTO END | ||
+ | 00144784: 00000000 nop | ||
+ | 00144788: 1682000c bne r20,r2,0x001447bc | ||
+ | 0014478c: 34020056 ori r2,r0,0x0056 | ||
+ | 00144790: 34080001 ori r8,r0,0x0001 {54} Use3DObject | ||
+ | 00144794: 3c018016 lui r1,0x8016 | ||
+ | 00144798: a4285fe2 sh r8,0x5fe2(r1) | ||
+ | 0014479c: 3c018017 lui r1,0x8017 | ||
+ | 001447a0: a4323c94 sh r18,0x3c94(r1) | ||
+ | 001447a4: 3c018017 lui r1,0x8017 | ||
+ | 001447a8: a4353c96 sh r21,0x3c96(r1) | ||
+ | 001447ac: 0c0532a0 jal 0x0014ca80 [[Switch To Next Thread]] | ||
+ | 001447b0: 00000000 nop | ||
+ | 001447b4: 080517c9 j 0x00145f24 GOTO END | ||
+ | 001447b8: 00000000 nop | ||
+ | 001447bc: 1682000d bne r20,r2,0x001447f4 | ||
+ | 001447c0: 34020055 ori r2,r0,0x0055 | ||
+ | 001447c4: 34080001 ori r8,r0,0x0001 {56} Wait3DObject | ||
+ | 001447c8: 3c018016 lui r1,0x8016 | ||
+ | 001447cc: a428606e sh r8,0x606e(r1) | ||
+ | 001447d0: 0c0532a0 jal 0x0014ca80 [[Switch To Next Thread]] | ||
+ | 001447d4: 00000000 nop | ||
+ | 001447d8: 3c028016 lui r2,0x8016 | ||
+ | 001447dc: 9442606e lhu r2,0x606e(r2) | ||
+ | 001447e0: 00000000 nop | ||
+ | 001447e4: 104005cf beq r2,r0,0x00145f24 | ||
+ | 001447e8: 00000000 nop | ||
+ | 001447ec: 080511f4 j 0x001447d0 | ||
+ | 001447f0: 00000000 nop | ||
+ | 001447f4: 1682000c bne r20,r2,0x00144828 | ||
+ | 001447f8: 34020057 ori r2,r0,0x0057 | ||
+ | 001447fc: 34080001 ori r8,r0,0x0001 {55} UseFieldObject | ||
+ | 00144800: 3c018016 lui r1,0x8016 | ||
+ | 00144804: a4285fe4 sh r8,0x5fe4(r1) | ||
+ | 00144808: 3c018017 lui r1,0x8017 | ||
+ | 0014480c: a4324058 sh r18,0x4058(r1) | ||
+ | 00144810: 3c018017 lui r1,0x8017 | ||
+ | 00144814: a435405a sh r21,0x405a(r1) | ||
+ | 00144818: 0c0532a0 jal 0x0014ca80 [[Switch To Next Thread]] | ||
+ | 0014481c: 00000000 nop | ||
+ | 00144820: 080517c9 j 0x00145f24 GOTO END | ||
+ | 00144824: 00000000 nop | ||
+ | 00144828: 1682000d bne r20,r2,0x00144860 | ||
+ | 0014482c: 34020068 ori r2,r0,0x0068 | ||
+ | 00144830: 34080001 ori r8,r0,0x0001 {57} WaitFieldObject ? | ||
+ | 00144834: 3c018016 lui r1,0x8016 | ||
+ | 00144838: a4286070 sh r8,0x6070(r1) | ||
+ | 0014483c: 0c0532a0 jal 0x0014ca80 [[Switch To Next Thread]] | ||
+ | 00144840: 00000000 nop | ||
+ | 00144844: 3c028016 lui r2,0x8016 | ||
+ | 00144848: 94426070 lhu r2,0x6070(r2) | ||
+ | 0014484c: 00000000 nop | ||
+ | 00144850: 104005b4 beq r2,r0,0x00145f24 | ||
+ | 00144854: 00000000 nop | ||
+ | 00144858: 0805120f j 0x0014483c | ||
+ | 0014485c: 00000000 nop | ||
+ | 00144860: 16820005 bne r20,r2,0x00144878 | ||
+ | 00144864: 34020097 ori r2,r0,0x0097 | ||
+ | 00144868: 0c04f997 jal 0x0013e65c [[0013e65c - 0013e6c0]] {68} MirrorSprite | ||
+ | 0014486c: 02202021 addu r4,r17,r0 | ||
+ | 00144870: 080517c9 j 0x00145f24 GOTO END | ||
+ | 00144874: 00000000 nop | ||
+ | 00144878: 16820005 bne r20,r2,0x00144890 | ||
+ | 0014487c: 34020071 ori r2,r0,0x0071 | ||
+ | 00144880: 0c04f9b1 jal 0x0013e6c4 [[0013e6c4 - 0013e704]] {97} ResetUnitColor | ||
+ | 00144884: 02202021 addu r4,r17,r0 | ||
+ | 00144888: 080517c9 j 0x00145f24 GOTO END | ||
+ | 0014488c: 00000000 nop | ||
+ | 00144890: 1682000c bne r20,r2,0x001448c4 | ||
+ | 00144894: 34020011 ori r2,r0,0x0011 | ||
+ | 00144898: 00132400 sll r4,r19,0x10 {71} | ||
+ | 0014489c: 0c04cc56 jal 0x00133158 [[Get misc ID]]] | ||
+ | 001448a0: 00042403 sra r4,r4,0x10 | ||
+ | 001448a4: 00409021 addu r18,r2,r0 | ||
+ | 001448a8: 340807d0 ori r8,r0,0x07d0 | ||
+ | 001448ac: 1248059d beq r18,r8,0x00145f24 | ||
+ | 001448b0: 00000000 nop | ||
+ | 001448b4: 0c01e9ee jal 0x0007a7b8 [[0007a7b8 - 0007a83c]] | ||
+ | 001448b8: 02402021 addu r4,r18,r0 | ||
+ | 001448bc: 080517c9 j 0x00145f24 GOTO END | ||
+ | 001448c0: 00000000 nop | ||
+ | 001448c4: 16820005 bne r20,r2,0x001448dc | ||
+ | 001448c8: 34020080 ori r2,r0,0x0080 | ||
+ | 001448cc: 0c0524e6 jal 0x00149398 {11} [[Unit Anim|UnitAnim]] | ||
+ | 001448d0: 02202021 addu r4,r17,r0 | ||
+ | 001448d4: 080517c9 j 0x00145f24 GOTO END | ||
+ | 001448d8: 00000000 nop | ||
+ | 001448dc: 16820005 bne r20,r2,0x001448f4 | ||
+ | 001448e0: 34020081 ori r2,r0,0x0081 | ||
+ | 001448e4: 0c052524 jal 0x00149490 [[00149490 - 00149528]] {80} March | ||
+ | 001448e8: 02202021 addu r4,r17,r0 | ||
+ | 001448ec: 080517c9 j 0x00145f24 GOTO END | ||
+ | 001448f0: 00000000 nop | ||
+ | 001448f4: 16820005 bne r20,r2,0x0014490c | ||
+ | 001448f8: 34020012 ori r2,r0,0x0012 | ||
+ | 001448fc: 0c05254b jal 0x0014952c [[0014952c - 001495dc]] {81} | ||
+ | 00144900: 02202021 addu r4,r17,r0 | ||
+ | 00144904: 080517c9 j 0x00145f24 GOTO END | ||
+ | 00144908: 00000000 nop | ||
+ | 0014490c: 1682000c bne r20,r2,0x00144940 | ||
+ | 00144910: 34020013 ori r2,r0,0x0013 | ||
+ | 00144914: 00132400 sll r4,r19,0x10 {12} | ||
+ | 00144918: 0c04cc56 jal 0x00133158 [[Get misc ID]]] | ||
+ | 0014491c: 00042403 sra r4,r4,0x10 | ||
+ | 00144920: 00409021 addu r18,r2,r0 | ||
+ | 00144924: 340807d0 ori r8,r0,0x07d0 | ||
+ | 00144928: 1248057e beq r18,r8,0x00145f24 | ||
+ | 0014492c: 00000000 nop | ||
+ | 00144930: 0c052936 jal 0x0014a4d8 [[0014a4d8 - 0014a518]] | ||
+ | 00144934: 02402021 addu r4,r18,r0 | ||
+ | 00144938: 080517c9 j 0x00145f24 GOTO END | ||
+ | 0014493c: 00000000 nop | ||
+ | 00144940: 16820005 bne r20,r2,0x00144958 | ||
+ | 00144944: 3402004c ori r2,r0,0x004c | ||
+ | 00144948: 3c018017 lui r1,0x8017 {13} ChangeMapBeta | ||
+ | 0014494c: a4334054 sh r19,0x4054(r1) | ||
+ | 00144950: 0805125a j 0x00144968 | ||
+ | 00144954: 00000000 nop | ||
+ | 00144958: 16820009 bne r20,r2,0x00144980 | ||
+ | 0014495c: 3402004f ori r2,r0,0x004f | ||
+ | 00144960: 3c018017 lui r1,0x8017 {4C} ChangeMap | ||
+ | 00144964: a433405c sh r19,0x405c(r1) | ||
+ | 00144968: 0c053216 jal 0x0014c858 [[Wait]] | ||
+ | 0014496c: 34040002 ori r4,r0,0x0002 | ||
+ | 00144970: 0c04fc30 jal 0x0013f0c0 [[0013f0c0 - 0013f164]] | ||
+ | 00144974: 00000000 nop | ||
+ | 00144978: 080517c9 j 0x00145f24 GOTO END | ||
+ | 0014497c: 00000000 nop | ||
+ | 00144980: 16820005 bne r20,r2,0x00144998 | ||
+ | 00144984: 3402003c ori r2,r0,0x003c | ||
+ | 00144988: 3c018017 lui r1,0x8017 {4F} SetDaytime | ||
+ | 0014498c: a4323f64 sh r18,0x3f64(r1) | ||
+ | 00144990: 0805126a j 0x001449a8 | ||
+ | 00144994: 00000000 nop | ||
+ | 00144998: 16820009 bne r20,r2,0x001449c0 | ||
+ | 0014499c: 34020027 ori r2,r0,0x0027 | ||
+ | 001449a0: 3c018017 lui r1,0x8017 {3C} Weather | ||
+ | 001449a4: a4333f68 sh r19,0x3f68(r1) | ||
+ | 001449a8: 0c053216 jal 0x0014c858 [[Wait]] | ||
+ | 001449ac: 34040002 ori r4,r0,0x0002 | ||
+ | 001449b0: 0c051829 jal 0x001460a4 [[001460a4 - 001460e0]] | ||
+ | 001449b4: 00000000 nop | ||
+ | 001449b8: 080517c9 j 0x00145f24 GOTO END | ||
+ | 001449bc: 00000000 nop | ||
+ | 001449c0: 1682000d bne r20,r2,0x001449f8 | ||
+ | 001449c4: 34020096 ori r2,r0,0x0096 | ||
+ | 001449c8: 34080001 ori r8,r0,0x0001 {27} ReloadMapState | ||
+ | 001449cc: 3c018016 lui r1,0x8016 | ||
+ | 001449d0: a4285fde sh r8,0x5fde(r1) | ||
+ | 001449d4: 0c0532a0 jal 0x0014ca80 [[Switch To Next Thread]] | ||
+ | 001449d8: 00000000 nop | ||
+ | 001449dc: 3c028016 lui r2,0x8016 | ||
+ | 001449e0: 94425fde lhu r2,0x5fde(r2) | ||
+ | 001449e4: 00000000 nop | ||
+ | 001449e8: 1040054e beq r2,r0,0x00145f24 | ||
+ | 001449ec: 00000000 nop | ||
+ | 001449f0: 08051275 j 0x001449d4 | ||
+ | 001449f4: 00000000 nop | ||
+ | 001449f8: 1682000d bne r20,r2,0x00144a30 | ||
+ | |||
+ | |||
+ | == Return Locations == | ||
− | + | 00143b90: | |
+ | 00143bb8: | ||
− | + | Routine continues at [[Event Instruction Main Routine 2]] > | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Latest revision as of 12:25, 15 December 2024
00143bd8: 27bdffb0 addiu r29,r29,0xffb0 00143bdc: 34040044 ori r4,r0,0x0044 00143be0: afbf004c sw r31,0x004c(r29) 00143be4: afbe0048 sw r30,0x0048(r29) 00143be8: afb70044 sw r23,0x0044(r29) 00143bec: afb60040 sw r22,0x0040(r29) 00143bf0: afb5003c sw r21,0x003c(r29) 00143bf4: afb40038 sw r20,0x0038(r29) 00143bf8: afb30034 sw r19,0x0034(r29) 00143bfc: afb20030 sw r18,0x0030(r29) 00143c00: afb1002c sw r17,0x002c(r29) 00143c04: 0c052752 jal 0x00149d48 00143c08: afb00028 sw r16,0x0028(r29) 00143c0c: 0c04b721 jal 0x0012dc84 0012dc84 - 0012dca8 00143c10: 00000000 nop 00143c14: 10400003 beq r2,r0,0x00143c24 00143c18: 00000000 nop 00143c1c: 0c04b6f7 jal 0x0012dbdc 0012dbdc - 0012dc2c 00143c20: 00000000 nop 00143c24: 3c028016 lui r2,0x8016 00143c28: 94425ff6 lhu r2,0x5ff6(r2) 00143c2c: 00000000 nop 00143c30: 1440000c bne r2,r0,0x00143c64 00143c34: 340200aa ori r2,r0,0x00aa 00143c38: 34100002 ori r16,r0,0x0002 00143c3c: 0c053274 jal 0x0014c9d0 Wait For Thread 00143c40: 02002021 addu r4,r16,r0 00143c44: 26100001 addiu r16,r16,0x0001 00143c48: 2a02000e slti r2,r16,0x000e 00143c4c: 1440fffb bne r2,r0,0x00143c3c 00143c50: 00000000 nop 00143c54: 0c04b765 jal 0x0012dd94 0012dd94 - 0012ddc0 00143c58: 00000000 nop 00143c5c: 08050f21 j 0x00143c84 00143c60: 00000000 nop 00143c64: 3c018017 lui r1,0x8017 00143c68: a422864a sh r2,-0x79b6(r1) 00143c6c: 3c018017 lui r1,0x8017 00143c70: a4228652 sh r2,-0x79ae(r1) 00143c74: 3c018017 lui r1,0x8017 00143c78: a422865a sh r2,-0x79a6(r1) 00143c7c: 3c018017 lui r1,0x8017 00143c80: a4228662 sh r2,-0x799e(r1) 00143c84: 0c05214f jal 0x0014853c 0014853c - 0014857c 00143c88: 00000000 nop 00143c8c: 0c04ed64 jal 0x0013b590 Get Script Variable 00143c90: 340401fd ori r4,r0,0x01fd 00143c94: 10400006 beq r2,r0,0x00143cb0 00143c98: 00000000 nop 00143c9c: 00002021 addu r4,r0,r0 00143ca0: 0c052336 jal 0x00148cd8 Process Unit Staged Status Data 00143ca4: 00002821 addu r5,r0,r0 00143ca8: 08050f2f j 0x00143cbc 00143cac: 34040028 ori r4,r0,0x0028 00143cb0: 0c04b639 jal 0x0012d8e4 Process Inflict Status Event Commands 00143cb4: 00000000 nop 00143cb8: 34040028 ori r4,r0,0x0028 00143cbc: 0c04ed91 jal 0x0013b644 Set Script Variable 00143cc0: 00002821 addu r5,r0,r0 00143cc4: 34040029 ori r4,r0,0x0029 00143cc8: 0c04ed91 jal 0x0013b644 Set Script Variable 00143ccc: 00002821 addu r5,r0,r0 00143cd0: 3404002a ori r4,r0,0x002a 00143cd4: 0c04ed91 jal 0x0013b644 Set Script Variable 00143cd8: 00002821 addu r5,r0,r0 00143cdc: 0c04f680 jal 0x0013da00 Set Event Speed 00143ce0: 34040001 ori r4,r0,0x0001 00143ce4: 0c04b771 jal 0x0012ddc4 0012ddc4 - 0012dde4 00143ce8: 0000f021 addu r30,r0,r0 00143cec: 340303e8 ori r3,r0,0x03e8 00143cf0: 34100003 ori r16,r0,0x0003 00143cf4: 3c028016 lui r2,0x8016 00143cf8: 24425fee addiu r2,r2,0x5fee 00143cfc: a4430000 sh r3,0x0000(r2) 00143d00: 2610ffff addiu r16,r16,0xffff 00143d04: 0601fffd bgez r16,0x00143cfc 00143d08: 2442fffe addiu r2,r2,0xfffe 00143d0c: 3c028017 lui r2,0x8017 00143d10: 8c423ca4 lw r2,0x3ca4(r2) 00143d14: 00000000 nop 00143d18: 005e1021 addu r2,r2,r30 00143d1c: 24510001 addiu r17,r2,0x0001 00143d20: 90520001 lbu r18,0x0001(r2) 00143d24: 90550002 lbu r21,0x0002(r2) 00143d28: 90560003 lbu r22,0x0003(r2) 00143d2c: 90570004 lbu r23,0x0004(r2) 00143d30: 90540000 lbu r20,0x0000(r2) 00143d34: 0c05181e jal 0x00146078 Load Halfword | Load event command bytes 00143d38: 02202021 addu r4,r17,r0 00143d3c: 00409821 addu r19,r2,r0 00143d40: 340200c0 ori r2,r0,0x00c0 00143d44: 12820877 beq r20,r2,0x00145f24 {C0} GOTO END 00143d48: 340200f2 ori r2,r0,0x00f2 00143d4c: 12820875 beq r20,r2,0x00145f24 {F2} Pad | GOTO END 00143d50: 2682ff60 addiu r2,r20,0xff60 00143d54: 2c420006 sltiu r2,r2,0x0006 00143d58: 10400005 beq r2,r0,0x00143d70 00143d5c: 2682ff50 addiu r2,r20,0xff50 00143d60: 0c0527c4 jal 0x00149f10 00149f10 - 0014a014 {A0-A5} 00143d64: 02802021 addu r4,r20,r0 00143d68: 080517c9 j 0x00145f24 GOTO END 00143d6c: 00000000 nop 00143d70: 2c42000f sltiu r2,r2,0x000f 00143d74: 1040000e beq r2,r0,0x00143db0 00143d78: 3402004d ori r2,r0,0x004d 00143d7c: 3c048017 lui r4,0x8017 {B0-BE} 00143d80: 8c843ca4 lw r4,0x3ca4(r4) 00143d84: 3272ffff andi r18,r19,0xffff 00143d88: 03c42021 addu r4,r30,r4 00143d8c: 0c05181e jal 0x00146078 Load Halfword | Load event command bytes 00143d90: 24840003 addiu r4,r4,0x0003 00143d94: 02802021 addu r4,r20,r0 00143d98: 02402821 addu r5,r18,r0 00143d9c: 3046ffff andi r6,r2,0xffff 00143da0: 0c052806 jal 0x0014a018 Run Script Variable Command 00143da4: 00003821 addu r7,r0,r0 00143da8: 080517c9 j 0x00145f24 GOTO END 00143dac: 00000000 nop 00143db0: 16820005 bne r20,r2,0x00143dc8 00143db4: 3402007a ori r2,r0,0x007a 00143db8: 3c018017 lui r1,0x8017 {4D} 00143dbc: a432d9bc sh r18,-0x2644(r1) 00143dc0: 080512d0 j 0x00144b40 00143dc4: 00000000 nop 00143dc8: 16820009 bne r20,r2,0x00143df0 00143dcc: 34020043 ori r2,r0,0x0043 00143dd0: 0c04ed64 jal 0x0013b590 Get Script Variable {7A} DismissUnit ? 00143dd4: 340401fc ori r4,r0,0x01fc 00143dd8: 14400852 bne r2,r0,0x00145f24 00143ddc: 00132400 sll r4,r19,0x10 00143de0: 0c04d02b jal 0x001340ac Dismiss Unit Event Instruction 00143de4: 00042403 sra r4,r4,0x10 00143de8: 080517c9 j 0x00145f24 GOTO END 00143dec: 00000000 nop 00143df0: 16820127 bne r20,r2,0x00144290 00143df4: 34020099 ori r2,r0,0x0099 00143df8: 0c053216 jal 0x0014c858 Wait {43} CallFunction 00143dfc: 34040004 ori r4,r0,0x0004 00143e00: 0c04ed64 jal 0x0013b590 Get Script Variable 00143e04: 340401fc ori r4,r0,0x01fc 00143e08: 1440004a bne r2,r0,0x00143f34 00143e0c: 34080001 ori r8,r0,0x0001 00143e10: 1648000b bne r18,r8,0x00143e40 00143e14: 34020006 ori r2,r0,0x0006 00143e18: 0c04ed64 jal 0x0013b590 Get Script Variable 00143e1c: 34040027 ori r4,r0,0x0027 00143e20: 2842004e slti r2,r2,0x004e 00143e24: 10400003 beq r2,r0,0x00143e34 00143e28: 00000000 nop 00143e2c: 0c010a84 jal 0x00042a10 Starting Inventory 00143e30: 00000000 nop 00143e34: 0c04d060 jal 0x00134180 00134180 - 00134220 00143e38: 00000000 nop 00143e3c: 34020006 ori r2,r0,0x0006 00143e40: 1642003d bne r18,r2,0x00143f38 00143e44: 34020002 ori r2,r0,0x0002 00143e48: 34120002 ori r18,r0,0x0002 00143e4c: 34110003 ori r17,r0,0x0003 00143e50: 34100800 ori r16,r0,0x0800 00143e54: 02402021 addu r4,r18,r0 00143e58: 00002821 addu r5,r0,r0 00143e5c: 00003021 addu r6,r0,r0 00143e60: 0c05328e jal 0x0014ca38 Store Thread Function Parameters 00143e64: 34070001 ori r7,r0,0x0001 00143e68: 3c018017 lui r1,0x8017 00143e6c: 00300821 addu r1,r1,r16 00143e70: ac3198b8 sw r17,-0x6748(r1) 00143e74: 0c053274 jal 0x0014c9d0 Wait For Thread 00143e78: 02402021 addu r4,r18,r0 00143e7c: 26520001 addiu r18,r18,0x0001 00143e80: 2a42000f slti r2,r18,0x000f 00143e84: 1440fff3 bne r2,r0,0x00143e54 00143e88: 26100400 addiu r16,r16,0x0400 00143e8c: 0c04ed64 jal 0x0013b590 Get Script Variable 00143e90: 34040027 ori r4,r0,0x0027 00143e94: 3403012c ori r3,r0,0x012c 00143e98: 10430004 beq r2,r3,0x00143eac 00143e9c: 00000000 nop 00143ea0: 34040064 ori r4,r0,0x0064 00143ea4: 0c04ed91 jal 0x0013b644 Set Script Variable 00143ea8: 34050001 ori r5,r0,0x0001 00143eac: 34040051 ori r4,r0,0x0051 00143eb0: 0c04ed91 jal 0x0013b644 Set Script Variable 00143eb4: 34050001 ori r5,r0,0x0001 00143eb8: 0c04ef05 jal 0x0013bc14 Load File (0x13bc14) 00143ebc: 3404000e ori r4,r0,0x000e 00143ec0: 34020005 ori r2,r0,0x0005 00143ec4: 3c018016 lui r1,0x8016 00143ec8: ac22600c sw r2,0x600c(r1) 00143ecc: 0c0532a0 jal 0x0014ca80 Switch To Next Thread 00143ed0: 00000000 nop 00143ed4: 3c028016 lui r2,0x8016 00143ed8: 8c42600c lw r2,0x600c(r2) 00143edc: 00000000 nop 00143ee0: 1440fffa bne r2,r0,0x00143ecc 00143ee4: 34040064 ori r4,r0,0x0064 00143ee8: 0c04ed91 jal 0x0013b644 Set Script Variable 00143eec: 00002821 addu r5,r0,r0 00143ef0: 34120002 ori r18,r0,0x0002 00143ef4: 34110003 ori r17,r0,0x0003 00143ef8: 34100800 ori r16,r0,0x0800 00143efc: 02402021 addu r4,r18,r0 00143f00: 00002821 addu r5,r0,r0 00143f04: 00003021 addu r6,r0,r0 00143f08: 0c05328e jal 0x0014ca38 Store Thread Function Parameters 00143f0c: 34070001 ori r7,r0,0x0001 00143f10: 3c018017 lui r1,0x8017 00143f14: 00300821 addu r1,r1,r16 00143f18: ac3198b8 sw r17,-0x6748(r1) 00143f1c: 0c053274 jal 0x0014c9d0 Wait For Thread 00143f20: 02402021 addu r4,r18,r0 00143f24: 26520001 addiu r18,r18,0x0001 00143f28: 2a42000f slti r2,r18,0x000f 00143f2c: 1440fff3 bne r2,r0,0x00143efc 00143f30: 26100400 addiu r16,r16,0x0400 00143f34: 34020002 ori r2,r0,0x0002 00143f38: 12420003 beq r18,r2,0x00143f48 00143f3c: 34020007 ori r2,r0,0x0007 00143f40: 16420004 bne r18,r2,0x00143f54 00143f44: 34020003 ori r2,r0,0x0003 00143f48: 0c04d089 jal 0x00134224 00134224 - 00134244 00143f4c: 00000000 nop 00143f50: 34020003 ori r2,r0,0x0003 00143f54: 16420004 bne r18,r2,0x00143f68 00143f58: 34020004 ori r2,r0,0x0004 00143f5c: 0c04d092 jal 0x00134248 00134248 - 001342c8 00143f60: 00000000 nop 00143f64: 34020004 ori r2,r0,0x0004 00143f68: 16420006 bne r18,r2,0x00143f84 00143f6c: 34020005 ori r2,r0,0x0005 00143f70: 0c051f3c jal 0x00147cf0 00147cf0 - 00147d94 00143f74: 00000000 nop 00143f78: 0c053216 jal 0x0014c858 Wait 00143f7c: 34040078 ori r4,r0,0x0078 00143f80: 34020005 ori r2,r0,0x0005 00143f84: 16420004 bne r18,r2,0x00143f98 00143f88: 34020008 ori r2,r0,0x0008 00143f8c: 34080001 ori r8,r0,0x0001 00143f90: 3c018017 lui r1,0x8017 00143f94: ac2896f8 sw r8,-0x6908(r1) 00143f98: 16420005 bne r18,r2,0x00143fb0 00143f9c: 34020009 ori r2,r0,0x0009 00143fa0: 3c018004 lui r1,0x8004 00143fa4: ac2059cc sw r0,0x59cc(r1) 00143fa8: 3c018004 lui r1,0x8004 00143fac: ac2059d8 sw r0,0x59d8(r1) 00143fb0: 16420005 bne r18,r2,0x00143fc8 00143fb4: 3402000a ori r2,r0,0x000a 00143fb8: 34040053 ori r4,r0,0x0053 00143fbc: 0c04ed91 jal 0x0013b644 Set Script Variable 00143fc0: 34050001 ori r5,r0,0x0001 00143fc4: 3402000a ori r2,r0,0x000a 00143fc8: 16420005 bne r18,r2,0x00143fe0 00143fcc: 3402000b ori r2,r0,0x000b 00143fd0: 34040053 ori r4,r0,0x0053 00143fd4: 0c04ed91 jal 0x0013b644 Set Script Variable 00143fd8: 00002821 addu r5,r0,r0 00143fdc: 3402000b ori r2,r0,0x000b 00143fe0: 1642000f bne r18,r2,0x00144020 00143fe4: 3402000c ori r2,r0,0x000c 00143fe8: 0c050cfa jal 0x001433e8 001433e8 - 00143414 00143fec: 00000000 nop 00143ff0: 3c028016 lui r2,0x8016 00143ff4: 8442605c lh r2,0x605c(r2) 00143ff8: 00000000 nop 00143ffc: 10400008 beq r2,r0,0x00144020 00144000: 3402000c ori r2,r0,0x000c 00144004: 0c0532a0 jal 0x0014ca80 Switch To Next Thread 00144008: 00000000 nop 0014400c: 3c028016 lui r2,0x8016 00144010: 8442605c lh r2,0x605c(r2) 00144014: 00000000 nop 00144018: 1440fffa bne r2,r0,0x00144004 0014401c: 3402000c ori r2,r0,0x000c 00144020: 1642000c bne r18,r2,0x00144054 00144024: 3402000d ori r2,r0,0x000d 00144028: 34040013 ori r4,r0,0x0013 0014402c: 34020013 ori r2,r0,0x0013 00144030: 3c018016 lui r1,0x8016 00144034: a4205fd8 sh r0,0x5fd8(r1) 00144038: 3c018016 lui r1,0x8016 0014403c: a4225fd4 sh r2,0x5fd4(r1) 00144040: 3c018016 lui r1,0x8016 00144044: a4205fd6 sh r0,0x5fd6(r1) 00144048: 0c04f49e jal 0x0013d278 0013d278 - 0013d31c 0014404c: 00002821 addu r5,r0,r0 00144050: 3402000d ori r2,r0,0x000d 00144054: 16420023 bne r18,r2,0x001440e4 00144058: 3402000e ori r2,r0,0x000e 0014405c: 0c0602bf jal 0x00180afc Get Unit's Data Pointer 00144060: 34040007 ori r4,r0,0x0007 00144064: 00408821 addu r17,r2,r0 00144068: 0c0602bf jal 0x00180afc Get Unit's Data Pointer 0014406c: 34040008 ori r4,r0,0x0008 00144070: 00403021 addu r6,r2,r0 00144074: 92220047 lbu r2,0x0047(r17) 00144078: 34040008 ori r4,r0,0x0008 0014407c: a0c20047 sb r2,0x0047(r6) 00144080: 92220048 lbu r2,0x0048(r17) 00144084: 34050001 ori r5,r0,0x0001 00144088: a0c20048 sb r2,0x0048(r6) 0014408c: 96230048 lhu r3,0x0048(r17) 00144090: 94c20048 lhu r2,0x0048(r6) 00144094: 30638000 andi r3,r3,0x8000 00144098: 30427fff andi r2,r2,0x7fff 0014409c: 00431025 or r2,r2,r3 001440a0: 0c023417 jal 0x0008d05c 0008d05c - 0008d100 001440a4: a4c20048 sh r2,0x0048(r6) 001440a8: 34080001 ori r8,r0,0x0001 001440ac: 3c018016 lui r1,0x8016 001440b0: a428604e sh r8,0x604e(r1) 001440b4: 0c0532a0 jal 0x0014ca80 Switch To Next Thread 001440b8: 00000000 nop 001440bc: 3c028016 lui r2,0x8016 001440c0: 9442604e lhu r2,0x604e(r2) 001440c4: 00000000 nop 001440c8: 1440fffa bne r2,r0,0x001440b4 001440cc: 00000000 nop 001440d0: 0c0532a0 jal 0x0014ca80 Switch To Next Thread 001440d4: 00000000 nop 001440d8: 0c0532a0 jal 0x0014ca80 Switch To Next Thread 001440dc: 00000000 nop 001440e0: 3402000e ori r2,r0,0x000e 001440e4: 1642002d bne r18,r2,0x0014419c 001440e8: 34020011 ori r2,r0,0x0011 001440ec: 00008021 addu r16,r0,r0 001440f0: 0c0232ed jal 0x0008cbb4 Does Misc Unit Exist With ID 001440f4: 02002021 addu r4,r16,r0 001440f8: 10400024 beq r2,r0,0x0014418c 001440fc: 00000000 nop 00144100: 0c023374 jal 0x0008cdd0 Get Battle Unit Index By Unit Misc ID 00144104: 02002021 addu r4,r16,r0 00144108: 00409021 addu r18,r2,r0 0014410c: 2402ffff addiu r2,r0,0xffff 00144110: 1242001e beq r18,r2,0x0014418c 00144114: 00000000 nop 00144118: 0c0602bf jal 0x00180afc Get Unit's Data Pointer 0014411c: 02402021 addu r4,r18,r0 00144120: 00408821 addu r17,r2,r0 00144124: 92220047 lbu r2,0x0047(r17) 00144128: 00000000 nop 0014412c: 2c420004 sltiu r2,r2,0x0004 00144130: 10400008 beq r2,r0,0x00144154 00144134: 00000000 nop 00144138: 92220048 lbu r2,0x0048(r17) 0014413c: 00000000 nop 00144140: 2c42000b sltiu r2,r2,0x000b 00144144: 10400003 beq r2,r0,0x00144154 00144148: 00000000 nop 0014414c: 0c023463 jal 0x0008d18c Reset Misc Unit Graphic Trigger 00144150: 02002021 addu r4,r16,r0 00144154: 92220047 lbu r2,0x0047(r17) 00144158: 00000000 nop 0014415c: 2442fffc addiu r2,r2,0xfffc 00144160: 2c420003 sltiu r2,r2,0x0003 00144164: 10400009 beq r2,r0,0x0014418c 00144168: 00000000 nop 0014416c: 92220048 lbu r2,0x0048(r17) 00144170: 00000000 nop 00144174: 2442fffe addiu r2,r2,0xfffe 00144178: 2c420006 sltiu r2,r2,0x0006 0014417c: 10400003 beq r2,r0,0x0014418c 00144180: 00000000 nop 00144184: 0c023463 jal 0x0008d18c Reset Misc Unit Graphic Trigger 00144188: 02002021 addu r4,r16,r0 0014418c: 26100001 addiu r16,r16,0x0001 00144190: 2a020015 slti r2,r16,0x0015 00144194: 1440ffd6 bne r2,r0,0x001440f0 00144198: 34020011 ori r2,r0,0x0011 0014419c: 16420028 bne r18,r2,0x00144240 001441a0: 2642fff1 addiu r2,r18,0xfff1 001441a4: 0c0602bf jal 0x00180afc Get Unit's Data Pointer 001441a8: 34040001 ori r4,r0,0x0001 001441ac: 00408821 addu r17,r2,r0 001441b0: 0c0602bf jal 0x00180afc Get Unit's Data Pointer 001441b4: 34040007 ori r4,r0,0x0007 001441b8: 00403021 addu r6,r2,r0 001441bc: 92230047 lbu r3,0x0047(r17) 001441c0: 34040007 ori r4,r0,0x0007 001441c4: a0c30047 sb r3,0x0047(r6) 001441c8: 92220048 lbu r2,0x0048(r17) 001441cc: 34050001 ori r5,r0,0x0001 001441d0: a0c20048 sb r2,0x0048(r6) 001441d4: 96230048 lhu r3,0x0048(r17) 001441d8: 94c20048 lhu r2,0x0048(r6) 001441dc: 30638000 andi r3,r3,0x8000 001441e0: 30427fff andi r2,r2,0x7fff 001441e4: 00431025 or r2,r2,r3 001441e8: a4c20048 sh r2,0x0048(r6) 001441ec: 96230048 lhu r3,0x0048(r17) 001441f0: 3042f0ff andi r2,r2,0xf0ff 001441f4: 30630f00 andi r3,r3,0x0f00 001441f8: 00431025 or r2,r2,r3 001441fc: 0c023417 jal 0x0008d05c 0008d05c - 0008d100 00144200: a4c20048 sh r2,0x0048(r6) 00144204: 34080001 ori r8,r0,0x0001 00144208: 3c018016 lui r1,0x8016 0014420c: a428604e sh r8,0x604e(r1) 00144210: 0c0532a0 jal 0x0014ca80 Switch To Next Thread 00144214: 00000000 nop 00144218: 3c028016 lui r2,0x8016 0014421c: 9442604e lhu r2,0x604e(r2) 00144220: 00000000 nop 00144224: 1440fffa bne r2,r0,0x00144210 00144228: 00000000 nop 0014422c: 0c0532a0 jal 0x0014ca80 Switch To Next Thread 00144230: 00000000 nop 00144234: 0c0532a0 jal 0x0014ca80 Switch To Next Thread 00144238: 00000000 nop 0014423c: 2642fff1 addiu r2,r18,0xfff1 00144240: 2c420002 sltiu r2,r2,0x0002 00144244: 10400004 beq r2,r0,0x00144258 00144248: 34020012 ori r2,r0,0x0012 0014424c: 0c04d0b3 jal 0x001342cc 001342cc - 001343b8 00144250: 02402021 addu r4,r18,r0 00144254: 34020012 ori r2,r0,0x0012 00144258: 16420732 bne r18,r2,0x00145f24 0014425c: 00000000 nop 00144260: 0c04cc56 jal 0x00133158 Get misc ID] 00144264: 3404003e ori r4,r0,0x003e 00144268: 00021400 sll r2,r2,0x10 0014426c: 00028403 sra r16,r2,0x10 00144270: 340807d0 ori r8,r0,0x07d0 00144274: 1208072b beq r16,r8,0x00145f24 00144278: 00000000 nop 0014427c: 0c023374 jal 0x0008cdd0 Get Battle Unit Index By Unit Misc ID 00144280: 02002021 addu r4,r16,r0 00144284: 00402021 addu r4,r2,r0 00144288: 08051589 j 0x00145624 0014428c: 00002821 addu r5,r0,r0 00144290: 16820006 bne r20,r2,0x001442ac 00144294: 340200db ori r2,r0,0x00db 00144298: 00132400 sll r4,r19,0x10 {99} BlueRemoveUnit 0014429c: 0c051f66 jal 0x00147d98 00147d98 - 00147e5c 001442a0: 00042403 sra r4,r4,0x10 001442a4: 080517c9 j 0x00145f24 GOTO END 001442a8: 00000000 nop 001442ac: 12820003 beq r20,r2,0x001442bc {DB} EventEnd 001442b0: 340200e3 ori r2,r0,0x00e3 001442b4: 16820077 bne r20,r2,0x00144494 001442b8: 340200da ori r2,r0,0x00da 001442bc: 0c051829 jal 0x001460a4 001460a4 - 001460e0 {E3} EventEnd 2 001442c0: 00000000 nop 001442c4: 0c0532a0 jal 0x0014ca80 Switch To Next Thread 001442c8: 00000000 nop 001442cc: 0c05272f jal 0x00149cbc Get Thread Running Task 001442d0: 34040008 ori r4,r0,0x0008 001442d4: 1440fffb bne r2,r0,0x001442c4 001442d8: 00000000 nop 001442dc: 0c0532a0 jal 0x0014ca80 Switch To Next Thread 001442e0: 00000000 nop 001442e4: 0c0111b2 jal 0x000446c8 Check File Still Loading 001442e8: 00000000 nop 001442ec: 1440fffb bne r2,r0,0x001442dc 001442f0: 00000000 nop 001442f4: 0c0532a0 jal 0x0014ca80 Switch To Next Thread 001442f8: 00000000 nop 001442fc: 0c04b721 jal 0x0012dc84 0012dc84 - 0012dca8 00144300: 00000000 nop 00144304: 1040000c beq r2,r0,0x00144338 00144308: 00000000 nop 0014430c: 0c04b70c jal 0x0012dc30 0012dc30 - 0012dc80 00144310: 00000000 nop 00144314: 340401fc ori r4,r0,0x01fc 00144318: 3c028017 lui r2,0x8017 0014431c: 8c42d99c lw r2,-0x2664(r2) 00144320: 3c018004 lui r1,0x8004 00144324: ac2273ac sw r2,0x73ac(r1) 00144328: 0c04ed91 jal 0x0013b644 Set Script Variable 0014432c: 00002821 addu r5,r0,r0 00144330: 0c0230e8 jal 0x0008c3a0 0008c3a0 - 0008c3e0 00144334: 34040020 ori r4,r0,0x0020 00144338: 3c028016 lui r2,0x8016 0014433c: 94425ff6 lhu r2,0x5ff6(r2) 00144340: 00000000 nop 00144344: 14400008 bne r2,r0,0x00144368 00144348: 00000000 nop 0014434c: 34100002 ori r16,r0,0x0002 00144350: 0c053274 jal 0x0014c9d0 Wait For Thread 00144354: 02002021 addu r4,r16,r0 00144358: 26100001 addiu r16,r16,0x0001 0014435c: 2a02000e slti r2,r16,0x000e 00144360: 1440fffb bne r2,r0,0x00144350 00144364: 00000000 nop 00144368: 0c04ed64 jal 0x0013b590 Get Script Variable 0014436c: 34040027 ori r4,r0,0x0027 00144370: 00409021 addu r18,r2,r0 00144374: 340201ad ori r2,r0,0x01ad 00144378: 12420006 beq r18,r2,0x00144394 0014437c: 00000000 nop 00144380: 340201d1 ori r2,r0,0x01d1 00144384: 12420004 beq r18,r2,0x00144398 00144388: 340401fd ori r4,r0,0x01fd 0014438c: 0c023654 jal 0x0008d950 0008d950 - 0008d994 00144390: 00000000 nop 00144394: 340401fd ori r4,r0,0x01fd 00144398: 0c04ed91 jal 0x0013b644 Set Script Variable 0014439c: 00002821 addu r5,r0,r0 001443a0: 00121040 sll r2,r18,0x01 001443a4: 3c018005 lui r1,0x8005 001443a8: 00220821 addu r1,r1,r2 001443ac: 9422e5d0 lhu r2,-0x1a30(r1) 001443b0: 3c038016 lui r3,0x8016 001443b4: 94635ff6 lhu r3,0x5ff6(r3) 001443b8: 3042f300 andi r2,r2,0xf300 001443bc: 14600010 bne r3,r0,0x00144400 001443c0: 00021203 sra r2,r2,0x08 001443c4: 1440000e bne r2,r0,0x00144400 001443c8: 2642fe70 addiu r2,r18,0xfe70 001443cc: 2c42001a sltiu r2,r2,0x001a 001443d0: 1440000b bne r2,r0,0x00144400 001443d4: 00000000 nop 001443d8: 12400009 beq r18,r0,0x00144400 001443dc: 340200ff ori r2,r0,0x00ff 001443e0: 3c018015 lui r1,0x8015 001443e4: ac22d304 sw r2,-0x2cfc(r1) 001443e8: 0c05096c jal 0x001425b0 Process Scenario Conditionals 001443ec: 00000000 nop 001443f0: 0c0517de jal 0x00145f78 Load Next Event 001443f4: 00000000 nop 001443f8: 1440fe38 bne r2,r0,0x00143cdc 001443fc: 00000000 nop 00144400: 0c023079 jal 0x0008c1e4 0008c1e4 - 0008c264 00144404: 00008021 addu r16,r0,r0 00144408: 00002021 addu r4,r0,r0 0014440c: 0c052336 jal 0x00148cd8 Process Unit Staged Status Data 00144410: 34050001 ori r5,r0,0x0001 00144414: 0c0232ed jal 0x0008cbb4 Does Misc Unit Exist With ID 00144418: 02002021 addu r4,r16,r0 0014441c: 10400011 beq r2,r0,0x00144464 00144420: 00000000 nop 00144424: 0c023374 jal 0x0008cdd0 Get Battle Unit Index By Unit Misc ID 00144428: 02002021 addu r4,r16,r0 0014442c: 00409021 addu r18,r2,r0 00144430: 0640000c bltz r18,0x00144464 00144434: 00000000 nop 00144438: 0c0602bf jal 0x00180afc Get Unit's Data Pointer 0014443c: 02402021 addu r4,r18,r0 00144440: 00408821 addu r17,r2,r0 00144444: 0c022fc7 jal 0x0008bf1c 0x8bf1c 00144448: 02002021 addu r4,r16,r0 0014444c: 3042000f andi r2,r2,0x000f 00144450: 96230048 lhu r3,0x0048(r17) 00144454: 00021200 sll r2,r2,0x08 00144458: 3063f0ff andi r3,r3,0xf0ff 0014445c: 00621825 or r3,r3,r2 00144460: a6230048 sh r3,0x0048(r17) 00144464: 26100001 addiu r16,r16,0x0001 00144468: 2a020015 slti r2,r16,0x0015 0014446c: 1440ffe9 bne r2,r0,0x00144414 00144470: 00000000 nop 00144474: 0c04b771 jal 0x0012ddc4 0012ddc4 - 0012dde4 00144478: 00000000 nop 0014447c: 0c04b77a jal 0x0012dde8 Battle Camera Initialize 00144480: 00000000 nop 00144484: 0c053256 jal 0x0014c958 Stop Current Thread 00144488: 00000000 nop 0014448c: 080517c9 j 0x00145f24 GOTO END 00144490: 00000000 nop 00144494: 128206a3 beq r20,r2,0x00145f24 {DA} | GOTO END 00144498: 340200d0 ori r2,r0,0x00d0 0014449c: 1682000b bne r20,r2,0x001444cc 001444a0: 340200d1 ori r2,r0,0x00d1 001444a4: 3c028016 lui r2,0x8016 {D0} JumpForwardIfZero | (B) Block Start 001444a8: 8c425f9c lw r2,0x5f9c(r2) 001444ac: 00000000 nop 001444b0: 8c420000 lw r2,0x0000(r2) 001444b4: 00000000 nop 001444b8: 1440069a bne r2,r0,0x00145f24 001444bc: 27c40002 addiu r4,r30,0x0002 001444c0: 340500d2 ori r5,r0,0x00d2 Block End = D2 001444c4: 08051141 j 0x00144504 001444c8: 340600d4 ori r6,r0,0x00d4 001444cc: 16820004 bne r20,r2,0x001444e0 001444d0: 340200d2 ori r2,r0,0x00d2 001444d4: 27c40002 addiu r4,r30,0x0002 {D1} JumpForward 001444d8: 08051140 j 0x00144500 GOTO (AAA) 001444dc: 340500d2 ori r5,r0,0x00d2 001444e0: 12820690 beq r20,r2,0x00145f24 {D2} ForwardTarget | GOTO END 001444e4: 340200d4 ori r2,r0,0x00d4 001444e8: 12820694 beq r20,r2,0x00145f3c {D4} 001444ec: 340200d3 ori r2,r0,0x00d3 001444f0: 16820008 bne r20,r2,0x00144514 001444f4: 340200d5 ori r2,r0,0x00d5 001444f8: 03c02021 addu r4,r30,r0 {D3} JumpBack (C) Block Start 001444fc: 340500d5 ori r5,r0,0x00d5 Block End = D5 00144500: 2406ffff addiu r6,r0,0xffff (AAA) 00144504: 0c05275b jal 0x00149d6c Event Jump 00144508: 02403821 addu r7,r18,r0 0014450c: 08050f43 j 0x00143d0c 00144510: 0040f021 addu r30,r2,r0 00144514: 12820683 beq r20,r2,0x00145f24 {D5} BackTarget | GOTO END 00144518: 340200d8 ori r2,r0,0x00d8 0014451c: 12820681 beq r20,r2,0x00145f24 {D8} GOTO END 00144520: 340200d9 ori r2,r0,0x00d9 00144524: 1282067f beq r20,r2,0x00145f24 {D9} GOTO END 00144528: 340200dc ori r2,r0,0x00dc 0014452c: 16820006 bne r20,r2,0x00144548 00144530: 34020010 ori r2,r0,0x0010 00144534: 3402000d ori r2,r0,0x000d {DC} 00144538: 3c018016 lui r1,0x8016 0014453c: a4225fb0 sh r2,0x5fb0(r1) 00144540: 080517c9 j 0x00145f24 GOTO END 00144544: 00000000 nop 00144548: 1682004c bne r20,r2,0x0014467c 0014454c: 34020051 ori r2,r0,0x0051 00144550: 0c0526fb jal 0x00149bec Get Next Available Thread ID {10} DisplayMessage 00144554: 02402021 addu r4,r18,r0 00144558: 00409021 addu r18,r2,r0 0014455c: 3c058013 lui r5,0x8013 00144560: 24a508c0 addiu r5,r5,0x08c0 00144564: 0c053228 jal 0x0014c8a0 Initialize Thread 00144568: 02402021 addu r4,r18,r0 0014456c: 03c02021 addu r4,r30,r0 00144570: 02a02821 addu r5,r21,r0 00144574: 00128280 sll r16,r18,0x0a 00144578: 3c068017 lui r6,0x8017 0014457c: 24c698d4 addiu r6,r6,0x98d4 00144580: 0c04bd38 jal 0x0012f4e0 0012f4e0 - 0012f658 00144584: 02063021 addu r6,r16,r6 00144588: 00171200 sll r2,r23,0x08 0014458c: 00561021 addu r2,r2,r22 00144590: 3c048017 lui r4,0x8017 00144594: 8c843ca4 lw r4,0x3ca4(r4) 00144598: 2442ffff addiu r2,r2,0xffff 0014459c: 3c018017 lui r1,0x8017 001445a0: 00300821 addu r1,r1,r16 001445a4: ac35986c sw r21,-0x6794(r1) 001445a8: 3c018017 lui r1,0x8017 001445ac: 00300821 addu r1,r1,r16 001445b0: ac229870 sw r2,-0x6790(r1) 001445b4: 009e2021 addu r4,r4,r30 001445b8: 90970006 lbu r23,0x0006(r4) 001445bc: 90960005 lbu r22,0x0005(r4) 001445c0: 00171200 sll r2,r23,0x08 001445c4: 00561021 addu r2,r2,r22 001445c8: 3c018017 lui r1,0x8017 001445cc: 00300821 addu r1,r1,r16 001445d0: ac229874 sw r2,-0x678c(r1) 001445d4: 90820007 lbu r2,0x0007(r4) 001445d8: 3c018017 lui r1,0x8017 001445dc: 00300821 addu r1,r1,r16 001445e0: ac229878 sw r2,-0x6788(r1) 001445e4: 0c05181e jal 0x00146078 Load Halfword | Load event command bytes 001445e8: 24840008 addiu r4,r4,0x0008 001445ec: 00021400 sll r2,r2,0x10 001445f0: 3c048017 lui r4,0x8017 001445f4: 8c843ca4 lw r4,0x3ca4(r4) 001445f8: 00021403 sra r2,r2,0x10 001445fc: 3c018017 lui r1,0x8017 00144600: 00300821 addu r1,r1,r16 00144604: ac2298c4 sw r2,-0x673c(r1) 00144608: 03c42021 addu r4,r30,r4 0014460c: 0c05181e jal 0x00146078 Load Halfword | Load event command bytes 00144610: 2484000a addiu r4,r4,0x000a 00144614: 00021400 sll r2,r2,0x10 00144618: 3c048017 lui r4,0x8017 0014461c: 8c843ca4 lw r4,0x3ca4(r4) 00144620: 00021403 sra r2,r2,0x10 00144624: 3c018017 lui r1,0x8017 00144628: 00300821 addu r1,r1,r16 0014462c: ac2298c8 sw r2,-0x6738(r1) 00144630: 03c42021 addu r4,r30,r4 00144634: 0c05181e jal 0x00146078 Load Halfword | Load event command bytes 00144638: 2484000c addiu r4,r4,0x000c 0014463c: 00021400 sll r2,r2,0x10 00144640: 3c038017 lui r3,0x8017 00144644: 8c633ca4 lw r3,0x3ca4(r3) 00144648: 00021403 sra r2,r2,0x10 0014464c: 3c018017 lui r1,0x8017 00144650: 00300821 addu r1,r1,r16 00144654: ac2298cc sw r2,-0x6734(r1) 00144658: 007e1821 addu r3,r3,r30 0014465c: 9062000e lbu r2,0x000e(r3) 00144660: 3c018017 lui r1,0x8017 00144664: 00300821 addu r1,r1,r16 00144668: ac2298d0 sw r2,-0x6730(r1) 0014466c: 0c0532a0 jal 0x0014ca80 Switch To Next Thread 00144670: 00000000 nop 00144674: 080517c9 j 0x00145f24 GOTO END 00144678: 00000000 nop 0014467c: 1682003c bne r20,r2,0x00144770 00144680: 34020050 ori r2,r0,0x0050 00144684: 00008021 addu r16,r0,r0 {51} ChangeDialog 00144688: 00008821 addu r17,r0,r0 0014468c: 3c018017 lui r1,0x8017 00144690: 00310821 addu r1,r1,r17 00144694: 8c22e450 lw r2,-0x1bb0(r1) 00144698: 3c018017 lui r1,0x8017 0014469c: 00310821 addu r1,r1,r17 001446a0: 8c35e440 lw r21,-0x1bc0(r1) 001446a4: 1452002c bne r2,r18,0x00144758 001446a8: 00000000 nop 001446ac: 0c053325 jal 0x0014cc94 Check Thread Running Status 001446b0: 02a02021 addu r4,r21,r0 001446b4: 34080001 ori r8,r0,0x0001 001446b8: 14480027 bne r2,r8,0x00144758 001446bc: 00159a80 sll r19,r21,0x0a 001446c0: 3c018017 lui r1,0x8017 001446c4: 00330821 addu r1,r1,r19 001446c8: 8c2398b8 lw r3,-0x6748(r1) 001446cc: 34020033 ori r2,r0,0x0033 001446d0: 14620021 bne r3,r2,0x00144758 001446d4: 00000000 nop 001446d8: 3c048017 lui r4,0x8017 001446dc: 8c843ca4 lw r4,0x3ca4(r4) 001446e0: 00000000 nop 001446e4: 03c42021 addu r4,r30,r4 001446e8: 0c05181e jal 0x00146078 Load Halfword | Load event command bytes 001446ec: 24840002 addiu r4,r4,0x0002 001446f0: 00021400 sll r2,r2,0x10 001446f4: 00029403 sra r18,r2,0x10 001446f8: 3243ffff andi r3,r18,0xffff 001446fc: 3402ffff ori r2,r0,0xffff 00144700: 10620002 beq r3,r2,0x0014470c 00144704: 00000000 nop 00144708: 2652ffff addiu r18,r18,0xffff 0014470c: 3c048017 lui r4,0x8017 00144710: 8c843ca4 lw r4,0x3ca4(r4) 00144714: 3c018017 lui r1,0x8017 00144718: 00330821 addu r1,r1,r19 0014471c: ac329870 sw r18,-0x6790(r1) 00144720: 03c42021 addu r4,r30,r4 00144724: 0c05181e jal 0x00146078 Load Halfword | Load event command bytes 00144728: 24840004 addiu r4,r4,0x0004 0014472c: 00021400 sll r2,r2,0x10 00144730: 00021403 sra r2,r2,0x10 00144734: 34080001 ori r8,r0,0x0001 00144738: 3c018017 lui r1,0x8017 0014473c: 00330821 addu r1,r1,r19 00144740: ac229878 sw r2,-0x6788(r1) 00144744: 3c018017 lui r1,0x8017 00144748: 00330821 addu r1,r1,r19 0014474c: ac2898b8 sw r8,-0x6748(r1) 00144750: 080517c9 j 0x00145f24 GOTO END 00144754: 00000000 nop 00144758: 26100002 addiu r16,r16,0x0002 0014475c: 2a020006 slti r2,r16,0x0006 00144760: 1440ffca bne r2,r0,0x0014468c 00144764: 26310230 addiu r17,r17,0x0230 00144768: 080517c9 j 0x00145f24 GOTO END 0014476c: 00000000 nop 00144770: 16820005 bne r20,r2,0x00144788 00144774: 34020054 ori r2,r0,0x0054 00144778: 0c04f22a jal 0x0013c8a8 0013c8a8 - 0013c9bc {50} PortraitCol 0014477c: 02402021 addu r4,r18,r0 00144780: 080517c9 j 0x00145f24 GOTO END 00144784: 00000000 nop 00144788: 1682000c bne r20,r2,0x001447bc 0014478c: 34020056 ori r2,r0,0x0056 00144790: 34080001 ori r8,r0,0x0001 {54} Use3DObject 00144794: 3c018016 lui r1,0x8016 00144798: a4285fe2 sh r8,0x5fe2(r1) 0014479c: 3c018017 lui r1,0x8017 001447a0: a4323c94 sh r18,0x3c94(r1) 001447a4: 3c018017 lui r1,0x8017 001447a8: a4353c96 sh r21,0x3c96(r1) 001447ac: 0c0532a0 jal 0x0014ca80 Switch To Next Thread 001447b0: 00000000 nop 001447b4: 080517c9 j 0x00145f24 GOTO END 001447b8: 00000000 nop 001447bc: 1682000d bne r20,r2,0x001447f4 001447c0: 34020055 ori r2,r0,0x0055 001447c4: 34080001 ori r8,r0,0x0001 {56} Wait3DObject 001447c8: 3c018016 lui r1,0x8016 001447cc: a428606e sh r8,0x606e(r1) 001447d0: 0c0532a0 jal 0x0014ca80 Switch To Next Thread 001447d4: 00000000 nop 001447d8: 3c028016 lui r2,0x8016 001447dc: 9442606e lhu r2,0x606e(r2) 001447e0: 00000000 nop 001447e4: 104005cf beq r2,r0,0x00145f24 001447e8: 00000000 nop 001447ec: 080511f4 j 0x001447d0 001447f0: 00000000 nop 001447f4: 1682000c bne r20,r2,0x00144828 001447f8: 34020057 ori r2,r0,0x0057 001447fc: 34080001 ori r8,r0,0x0001 {55} UseFieldObject 00144800: 3c018016 lui r1,0x8016 00144804: a4285fe4 sh r8,0x5fe4(r1) 00144808: 3c018017 lui r1,0x8017 0014480c: a4324058 sh r18,0x4058(r1) 00144810: 3c018017 lui r1,0x8017 00144814: a435405a sh r21,0x405a(r1) 00144818: 0c0532a0 jal 0x0014ca80 Switch To Next Thread 0014481c: 00000000 nop 00144820: 080517c9 j 0x00145f24 GOTO END 00144824: 00000000 nop 00144828: 1682000d bne r20,r2,0x00144860 0014482c: 34020068 ori r2,r0,0x0068 00144830: 34080001 ori r8,r0,0x0001 {57} WaitFieldObject ? 00144834: 3c018016 lui r1,0x8016 00144838: a4286070 sh r8,0x6070(r1) 0014483c: 0c0532a0 jal 0x0014ca80 Switch To Next Thread 00144840: 00000000 nop 00144844: 3c028016 lui r2,0x8016 00144848: 94426070 lhu r2,0x6070(r2) 0014484c: 00000000 nop 00144850: 104005b4 beq r2,r0,0x00145f24 00144854: 00000000 nop 00144858: 0805120f j 0x0014483c 0014485c: 00000000 nop 00144860: 16820005 bne r20,r2,0x00144878 00144864: 34020097 ori r2,r0,0x0097 00144868: 0c04f997 jal 0x0013e65c 0013e65c - 0013e6c0 {68} MirrorSprite 0014486c: 02202021 addu r4,r17,r0 00144870: 080517c9 j 0x00145f24 GOTO END 00144874: 00000000 nop 00144878: 16820005 bne r20,r2,0x00144890 0014487c: 34020071 ori r2,r0,0x0071 00144880: 0c04f9b1 jal 0x0013e6c4 0013e6c4 - 0013e704 {97} ResetUnitColor 00144884: 02202021 addu r4,r17,r0 00144888: 080517c9 j 0x00145f24 GOTO END 0014488c: 00000000 nop 00144890: 1682000c bne r20,r2,0x001448c4 00144894: 34020011 ori r2,r0,0x0011 00144898: 00132400 sll r4,r19,0x10 {71} 0014489c: 0c04cc56 jal 0x00133158 Get misc ID] 001448a0: 00042403 sra r4,r4,0x10 001448a4: 00409021 addu r18,r2,r0 001448a8: 340807d0 ori r8,r0,0x07d0 001448ac: 1248059d beq r18,r8,0x00145f24 001448b0: 00000000 nop 001448b4: 0c01e9ee jal 0x0007a7b8 0007a7b8 - 0007a83c 001448b8: 02402021 addu r4,r18,r0 001448bc: 080517c9 j 0x00145f24 GOTO END 001448c0: 00000000 nop 001448c4: 16820005 bne r20,r2,0x001448dc 001448c8: 34020080 ori r2,r0,0x0080 001448cc: 0c0524e6 jal 0x00149398 {11} UnitAnim 001448d0: 02202021 addu r4,r17,r0 001448d4: 080517c9 j 0x00145f24 GOTO END 001448d8: 00000000 nop 001448dc: 16820005 bne r20,r2,0x001448f4 001448e0: 34020081 ori r2,r0,0x0081 001448e4: 0c052524 jal 0x00149490 00149490 - 00149528 {80} March 001448e8: 02202021 addu r4,r17,r0 001448ec: 080517c9 j 0x00145f24 GOTO END 001448f0: 00000000 nop 001448f4: 16820005 bne r20,r2,0x0014490c 001448f8: 34020012 ori r2,r0,0x0012 001448fc: 0c05254b jal 0x0014952c 0014952c - 001495dc {81} 00144900: 02202021 addu r4,r17,r0 00144904: 080517c9 j 0x00145f24 GOTO END 00144908: 00000000 nop 0014490c: 1682000c bne r20,r2,0x00144940 00144910: 34020013 ori r2,r0,0x0013 00144914: 00132400 sll r4,r19,0x10 {12} 00144918: 0c04cc56 jal 0x00133158 Get misc ID] 0014491c: 00042403 sra r4,r4,0x10 00144920: 00409021 addu r18,r2,r0 00144924: 340807d0 ori r8,r0,0x07d0 00144928: 1248057e beq r18,r8,0x00145f24 0014492c: 00000000 nop 00144930: 0c052936 jal 0x0014a4d8 0014a4d8 - 0014a518 00144934: 02402021 addu r4,r18,r0 00144938: 080517c9 j 0x00145f24 GOTO END 0014493c: 00000000 nop 00144940: 16820005 bne r20,r2,0x00144958 00144944: 3402004c ori r2,r0,0x004c 00144948: 3c018017 lui r1,0x8017 {13} ChangeMapBeta 0014494c: a4334054 sh r19,0x4054(r1) 00144950: 0805125a j 0x00144968 00144954: 00000000 nop 00144958: 16820009 bne r20,r2,0x00144980 0014495c: 3402004f ori r2,r0,0x004f 00144960: 3c018017 lui r1,0x8017 {4C} ChangeMap 00144964: a433405c sh r19,0x405c(r1) 00144968: 0c053216 jal 0x0014c858 Wait 0014496c: 34040002 ori r4,r0,0x0002 00144970: 0c04fc30 jal 0x0013f0c0 0013f0c0 - 0013f164 00144974: 00000000 nop 00144978: 080517c9 j 0x00145f24 GOTO END 0014497c: 00000000 nop 00144980: 16820005 bne r20,r2,0x00144998 00144984: 3402003c ori r2,r0,0x003c 00144988: 3c018017 lui r1,0x8017 {4F} SetDaytime 0014498c: a4323f64 sh r18,0x3f64(r1) 00144990: 0805126a j 0x001449a8 00144994: 00000000 nop 00144998: 16820009 bne r20,r2,0x001449c0 0014499c: 34020027 ori r2,r0,0x0027 001449a0: 3c018017 lui r1,0x8017 {3C} Weather 001449a4: a4333f68 sh r19,0x3f68(r1) 001449a8: 0c053216 jal 0x0014c858 Wait 001449ac: 34040002 ori r4,r0,0x0002 001449b0: 0c051829 jal 0x001460a4 001460a4 - 001460e0 001449b4: 00000000 nop 001449b8: 080517c9 j 0x00145f24 GOTO END 001449bc: 00000000 nop 001449c0: 1682000d bne r20,r2,0x001449f8 001449c4: 34020096 ori r2,r0,0x0096 001449c8: 34080001 ori r8,r0,0x0001 {27} ReloadMapState 001449cc: 3c018016 lui r1,0x8016 001449d0: a4285fde sh r8,0x5fde(r1) 001449d4: 0c0532a0 jal 0x0014ca80 Switch To Next Thread 001449d8: 00000000 nop 001449dc: 3c028016 lui r2,0x8016 001449e0: 94425fde lhu r2,0x5fde(r2) 001449e4: 00000000 nop 001449e8: 1040054e beq r2,r0,0x00145f24 001449ec: 00000000 nop 001449f0: 08051275 j 0x001449d4 001449f4: 00000000 nop 001449f8: 1682000d bne r20,r2,0x00144a30
Return Locations
00143b90: 00143bb8:
Routine continues at Event Instruction Main Routine 2 >