Views: 993,433,696
8 users online: 1UPdudes, Atomicatoms, dacin, Dan2point5, George, Infinity, Shiki_Makiro, The_Uber_Camper - Guests: 46 - Bots: 177 Users: 54,480 (2,087 active)
Latest: Albert
Tip: Yoshi wings take you to Level C8 or 1C8. If you're on Level 0 and beyond, you get sent to Level C8, while if you're on Level 100 and beyond, you get sent to Level 1C8.
Not logged in.
Details for ON/OFF Controlled Layer 2 Scroll
UberASM Repository - ON/OFF Controlled Layer 2 Scroll Link - Show random
File Name: ON/OFF Controlled Layer 2 Scroll
Authors: Kevin
Type: Level
Includes GFX: No
Includes Hijack: No
Featured: No
Description: This is a disassembly of sprite command F2, the layer 2 scroll sprite that's controlled by the ON/OFF switch. By default, it'll make the layer 2 go down when the switch is ON, and go up when it's OFF. Additionally, it will flip the switch state when reaching the top, so it will start to move down again immediately (this can be disabled). In the file you can customize different parameters like acceleration, speed, movement range, or also change it to move horizontally instead of vertically.

Requested by Knight of Time.
Tags: layer 2, lorom, on-off, sa-1
Rating: No rating
Download: Download - 1.72 KiB
Pretty sure the explanation for "inverting behavior" in the .asm mixes up the words "vertical" and "horizontal".

For example it says "If horizontal, layer 2 goes down when the switch is on, goes back up when it's off." That doesn't make sense dimension-wise. Shouldn't it be vertical? That's sure how the code behaves in game. Or am I missing something? It personally confused me to the point that I doubted my initial understanding and needed to test it out.

Speaking of the "inverting behavior". It might help more to explain where exactly users should put the "- sign". I for one, have no clue where to put it and the instruction given doesn't really seem to work either.
Posted by: BrownBuddy - | Link
Moderated with:
  • Lunar Magic v3.20
  • SA-1 Pack v1.32
  • UberASM v1.4
  • BSNES v115

Similar to Layer 2 Falls, it definitively is a nice replica of an existing scroll sprite.
Posted by:  MarioFanGamer - | Link
Originally posted by Klug
You might consider use this patch to fix a bug caused by this UberASM.

That only works for the vanilla sprite.
Edit: added the fix in the UberASM.
Posted by:  Kevin - | Link
You might consider use this patch to fix a bug caused by this UberASM.
Posted by: Klug - | 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