Banner
The Questionable Level Design Contest ends in…
19 DAYS, 12 HOURS, 36 MINUTES AND 3 SECONDS
Views: 913,005,717
Time:
7 users online: 22l0254, blaze800000,  brickblock369, Hayashi Neru, Isikoro, JonnyManjiro, smwln - Guests: 48 - Bots: 81 Users: 51,132 (2,210 active)
Latest: JoeyDude
Tip: Fix any errors you see before releasing any demos; "I'll fix it later" isn't a good excuse.
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
Added:
Authors: KevinM
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
106 downloads
Screenshots
Previous 
 Next
BrownBuddy
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
MarioFanGamer
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
KevinM
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:  KevinM - | Link
Klug
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 - 2021 - SMW Central
Legal Information - Privacy Policy - Link To Us


Menu

Follow Us On

  • YouTube
  • Twitch
  • Twitter

Affiliates

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