Mario Kart DS item probability distributions

The following tables are used in Mario Kart DS to determine the probability of receiving an item when an Item Box is opened. Even though the karts influence the probability of obtaining each item through their Items statistics, only the tables for one case are stored in the game's files; this case presumably refers to the use of the Standard karts, that have an Items statistics of 66. The probability is coded as percentage multiplied by two. The distributions are presented in the order used in the code.

Races
In the races, the item probability distributions are chosen depending on the rank of the driver when the Item Box is opened.

VS races
In the case of online VS races, two tables of item probabilitiy distributions are found in the game's code, both of them having the same values. Only one of them will be presented here. It must be noted that those tables have the probabilities coded for 8 players, while in the final game only up to 4 players can participate in an online VS race.

Special cases
These distributions are used in special cases; as an example, the 8th distribution is used in the special Item Box of DK Pass. The last five distributions do not allow to obtain any item, it is possible that they are not used in the game.

Battles
In the battles, there are three distributions, the criteria according to which they are selected are currently not known, but for Balloon Battles, the number of balloons that are inflated at the time of the box being opened determines the distribution. For example, running through a box when only one balloon is infated, but inflating another before the roulette stops means that you'll use the third distrubution.