Memwatch file:
0486 X-Screen
0485 X-Pos
0484 X-Subpixel
0489 Y-Screen
0488 Y-Pos
0487 Y-Subpixel
| |
| |
| |
| |
| |
| |
048C XSpd-Screen
048B XSpd-Pixel
048A XSpd-Sub
048F YSpd-Screen
048E YSpd-Pixel
048D YSpd-Sub
| |
| |
| |
| |
| |
| |
(yes, the game really has an address that determines how many screens you are traveling per frame)
General game notes:
Y-Speed
Gravity
- No buttons - 144 (subpx/fr)/fr
- Holding A - 48 (subpx/fr)/fr
Terminal Velocity - 8px/fr
- goes back to 7px/fr once reached
- thus, hold A on certain frames to fall slightly faster
Jumping
- Initial speed - -(5px + 64subpx)/fr
- Ceiling hit - y-speed = gravity
X-Speed
Acceleration - 16 (subpx/fr)/fr
Deceleration - 40 (subpx/fr)/fr
- Pressing backwards - x-speed = acceleration
- Same on air, ground, or against a wall
Max Speed - 6px/fr + some (8? 16?) subpx
- Gets rolled back to 5px + (224subpx or 216subpx) once reached
General Notes
- Shuttle-platforms and minecarts override the speed addresses (they don't use them).
- Shuttle-platforms "snap" your position to a certain coordinate.