Conditional Out of Bounds (Riidefi)

From Custom Mario Kart
Revision as of 15:45, 12 July 2020 by Tock (talk | contribs) (Authors request.)
Jump to navigation Jump to search
This article is about Riidefi's cheat code. For other cheat codes with the same name, see Conditional Out of Bounds.

This is a cheat code created by Riidefi. This makes it easier for track authors to implement intersections without having to worry about unintended fall boundaries being triggered when someone on the lower part of the track gets too much air. It makes use of AREA type 10, which will serve as the conditional out of bounds.

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 both P1 and P2 are zero, 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.

Cheat Codes

Conditional OoB v2.0, PAL

Conditional OoB v2.0, NTSC-U

Conditional OoB v2.0, NTSC-J

Conditional OoB v2.0, NTSC-K