Banner
Views: 705,567,236
Time:
9 users online: anonimzwx, Bright Man, Darolac, Green Jerry, KKevinM, marathonx, NGB, Ondore's Lies, Sadistic Designer - Guests: 147 - Bots: 178Users: 36,860 (1,446 active)
Latest: jodu
Tip: Avoid blind jumps. If the player has to jump down a random hole to proceed with no indication at all that they can go down there, you've done something wrong!Not logged in.
Details for Reverse Controls
UberASM Repository - Reverse Controls
File Name: Reverse Controls
Added:
Authors: Nowieso
Type: Level, Game Mode
Includes GFX: No
Includes Hijack: No
Featured: No
Description: This is a very user-friendly code that lets you switch certain buttons on the controller.

You can switch controls based on:
- Nothing - always switch the controls
- ON/OFF Switch
- P-Switch
- Star-Power
- Yoshi
- Water
Feel free to submit more options!

This code might be useful to create a unique ghosthouse/ghost themed level.

Set your options in the asm file!!!

Credit is optional, just don't claim it as your own.
Tags: abilities, controller, controller button, mario, on-off-switch, p-switch, sa-1, star, water, yoshi
Rating: 0.0 (Votes: 0)
Download: Download - 1.43 KiB
29 downloads
Telinc1
This is quite impressive for a first submission. The code is a little hard to follow but it works quite well. I should note that setting two choices to the same options (such as switch left/right for both states of the ON/OFF switch), the code will refuse to insert - I didn't count this as a rejection reason because it's an edge case which is unlikely to come up in practice.

During the moderation, I added SA-1 compatibility and removed a few unnecessary branching instructions to slightly speed up the code. Ideally, the code should be swapped to optimize it even further (taken branches add an extra cycle).

A future suggestion could be to clean up all the magic numbers to make this code even more user-friendly. Remember: Asar defines can be absolutely anything and can also substitute anything, not just numbers.
Posted by: Telinc1 -

The purpose of this site is not to distribute copyrighted material, but to honor one of our favourite games.

Copyright © 2005 - 2018 - SMW Central
Legal Information - Privacy Policy - Link To Us


Total queries: 28

Menu

Follow Us On

  • Facebook
  • Twitter
  • YouTube

Affiliates

  • Talkhaus
  • SMBX Community
  • GTx0
  • Super Luigi Bros
  • ROMhacking.net
  • MFGG
  • Gaming Reinvented