Language…
12 users online:  Anorakun, CourtlyHades296, Dark Prince, ForthRightMC, IceFreaki,  KungFuFurby, Manofer, matheoba, MelonadeM, Murder Luc, Nint,  RussianMan - Guests: 64 - Bots: 111
Users: 70,438 (2,477 active)
Latest user: Murder Luc

Horizontal Scroll Fix v1.1

SMW Patches → Horizontal Scroll Fix v1.1

Submission Details

Name: Horizontal Scroll Fix v1.1
Author: Alcaro
Added:
Version History: View
Tool: Asar
Requires Free Space: Yes
Bug Fix: Yes
Featured: No
Description: If the player starts the level too far to the right, the screen starts with him centered, not with him to the right. When the level scrolls, the camera suddenly jumps, and cutoffness appears nearby.

This patch fixes that bug.

Update: Now should work with v3.00 of Lunar Magic.
Update 2: Do not use in version v3.01+ of Lunar Magic, as the patch is now built into LM.
Tags: camera lorom sa-1 scroll
Comments: 2 (jump to comments)
Download 321 bytes | 223 downloads

Comments (2)

Vitor Vilela Link
Additional warning: using the patch in version newer than v3.01 will cause more incompatibilities, since Lunar Magic now uses the same hijack to put additional scrolling logic that would be overridden if you use this patch:

Code
LDA [$65]
AND #$1F
INC A
STA $5E
LDA #$40
BIT $73CD
STZ $73CD
BVC .arLabel17
STZ $76
PHP
LDA #$C0
PLP
.arLabel17
STA $F9
BPL .arLabel2A
REP #$21
LDA #$0080
STA $742A
PLA
ADC #$0003
PHA
SEP #$20
.arLabel2A
RTL


Only use this patch if you are using LM 2.62 or older.
 Telinc1 Link
There's not much use for this patch now that it's integrated into Lunar Magic, but it's nice for people who still use older versions.

During moderation, I made the patch appropriately detect LoROM and SA-1 (the lack of this could cause a crash on SA-1 ROMs). This is a problem with the obsoleted version, which is why I didn't deem it a rejection reason.