Banner
Views: 853,482,552
Time:
19 users online: ageVerrly, brickblock369, CalHal, Captain Domas, chickaDEE Magazine, Counterfeit, crispy_plays, Dan Drigues, Eduard, eskayelle, Ice Man, Kentakiman,  KevinM, kiki79250, ModernKiwi, Mrmightymouse, Narcologer, RetroJunky.T, Sariel - Guests: 60 - Bots: 53 Users: 47,081 (2,498 active)
Latest: mooselampa
Tip: Don't place Yoshi coins near a goal post because they keep glowing when a level fades out.Not logged in.
Details for Reverse Controls
UberASM Repository - Reverse Controls Show random
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: 5.0 (Votes: 1)
Download: Download - 1.43 KiB
262 downloads
Screenshots
Image
ninj
can you switch it for getting a 1up?
Posted by: ninj - | Link
Romano338
I really was expecting the possibility to reverse all controls, like the YBAX buttons
Posted by: Romano338 - | Link
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 - 2020 - 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