Welcome to the UberASM Code Library Thread. Here you can post/submit them to your liking.
Just a quick note for those who are new to this and would like to use this. There are two methods to use UberASM:
==================
1.
-The patch UberASM is the patch needed to put the codings in. Please read the Readme.txt file that comes with the patch for more information.
-The latest version of Asar is required for patching alone.
2.
-The latest version of UberASM Tool. Please click the green hyperlink for more information on this.
==================
Now a quick note for those who would like to use/contribute to this:
==================
-Generators from the Sprites section may be eligible for conversion to UberASM.
-For uploading purposes, DO NOT use anything that deletes links after a certain amount of time. Use a permanent file bin, or post your code here.
-When applying a code, Make sure you check if the type of patch is activated. Open 'asar_patch.asm' and find something like this:
-Here is also a list of Game Modes, that may come in handy.
-Here is also ALL Freeram values I took notes of.
==================
_________________________________________________________________
(Currently hosting: 30 UberASM Codes)
NEW
(Gamemode 07/08)
"Press Start" by TheBiob
FreeRAM Required: No
This UberASM code let's you have "Press Start" (Or really any text) blinking on your title screen (Requires this in the same folder to work. Save this as a .txt file and name it "ascii-28.txt").
NEW
Death by Tight Spaces v1.2 by Ruberjig
FreeRAM Required: Yes
This patch causes Mario to die if he is squashed within the floor/platform and the ceiling. This also prevents Mario walking upright in tight spaces. Now requires freeram to work properly, enabling this routine usable anywhere.
NEW
No More "Over the Level" Patch by Ruberjig
FreeRAM Required: No
This prevents Mario from being able to go offscreen above the level. Perfect for those who were tired of players being able to cheat their way through levels.
NEW
Alternate Music Patch v1.2 by Ruberjig
FreeRAM Required: Yes
This patch allows you to have two choices of music during level load. It plays whatever "Song 1" is by default, and "Song 2" when Select is held during the level load. Fixed bugs involving P-switch music and keyhole sequences.
Long Fall Patch by Ruberjig
FreeRAM Required: Yes
This patch triggers a custom timer when the player is in the air/falling, allowing various custom code.
Consecutive Enemies Fix Patch by Ruberjig
FreeRAM Required: No
This stops the "enemies jumped in a row" counter from increasing when you swim or climb, preventing 1up farming.
Slope Pose Patch by Ruberjig
FreeRAM Required: No
This gives Mario custom poses when he is sliding on a different types of slopes, and coming off of it. He also faces in the direction he is sliding as well.
Dash Patch v1.2 by Ruberjig
FreeRAM Required: Yes
Holding the L or R buttons, then letting either one go allows you to quickly dash at running speed. By default, it works on the ground, and while swimming. There is also a setting to allow midair dashes.
AddmusicK's Sound Effects Echo Fix by Kipernal
FreeRAM Required: No
This is supposed to fix a bug for the sound effects.
Alternate Cape Patch v1.5 by Ruberjig
FreeRAM Required: Yes
This is an alternative to the Cape Powerup System. Holding the Up-button and jumping makes you fly without having to run. Holding the down-button and jumping
allows you to pound the ground instantly.
**NOTE: Duck-jump as Caped Mario is also disabled when this is applied.
Alternate P-Balloon Patch v1.1 by Ruberjig
FreeRAM Required: No
Holding the Up-button after jumping makes you able to float left or right in the air as if you had the P-Balloon. You fall down slowly, and if you let go of the jump button, you'll fall completely.
(Under moderation)
Auto Scroll Stop/Start by lolcats439
FreeRAM Required: No
When all enemies on the screen are killed, this will scroll to the next screen, stop, and repeat.
Reversed Walking Controls by Cynook/LDA
FreeRAM Required: No
This simply reverses/swaps the left and right buttons.
SMB2 Vertical Wrap by Magus
FreeRAM Required: No
This code will force a vertical level to not scroll horizontally and make Mario and other sprites to wrap from a side of the screen to the other one, like in SMB2 and SMB3.
(Under moderation)
"Floor" Generator by Chdata/Ladida
FreeRAM Required: No
This is a code that prevents mario from swimming under the bottom of the level, complete with support for anti-breaking swimming under blocks placed at the very bottom row in Lunar Magic.
Riding Yoshi Custom Trigger by Decimating DJ/Siredav
FreeRAM Required: No
This code creates a flag that indicates if Mario is riding Yoshi.
Disable Death Scroll by Ruberjig
FreeRAM Required: No
This makes it so that when the player dies, the screen doesn't scroll vertically anymore.
Climbing Net Punch Disable by Final Theory
FreeRAM Required: No
This disables the ability to punch on the climbing net objects.
(Also frees up RAM values $149D and $149E)
"Fixed" Crouch Jump by Ruberjig
FreeRAM Required: No
This makes the player upright after jumping, even when ducking. Perfect for those who think crouching in mid-air looked weird.
Fixed link.
Disable Pause During P-Switch Timer by Ruberjig
FreeRAM Required: No
This disables the pause button while the P-switch is active.
Non-existant Player by Ruberjig
FreeRAM Required: No
Makes Mario invisible and disableS all controls.
"Fixed" Low Gravity by Ruberjig
FreeRAM Required: No
Sets a slightly more accurate low gravity function in the current level.
Automatic Power Swapping Gimmick by Ruberjig
FreeRAM Required: No
Creates a gimmick that automatically swaps Mario's powerup time after time.
Autoscrolling Layer 2 by Ruberjig
FreeRAM Required: No
Causes Layer 2 (BG) to automatically scroll left. You can also set it to scroll right.
SMB1 Styled Scrolling Pack by GreenHammerBro
FreeRAM Required: No
This patch makes the level scrolling like in SMB1. There is also a vertical version included.
Automatic Walking by Nesquik Bunny
FreeRAM Required: No
This will let Mario walk automatically. He will turn in the opposite direction when he hits a wall or object. Can also be set to disable jumping and spin-jumping too since they can be annoying with auto-walk sometimes.
(Gamemode_E)
Save Game Trigger by LX5
FreeRAM Required: No
This allows the player to save the game at anytime on the overworld by pressing Select.
(Gamemode_init_14)
Perfect Sprite Initial Facing Fix by GreenHammerBro
FreeRAM Required: No
This uberasm code fixes a bug in smw that if you go to another (sub)level, the sprite's init facing in the next level will use mario's last x position in the previous level.
Translucent Layer 1 in Vertical Levels by imamelia
FreeRAM Required: No
This allows you to have the same translucency effect as Level Modes 1E and 1F in a vertical level.
Layer 4 by MolSno
FreeRAM Required: No
Allows the addition of a fourth background layer.
--------------------------------------------------------
Feel free to comment, submit, or report any bugs.
**Moderators/Staff are allowed to edit this post however if necessary. This thread/post will also be updated when needed.
Just a quick note for those who are new to this and would like to use this. There are two methods to use UberASM:
==================
1.
-The patch UberASM is the patch needed to put the codings in. Please read the Readme.txt file that comes with the patch for more information.
-The latest version of Asar is required for patching alone.
2.
-The latest version of UberASM Tool. Please click the green hyperlink for more information on this.
==================
Now a quick note for those who would like to use/contribute to this:
==================
-Generators from the Sprites section may be eligible for conversion to UberASM.
-For uploading purposes, DO NOT use anything that deletes links after a certain amount of time. Use a permanent file bin, or post your code here.
-When applying a code, Make sure you check if the type of patch is activated. Open 'asar_patch.asm' and find something like this:
Code
;Hihack list !level = !false !OW = !false !nmi = !false !statusbar = !false !global = !false !sprite = !false !gamemode = !false ;Change '!false' to '!true' if you're going to use that kind of patch. ;If it's not being used, it's best to leave it as '!false'.
-Here is also a list of Game Modes, that may come in handy.
-Here is also ALL Freeram values I took notes of.
==================
_________________________________________________________________
(Currently hosting: 30 UberASM Codes)
NEW
(Gamemode 07/08)
"Press Start" by TheBiob
FreeRAM Required: No
This UberASM code let's you have "Press Start" (Or really any text) blinking on your title screen (Requires this in the same folder to work. Save this as a .txt file and name it "ascii-28.txt").
NEW
Death by Tight Spaces v1.2 by Ruberjig
FreeRAM Required: Yes
This patch causes Mario to die if he is squashed within the floor/platform and the ceiling. This also prevents Mario walking upright in tight spaces. Now requires freeram to work properly, enabling this routine usable anywhere.
NEW
No More "Over the Level" Patch by Ruberjig
FreeRAM Required: No
This prevents Mario from being able to go offscreen above the level. Perfect for those who were tired of players being able to cheat their way through levels.
NEW
Alternate Music Patch v1.2 by Ruberjig
FreeRAM Required: Yes
This patch allows you to have two choices of music during level load. It plays whatever "Song 1" is by default, and "Song 2" when Select is held during the level load. Fixed bugs involving P-switch music and keyhole sequences.
Long Fall Patch by Ruberjig
FreeRAM Required: Yes
This patch triggers a custom timer when the player is in the air/falling, allowing various custom code.
Consecutive Enemies Fix Patch by Ruberjig
FreeRAM Required: No
This stops the "enemies jumped in a row" counter from increasing when you swim or climb, preventing 1up farming.
Slope Pose Patch by Ruberjig
FreeRAM Required: No
This gives Mario custom poses when he is sliding on a different types of slopes, and coming off of it. He also faces in the direction he is sliding as well.
Dash Patch v1.2 by Ruberjig
FreeRAM Required: Yes
Holding the L or R buttons, then letting either one go allows you to quickly dash at running speed. By default, it works on the ground, and while swimming. There is also a setting to allow midair dashes.
AddmusicK's Sound Effects Echo Fix by Kipernal
FreeRAM Required: No
This is supposed to fix a bug for the sound effects.
Alternate Cape Patch v1.5 by Ruberjig
FreeRAM Required: Yes
This is an alternative to the Cape Powerup System. Holding the Up-button and jumping makes you fly without having to run. Holding the down-button and jumping
allows you to pound the ground instantly.
**NOTE: Duck-jump as Caped Mario is also disabled when this is applied.
FreeRAM Required: No
Holding the Up-button after jumping makes you able to float left or right in the air as if you had the P-Balloon. You fall down slowly, and if you let go of the jump button, you'll fall completely.
(Under moderation)
Auto Scroll Stop/Start by lolcats439
FreeRAM Required: No
When all enemies on the screen are killed, this will scroll to the next screen, stop, and repeat.
Reversed Walking Controls by Cynook/LDA
FreeRAM Required: No
This simply reverses/swaps the left and right buttons.
FreeRAM Required: No
This code will force a vertical level to not scroll horizontally and make Mario and other sprites to wrap from a side of the screen to the other one, like in SMB2 and SMB3.
(Under moderation)
"Floor" Generator by Chdata/Ladida
FreeRAM Required: No
This is a code that prevents mario from swimming under the bottom of the level, complete with support for anti-breaking swimming under blocks placed at the very bottom row in Lunar Magic.
Riding Yoshi Custom Trigger by Decimating DJ/Siredav
FreeRAM Required: No
This code creates a flag that indicates if Mario is riding Yoshi.
Disable Death Scroll by Ruberjig
FreeRAM Required: No
This makes it so that when the player dies, the screen doesn't scroll vertically anymore.
Climbing Net Punch Disable by Final Theory
FreeRAM Required: No
This disables the ability to punch on the climbing net objects.
(Also frees up RAM values $149D and $149E)
"Fixed" Crouch Jump by Ruberjig
FreeRAM Required: No
This makes the player upright after jumping, even when ducking. Perfect for those who think crouching in mid-air looked weird.
Fixed link.
Disable Pause During P-Switch Timer by Ruberjig
FreeRAM Required: No
This disables the pause button while the P-switch is active.
Non-existant Player by Ruberjig
FreeRAM Required: No
Makes Mario invisible and disableS all controls.
"Fixed" Low Gravity by Ruberjig
FreeRAM Required: No
Sets a slightly more accurate low gravity function in the current level.
Automatic Power Swapping Gimmick by Ruberjig
FreeRAM Required: No
Creates a gimmick that automatically swaps Mario's powerup time after time.
Autoscrolling Layer 2 by Ruberjig
FreeRAM Required: No
Causes Layer 2 (BG) to automatically scroll left. You can also set it to scroll right.
SMB1 Styled Scrolling Pack by GreenHammerBro
FreeRAM Required: No
This patch makes the level scrolling like in SMB1. There is also a vertical version included.
Automatic Walking by Nesquik Bunny
FreeRAM Required: No
This will let Mario walk automatically. He will turn in the opposite direction when he hits a wall or object. Can also be set to disable jumping and spin-jumping too since they can be annoying with auto-walk sometimes.
(Gamemode_E)
Save Game Trigger by LX5
FreeRAM Required: No
This allows the player to save the game at anytime on the overworld by pressing Select.
(Gamemode_init_14)
Perfect Sprite Initial Facing Fix by GreenHammerBro
FreeRAM Required: No
This uberasm code fixes a bug in smw that if you go to another (sub)level, the sprite's init facing in the next level will use mario's last x position in the previous level.
Translucent Layer 1 in Vertical Levels by imamelia
FreeRAM Required: No
This allows you to have the same translucency effect as Level Modes 1E and 1F in a vertical level.
Layer 4 by MolSno
FreeRAM Required: No
Allows the addition of a fourth background layer.
--------------------------------------------------------
Feel free to comment, submit, or report any bugs.
**Moderators/Staff are allowed to edit this post however if necessary. This thread/post will also be updated when needed.