Memory Addresses and Max Speeds

Disclaimer: The following addresses change every time you go through a loading zone, die, or swap partners. As such, there are no definitive addresses for most of these values. However, most of these particular addresses that I put in the chart are found in the very first area of the game when you start a New File.
AddressOffsetSizeDescription
0x02120354N/A4 bytes, signedPointer to Player 1
0x02109CB0-0x166A44 bytes, signedCamera's X Position; where the camera is located along the X Axis
0x02109CB4-0x166A04 bytes, signedCamera's Y Position; where the camera is located along the Y Axis
0x02109CB8-0x1669C4 bytes, signedCamera's Z Position; where the camera is located along the Z Axis
0x02109CC8-0x1668C2 bytes, unsignedCamera Pitch; how far the camera rotates up or down
0x02109CCA-0x1668A2 bytes, unsignedCamera Yaw; how far the camera rotates left or right
0x021203B4+0x604 bytes, signedX Speed; how fast your character is moving along the X Axis
0x021203B8+0x644 bytes, signedY Speed; how fast your character is moving along the Y Axis
0x021203BC+0x684 bytes, signedZ Speed; how fast your character is moving along the Z Axis
0x021203E8+0x944 bytes, signedAngle; what direction your character is facing
0x02120404+0xB04 bytes, signedX Position; where your character is located along the X Axis
0x02120408+0xB44 bytes, signedY Position; where your character is located along the Y Axis
0x0212040C+0xB84 bytes, signedZ Position; where your character is located along the Z Axis
0x02120410+0xBC4 bytes, unsignedX Scale; the width of your character (default width is 4096)
0x02120414+0xC04 bytes, unsignedY Scale; the height of your character (default height is 4096)
0x02120418+0xC44 bytes, unsignedZ Scale; the length of your character (default length is 4096)
0x0212041C+0xC82 bytes, signedX Rotation; how far your character rotates along the X axis (default value is 0)
0x0212041E+0xCA2 bytes, signedY Rotation; how far your character rotates along the Y axis (what direction you're facing)
0x02120422+0xCE2 bytes, signedZ Rotation; how far your character rotates along the Z axis (default value is 0)
Special thanks to Sparsite (a.k.a. ISceptul, Mock) for telling me the offsets and sizes of some of these addresses.

Max Speeds

Here is a small chart of all the maximum speeds of general actions.
ActionMax Speed
Walking4912
Diving4915
Jumping5877
Flying in Spaceship Levels6555

How to Easily Find Addresses after Switching Partners, Dying, or Entering Loading Zones

As previously mentioned, these addresses change every time you go through a loading zone or swap partners. However, there is one simple technique you can do to find these addresses if you do swap partners or enter a loading zone. In DeSmuME, go to Tools > RAM Search... and set the data size accordingly to how big your address is. Make sure your character is standing still, and pause the emulator. Hold the B Button and advance the game one frame, and then go back into RAM Search. Using the comparison operator, find a value that is equal to 5877. 5877 is the maximum value for Y Speed, so finding a value that is equal to 5877 will find the address for Y Speed, and if you know the address for Y Speed, you can find the other addresses I listed by adding or subtracting 0x04 from Y Speed. For example, if I know the address for Y Speed, I can subtract it by 0x04 to find the address for X Speed, and I can add 0x04 to the Y Speed address to find the address for Z Speed, and I can add other offsets to find other specific addresses.

Glitches and Tricks

Host Wireless Glitches

In this game, you have access to the Host Wireless function whenever you pause the game. The Host Wireless function allows you to host multiplayer games and play with other players. However, it can also make it possible to clip through closed doors, lower bosses' health, and even double jump infinitely. Here's a step-by-step process on how to do them:

Infinite Jump

1. Perform a double jump or use the jet pack by pressing B twice. (Only certain characters, such as Jedis, are able to double jump, and only Boba Fett, Jango Fett, or certain custom-made characters can use the jet pack)
2. Pause the game by pressing START.
3. Select the Host Wireless option on the bottom screen.
4. When the game asks you to save, press B and abort the save.
5. Press B again and hold it until the level fades back in again.
Why it works: When you enable Host Wireless and abort the Save, the game puts your character into a falling state if you are in mid-air. This means you can perform any mid-air action infinitely, including jumping, if you repeat these 5 steps as many times as you want.

Door and Object Clipping

1. Move forward into a door or LEGO object by holding a direction that is facing the door or object.
2. Pause the game by pressing START.
3. Select the Host Wireless option on the bottom screen.
4. When the game asks you to save, press B to abort the save.
5. Keep holding the same forward direction after aborting the save again and hold it until the level fades back in again. Though, it usually takes more than one clip to fully pass through the door.
Why it works: When you enable Host Wireless and abort the Save, the game unloads all doors and objects for a frame or two before the game fully fades back in again. Believe it or not, these two frames are enough to wedge your character a little bit inside the door or object. Repeating the 5 aforementioned steps enough times makes it possible to clip past the door or object entirely.

Lowering Bosses' Health

(This only works on certain bosses.)
1. Pause the game by pressing START.
2. Select the Host Wireless option on the bottom screen.
3. When the game asks you to save, press B and abort the save.
4. Wait for the level to fade back in again, and the boss's health will go down to 4 hearts.
Why it works: There is currently no known explanation behind why this trick works, but my guess is when you enable Host Wireless and abort the Save, the game resets certain events in such a way that it ends up decreasing the boss's health.

Diagonal Inputs

If you hold a forward direction on the D-pad (e.g. Up) and then alternate between pressing forward and a diagonal direction (e.g. Up-right) every other frame, you'll do much more precise movements than just pressing forward. This is very useful in TASes if you want to walk at the perfect angle.
Here are some example inputs for diagonal inputs:

Inputs

Frame 1: Up
Frame 2: Up
Frame 3: Up-right
Frame 4: Up-right
Frame 5: Up
Frame 6: Up
Frame 7: Up-right
Frame 8: Up-right
(Repeat or change these inputs for as long as you want)

Camera Abuse

In this game, you are able to rotate the camera by tapping the camera icon on the bottom screen and dragging the arrows with the stylus. However, moving the camera to the right or to the left slightly allows you to move forward at precise angles, just like with diagonal inputs.

Partner Switching

In almost every level of the game, you have one or more partners by your side, and you can gain control of them by facing them and pressing X or double-tapping their character icon on the bottom screen. But, sometimes switching to another partner lets you perform certain actions quicker, like in Rescue The Princess, there is a switch you pull that puts a Stormtrooper's helmet on your head. However, pulling it makes your character stand still for a few seconds. Switching characters after pulling the switch allows you to regain control of your character much earlier.

Glitchy Box-pushing

If you push boxes, or crates, at the right angle, you can end up pushing the box in the wrong direction. For example, if you hold Up into a box at the right angle, you'll do a glitchy box push and push the box at a skewed angle instead of forward.

Wrong Warping via the Shop

The game has an interesting property involving Save prompts, which are the gray text boxes that ask you if you want to save the game. These pop up every time you turn on Host Wireless, complete a level, or purchase an item in the Shop in the Cantina. These messages will continue to pop up until you Save the game for the first time. However, if a Save prompt pops up in certain locations and you abort the Save, something interesting will happen involving the Shop. If you purchase any item from the Shop after aborting the Save, yet another Save prompt will pop up. If you accept or abort this Save, the game will fade to black and wrong warp you to the last location that you aborted a Save in. For example, if you complete a level in Episode IV and have not saved the game yet, a Save prompt will pop up. If you abort this Save, purchase something from the Shop, abort or accept that Save in the Shop, the game will wrong warp you to the Episode IV room. The results of this glitch have not been fully tested or experimented with, and the results are still unpredictable. For example, when I aborted the Save in the Shop, I managed to wrong warp in a seemingly random location that was out of bounds in The Blockade Runner. However, wrong warping straight to Episode rooms via the Shop is useful in some cases.

GameResources/DS/LEGOStarWarsIITheOriginalTrilogy last edited by SkicoNow on 3/25/2019 12:27 AM
Page History Latest diff List referrers View Source