View Page Source

Revision (current)
Last Updated by SkicoNow on 12/6/2022 8:06 AM
Back to Page

!!! 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.

||Address||Size||Description||
|__0x02109CB0__|4 bytes, signed|Camera X Position; where the camera is located along the X Axis|
|__0x02109CB4__|4 bytes, signed|Camera Y Position; where the camera is located along the Y Axis|
|__0x02109CB8__|4 bytes, signed|Camera Z Position; where the camera is located along the Z Axis|
|__0x02109CC8__|2 bytes, unsigned|Camera Pitch; how far the camera rotates up or down|
|__0x02109CCA__|2 bytes, unsigned|Camera Yaw; how far the camera rotates left or right|
|base + 0x40|1 byte, unsigned|Character airborne state; 0 = airborne, 1 = on ground|
|base + 0x60|4 bytes, signed|Character X Speed; how fast your character is moving along the X Axis|
|base + 0x64|4 bytes, signed|Character Y Speed; how fast your character is moving along the Y Axis|
|base + 0x68|4 bytes, signed|Character Z Speed; how fast your character is moving along the Z Axis|
|base + 0x98|4 bytes, signed|Character X Position; where your character is located along the X Axis|
|base + 0x9C|4 bytes, signed|Character Y Position; where your character is located along the Y Axis|
|base + 0xA0|4 bytes, signed|Character Z Position; where your character is located along the Z Axis|
|base + 0xA4|4 bytes, unsigned|Character X Scale; the width of your character (default value is 4096)|
|base + 0xA8|4 bytes, unsigned|Character Y Scale; the height of your character (default value is 4096)|
|base + 0xAC|4 bytes, unsigned|Character Z Scale; the length of your character (default value is 4096)|
|base + 0xB0|2 bytes, unsigned|Character Pitch; how far your character is rotated up or down (default value is 0)|
|base + 0xB2|2 bytes, unsigned|Character Yaw; what direction your character is facing|
|base + 0xB4|2 bytes, unsigned|Character 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.

||Action||Max Speed||
|Walking|4912|
|Diving|4915|
|Jumping|5877|
|Flying in Spaceship Levels|6555|

!! 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.
#Make sure your character is standing on a floor and that DeSmuME is paused.
#Hold B and advance two frames to make your character jump.
#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.
#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.