Language…
11 users online:  blueribbonhighlife, Dry4Smash, Firstnamebutt, Gasterus155, Gregor, Ice Man, JakesBRjust, Katerpie, Marcozzo Daro, pnaha, Saela - Guests: 85 - Bots: 85
Users: 68,348 (2,238 active)
Latest user: sealurdoom

Better Vertical Camera Scrolling

SMW Patches → Better Vertical Camera Scrolling

Submission Details

Name: Better Vertical Camera Scrolling
Author: Nowieso
Added:
Tool: Asar
Requires Free Space: Yes
Bug Fix: No
Featured: No
Description: This patch allows you to change three hardcoded values of the vertical camera scrolling routine on a per-level basis.

It allows you to change the Y-Positions within the screen Mario has to be at in order for the camera to scroll vertically, as well as where to stop the screen relative to Mario when scrolling vertically.

All you have to do is to change some values in BetterVertCamTable.asm , do not change anything inside the other ASM file. Make sure both files are located in the same folder when inserting the patch.
Tags: camera lorom sa-1 scroll vertical
Comments: 1 (jump to comments)
Download 2.15 KiB | 538 downloads

Screenshots

Comments (1)

 MarioFanGamer Link
Moderated with
  • Lunar Magic v3.11
  • Asar v1.71
  • SA-1 Pack v1.32
  • BSNES v115
To enhance vertical levels, particularily where you can go only in a single direction (such as in the GIF where Mario falls down).

Functionality: It just works even if usability is a bit difficult, 8/10. A bit difficult to use since you have to get the level right and you probably can get a bit confused about the values.
Code: The code is functional, 4/10. "Functional" doesn't mean "fine" as the code can be improved in a lot of ways. For starters, you don't need two hijacks, a single one is enough if you just store to $55 and $56. Relatedly, switching and restoring the data bank twice is redundant as the code doesn't branch anywhere between the hijacks! In fact, you don't even have to when you can just use X all the time and restore it with $1412 (this also allows the code to be put into banks $40+) afterwards, especially when it isn't even used in the whole code!