Memory Addresses and Max Speeds

The addresses in bold never change. To find the address for the player's base, scroll down to How to Find the Player Pointer. Shoutouts to Really_Tall for helping me find these offsets.
AddressSizeDescription
0x02109CB04 bytes, signedCamera X Position; where the camera is located along the X Axis
0x02109CB44 bytes, signedCamera Y Position; where the camera is located along the Y Axis
0x02109CB84 bytes, signedCamera Z Position; where the camera is located along the Z Axis
0x02109CC82 bytes, unsignedCamera Pitch; how far the camera rotates up or down
0x02109CCA2 bytes, unsignedCamera Yaw; how far the camera rotates left or right
base + 0x401 byte, unsignedCharacter airborne state; 0 = airborne, 1 = on ground
base + 0x604 bytes, signedCharacter X Speed; how fast your character is moving along the X Axis
base + 0x644 bytes, signedCharacter Y Speed; how fast your character is moving along the Y Axis
base + 0x684 bytes, signedCharacter Z Speed; how fast your character is moving along the Z Axis
base + 0x984 bytes, signedCharacter X Position; where your character is located along the X Axis
base + 0x9C4 bytes, signedCharacter Y Position; where your character is located along the Y Axis
base + 0xA04 bytes, signedCharacter Z Position; where your character is located along the Z Axis
base + 0xA44 bytes, unsignedCharacter X Scale; the width of your character (default value is 4096)
base + 0xA84 bytes, unsignedCharacter Y Scale; the height of your character (default value is 4096)
base + 0xAC4 bytes, unsignedCharacter Z Scale; the length of your character (default value is 4096)
base + 0xB02 bytes, unsignedCharacter Pitch; how far your character is rotated up or down (default value is 0)
base + 0xB22 bytes, unsignedCharacter Yaw; what direction your character is facing
base + 0xB42 bytes, unsignedCharacter Roll; how far your character is rotated left or right (default value is 0)

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 Find the Player Pointer

As previously mentioned, these addresses change every time you go through a loading zone or swap partners because the address for the player base changes each time you do one of these actions. However, there is a simple technique you can do to find this address.
  1. Make sure your character is standing on a floor and that DeSmuME is paused.
  2. Hold B and advance two frames to make your character jump.
  3. In DeSmuME's RAM Search (Tools > RAM Search...), set the Data Size to 4 bytes and set the Data Type / Display to Signed. Then, click Equal To in the Comparison Operator, click Specific Value in the Compare To / By section, type 5877 in the Specific Value field, and click the Search button. There may be more than one address after performing the search, but the topmost address will be the one for your character's Y speed. To make sure you have the right address, left-click the address and click the Add Cheat button to freeze it to any value and see if your character's Y speed is affected.
  4. Subtract the Y speed address by 0x64 to get the base address. Now that you have the base address, you can add the offsets in the table of addresses to get the addresses you need.

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 12/6/2022 8:06 AM
Page History Latest diff List referrers View Source