07-08-2020, 07:42 AM
(This post was last modified: 07-12-2020, 06:02 PM by JoshuaMK.
Edit Reason: Updated version by riidefi
)
Conditional OOB v2.0 [riidefi]
Usage: Add an AREA of type 10 (0xA) to the KMP. The first and second AREA parameters, "P1" and "P2", define the checkpoint range: the AREA will be enabled if and only if a player is in the Cth checkpoint sector such that P1 <= C < P2.
NOTE: If P1 == P2, this code is disabled, and the boundary is unconditionally enabled.
NOTE: If P1 > P2, the range functions in blacklist mode. The AREA will be disabled within P2 <= C < P1, and enabled everywhere else.
(NTSC-U)
C256CA24 00000014
7C630735 41A00094
3CC0809C 80BF0004
80A50000 80868F28
80C68F70 5460103A
8084002C 88A50010
80840000 80C6000C
54A5103A 7C84002E
7CA6282E 80840004
A0E5000A A1040028
A124002A 7D484850
7D44FE70 7C805278
7CC40050 7CA84810
7C894910 7D400034
7CA52038 7CA82A14
55440FFE 7CA53850
5400D97E 7CA62810
7CA52910 7CA500D0
7CA42278 7C840378
3804FFFF 7C031B79
60000000 00000000
(PAL)
C2571874 00000014
7C630735 41A00094
3CC0809C 80BF0004
80A50000 8086D6E8
80C6D730 5460103A
8084002C 88A50010
80840000 80C6000C
54A5103A 7C84002E
7CA6282E 80840004
A0E5000A A1040028
A124002A 7D484850
7D44FE70 7C805278
7CC40050 7CA84810
7C894910 7D400034
7CA52038 7CA82A14
55440FFE 7CA53850
5400D97E 7CA62810
7CA52910 7CA500D0
7CA42278 7C840378
3804FFFF 7C031B79
60000000 00000000
(NTSC-J)
C25711F4 00000014
7C630735 41A00094
3CC0809C 80BF0004
80A50000 8086C748
80C6C790 5460103A
8084002C 88A50010
80840000 80C6000C
54A5103A 7C84002E
7CA6282E 80840004
A0E5000A A1040028
A124002A 7D484850
7D44FE70 7C805278
7CC40050 7CA84810
7C894910 7D400034
7CA52038 7CA82A14
55440FFE 7CA53850
5400D97E 7CA62810
7CA52910 7CA500D0
7CA42278 7C840378
3804FFFF 7C031B79
60000000 00000000
(NTSC-K)
C255F8CC 00000014
7C630735 41A00094
3CC0809B 80BF0004
80A50000 8086BD28
80C6BD70 5460103A
8084002C 88A50010
80840000 80C6000C
54A5103A 7C84002E
7CA6282E 80840004
A0E5000A A1040028
A124002A 7D484850
7D44FE70 7C805278
7CC40050 7CA84810
7C894910 7D400034
7CA52038 7CA82A14
55440FFE 7CA53850
5400D97E 7CA62810
7CA52910 7CA500D0
7CA42278 7C840378
3804FFFF 7C031B79
60000000 00000000
Code Creator: riidefi
Usage: Add an AREA of type 10 (0xA) to the KMP. The first and second AREA parameters, "P1" and "P2", define the checkpoint range: the AREA will be enabled if and only if a player is in the Cth checkpoint sector such that P1 <= C < P2.
NOTE: If P1 == P2, this code is disabled, and the boundary is unconditionally enabled.
NOTE: If P1 > P2, the range functions in blacklist mode. The AREA will be disabled within P2 <= C < P1, and enabled everywhere else.
(NTSC-U)
C256CA24 00000014
7C630735 41A00094
3CC0809C 80BF0004
80A50000 80868F28
80C68F70 5460103A
8084002C 88A50010
80840000 80C6000C
54A5103A 7C84002E
7CA6282E 80840004
A0E5000A A1040028
A124002A 7D484850
7D44FE70 7C805278
7CC40050 7CA84810
7C894910 7D400034
7CA52038 7CA82A14
55440FFE 7CA53850
5400D97E 7CA62810
7CA52910 7CA500D0
7CA42278 7C840378
3804FFFF 7C031B79
60000000 00000000
(PAL)
C2571874 00000014
7C630735 41A00094
3CC0809C 80BF0004
80A50000 8086D6E8
80C6D730 5460103A
8084002C 88A50010
80840000 80C6000C
54A5103A 7C84002E
7CA6282E 80840004
A0E5000A A1040028
A124002A 7D484850
7D44FE70 7C805278
7CC40050 7CA84810
7C894910 7D400034
7CA52038 7CA82A14
55440FFE 7CA53850
5400D97E 7CA62810
7CA52910 7CA500D0
7CA42278 7C840378
3804FFFF 7C031B79
60000000 00000000
(NTSC-J)
C25711F4 00000014
7C630735 41A00094
3CC0809C 80BF0004
80A50000 8086C748
80C6C790 5460103A
8084002C 88A50010
80840000 80C6000C
54A5103A 7C84002E
7CA6282E 80840004
A0E5000A A1040028
A124002A 7D484850
7D44FE70 7C805278
7CC40050 7CA84810
7C894910 7D400034
7CA52038 7CA82A14
55440FFE 7CA53850
5400D97E 7CA62810
7CA52910 7CA500D0
7CA42278 7C840378
3804FFFF 7C031B79
60000000 00000000
(NTSC-K)
C255F8CC 00000014
7C630735 41A00094
3CC0809B 80BF0004
80A50000 8086BD28
80C6BD70 5460103A
8084002C 88A50010
80840000 80C6000C
54A5103A 7C84002E
7CA6282E 80840004
A0E5000A A1040028
A124002A 7D484850
7D44FE70 7C805278
7CC40050 7CA84810
7C894910 7D400034
7CA52038 7CA82A14
55440FFE 7CA53850
5400D97E 7CA62810
7CA52910 7CA500D0
7CA42278 7C840378
3804FFFF 7C031B79
60000000 00000000
Code Creator: riidefi
Super Mario Eclipse, what Super Mario Sunshine could've been.