Banner
Views: 738,297,079
Time:
11 users online: chickaDEE Magazine, ECS.98, Hooded Edge, Jibjig, kamekku14, o Manofer, Mumbo, PokerFace, Supermariofreak -SMF, TheEvilKingBowser, o xfix - Guests: 60 - Bots: 106Users: 38,859 (1,930 active)
Latest: epiccreepertnt
Tip: Use palettes that don't burn the eyes. A blazing bright yellow and a night-black are not pleasant.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: No rating
Download: Download - 1.43 KiB
105 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 - | 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: 29

Menu

Follow Us On

  • Facebook
  • Twitter
  • YouTube

Affiliates

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