Language…
11 users online:  bebn legg, bradcomp, DanMario24YT, DaveStateGaming, Dennsen86, Hammerer,  MarkAlarm, oliver1, playagmes169,  Sayuri, signature_steve - Guests: 308 - Bots: 424
Users: 64,795 (2,371 active)
Latest user: mathew

Screen Scrolling Doors by GreenHammerBro

File Name: Screen Scrolling Doors
Submitted: 2015-09-27 11:22:23 AM by GreenHammerBro
Obsoletes: Screen Scrolling Doors
Authors: GreenHammerBro
Act As: Various
Includes GFX: No
Description: This is a screen scrolling door that, when entered, will move the player horizontally or vertically and will keep going until the player hits another door (opposite direction door) or an exit door. See readme for details.

It requires uberASM patch to work properly. (no link because it keeps getting updated)

Image done by using Licecap

Notes:
  • Not compatible when yoshi exist in level (will turn invisible with mario while traveling through doors).
  • Don't use these blocks on moving layer 2 levels, it'll center mario incorrectly based on the block's layer 1 position.
Fixes:
  • HDMA now works correctly.

In the patch, you overwrite the STZ.w $0D9F and LDA.b #$01 here:

Code
CODE_00C5CE:
	STZ.w $0D9F
CODE_00C5D1:
	LDA.b #$01
	STA.w $1B88				;$00C5D3	|


This is bad, since you're overwriting the LDA. Fix this, and you're good.