Views: 992,841,052
10 users online:  Anorakun, CONLUSH666, CrimsonSatellite, HammerBrother, Hayashi Neru, Infinity, Kusrry,  Losoall, SimFan96, TheBourgyman - Guests: 89 - Bots: 108 Users: 54,455 (2,087 active)
Latest: vampirelich
Tip: Pressing Ctrl + Del in Lunar Magic will delete all objects, sprites, and screen exits from the current level.
Not logged in.
Details for Layer 2 Scroll on Button Press
UberASM Repository - Layer 2 Scroll on Button Press Link - Show random
File Name: Layer 2 Scroll on Button Press
Version History: View
Authors: badummzi
Type: Level
Includes GFX: No
Includes Hijack: No
Featured: No
Description: 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! ;)
Tags: layer 2, lorom, sa-1, scroll
Rating: No rating
Download: Download - 1.88 KiB
Tested with:

• Lunar Magic 3.11
• SA-1 Pack v1.32
• UberASM Tool 1.4
• Snes9x v1.60

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.
Posted by:  JamesD28 - | Link
No problem! :D
Posted by: badummzi - | Link
Ah, I understand now. Thanks for the info.
Posted by: Anas - | Link
@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.
Posted by: badummzi - | Link
Say, could this be made to not make the layer 2's vertical scrolling hardcoded to none, if I'm correct?
Posted by: Anas - | Link

The purpose of this site is not to distribute copyrighted material, but to honor one of our favourite games.

Copyright © 2005 - 2022 - SMW Central
Legal Information - Privacy Policy - Link To Us


Follow Us On

  • YouTube
  • Twitch
  • Twitter


  • Super Mario Bros. X Community
  • Mario Fan Games Galaxy
  • sm64romhacks