This patch reduces the width of the "static camera region" (the range where the screen doesn't scroll left or right by the player) to a single pixel, removes the auto "look ahead" feature in smw and makes the screen always centered with the player (ignoring L/R scrolling, but still has the reduced "static camera region").
It also frees up 4 bytes of ram at $7E142C. They clear on reset, titlescreen load, overworld load, and cutscene load (regular version only).
UPDATE: Now added sa-1 support.
EDIT: Fix a serious bug with the gfx+2 patch and the assert mistakenly thinks the rom is not been edited even if it is.
Another update: Added a newer version (with the old version in case you want it) that makes the screen tightly follow Mario vertically (the vertical scroll area is also reduced to a single line) when you set the vertical scroll to "vertical scroll at will". This is more ASM-flexible. See readme for details. And also allow the bottom 16x16 row to be seen (both).
Well, tested the patch and the results are...
That. Have this issue fixed and try again, otherwise, it cannot be approved. For sanity check, it has been tested on SA-1 and non SA-1 ROMs with same results (the SA-1 ROM glitching far worse).
This patch reduces the width of the "static camera region" (the range where the screen doesn't scroll left or right by the player) to a single pixel, removes the auto "look ahead" feature in smw and makes the screen always centered with the player (ignoring L/R scrolling, but still has the reduced "static camera region").
Update: Added a newer version (with the old version in case you want it) that makes the screen tightly follow Mario vertically (the vertical scroll area is also reduced to a single line) when you set the vertical scroll to "vertical scroll at will". This is more ASM-flexible. See readme for details. And also allow the bottom 16x16 row to be seen (both).
update2: Added a even newer one that doesn't instantly scroll towards the player; preventing glitches with asm that teleports the player very far.
Removed by request.
AuraDee Shy Guy
Posts: 1013/1044
Since:
Pronouns: She/Her, They/Them
This patch reduces the width of the "static camera region" (the range where the screen doesn't scroll left or right by the player) to a single pixel, removes the auto "look ahead" feature in smw and makes the screen always centered with the player (ignoring L/R scrolling, but still has the reduced "static camera region").
Update: Added a newer version (with the old version in case you want it) that makes the screen tightly follow Mario vertically (the vertical scroll area is also reduced to a single line) when you set the vertical scroll to "vertical scroll at will". This is more ASM-flexible. See readme for details. And also allow the bottom 16x16 row to be seen (both).
Another update: Also include a non-instant-scroll to prevent player-warp glitches.
v3.2 update: Fixed a crash on vertical levels due to a hijack at $00F77B.
Tested with Asar v1.71, Bsnes v115, LM 3.11, SA-1 v1.32, Snes9x 1.60.
The screen shakes violently in vertical levels on an SA-1 ROM. Otherwise seems to function fine on Non-SA1. (Sorry for the below gif quality, it doesn't do well to show this to it's full extent.)
Follow Us On