Difference between revisions of "Event Instruction Main Routine 2"
Jump to navigation
Jump to search
m (A couple thread-related jal titles/links tossed in by DisplayConditions.) |
|||
Line 574: | Line 574: | ||
001452f0: 16420004 bne r18,r2,0x 00145304 | 001452f0: 16420004 bne r18,r2,0x 00145304 | ||
001452f4: 00000000 nop | 001452f4: 00000000 nop | ||
− | 001452f8: 0c053274 jal 0x0014c9d0 | + | 001452f8: 0c053274 jal 0x0014c9d0 [[Wait For Thread]] |
001452fc: 34040002 ori r4,r0,0x0002 | 001452fc: 34040002 ori r4,r0,0x0002 | ||
00145300: 34160002 ori r22,r0,0x0002 | 00145300: 34160002 ori r22,r0,0x0002 | ||
00145304: 3c058014 lui r5,0x8014 | 00145304: 3c058014 lui r5,0x8014 | ||
00145308: 24a5bd6c addiu r5,r5,0xbd6c | 00145308: 24a5bd6c addiu r5,r5,0xbd6c | ||
− | 0014530c: 0c053228 jal 0x0014c8a0 | + | 0014530c: 0c053228 jal 0x0014c8a0 [[Initialize Thread]] |
00145310: 02c02021 addu r4,r22,r0 | 00145310: 02c02021 addu r4,r22,r0 | ||
00145314: 02c02021 addu r4,r22,r0 | 00145314: 02c02021 addu r4,r22,r0 |
Latest revision as of 03:16, 8 August 2024
001449fc: 34020016 ori r2,r0,0x0016 00144a00: 34080001 ori r8,r0,0x0001 {96} 00144a04: 3c018016 lui r1,0x8016 00144a08: a4285fe0 sh r8,0x5fe0(r1) 00144a0c: 0c0532a0 jal 0x0014ca80 00144a10: 00000000 nop 00144a14: 3c028016 lui r2,0x8016 00144a18: 94425fe0 lhu r2,0x5fe0(r2) 00144a1c: 00000000 nop 00144a20: 10400540 beq r2,r0,0x 00145f24 00144a24: 00000000 nop 00144a28: 08051283 j 0x 00144a0c 00144a2c: 00000000 nop 00144a30: 16820005 bne r20,r2,0x 00144a48 00144a34: 34020026 ori r2,r0,0x0026 00144a38: 0c04cbe7 jal 0x00132f9c {16} Pause 00144a3c: 00000000 nop 00144a40: 080517c9 j 0x 00145f24 GOTO END 00144a44: 00000000 nop 00144a48: 1682001a bne r20,r2,0x 00144ab4 00144a4c: 34020037 ori r2,r0,0x0037 00144a50: 34100001 ori r16,r0,0x0001 {26} 00144a54: 34050002 ori r5,r0,0x0002 00144a58: 00131400 sll r2,r19,0x10 00144a5c: 00022403 sra r4,r2,0x10 00144a60: 3c038017 lui r3,0x8017 00144a64: 24639c6c addiu r3,r3,0x9c6c 00144a68: 8c620048 lw r2,0x0048(r3) 00144a6c: 00000000 nop 00144a70: 1040000b beq r2,r0,0x 00144aa0 00144a74: 26100001 addiu r16,r16,0x0001 00144a78: 8c62004c lw r2,0x004c(r3) 00144a7c: 00000000 nop 00144a80: 14450008 bne r2,r5,0x 00144aa4 00144a84: 2a020010 slti r2,r16,0x0010 00144a88: 8c620004 lw r2,0x0004(r3) 00144a8c: 00000000 nop 00144a90: 14440004 bne r2,r4,0x 00144aa4 00144a94: 2a020010 slti r2,r16,0x0010 00144a98: 34080001 ori r8,r0,0x0001 00144a9c: ac68004c sw r8,0x004c(r3) 00144aa0: 2a020010 slti r2,r16,0x0010 00144aa4: 1440fff0 bne r2,r0,0x 00144a68 00144aa8: 24630400 addiu r3,r3,0x0400 00144aac: 080517c9 j 0x 00145f24 GOTO END 00144ab0: 00000000 nop 00144ab4: 16820005 bne r20,r2,0x 00144acc 00144ab8: 34020017 ori r2,r0,0x0017 00144abc: 0c0526ce jal 0x00149b38 {37} 00144ac0: 02202021 addu r4,r17,r0 00144ac4: 080517c9 j 0x 00145f24 GOTO END 00144ac8: 00000000 nop 00144acc: 12820515 beq r20,r2,0x 00145f24 {17} GOTO END 00144ad0: 34020018 ori r2,r0,0x0018 00144ad4: 1682001e bne r20,r2,0x 00144b50 00144ad8: 3402008a ori r2,r0,0x008a 00144adc: 3c028017 lui r2,0x8017 {18} Effect 00144ae0: 8c423ca4 lw r2,0x3ca4(r2) 00144ae4: 3c018017 lui r1,0x8017 00144ae8: a4333cb4 sh r19,0x3cb4(r1) 00144aec: 005e1021 addu r2,r2,r30 00144af0: 90440003 lbu r4,0x0003(r2) 00144af4: 0c04cc56 jal 0x00133158 00144af8: 00000000 nop 00144afc: 3c038017 lui r3,0x8017 00144b00: 8c633ca4 lw r3,0x3ca4(r3) 00144b04: 3c018016 lui r1,0x8016 00144b08: a4225ff8 sh r2,0x5ff8(r1) 00144b0c: 007e1821 addu r3,r3,r30 00144b10: 90620004 lbu r2,0x0004(r3) 00144b14: 3c018016 lui r1,0x8016 00144b18: a4225ffc sh r2,0x5ffc(r1) 00144b1c: 90620005 lbu r2,0x0005(r3) 00144b20: 3404001f ori r4,r0,0x001f 00144b24: 3c018016 lui r1,0x8016 00144b28: a4225ffe sh r2,0x5ffe(r1) 00144b2c: 90620006 lbu r2,0x0006(r3) 00144b30: 3c018016 lui r1,0x8016 00144b34: a4226000 sh r2,0x6000(r1) 00144b38: 0c04ed91 jal 0x0013b644 00144b3c: 00002821 addu r5,r0,r0 00144b40: 0c053216 jal 0x0014c858 00144b44: 34040002 ori r4,r0,0x0002 00144b48: 080517c9 j 0x 00145f24 GOTO END 00144b4c: 00000000 nop 00144b50: 1682000d bne r20,r2,0x 00144b88 00144b54: 3402008b ori r2,r0,0x008b 00144b58: 3c108009 lui r16,0x8009 {8A} EffectStart 00144b5c: 2610dda8 addiu r16,r16,0xdda8 00144b60: 0c0532a0 jal 0x0014ca80 00144b64: 00000000 nop 00144b68: 3c018017 lui r1,0x8017 00144b6c: ac303ca8 sw r16,0x3ca8(r1) 00144b70: 0c0533ad jal 0x0014ceb4 00144b74: 00000000 nop 00144b78: 104004ea beq r2,r0,0x 00145f24 00144b7c: 00000000 nop 00144b80: 080512d8 j 0x 00144b60 00144b84: 00000000 nop 00144b88: 16820009 bne r20,r2,0x 00144bb0 00144b8c: 3402001f ori r2,r0,0x001f 00144b90: 0c0526fb jal 0x00149bec {8B} EffectEnd 00144b94: 34040010 ori r4,r0,0x0010 00144b98: 3c058014 lui r5,0x8014 00144b9c: 24a5e8d4 addiu r5,r5,0xe8d4 00144ba0: 0c053228 jal 0x0014c8a0 00144ba4: 00402021 addu r4,r2,r0 00144ba8: 080517c9 j 0x 00145f24 GOTO END 00144bac: 00000000 nop 00144bb0: 1682000b bne r20,r2,0x 00144be0 00144bb4: 34020038 ori r2,r0,0x0038 00144bb8: 3c028016 lui r2,0x8016 {1F} Focus 00144bbc: 8c425f9c lw r2,0x5f9c(r2) 00144bc0: 00000000 nop 00144bc4: 8c440078 lw r4,0x0078(r2) 00144bc8: 0c051cb7 jal 0x001472dc 00144bcc: 00000000 nop 00144bd0: 0c051d61 jal 0x00147584 00144bd4: 02202021 addu r4,r17,r0 00144bd8: 080517c9 j 0x 00145f24 GOTO END 00144bdc: 00000000 nop 00144be0: 16820009 bne r20,r2,0x 00144c08 00144be4: 34020073 ori r2,r0,0x0073 00144be8: 3c068016 lui r6,0x8016 {38} 00144bec: 8cc65f9c lw r6,0x5f9c(r6) 00144bf0: 02202021 addu r4,r17,r0 00144bf4: 24c50068 addiu r5,r6,0x0068 00144bf8: 0c051de0 jal 0x00147780 00144bfc: 24c60074 addiu r6,r6,0x0074 00144c00: 080517c9 j 0x 00145f24 GOTO END 00144c04: 00000000 nop 00144c08: 16820008 bne r20,r2,0x 00144c2c 00144c0c: 34020019 ori r2,r0,0x0019 00144c10: 3c058016 lui r5,0x8016 {73} 00144c14: 8ca55f9c lw r5,0x5f9c(r5) 00144c18: 02202021 addu r4,r17,r0 00144c1c: 0c051d29 jal 0x001474a4 00144c20: 24a50068 addiu r5,r5,0x0068 00144c24: 080517c9 j 0x 00145f24 GOTO END 00144c28: 00000000 nop 00144c2c: 16820008 bne r20,r2,0x 00144c50 00144c30: 3402001d ori r2,r0,0x001d 00144c34: 0c0526fb jal 0x00149bec {19} Camera 00144c38: 34040010 ori r4,r0,0x0010 00144c3c: 00409021 addu r18,r2,r0 00144c40: 3c058014 lui r5,0x8014 00144c44: 24a56110 addiu r5,r5,0x6110 00144c48: 08051413 j 0x 0014504c 00144c4c: 02402021 addu r4,r18,r0 00144c50: 1682000f bne r20,r2,0x 00144c90 00144c54: 3402001e ori r2,r0,0x001e 00144c58: 0c0526fb jal 0x00149bec {1D} 00144c5c: 34040010 ori r4,r0,0x0010 00144c60: 00409021 addu r18,r2,r0 00144c64: 3c058014 lui r5,0x8014 00144c68: 24a5db9c addiu r5,r5,0xdb9c 00144c6c: 0c053228 jal 0x0014c8a0 00144c70: 02402021 addu r4,r18,r0 00144c74: 00121280 sll r2,r18,0x0a 00144c78: 3c018017 lui r1,0x8017 00144c7c: 00220821 addu r1,r1,r2 00144c80: ac31986c sw r17,-0x6794(r1) 00144c84: 03c02021 addu r4,r30,r0 00144c88: 08051651 j 0x 00145944 00144c8c: 3405001e ori r5,r0,0x001e Block End = 1E 00144c90: 128204a4 beq r20,r2,0x 00145f24 {1E} GOTO END 00144c94: 34020063 ori r2,r0,0x0063 00144c98: 16820005 bne r20,r2,0x 00144cb0 00144c9c: 34020074 ori r2,r0,0x0074 00144ca0: 3c018016 lui r1,0x8016 {63} 00144ca4: ac326054 sw r18,0x6054(r1) 00144ca8: 080517c9 j 0x 00145f24 GOTO END 00144cac: 00000000 nop 00144cb0: 16820005 bne r20,r2,0x 00144cc8 00144cb4: 34020028 ori r2,r0,0x0028 00144cb8: 0c0526f9 jal 0x00149be4 {74} 00144cbc: 02202021 addu r4,r17,r0 00144cc0: 080517c9 j 0x 00145f24 GOTO END 00144cc4: 00000000 nop 00144cc8: 16820009 bne r20,r2,0x 00144cf0 00144ccc: 34020070 ori r2,r0,0x0070 00144cd0: 3c028014 lui r2,0x8014 {28} WalkTo 00144cd4: 2442e5c0 addiu r2,r2,0xe5c0 00144cd8: 3c018017 lui r1,0x8017 00144cdc: ac223ca8 sw r2,0x3ca8(r1) 00144ce0: 0c0533ad jal 0x0014ceb4 00144ce4: 02202021 addu r4,r17,r0 00144ce8: 080517c9 j 0x 00145f24 GOTO END 00144cec: 00000000 nop 00144cf0: 16820005 bne r20,r2,0x 00144d08 00144cf4: 34020029 ori r2,r0,0x0029 00144cf8: 0c04f9c2 jal 0x0013e708 {70} 00144cfc: 02202021 addu r4,r17,r0 00144d00: 080517c9 j 0x 00145f24 GOTO END 00144d04: 00000000 nop 00144d08: 16820006 bne r20,r2,0x 00144d24 00144d0c: 34020079 ori r2,r0,0x0079 00144d10: 00132400 sll r4,r19,0x10 {29} WaitWalk 00144d14: 0c04f9f4 jal 0x0013e7d0 00144d18: 00042403 sra r4,r4,0x10 00144d1c: 080517c9 j 0x 00145f24 GOTO END 00144d20: 00000000 nop 00144d24: 16820017 bne r20,r2,0x 00144d84 00144d28: 34020039 ori r2,r0,0x0039 00144d2c: 00132400 sll r4,r19,0x10 {79} MovementAnim 00144d30: 0c04cc56 jal 0x00133158 00144d34: 00042403 sra r4,r4,0x10 00144d38: 00409021 addu r18,r2,r0 00144d3c: 340807d0 ori r8,r0,0x07d0 00144d40: 12480478 beq r18,r8,0x 00145f24 00144d44: 00000000 nop 00144d48: 3c048017 lui r4,0x8017 00144d4c: 8c843ca4 lw r4,0x3ca4(r4) 00144d50: 00000000 nop 00144d54: 03c42021 addu r4,r30,r4 00144d58: 0c05181e jal 0x00146078 00144d5c: 24840003 addiu r4,r4,0x0003 00144d60: 00121840 sll r3,r18,0x01 00144d64: 3c018017 lui r1,0x8017 00144d68: 00230821 addu r1,r1,r3 00144d6c: a422da6c sh r2,-0x2594(r1) 00144d70: 3c018017 lui r1,0x8017 00144d74: 00230821 addu r1,r1,r3 00144d78: a420da98 sh r0,-0x2568(r1) 00144d7c: 080517c9 j 0x 00145f24 GOTO END 00144d80: 00000000 nop 00144d84: 16820009 bne r20,r2,0x 00144dac 00144d88: 3402003a ori r2,r0,0x003a 00144d8c: 0c0532a0 jal 0x0014ca80 {39} 00144d90: 00000000 nop 00144d94: 0c051801 jal 0x00146004 00144d98: 2404ffff addiu r4,r0,0xffff 00144d9c: 10400461 beq r2,r0,0x 00145f24 00144da0: 00000000 nop 00144da4: 08051363 j 0x 00144d8c 00144da8: 00000000 nop 00144dac: 16820009 bne r20,r2,0x 00144dd4 00144db0: 3402002d ori r2,r0,0x002d 00144db4: 0c0532a0 jal 0x0014ca80 {3A} 00144db8: 00000000 nop 00144dbc: 0c0111b2 jal 0x000446c8 00144dc0: 00000000 nop 00144dc4: 10400457 beq r2,r0,0x 00145f24 00144dc8: 00000000 nop 00144dcc: 0805136d j 0x 00144db4 00144dd0: 00000000 nop 00144dd4: 16820005 bne r20,r2,0x 00144dec 00144dd8: 3402002c ori r2,r0,0x002c 00144ddc: 0c0520a1 jal 0x00148284 {2D} RotateUnit 00144de0: 02202021 addu r4,r17,r0 00144de4: 080517c9 j 0x 00145f24 GOTO END 00144de8: 00000000 nop 00144dec: 16820006 bne r20,r2,0x 00144e08 00144df0: 34020053 ori r2,r0,0x0053 00144df4: 02202021 addu r4,r17,r0 {2C} 00144df8: 0c052021 jal 0x00148084 00144dfc: 00002821 addu r5,r0,r0 00144e00: 080517c9 j 0x 00145f24 GOTO END 00144e04: 00000000 nop 00144e08: 16820006 bne r20,r2,0x 00144e24 00144e0c: 34020069 ori r2,r0,0x0069 00144e10: 02202021 addu r4,r17,r0 {53} FaceUnit 00144e14: 0c052021 jal 0x00148084 00144e18: 34050001 ori r5,r0,0x0001 00144e1c: 080517c9 j 0x 00145f24 GOTO END 00144e20: 00000000 nop 00144e24: 16820005 bne r20,r2,0x 00144e3c 00144e28: 34020064 ori r2,r0,0x0064 00144e2c: 0c0525e3 jal 0x0014978c {69} 00144e30: 02202021 addu r4,r17,r0 00144e34: 080517c9 j 0x 00145f24 GOTO END 00144e38: 00000000 nop 00144e3c: 16820006 bne r20,r2,0x 00144e58 00144e40: 34020065 ori r2,r0,0x0065 00144e44: 00132400 sll r4,r19,0x10 {64} WaitRotateUnit ? 00144e48: 0c05263f jal 0x001498fc 00144e4c: 00042403 sra r4,r4,0x10 00144e50: 080517c9 j 0x 00145f24 GOTO END 00144e54: 00000000 nop 00144e58: 16820005 bne r20,r2,0x 00144e70 00144e5c: 3402002a ori r2,r0,0x002a 00144e60: 0c05263f jal 0x001498fc {65} WaitFaceUnit ? 00144e64: 2404ffff addiu r4,r0,0xffff 00144e68: 080517c9 j 0x 00145f24 GOTO END 00144e6c: 00000000 nop 00144e70: 1682000f bne r20,r2,0x 00144eb0 00144e74: 3402002b ori r2,r0,0x002b 00144e78: 0c0526fb jal 0x00149bec {2A} (A) Block Start 00144e7c: 34040010 ori r4,r0,0x0010 00144e80: 00409021 addu r18,r2,r0 00144e84: 3c058014 lui r5,0x8014 00144e88: 24a5e904 addiu r5,r5,0xe904 00144e8c: 0c053228 jal 0x0014c8a0 00144e90: 02402021 addu r4,r18,r0 00144e94: 00121280 sll r2,r18,0x0a 00144e98: 3c018017 lui r1,0x8017 00144e9c: 00220821 addu r1,r1,r2 00144ea0: ac31986c sw r17,-0x6794(r1) 00144ea4: 03c02021 addu r4,r30,r0 00144ea8: 08051651 j 0x 00145944 00144eac: 3405002b ori r5,r0,0x002b Block End = 2B 00144eb0: 1282041c beq r20,r2,0x 00145f24 {2B} GOTO END 00144eb4: 34020023 ori r2,r0,0x0023 00144eb8: 1282041a beq r20,r2,0x 00145f24 {23} GOTO END 00144ebc: 34020024 ori r2,r0,0x0024 00144ec0: 12820418 beq r20,r2,0x 00145f24 {24} GOTO END 00144ec4: 34020042 ori r2,r0,0x0042 00144ec8: 16820009 bne r20,r2,0x 00144ef0 00144ecc: 34020025 ori r2,r0,0x0025 00144ed0: 0c053216 jal 0x0014c858 {42} 00144ed4: 34040001 ori r4,r0,0x0001 00144ed8: 0c05272f jal 0x00149cbc 00144edc: 3404000d ori r4,r0,0x000d 00144ee0: 0c053250 jal 0x0014c940 00144ee4: 00402021 addu r4,r2,r0 00144ee8: 080517c9 j 0x 00145f24 GOTO END 00144eec: 00000000 nop 00144ef0: 1682000c bne r20,r2,0x 00144f24 00144ef4: 3402001a ori r2,r0,0x001a 00144ef8: 3c048017 lui r4,0x8017 {25} 00144efc: 8c843ca4 lw r4,0x3ca4(r4) 00144f00: 3c018016 lui r1,0x8016 00144f04: a4336072 sh r19,0x6072(r1) 00144f08: 03c42021 addu r4,r30,r4 00144f0c: 0c05181e jal 0x00146078 00144f10: 24840003 addiu r4,r4,0x0003 00144f14: 3c018016 lui r1,0x8016 00144f18: a4226074 sh r2,0x6074(r1) 00144f1c: 080517c9 j 0x 00145f24 GOTO END 00144f20: 00000000 nop 00144f24: 16820008 bne r20,r2,0x 00144f48 00144f28: 3402003e ori r2,r0,0x003e 00144f2c: 0c0526fb jal 0x00149bec {1A} 00144f30: 34040010 ori r4,r0,0x0010 00144f34: 00409021 addu r18,r2,r0 00144f38: 3c058014 lui r5,0x8014 00144f3c: 24a566b4 addiu r5,r5,0x66b4 00144f40: 08051413 j 0x 0014504c 00144f44: 02402021 addu r4,r18,r0 00144f48: 16820008 bne r20,r2,0x 00144f6c 00144f4c: 34020041 ori r2,r0,0x0041 00144f50: 0c0526fb jal 0x00149bec {3E} 00144f54: 34040010 ori r4,r0,0x0010 00144f58: 00409021 addu r18,r2,r0 00144f5c: 3c058014 lui r5,0x8014 00144f60: 24a567dc addiu r5,r5,0x67dc 00144f64: 08051413 j 0x 0014504c 00144f68: 02402021 addu r4,r18,r0 00144f6c: 16820008 bne r20,r2,0x 00144f90 00144f70: 3410003b ori r16,r0,0x003b 00144f74: 0c0526fb jal 0x00149bec {41} Earthquake 00144f78: 34040010 ori r4,r0,0x0010 00144f7c: 00409021 addu r18,r2,r0 00144f80: 3c058014 lui r5,0x8014 00144f84: 24a5672c addiu r5,r5,0x672c 00144f88: 08051413 j 0x 0014504c 00144f8c: 02402021 addu r4,r18,r0 00144f90: 12900003 beq r20,r16,0x 00144fa0 {3B} SpriteMove 00144f94: 3402006e ori r2,r0,0x006e 00144f98: 1682001d bne r20,r2,0x 00145010 00144f9c: 3402006f ori r2,r0,0x006f 00144fa0: 0c052712 jal 0x00149c48 {6E} 00144fa4: 34040010 ori r4,r0,0x0010 00144fa8: 16900005 bne r20,r16,0x 00144fc0 00144fac: 00409021 addu r18,r2,r0 00144fb0: 3c058014 lui r5,0x8014 00144fb4: 24a56ee4 addiu r5,r5,0x6ee4 00144fb8: 080513f3 j 0x 00144fcc 00144fbc: 02402021 addu r4,r18,r0 00144fc0: 02402021 addu r4,r18,r0 00144fc4: 3c058014 lui r5,0x8014 00144fc8: 24a56f20 addiu r5,r5,0x6f20 00144fcc: 0c053228 jal 0x0014c8a0 00144fd0: 00128280 sll r16,r18,0x0a 00144fd4: 00132400 sll r4,r19,0x10 00144fd8: 3402000b ori r2,r0,0x000b 00144fdc: 3c018017 lui r1,0x8017 00144fe0: 00300821 addu r1,r1,r16 00144fe4: ac31986c sw r17,-0x6794(r1) 00144fe8: 3c018017 lui r1,0x8017 00144fec: 00300821 addu r1,r1,r16 00144ff0: ac2298b8 sw r2,-0x6748(r1) 00144ff4: 0c04cc56 jal 0x00133158 00144ff8: 00042403 sra r4,r4,0x10 00144ffc: 3c018017 lui r1,0x8017 00145000: 00300821 addu r1,r1,r16 00145004: ac2298bc sw r2,-0x6744(r1) 00145008: 080517c9 j 0x 00145f24 GOTO END 0014500c: 00000000 nop 00145010: 16820006 bne r20,r2,0x 0014502c 00145014: 3402001b ori r2,r0,0x001b 00145018: 00132400 sll r4,r19,0x10 {6F} WaitSpriteMove ? 0014501c: 0c051bd7 jal 0x00146f5c 00145020: 00042403 sra r4,r4,0x10 00145024: 080517c9 j 0x 00145f24 GOTO END 00145028: 00000000 nop 0014502c: 1682000f bne r20,r2,0x 0014506c 00145030: 3402002e ori r2,r0,0x002e 00145034: 0c0526fb jal 0x00149bec {1B} 00145038: 34040010 ori r4,r0,0x0010 0014503c: 00409021 addu r18,r2,r0 00145040: 02402021 addu r4,r18,r0 00145044: 3c058014 lui r5,0x8014 00145048: 24a5703c addiu r5,r5,0x703c 0014504c: 0c053228 jal 0x0014c8a0 00145050: 00000000 nop 00145054: 00121280 sll r2,r18,0x0a 00145058: 3c018017 lui r1,0x8017 0014505c: 00220821 addu r1,r1,r2 00145060: ac31986c sw r17,-0x6794(r1) 00145064: 080517c9 j 0x 00145f24 GOTO END 00145068: 00000000 nop 0014506c: 16820019 bne r20,r2,0x 001450d4 00145070: 34020031 ori r2,r0,0x0031 00145074: 3c108017 lui r16,0x8017 {2E} Background 00145078: 2610e418 addiu r16,r16,0xe418 0014507c: 02002021 addu r4,r16,r0 00145080: 02202821 addu r5,r17,r0 00145084: 0c052fd5 jal 0x0014bf54 00145088: 34060003 ori r6,r0,0x0003 0014508c: 26040004 addiu r4,r16,0x0004 00145090: 26250003 addiu r5,r17,0x0003 00145094: 0c052fd5 jal 0x0014bf54 00145098: 34060003 ori r6,r0,0x0003 0014509c: 92220007 lbu r2,0x0007(r17) 001450a0: 00000000 nop 001450a4: 14400006 bne r2,r0,0x 001450c0 001450a8: 00000000 nop 001450ac: 92240006 lbu r4,0x0006(r17) 001450b0: 0c02407e jal 0x000901f8 001450b4: 02002821 addu r5,r16,r0 001450b8: 080517c9 j 0x 00145f24 GOTO END 001450bc: 00000000 nop 001450c0: 92240006 lbu r4,0x0006(r17) 001450c4: 0c024d7d jal 0x000935f4 001450c8: 02002821 addu r5,r16,r0 001450cc: 080517c9 j 0x 00145f24 GOTO END 001450d0: 00000000 nop 001450d4: 1682000a bne r20,r2,0x 00145100 001450d8: 34020032 ori r2,r0,0x0032 001450dc: 82220003 lb r2,0x0003(r17) {31} ColorBGBeta 001450e0: 92240000 lbu r4,0x0000(r17) 001450e4: 92250004 lbu r5,0x0004(r17) 001450e8: 82260001 lb r6,0x0001(r17) 001450ec: 82270002 lb r7,0x0002(r17) 001450f0: 0c024d27 jal 0x0009349c 001450f4: afa20010 sw r2,0x0010(r29) 001450f8: 080517c9 j 0x 00145f24 GOTO END 001450fc: 00000000 nop 00145100: 16820005 bne r20,r2,0x 00145118 00145104: 3402006c ori r2,r0,0x006c 00145108: 0c052578 jal 0x001495e0 {32} ColorUnit 0014510c: 02202021 addu r4,r17,r0 00145110: 080517c9 j 0x 00145f24 GOTO END 00145114: 00000000 nop 00145118: 16820006 bne r20,r2,0x 00145134 0014511c: 3402006d ori r2,r0,0x006d 00145120: 3264ffff andi r4,r19,0xffff {6C} 00145124: 0c0525a3 jal 0x0014968c 00145128: 00002821 addu r5,r0,r0 0014512c: 080517c9 j 0x 00145f24 GOTO END 00145130: 00000000 nop 00145134: 16820006 bne r20,r2,0x 00145150 00145138: 34020033 ori r2,r0,0x0033 0014513c: 3264ffff andi r4,r19,0xffff {6D} 00145140: 0c0525a3 jal 0x0014968c 00145144: 34050001 ori r5,r0,0x0001 00145148: 080517c9 j 0x 00145f24 GOTO END 0014514c: 00000000 nop 00145150: 1682000a bne r20,r2,0x 0014517c 00145154: 34020066 ori r2,r0,0x0066 00145158: 82220003 lb r2,0x0003(r17) {33} ColorField 0014515c: 92240000 lbu r4,0x0000(r17) 00145160: 92250004 lbu r5,0x0004(r17) 00145164: 82260001 lb r6,0x0001(r17) 00145168: 82270002 lb r7,0x0002(r17) 0014516c: 0c024c5c jal 0x00093170 00145170: afa20010 sw r2,0x0010(r29) 00145174: 080517c9 j 0x 00145f24 GOTO END 00145178: 00000000 nop 0014517c: 16820007 bne r20,r2,0x 0014519c 00145180: 3402003f ori r2,r0,0x003f 00145184: 00002021 addu r4,r0,r0 {66} 00145188: 00002821 addu r5,r0,r0 0014518c: 0c023d8f jal 0x0008f63c 00145190: 34060001 ori r6,r0,0x0001 00145194: 080517c9 j 0x 00145f24 GOTO END 00145198: 00000000 nop 0014519c: 1682000a bne r20,r2,0x 001451c8 001451a0: 34020040 ori r2,r0,0x0040 001451a4: 92250000 lbu r5,0x0000(r17) {3F} 001451a8: 92260001 lbu r6,0x0001(r17) 001451ac: 92270002 lbu r7,0x0002(r17) 001451b0: 92220003 lbu r2,0x0003(r17) 001451b4: 3404000b ori r4,r0,0x000b 001451b8: 0c061053 jal 0x0018414c 001451bc: afa20010 sw r2,0x0010(r29) 001451c0: 080517c9 j 0x 00145f24 GOTO END 001451c4: 00000000 nop 001451c8: 1682001f bne r20,r2,0x 00145248 001451cc: 3402001c ori r2,r0,0x001c 001451d0: 92240000 lbu r4,0x0000(r17) {40} 001451d4: 92250001 lbu r5,0x0001(r17) 001451d8: 92260002 lbu r6,0x0002(r17) 001451dc: 0c060fed jal 0x00183fb4 001451e0: 00000000 nop 001451e4: 00402021 addu r4,r2,r0 001451e8: 90820000 lbu r2,0x0000(r4) 001451ec: 00000000 nop 001451f0: 3042003f andi r2,r2,0x003f 001451f4: 2442fffd addiu r2,r2,0xfffd 001451f8: 2c420002 sltiu r2,r2,0x0002 001451fc: 14400006 bne r2,r0,0x 00145218 00145200: 00000000 nop 00145204: 90820000 lbu r2,0x0000(r4) 00145208: 00000000 nop 0014520c: 304200c0 andi r2,r2,0x00c0 00145210: 34420015 ori r2,r2,0x0015 00145214: a0820000 sb r2,0x0000(r4) 00145218: 92220003 lbu r2,0x0003(r17) 0014521c: 00000000 nop 00145220: a0820002 sb r2,0x0002(r4) 00145224: 92230004 lbu r3,0x0004(r17) 00145228: 90820006 lbu r2,0x0006(r4) 0014522c: 30630001 andi r3,r3,0x0001 00145230: 00031840 sll r3,r3,0x01 00145234: 304200fd andi r2,r2,0x00fd 00145238: 00431025 or r2,r2,r3 0014523c: 304200fe andi r2,r2,0x00fe 00145240: 080517c9 j 0x 00145f24 GOTO END 00145244: a0820006 sb r2,0x0006(r4) 00145248: 16820005 bne r20,r2,0x 00145260 0014524c: 34020076 ori r2,r0,0x0076 00145250: 0c04f680 jal 0x0013da00 {1C} 00145254: 02402021 addu r4,r18,r0 00145258: 080517c9 j 0x 00145f24 GOTO END 0014525c: 00000000 nop 00145260: 1682000e bne r20,r2,0x 0014529c 00145264: 34020077 ori r2,r0,0x0077 00145268: 3c018016 lui r1,0x8016 {76} DarkScreen 0014526c: ac206044 sw r0,0x6044(r1) 00145270: 0c0526fb jal 0x00149bec 00145274: 34040010 ori r4,r0,0x0010 00145278: 00409021 addu r18,r2,r0 0014527c: 3c058014 lui r5,0x8014 00145280: 24a5bd94 addiu r5,r5,0xbd94 00145284: 0c053228 jal 0x0014c8a0 00145288: 02402021 addu r4,r18,r0 0014528c: 02402021 addu r4,r18,r0 00145290: 00002821 addu r5,r0,r0 00145294: 080517c3 j 0x 00145f0c 00145298: 02203021 addu r6,r17,r0 0014529c: 1682000c bne r20,r2,0x 001452d0 001452a0: 34020078 ori r2,r0,0x0078 001452a4: 0c05272f jal 0x00149cbc {77} RemoveDarkScreen 001452a8: 34040037 ori r4,r0,0x0037 001452ac: 00409021 addu r18,r2,r0 001452b0: 1240031c beq r18,r0,0x 00145f24 001452b4: 00121a80 sll r3,r18,0x0a 001452b8: 34020036 ori r2,r0,0x0036 001452bc: 3c018017 lui r1,0x8017 001452c0: 00230821 addu r1,r1,r3 001452c4: ac2298b8 sw r2,-0x6748(r1) 001452c8: 080517c9 j 0x 00145f24 GOTO END 001452cc: 00000000 nop 001452d0: 16820014 bne r20,r2,0x 00145324 001452d4: 3402007d ori r2,r0,0x007d 001452d8: 0c0526fb jal 0x00149bec {78} DisplayConditions 001452dc: 34040010 ori r4,r0,0x0010 001452e0: 0040b021 addu r22,r2,r0 001452e4: 34020004 ori r2,r0,0x0004 001452e8: 16c20006 bne r22,r2,0x 00145304 001452ec: 34020007 ori r2,r0,0x0007 001452f0: 16420004 bne r18,r2,0x 00145304 001452f4: 00000000 nop 001452f8: 0c053274 jal 0x0014c9d0 Wait For Thread 001452fc: 34040002 ori r4,r0,0x0002 00145300: 34160002 ori r22,r0,0x0002 00145304: 3c058014 lui r5,0x8014 00145308: 24a5bd6c addiu r5,r5,0xbd6c 0014530c: 0c053228 jal 0x0014c8a0 Initialize Thread 00145310: 02c02021 addu r4,r22,r0 00145314: 02c02021 addu r4,r22,r0 00145318: 02402821 addu r5,r18,r0 0014531c: 080517c3 j 0x 00145f0c 00145320: 02a03021 addu r6,r21,r0 00145324: 1682000b bne r20,r2,0x 00145354 00145328: 34020021 ori r2,r0,0x0021 0014532c: 0c0526fb jal 0x00149bec {7D} ShowChapter 00145330: 34040010 ori r4,r0,0x0010 00145334: 0040b021 addu r22,r2,r0 00145338: 3c058014 lui r5,0x8014 0014533c: 24a5c710 addiu r5,r5,0xc710 00145340: 0c053228 jal 0x0014c8a0 00145344: 02c02021 addu r4,r22,r0 00145348: 02c02021 addu r4,r22,r0 0014534c: 080517c2 j 0x 00145f08 00145350: 02402821 addu r5,r18,r0 00145354: 16820007 bne r20,r2,0x 00145374 00145358: 3402006b ori r2,r0,0x006b 0014535c: 00131400 sll r2,r19,0x10 {21} Sound 00145360: 00021403 sra r2,r2,0x10 00145364: 3c018016 lui r1,0x8016 00145368: ac225fb4 sw r2,0x5fb4(r1) 0014536c: 080517c9 j 0x 00145f24 GOTO END 00145370: 00000000 nop 00145374: 16820008 bne r20,r2,0x 00145398 00145378: 3402006a ori r2,r0,0x006a 0014537c: 0c0526fb jal 0x00149bec {6B} BGSound 00145380: 34040010 ori r4,r0,0x0010 00145384: 00409021 addu r18,r2,r0 00145388: 3c058015 lui r5,0x8015 0014538c: 24a599ac addiu r5,r5,0x99ac 00145390: 080517be j 0x 00145ef8 00145394: 02402021 addu r4,r18,r0 00145398: 16820008 bne r20,r2,0x 001453bc 0014539c: 34020022 ori r2,r0,0x0022 001453a0: 0c0526fb jal 0x00149bec {6A} 001453a4: 34040010 ori r4,r0,0x0010 001453a8: 00409021 addu r18,r2,r0 001453ac: 3c058015 lui r5,0x8015 001453b0: 24a59a54 addiu r5,r5,0x9a54 001453b4: 080517be j 0x 00145ef8 001453b8: 02402021 addu r4,r18,r0 001453bc: 1682000b bne r20,r2,0x 001453ec 001453c0: 34020060 ori r2,r0,0x0060 001453c4: 3c018016 lui r1,0x8016 {22} Music 001453c8: a4325fc8 sh r18,0x5fc8(r1) 001453cc: 3c018017 lui r1,0x8017 001453d0: a4353f54 sh r21,0x3f54(r1) 001453d4: 3c018017 lui r1,0x8017 001453d8: a4363f56 sh r22,0x3f56(r1) 001453dc: 0c0532a0 jal 0x0014ca80 001453e0: 00000000 nop 001453e4: 080517c9 j 0x 00145f24 GOTO END 001453e8: 00000000 nop 001453ec: 16820009 bne r20,r2,0x 00145414 001453f0: 3402005e ori r2,r0,0x005e 001453f4: 26420010 addiu r2,r18,0x0010 {60} 001453f8: 00551004 sllv r2,r21,r2 001453fc: 3c018016 lui r1,0x8016 00145400: ac225fc0 sw r2,0x5fc0(r1) 00145404: 0c0532a0 jal 0x0014ca80 00145408: 00000000 nop 0014540c: 080517c9 j 0x 00145f24 GOTO END 00145410: 00000000 nop 00145414: 16820007 bne r20,r2,0x 00145434 00145418: 34020058 ori r2,r0,0x0058 0014541c: 3c018016 lui r1,0x8016 {5E} 00145420: a4325fca sh r18,0x5fca(r1) 00145424: 0c0532a0 jal 0x0014ca80 00145428: 00000000 nop 0014542c: 080517c9 j 0x 00145f24 GOTO END 00145430: 00000000 nop 00145434: 16820018 bne r20,r2,0x 00145498 00145438: 3402005b ori r2,r0,0x005b 0014543c: 0c0526fb jal 0x00149bec {58} LoadEVTCHR 00145440: 34040010 ori r4,r0,0x0010 00145444: 0040a821 addu r21,r2,r0 r21 = counter (returned from jal) 00145448: 3c058014 lui r5,0x8014 0014544c: 24a5c7c4 addiu r5,r5,0xc7c4 r5 = 0x8013c7c4 00145450: 0c053228 jal 0x0014c8a0 store a bunch of addresses 00145454: 02a02021 addu r4,r21,r0 r4 = counter 00145458: 3c048017 lui r4,0x8017 0014545c: 8c843ca4 lw r4,0x3ca4(r4) load address (0x4a6bc) 00145460: 00000000 nop 00145464: 03c42021 addu r4,r30,r4 address + (0x58) 00145468: 0c05181e jal 0x00146078 load Command data (returns r2 = [2nd EVTCHR byte*256] + 3rd EVTCHR byte 0014546c: 24840002 addiu r4,r4,0x0002 00145470: 02a02021 addu r4,r21,r0 r4 = counter 00145474: 02402821 addu r5,r18,r0 00145478: 00021400 sll r2,r2,0x10 0014547c: 00023403 sra r6,r2,0x10 r6 = 2nd EVTCHR byte 00145480: 0c05328e jal 0x0014ca38 Store EVTCHR command data 00145484: 00003821 addu r7,r0,r0 00145488: 0c0532a0 jal 0x0014ca80 0014548c: 00000000 nop 00145490: 080517c9 j 0x 00145f24 GOTO END 00145494: 00000000 nop 00145498: 16820007 bne r20,r2,0x 001454b8 0014549c: 34020059 ori r2,r0,0x0059 001454a0: 3c018017 lui r1,0x8017 {5B} 001454a4: ac323ca0 sw r18,0x3ca0(r1) 001454a8: 0c0532a0 jal 0x0014ca80 001454ac: 00000000 nop 001454b0: 080517c9 j 0x 00145f24 GOTO END 001454b4: 00000000 nop 001454b8: 16820007 bne r20,r2,0x 001454d8 001454bc: 3402005a ori r2,r0,0x005a 001454c0: 3c018017 lui r1,0x8017 {59} SaveEVTCHR 001454c4: ac323f4c sw r18,0x3f4c(r1) 001454c8: 0c0532a0 jal 0x0014ca80 001454cc: 00000000 nop 001454d0: 080517c9 j 0x 00145f24 GOTO END 001454d4: 00000000 nop 001454d8: 16820007 bne r20,r2,0x 001454f8 001454dc: 3402005c ori r2,r0,0x005c 001454e0: 3c018017 lui r1,0x8017 {5A} 001454e4: ac323f50 sw r18,0x3f50(r1) 001454e8: 0c0532a0 jal 0x0014ca80 001454ec: 00000000 nop 001454f0: 080517c9 j 0x 00145f24 GOTO END 001454f4: 00000000 nop 001454f8: 1682000c bne r20,r2,0x 0014552c 001454fc: 3402005d ori r2,r0,0x005d 00145500: 00132400 sll r4,r19,0x10 {5C} 00145504: 0c04cc56 jal 0x00133158 00145508: 00042403 sra r4,r4,0x10 0014550c: 00021200 sll r2,r2,0x08 00145510: 00561025 or r2,r2,r22 00145514: 3c018017 lui r1,0x8017 00145518: ac223cac sw r2,0x3cac(r1) 0014551c: 0c0532a0 jal 0x0014ca80 00145520: 00000000 nop 00145524: 080517c9 j 0x 00145f24 GOTO END 00145528: 00000000 nop 0014552c: 16820007 bne r20,r2,0x 0014554c 00145530: 340200e0 ori r2,r0,0x00e0 00145534: 3c018017 lui r1,0x8017 {5D} 00145538: ac323f48 sw r18,0x3f48(r1) 0014553c: 0c0532a0 jal 0x0014ca80 00145540: 00000000 nop 00145544: 080517c9 j 0x 00145f24 GOTO END 00145548: 00000000 nop 0014554c: 12820275 beq r20,r2,0x 00145f24 {E0} 00145550: 3402003d ori r2,r0,0x003d 00145554: 1682001e bne r20,r2,0x 001455d0 00145558: 34020044 ori r2,r0,0x0044 0014555c: 00132400 sll r4,r19,0x10 {3D} 00145560: 0c04cc56 jal 0x00133158 00145564: 00042403 sra r4,r4,0x10 00145568: 00021400 sll r2,r2,0x10 0014556c: 00022403 sra r4,r2,0x10 00145570: 340807d0 ori r8,r0,0x07d0 00145574: 1088026b beq r4,r8,0x 00145f24 00145578: 00808021 addu r16,r4,r0 0014557c: 0c051801 jal 0x00146004 00145580: 02002021 addu r4,r16,r0 00145584: 10400005 beq r2,r0,0x 0014559c 00145588: 340807d0 ori r8,r0,0x07d0 0014558c: 0c0532a0 jal 0x0014ca80 00145590: 00000000 nop 00145594: 0805155f j 0x 0014557c 00145598: 00000000 nop 0014559c: 12080261 beq r16,r8,0x 00145f24 001455a0: 00000000 nop 001455a4: 0c023374 jal 0x0008cdd0 001455a8: 02002021 addu r4,r16,r0 001455ac: 00409021 addu r18,r2,r0 001455b0: 0c02348a jal 0x0008d228 001455b4: 02002021 addu r4,r16,r0 001455b8: 0640025a bltz r18,0x 00145f24 001455bc: 00000000 nop 001455c0: 0c05ff60 jal 0x0017fd80 001455c4: 02402021 addu r4,r18,r0 001455c8: 080517c9 j 0x 00145f24 GOTO END 001455cc: 00000000 nop 001455d0: 1682001e bne r20,r2,0x 0014564c 001455d4: 34020046 ori r2,r0,0x0046 001455d8: 00132400 sll r4,r19,0x10 {44} Draw 001455dc: 0c04cc56 jal 0x00133158 001455e0: 00042403 sra r4,r4,0x10 001455e4: 00021400 sll r2,r2,0x10 001455e8: 00028403 sra r16,r2,0x10 001455ec: 340807d0 ori r8,r0,0x07d0 001455f0: 1208024c beq r16,r8,0x 00145f24 001455f4: 00000000 nop 001455f8: 0c02344e jal 0x0008d138 001455fc: 02002021 addu r4,r16,r0 00145600: 0c04ed64 jal 0x0013b590 00145604: 34040027 ori r4,r0,0x0027 00145608: 3403018c ori r3,r0,0x018c 0014560c: 14430245 bne r2,r3,0x 00145f24 00145610: 00000000 nop 00145614: 0c023374 jal 0x0008cdd0 00145618: 02002021 addu r4,r16,r0 0014561c: 00402021 addu r4,r2,r0 00145620: 34050001 ori r5,r0,0x0001 00145624: 0c052122 jal 0x00148488 00145628: 00000000 nop 0014562c: 3c028009 lui r2,0x8009 00145630: 2442bde4 addiu r2,r2,0xbde4 00145634: 3c018017 lui r1,0x8017 00145638: ac223ca8 sw r2,0x3ca8(r1) 0014563c: 0c0533ad jal 0x0014ceb4 00145640: 02002021 addu r4,r16,r0 00145644: 080517c9 j 0x 00145f24 GOTO END 00145648: 00000000 nop 0014564c: 16820015 bne r20,r2,0x 001456a4 00145650: 34020047 ori r2,r0,0x0047 00145654: 00132400 sll r4,r19,0x10 {46} Erase 00145658: 0c04cc56 jal 0x00133158 0014565c: 00042403 sra r4,r4,0x10 00145660: 00021400 sll r2,r2,0x10 00145664: 00022403 sra r4,r2,0x10 00145668: 340807d0 ori r8,r0,0x07d0 0014566c: 1088022d beq r4,r8,0x 00145f24 00145670: 00000000 nop 00145674: 0c023463 jal 0x0008d18c 00145678: 00000000 nop 0014567c: 080517c9 j 0x 00145f24 GOTO END 00145680: 00000000 nop 00145684: 92220000 lbu r2,0x0000(r17) 00145688: 00000000 nop 0014568c: 00021040 sll r2,r2,0x01 00145690: 3c018016 lui r1,0x8016 00145694: 00220821 addu r1,r1,r2 00145698: a4305fe8 sh r16,0x5fe8(r1) 0014569c: 080515bc j 0x 001456f0 001456a0: 34020015 ori r2,r0,0x0015 001456a4: 16820027 bne r20,r2,0x 00145744 001456a8: 34020075 ori r2,r0,0x0075 001456ac: 3c028017 lui r2,0x8017 {47} 001456b0: 8c423ca4 lw r2,0x3ca4(r2) 001456b4: 34100003 ori r16,r0,0x0003 001456b8: 03c21021 addu r2,r30,r2 001456bc: 24510003 addiu r17,r2,0x0003 001456c0: 2610ffff addiu r16,r16,0xffff 001456c4: 0601ffff bgez r16,0x 001456c4 001456c8: 2610ffff addiu r16,r16,0xffff 001456cc: 00008021 addu r16,r0,r0 001456d0: 0c0232ed jal 0x0008cbb4 001456d4: 02002021 addu r4,r16,r0 001456d8: 1040ffea beq r2,r0,0x 00145684 001456dc: 00000000 nop 001456e0: 26100001 addiu r16,r16,0x0001 001456e4: 2a020015 slti r2,r16,0x0015 001456e8: 1440fff9 bne r2,r0,0x 001456d0 001456ec: 34020015 ori r2,r0,0x0015 001456f0: 1202f986 beq r16,r2,0x00143d0c 001456f4: 00131400 sll r2,r19,0x10 001456f8: 92240001 lbu r4,0x0001(r17) 001456fc: 92250002 lbu r5,0x0002(r17) 00145700: 92260003 lbu r6,0x0003(r17) 00145704: 92270004 lbu r7,0x0004(r17) 00145708: 00021403 sra r2,r2,0x10 0014570c: afa20010 sw r2,0x0010(r29) 00145710: 92220000 lbu r2,0x0000(r17) 00145714: 00000000 nop 00145718: 00021040 sll r2,r2,0x01 0014571c: 3c018016 lui r1,0x8016 00145720: 00220821 addu r1,r1,r2 00145724: 84225fe8 lh r2,0x5fe8(r1) 00145728: 00000000 nop 0014572c: afa20014 sw r2,0x0014(r29) 00145730: 92220005 lbu r2,0x0005(r17) 00145734: 0c0233de jal 0x0008cf78 00145738: afa20018 sw r2,0x0018(r29) 0014573c: 080515f6 j 0x 001457d8 00145740: 34080001 ori r8,r0,0x0001 00145744: 128201f7 beq r20,r2,0x 00145f24 {75} GOTO END 00145748: 34020045 ori r2,r0,0x0045 0014574c: 16820036 bne r20,r2,0x 00145828 00145750: 3402005f ori r2,r0,0x005f