11 users online: Camouflage, Cappaque, danwaleby, Green, Guleyan112, lolyoshi, panasonic64, Pink Gold Peach, rafaelfutbal, the_name_is_already_taken,  Zoreo - Guests: 64 - Bots: 197
Users: 65,638 (2,209 active)
Latest user: panasonic64

ON/OFF Slippery Activation

UberASM Repository → ON/OFF Slippery Activation

Submission Details

Name: ON/OFF Slippery Activation
Author: Nitrocell Inc.
Type: Level, Game Mode
Includes GFX: No
Includes Hijack: No
Featured: No
Description: When you hit ON/OFF switch, or change it no matter how, if that's ON, it will turn slippery mode ON, else, slippery will be disabled. By default, it will set ON/OFF status to OFF, and thus, slippery will be disabled.
Tags: lorom on-off on-off block on-off switch sa-1 slippery
Comments: 1 (jump to comments)
0.0 (0 ratings)
No rating
Download 759 bytes | 99 downloads


Comments (1)

Burning Loaf Link
Tested with:
* Lunar Magic 3.33
* SA-1 Pack 1.40
* Mesen-S 0.4.0
* UberASM Tool 1.5

Works as it should. But there are some slight redundancies in the code, such as the checks and defines for SA-1 (which UberASM Tool already provides by default), how both [DEC : STA $86] and [LDA #$00 : STA $86] could be [STZ $86], and how [CMP #$00 : BNE +] could be just [BNE +]