Banner
Views: 794,522,993
Time:
11 users online: Bernardo, BlauerKeks, Darkwoon, Infinity, Irondill, MarioFan22, NeutronCat, Nint3ndoleggend, SubconsciousEye, tcdw, westslasher2 - Guests: 25 - Bots: 198 Users: 41,469 (1,502 active)
Latest: BlauerKeks
Tip: Proofread your message boxes for spelling and grammar mistakes.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, lorom, mario, on-off-switch, p-switch, sa-1, star, water, yoshi
Rating: No rating
Download: Download - 1.43 KiB
179 downloads
Screenshots
Image
Major Flare
Update: Added image.
Posted by:  Major Flare - | Link
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 - | Link

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

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


Total queries: 7

Menu

Follow Us On

  • YouTube
  • Twitch
  • Twitter

Affiliates

  • SMBX Community
  • ROMhacking.net
  • MFGG