Banner
Views: 924,033,876
Time:
8 users online: crocodileman94, Dr.Moe,  Lazy, Mohamad20ZX, Nciktendo, NGB, simon.caio, wepeelis - Guests: 40 - Bots: 121 Users: 51,678 (2,062 active)
Latest: JohnL990
Tip: If your level contains elements that temporarily change the music to a global song (such as a P-Switch or a Star), that music will not stop playing after the intended end time if the music bypass setting is set to 00.
Not logged in.
Details for Customizable Layer 2 Smash
UberASM Repository - Customizable Layer 2 Smash Link - Show random
File Name: Customizable Layer 2 Smash
Added:
Authors: KevinM
Type: Level
Includes GFX: No
Includes Hijack: No
Featured: No
Description: This code replicates the behavior of the vanilla Layer 2 Smash sprites, meaning that it has 3 movement phases: "go up" phase, "go down a bit" phase and "smash down" phase.
You can customize its behavior by changing the position, speed and waiting time for each of the phases, and set different values for each screen. You can also change the "screen shake" timer (or disable it) for each screen. By changing these values you can also change the nature of the phases as well: for example, you could make it smash up and down without a middle phase, or make the middle phase go back up a bit instead of down.
You can also choose to move it horizontally or vertically, as well as moving layer 1 instead of layer 2.
Check out the asm file for more info. Comes with some example values (used for the first GIF) to show how they work.
Tags: layer 1, layer 2, lorom, sa-1, scroll
Rating: 5.0 (Votes: 1)
Download: Download - 1.84 KiB
68 downloads
Screenshots
Previous 
 Next
Squirrelyman157
Very useful code with a lot of customization options. Works as intended, so accepted.

Tested with Lunar Magic 3.30, UberASM Tool 1.4, SA-1 Pack v1.40, and Snes9x v1.56.2.
Posted by:  Squirrelyman157 - | Link
BeeKaay
Originally posted by KevinM
Originally posted by BeeKaay
I found an obscure bug: if the entrance action is "Do Nothing - Cannot Bring Item," this works as advertised. But if the entrance action is "Vertical Pipe Exit Down," it doesn't do anything.

Thanks for the heads up, I've updated it and it should be fixed now.
For anyone wondering: checking for $89 to see if Mario is in a No Yoshi cutscene is a bad idea because the address seems to be also used for pipe entrance animations. Instead, check if $71 contains #$0A.


Thanks, confirmed fixed.
Posted by:  BeeKaay - | Link
KevinM
Originally posted by BeeKaay
I found an obscure bug: if the entrance action is "Do Nothing - Cannot Bring Item," this works as advertised. But if the entrance action is "Vertical Pipe Exit Down," it doesn't do anything.

Thanks for the heads up, I've updated it and it should be fixed now.
For anyone wondering: checking for $89 to see if Mario is in a No Yoshi cutscene is a bad idea because the address seems to be also used for pipe entrance animations. Instead, check if $71 contains #$0A.
Posted by: KevinM - | Link
BeeKaay
I found an obscure bug: if the entrance action is "Do Nothing - Cannot Bring Item," this works as advertised. But if the entrance action is "Vertical Pipe Exit Down," it doesn't do anything.
Posted by:  BeeKaay - | 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