59 users online:  Anorakun, autisticsceptile1993, av_mayo,  bebn legg, Bernardo, brium1,  BTD6_maker, bwal, CD20Superness, chickaDEE Magazine, codfish1002, Counterfeit, Darolac, DTA450,  E-man38, edgar, Eduard,  FPzero, Gamma V, Green Jerry, Hat Kid, HausPanthr, Hayashi Neru, Heraga, Hooded Edge, Isikoro,  KevinM, KiloMinimo, Knucklesfan, Koop the Koopa, l337f00l, LOLRyan2006 the Goombud, Luigiman941,  Maarfy, Matheus2653,  MM102, ModernKiwi, Mr Scotsman, Mr. Pixelator, NGB,  Ninja Boy, Paithus, quietmason, Roberto zampari, Rykon-V73, SammmUuU, Sancles, Santi, Sariel, StackDino, Synergic,  Telinc1, TheBiob, TheMorganah,  Tob, Uhrix, Ultima, yoshii, Yoshin - Guests: 63 - Bots: 104 Users: 45,779 (3,376 active)
Latest user: Awkwerp
Not logged in.
Details for Slide Attack
UberASM Repository - Slide Attack Show random
File Name: Slide Attack
Authors: HuFlungDu, Major Flare
Type: Level, Game Mode
Includes GFX: No
Includes Hijack: No
Featured: No
Description: Uberasm version of a patch made at request of: Ladida
Allows Mario to slide attack by running and ducking. Will kill any enemy that can be killed by a star.
As always, no credit necessary.
Tags: attack, lorom, physics, sa-1, slide
Rating: No rating
Download: Download - 464 bytes
Hello, I have run into a glitch with this patch that will randomly kill Mario when sliding through a sprite (seems like any sprite will cause it).

I have made a post detailing my problems, theory as to why it's happening, and a video showing exactly what I mean, here https://www.smwcentral.net/?p=viewthread&t=101592

Unmentioned in the thread linked above, but it could also be caused when used in a level with Ice Physics.

Otherwise this is a very cool patch, and opens up a lot of cool options for level making.

EDIT: Binavik, and Monkeyfist01, have helped me understand what's going wrong here, and we were able to find a fix.

Putting a semicolon in front of lines [ LDA $1490|!addr ] and [ BNE .hasStar ] as well as changing [ LDA #$03 ] to [ LDA #$02 ] will fix this problem, however, it has a small side effect of giving Mario invincibility/star power for 3-4 frames after releasing the down input.

EDIT 2: This fix will also cause another side effect: If you collect a star, the slide mechanic will cancel out the star's power, as well as cause the star power music to play indefinitely until Mario dies and restarts the level.
Posted by: slopcore - | Link
Tested with: LM 3.04, UberASMTool 1.4, SA-1 1.31. Works as intended, so accepted (I just added the screenshot).
Posted by:  KevinM - | Link