This ASM makes Layer 2 Scroll, when the player presses a certain button.
It includes the option to scroll up and down, and the option to scroll left and right.
It's highly customizable. You can change the speed, the positions, when layer 2 should stop and the buttons, that make layer 2 scroll and more!
Update to version 1.4:
- Fixed a bug, where you could scroll, even if the game was paused
- Cleaned up the code and added two new options for customization
Feel free to DM me, if you dont know how something works! ;)
Works as intended, so, update accepted. However, I'd recommend being very careful when using the faster speed type, as it can be very easy to make the fast scrolling cause Mario to clip into objects and die. When set too fast, there can even be issues with object/layer graphics becoming garbled. Not a cause for rejection since it's a result of how SMW uploads tiles, but just something to be aware of.
@AnasMario130 I'm not exactly sure, what you mean... If you mean, that you can use this UberASM without setting the V-Scroll to none in the level header (Leaves in Lunar Magic): No, sadly you can't. The game updates Layer 2 according to Marios position in the other modes and because of that, the addresses can not be overwritten and would immediately change back, if you did so (That's why the ASM also doesn't work, if those modes are not set correctly). So yeah, in conclusion it is not possible, without some major modification or patching a section of the layer 2 code in the game.
Follow Us On