15 users online: DasFueller, edgar, EvilGuy0613, Guleyan112, gustavotono, Heitor Porfirio, hh0962430, JinRokhZenobi, katun24, LadiesMan217, Lush_50, MarioMMaster, OEO6, TS_N, Will86 - Guests: 105 - Bots: 213
Users: 66,422 (2,329 active)
Latest user: gustavotono

Fall damage

UberASM Repository → Fall damage

Submission Details

Name: Fall damage
Author: xhsdf
Type: Level
Includes GFX: No
Includes Hijack: No
Featured: No
Description: Fall damage. I'm sorry.
Tags: lorom sa-1
Comments: 4 (jump to comments)
0.0 (0 ratings)
No rating
Download 788 bytes | 54 downloads


Comments (4)

Mega Link
Yo this is hype. #smrpg{:3}
 zuccha Link
Nice and simple UberASM, I can't believe this didn't exist.

I made a few small changes to the code:
  1. Make code SA-1 compatible.
  2. Remove # from define.
  3. Specify that !peakPosRam requires two bytes.
  4. Simplify "in water" check.
  5. Simplify "in air/on ground" branch logic.
  6. Simplify "Mario falling" check.
  7. Moved not_falling label together with save_current_pos, since they share the same code.
  8. Add |!bank to kill/hurt JSLs.

Also, a few things worth noting:
  1. It doesn't apply when Mario is in water (either water block or water level).
  2. You can die after grabbing a goal tape while falling.
  3. You can die by falling on bouncing note blocks.
  4. You cannot die from falling on a sprite (most of the times).
  5. You can die from falling on a falling platform.

Tested with: Lunar Magic 3.40, SA-1 Pack 1.40, UberASM Tool 1.6, UberASM Tool 2.0, Snes9x 1.62.3.
Daizo Dee Von Link
You're not sorry. You knew what you were doing.

And it's amazing.
xhsdf Author Link
I was actually surprised this wasn't uploaded already.