View Page Source

Revision (current)
Last Updated by Suuper on 3/31/2015 5:54 AM
Back to Page

%%TOC%%

In this page, Mini-Turbo (or, power-slide turbo boost) is abbreviated as MT.


!!!Memory Addresses


The pointer to these values is at 0x217ACF8 (USA version) or 0x217D028 (EUR version).

||Short Description||Offset||Size||Explanation
|X, Y, Z pos|+0x80, 84, 88|4 bytes|Your kart's location
|Speed|+0x2A8|4 bytes|Your speedometer. Watch the difference in position too.
|Maximum Speed|+0xD0|4 bytes|Your speed cannot exceed this value. PRB locks it; otherwise it increases when you jump off an uphill slope or angle your kart downwards in the air
|Boost Timer|+0x238|4 bytes|How many frames remain for your current boost.
|MT Time|+0x30C|4 bytes|How many frames you must wait before the next MT charge level.
|Angle Facing|+0x236|2 bytes|The direction you are facing.
|Drift Angle|+0x388|2 bytes|Add this to Angle Facing to get the direction your kart is trying to go.
|Vertical Angle|+0x234|2 bytes|The up/down angle of your kart in the air.
|Turning Loss|+0x2D4|4 bytes|Tells you how much speed you are sacrificing by turning. Only takes effect on the ground and when not drifting. (Does not affect the Speed value.)
|Grip|+0x240|4 bytes|Tells you how slippery the road is. A value of zero would mean that turning is impossible. (Regular road is always the same, other roads depend on your kart choice.)
|Air|+0x3DD|1 byte|0 means you are on the ground.
|Spawn Point|+0x3C4|4 bytes|Tells you where lakitu will drop you. Set when you fall off the course.
|Direction Sine, Cosine|+0x60, 70|4 bytes|(20.12 Fixed Point value) The sine and cosine of the angle at which you are moving. The game uses these values to determine your movement.
|Target Sine, Cosine|+0x50, 58|4 bytes|(20.12 Fixed Point value) Direction Sine/Cosine will approach these values by some percentage (dependent on Grip) each frame. These are the values changed by your angle.

The pointer for the last Key Checkpoint you activated is at 0x21661B4 (either USA or EUR (?)). Offset is +0x620. (1 byte) This is useful when doing shortcuts that require going forward a bit first, such as the shortcuts on Rainbow Road.

[http://pastebin.com/1veqsLTs|Here] is a lua script for DeSmuME that displays all the values listed above.


!!!Tricks


*Prolonged Rocket Boost (PRB): A well-known glitch: If you keep using MTs fast enough that your boost timer never reaches 0, you can drive offroad without losing any speed. This can also be done with a boost pad instead of the starting boost.
**Using a mushroom boost will set a different boost timer. When this timer hits 0 PRB will be lost.
**PRB prevents Maximum Speed from going above top boosting speed; therefore, it can be useful to lose PRB in order to gain speed from hopping up steep slopes.

*Fast fall: When making a large jump, it is usually beneficial to hold up. Not doing so could cause you to slow down when your boost wears out. This happens because pressing up increases your Maximum Speed, keeping it above current speed even after your boost wears out. (This can sometimes be combined with hopping uphill to get better speed boosts upon landing.)

*Starting Turn: Turning while not drifting slows you down. However, there is one frame before you start moving when pressing left/right will change Turning Loss without actually turning your kart. By pressing left/right on this frame, and then the other direction the next frame, you can turn a bit without losing any speed.

*Lap Timer Bug: Mario Kart DS allows you to have a lap time that is not an interval of 1/60th of a second (1 frame). However, this partial-frame time is NOT used as the starting time of your next lap's timer. Thus, any "time" between the finish line and your position the frame after crossing it is not counted. See [https://youtu.be/4ZlHvn3SSYY|this video] for a demonstration of this effect.

*Driving into the air: Normally, drifting into the air (e.g., going off a ramp) slows you down. To prevent this slow-down, drive off while your Drift Angle is 0, or as close to it as possible. This can't always be done, but is very easy to do in places like GCN Luigi Circuit when driving off the boost pads.

*Tight/Wide Drifting: When using a kart that does not have good drifting abilities, pressing outside (left on a right drift or vice versa) near the start of a drift will cause you to turn more inside than pressing neutral (neither left or right). In the case of ROB's BLS kart, this effect lasts 10 frames. Each frame reduces the strength of the effect.
**Note that this does not happen on the first frame after landing. In order to charge a MT as fast as possible while turning tight, do not press outside to start the charging on the first frame possible; wait 1 frame so that pressing outside will turn you inside.

*Left+Right: Pressing left and right at the same time turns you exactly as if you were only holding left. However, the right press can still be used to charge a MT. (This only works if you were already holding left the frame before you press left+right.)

*Exiting a drift: Turning Loss does not take effect when drifting, but is changed by pressing left/right. Press left/right just before exiting a drift to get it as low as possible. (When drifting tight, pressing 2 frames neutral, 2 frames outside, 1 frame inside to charge, 1 frame outside+release gets it very low. When drifting wide, 2 neutral, 1 inside to charge, 1 inside+release gets it very low.)

*Drift turning in air: When you are in the air during a drift, pressing either left or right will slow your turn, eventually stopping the turn. Not pressing either will result in turning inside.

*Slowing down: The best way to slow down from top speed is not to simply press B. Pressing A+B will decrease your speed by a percentage each frame. At high speeds, this percentage is a greater decrease than the fixed decrease from simply pressing B.

*Wall clip: When you hit a wall (or other wall-like obstacle), your Drift Angle is set to zero. If you hit the wall at the very end of the wall, your speed will not go down to zero and you can continue driving past the wall. This can be very useful for making sharp turns.
**Many walls are off-road, which doesn't provide as much Grip as road does. When clipping these walls you will have to wait extra frames to get your speed back up. (The low grip will affect your movement speed, not your Speed value.)
**Boxes, pipes and mission gates can be clipped with no Speed loss. I (Suuper) have yet to see such a clip on a regular wall, though.
**Hopping on the same frame you hit the wall will allow you to go some extra distance with the direction you had before the clip.