Speed Booster Vertical Jump Speed Fix
Release Date: Jul 27, 2021
Author: Nodever2
Type: Assembly
Rating: Star Star Star Star Star
[download] .asm file (224 downloads)
Game: SM
This simple code overwrites part of the routine that makes samus jump. Uses no free space.
It seems that the original intent of the routine was: if samus has speed booster, add half of her X speed to her Y speed when she jumps.
however, there were two issues in the vanilla code:
1) The code adds half of her X speed, but not half of her X subpixel speed, to her Y speed and Y subpixel speed respectively.
2) After adding to her Y subpixel speed, the carry is discarded before adding to her Y speed in vanilla.
this means that if (samus X subpixel speed) + (samus Y subpixel speed) >= 1 pixel/frame, then her final speed will be 1 pixel/frame less than it should be.
This was often easily noticeable when jumping with speed booster without high jump, and would often result in jumps being lower than jumping without speed booster would have been.

This patch fixes both of these issues.

One last thing to note: On the hex tweaks page, there is a hex tweak which claims to fix this routine. I do not recommend you use that, as it does not fix either of these issues.
As always, if you experience any issues with this patch, please let me know.
No Screenshots Provided
Ratings and Reviews
By benox50 on Jun 18, 2022 (Star Star Star Star Star )
Oui Monsieur
By Tundain on Jan 28, 2023 (Star Star Star Star Star )
Yes please
By MetroidNerd#9001 on Mar 09, 2023 (Star Star Star Star Star )
A simple fix, but it adds a lot of polish. Thanks for clearing up the fact that the hex tweak doesn't work!

You must login to rate this resource