4 users online: Hardstyle340, Jcoolaid, Jordan,  Maarfy - Guests: 75 - Bots: 155
Users: 58,122 (2,491 active)
Latest user: Levantium

Single screen v1.1

UberASM Repository → Single screen v1.1

This file is obsolete. The latest version is Single Screen v1.2. For other versions, check the version history.

Submission Details

Name: Single screen v1.1
Author: TheBiob
Version History: View
Type: Level, Game Mode
Includes GFX: No
Includes Hijack: Yes
Featured: No
Description: This will make the game only show one screen and scroll to the next when the player reaches it.

Uses 4 bytes of freeram as well as a hijack to disable the invisible screen barriers.

V1.1 Changes
Now works with LM3 level sizes
Start can optionally be aligned to a screen but isn't required to anymore
Options to disable horizontal/vertical scrolling separately
More options to change the size of the screen/when the scrolling triggers
Removed the "code per screen" feature since I think it doesn't really work with big level sizes*

(Requested by Final Theory)

*yeah, I'm just lazy, if you need that feature you probably know what you're doing anyway so add it yourself.

Note: for best results, combine with the sprite scroll fix patch (be sure to change the default free RAM). Without this, sprites may not spawn when the screen is scrolled leftwards.
Tags: horizontal lorom sa-1 screen scrolling scrolling
Comments: 18 (jump to comments)
5.0 (1 rating)
No rating
Download 2.14 KiB | 255 downloads


Comments (18)

 Thomas Link
Originally posted by Stiviboy
doesn't work with the airjump uberasm.

Probably because they share the same free RAM (both use $60). Change the free RAM address for one of them to another empty address and that should fix it.
(you should check this by default when combining pretty much any uberasm codes, as many use the same free RAM addresses)
 Stivi Link
doesn't work with the airjump uberasm.
 Thomas Link
Seems to work perfectly. Also added SA-1 support, along with a readme to direct to the sprite scroll fix patch in case people don't see the note in the description/comments.
Tested with: LM 3.04, UberASMTool 1.4, SA-1 1.32, Snes9x 1.60.
Nowieso Link
Here is a bug I want to report:

If you pause while the screen scrolls, you get stuck between the two screens and all sprites despawn.
TheBiob Author Link
Or change them in the screen scrolling pipes but yeah, the default addresses are pretty commonly used as some kind of general purpose freeram among resources.
Nowieso Link
Using this ends up in a softlock when the screen scrolls for me.
Using Lunar Magic 3.04.

Fixed. If you use the Screen Scrolling Pipes, you can not use the default freeRAM. Replace them with these if you have any issues with this code:

!RAM_l1HorzTo = $0F3A	; 2 byte freeram
!RAM_l1VertTo = $0F3C ; 2 byte freeram

zacmario From older version: Single screen Link
I wish this had a gif :(
JP32 Link
Use this patch additionally if you have problems with sprites not spawning.
System64 From older version: Single screen Link
Thank you! it works! Can I downgrade the version of Lunar Magic without errors, glitches, ... with my hack?
TheBiob Author From older version: Single screen Link
Yeah, it's a Lunar Magic 3.xx issue, to make it work in the standard sized levels change the !RAM_locked freeram to something else, usually the default is free but the new scrolling system uses it so it breaks.
Most likely won't work for any of the new level sizes, still want to fix that at some point, but that might take a while.
System64 From older version: Single screen Link
I have softlockes when I go to the next or previous screen. How can I fix that please? Thanks!
FedoraFriday From older version: Single screen Link
Slight overlook: if you are in a sliding animation while the screen is scrolling, you will be sent back to the previous screen and get softlocked. Or, an enemy can come kill you or something. If you’re using this patch, don’t have any levels where you slide around. :P
mish1 From older version: Single screen Link
Is it similar to like the NES Megaman games?
TheBiob Author From older version: Single screen Link
You can remove everything related to !RAM_l1VertTo.

This should work.
 Hobz From older version: Single screen Link
awesome stuff, works great! Is there a way to disable the vertical scrolling, so it only scrolls horizontally?
 HuFlungDu From older version: Single screen Link
This is cool as shit.

Updated for SA-1 compatibility.

Be sure if you are using this to watch every entrance to the level, not just the main one. If any entrance is off center from a screen boundary, it will create garbage tiles.
HammerBrother From older version: Single screen Link
Gif please?
Final Theory From older version: Single screen Link
YES! Thank you so much!